yc-agent-ui 1.2.4 → 1.2.5

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 (148) hide show
  1. package/es/components/descriptions/index.d.ts +3 -3
  2. package/es/components/descriptions/src/index.vue.d.ts +1 -1
  3. package/es/components/dialog/index.d.ts +6 -6
  4. package/es/components/dialog/src/index.vue.d.ts +2 -2
  5. package/es/components/dialog-form/index.d.ts +2 -2
  6. package/es/components/dialog-form/src/index.vue.d.ts +2 -2
  7. package/es/components/display-item/index.d.ts +9 -9
  8. package/es/components/display-item/src/index.vue.d.ts +7 -7
  9. package/es/components/drawer-form/index.d.ts +20 -20
  10. package/es/components/drawer-form/src/index.vue.d.ts +8 -8
  11. package/es/components/form/index.d.ts +39 -39
  12. package/es/components/form/src/form-content.vue.d.ts +11 -11
  13. package/es/components/form/src/index.vue.d.ts +17 -17
  14. package/es/components/form-item/index.d.ts +61 -61
  15. package/es/components/form-item/src/index.vue.d.ts +22 -22
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/page/index.d.ts +850 -850
  18. package/es/components/page/src/index.vue.d.ts +286 -286
  19. package/es/components/popover/index.d.ts +9 -9
  20. package/es/components/popover/src/index.vue.d.ts +3 -3
  21. package/es/components/render/index.d.ts +1 -1
  22. package/es/components/render/src/index.vue.d.ts +1 -1
  23. package/es/components/search/index.d.ts +256 -256
  24. package/es/components/search/src/index.vue.d.ts +88 -88
  25. package/es/components/table/index.d.ts +9 -9
  26. package/es/components/table/src/index.vue.d.ts +1 -1
  27. package/es/components/table/src/table-column.vue.d.ts +22 -22
  28. package/es/components/utils/index.d.ts +1 -1
  29. package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  30. package/es/components/yc-display-cards/capability.d.ts +4 -0
  31. package/es/components/yc-display-cards/index.d.ts +24 -0
  32. package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  33. package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  34. package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  35. package/es/components/yc-display-cards/src/types.d.ts +47 -0
  36. package/es/components/yc-input/src/input.vue.d.ts +1 -1
  37. package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
  38. package/es/components/yc-plus-page/src/index.vue.d.ts +858 -858
  39. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  40. package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  41. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  42. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  43. package/es/hooks/usePlusFormReset.d.ts +114 -114
  44. package/es/index.css +13 -10
  45. package/es/index.mjs +1 -0
  46. package/es/packages/components/index.mjs +1 -0
  47. package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +240 -86
  48. package/es/packages/components/yc-display-cards/capability.mjs +75 -0
  49. package/es/packages/components/yc-display-cards/index.mjs +10 -0
  50. package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
  51. package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
  52. package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
  53. package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
  54. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
  55. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
  56. package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
  57. package/es/packages/registry/load.mjs +9 -8
  58. package/es/version.d.ts +1 -1
  59. package/es/version.mjs +1 -1
  60. package/index.css +4 -1
  61. package/index.js +1274 -595
  62. package/index.min.css +3 -0
  63. package/index.min.js +20 -20
  64. package/index.min.mjs +24 -24
  65. package/index.mjs +1270 -594
  66. package/lib/components/descriptions/index.d.ts +3 -3
  67. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  68. package/lib/components/dialog/index.d.ts +6 -6
  69. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  70. package/lib/components/dialog-form/index.d.ts +2 -2
  71. package/lib/components/dialog-form/src/index.vue.d.ts +2 -2
  72. package/lib/components/display-item/index.d.ts +9 -9
  73. package/lib/components/display-item/src/index.vue.d.ts +7 -7
  74. package/lib/components/drawer-form/index.d.ts +20 -20
  75. package/lib/components/drawer-form/src/index.vue.d.ts +8 -8
  76. package/lib/components/form/index.d.ts +39 -39
  77. package/lib/components/form/src/form-content.vue.d.ts +11 -11
  78. package/lib/components/form/src/index.vue.d.ts +17 -17
  79. package/lib/components/form-item/index.d.ts +61 -61
  80. package/lib/components/form-item/src/index.vue.d.ts +22 -22
  81. package/lib/components/index.d.ts +1 -0
  82. package/lib/components/page/index.d.ts +850 -850
  83. package/lib/components/page/src/index.vue.d.ts +286 -286
  84. package/lib/components/popover/index.d.ts +9 -9
  85. package/lib/components/popover/src/index.vue.d.ts +3 -3
  86. package/lib/components/render/index.d.ts +1 -1
  87. package/lib/components/render/src/index.vue.d.ts +1 -1
  88. package/lib/components/search/index.d.ts +256 -256
  89. package/lib/components/search/src/index.vue.d.ts +88 -88
  90. package/lib/components/table/index.d.ts +9 -9
  91. package/lib/components/table/src/index.vue.d.ts +1 -1
  92. package/lib/components/table/src/table-column.vue.d.ts +22 -22
  93. package/lib/components/utils/index.d.ts +1 -1
  94. package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  95. package/lib/components/yc-display-cards/capability.d.ts +4 -0
  96. package/lib/components/yc-display-cards/index.d.ts +24 -0
  97. package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  98. package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  99. package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  100. package/lib/components/yc-display-cards/src/types.d.ts +47 -0
  101. package/lib/components/yc-input/src/input.vue.d.ts +1 -1
  102. package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
  103. package/lib/components/yc-plus-page/src/index.vue.d.ts +858 -858
  104. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  105. package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  106. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  107. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  108. package/lib/hooks/usePlusFormReset.d.ts +114 -114
  109. package/lib/index.css +12 -9
  110. package/lib/index.js +10 -6
  111. package/lib/packages/components/index.js +10 -6
  112. package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +239 -85
  113. package/lib/packages/components/yc-display-cards/capability.js +79 -0
  114. package/lib/packages/components/yc-display-cards/index.js +14 -0
  115. package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
  116. package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
  117. package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
  118. package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
  119. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
  120. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
  121. package/lib/packages/components/yc-display-cards/src/types.js +2 -0
  122. package/lib/packages/registry/load.js +9 -8
  123. package/lib/version.d.ts +1 -1
  124. package/lib/version.js +1 -1
  125. package/locale/en.js +1 -1
  126. package/locale/en.min.js +1 -1
  127. package/locale/en.min.mjs +1 -1
  128. package/locale/en.mjs +1 -1
  129. package/locale/ja.js +1 -1
  130. package/locale/ja.min.js +1 -1
  131. package/locale/ja.min.mjs +1 -1
  132. package/locale/ja.mjs +1 -1
  133. package/locale/ko.js +1 -1
  134. package/locale/ko.min.js +1 -1
  135. package/locale/ko.min.mjs +1 -1
  136. package/locale/ko.mjs +1 -1
  137. package/locale/zh-cn.js +1 -1
  138. package/locale/zh-cn.min.js +1 -1
  139. package/locale/zh-cn.min.mjs +1 -1
  140. package/locale/zh-cn.mjs +1 -1
  141. package/locale/zh-tw.js +1 -1
  142. package/locale/zh-tw.min.js +1 -1
  143. package/locale/zh-tw.min.mjs +1 -1
  144. package/locale/zh-tw.mjs +1 -1
  145. package/package.json +1 -1
  146. package/theme-chalk/index.css +4 -1
  147. package/theme-chalk/plus-yc-ai-chat.css +1 -1
  148. package/theme-chalk/src/yc-ai-chat.scss +90 -0
