yc-agent-ui 1.2.3 → 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 (156) 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 +4 -4
  6. package/es/components/dialog-form/src/index.vue.d.ts +4 -4
  7. package/es/components/display-item/index.d.ts +15 -15
  8. package/es/components/display-item/src/index.vue.d.ts +13 -13
  9. package/es/components/drawer-form/index.d.ts +22 -22
  10. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  11. package/es/components/form/index.d.ts +43 -43
  12. package/es/components/form/src/form-content.vue.d.ts +15 -15
  13. package/es/components/form/src/index.vue.d.ts +21 -21
  14. package/es/components/form-item/index.d.ts +61 -61
  15. package/es/components/form-item/src/index.vue.d.ts +24 -24
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/page/index.d.ts +936 -936
  18. package/es/components/page/src/index.vue.d.ts +316 -316
  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/search/index.d.ts +282 -282
  22. package/es/components/search/src/index.vue.d.ts +98 -98
  23. package/es/components/table/index.d.ts +9 -9
  24. package/es/components/table/src/index.vue.d.ts +1 -1
  25. package/es/components/table/src/table-column.vue.d.ts +34 -34
  26. package/es/components/utils/index.d.ts +1 -1
  27. package/es/components/yc-ai-chat/index.d.ts +2 -1
  28. package/es/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
  29. package/es/components/yc-ai-chat/src/question-validation.d.ts +5 -0
  30. package/es/components/yc-ai-chat/src/type.d.ts +51 -0
  31. package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  32. package/es/components/yc-display-cards/capability.d.ts +4 -0
  33. package/es/components/yc-display-cards/index.d.ts +24 -0
  34. package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  35. package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  36. package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  37. package/es/components/yc-display-cards/src/types.d.ts +47 -0
  38. package/es/components/yc-input/src/input.vue.d.ts +1 -1
  39. package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
  40. package/es/components/yc-plus-page/src/index.vue.d.ts +946 -946
  41. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  42. package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  43. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  44. package/es/hooks/usePlusFormReset.d.ts +132 -132
  45. package/es/index.css +11 -8
  46. package/es/index.mjs +2 -0
  47. package/es/packages/components/index.mjs +2 -0
  48. package/es/packages/components/yc-ai-chat/index.mjs +1 -0
  49. package/es/packages/components/yc-ai-chat/src/question-card.vue.mjs +5 -0
  50. package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +613 -0
  51. package/es/packages/components/yc-ai-chat/src/question-validation.mjs +77 -0
  52. package/es/packages/components/yc-display-cards/capability.mjs +75 -0
  53. package/es/packages/components/yc-display-cards/index.mjs +10 -0
  54. package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
  55. package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
  56. package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
  57. package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
  58. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
  59. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
  60. package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
  61. package/es/packages/registry/load.mjs +9 -8
  62. package/es/version.d.ts +1 -1
  63. package/es/version.mjs +1 -1
  64. package/index.css +4 -1
  65. package/index.js +2546 -1335
  66. package/index.min.css +3 -0
  67. package/index.min.js +23 -23
  68. package/index.min.mjs +23 -23
  69. package/index.mjs +2535 -1328
  70. package/lib/components/descriptions/index.d.ts +3 -3
  71. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  72. package/lib/components/dialog/index.d.ts +6 -6
  73. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  74. package/lib/components/dialog-form/index.d.ts +4 -4
  75. package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
  76. package/lib/components/display-item/index.d.ts +15 -15
  77. package/lib/components/display-item/src/index.vue.d.ts +13 -13
  78. package/lib/components/drawer-form/index.d.ts +22 -22
  79. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  80. package/lib/components/form/index.d.ts +43 -43
  81. package/lib/components/form/src/form-content.vue.d.ts +15 -15
  82. package/lib/components/form/src/index.vue.d.ts +21 -21
  83. package/lib/components/form-item/index.d.ts +61 -61
  84. package/lib/components/form-item/src/index.vue.d.ts +24 -24
  85. package/lib/components/index.d.ts +1 -0
  86. package/lib/components/page/index.d.ts +936 -936
  87. package/lib/components/page/src/index.vue.d.ts +316 -316
  88. package/lib/components/popover/index.d.ts +9 -9
  89. package/lib/components/popover/src/index.vue.d.ts +3 -3
  90. package/lib/components/search/index.d.ts +282 -282
  91. package/lib/components/search/src/index.vue.d.ts +98 -98
  92. package/lib/components/table/index.d.ts +9 -9
  93. package/lib/components/table/src/index.vue.d.ts +1 -1
  94. package/lib/components/table/src/table-column.vue.d.ts +34 -34
  95. package/lib/components/utils/index.d.ts +1 -1
  96. package/lib/components/yc-ai-chat/index.d.ts +2 -1
  97. package/lib/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
  98. package/lib/components/yc-ai-chat/src/question-validation.d.ts +5 -0
  99. package/lib/components/yc-ai-chat/src/type.d.ts +51 -0
  100. package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  101. package/lib/components/yc-display-cards/capability.d.ts +4 -0
  102. package/lib/components/yc-display-cards/index.d.ts +24 -0
  103. package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  104. package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  105. package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  106. package/lib/components/yc-display-cards/src/types.d.ts +47 -0
  107. package/lib/components/yc-input/src/input.vue.d.ts +1 -1
  108. package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
  109. package/lib/components/yc-plus-page/src/index.vue.d.ts +946 -946
  110. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  111. package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  112. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  113. package/lib/hooks/usePlusFormReset.d.ts +132 -132
  114. package/lib/index.css +11 -8
  115. package/lib/index.js +12 -6
  116. package/lib/packages/components/index.js +12 -6
  117. package/lib/packages/components/yc-ai-chat/index.js +2 -0
  118. package/lib/packages/components/yc-ai-chat/src/question-card.vue.js +9 -0
  119. package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +617 -0
  120. package/lib/packages/components/yc-ai-chat/src/question-validation.js +81 -0
  121. package/lib/packages/components/yc-display-cards/capability.js +79 -0
  122. package/lib/packages/components/yc-display-cards/index.js +14 -0
  123. package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
  124. package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
  125. package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
  126. package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
  127. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
  128. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
  129. package/lib/packages/components/yc-display-cards/src/types.js +2 -0
  130. package/lib/packages/registry/load.js +9 -8
  131. package/lib/version.d.ts +1 -1
  132. package/lib/version.js +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 +4 -1
  155. package/theme-chalk/plus-yc-ai-chat.css +1 -1
  156. package/theme-chalk/src/yc-ai-chat.scss +498 -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;
