yc-pro-components 0.0.7 → 0.0.9

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 +76 -76
  2. package/es/components/check-card/src/index.vue.d.ts +14 -14
  3. package/es/components/check-card-group/index.d.ts +57 -57
  4. package/es/components/check-card-group/src/index.vue.d.ts +20 -20
  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/descriptions/index.d.ts +39 -39
  8. package/es/components/descriptions/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog/index.d.ts +45 -45
  10. package/es/components/dialog/src/index.vue.d.ts +3 -3
  11. package/es/components/dialog-form/index.d.ts +47 -47
  12. package/es/components/dialog-form/src/index.vue.d.ts +11 -11
  13. package/es/components/display-item/index.d.ts +24 -24
  14. package/es/components/display-item/src/index.vue.d.ts +24 -24
  15. package/es/components/drawer-form/index.d.ts +31 -31
  16. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  17. package/es/components/form/index.d.ts +138 -138
  18. package/es/components/form/src/form-content.vue.d.ts +29 -29
  19. package/es/components/form/src/index.vue.d.ts +25 -25
  20. package/es/components/form-item/index.d.ts +128 -128
  21. package/es/components/form-item/src/index.vue.d.ts +19 -19
  22. package/es/components/header/index.d.ts +19 -19
  23. package/es/components/header/src/index.vue.d.ts +1 -1
  24. package/es/components/input-tag/index.d.ts +16 -16
  25. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  26. package/es/components/layout/index.d.ts +30 -30
  27. package/es/components/layout/src/index.vue.d.ts +10 -10
  28. package/es/components/page/index.d.ts +1035 -1035
  29. package/es/components/page/src/index.vue.d.ts +337 -337
  30. package/es/components/pagination/index.d.ts +38 -38
  31. package/es/components/pagination/src/index.vue.d.ts +2 -2
  32. package/es/components/radio/index.d.ts +34 -34
  33. package/es/components/radio/src/index.vue.d.ts +26 -26
  34. package/es/components/render/index.d.ts +17 -17
  35. package/es/components/render/src/index.vue.d.ts +2 -2
  36. package/es/components/search/index.d.ts +426 -426
  37. package/es/components/search/src/index.vue.d.ts +125 -125
  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 +19 -19
  41. package/es/components/steps-form/src/index.vue.d.ts +1 -1
  42. package/es/components/table/index.d.ts +38 -38
  43. package/es/components/table/src/index.vue.d.ts +7 -7
  44. package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
  45. package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
  46. package/es/components/table/src/table-column.vue.d.ts +24 -24
  47. package/es/components/utils/index.d.ts +15 -15
  48. package/es/components/yc-count-to/index.d.ts +1 -1
  49. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  50. package/es/components/yc-dialog/index.d.ts +24 -24
  51. package/es/components/yc-drawer/store.d.ts +6 -6
  52. package/es/components/yc-more-actions/index.d.ts +6 -6
  53. package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
  54. package/es/components/yc-plus-page/src/index.vue.d.ts +735 -735
  55. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  56. package/es/components/yc-segmented/index.d.ts +1 -1
  57. package/es/components/yc-segmented/src/index.d.ts +1 -1
  58. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  59. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  60. package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
  61. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  62. package/es/hooks/usePlusFormReset.d.ts +208 -208
  63. package/es/index.css +1 -1
  64. package/index.css +8 -7
  65. package/index.js +2 -2
  66. package/index.min.css +1 -1
  67. package/index.min.js +2 -2
  68. package/index.min.mjs +2 -2
  69. package/index.mjs +2 -2
  70. package/lib/components/check-card/index.d.ts +76 -76
  71. package/lib/components/check-card/src/index.vue.d.ts +14 -14
  72. package/lib/components/check-card-group/index.d.ts +57 -57
  73. package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
  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/descriptions/index.d.ts +39 -39
  77. package/lib/components/descriptions/src/index.vue.d.ts +2 -2
  78. package/lib/components/dialog/index.d.ts +45 -45
  79. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  80. package/lib/components/dialog-form/index.d.ts +47 -47
  81. package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
  82. package/lib/components/display-item/index.d.ts +24 -24
  83. package/lib/components/display-item/src/index.vue.d.ts +24 -24
  84. package/lib/components/drawer-form/index.d.ts +31 -31
  85. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  86. package/lib/components/form/index.d.ts +138 -138
  87. package/lib/components/form/src/form-content.vue.d.ts +29 -29
  88. package/lib/components/form/src/index.vue.d.ts +25 -25
  89. package/lib/components/form-item/index.d.ts +128 -128
  90. package/lib/components/form-item/src/index.vue.d.ts +19 -19
  91. package/lib/components/header/index.d.ts +19 -19
  92. package/lib/components/header/src/index.vue.d.ts +1 -1
  93. package/lib/components/input-tag/index.d.ts +16 -16
  94. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  95. package/lib/components/layout/index.d.ts +30 -30
  96. package/lib/components/layout/src/index.vue.d.ts +10 -10
  97. package/lib/components/page/index.d.ts +1035 -1035
  98. package/lib/components/page/src/index.vue.d.ts +337 -337
  99. package/lib/components/pagination/index.d.ts +38 -38
  100. package/lib/components/pagination/src/index.vue.d.ts +2 -2
  101. package/lib/components/radio/index.d.ts +34 -34
  102. package/lib/components/radio/src/index.vue.d.ts +26 -26
  103. package/lib/components/render/index.d.ts +17 -17
  104. package/lib/components/render/src/index.vue.d.ts +2 -2
  105. package/lib/components/search/index.d.ts +426 -426
  106. package/lib/components/search/src/index.vue.d.ts +125 -125
  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 +19 -19
  110. package/lib/components/steps-form/src/index.vue.d.ts +1 -1
  111. package/lib/components/table/index.d.ts +38 -38
  112. package/lib/components/table/src/index.vue.d.ts +7 -7
  113. package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
  114. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
  115. package/lib/components/table/src/table-column.vue.d.ts +24 -24
  116. package/lib/components/utils/index.d.ts +15 -15
  117. package/lib/components/yc-count-to/index.d.ts +1 -1
  118. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  119. package/lib/components/yc-dialog/index.d.ts +24 -24
  120. package/lib/components/yc-drawer/store.d.ts +6 -6
  121. package/lib/components/yc-more-actions/index.d.ts +6 -6
  122. package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
  123. package/lib/components/yc-plus-page/src/index.vue.d.ts +735 -735
  124. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  125. package/lib/components/yc-segmented/index.d.ts +1 -1
  126. package/lib/components/yc-segmented/src/index.d.ts +1 -1
  127. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  128. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  129. package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
  130. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  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-yc-status-dialog.css +1 -1
  156. package/theme-chalk/src/yc-status-dialog.scss +1 -0
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
3
3
  import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
