yc-agent-ui 1.2.5 → 1.2.6

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 (132) hide show
  1. package/es/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
  2. package/es/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
  3. package/es/components/data-table/src/data-table.vue.d.ts +3 -3
  4. package/es/components/descriptions/index.d.ts +3 -3
  5. package/es/components/descriptions/src/index.vue.d.ts +1 -1
  6. package/es/components/dialog/index.d.ts +6 -6
  7. package/es/components/dialog/src/index.vue.d.ts +2 -2
  8. package/es/components/dialog-form/index.d.ts +4 -4
  9. package/es/components/dialog-form/src/index.vue.d.ts +4 -4
  10. package/es/components/display-item/index.d.ts +15 -15
  11. package/es/components/display-item/src/index.vue.d.ts +13 -13
  12. package/es/components/drawer-form/index.d.ts +22 -22
  13. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  14. package/es/components/form/index.d.ts +43 -43
  15. package/es/components/form/src/form-content.vue.d.ts +15 -15
  16. package/es/components/form/src/index.vue.d.ts +21 -21
  17. package/es/components/form-item/index.d.ts +61 -61
  18. package/es/components/form-item/src/index.vue.d.ts +24 -24
  19. package/es/components/page/index.d.ts +1025 -1025
  20. package/es/components/page/src/index.vue.d.ts +345 -345
  21. package/es/components/popover/index.d.ts +9 -9
  22. package/es/components/popover/src/index.vue.d.ts +3 -3
  23. package/es/components/search/index.d.ts +282 -282
  24. package/es/components/search/src/index.vue.d.ts +98 -98
  25. package/es/components/table/index.d.ts +27 -27
  26. package/es/components/table/src/index.vue.d.ts +3 -3
  27. package/es/components/table/src/table-column.vue.d.ts +34 -34
  28. package/es/components/utils/index.d.ts +1 -1
  29. package/es/components/virtual-table/index.d.ts +7 -7
  30. package/es/components/virtual-table/src/index.vue.d.ts +2 -2
  31. package/es/components/yc-ai-chat/src/select.vue.d.ts +2 -2
  32. package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +3 -3
  33. package/es/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
  34. package/es/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
  35. package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  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/header-filter-cell.vue.d.ts +8 -8
  39. package/es/components/yc-plus-page/src/index.vue.d.ts +1047 -1047
  40. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  41. package/es/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
  42. package/es/components/yc-property-table/src/property-table.vue.d.ts +3 -3
  43. package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  44. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  45. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  46. package/es/hooks/usePlusFormReset.d.ts +132 -132
  47. package/es/index.css +10 -10
  48. package/es/packages/components/yc-display-cards/capability.mjs +1 -1
  49. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
  50. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +78 -22
  51. package/es/version.d.ts +1 -1
  52. package/es/version.mjs +1 -1
  53. package/index.css +1 -1
  54. package/index.js +89 -33
  55. package/index.min.css +1 -1
  56. package/index.min.js +13 -13
  57. package/index.min.mjs +17 -17
  58. package/index.mjs +89 -33
  59. package/lib/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
  60. package/lib/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
  61. package/lib/components/data-table/src/data-table.vue.d.ts +3 -3
  62. package/lib/components/descriptions/index.d.ts +3 -3
  63. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  64. package/lib/components/dialog/index.d.ts +6 -6
  65. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  66. package/lib/components/dialog-form/index.d.ts +4 -4
  67. package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
  68. package/lib/components/display-item/index.d.ts +15 -15
  69. package/lib/components/display-item/src/index.vue.d.ts +13 -13
  70. package/lib/components/drawer-form/index.d.ts +22 -22
  71. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  72. package/lib/components/form/index.d.ts +43 -43
  73. package/lib/components/form/src/form-content.vue.d.ts +15 -15
  74. package/lib/components/form/src/index.vue.d.ts +21 -21
  75. package/lib/components/form-item/index.d.ts +61 -61
  76. package/lib/components/form-item/src/index.vue.d.ts +24 -24
  77. package/lib/components/page/index.d.ts +1025 -1025
  78. package/lib/components/page/src/index.vue.d.ts +345 -345
  79. package/lib/components/popover/index.d.ts +9 -9
  80. package/lib/components/popover/src/index.vue.d.ts +3 -3
  81. package/lib/components/search/index.d.ts +282 -282
  82. package/lib/components/search/src/index.vue.d.ts +98 -98
  83. package/lib/components/table/index.d.ts +27 -27
  84. package/lib/components/table/src/index.vue.d.ts +3 -3
  85. package/lib/components/table/src/table-column.vue.d.ts +34 -34
  86. package/lib/components/utils/index.d.ts +1 -1
  87. package/lib/components/virtual-table/index.d.ts +7 -7
  88. package/lib/components/virtual-table/src/index.vue.d.ts +2 -2
  89. package/lib/components/yc-ai-chat/src/select.vue.d.ts +2 -2
  90. package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +3 -3
  91. package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
  92. package/lib/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
  93. package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  94. package/lib/components/yc-input/src/input.vue.d.ts +1 -1
  95. package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
  96. package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
  97. package/lib/components/yc-plus-page/src/index.vue.d.ts +1047 -1047
  98. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  99. package/lib/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
  100. package/lib/components/yc-property-table/src/property-table.vue.d.ts +3 -3
  101. package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  102. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  103. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  104. package/lib/hooks/usePlusFormReset.d.ts +132 -132
  105. package/lib/index.css +8 -8
  106. package/lib/packages/components/yc-display-cards/capability.js +1 -1
  107. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
  108. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +77 -21
  109. package/lib/version.d.ts +1 -1
  110. package/lib/version.js +1 -1
  111. package/locale/en.js +1 -1
  112. package/locale/en.min.js +1 -1
  113. package/locale/en.min.mjs +1 -1
  114. package/locale/en.mjs +1 -1
  115. package/locale/ja.js +1 -1
  116. package/locale/ja.min.js +1 -1
  117. package/locale/ja.min.mjs +1 -1
  118. package/locale/ja.mjs +1 -1
  119. package/locale/ko.js +1 -1
  120. package/locale/ko.min.js +1 -1
  121. package/locale/ko.min.mjs +1 -1
  122. package/locale/ko.mjs +1 -1
  123. package/locale/zh-cn.js +1 -1
  124. package/locale/zh-cn.min.js +1 -1
  125. package/locale/zh-cn.min.mjs +1 -1
  126. package/locale/zh-cn.mjs +1 -1
  127. package/locale/zh-tw.js +1 -1
  128. package/locale/zh-tw.min.js +1 -1
  129. package/locale/zh-tw.min.mjs +1 -1
  130. package/locale/zh-tw.mjs +1 -1
  131. package/package.json +1 -1
  132. package/theme-chalk/index.css +1 -1
