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