4
4
  import { EpPropMergeType } from 'element-plus/es/utils';
5
5
  import { PlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
6
- import { ColProps, RowProps, ElTooltipProps, TableColumnCtx, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
6
+ import { RowProps, ColProps, ElTooltipProps, TableColumnCtx, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
7
7
  import { PlusColumn, FieldValues, FieldValueType, PlusRowProps, PlusColProps, Mutable, RecordType, TableValueType, FormItemValueType, OptionsType, OptionsRow, RenderTypes, PropsItemType, OmitTypes, CascaderProps } from 'yc-pro-components/es/types';
8
8
  import { Ref, ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, CSSProperties, PropType } from 'vue';
9
9
 
@@ -57,20 +57,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
57
57
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
58
58
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
59
59
  }, {
60
- columns: PlusColumn[];
61
60
  modelValue: FieldValues;
61
+ collapseDuration: number;
62
+ collapseTransition: boolean;
63
+ columns: PlusColumn[];
62
64
  hasLabel: boolean;
63
- clearable: boolean;
64
- colProps: Partial< Mutable<ColProps> & {
65
+ rowProps: Partial< Mutable<RowProps> & {
65
66
  style?: CSSProperties | undefined;
66
67
  class?: any;
67
68
  } & RecordType>;
68
- collapseDuration: number;
69
- collapseTransition: boolean;
70
- rowProps: Partial< Mutable<RowProps> & {
69
+ colProps: Partial< Mutable<ColProps> & {
71
70
  style?: CSSProperties | undefined;
72
71
  class?: any;
73
72
  } & RecordType>;
73
+ clearable: boolean;
74
74
  }, {}>, Partial<Record<string, (_: {
75
75
  [x: string]: any;
76
76
  label?: string | ComputedRef<string> | undefined;
@@ -94,10 +94,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
94
94
  value: string | number;
95
95
  row: RecordType;
96
96
  }) => OptionsRow<undefined>) | undefined;
97
- tooltip?: string | Partial< Mutable<ElTooltipProps> & {
97
+ tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
98
98
  style?: CSSProperties | undefined;
99
99
  class?: any;
100
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
100
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
101
101
  style?: CSSProperties | undefined;
102
102
  class?: any;
103
103
  } & RecordType>> | undefined;
@@ -159,7 +159,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
159
159
  };
160
160
  rows: number;
161
161
  autocomplete: string;
162
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
162
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
163
163
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
164
164
  step: string | number;
165
165
  format: string | ProgressFn | undefined;
@@ -191,14 +191,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
191
191
  label?: string | undefined;
192
192
  }) => RenderTypes) | undefined;
