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,437 +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 { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
4
- import { LooseRequired } from '@vue/shared';
5
- import { PlusColumn, RecordType, FieldValueType, OptionsRow, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType } from 'yc-pro-components/es/types';
6
- import { Ref, DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, CSSProperties, PropType } from 'vue';
7
- import { PlusFormProps } from 'yc-pro-components/es/components/form';
8
-
9
- export interface PlusDisplayItemProps {
10
- column: PlusColumn;
11
- row: RecordType;
12
- index?: number;
13
- editable?: boolean | 'click' | 'dblclick';
14
- rest?: RecordType;
15
- /**
16
- * PlusFormProps 优先级低于column.formProps
17
- * @version 0.1.17
18
- */
19
- formProps?: PlusFormProps;
20
- }
21
- export interface PlusTableTableColumnEmits {
22
- (e: 'change', data: {
23
- value: FieldValueType;
24
- prop: string;
25
- row: RecordType;
26
- }): void;
27
- }
28
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusDisplayItemProps>, {
29
- column: () => {
30
- prop: string;
31
- label: string;
32
- };
33
- row: () => {};
34
- index: number;
35
- editable: boolean;
36
- rest: () => {};
37
- formProps: () => {};
38
- }>, {
39
- startCellEdit: () => void;
40
- stopCellEdit: () => void;
41
- getDisplayItemInstance: () => {
42
- isEdit: Ref<boolean>;
43
- index: number;
44
- rowIndex: number;
45
- cellIndex: any;
46
- prop: string;
47
- formInstance: ComputedRef<any>;
48
- };
49
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
50
- change: (data: {
51
- value: FieldValueType;
52
- prop: string;
53
- row: RecordType;
54
- }) => void;
55
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusDisplayItemProps>, {
56
- column: () => {
57
- prop: string;
58
- label: string;
59
- };
60
- row: () => {};
61
- index: number;
62
- editable: boolean;
63
- rest: () => {};
64
- formProps: () => {};
65
- }>>> & {
66
- onChange?: ((data: {
67
- value: FieldValueType;
68
- prop: string;
69
- row: RecordType;
70
- }) => any) | undefined;
71
- }, {
72
- index: number;
73
- formProps: PlusFormProps;
74
- rest: RecordType;
75
- column: PlusColumn;
76
- row: RecordType;
77
- editable: boolean | "click" | "dblclick";
78
- }, {}>, Partial<Record<string, (_: {
79
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
80
- readonly label: string | ComputedRef<string>;
81
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
82
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
83
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
84
- style?: CSSProperties | undefined;
85
- class?: any;
86
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
87
- style?: CSSProperties | undefined;
88
- class?: any;
89
- } & RecordType>>;
90
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
91
- [key: string]: any;
92
- style?: CSSProperties | undefined;
93
- }>;
94
- readonly fieldProps: PropsItemType<Partial<{
95
- [index: string]: any;
96
- [index: number]: any;
97
- [index: symbol]: any;
98
- class: any;
99
- style: CSSProperties;
100
- modelModifiers: {
101
- [index: string]: any;
102
- lazy?: boolean | undefined;
103
- trim?: boolean | undefined;
104
- number?: boolean | undefined;
105
- };
106
- rows: number;
107
- autocomplete: string;
108
- 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;
109
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
110
- step: string | number;
111
- format: string | ProgressFn | undefined;
112
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
113
- id: string | [string, string];
114
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
115
- height: string | number;
116
- autosize: InputAutoSize;
117
- } & 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>>>>;
118
- readonly options: OptionsType;
119
- readonly fieldSlots: {
120
- [slotName: string]: (data?: any) => RenderTypes;
121
- };
122
- readonly valueType: TableValueType | FormItemValueType;
123
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
124
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
125
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
126
- readonly renderErrorMessage: ((props: PlusColumn & {
127
- value?: FieldValueType;
128
- error?: string | undefined;
129
- label?: string | undefined;
130
- }) => RenderTypes) | undefined;
131
- readonly optionsMap: {
132
- label?: string | undefined;
133
- value?: string | undefined;
134
- } | undefined;
135
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
136
- store?: any;
137
- method?: string | undefined;
138
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
139
- dictCode?: string | undefined;
140
- } | undefined;
141
- readonly clearable: boolean;
142
- readonly index: number;
143
- } & {
144
- readonly clearable: boolean;
145
- };
146
- label: string;
147
- fieldProps: RecordType;
148
- formItemProps: RecordType;
149
- options: OptionsRow<undefined>[];
150
- fieldInstance?: any;
151
- valueIsReady?: Ref<boolean> | undefined;
152
- prop: string;
153
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
154
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
155
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
156
- style?: CSSProperties | undefined;
157
- class?: any;
158
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
159
- style?: CSSProperties | undefined;
160
- class?: any;
161
- } & RecordType>>;
162
- fieldSlots: {
163
- [slotName: string]: (data?: any) => RenderTypes;
164
- };
165
- valueType: TableValueType | FormItemValueType;
166
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
167
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
168
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
169
- renderErrorMessage: ((props: PlusColumn & {
170
- value?: FieldValueType;
171
- error?: string | undefined;
172
- label?: string | undefined;
173
- }) => RenderTypes) | undefined;
174
- optionsMap: {
175
- label?: string | undefined;
176
- value?: string | undefined;
177
- } | undefined;
178
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
179
- store?: any;
180
- method?: string | undefined;
181
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
182
- dictCode?: string | undefined;
183
- } | undefined;
184
- clearable: boolean;
185
- index: number;
186
- }) => any>> & Partial<Record<string, (_: {
187
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
188
- readonly label: string | ComputedRef<string>;
189
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
190
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
191
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
192
- style?: CSSProperties | undefined;
193
- class?: any;
194
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
195
- style?: CSSProperties | undefined;
196
- class?: any;
197
- } & RecordType>>;
198
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
199
- [key: string]: any;
200
- style?: CSSProperties | undefined;
201
- }>;
202
- readonly fieldProps: PropsItemType<Partial<{
203
- [index: string]: any;
204
- [index: number]: any;
205
- [index: symbol]: any;
206
- class: any;
207
- style: CSSProperties;
208
- modelModifiers: {
209
- [index: string]: any;
210
- lazy?: boolean | undefined;
211
- trim?: boolean | undefined;
212
- number?: boolean | undefined;
213
- };
214
- rows: number;
215
- autocomplete: string;
216
- 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;
217
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
218
- step: string | number;
219
- format: string | ProgressFn | undefined;
220
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
221
- id: string | [string, string];
222
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
223
- height: string | number;
224
- autosize: InputAutoSize;
225
- } & 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>>>>;
226
- readonly options: OptionsType;
227
- readonly fieldSlots: {
228
- [slotName: string]: (data?: any) => RenderTypes;
229
- };
230
- readonly valueType: TableValueType | FormItemValueType;
231
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
232
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
233
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
234
- readonly renderErrorMessage: ((props: PlusColumn & {
235
- value?: FieldValueType;
236
- error?: string | undefined;
237
- label?: string | undefined;
238
- }) => RenderTypes) | undefined;
239
- readonly optionsMap: {
240
- label?: string | undefined;
241
- value?: string | undefined;
242
- } | undefined;
243
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
244
- store?: any;
245
- method?: string | undefined;
246
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
247
- dictCode?: string | undefined;
248
- } | undefined;
249
- readonly clearable: boolean;
250
- readonly index: number;
251
- } & {
252
- readonly clearable: boolean;
253
- };
254
- label: string;
255
- fieldProps: RecordType;
256
- formItemProps: RecordType;
257
- options: OptionsRow<undefined>[];
258
- fieldInstance?: any;
259
- valueIsReady?: Ref<boolean> | undefined;
260
- prop: string;
261
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
262
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
263
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
264
- style?: CSSProperties | undefined;
265
- class?: any;
266
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
267
- style?: CSSProperties | undefined;
268
- class?: any;
269
- } & RecordType>>;
270
- fieldSlots: {
271
- [slotName: string]: (data?: any) => RenderTypes;
272
- };
273
- valueType: TableValueType | FormItemValueType;
274
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
275
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
276
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
277
- renderErrorMessage: ((props: PlusColumn & {
278
- value?: FieldValueType;
279
- error?: string | undefined;
280
- label?: string | undefined;
281
- }) => RenderTypes) | undefined;
282
- optionsMap: {
283
- label?: string | undefined;
284
- value?: string | undefined;
285
- } | undefined;
286
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
287
- store?: any;
288
- method?: string | undefined;
289
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
290
- dictCode?: string | undefined;
291
- } | undefined;
292
- clearable: boolean;
293
- index: number;
294
- }) => any>> & Partial<Record<string, (_: {
295
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
296
- readonly label: string | ComputedRef<string>;
297
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
298
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
299
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
300
- style?: CSSProperties | undefined;
301
- class?: any;
302
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
303
- style?: CSSProperties | undefined;
304
- class?: any;
305
- } & RecordType>>;
306
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
307
- [key: string]: any;
308
- style?: CSSProperties | undefined;
309
- }>;
310
- readonly fieldProps: PropsItemType<Partial<{
311
- [index: string]: any;
312
- [index: number]: any;
313
- [index: symbol]: any;
314
- class: any;
315
- style: CSSProperties;
316
- modelModifiers: {
317
- [index: string]: any;
318
- lazy?: boolean | undefined;
319
- trim?: boolean | undefined;
320
- number?: boolean | undefined;
321
- };
322
- rows: number;
323
- autocomplete: string;
324
- 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;
325
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
326
- step: string | number;
327
- format: string | ProgressFn | undefined;
328
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
329
- id: string | [string, string];
330
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
331
- height: string | number;
332
- autosize: InputAutoSize;
333
- } & 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>>>>;
334
- readonly options: OptionsType;
335
- readonly fieldSlots: {
336
- [slotName: string]: (data?: any) => RenderTypes;
337
- };
338
- readonly valueType: TableValueType | FormItemValueType;
339
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
340
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
341
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
342
- readonly renderErrorMessage: ((props: PlusColumn & {
343
- value?: FieldValueType;
344
- error?: string | undefined;
345
- label?: string | undefined;
346
- }) => RenderTypes) | undefined;
347
- readonly optionsMap: {
348
- label?: string | undefined;
349
- value?: string | undefined;
350
- } | undefined;
351
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
352
- store?: any;
353
- method?: string | undefined;
354
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
355
- dictCode?: string | undefined;
356
- } | undefined;
357
- readonly clearable: boolean;
358
- readonly index: number;
359
- } & {
360
- readonly clearable: boolean;
361
- };
362
- label: string;
363
- fieldProps: RecordType;
364
- formItemProps: RecordType;
365
- options: OptionsRow<undefined>[];
366
- fieldInstance?: any;
367
- valueIsReady?: Ref<boolean> | undefined;
368
- prop: string;
369
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
370
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
371
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
372
- style?: CSSProperties | undefined;
373
- class?: any;
374
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
375
- style?: CSSProperties | undefined;
376
- class?: any;
377
- } & RecordType>>;
378
- fieldSlots: {
379
- [slotName: string]: (data?: any) => RenderTypes;
380
- };
381
- valueType: TableValueType | FormItemValueType;
382
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
383
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
384
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
385
- renderErrorMessage: ((props: PlusColumn & {
386
- value?: FieldValueType;
387
- error?: string | undefined;
388
- label?: string | undefined;
389
- }) => RenderTypes) | undefined;
390
- optionsMap: {
391
- label?: string | undefined;
392
- value?: string | undefined;
393
- } | undefined;
394
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
395
- store?: any;
396
- method?: string | undefined;
397
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
398
- dictCode?: string | undefined;
399
- } | undefined;
400
- clearable: boolean;
401
- index: number;
402
- }) => any>> & Partial<Record<string, (_: {
403
- column: any;
404
- prop: string;
405
- valueType: TableValueType | FormItemValueType;
406
- row: RecordType;
407
- index: number;
408
- rowIndex: number;
409
- fieldProps: RecordType;
410
- options: OptionsRow<undefined>[];
411
- value: any;
412
- }) => any>> & {
413
- "edit-icon"?(_: {}): any;
414
- }>;
415
- export default _default;
416
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
417
- type __VLS_TypePropsToRuntimeProps<T> = {
418
- [K in keyof T]-?: {} extends Pick<T, K> ? {
419
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
420
- } : {
421
- type: PropType<T[K]>;
422
- required: true;
423
- };
424
- };
425
- type __VLS_WithDefaults<P, D> = {
426
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
427
- default: D[K];
428
- }> : P[K];
429
- };
430
- type __VLS_Prettify<T> = {
431
- [K in keyof T]: T[K];
432
- } & {};
433
- type __VLS_WithTemplateSlots<T, S> = T & {
434
- new (): {
435
- $slots: S;
436
- };
437
- };