@@ -190,10 +190,10 @@ export declare const PlusForm: {
190
190
  readonly label: string | ComputedRef<string>;
191
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
- readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
193
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
194
194
  style?: CSSProperties;
195
195
  class?: any;
196
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
196
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
197
197
  style?: CSSProperties;
198
198
  class?: any;
199
199
  } & RecordType>>;
@@ -264,10 +264,10 @@ export declare const PlusForm: {
264
264
  prop: PlusColumn["prop"];
265
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
- tooltip: string | Partial< Mutable<UseTooltipProps> & {
267
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
268
268
  style?: CSSProperties;
269
269
  class?: any;
270
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
270
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
271
271
  style?: CSSProperties;
272
272
  class?: any;
273
273
  } & RecordType>>;
@@ -303,10 +303,10 @@ export declare const PlusForm: {
303
303
  readonly label: string | ComputedRef<string>;
304
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
- readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
306
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
307
307
  style?: CSSProperties;
308
308
  class?: any;
309
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
309
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
310
310
  style?: CSSProperties;
311
311
  class?: any;
312
312
  } & RecordType>>;
@@ -377,10 +377,10 @@ export declare const PlusForm: {
377
377
  prop: PlusColumn["prop"];
378
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
- tooltip: string | Partial< Mutable<UseTooltipProps> & {
380
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
381
381
  style?: CSSProperties;
382
382
  class?: any;
383
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
383
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
384
384
  style?: CSSProperties;
385
385
  class?: any;
386
386
  } & RecordType>>;
@@ -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 {
@@ -141,10 +141,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
141
141
  readonly label: string | ComputedRef<string>;
142
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
- readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
144
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
145
145
  style?: CSSProperties;
146
146
  class?: any;
147
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
147
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
148
148
  style?: CSSProperties;
149
149
  class?: any;
150
150
  } & RecordType>>;
@@ -215,10 +215,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
215
215
  prop: PlusColumn["prop"];
216
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
- tooltip: string | Partial< Mutable<UseTooltipProps> & {
218
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
219
219
  style?: CSSProperties;
220
220
  class?: any;
221
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
221
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
222
222
  style?: CSSProperties;
223
223
  class?: any;
224
224
  } & RecordType>>;
@@ -254,10 +254,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
254
254
  readonly label: string | ComputedRef<string>;
255
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
- readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
257
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
258
258
  style?: CSSProperties;
259
259
  class?: any;
260
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
260
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
261
261
  style?: CSSProperties;
262
262
  class?: any;
263
263
  } & RecordType>>;
@@ -328,10 +328,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
328
328
  prop: PlusColumn["prop"];
329
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
- tooltip: string | Partial< Mutable<UseTooltipProps> & {
331
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
332
332
  style?: CSSProperties;
333
333
  class?: any;
334
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
334
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
335
335
  style?: CSSProperties;
336
336
  class?: any;
337
337
  } & RecordType>>;
@@ -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;
@@ -19,10 +19,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
19
19
  readonly label: string | ComputedRef<string>;
20
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
- readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
22
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
23
23
  style?: CSSProperties;
24
24
  class?: any;
25
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
25
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
26
26
  style?: CSSProperties;
27
27
  class?: any;
28
28
  } & RecordType>>;
@@ -93,10 +93,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
93
93
  prop: PlusColumn["prop"];
94
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
- tooltip: string | Partial< Mutable<UseTooltipProps> & {
96
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
97
97
  style?: CSSProperties;
98
98
  class?: any;
99
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
99
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
100
100
  style?: CSSProperties;
101
101
  class?: any;
102
102
  } & RecordType>>;
@@ -132,10 +132,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
132
132
  readonly label: string | ComputedRef<string>;
133
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
- readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
135
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
136
136
  style?: CSSProperties;
137
137
  class?: any;
138
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
138
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
139
139
  style?: CSSProperties;
140
140
  class?: any;
141
141
  } & RecordType>>;
@@ -206,10 +206,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
206
206
  prop: PlusColumn["prop"];
207
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
- tooltip: string | Partial< Mutable<UseTooltipProps> & {
209
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
210
210
  style?: CSSProperties;
211
211
  class?: any;
212
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
212
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
213
213
  style?: CSSProperties;
214
214
  class?: any;
215
215
  } & RecordType>>;
@@ -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;