193
193
  }) => any>> & Partial<Record<string, (_: {
194
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
194
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
195
195
  readonly label: string | ComputedRef<string>;
196
- readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
196
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
197
197
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
198
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
198
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
199
199
  style?: CSSProperties | undefined;
200
200
  class?: any;
201
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
201
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
202
202
  style?: CSSProperties | undefined;
203
203
  class?: any;
204
204
  } & RecordType>>;
@@ -220,7 +220,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
220
220
  };
221
221
  rows: number;
222
222
  autocomplete: string;
223
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
223
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
224
224
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
225
225
  step: string | number;
226
226
  format: string | ProgressFn | undefined;
@@ -259,12 +259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
259
259
  fieldInstance?: any;
260
260
  valueIsReady?: Ref<boolean> | undefined;
261
261
  prop: string;
262
- modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
262
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
263
263
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
264
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
264
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
265
265
  style?: CSSProperties | undefined;
266
266
  class?: any;
267
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
267
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
268
268
  style?: CSSProperties | undefined;
269
269
  class?: any;
270
270
  } & RecordType>>;
@@ -287,14 +287,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
287
287
  clearable: boolean;
288
288
  index: number;
289
289
  }) => any>> & Partial<Record<string, (_: {
290
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
290
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
291
291
  readonly label: string | ComputedRef<string>;
292
- readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
292
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
293
293
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
294
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
294
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
295
295
  style?: CSSProperties | undefined;
296
296
  class?: any;
297
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
297
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
298
298
  style?: CSSProperties | undefined;
299
299
  class?: any;
300
300
  } & RecordType>>;
@@ -316,7 +316,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
316
316
  };
317
317
  rows: number;
318
318
  autocomplete: string;
319
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
319
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
320
320
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
321
321
  step: string | number;
322
322
  format: string | ProgressFn | undefined;
@@ -355,12 +355,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
355
355
  fieldInstance?: any;
356
356
  valueIsReady?: Ref<boolean> | undefined;
357
357
  prop: string;
358
- modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
358
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
359
359
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
360
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
360
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
361
361
  style?: CSSProperties | undefined;
362
362
  class?: any;
363
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
363
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
364
364
  style?: CSSProperties | undefined;
365
365
  class?: any;
366
366
  } & RecordType>>;
@@ -405,10 +405,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
405
405
  value: string | number;
406
406
  row: RecordType;
407
407
  }) => OptionsRow<undefined>) | undefined;
408
- tooltip?: string | Partial< Mutable<ElTooltipProps> & {
408
+ tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
409
409
  style?: CSSProperties | undefined;
410
410
  class?: any;
411
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
411
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
412
412
  style?: CSSProperties | undefined;
413
413
  class?: any;
414
414
  } & RecordType>> | undefined;
@@ -470,7 +470,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
470
470
  };
471
471
  rows: number;
472
472
  autocomplete: string;
473
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
473
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
474
474
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
475
475
  step: string | number;
476
476
  format: string | ProgressFn | undefined;
@@ -1,7 +1,7 @@
1
1
  import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
2
2
  import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
3
3
  import { LooseRequired } from '@vue/shared';
4
- import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ColProps, RowProps, CardProps, 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
+ import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, RowProps, ColProps, CardProps, 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';
5
5
  import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
6
6
  import { DefineComponent, Ref, CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, CSSProperties, Component } from 'vue';
7
7
  import { PlusFormSelfProps, PlusFormGroupRow } from './type';
