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