yc-pro-components 0.0.70 → 0.0.71

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 (146) hide show
  1. package/es/components/check-card/index.d.ts +61 -61
  2. package/es/components/check-card/src/index.vue.d.ts +4 -4
  3. package/es/components/check-card-group/index.d.ts +43 -43
  4. package/es/components/check-card-group/src/index.vue.d.ts +3 -3
  5. package/es/components/date-picker/index.d.ts +20 -20
  6. package/es/components/date-picker/src/index.vue.d.ts +12 -12
  7. package/es/components/dialog/index.d.ts +26 -26
  8. package/es/components/dialog/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog-form/index.d.ts +31 -31
  10. package/es/components/dialog-form/src/index.vue.d.ts +9 -9
  11. package/es/components/display-item/index.d.ts +41 -41
  12. package/es/components/display-item/src/index.vue.d.ts +22 -22
  13. package/es/components/drawer-form/index.d.ts +65 -65
  14. package/es/components/drawer-form/src/index.vue.d.ts +15 -15
  15. package/es/components/form/index.d.ts +45 -45
  16. package/es/components/form/src/form-content.vue.d.ts +20 -20
  17. package/es/components/form/src/index.vue.d.ts +17 -17
  18. package/es/components/form-item/index.d.ts +48 -48
  19. package/es/components/form-item/src/index.vue.d.ts +14 -14
  20. package/es/components/header/index.d.ts +19 -19
  21. package/es/components/header/src/index.vue.d.ts +1 -1
  22. package/es/components/input-tag/index.d.ts +15 -15
  23. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  24. package/es/components/layout/index.d.ts +30 -30
  25. package/es/components/layout/src/index.vue.d.ts +10 -10
  26. package/es/components/page/index.d.ts +344 -344
  27. package/es/components/page/src/index.vue.d.ts +118 -118
  28. package/es/components/pagination/index.d.ts +42 -42
  29. package/es/components/pagination/src/index.vue.d.ts +3 -3
  30. package/es/components/radio/index.d.ts +35 -35
  31. package/es/components/radio/src/index.vue.d.ts +27 -27
  32. package/es/components/render/index.d.ts +3 -3
  33. package/es/components/render/src/index.vue.d.ts +1 -1
  34. package/es/components/search/index.d.ts +154 -154
  35. package/es/components/search/src/index.vue.d.ts +50 -50
  36. package/es/components/sidebar/index.d.ts +15 -15
  37. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  38. package/es/components/steps-form/index.d.ts +23 -23
  39. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  40. package/es/components/table/src/table-column.vue.d.ts +37 -37
  41. package/es/components/utils/index.d.ts +2 -2
  42. package/es/components/yc-dialog/index.d.ts +24 -24
  43. package/es/components/yc-download-dialog/index.d.ts +19 -19
  44. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  45. package/es/components/yc-form-container-header/index.d.ts +12 -12
  46. package/es/components/yc-more-actions/index.d.ts +46 -46
  47. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  48. package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
  49. package/es/components/yc-segmented/index.d.ts +2 -2
  50. package/es/components/yc-segmented/src/index.d.ts +2 -2
  51. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  52. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  53. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  54. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  55. package/es/hooks/usePlusFormReset.d.ts +238 -238
  56. package/es/index.css +8 -8
  57. package/es/version.d.ts +1 -1
  58. package/es/version.mjs +1 -1
  59. package/es/yc-components/version.d.ts +1 -1
  60. package/index.js +2 -2
  61. package/index.min.js +2 -2
  62. package/index.min.mjs +2 -2
  63. package/index.mjs +2 -2
  64. package/lib/components/check-card/index.d.ts +61 -61
  65. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  66. package/lib/components/check-card-group/index.d.ts +43 -43
  67. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  68. package/lib/components/date-picker/index.d.ts +20 -20
  69. package/lib/components/date-picker/src/index.vue.d.ts +12 -12
  70. package/lib/components/dialog/index.d.ts +26 -26
  71. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  72. package/lib/components/dialog-form/index.d.ts +31 -31
  73. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  74. package/lib/components/display-item/index.d.ts +41 -41
  75. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  76. package/lib/components/drawer-form/index.d.ts +65 -65
  77. package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
  78. package/lib/components/form/index.d.ts +45 -45
  79. package/lib/components/form/src/form-content.vue.d.ts +20 -20
  80. package/lib/components/form/src/index.vue.d.ts +17 -17
  81. package/lib/components/form-item/index.d.ts +48 -48
  82. package/lib/components/form-item/src/index.vue.d.ts +14 -14
  83. package/lib/components/header/index.d.ts +19 -19
  84. package/lib/components/header/src/index.vue.d.ts +1 -1
  85. package/lib/components/input-tag/index.d.ts +15 -15
  86. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  87. package/lib/components/layout/index.d.ts +30 -30
  88. package/lib/components/layout/src/index.vue.d.ts +10 -10
  89. package/lib/components/page/index.d.ts +344 -344
  90. package/lib/components/page/src/index.vue.d.ts +118 -118
  91. package/lib/components/pagination/index.d.ts +42 -42
  92. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  93. package/lib/components/radio/index.d.ts +35 -35
  94. package/lib/components/radio/src/index.vue.d.ts +27 -27
  95. package/lib/components/render/index.d.ts +3 -3
  96. package/lib/components/render/src/index.vue.d.ts +1 -1
  97. package/lib/components/search/index.d.ts +154 -154
  98. package/lib/components/search/src/index.vue.d.ts +50 -50
  99. package/lib/components/sidebar/index.d.ts +15 -15
  100. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  101. package/lib/components/steps-form/index.d.ts +23 -23
  102. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  103. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  104. package/lib/components/utils/index.d.ts +2 -2
  105. package/lib/components/yc-dialog/index.d.ts +24 -24
  106. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  107. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  108. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  109. package/lib/components/yc-more-actions/index.d.ts +46 -46
  110. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  111. package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
  112. package/lib/components/yc-segmented/index.d.ts +2 -2
  113. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  114. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  115. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  116. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  117. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  118. package/lib/hooks/usePlusFormReset.d.ts +238 -238
  119. package/lib/index.css +11 -11
  120. package/lib/version.d.ts +1 -1
  121. package/lib/version.js +1 -1
  122. package/lib/yc-components/version.d.ts +1 -1
  123. package/locale/en.js +1 -1
  124. package/locale/en.min.js +1 -1
  125. package/locale/en.min.mjs +1 -1
  126. package/locale/en.mjs +1 -1
  127. package/locale/ja.js +1 -1
  128. package/locale/ja.min.js +1 -1
  129. package/locale/ja.min.mjs +1 -1
  130. package/locale/ja.mjs +1 -1
  131. package/locale/ko.js +1 -1
  132. package/locale/ko.min.js +1 -1
  133. package/locale/ko.min.mjs +1 -1
  134. package/locale/ko.mjs +1 -1
  135. package/locale/zh-cn.js +1 -1
  136. package/locale/zh-cn.min.js +1 -1
  137. package/locale/zh-cn.min.mjs +1 -1
  138. package/locale/zh-cn.mjs +1 -1
  139. package/locale/zh-tw.js +1 -1
  140. package/locale/zh-tw.min.js +1 -1
  141. package/locale/zh-tw.min.mjs +1 -1
  142. package/locale/zh-tw.mjs +1 -1
  143. package/package.json +1 -1
  144. package/theme-chalk/index.css +1 -1
  145. package/theme-chalk/plus-table.css +1 -1
  146. package/theme-chalk/src/table.scss +19 -15
