yc-pro-components 0.0.11 → 0.0.12

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/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 +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +2 -2
  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 +50 -50
  14. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  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 +42 -42
  19. package/es/components/form-item/src/index.vue.d.ts +12 -12
  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 +20 -20
  23. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  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 +543 -453
  27. package/es/components/page/src/index.vue.d.ts +185 -155
  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 +193 -155
  35. package/es/components/search/src/index.vue.d.ts +56 -50
  36. package/es/components/search/src/index.vue2.mjs +14 -4
  37. package/es/components/search/src/type.d.ts +9 -0
  38. package/es/components/sidebar/index.d.ts +15 -15
  39. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  40. package/es/components/steps-form/index.d.ts +23 -23
  41. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  42. package/es/components/table/index.d.ts +54 -54
  43. package/es/components/table/src/index.vue.d.ts +18 -18
  44. package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  45. package/es/components/table/src/table-column.vue.d.ts +37 -37
  46. package/es/components/utils/index.d.ts +2 -2
  47. package/es/components/yc-dialog/index.d.ts +24 -24
  48. package/es/components/yc-download-dialog/index.d.ts +19 -19
  49. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  50. package/es/components/yc-form-container-header/index.d.ts +12 -12
  51. package/es/components/yc-more-actions/index.d.ts +46 -46
  52. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  53. package/es/components/yc-plus-page/src/index.vue.d.ts +445 -518
  54. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  55. package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
  56. package/es/components/yc-segmented/index.d.ts +2 -2
  57. package/es/components/yc-segmented/src/index.d.ts +2 -2
  58. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  59. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  60. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  61. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  62. package/es/hooks/usePlusFormReset.d.ts +208 -208
  63. package/es/index.css +1 -1
  64. package/index.css +9 -5
  65. package/index.js +23 -7
  66. package/index.min.css +1 -1
  67. package/index.min.js +6 -6
  68. package/index.min.mjs +7 -7
  69. package/index.mjs +23 -7
  70. package/lib/components/check-card/index.d.ts +61 -61
  71. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  72. package/lib/components/check-card-group/index.d.ts +43 -43
  73. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  74. package/lib/components/date-picker/index.d.ts +10 -10
  75. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  76. package/lib/components/dialog/index.d.ts +26 -26
  77. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  78. package/lib/components/dialog-form/index.d.ts +31 -31
  79. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  80. package/lib/components/display-item/index.d.ts +41 -41
  81. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  82. package/lib/components/drawer-form/index.d.ts +50 -50
  83. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  84. package/lib/components/form/index.d.ts +45 -45
  85. package/lib/components/form/src/form-content.vue.d.ts +20 -20
  86. package/lib/components/form/src/index.vue.d.ts +17 -17
  87. package/lib/components/form-item/index.d.ts +42 -42
  88. package/lib/components/form-item/src/index.vue.d.ts +12 -12
  89. package/lib/components/header/index.d.ts +19 -19
  90. package/lib/components/header/src/index.vue.d.ts +1 -1
  91. package/lib/components/input-tag/index.d.ts +20 -20
  92. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  93. package/lib/components/layout/index.d.ts +30 -30
  94. package/lib/components/layout/src/index.vue.d.ts +10 -10
  95. package/lib/components/page/index.d.ts +543 -453
  96. package/lib/components/page/src/index.vue.d.ts +185 -155
  97. package/lib/components/pagination/index.d.ts +42 -42
  98. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  99. package/lib/components/radio/index.d.ts +35 -35
  100. package/lib/components/radio/src/index.vue.d.ts +27 -27
  101. package/lib/components/render/index.d.ts +3 -3
  102. package/lib/components/render/src/index.vue.d.ts +1 -1
  103. package/lib/components/search/index.d.ts +193 -155
  104. package/lib/components/search/src/index.vue.d.ts +56 -50
  105. package/lib/components/search/src/index.vue2.js +13 -3
  106. package/lib/components/search/src/type.d.ts +9 -0
  107. package/lib/components/sidebar/index.d.ts +15 -15
  108. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  109. package/lib/components/steps-form/index.d.ts +23 -23
  110. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  111. package/lib/components/table/index.d.ts +54 -54
  112. package/lib/components/table/src/index.vue.d.ts +18 -18
  113. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  114. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  115. package/lib/components/utils/index.d.ts +2 -2
  116. package/lib/components/yc-dialog/index.d.ts +24 -24
  117. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  118. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  119. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  120. package/lib/components/yc-more-actions/index.d.ts +46 -46
  121. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  122. package/lib/components/yc-plus-page/src/index.vue.d.ts +445 -518
  123. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  124. package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
  125. package/lib/components/yc-segmented/index.d.ts +2 -2
  126. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  127. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  128. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  129. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  130. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  131. package/lib/hooks/usePlusFormReset.d.ts +208 -208
  132. package/lib/index.css +1 -1
  133. package/locale/en.js +1 -1
  134. package/locale/en.min.js +1 -1
  135. package/locale/en.min.mjs +1 -1
  136. package/locale/en.mjs +1 -1
  137. package/locale/ja.js +1 -1
  138. package/locale/ja.min.js +1 -1
  139. package/locale/ja.min.mjs +1 -1
  140. package/locale/ja.mjs +1 -1
  141. package/locale/ko.js +1 -1
  142. package/locale/ko.min.js +1 -1
  143. package/locale/ko.min.mjs +1 -1
  144. package/locale/ko.mjs +1 -1
  145. package/locale/zh-cn.js +1 -1
  146. package/locale/zh-cn.min.js +1 -1
  147. package/locale/zh-cn.min.mjs +1 -1
  148. package/locale/zh-cn.mjs +1 -1
  149. package/locale/zh-tw.js +1 -1
  150. package/locale/zh-tw.min.js +1 -1
  151. package/locale/zh-tw.min.mjs +1 -1
  152. package/locale/zh-tw.mjs +1 -1
  153. package/package.json +1 -1
  154. package/theme-chalk/index.css +1 -1
  155. package/theme-chalk/plus-page.css +1 -1
  156. package/theme-chalk/src/page.scss +1 -1
