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,598 +0,0 @@
1
- import { PlusFormItemProps } from 'yc-pro-components/es/components/form-item';
2
- import { LooseRequired } from '@vue/shared';
3
- import { EpPropMergeType } from 'element-plus/es/utils';
4
- import { PlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
5
- import { RowProps, ColProps, ElTooltipProps, TableColumnCtx, 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';
6
- import { PlusColumn, FieldValues, FieldValueType, PlusRowProps, PlusColProps, Mutable, RecordType, TableValueType, FormItemValueType, OptionsType, OptionsRow, RenderTypes, PropsItemType, OmitTypes, CascaderProps } from 'yc-pro-components/es/types';
7
- import { Ref, ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, CSSProperties, PropType } from 'vue';
8
-
9
- export interface PlusFormContentProps {
10
- modelValue?: FieldValues;
11
- hasLabel?: boolean;
12
- /**
13
- * @desc 表单布局方式
14
- * @version v0.1.15
15
- * @default undefined (使用 Element Plus 的 Row/Col 布局)
16
- * @values 'flex' | 'grid' | undefined
17
- */
18
- layout?: 'grid' | 'flex';
19
- columns?: PlusColumn[];
20
- rowProps?: PlusRowProps;
21
- colProps?: PlusColProps;
22
- /**
23
- * @desc 动画时长
24
- * @version v0.1.15
25
- */
26
- collapseDuration?: number;
27
- /**
28
- * @desc 是否开启折叠动画
29
- * @version v0.1.15
30
- */
31
- collapseTransition?: boolean;
32
- /**
33
- * @version v0.1.18
34
- */
35
- clearable?: boolean;
36
- /**
37
- * 标签和占位符超出时省略。字段 ellipsis 优先。
38
- */
39
- ellipsis?: boolean;
40
- }
41
- export interface PlusFormContentEmits {
42
- (e: 'update:modelValue', values: FieldValues): void;
43
- (e: 'change', values: FieldValues, column: PlusColumn): void;
44
- }
45
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusFormContentProps>, {
46
- modelValue: () => {};
47
- hasLabel: boolean;
48
- layout: undefined;
49
- rowProps: () => {};
50
- colProps: () => {};
51
- columns: () => never[];
52
- collapseDuration: undefined;
53
- collapseTransition: undefined;
54
- clearable: boolean;
55
- ellipsis: boolean;
56
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
57
- "update:modelValue": (values: FieldValues) => void;
58
- change: (values: FieldValues, column: PlusColumn) => void;
59
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusFormContentProps>, {
60
- modelValue: () => {};
61
- hasLabel: boolean;
62
- layout: undefined;
63
- rowProps: () => {};
64
- colProps: () => {};
65
- columns: () => never[];
66
- collapseDuration: undefined;
67
- collapseTransition: undefined;
68
- clearable: boolean;
69
- ellipsis: boolean;
70
- }>>> & {
71
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
72
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
73
- }, {
74
- collapseDuration: number;
75
- collapseTransition: boolean;
76
- columns: PlusColumn[];
77
- layout: "grid" | "flex";
78
- modelValue: FieldValues;
79
- ellipsis: boolean;
80
- rowProps: Partial< Mutable<RowProps> & {
81
- style?: CSSProperties | undefined;
82
- class?: any;
83
- } & RecordType>;
84
- colProps: Partial< Mutable<ColProps> & {
85
- style?: CSSProperties | undefined;
86
- class?: any;
87
- } & RecordType>;
88
- hasLabel: boolean;
89
- clearable: boolean;
90
- }, {}>, Partial<Record<string, (_: {
91
- [x: string]: any;
92
- label?: string | ComputedRef<string> | undefined;
93
- prop: string;
94
- width?: string | number | undefined;
95
- minWidth?: string | number | undefined;
96
- editable?: boolean | undefined;
97
- valueType?: TableValueType | FormItemValueType;
98
- hideInDescriptions?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
99
- hideInForm?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
100
- hideInTable?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
101
- hideInSearch?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
102
- descriptionsItemProps?: RecordType | undefined;
103
- options?: OptionsType | undefined;
104
- optionsMap?: {
105
- label?: string | undefined;
106
- value?: string | undefined;
107
- } | undefined;
108
- customGetStatus?: ((data: {
109
- options: OptionsRow<undefined>[];
110
- value: string | number;
111
- row: RecordType;
112
- }) => OptionsRow<undefined>) | undefined;
113
- tooltip?: string | Partial< Mutable<ElTooltipProps> & {
114
- style?: CSSProperties | undefined;
115
- class?: any;
116
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
117
- style?: CSSProperties | undefined;
118
- class?: any;
119
- } & RecordType>> | undefined;
120
- render?: ((value: any, data: {
121
- row: RecordType;
122
- column: PlusColumn;
123
- index: number;
124
- }) => RenderTypes) | undefined;
125
- renderHTML?: ((value: any, data: {
126
- row: RecordType;
127
- column: PlusColumn;
128
- index: number;
129
- }) => string) | undefined;
130
- renderHeader?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
131
- renderDescriptionsItem?: ((data: {
132
- value: string;
133
- column: PlusColumn;
134
- row: RecordType;
135
- }) => RenderTypes) | undefined;
136
- renderDescriptionsLabel?: ((data: {
137
- label: string;
138
- column: PlusColumn;
139
- row: RecordType;
140
- }) => RenderTypes) | undefined;
141
- order?: number | ComputedRef<number> | undefined;
142
- children?: PlusColumn[] | undefined;
143
- emptyText?: string | undefined;
144
- autoDict?: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
145
- store?: any;
146
- method?: string | undefined;
147
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
148
- dictCode?: string | undefined;
149
- } | undefined;
150
- headerFilter?: boolean | Record<string, any> | undefined;
151
- disabledHeaderFilter?: boolean | undefined;
152
- headerIsChecked?: boolean | undefined;
153
- tableColumnProps?: Partial<Omit< TableColumnCtx<any>, "label " | "prop" | "width" | "minWidth"> & {
154
- [key: string]: any;
155
- }> | undefined;
156
- preview?: boolean | undefined;
157
- linkText?: string | undefined;
158
- formatter?: ((value: any, data: {
159
- row: RecordType;
160
- column: PlusColumn;
161
- index: number;
162
- }) => string | number) | undefined;
163
- headerShowOverflowTooltip?: boolean | {
164
- showTooltip?: boolean | undefined;
165
- } | undefined;
166
- formProps?: Partial< PlusFormProps> | ComputedRef<Partial< PlusFormProps>> | ((value: FieldValueType, data: {
167
- row: Record<string, any>;
168
- index: number;
169
- }) => Partial< PlusFormProps>) | undefined;
170
- formItemProps?: PropsItemType< Mutable<FormItemProps> & {
171
- [key: string]: any;
172
- style?: CSSProperties | undefined;
173
- }> | undefined;
174
- fieldProps?: PropsItemType<Partial<{
175
- [index: string]: any;
176
- [index: number]: any;
177
- [index: symbol]: any;
178
- class: any;
179
- style: CSSProperties;
180
- modelModifiers: {
181
- [index: string]: any;
182
- lazy?: boolean | undefined;
183
- trim?: boolean | undefined;
184
- number?: boolean | undefined;
185
- };
186
- rows: number;
187
- autocomplete: string;
188
- 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;
189
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
190
- step: string | number;
191
- format: string | ProgressFn | undefined;
192
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
193
- id: string | [string, string];
194
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
195
- height: string | number;
196
- autosize: InputAutoSize;
197
- } & 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>>>> | undefined;
198
- renderField?: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
199
- colProps?: Partial< Mutable<ColProps> & {
200
- style?: CSSProperties | undefined;
201
- class?: any;
202
- } & RecordType> | ComputedRef<Partial< Mutable<ColProps> & {
203
- style?: CSSProperties | undefined;
204
- class?: any;
205
- } & RecordType>> | undefined;
206
- hasLabel?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
207
- ellipsis?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
208
- renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
209
- renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
210
- renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
211
- fieldSlots?: {
212
- [slotName: string]: (data?: any) => RenderTypes;
213
- } | undefined;
214
- fieldChildrenSlot?: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
215
- renderErrorMessage?: ((props: PlusColumn & {
216
- value?: FieldValueType;
217
- error?: string | undefined;
218
- label?: string | undefined;
219
- }) => RenderTypes) | undefined;
220
- }) => any>> & Partial<Record<string, (_: {
221
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
222
- readonly label: string | ComputedRef<string>;
223
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
224
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
225
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
226
- style?: CSSProperties | undefined;
227
- class?: any;
228
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
229
- style?: CSSProperties | undefined;
230
- class?: any;
231
- } & RecordType>>;
232
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
233
- [key: string]: any;
234
- style?: CSSProperties | undefined;
235
- }>;
236
- readonly fieldProps: PropsItemType<Partial<{
237
- [index: string]: any;
238
- [index: number]: any;
239
- [index: symbol]: any;
240
- class: any;
241
- style: CSSProperties;
242
- modelModifiers: {
243
- [index: string]: any;
244
- lazy?: boolean | undefined;
245
- trim?: boolean | undefined;
246
- number?: boolean | undefined;
247
- };
248
- rows: number;
249
- autocomplete: string;
250
- 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;
251
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
252
- step: string | number;
253
- format: string | ProgressFn | undefined;
254
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
255
- id: string | [string, string];
256
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
257
- height: string | number;
258
- autosize: InputAutoSize;
259
- } & 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>>>>;
260
- readonly options: OptionsType;
261
- readonly fieldSlots: {
262
- [slotName: string]: (data?: any) => RenderTypes;
263
- };
264
- readonly valueType: TableValueType | FormItemValueType;
265
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
266
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
267
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
268
- readonly renderErrorMessage: ((props: PlusColumn & {
269
- value?: FieldValueType;
270
- error?: string | undefined;
271
- label?: string | undefined;
272
- }) => RenderTypes) | undefined;
273
- readonly optionsMap: {
274
- label?: string | undefined;
275
- value?: string | undefined;
276
- } | undefined;
277
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
278
- store?: any;
279
- method?: string | undefined;
280
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
281
- dictCode?: string | undefined;
282
- } | undefined;
283
- readonly clearable: boolean;
284
- readonly ellipsis: boolean;
285
- readonly index: number;
286
- } & {
287
- readonly ellipsis: boolean;
288
- readonly clearable: boolean;
289
- };
290
- label: string;
291
- fieldProps: RecordType;
292
- formItemProps: RecordType;
293
- options: OptionsRow<undefined>[];
294
- fieldInstance?: any;
295
- valueIsReady?: Ref<boolean> | undefined;
296
- prop: string;
297
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
298
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
299
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
300
- style?: CSSProperties | undefined;
301
- class?: any;
302
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
303
- style?: CSSProperties | undefined;
304
- class?: any;
305
- } & RecordType>>;
306
- fieldSlots: {
307
- [slotName: string]: (data?: any) => RenderTypes;
308
- };
309
- valueType: TableValueType | FormItemValueType;
310
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
311
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
312
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
313
- renderErrorMessage: ((props: PlusColumn & {
314
- value?: FieldValueType;
315
- error?: string | undefined;
316
- label?: string | undefined;
317
- }) => RenderTypes) | undefined;
318
- optionsMap: {
319
- label?: string | undefined;
320
- value?: string | undefined;
321
- } | undefined;
322
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
323
- store?: any;
324
- method?: string | undefined;
325
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
326
- dictCode?: string | undefined;
327
- } | undefined;
328
- clearable: boolean;
329
- ellipsis: boolean;
330
- index: number;
331
- }) => any>> & Partial<Record<string, (_: {
332
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
333
- readonly label: string | ComputedRef<string>;
334
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
335
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
336
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
337
- style?: CSSProperties | undefined;
338
- class?: any;
339
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
340
- style?: CSSProperties | undefined;
341
- class?: any;
342
- } & RecordType>>;
343
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
344
- [key: string]: any;
345
- style?: CSSProperties | undefined;
346
- }>;
347
- readonly fieldProps: PropsItemType<Partial<{
348
- [index: string]: any;
349
- [index: number]: any;
350
- [index: symbol]: any;
351
- class: any;
352
- style: CSSProperties;
353
- modelModifiers: {
354
- [index: string]: any;
355
- lazy?: boolean | undefined;
356
- trim?: boolean | undefined;
357
- number?: boolean | undefined;
358
- };
359
- rows: number;
360
- autocomplete: string;
361
- 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;
362
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
363
- step: string | number;
364
- format: string | ProgressFn | undefined;
365
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
366
- id: string | [string, string];
367
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
368
- height: string | number;
369
- autosize: InputAutoSize;
370
- } & 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>>>>;
371
- readonly options: OptionsType;
372
- readonly fieldSlots: {
373
- [slotName: string]: (data?: any) => RenderTypes;
374
- };
375
- readonly valueType: TableValueType | FormItemValueType;
376
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
377
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
378
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
379
- readonly renderErrorMessage: ((props: PlusColumn & {
380
- value?: FieldValueType;
381
- error?: string | undefined;
382
- label?: string | undefined;
383
- }) => RenderTypes) | undefined;
384
- readonly optionsMap: {
385
- label?: string | undefined;
386
- value?: string | undefined;
387
- } | undefined;
388
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
389
- store?: any;
390
- method?: string | undefined;
391
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
392
- dictCode?: string | undefined;
393
- } | undefined;
394
- readonly clearable: boolean;
395
- readonly ellipsis: boolean;
396
- readonly index: number;
397
- } & {
398
- readonly ellipsis: boolean;
399
- readonly clearable: boolean;
400
- };
401
- label: string;
402
- fieldProps: RecordType;
403
- formItemProps: RecordType;
404
- options: OptionsRow<undefined>[];
405
- fieldInstance?: any;
406
- valueIsReady?: Ref<boolean> | undefined;
407
- prop: string;
408
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
409
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
410
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
411
- style?: CSSProperties | undefined;
412
- class?: any;
413
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
414
- style?: CSSProperties | undefined;
415
- class?: any;
416
- } & RecordType>>;
417
- fieldSlots: {
418
- [slotName: string]: (data?: any) => RenderTypes;
419
- };
420
- valueType: TableValueType | FormItemValueType;
421
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
422
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
423
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
424
- renderErrorMessage: ((props: PlusColumn & {
425
- value?: FieldValueType;
426
- error?: string | undefined;
427
- label?: string | undefined;
428
- }) => RenderTypes) | undefined;
429
- optionsMap: {
430
- label?: string | undefined;
431
- value?: string | undefined;
432
- } | undefined;
433
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
434
- store?: any;
435
- method?: string | undefined;
436
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
437
- dictCode?: string | undefined;
438
- } | undefined;
439
- clearable: boolean;
440
- ellipsis: boolean;
441
- index: number;
442
- }) => any>> & Partial<Record<string, (_: {
443
- [x: string]: any;
444
- label?: string | ComputedRef<string> | undefined;
445
- prop: string;
446
- width?: string | number | undefined;
447
- minWidth?: string | number | undefined;
448
- editable?: boolean | undefined;
449
- valueType?: TableValueType | FormItemValueType;
450
- hideInDescriptions?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
451
- hideInForm?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
452
- hideInTable?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
453
- hideInSearch?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
454
- descriptionsItemProps?: RecordType | undefined;
455
- options?: OptionsType | undefined;
456
- optionsMap?: {
457
- label?: string | undefined;
458
- value?: string | undefined;
459
- } | undefined;
460
- customGetStatus?: ((data: {
461
- options: OptionsRow<undefined>[];
462
- value: string | number;
463
- row: RecordType;
464
- }) => OptionsRow<undefined>) | undefined;
465
- tooltip?: string | Partial< Mutable<ElTooltipProps> & {
466
- style?: CSSProperties | undefined;
467
- class?: any;
468
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
469
- style?: CSSProperties | undefined;
470
- class?: any;
471
- } & RecordType>> | undefined;
472
- render?: ((value: any, data: {
473
- row: RecordType;
474
- column: PlusColumn;
475
- index: number;
476
- }) => RenderTypes) | undefined;
477
- renderHTML?: ((value: any, data: {
478
- row: RecordType;
479
- column: PlusColumn;
480
- index: number;
481
- }) => string) | undefined;
482
- renderHeader?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
483
- renderDescriptionsItem?: ((data: {
484
- value: string;
485
- column: PlusColumn;
486
- row: RecordType;
487
- }) => RenderTypes) | undefined;
488
- renderDescriptionsLabel?: ((data: {
489
- label: string;
490
- column: PlusColumn;
491
- row: RecordType;
492
- }) => RenderTypes) | undefined;
493
- order?: number | ComputedRef<number> | undefined;
494
- children?: PlusColumn[] | undefined;
495
- emptyText?: string | undefined;
496
- autoDict?: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
497
- store?: any;
498
- method?: string | undefined;
499
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
500
- dictCode?: string | undefined;
501
- } | undefined;
502
- headerFilter?: boolean | Record<string, any> | undefined;
503
- disabledHeaderFilter?: boolean | undefined;
504
- headerIsChecked?: boolean | undefined;
505
- tableColumnProps?: Partial<Omit< TableColumnCtx<any>, "label " | "prop" | "width" | "minWidth"> & {
506
- [key: string]: any;
507
- }> | undefined;
508
- preview?: boolean | undefined;
509
- linkText?: string | undefined;
510
- formatter?: ((value: any, data: {
511
- row: RecordType;
512
- column: PlusColumn;
513
- index: number;
514
- }) => string | number) | undefined;
515
- headerShowOverflowTooltip?: boolean | {
516
- showTooltip?: boolean | undefined;
517
- } | undefined;
518
- formProps?: Partial< PlusFormProps> | ComputedRef<Partial< PlusFormProps>> | ((value: FieldValueType, data: {
519
- row: Record<string, any>;
520
- index: number;
521
- }) => Partial< PlusFormProps>) | undefined;
522
- formItemProps?: PropsItemType< Mutable<FormItemProps> & {
523
- [key: string]: any;
524
- style?: CSSProperties | undefined;
525
- }> | undefined;
526
- fieldProps?: PropsItemType<Partial<{
527
- [index: string]: any;
528
- [index: number]: any;
529
- [index: symbol]: any;
530
- class: any;
531
- style: CSSProperties;
532
- modelModifiers: {
533
- [index: string]: any;
534
- lazy?: boolean | undefined;
535
- trim?: boolean | undefined;
536
- number?: boolean | undefined;
537
- };
538
- rows: number;
539
- autocomplete: string;
540
- 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;
541
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
542
- step: string | number;
543
- format: string | ProgressFn | undefined;
544
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
545
- id: string | [string, string];
546
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
547
- height: string | number;
548
- autosize: InputAutoSize;
549
- } & 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>>>> | undefined;
550
- renderField?: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
551
- colProps?: Partial< Mutable<ColProps> & {
552
- style?: CSSProperties | undefined;
553
- class?: any;
554
- } & RecordType> | ComputedRef<Partial< Mutable<ColProps> & {
555
- style?: CSSProperties | undefined;
556
- class?: any;
557
- } & RecordType>> | undefined;
558
- hasLabel?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
559
- ellipsis?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
560
- renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
561
- renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
562
- renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
563
- fieldSlots?: {
564
- [slotName: string]: (data?: any) => RenderTypes;
565
- } | undefined;
566
- fieldChildrenSlot?: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
567
- renderErrorMessage?: ((props: PlusColumn & {
568
- value?: FieldValueType;
569
- error?: string | undefined;
570
- label?: string | undefined;
571
- }) => RenderTypes) | undefined;
572
- }) => any>> & {
573
- "tooltip-icon"?(_: {}): any;
574
- "search-footer"?(_: {}): any;
575
- }>;
576
- export default _default;
577
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
578
- type __VLS_TypePropsToRuntimeProps<T> = {
579
- [K in keyof T]-?: {} extends Pick<T, K> ? {
580
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
581
- } : {
582
- type: PropType<T[K]>;
583
- required: true;
584
- };
585
- };
586
- type __VLS_WithDefaults<P, D> = {
587
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
588
- default: D[K];
589
- }> : P[K];
590
- };
591
- type __VLS_Prettify<T> = {
592
- [K in keyof T]: T[K];
593
- } & {};
594
- type __VLS_WithTemplateSlots<T, S> = T & {
595
- new (): {
596
- $slots: S;
597
- };
598
- };