@@ -36,10 +36,10 @@ declare function __VLS_template(): Partial<Record<NonNullable<string | number>,
36
36
  readonly label: string | ComputedRef<string>;
37
37
  readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
38
38
  readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
39
- readonly tooltip: string | ComputedRef<string> | Partial<Mutable< UseTooltipProps> & {
39
+ readonly tooltip: string | Partial<Mutable< UseTooltipProps> & {
40
40
  style?: CSSProperties;
41
41
  class?: any;
42
- } & RecordType> | ComputedRef<Partial<Mutable< UseTooltipProps> & {
42
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< UseTooltipProps> & {
43
43
  style?: CSSProperties;
44
44
  class?: any;
45
45
  } & RecordType>>;
@@ -110,10 +110,10 @@ declare function __VLS_template(): Partial<Record<NonNullable<string | number>,
110
110
  prop: PlusColumn["prop"];
111
111
  modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
112
112
  hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
113
- tooltip: string | ComputedRef<string> | Partial<Mutable< UseTooltipProps> & {
113
+ tooltip: string | Partial<Mutable< UseTooltipProps> & {
114
114
  style?: CSSProperties;
115
115
  class?: any;
116
- } & RecordType> | ComputedRef<Partial<Mutable< UseTooltipProps> & {
116
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< UseTooltipProps> & {
117
117
  style?: CSSProperties;
118
118
  class?: any;
119
119
  } & RecordType>>;
@@ -218,7 +218,7 @@ declare const __VLS_component: DefineComponent<unknown, {
218
218
  $root: ComponentPublicInstance | null;
219
219
  $parent: ComponentPublicInstance | null;
220
220
  $host: Element | null;
221
- $emit: ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
221
+ $emit: ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
222
222
  $el: any;
223
223
  $options: ComponentOptionsBase<Readonly<DrawerProps> & Readonly<{
224
224
  onOpen?: (() => any) | undefined;
@@ -323,7 +323,7 @@ declare const __VLS_component: DefineComponent<unknown, {
323
323
  onCloseAutoFocus?: (() => any) | undefined;
324
324
  "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
325
325
  "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
326
- }>, "title" | "overflow" | "direction" | "draggable" | "transition" | "size" | "showClose" | "appendTo" | "handleClose" | "closeOnPressEscape" | "headerClass" | "bodyClass" | "footerClass" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "withHeader" | "modalFade"> & {
326
+ }>, "title" | "overflow" | "direction" | "draggable" | "transition" | "size" | "appendTo" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "showClose" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
327
327
  handleClose: () => void;
328
328
  } & {} & ComponentCustomProperties & {} & {
329
329
  $slots: {
@@ -400,7 +400,7 @@ declare const __VLS_component: DefineComponent<unknown, {
400
400
  $root: ComponentPublicInstance | null;
401
401
  $parent: ComponentPublicInstance | null;
402
402
  $host: Element | null;
403
- $emit: ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
403
+ $emit: ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
404
404
  $el: any;
405
405
  $options: ComponentOptionsBase<Readonly<DrawerProps> & Readonly<{
406
406
  onOpen?: (() => any) | undefined;
@@ -505,7 +505,7 @@ declare const __VLS_component: DefineComponent<unknown, {
505
505
  onCloseAutoFocus?: (() => any) | undefined;
506
506
  "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
507
507
  "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
508
- }>, "title" | "overflow" | "direction" | "draggable" | "transition" | "size" | "showClose" | "appendTo" | "handleClose" | "closeOnPressEscape" | "headerClass" | "bodyClass" | "footerClass" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "withHeader" | "modalFade"> & {
508
+ }>, "title" | "overflow" | "direction" | "draggable" | "transition" | "size" | "appendTo" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "showClose" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
509
509
  handleClose: () => void;
510
510
  } & {} & ComponentCustomProperties & {} & {
511
511
  $slots: {
@@ -544,9 +544,9 @@ declare const __VLS_component: DefineComponent<unknown, {
544
544
  modelValue: FieldValues;
545
545
  hasErrorTip: boolean;
546
546
  hasFooter: boolean;
547
- confirmLoading: boolean;
548
- cancelText: string;
549
547
  confirmText: string;
548
+ cancelText: string;
549
+ confirmLoading: boolean;
550
550
  drawer: Partial<Mutable<DrawerProps> & IntrinsicAttributes>;
551
551
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
552
552
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -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, 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';
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';
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
- onValidate?: ((...args: any[]) => any) | undefined;
17
16
  onSubmitError?: ((errors: unknown) => any) | undefined;
17
+ onValidate?: ((...args: any[]) => any) | undefined;
18
18
  }>, {
19
19
  formInstance: Ref< FormInstance | null, FormInstance | null>;
20
20
  handleSubmit: () => void;
@@ -30,28 +30,27 @@ export declare const PlusForm: {
30
30
  ellipsis: boolean;
31
31
  layout: "grid" | "flex";
32
32
  columns: PlusColumn[];
33
+ collapseDuration: number;
34
+ collapseTransition: boolean;
33
35
  modelValue: FieldValues;
34
- rules: ElementPlusFormProps["rules"];
35
- labelPosition: ElementPlusFormProps["labelPosition"];
36
+ group: false | PlusFormGroupRow[];
36
37
  labelWidth: ElementPlusFormProps["labelWidth"];
38
+ labelPosition: ElementPlusFormProps["labelPosition"];
37
39
  labelSuffix: ElementPlusFormProps["labelSuffix"];
38
- group: false | PlusFormGroupRow[];
39
- clearable: boolean;
40
- colProps: Partial< Mutable<ColProps> & {
40
+ rules: ElementPlusFormProps["rules"];
41
+ defaultValues: FieldValues;
42
+ rowProps: Partial< Mutable<RowProps> & {
41
43
  style?: CSSProperties;
42
44
  class?: any;
43
45
  } & RecordType>;
44
- hasLabel: boolean;
45
- collapseDuration: number;
46
- collapseTransition: boolean;
47
- rowProps: Partial< Mutable<RowProps> & {
46
+ colProps: Partial< Mutable<ColProps> & {
48
47
  style?: CSSProperties;
49
48
  class?: any;
50
49
  } & RecordType>;
51
- defaultValues: FieldValues;
52
50
  hasErrorTip: boolean;
53
51
  hasFooter: boolean;
54
52
  hasReset: boolean;
53
+ hasLabel: boolean;
55
54
  submitText: string;
56
55
  resetText: string;
57
56
  submitLoading: boolean;
@@ -61,6 +60,7 @@ export declare const PlusForm: {
61
60
  class?: any;
62
61
  } & RecordType>;
63
62
  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
- onValidate?: ((...args: any[]) => any) | undefined;
77
76
  onSubmitError?: ((errors: unknown) => any) | undefined;
77
+ onValidate?: ((...args: any[]) => any) | undefined;
78
78
  }>, {
79
79
  formInstance: Ref< FormInstance | null, FormInstance | null>;
80
80
  handleSubmit: () => void;
@@ -83,28 +83,27 @@ export declare const PlusForm: {
83
83
  ellipsis: boolean;
84
84
  layout: "grid" | "flex";
85
85
  columns: PlusColumn[];
86
+ collapseDuration: number;
87
+ collapseTransition: boolean;
86
88
  modelValue: FieldValues;
87
- rules: ElementPlusFormProps["rules"];
88
- labelPosition: ElementPlusFormProps["labelPosition"];
89
+ group: false | PlusFormGroupRow[];
89
90
  labelWidth: ElementPlusFormProps["labelWidth"];
91
+ labelPosition: ElementPlusFormProps["labelPosition"];
90
92
  labelSuffix: ElementPlusFormProps["labelSuffix"];
91
- group: false | PlusFormGroupRow[];
92
- clearable: boolean;
93
- colProps: Partial< Mutable<ColProps> & {
93
+ rules: ElementPlusFormProps["rules"];
94
+ defaultValues: FieldValues;
95
+ rowProps: Partial< Mutable<RowProps> & {
94
96
  style?: CSSProperties;
95
97
  class?: any;
96
98
  } & RecordType>;
97
- hasLabel: boolean;
98
- collapseDuration: number;
99
- collapseTransition: boolean;
100
- rowProps: Partial< Mutable<RowProps> & {
99
+ colProps: Partial< Mutable<ColProps> & {
101
100
  style?: CSSProperties;
102
101
  class?: any;
103
102
  } & RecordType>;
104
- defaultValues: FieldValues;
105
103
  hasErrorTip: boolean;
106
104
  hasFooter: boolean;
107
105
  hasReset: boolean;
106
+ hasLabel: boolean;
108
107
  submitText: string;
109
108
  resetText: string;
110
109
  submitLoading: boolean;
@@ -114,6 +113,7 @@ export declare const PlusForm: {
114
113
  class?: any;
115
114
  } & RecordType>;
116
115
  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
- onValidate?: ((...args: any[]) => any) | undefined;
127
126
  onSubmitError?: ((errors: unknown) => any) | undefined;
127
+ onValidate?: ((...args: any[]) => any) | undefined;
128
128
  }>, {
129
129
  formInstance: Ref< FormInstance | null, FormInstance | null>;
130
130
  handleSubmit: () => void;
@@ -140,28 +140,27 @@ export declare const PlusForm: {
140
140
  ellipsis: boolean;
141
141
  layout: "grid" | "flex";
142
142
  columns: PlusColumn[];
143
+ collapseDuration: number;
144
+ collapseTransition: boolean;
143
145
  modelValue: FieldValues;
144
- rules: ElementPlusFormProps["rules"];
145
- labelPosition: ElementPlusFormProps["labelPosition"];
146
+ group: false | PlusFormGroupRow[];
146
147
  labelWidth: ElementPlusFormProps["labelWidth"];
148
+ labelPosition: ElementPlusFormProps["labelPosition"];
147
149
  labelSuffix: ElementPlusFormProps["labelSuffix"];
148
- group: false | PlusFormGroupRow[];
149
- clearable: boolean;
150
- colProps: Partial< Mutable<ColProps> & {
150
+ rules: ElementPlusFormProps["rules"];
151
+ defaultValues: FieldValues;
152
+ rowProps: Partial< Mutable<RowProps> & {
151
153
  style?: CSSProperties;
152
154
  class?: any;
153
155
  } & RecordType>;
154
- hasLabel: boolean;
155
- collapseDuration: number;
156
- collapseTransition: boolean;
157
- rowProps: Partial< Mutable<RowProps> & {
156
+ colProps: Partial< Mutable<ColProps> & {
158
157
  style?: CSSProperties;
159
158
  class?: any;
160
159
  } & RecordType>;
161
- defaultValues: FieldValues;
162
160
  hasErrorTip: boolean;
163
161
  hasFooter: boolean;
164
162
  hasReset: boolean;
163
+ hasLabel: boolean;
165
164
  submitText: string;
166
165
  resetText: string;
167
166
  submitLoading: boolean;
@@ -171,6 +170,7 @@ export declare const PlusForm: {
171
170
  class?: any;
172
171
  } & RecordType>;
173
172
  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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
193
+ readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
194
194
  style?: CSSProperties;
195
195
  class?: any;
196
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
196
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
267
+ tooltip: string | Partial< Mutable<UseTooltipProps> & {
268
268
  style?: CSSProperties;
269
269
  class?: any;
270
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
270
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
306
+ readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
307
307
  style?: CSSProperties;
308
308
  class?: any;
309
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
309
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
380
+ tooltip: string | Partial< Mutable<UseTooltipProps> & {
381
381
  style?: CSSProperties;
382
382
  class?: any;
383
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
383
+ } & RecordType> | ComputedRef<string> | 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, ColProps, RowProps } 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, RowProps, ColProps } 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
144
+ readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
145
145
  style?: CSSProperties;
146
146
  class?: any;
147
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
147
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
218
+ tooltip: string | Partial< Mutable<UseTooltipProps> & {
219
219
  style?: CSSProperties;
220
220
  class?: any;
221
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
221
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
257
+ readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
258
258
  style?: CSSProperties;
259
259
  class?: any;
260
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
260
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
331
+ tooltip: string | Partial< Mutable<UseTooltipProps> & {
332
332
  style?: CSSProperties;
333
333
  class?: any;
334
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
334
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
335
335
  style?: CSSProperties;
336
336
  class?: any;
337
337
  } & RecordType>>;
@@ -469,19 +469,19 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
469
469
  ellipsis: boolean;
470
470
  layout: "grid" | "flex";
471
471
  columns: PlusColumn[];
472
+ collapseDuration: number;
473
+ collapseTransition: boolean;
472
474
  modelValue: FieldValues;
473
- clearable: boolean;
474
- colProps: Partial< Mutable<ColProps> & {
475
+ rowProps: Partial< Mutable<RowProps> & {
475
476
  style?: CSSProperties;
476
477
  class?: any;
477
478
  } & RecordType>;
478
- hasLabel: boolean;
479
- collapseDuration: number;
480
- collapseTransition: boolean;
481
- rowProps: Partial< Mutable<RowProps> & {
479
+ colProps: Partial< Mutable<ColProps> & {
482
480
  style?: CSSProperties;
483
481
  class?: any;
484
482
  } & 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, ColProps, RowProps, 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, RowProps, ColProps, 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 { ElementPlusFormProps, PlusFormGroupRow } from './type';
5
+ import { PlusFormGroupRow, ElementPlusFormProps } 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
22
+ readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
23
23
  style?: CSSProperties;
24
24
  class?: any;
25
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
25
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
96
+ tooltip: string | Partial< Mutable<UseTooltipProps> & {
97
97
  style?: CSSProperties;
98
98
  class?: any;
99
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
99
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
135
+ readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
136
136
  style?: CSSProperties;
137
137
  class?: any;
138
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
138
+ } & RecordType> | ComputedRef<string> | 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 | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
209
+ tooltip: string | Partial< Mutable<UseTooltipProps> & {
210
210
  style?: CSSProperties;
211
211
  class?: any;
212
- } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
212
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
213
213
  style?: CSSProperties;
214
214
  class?: any;
215
215
  } & RecordType>>;
@@ -267,34 +267,33 @@ 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
- onValidate?: ((...args: any[]) => any) | undefined;
271
270
  onSubmitError?: ((errors: unknown) => any) | undefined;
271
+ onValidate?: ((...args: any[]) => any) | undefined;
272
272
  }>, {
273
273
  ellipsis: boolean;
274
274
  layout: "grid" | "flex";
275
275
  columns: PlusColumn[];
276
+ collapseDuration: number;
277
+ collapseTransition: boolean;
276
278
  modelValue: FieldValues;
277
- rules: ElementPlusFormProps["rules"];
278
- labelPosition: ElementPlusFormProps["labelPosition"];
279
+ group: false | PlusFormGroupRow[];
279
280
  labelWidth: ElementPlusFormProps["labelWidth"];
281
+ labelPosition: ElementPlusFormProps["labelPosition"];
280
282
  labelSuffix: ElementPlusFormProps["labelSuffix"];
281
- group: false | PlusFormGroupRow[];
282
- clearable: boolean;
283
- colProps: Partial< Mutable<ColProps> & {
283
+ rules: ElementPlusFormProps["rules"];
284
+ defaultValues: FieldValues;
285
+ rowProps: Partial< Mutable<RowProps> & {
284
286
  style?: CSSProperties;
285
287
  class?: any;
286
288
  } & RecordType>;
287
- hasLabel: boolean;
288
- collapseDuration: number;
289
- collapseTransition: boolean;
290
- rowProps: Partial< Mutable<RowProps> & {
289
+ colProps: Partial< Mutable<ColProps> & {
291
290
  style?: CSSProperties;
292
291
  class?: any;
293
292
  } & RecordType>;
294
- defaultValues: FieldValues;
295
293
  hasErrorTip: boolean;
296
294
  hasFooter: boolean;
297
295
  hasReset: boolean;
296
+ hasLabel: boolean;
298
297
  submitText: string;
299
298
  resetText: string;
300
299
  submitLoading: boolean;
@@ -304,6 +303,7 @@ declare const __VLS_component: DefineComponent<unknown, {
304
303
  class?: any;
305
304
  } & RecordType>;
306
305
  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;