@@ -1,8 +1,8 @@
1
1
  import { default as Form } from './src/index.vue';
2
2
  import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef, Component } from 'vue';
3
3
  import { FieldValues, PlusColumn, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from '../../types';
4
- import { FormInstance, RowProps, ColProps, CardProps, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
5
- import { PlusFormGroupRow, ElementPlusFormProps } from './src/type';
4
+ import { FormInstance, ColProps, RowProps, CardProps, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
5
+ import { ElementPlusFormProps, PlusFormGroupRow } from './src/type';
6
6
  import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../agent-ui';
7
7
 
8
8
  export type PlusFormInstance = InstanceType<typeof Form>;
@@ -13,8 +13,8 @@ export declare const PlusForm: {
13
13
  onReset?: ((values: FieldValues) => any) | undefined;
14
14
  onSubmit?: ((values: FieldValues) => any) | undefined;
15
15
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
16
- onSubmitError?: ((errors: unknown) => any) | undefined;
17
16
  onValidate?: ((...args: any[]) => any) | undefined;
17
+ onSubmitError?: ((errors: unknown) => any) | undefined;
18
18
  }>, {
19
19
  formInstance: Ref< FormInstance | null, FormInstance | null>;
20
20
  handleSubmit: () => void;
@@ -31,26 +31,27 @@ export declare const PlusForm: {
31
31
  layout: "grid" | "flex";
32
32
  columns: PlusColumn[];
33
33
  modelValue: FieldValues;
34
- collapseDuration: number;
35
- collapseTransition: boolean;
36
- group: false | PlusFormGroupRow[];
37
- labelWidth: ElementPlusFormProps["labelWidth"];
34
+ rules: ElementPlusFormProps["rules"];
38
35
  labelPosition: ElementPlusFormProps["labelPosition"];
36
+ labelWidth: ElementPlusFormProps["labelWidth"];
39
37
  labelSuffix: ElementPlusFormProps["labelSuffix"];
40
- rules: ElementPlusFormProps["rules"];
41
- defaultValues: FieldValues;
42
- rowProps: Partial< Mutable<RowProps> & {
38
+ group: false | PlusFormGroupRow[];
39
+ clearable: boolean;
40
+ colProps: Partial< Mutable<ColProps> & {
43
41
  style?: CSSProperties;
44
42
  class?: any;
45
43
  } & RecordType>;
46
- colProps: Partial< Mutable<ColProps> & {
44
+ hasLabel: boolean;
45
+ collapseDuration: number;
46
+ collapseTransition: boolean;
47
+ rowProps: Partial< Mutable<RowProps> & {
47
48
  style?: CSSProperties;
48
49
  class?: any;
49
50
  } & RecordType>;
51
+ defaultValues: FieldValues;
50
52
  hasErrorTip: boolean;
51
53
  hasFooter: boolean;
52
54
  hasReset: boolean;
53
- hasLabel: boolean;
54
55
  submitText: string;
55
56
  resetText: string;
56
57
  submitLoading: boolean;
@@ -60,7 +61,6 @@ export declare const PlusForm: {
60
61
  class?: any;
61
62
  } & RecordType>;
62
63
  prevent: boolean;
63
- clearable: boolean;
64
64
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
65
65
  P: {};
66
66
  B: {};
@@ -73,8 +73,8 @@ export declare const PlusForm: {
73
73
  onReset?: ((values: FieldValues) => any) | undefined;
74
74
  onSubmit?: ((values: FieldValues) => any) | undefined;
75
75
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
76
- onSubmitError?: ((errors: unknown) => any) | undefined;
77
76
  onValidate?: ((...args: any[]) => any) | undefined;
77
+ onSubmitError?: ((errors: unknown) => any) | undefined;
78
78
  }>, {
79
79
  formInstance: Ref< FormInstance | null, FormInstance | null>;
80
80
  handleSubmit: () => void;
@@ -84,26 +84,27 @@ export declare const PlusForm: {
84
84
  layout: "grid" | "flex";
85
85
  columns: PlusColumn[];
86
86
  modelValue: FieldValues;
87
- collapseDuration: number;
88
- collapseTransition: boolean;
89
- group: false | PlusFormGroupRow[];
90
- labelWidth: ElementPlusFormProps["labelWidth"];
87
+ rules: ElementPlusFormProps["rules"];
91
88
  labelPosition: ElementPlusFormProps["labelPosition"];
89
+ labelWidth: ElementPlusFormProps["labelWidth"];
92
90
  labelSuffix: ElementPlusFormProps["labelSuffix"];
93
- rules: ElementPlusFormProps["rules"];
94
- defaultValues: FieldValues;
95
- rowProps: Partial< Mutable<RowProps> & {
91
+ group: false | PlusFormGroupRow[];
92
+ clearable: boolean;
93
+ colProps: Partial< Mutable<ColProps> & {
96
94
  style?: CSSProperties;
97
95
  class?: any;
98
96
  } & RecordType>;
99
- colProps: Partial< Mutable<ColProps> & {
97
+ hasLabel: boolean;
98
+ collapseDuration: number;
99
+ collapseTransition: boolean;
100
+ rowProps: Partial< Mutable<RowProps> & {
100
101
  style?: CSSProperties;
101
102
  class?: any;
102
103
  } & RecordType>;
104
+ defaultValues: FieldValues;
103
105
  hasErrorTip: boolean;
104
106
  hasFooter: boolean;
105
107
  hasReset: boolean;
106
- hasLabel: boolean;
107
108
  submitText: string;
108
109
  resetText: string;
109
110
  submitLoading: boolean;
@@ -113,7 +114,6 @@ export declare const PlusForm: {
113
114
  class?: any;
114
115
  } & RecordType>;
115
116
  prevent: boolean;
116
- clearable: boolean;
117
117
  }>;
118
118
  __isFragment?: never;
119
119
  __isTeleport?: never;
@@ -123,8 +123,8 @@ export declare const PlusForm: {
123
123
  onReset?: ((values: FieldValues) => any) | undefined;
124
124
  onSubmit?: ((values: FieldValues) => any) | undefined;
125
125
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
126
- onSubmitError?: ((errors: unknown) => any) | undefined;
127
126
  onValidate?: ((...args: any[]) => any) | undefined;
127
+ onSubmitError?: ((errors: unknown) => any) | undefined;
128
128
  }>, {
129
129
  formInstance: Ref< FormInstance | null, FormInstance | null>;
130
130
  handleSubmit: () => void;
@@ -141,26 +141,27 @@ export declare const PlusForm: {
141
141
  layout: "grid" | "flex";
142
142
  columns: PlusColumn[];
143
143
  modelValue: FieldValues;
144
- collapseDuration: number;
145
- collapseTransition: boolean;
146
- group: false | PlusFormGroupRow[];
147
- labelWidth: ElementPlusFormProps["labelWidth"];
144
+ rules: ElementPlusFormProps["rules"];
148
145
  labelPosition: ElementPlusFormProps["labelPosition"];
146
+ labelWidth: ElementPlusFormProps["labelWidth"];
149
147
  labelSuffix: ElementPlusFormProps["labelSuffix"];
150
- rules: ElementPlusFormProps["rules"];
151
- defaultValues: FieldValues;
152
- rowProps: Partial< Mutable<RowProps> & {
148
+ group: false | PlusFormGroupRow[];
149
+ clearable: boolean;
150
+ colProps: Partial< Mutable<ColProps> & {
153
151
  style?: CSSProperties;
154
152
  class?: any;
155
153
  } & RecordType>;
156
- colProps: Partial< Mutable<ColProps> & {
154
+ hasLabel: boolean;
155
+ collapseDuration: number;
156
+ collapseTransition: boolean;
157
+ rowProps: Partial< Mutable<RowProps> & {
157
158
  style?: CSSProperties;
158
159
  class?: any;
159
160
  } & RecordType>;
161
+ defaultValues: FieldValues;
160
162
  hasErrorTip: boolean;
161
163
  hasFooter: boolean;
162
164
  hasReset: boolean;
163
- hasLabel: boolean;
164
165
  submitText: string;
165
166
  resetText: string;
166
167
  submitLoading: boolean;
@@ -170,7 +171,6 @@ export declare const PlusForm: {
170
171
  class?: any;
171
172
  } & RecordType>;
172
173
  prevent: boolean;
173
- clearable: boolean;
174
174
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
175
175
  $slots: Partial<Record<string, (_: {
176
176
  index: number;
@@ -188,7 +188,7 @@ export declare const PlusForm: {
188
188
  prop: PlusColumn["prop"];
189
189
  }> & {
190
190
  readonly label: string | ComputedRef<string>;
191
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
191
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
192
192
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
193
193
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
194
194
  style?: CSSProperties;
@@ -262,7 +262,7 @@ export declare const PlusForm: {
262
262
  fieldInstance?: any;
263
263
  valueIsReady?: Ref<boolean>;
264
264
  prop: PlusColumn["prop"];
265
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
265
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
266
266
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
267
267
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
268
268
  style?: CSSProperties;
@@ -301,7 +301,7 @@ export declare const PlusForm: {
301
301
  prop: PlusColumn["prop"];
302
302
  }> & {
303
303
  readonly label: string | ComputedRef<string>;
304
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
304
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
305
305
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
306
306
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
307
307
  style?: CSSProperties;
@@ -375,7 +375,7 @@ export declare const PlusForm: {
375
375
  fieldInstance?: any;
376
376
  valueIsReady?: Ref<boolean>;
377
377
  prop: PlusColumn["prop"];
378
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
378
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
379
379
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
380
380
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
381
381
  style?: CSSProperties;
@@ -1,6 +1,6 @@
1
1
  import { Ref, ComputedRef, CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { PlusColumn, FieldValues, FieldValueType, PlusRowProps, PlusColProps, TableValueType, FormItemValueType, RecordType, OptionsType, OptionsRow, PlusTooltipProps, RenderTypes, PropsItemType, Mutable, FieldProps, InputType, CascaderProps, OmitTypes } from '../../../types';
3
- import { TableColumnCtx, FormItemProps, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, RowProps, ColProps } from 'element-plus';
3
+ import { TableColumnCtx, FormItemProps, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, ColProps, RowProps } from 'element-plus';
4
4
  import { PlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../../agent-ui';
5
5
 
6
6
  export interface PlusFormContentProps {
@@ -139,7 +139,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
139
139
  prop: PlusColumn["prop"];
140
140
  }> & {
141
141
  readonly label: string | ComputedRef<string>;
142
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
142
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
143
143
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
144
144
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
145
145
  style?: CSSProperties;
@@ -213,7 +213,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
213
213
  fieldInstance?: any;
214
214
  valueIsReady?: Ref<boolean>;
215
215
  prop: PlusColumn["prop"];
216
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
216
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
217
217
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
218
218
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
219
219
  style?: CSSProperties;
@@ -252,7 +252,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
252
252
  prop: PlusColumn["prop"];
253
253
  }> & {
254
254
  readonly label: string | ComputedRef<string>;
255
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
255
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
256
256
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
257
257
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
258
258
  style?: CSSProperties;
@@ -326,7 +326,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
326
326
  fieldInstance?: any;
327
327
  valueIsReady?: Ref<boolean>;
328
328
  prop: PlusColumn["prop"];
329
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
329
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
330
330
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
331
331
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
332
332
  style?: CSSProperties;
@@ -470,18 +470,18 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
470
470
  layout: "grid" | "flex";
471
471
  columns: PlusColumn[];
472
472
  modelValue: FieldValues;
473
- collapseDuration: number;
474
- collapseTransition: boolean;
475
- rowProps: Partial< Mutable<RowProps> & {
473
+ clearable: boolean;
474
+ colProps: Partial< Mutable<ColProps> & {
476
475
  style?: CSSProperties;
477
476
  class?: any;
478
477
  } & RecordType>;
479
- colProps: Partial< Mutable<ColProps> & {
478
+ hasLabel: boolean;
479
+ collapseDuration: number;
480
+ collapseTransition: boolean;
481
+ rowProps: Partial< Mutable<RowProps> & {
480
482
  style?: CSSProperties;
481
483
  class?: any;
482
484
  } & RecordType>;
483
- hasLabel: boolean;
484
- clearable: boolean;
485
485
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
486
486
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
487
487
  export default _default;
@@ -1,8 +1,8 @@
1
- import { FormInstance, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, RowProps, ColProps, CardProps } from 'element-plus';
1
+ import { FormInstance, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, ColProps, RowProps, CardProps } from 'element-plus';
2
2
  import { PlusColumn, FieldValues, RecordType, PlusCardProps, Mutable, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from '../../../types';
3
3
  import { ComputedRef, Component, Ref, CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
4
  import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../../agent-ui';
5
- import { PlusFormGroupRow, ElementPlusFormProps } from './type';
5
+ import { ElementPlusFormProps, PlusFormGroupRow } from './type';
6
6
 
7
7
  declare function __VLS_template(): Partial<Record<string, (_: {
8
8
  index: number;
@@ -17,7 +17,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
17
17
  prop: PlusColumn["prop"];
18
18
  }> & {
19
19
  readonly label: string | ComputedRef<string>;
20
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
20
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
21
21
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
22
22
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
23
23
  style?: CSSProperties;
@@ -91,7 +91,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
91
91
  fieldInstance?: any;
92
92
  valueIsReady?: Ref<boolean>;
93
93
  prop: PlusColumn["prop"];
94
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
94
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
95
95
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
96
96
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
97
97
  style?: CSSProperties;
@@ -130,7 +130,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
130
130
  prop: PlusColumn["prop"];
131
131
  }> & {
132
132
  readonly label: string | ComputedRef<string>;
133
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
133
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
134
134
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
135
135
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
136
136
  style?: CSSProperties;
@@ -204,7 +204,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
204
204
  fieldInstance?: any;
205
205
  valueIsReady?: Ref<boolean>;
206
206
  prop: PlusColumn["prop"];
207
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
207
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
208
208
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
209
209
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
210
210
  style?: CSSProperties;
@@ -267,33 +267,34 @@ declare const __VLS_component: DefineComponent<unknown, {
267
267
  onReset?: ((values: FieldValues) => any) | undefined;
268
268
  onSubmit?: ((values: FieldValues) => any) | undefined;
269
269
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
270
- onSubmitError?: ((errors: unknown) => any) | undefined;
271
270
  onValidate?: ((...args: any[]) => any) | undefined;
271
+ onSubmitError?: ((errors: unknown) => any) | undefined;
272
272
  }>, {
273
273
  ellipsis: boolean;
274
274
  layout: "grid" | "flex";
275
275
  columns: PlusColumn[];
276
276
  modelValue: FieldValues;
277
- collapseDuration: number;
278
- collapseTransition: boolean;
279
- group: false | PlusFormGroupRow[];
280
- labelWidth: ElementPlusFormProps["labelWidth"];
277
+ rules: ElementPlusFormProps["rules"];
281
278
  labelPosition: ElementPlusFormProps["labelPosition"];
279
+ labelWidth: ElementPlusFormProps["labelWidth"];
282
280
  labelSuffix: ElementPlusFormProps["labelSuffix"];
283
- rules: ElementPlusFormProps["rules"];
284
- defaultValues: FieldValues;
285
- rowProps: Partial< Mutable<RowProps> & {
281
+ group: false | PlusFormGroupRow[];
282
+ clearable: boolean;
283
+ colProps: Partial< Mutable<ColProps> & {
286
284
  style?: CSSProperties;
287
285
  class?: any;
288
286
  } & RecordType>;
289
- colProps: Partial< Mutable<ColProps> & {
287
+ hasLabel: boolean;
288
+ collapseDuration: number;
289
+ collapseTransition: boolean;
290
+ rowProps: Partial< Mutable<RowProps> & {
290
291
  style?: CSSProperties;
291
292
  class?: any;
292
293
  } & RecordType>;
294
+ defaultValues: FieldValues;
293
295
  hasErrorTip: boolean;
294
296
  hasFooter: boolean;
295
297
  hasReset: boolean;
296
- hasLabel: boolean;
297
298
  submitText: string;
298
299
  resetText: string;
299
300
  submitLoading: boolean;
@@ -303,7 +304,6 @@ declare const __VLS_component: DefineComponent<unknown, {
303
304
  class?: any;
304
305
  } & RecordType>;
305
306
  prevent: boolean;
306
- clearable: boolean;
307
307
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
308
308
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
309
309
  export default _default;