@@ -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: {
@@ -50,10 +50,6 @@ export declare const PlusDialog: {
50
50
  cancel: () => void;
51
51
  confirm: () => void;
52
52
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
53
- modelValue: {
54
- type: PropType<boolean>;
55
- default: boolean;
56
- };
57
53
  title: {
58
54
  type: PropType<string>;
59
55
  default: string;
@@ -66,12 +62,16 @@ export declare const PlusDialog: {
66
62
  type: PropType<string>;
67
63
  default: string;
68
64
  };
65
+ modelValue: {
66
+ type: PropType<boolean>;
67
+ default: boolean;
68
+ };
69
69
  hasFooter: {
70
70
  type: PropType<boolean>;
71
71
  default: boolean;
72
72
  };
73
73
  footerAlign: {
74
- type: PropType<"center" | "right" | "left">;
74
+ type: PropType<"right" | "left" | "center">;
75
75
  default: string;
76
76
  };
77
77
  confirmLoading: {
@@ -91,12 +91,12 @@ export declare const PlusDialog: {
91
91
  onCancel?: (() => any) | undefined;
92
92
  onConfirm?: (() => any) | undefined;
93
93
  }, {
94
- modelValue: boolean;
95
94
  title: string;
96
95
  width: string | number;
97
96
  top: string;
97
+ modelValue: boolean;
98
98
  hasFooter: boolean;
99
- footerAlign: "center" | "right" | "left";
99
+ footerAlign: "right" | "left" | "center";
100
100
  confirmLoading: boolean;
101
101
  cancelText: string;
102
102
  confirmText: string;
@@ -108,10 +108,6 @@ export declare const PlusDialog: {
108
108
  M: {};
109
109
  Defaults: {};
110
110
  }, Readonly< ExtractPropTypes<{
111
- modelValue: {
112
- type: PropType<boolean>;
113
- default: boolean;
114
- };
115
111
  title: {
116
112
  type: PropType<string>;
117
113
  default: string;
@@ -124,12 +120,16 @@ export declare const PlusDialog: {
124
120
  type: PropType<string>;
125
121
  default: string;
126
122
  };
123
+ modelValue: {
124
+ type: PropType<boolean>;
125
+ default: boolean;
126
+ };
127
127
  hasFooter: {
128
128
  type: PropType<boolean>;
129
129
  default: boolean;
130
130
  };
131
131
  footerAlign: {
132
- type: PropType<"center" | "right" | "left">;
132
+ type: PropType<"right" | "left" | "center">;
133
133
  default: string;
134
134
  };
135
135
  confirmLoading: {
@@ -149,12 +149,12 @@ export declare const PlusDialog: {
149
149
  onCancel?: (() => any) | undefined;
150
150
  onConfirm?: (() => any) | undefined;
151
151
  }, {}, {}, {}, {}, {
152
- modelValue: boolean;
153
152
  title: string;
154
153
  width: string | number;
155
154
  top: string;
155
+ modelValue: boolean;
156
156
  hasFooter: boolean;
157
- footerAlign: "center" | "right" | "left";
157
+ footerAlign: "right" | "left" | "center";
158
158
  confirmLoading: boolean;
159
159
  cancelText: string;
160
160
  confirmText: string;
@@ -163,10 +163,6 @@ export declare const PlusDialog: {
163
163
  __isTeleport?: undefined;
164
164
  __isSuspense?: undefined;
165
165
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
166
- modelValue: {
167
- type: PropType<boolean>;
168
- default: boolean;
169
- };
170
166
  title: {
171
167
  type: PropType<string>;
172
168
  default: string;
@@ -179,12 +175,16 @@ export declare const PlusDialog: {
179
175
  type: PropType<string>;
180
176
  default: string;
181
177
  };
178
+ modelValue: {
179
+ type: PropType<boolean>;
180
+ default: boolean;
181
+ };
182
182
  hasFooter: {
183
183
  type: PropType<boolean>;
184
184
  default: boolean;
185
185
  };
186
186
  footerAlign: {
187
- type: PropType<"center" | "right" | "left">;
187
+ type: PropType<"right" | "left" | "center">;
188
188
  default: string;
189
189
  };
190
190
  confirmLoading: {
@@ -208,12 +208,12 @@ export declare const PlusDialog: {
208
208
  cancel: () => void;
209
209
  confirm: () => void;
210
210
  }, string, {
211
- modelValue: boolean;
212
211
  title: string;
213
212
  width: string | number;
214
213
  top: string;
214
+ modelValue: boolean;
215
215
  hasFooter: boolean;
216
- footerAlign: "center" | "right" | "left";
216
+ footerAlign: "right" | "left" | "center";
217
217
  confirmLoading: boolean;
218
218
  cancelText: string;
219
219
  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;
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
2
2
  import { LooseRequired } from '@vue/shared';
3
3
  import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
4
4
  import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
5
- import { FieldValues, PlusDialogProps, PlusFormProps, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
5
+ import { PlusDialogProps, PlusFormProps, FieldValues, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } 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;
@@ -332,10 +332,6 @@ export declare const PlusDialogForm: {
332
332
  close: () => void;
333
333
  confirmError: (errors: unknown) => void;
334
334
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
335
- modelValue: {
336
- type: PropType<FieldValues>;
337
- default: () => {};
338
- };
339
335
  dialog: {
340
336
  type: PropType<PlusDialogProps>;
341
337
  default: () => {};
@@ -348,23 +344,27 @@ export declare const PlusDialogForm: {
348
344
  type: PropType<boolean>;
349
345
  default: boolean;
350
346
  };
347
+ modelValue: {
348
+ type: PropType<FieldValues>;
349
+ default: () => {};
350
+ };
351
351
  hasErrorTip: {
352
352
  type: PropType<boolean>;
353
353
  default: boolean;
354
354
  };
355
355
  }>> & {
356
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
357
356
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
358
357
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
358
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
359
359
  onClose?: (() => any) | undefined;
360
360
  onCancel?: (() => any) | undefined;
361
361
  onConfirm?: ((values: FieldValues) => any) | undefined;
362
362
  onConfirmError?: ((errors: unknown) => any) | undefined;
363
363
  }, {
364
- modelValue: FieldValues;
365
364
  dialog: PlusDialogProps;
366
365
  form: PlusFormProps;
367
366
  visible: boolean;
367
+ modelValue: FieldValues;
368
368
  hasErrorTip: boolean;
369
369
  }, true, {}, {}, {
370
370
  P: {};
@@ -374,10 +374,6 @@ export declare const PlusDialogForm: {
374
374
  M: {};
375
375
  Defaults: {};
376
376
  }, Readonly< ExtractPropTypes<{
377
- modelValue: {
378
- type: PropType<FieldValues>;
379
- default: () => {};
380
- };
381
377
  dialog: {
382
378
  type: PropType<PlusDialogProps>;
383
379
  default: () => {};
@@ -390,14 +386,18 @@ export declare const PlusDialogForm: {
390
386
  type: PropType<boolean>;
391
387
  default: boolean;
392
388
  };
389
+ modelValue: {
390
+ type: PropType<FieldValues>;
391
+ default: () => {};
392
+ };
393
393
  hasErrorTip: {
394
394
  type: PropType<boolean>;
395
395
  default: boolean;
396
396
  };
397
397
  }>> & {
398
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
399
398
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
400
399
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
400
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
401
401
  onClose?: (() => any) | undefined;
402
402
  onCancel?: (() => any) | undefined;
403
403
  onConfirm?: ((values: FieldValues) => any) | undefined;
@@ -688,20 +688,16 @@ export declare const PlusDialogForm: {
688
688
  readonly scrollToError: boolean;
689
689
  }>>;
690
690
  }, {}, {}, {}, {
691
- modelValue: FieldValues;
692
691
  dialog: PlusDialogProps;
693
692
  form: PlusFormProps;
694
693
  visible: boolean;
694
+ modelValue: FieldValues;
695
695
  hasErrorTip: boolean;
696
696
  }>;
697
697
  __isFragment?: undefined;
698
698
  __isTeleport?: undefined;
699
699
  __isSuspense?: undefined;
700
700
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
701
- modelValue: {
702
- type: PropType<FieldValues>;
703
- default: () => {};
704
- };
705
701
  dialog: {
706
702
  type: PropType<PlusDialogProps>;
707
703
  default: () => {};
@@ -714,14 +710,18 @@ export declare const PlusDialogForm: {
714
710
  type: PropType<boolean>;
715
711
  default: boolean;
716
712
  };
713
+ modelValue: {
714
+ type: PropType<FieldValues>;
715
+ default: () => {};
716
+ };
717
717
  hasErrorTip: {
718
718
  type: PropType<boolean>;
719
719
  default: boolean;
720
720
  };
721
721
  }>> & {
722
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
723
722
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
724
723
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
724
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
725
725
  onClose?: (() => any) | undefined;
726
726
  onCancel?: (() => any) | undefined;
727
727
  onConfirm?: ((values: FieldValues) => any) | undefined;
@@ -1020,21 +1020,21 @@ export declare const PlusDialogForm: {
1020
1020
  close: () => void;
1021
1021
  confirmError: (errors: unknown) => void;
1022
1022
  }, string, {
1023
- modelValue: FieldValues;
1024
1023
  dialog: PlusDialogProps;
1025
1024
  form: PlusFormProps;
1026
1025
  visible: boolean;
1026
+ modelValue: FieldValues;
1027
1027
  hasErrorTip: boolean;
1028
1028
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1029
1029
  $slots: Partial<Record<NonNullable<string | number>, (_: {
1030
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1030
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1031
1031
  readonly label: string | ComputedRef<string>;
1032
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1032
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1033
1033
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1034
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1034
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1035
1035
  style?: CSSProperties | undefined;
1036
1036
  class?: any;
1037
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1037
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1038
1038
  style?: CSSProperties | undefined;
1039
1039
  class?: any;
1040
1040
  } & RecordType>>;
@@ -1095,12 +1095,12 @@ export declare const PlusDialogForm: {
1095
1095
  fieldInstance?: any;
1096
1096
  valueIsReady?: Ref<boolean> | undefined;
1097
1097
  prop: string;
1098
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1098
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1099
1099
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1100
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1100
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1101
1101
  style?: CSSProperties | undefined;
1102
1102
  class?: any;
1103
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1103
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1104
1104
  style?: CSSProperties | undefined;
1105
1105
  class?: any;
1106
1106
  } & RecordType>>;
@@ -330,28 +330,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
330
330
  dialog: () => {};
331
331
  form: () => {};
332
332
  }>>> & {
333
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
334
333
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
335
334
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
335
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
336
336
  onClose?: (() => any) | undefined;
337
337
  onCancel?: (() => any) | undefined;
338
338
  onConfirm?: ((values: FieldValues) => any) | undefined;
339
339
  onConfirmError?: ((errors: unknown) => any) | undefined;
340
340
  }, {
341
- modelValue: FieldValues;
342
341
  dialog: PlusDialogProps;
343
342
  form: PlusFormProps;
344
343
  visible: boolean;
344
+ modelValue: FieldValues;
345
345
  hasErrorTip: boolean;
346
346
  }, {}>, Partial<Record<NonNullable<string | number>, (_: {
347
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
347
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
348
348
  readonly label: string | ComputedRef<string>;
349
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
349
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
350
350
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
351
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
351
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
352
352
  style?: CSSProperties | undefined;
353
353
  class?: any;
354
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
354
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
355
355
  style?: CSSProperties | undefined;
356
356
  class?: any;
357
357
  } & RecordType>>;
@@ -412,12 +412,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
412
412
  fieldInstance?: any;
413
413
  valueIsReady?: Ref<boolean> | undefined;
414
414
  prop: string;
415
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
415
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
416
416
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
417
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
417
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
418
418
  style?: CSSProperties | undefined;
419
419
  class?: any;
420
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
420
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
421
421
  style?: CSSProperties | undefined;
422
422
  class?: any;
423
423
  } & RecordType>>;
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
2
2
  import { EpPropMergeType } from 'element-plus/es/utils';
3
3
  import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
4
4
  import { LooseRequired } from '@vue/shared';
5
- import { PlusFormProps, RecordType, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-components';
5
+ import { RecordType, PlusFormProps, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-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">> & {
235
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
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>>;
@@ -300,12 +300,12 @@ export declare const PlusDisplayItem: {
300
300
  fieldInstance?: any;
301
301
  valueIsReady?: Ref<boolean> | undefined;
302
302
  prop: string;
303
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
303
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
304
304
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
305
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
305
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
306
306
  style?: CSSProperties | undefined;
307
307
  class?: any;
308
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
308
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
309
309
  style?: CSSProperties | undefined;
310
310
  class?: any;
311
311
  } & RecordType>>;
@@ -328,14 +328,14 @@ export declare const PlusDisplayItem: {
328
328
  clearable: boolean;
329
329
  index: number;
330
330
  }) => any>> & Partial<Record<string, (_: {
331
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
331
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
332
332
  readonly label: string | ComputedRef<string>;
333
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
333
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
334
334
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
335
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
335
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
336
336
  style?: CSSProperties | undefined;
337
337
  class?: any;
338
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
338
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
339
339
  style?: CSSProperties | undefined;
340
340
  class?: any;
341
341
  } & RecordType>>;
@@ -396,12 +396,12 @@ export declare const PlusDisplayItem: {
396
396
  fieldInstance?: any;
397
397
  valueIsReady?: Ref<boolean> | undefined;
398
398
  prop: string;
399
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
399
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
400
400
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
401
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
401
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
402
402
  style?: CSSProperties | undefined;
403
403
  class?: any;
404
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
404
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
405
405
  style?: CSSProperties | undefined;
406
406
  class?: any;
407
407
  } & RecordType>>;
@@ -424,14 +424,14 @@ export declare const PlusDisplayItem: {
424
424
  clearable: boolean;
425
425
  index: number;
426
426
  }) => any>> & Partial<Record<string, (_: {
427
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
427
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
428
428
  readonly label: string | ComputedRef<string>;
429
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
429
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
430
430
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
431
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
431
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
432
432
  style?: CSSProperties | undefined;
433
433
  class?: any;
434
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
434
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
435
435
  style?: CSSProperties | undefined;
436
436
  class?: any;
437
437
  } & RecordType>>;
@@ -492,12 +492,12 @@ export declare const PlusDisplayItem: {
492
492
  fieldInstance?: any;
493
493
  valueIsReady?: Ref<boolean> | undefined;
494
494
  prop: string;
495
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
495
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
496
496
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
497
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
497
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
498
498
  style?: CSSProperties | undefined;
499
499
  class?: any;
500
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
500
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
501
501
  style?: CSSProperties | undefined;
502
502
  class?: any;
503
503
  } & RecordType>>;