@@ -5,10 +5,6 @@ export type PlusDialogInstance = InstanceType<typeof Dialog>;
5
5
  export * from './src/type';
6
6
  export declare const PlusDialog: {
7
7
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
8
- modelValue: {
9
- type: PropType<boolean>;
10
- default: boolean;
11
- };
12
8
  title: {
13
9
  type: PropType<string>;
14
10
  default: string;
@@ -21,12 +17,16 @@ export declare const PlusDialog: {
21
17
  type: PropType<string>;
22
18
  default: string;
23
19
  };
20
+ modelValue: {
21
+ type: PropType<boolean>;
22
+ default: boolean;
23
+ };
24
24
  hasFooter: {
25
25
  type: PropType<boolean>;
26
26
  default: boolean;
27
27
  };
28
28
  footerAlign: {
29
- type: PropType<"center" | "right" | "left">;
29
+ type: PropType<"right" | "left" | "center">;
30
30
  default: string;
31
31
  };
32
32
  confirmLoading: {
@@ -53,10 +53,6 @@ export declare const PlusDialog: {
53
53
  cancel: () => void;
54
54
  confirm: () => void;
55
55
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
56
- modelValue: {
57
- type: PropType<boolean>;
58
- default: boolean;
59
- };
60
56
  title: {
61
57
  type: PropType<string>;
62
58
  default: string;
@@ -69,12 +65,16 @@ export declare const PlusDialog: {
69
65
  type: PropType<string>;
70
66
  default: string;
71
67
  };
68
+ modelValue: {
69
+ type: PropType<boolean>;
70
+ default: boolean;
71
+ };
72
72
  hasFooter: {
73
73
  type: PropType<boolean>;
74
74
  default: boolean;
75
75
  };
76
76
  footerAlign: {
77
- type: PropType<"center" | "right" | "left">;
77
+ type: PropType<"right" | "left" | "center">;
78
78
  default: string;
79
79
  };
80
80
  confirmLoading: {
@@ -97,12 +97,12 @@ export declare const PlusDialog: {
97
97
  onCancel?: (() => any) | undefined;
98
98
  onConfirm?: (() => any) | undefined;
99
99
  }, {
100
- modelValue: boolean;
101
100
  title: string;
102
101
  width: string | number;
103
102
  top: string;
103
+ modelValue: boolean;
104
104
  hasFooter: boolean;
105
- footerAlign: "center" | "right" | "left";
105
+ footerAlign: "right" | "left" | "center";
106
106
  confirmLoading: boolean;
107
107
  cancelText: string;
108
108
  confirmText: string;
@@ -114,10 +114,6 @@ export declare const PlusDialog: {
114
114
  M: {};
115
115
  Defaults: {};
116
116
  }, Readonly< ExtractPropTypes<{
117
- modelValue: {
118
- type: PropType<boolean>;
119
- default: boolean;
120
- };
121
117
  title: {
122
118
  type: PropType<string>;
123
119
  default: string;
@@ -130,12 +126,16 @@ export declare const PlusDialog: {
130
126
  type: PropType<string>;
131
127
  default: string;
132
128
  };
129
+ modelValue: {
130
+ type: PropType<boolean>;
131
+ default: boolean;
132
+ };
133
133
  hasFooter: {
134
134
  type: PropType<boolean>;
135
135
  default: boolean;
136
136
  };
137
137
  footerAlign: {
138
- type: PropType<"center" | "right" | "left">;
138
+ type: PropType<"right" | "left" | "center">;
139
139
  default: string;
140
140
  };
141
141
  confirmLoading: {
@@ -158,12 +158,12 @@ export declare const PlusDialog: {
158
158
  onCancel?: (() => any) | undefined;
159
159
  onConfirm?: (() => any) | undefined;
160
160
  }, {}, {}, {}, {}, {
161
- modelValue: boolean;
162
161
  title: string;
163
162
  width: string | number;
164
163
  top: string;
164
+ modelValue: boolean;
165
165
  hasFooter: boolean;
166
- footerAlign: "center" | "right" | "left";
166
+ footerAlign: "right" | "left" | "center";
167
167
  confirmLoading: boolean;
168
168
  cancelText: string;
169
169
  confirmText: string;
@@ -172,10 +172,6 @@ export declare const PlusDialog: {
172
172
  __isTeleport?: undefined;
173
173
  __isSuspense?: undefined;
174
174
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
175
- modelValue: {
176
- type: PropType<boolean>;
177
- default: boolean;
178
- };
179
175
  title: {
180
176
  type: PropType<string>;
181
177
  default: string;
@@ -188,12 +184,16 @@ export declare const PlusDialog: {
188
184
  type: PropType<string>;
189
185
  default: string;
190
186
  };
187
+ modelValue: {
188
+ type: PropType<boolean>;
189
+ default: boolean;
190
+ };
191
191
  hasFooter: {
192
192
  type: PropType<boolean>;
193
193
  default: boolean;
194
194
  };
195
195
  footerAlign: {
196
- type: PropType<"center" | "right" | "left">;
196
+ type: PropType<"right" | "left" | "center">;
197
197
  default: string;
198
198
  };
199
199
  confirmLoading: {
@@ -220,12 +220,12 @@ export declare const PlusDialog: {
220
220
  cancel: () => void;
221
221
  confirm: () => void;
222
222
  }, string, {
223
- modelValue: boolean;
224
223
  title: string;
225
224
  width: string | number;
226
225
  top: string;
226
+ modelValue: boolean;
227
227
  hasFooter: boolean;
228
- footerAlign: "center" | "right" | "left";
228
+ footerAlign: "right" | "left" | "center";
229
229
  confirmLoading: boolean;
230
230
  cancelText: string;
231
231
  confirmText: string;
@@ -30,12 +30,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
30
30
  onCancel?: (() => any) | undefined;
31
31
  onConfirm?: (() => any) | undefined;
32
32
  }, {
33
- modelValue: boolean;
34
33
  title: string;
35
34
  width: string | number;
36
35
  top: string;
36
+ modelValue: boolean;
37
37
  hasFooter: boolean;
38
- footerAlign: "center" | "right" | "left";
38
+ footerAlign: "right" | "left" | "center";
39
39
  confirmLoading: boolean;
40
40
  cancelText: string;
41
41
  confirmText: string;
@@ -1,8 +1,8 @@
1
1
  import { EpPropMergeType } from 'element-plus/es/utils';
2
2
  import { LooseRequired } from '@vue/shared';
3
3
  import { FormInstance, 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';
4
- import { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
5
4
  import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
5
+ import { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
6
6
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Ref, CSSProperties, Component } from 'vue';
7
7
  import { default as DialogForm } from './src/index.vue';
8
8
 
@@ -10,10 +10,6 @@ export type { PlusDialogFormProps } from './src/index.vue';
10
10
  export type PlusDialogFormInstance = InstanceType<typeof DialogForm>;
11
11
  export declare const PlusDialogForm: {
12
12
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
13
- modelValue: {
14
- type: PropType<FieldValues>;
15
- default: () => {};
16
- };
17
13
  dialog: {
18
14
  type: PropType<PlusDialogProps>;
19
15
  default: () => {};
@@ -26,14 +22,18 @@ export declare const PlusDialogForm: {
26
22
  type: PropType<boolean>;
27
23
  default: boolean;
28
24
  };
25
+ modelValue: {
26
+ type: PropType<FieldValues>;
27
+ default: () => {};
28
+ };
29
29
  hasErrorTip: {
30
30
  type: PropType<boolean>;
31
31
  default: boolean;
32
32
  };
33
33
  }>> & {
34
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
35
34
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
36
35
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
37
37
  onClose?: (() => any) | undefined;
38
38
  onCancel?: (() => any) | undefined;
39
39
  onConfirm?: ((values: FieldValues) => any) | undefined;
@@ -51,10 +51,6 @@ export declare const PlusDialogForm: {
51
51
  close: () => void;
52
52
  confirmError: (errors: unknown) => void;
53
53
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
54
- modelValue: {
55
- type: PropType<FieldValues>;
56
- default: () => {};
57
- };
58
54
  dialog: {
59
55
  type: PropType<PlusDialogProps>;
60
56
  default: () => {};
@@ -67,23 +63,27 @@ export declare const PlusDialogForm: {
67
63
  type: PropType<boolean>;
68
64
  default: boolean;
69
65
  };
66
+ modelValue: {
67
+ type: PropType<FieldValues>;
68
+ default: () => {};
69
+ };
70
70
  hasErrorTip: {
71
71
  type: PropType<boolean>;
72
72
  default: boolean;
73
73
  };
74
74
  }>> & {
75
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
76
75
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
77
76
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
77
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
78
78
  onClose?: (() => any) | undefined;
79
79
  onCancel?: (() => any) | undefined;
80
80
  onConfirm?: ((values: FieldValues) => any) | undefined;
81
81
  onConfirmError?: ((errors: unknown) => any) | undefined;
82
82
  }, {
83
- modelValue: FieldValues;
84
83
  dialog: PlusDialogProps;
85
84
  form: PlusFormProps;
86
85
  visible: boolean;
86
+ modelValue: FieldValues;
87
87
  hasErrorTip: boolean;
88
88
  }, true, {}, {}, {
89
89
  P: {};
@@ -93,10 +93,6 @@ export declare const PlusDialogForm: {
93
93
  M: {};
94
94
  Defaults: {};
95
95
  }, Readonly< ExtractPropTypes<{
96
- modelValue: {
97
- type: PropType<FieldValues>;
98
- default: () => {};
99
- };
100
96
  dialog: {
101
97
  type: PropType<PlusDialogProps>;
102
98
  default: () => {};
@@ -109,14 +105,18 @@ export declare const PlusDialogForm: {
109
105
  type: PropType<boolean>;
110
106
  default: boolean;
111
107
  };
108
+ modelValue: {
109
+ type: PropType<FieldValues>;
110
+ default: () => {};
111
+ };
112
112
  hasErrorTip: {
113
113
  type: PropType<boolean>;
114
114
  default: boolean;
115
115
  };
116
116
  }>> & {
117
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
118
117
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
119
118
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
119
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
120
120
  onClose?: (() => any) | undefined;
121
121
  onCancel?: (() => any) | undefined;
122
122
  onConfirm?: ((values: FieldValues) => any) | undefined;
@@ -126,20 +126,16 @@ export declare const PlusDialogForm: {
126
126
  handleCancel: () => void;
127
127
  formInstance: ComputedRef<FormInstance>;
128
128
  }, {}, {}, {}, {
129
- modelValue: FieldValues;
130
129
  dialog: PlusDialogProps;
131
130
  form: PlusFormProps;
132
131
  visible: boolean;
132
+ modelValue: FieldValues;
133
133
  hasErrorTip: boolean;
134
134
  }>;
135
135
  __isFragment?: undefined;
136
136
  __isTeleport?: undefined;
137
137
  __isSuspense?: undefined;
138
138
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
139
- modelValue: {
140
- type: PropType<FieldValues>;
141
- default: () => {};
142
- };
143
139
  dialog: {
144
140
  type: PropType<PlusDialogProps>;
145
141
  default: () => {};
@@ -152,14 +148,18 @@ export declare const PlusDialogForm: {
152
148
  type: PropType<boolean>;
153
149
  default: boolean;
154
150
  };
151
+ modelValue: {
152
+ type: PropType<FieldValues>;
153
+ default: () => {};
154
+ };
155
155
  hasErrorTip: {
156
156
  type: PropType<boolean>;
157
157
  default: boolean;
158
158
  };
159
159
  }>> & {
160
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
161
160
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
162
161
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
162
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
163
163
  onClose?: (() => any) | undefined;
164
164
  onCancel?: (() => any) | undefined;
165
165
  onConfirm?: ((values: FieldValues) => any) | undefined;
@@ -177,21 +177,21 @@ export declare const PlusDialogForm: {
177
177
  close: () => void;
178
178
  confirmError: (errors: unknown) => void;
179
179
  }, string, {
180
- modelValue: FieldValues;
181
180
  dialog: PlusDialogProps;
182
181
  form: PlusFormProps;
183
182
  visible: boolean;
183
+ modelValue: FieldValues;
184
184
  hasErrorTip: boolean;
185
185
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
186
186
  $slots: Partial<Record<NonNullable<string | number>, (_: {
187
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
187
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
188
188
  readonly label: string | ComputedRef<string>;
189
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
189
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
190
190
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
191
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
191
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
192
192
  style?: CSSProperties | undefined;
193
193
  class?: any;
194
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
194
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
195
195
  style?: CSSProperties | undefined;
196
196
  class?: any;
197
197
  } & RecordType>>;
@@ -258,12 +258,12 @@ export declare const PlusDialogForm: {
258
258
  fieldInstance?: any;
259
259
  valueIsReady?: Ref<boolean> | undefined;
260
260
  prop: string;
261
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
261
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
262
262
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
263
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
263
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
264
264
  style?: CSSProperties | undefined;
265
265
  class?: any;
266
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
266
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
267
267
  style?: CSSProperties | undefined;
268
268
  class?: any;
269
269
  } & RecordType>>;
@@ -48,28 +48,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
48
48
  dialog: () => {};
49
49
  form: () => {};
50
50
  }>>> & {
51
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
52
51
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
53
52
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
53
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
54
54
  onClose?: (() => any) | undefined;
55
55
  onCancel?: (() => any) | undefined;
56
56
  onConfirm?: ((values: FieldValues) => any) | undefined;
57
57
  onConfirmError?: ((errors: unknown) => any) | undefined;
58
58
  }, {
59
- modelValue: FieldValues;
60
59
  dialog: PlusDialogProps;
61
60
  form: PlusFormProps;
62
61
  visible: boolean;
62
+ modelValue: FieldValues;
63
63
  hasErrorTip: boolean;
64
64
  }, {}>, Partial<Record<NonNullable<string | number>, (_: {
65
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
65
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
66
66
  readonly label: string | ComputedRef<string>;
67
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
67
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
68
68
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
69
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
69
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
70
70
  style?: CSSProperties | undefined;
71
71
  class?: any;
72
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
72
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
73
73
  style?: CSSProperties | undefined;
74
74
  class?: any;
75
75
  } & RecordType>>;
@@ -136,12 +136,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
136
136
  fieldInstance?: any;
137
137
  valueIsReady?: Ref<boolean> | undefined;
138
138
  prop: string;
139
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
139
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
140
140
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
141
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
141
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
142
142
  style?: CSSProperties | undefined;
143
143
  class?: any;
144
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
144
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
145
145
  style?: CSSProperties | undefined;
146
146
  class?: any;
147
147
  } & RecordType>>;
@@ -1,8 +1,8 @@
1
1
  import { EpPropMergeType } from 'element-plus/es/utils';
2
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
3
  import { LooseRequired } from '@vue/shared';
4
- import { RecordType, PlusColumn, FieldValueType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'yc-pro-components';
5
4
  import { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
5
+ import { RecordType, PlusColumn, FieldValueType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'yc-pro-components';
6
6
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue';
7
7
  import { default as DisplayItem } from './src/index.vue';
8
8
 
@@ -14,14 +14,14 @@ export declare const PlusDisplayItem: {
14
14
  type: PropType<number>;
15
15
  default: number;
16
16
  };
17
- formProps: {
18
- type: PropType<PlusFormProps>;
19
- default: () => {};
20
- };
21
17
  rest: {
22
18
  type: PropType<RecordType>;
23
19
  default: () => {};
24
20
  };
21
+ formProps: {
22
+ type: PropType<PlusFormProps>;
23
+ default: () => {};
24
+ };
25
25
  column: {
26
26
  type: PropType<PlusColumn>;
27
27
  required: true;
@@ -67,14 +67,14 @@ export declare const PlusDisplayItem: {
67
67
  type: PropType<number>;
68
68
  default: number;
69
69
  };
70
- formProps: {
71
- type: PropType<PlusFormProps>;
72
- default: () => {};
73
- };
74
70
  rest: {
75
71
  type: PropType<RecordType>;
76
72
  default: () => {};
77
73
  };
74
+ formProps: {
75
+ type: PropType<PlusFormProps>;
76
+ default: () => {};
77
+ };
78
78
  column: {
79
79
  type: PropType<PlusColumn>;
80
80
  required: true;
@@ -100,8 +100,8 @@ export declare const PlusDisplayItem: {
100
100
  }) => any) | undefined;
101
101
  }, {
102
102
  index: number;
103
- formProps: PlusFormProps;
104
103
  rest: RecordType;
104
+ formProps: PlusFormProps;
105
105
  column: PlusColumn;
106
106
  row: RecordType;
107
107
  editable: boolean | "click" | "dblclick";
@@ -117,14 +117,14 @@ export declare const PlusDisplayItem: {
117
117
  type: PropType<number>;
118
118
  default: number;
119
119
  };
120
- formProps: {
121
- type: PropType<PlusFormProps>;
122
- default: () => {};
123
- };
124
120
  rest: {
125
121
  type: PropType<RecordType>;
126
122
  default: () => {};
127
123
  };
124
+ formProps: {
125
+ type: PropType<PlusFormProps>;
126
+ default: () => {};
127
+ };
128
128
  column: {
129
129
  type: PropType<PlusColumn>;
130
130
  required: true;
@@ -161,8 +161,8 @@ export declare const PlusDisplayItem: {
161
161
  };
162
162
  }, {}, {}, {}, {
163
163
  index: number;
164
- formProps: PlusFormProps;
165
164
  rest: RecordType;
165
+ formProps: PlusFormProps;
166
166
  column: PlusColumn;
167
167
  row: RecordType;
168
168
  editable: boolean | "click" | "dblclick";
@@ -175,14 +175,14 @@ export declare const PlusDisplayItem: {
175
175
  type: PropType<number>;
176
176
  default: number;
177
177
  };
178
- formProps: {
179
- type: PropType<PlusFormProps>;
180
- default: () => {};
181
- };
182
178
  rest: {
183
179
  type: PropType<RecordType>;
184
180
  default: () => {};
185
181
  };
182
+ formProps: {
183
+ type: PropType<PlusFormProps>;
184
+ default: () => {};
185
+ };
186
186
  column: {
187
187
  type: PropType<PlusColumn>;
188
188
  required: true;
@@ -225,21 +225,21 @@ export declare const PlusDisplayItem: {
225
225
  }) => void;
226
226
  }, string, {
227
227
  index: number;
228
- formProps: PlusFormProps;
229
228
  rest: RecordType;
229
+ formProps: PlusFormProps;
230
230
  column: PlusColumn;
231
231
  row: RecordType;
232
232
  editable: boolean | "click" | "dblclick";
233
233
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
234
234
  $slots: Partial<Record<string, (_: {
235
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
235
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
236
236
  readonly label: string | ComputedRef<string>;
237
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
237
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
238
238
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
239
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
239
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
240
240
  style?: CSSProperties | undefined;
241
241
  class?: any;
242
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
242
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
243
243
  style?: CSSProperties | undefined;
244
244
  class?: any;
245
245
  } & RecordType>>;
@@ -306,12 +306,12 @@ export declare const PlusDisplayItem: {
306
306
  fieldInstance?: any;
307
307
  valueIsReady?: Ref<boolean> | undefined;
308
308
  prop: string;
309
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
309
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
310
310
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
311
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
311
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
312
312
  style?: CSSProperties | undefined;
313
313
  class?: any;
314
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
314
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
315
315
  style?: CSSProperties | undefined;
316
316
  class?: any;
317
317
  } & RecordType>>;
@@ -340,14 +340,14 @@ export declare const PlusDisplayItem: {
340
340
  clearable: boolean;
341
341
  index: number;
342
342
  }) => any>> & Partial<Record<string, (_: {
343
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
343
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
344
344
  readonly label: string | ComputedRef<string>;
345
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
345
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
346
346
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
347
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
347
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
348
348
  style?: CSSProperties | undefined;
349
349
  class?: any;
350
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
350
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
351
351
  style?: CSSProperties | undefined;
352
352
  class?: any;
353
353
  } & RecordType>>;
@@ -414,12 +414,12 @@ export declare const PlusDisplayItem: {
414
414
  fieldInstance?: any;
415
415
  valueIsReady?: Ref<boolean> | undefined;
416
416
  prop: string;
417
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
417
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
418
418
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
419
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
419
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
420
420
  style?: CSSProperties | undefined;
421
421
  class?: any;
422
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
422
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
423
423
  style?: CSSProperties | undefined;
424
424
  class?: any;
425
425
  } & RecordType>>;
@@ -448,14 +448,14 @@ export declare const PlusDisplayItem: {
448
448
  clearable: boolean;
449
449
  index: number;
450
450
  }) => any>> & Partial<Record<string, (_: {
451
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
451
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
452
452
  readonly label: string | ComputedRef<string>;
453
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
453
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
454
454
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
455
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
455
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
456
456
  style?: CSSProperties | undefined;
457
457
  class?: any;
458
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
458
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
459
459
  style?: CSSProperties | undefined;
460
460
  class?: any;
461
461
  } & RecordType>>;
@@ -522,12 +522,12 @@ export declare const PlusDisplayItem: {
522
522
  fieldInstance?: any;
523
523
  valueIsReady?: Ref<boolean> | undefined;
524
524
  prop: string;
525
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
525
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
526
526
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
527
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
527
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
528
528
  style?: CSSProperties | undefined;
529
529
  class?: any;
530
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
530
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
531
531
  style?: CSSProperties | undefined;
532
532
  class?: any;
533
533
  } & RecordType>>;