@@ -355,38 +355,38 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
355
355
  onValidate?: ((...args: any[]) => any) | undefined;
356
356
  onSubmitError?: ((errors: unknown) => any) | undefined;
357
357
  }, {
358
+ modelValue: FieldValues;
359
+ collapseDuration: number;
360
+ collapseTransition: boolean;
358
361
  columns: PlusColumn[];
359
362
  group: false | PlusFormGroupRow[];
360
- modelValue: FieldValues;
361
363
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
362
364
  labelPosition: "top" | "right" | "left";
363
365
  labelWidth: string | number;
364
366
  labelSuffix: string;
365
367
  hasLabel: boolean;
366
- clearable: boolean;
367
- colProps: Partial< Mutable<ColProps> & {
368
+ defaultValues: FieldValues;
369
+ rowProps: Partial< Mutable<RowProps> & {
368
370
  style?: CSSProperties | undefined;
369
371
  class?: any;
370
372
  } & RecordType>;
371
- collapseDuration: number;
372
- collapseTransition: boolean;
373
- rowProps: Partial< Mutable<RowProps> & {
373
+ colProps: Partial< Mutable<ColProps> & {
374
374
  style?: CSSProperties | undefined;
375
375
  class?: any;
376
376
  } & RecordType>;
377
- defaultValues: FieldValues;
378
377
  hasErrorTip: boolean;
379
378
  hasFooter: boolean;
380
379
  hasReset: boolean;
381
380
  submitText: string;
382
381
  resetText: string;
383
382
  submitLoading: boolean;
384
- footerAlign: "right" | "left" | "center";
383
+ footerAlign: "center" | "right" | "left";
385
384
  cardProps: Partial< Mutable<CardProps> & {
386
385
  style?: CSSProperties | undefined;
387
386
  class?: any;
388
387
  } & RecordType>;
389
388
  prevent: boolean;
389
+ clearable: boolean;
390
390
  }, {}>, Partial<Record<string, (_: {
391
391
  index: number;
392
392
  title: string | ComputedRef<string>;
@@ -399,14 +399,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
399
399
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
400
400
  columns?: PlusColumn[] | undefined;
401
401
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
402
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
402
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
403
403
  readonly label: string | ComputedRef<string>;
404
- readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
404
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
405
405
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
406
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
406
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
407
407
  style?: CSSProperties | undefined;
408
408
  class?: any;
409
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
409
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
410
410
  style?: CSSProperties | undefined;
411
411
  class?: any;
412
412
  } & RecordType>>;
@@ -428,7 +428,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
428
428
  };
429
429
  rows: number;
430
430
  autocomplete: string;
431
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
431
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
432
432
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
433
433
  step: string | number;
434
434
  format: string | ProgressFn | undefined;
@@ -467,12 +467,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
467
467
  fieldInstance?: any;
468
468
  valueIsReady?: Ref<boolean> | undefined;
469
469
  prop: string;
470
- modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
470
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
471
471
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
472
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
472
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
473
473
  style?: CSSProperties | undefined;
474
474
  class?: any;
475
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
475
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
476
476
  style?: CSSProperties | undefined;
477
477
  class?: any;
478
478
  } & RecordType>>;
@@ -495,14 +495,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
495
495
  clearable: boolean;
496
496
  index: number;
497
497
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
498
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
498
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
499
499
  readonly label: string | ComputedRef<string>;
500
- readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
500
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
501
501
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
502
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
502
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
503
503
  style?: CSSProperties | undefined;
504
504
  class?: any;
505
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
505
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
506
506
  style?: CSSProperties | undefined;
507
507
  class?: any;
508
508
  } & RecordType>>;
@@ -524,7 +524,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
524
524
  };
525
525
  rows: number;
526
526
  autocomplete: string;
527
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
527
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
528
528
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
529
529
  step: string | number;
530
530
  format: string | ProgressFn | undefined;
@@ -563,12 +563,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
563
563
  fieldInstance?: any;
564
564
  valueIsReady?: Ref<boolean> | undefined;
565
565
  prop: string;
566
- modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
566
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
567
567
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
568
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
568
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
569
569
  style?: CSSProperties | undefined;
570
570
  class?: any;
571
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
571
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
572
572
  style?: CSSProperties | undefined;
573
573
  class?: any;
574
574
  } & RecordType>>;