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,5 +1,5 @@
1
1
  import { CreateComponentPublicInstanceWithMixins, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, PublicProps, CSSProperties } from 'vue';
2
- import { FieldValueType, OptionsType, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, RenderTypes, OptionsRow, TableValueType, PlusColumn, FormItemValueType } from '../../types';
2
+ import { FieldValueType, OptionsType, Mutable, RecordType, RenderTypes, OptionsRow, PropsItemType, InputType, CascaderProps, OmitTypes, PlusColumn, TableValueType, FormItemValueType } from '../../types';
3
3
  import { FormItemProp, FormItemRule, FormItemValidateState, ComponentSize, FormItemProps, FormValidateCallback, FormValidationResult, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
4
4
  import { Arrayable } from 'element-plus/es/utils';
5
5
  import { OnCleanup } from '@vue/reactivity';
@@ -77,7 +77,7 @@ export declare const PlusFormItem: {
77
77
  labelPosition: "" | "left" | "right" | "top";
78
78
  inlineMessage: boolean;
79
79
  showMessage: boolean;
80
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
80
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
81
81
  size: "" | "default" | "small" | "large";
82
82
  validateMessage: string;
83
83
  validateState: "" | "success" | "error" | "validating";
@@ -164,7 +164,7 @@ export declare const PlusFormItem: {
164
164
  labelPosition: "" | "left" | "right" | "top";
165
165
  inlineMessage: boolean;
166
166
  showMessage: boolean;
167
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
167
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
168
168
  size: "" | "default" | "small" | "large";
169
169
  validateMessage: string;
170
170
  validateState: "" | "success" | "error" | "validating";
@@ -201,11 +201,11 @@ export declare const PlusFormItem: {
201
201
  class?: any;
202
202
  } & RecordType>>;
203
203
  index: number;
204
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
205
- formItemProps: PropsItemType< Mutable<FormItemProps> & {
206
- [key: string]: any;
207
- style?: CSSProperties;
208
- }>;
204
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
205
+ fieldSlots: {
206
+ [slotName: string]: (data?: any) => RenderTypes;
207
+ };
208
+ fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
209
209
  fieldProps: PropsItemType<Partial<{
210
210
  [index: string]: any;
211
211
  [index: number]: any;
@@ -230,20 +230,13 @@ export declare const PlusFormItem: {
230
230
  height: string | number;
231
231
  autosize: InputAutoSize;
232
232
  } & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
233
- fieldSlots: {
234
- [slotName: string]: (data?: any) => RenderTypes;
235
- };
236
- fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
237
- hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
238
233
  clearable: boolean;
239
- valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
234
+ formItemProps: PropsItemType< Mutable<FormItemProps> & {
235
+ [key: string]: any;
236
+ style?: CSSProperties;
237
+ }>;
240
238
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
241
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
242
- renderErrorMessage: (props: PlusColumn & {
243
- value?: FieldValueType;
244
- error?: string;
245
- label?: string;
246
- }) => RenderTypes;
239
+ valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
247
240
  optionsMap: {
248
241
  label?: string;
249
242
  value?: string;
@@ -254,6 +247,13 @@ export declare const PlusFormItem: {
254
247
  transform?: (data: any) => OptionsRow[];
255
248
  dictCode?: string;
256
249
  };
250
+ hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
251
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
252
+ renderErrorMessage: (props: PlusColumn & {
253
+ value?: FieldValueType;
254
+ error?: string;
255
+ label?: string;
256
+ }) => RenderTypes;
257
257
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
258
258
  P: {};
259
259
  B: {};
@@ -332,7 +332,7 @@ export declare const PlusFormItem: {
332
332
  labelPosition: "" | "left" | "right" | "top";
333
333
  inlineMessage: boolean;
334
334
  showMessage: boolean;
335
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
335
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
336
336
  size: "" | "default" | "small" | "large";
337
337
  validateMessage: string;
338
338
  validateState: "" | "success" | "error" | "validating";
@@ -419,7 +419,7 @@ export declare const PlusFormItem: {
419
419
  labelPosition: "" | "left" | "right" | "top";
420
420
  inlineMessage: boolean;
421
421
  showMessage: boolean;
422
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
422
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
423
423
  size: "" | "default" | "small" | "large";
424
424
  validateMessage: string;
425
425
  validateState: "" | "success" | "error" | "validating";
@@ -453,11 +453,11 @@ export declare const PlusFormItem: {
453
453
  class?: any;
454
454
  } & RecordType>>;
455
455
  index: number;
456
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
457
- formItemProps: PropsItemType< Mutable<FormItemProps> & {
458
- [key: string]: any;
459
- style?: CSSProperties;
460
- }>;
456
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
457
+ fieldSlots: {
458
+ [slotName: string]: (data?: any) => RenderTypes;
459
+ };
460
+ fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
461
461
  fieldProps: PropsItemType<Partial<{
462
462
  [index: string]: any;
463
463
  [index: number]: any;
@@ -482,20 +482,13 @@ export declare const PlusFormItem: {
482
482
  height: string | number;
483
483
  autosize: InputAutoSize;
484
484
  } & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
485
- fieldSlots: {
486
- [slotName: string]: (data?: any) => RenderTypes;
487
- };
488
- fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
489
- hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
490
485
  clearable: boolean;
491
- valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
486
+ formItemProps: PropsItemType< Mutable<FormItemProps> & {
487
+ [key: string]: any;
488
+ style?: CSSProperties;
489
+ }>;
492
490
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
493
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
494
- renderErrorMessage: (props: PlusColumn & {
495
- value?: FieldValueType;
496
- error?: string;
497
- label?: string;
498
- }) => RenderTypes;
491
+ valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
499
492
  optionsMap: {
500
493
  label?: string;
501
494
  value?: string;
@@ -506,6 +499,13 @@ export declare const PlusFormItem: {
506
499
  transform?: (data: any) => OptionsRow[];
507
500
  dictCode?: string;
508
501
  };
502
+ hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
503
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
504
+ renderErrorMessage: (props: PlusColumn & {
505
+ value?: FieldValueType;
506
+ error?: string;
507
+ label?: string;
508
+ }) => RenderTypes;
509
509
  }>;
510
510
  __isFragment?: never;
511
511
  __isTeleport?: never;
@@ -581,7 +581,7 @@ export declare const PlusFormItem: {
581
581
  labelPosition: "" | "left" | "right" | "top";
582
582
  inlineMessage: boolean;
583
583
  showMessage: boolean;
584
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
584
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
585
585
  size: "" | "default" | "small" | "large";
586
586
  validateMessage: string;
587
587
  validateState: "" | "success" | "error" | "validating";
@@ -668,7 +668,7 @@ export declare const PlusFormItem: {
668
668
  labelPosition: "" | "left" | "right" | "top";
669
669
  inlineMessage: boolean;
670
670
  showMessage: boolean;
671
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
671
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
672
672
  size: "" | "default" | "small" | "large";
673
673
  validateMessage: string;
674
674
  validateState: "" | "success" | "error" | "validating";
@@ -705,11 +705,11 @@ export declare const PlusFormItem: {
705
705
  class?: any;
706
706
  } & RecordType>>;
707
707
  index: number;
708
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
709
- formItemProps: PropsItemType< Mutable<FormItemProps> & {
710
- [key: string]: any;
711
- style?: CSSProperties;
712
- }>;
708
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
709
+ fieldSlots: {
710
+ [slotName: string]: (data?: any) => RenderTypes;
711
+ };
712
+ fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
713
713
  fieldProps: PropsItemType<Partial<{
714
714
  [index: string]: any;
715
715
  [index: number]: any;
@@ -734,20 +734,13 @@ export declare const PlusFormItem: {
734
734
  height: string | number;
735
735
  autosize: InputAutoSize;
736
736
  } & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
737
- fieldSlots: {
738
- [slotName: string]: (data?: any) => RenderTypes;
739
- };
740
- fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
741
- hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
742
737
  clearable: boolean;
743
- valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
738
+ formItemProps: PropsItemType< Mutable<FormItemProps> & {
739
+ [key: string]: any;
740
+ style?: CSSProperties;
741
+ }>;
744
742
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
745
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
746
- renderErrorMessage: (props: PlusColumn & {
747
- value?: FieldValueType;
748
- error?: string;
749
- label?: string;
750
- }) => RenderTypes;
743
+ valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
751
744
  optionsMap: {
752
745
  label?: string;
753
746
  value?: string;
@@ -758,6 +751,13 @@ export declare const PlusFormItem: {
758
751
  transform?: (data: any) => OptionsRow[];
759
752
  dictCode?: string;
760
753
  };
754
+ hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
755
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
756
+ renderErrorMessage: (props: PlusColumn & {
757
+ value?: FieldValueType;
758
+ error?: string;
759
+ label?: string;
760
+ }) => RenderTypes;
761
761
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
762
762
  $slots: Partial<Record<string, (_: {
763
763
  label: string;
@@ -767,7 +767,7 @@ export declare const PlusFormItem: {
767
767
  fieldInstance?: any;
768
768
  valueIsReady?: Ref<boolean>;
769
769
  prop: PlusColumn["prop"];
770
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
770
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
771
771
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
772
772
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
773
773
  style?: CSSProperties;
@@ -806,7 +806,7 @@ export declare const PlusFormItem: {
806
806
  prop: PlusColumn["prop"];
807
807
  }> & {
808
808
  readonly label: string | ComputedRef<string>;
809
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
809
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
810
810
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
811
811
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
812
812
  style?: CSSProperties;
@@ -880,7 +880,7 @@ export declare const PlusFormItem: {
880
880
  fieldInstance?: any;
881
881
  valueIsReady?: Ref<boolean>;
882
882
  prop: PlusColumn["prop"];
883
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
883
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
884
884
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
885
885
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
886
886
  style?: CSSProperties;
@@ -53,7 +53,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
53
53
  fieldInstance?: any;
54
54
  valueIsReady?: Ref<boolean>;
55
55
  prop: PlusColumn["prop"];
56
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
56
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
57
57
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
58
58
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
59
59
  style?: CSSProperties;
@@ -92,7 +92,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
92
92
  prop: PlusColumn["prop"];
93
93
  }> & {
94
94
  readonly label: string | ComputedRef<string>;
95
- readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
95
+ readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
96
96
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
97
97
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
98
98
  style?: CSSProperties;
@@ -166,7 +166,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
166
166
  fieldInstance?: any;
167
167
  valueIsReady?: Ref<boolean>;
168
168
  prop: PlusColumn["prop"];
169
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
169
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
170
170
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
171
171
  tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
172
172
  style?: CSSProperties;
@@ -271,7 +271,7 @@ declare const __VLS_component: DefineComponent<unknown, {
271
271
  labelPosition: "" | "left" | "right" | "top";
272
272
  inlineMessage: boolean;
273
273
  showMessage: boolean;
274
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
274
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
275
275
  size: "" | "default" | "small" | "large";
276
276
  validateMessage: string;
277
277
  validateState: "" | "success" | "error" | "validating";
@@ -358,7 +358,7 @@ declare const __VLS_component: DefineComponent<unknown, {
358
358
  labelPosition: "" | "left" | "right" | "top";
359
359
  inlineMessage: boolean;
360
360
  showMessage: boolean;
361
- }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
361
+ }> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
362
362
  size: "" | "default" | "small" | "large";
363
363
  validateMessage: string;
364
364
  validateState: "" | "success" | "error" | "validating";
@@ -398,11 +398,11 @@ declare const __VLS_component: DefineComponent<unknown, {
398
398
  class?: any;
399
399
  } & RecordType>>;
400
400
  index: number;
401
- modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | boolean[] | RecordType | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
402
- formItemProps: PropsItemType< Mutable<FormItemProps> & {
403
- [key: string]: any;
404
- style?: CSSProperties;
405
- }>;
401
+ modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
402
+ fieldSlots: {
403
+ [slotName: string]: (data?: any) => RenderTypes;
404
+ };
405
+ fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
406
406
  fieldProps: PropsItemType<Partial<{
407
407
  [index: string]: any;
408
408
  [index: number]: any;
@@ -427,20 +427,13 @@ declare const __VLS_component: DefineComponent<unknown, {
427
427
  height: string | number;
428
428
  autosize: InputAutoSize;
429
429
  } & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
430
- fieldSlots: {
431
- [slotName: string]: (data?: any) => RenderTypes;
432
- };
433
- fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
434
- hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
435
430
  clearable: boolean;
436
- valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
431
+ formItemProps: PropsItemType< Mutable<FormItemProps> & {
432
+ [key: string]: any;
433
+ style?: CSSProperties;
434
+ }>;
437
435
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
438
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
439
- renderErrorMessage: (props: PlusColumn & {
440
- value?: FieldValueType;
441
- error?: string;
442
- label?: string;
443
- }) => RenderTypes;
436
+ valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
444
437
  optionsMap: {
445
438
  label?: string;
446
439
  value?: string;
@@ -451,6 +444,13 @@ declare const __VLS_component: DefineComponent<unknown, {
451
444
  transform?: (data: any) => OptionsRow[];
452
445
  dictCode?: string;
453
446
  };
447
+ hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
448
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
449
+ renderErrorMessage: (props: PlusColumn & {
450
+ value?: FieldValueType;
451
+ error?: string;
452
+ label?: string;
453
+ }) => RenderTypes;
454
454
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
455
455
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
456
456
  export default _default;
@@ -40,5 +40,6 @@ export * from './yc-controls';
40
40
  export * from './yc-feedback';
41
41
  export * from './yc-coss-table';
42
42
  export * from './yc-property-table';
43
+ export * from './yc-display-cards';
43
44
  export * from './yc-ai-chat';
44
45
  export * from './constants/gradients';