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.
- package/es/components/descriptions/index.d.ts +3 -3
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +4 -4
- package/es/components/dialog-form/src/index.vue.d.ts +4 -4
- package/es/components/display-item/index.d.ts +15 -15
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +22 -22
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +43 -43
- package/es/components/form/src/form-content.vue.d.ts +15 -15
- package/es/components/form/src/index.vue.d.ts +21 -21
- package/es/components/form-item/index.d.ts +61 -61
- package/es/components/form-item/src/index.vue.d.ts +24 -24
- package/es/components/index.d.ts +1 -0
- package/es/components/page/index.d.ts +936 -936
- package/es/components/page/src/index.vue.d.ts +316 -316
- package/es/components/popover/index.d.ts +9 -9
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/search/index.d.ts +282 -282
- package/es/components/search/src/index.vue.d.ts +98 -98
- package/es/components/table/index.d.ts +9 -9
- package/es/components/table/src/index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/utils/index.d.ts +1 -1
- package/es/components/yc-ai-chat/index.d.ts +2 -1
- package/es/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
- package/es/components/yc-ai-chat/src/question-validation.d.ts +5 -0
- package/es/components/yc-ai-chat/src/type.d.ts +51 -0
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/capability.d.ts +4 -0
- package/es/components/yc-display-cards/index.d.ts +24 -0
- package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/es/components/yc-display-cards/src/types.d.ts +47 -0
- package/es/components/yc-input/src/input.vue.d.ts +1 -1
- package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +946 -946
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +132 -132
- package/es/index.css +11 -8
- package/es/index.mjs +2 -0
- package/es/packages/components/index.mjs +2 -0
- package/es/packages/components/yc-ai-chat/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/src/question-card.vue.mjs +5 -0
- package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +613 -0
- package/es/packages/components/yc-ai-chat/src/question-validation.mjs +77 -0
- package/es/packages/components/yc-display-cards/capability.mjs +75 -0
- package/es/packages/components/yc-display-cards/index.mjs +10 -0
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
- package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
- package/es/packages/registry/load.mjs +9 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -1
- package/index.js +2546 -1335
- package/index.min.css +3 -0
- package/index.min.js +23 -23
- package/index.min.mjs +23 -23
- package/index.mjs +2535 -1328
- package/lib/components/descriptions/index.d.ts +3 -3
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +4 -4
- package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
- package/lib/components/display-item/index.d.ts +15 -15
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +22 -22
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +43 -43
- package/lib/components/form/src/form-content.vue.d.ts +15 -15
- package/lib/components/form/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/index.d.ts +61 -61
- package/lib/components/form-item/src/index.vue.d.ts +24 -24
- package/lib/components/index.d.ts +1 -0
- package/lib/components/page/index.d.ts +936 -936
- package/lib/components/page/src/index.vue.d.ts +316 -316
- package/lib/components/popover/index.d.ts +9 -9
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/search/index.d.ts +282 -282
- package/lib/components/search/src/index.vue.d.ts +98 -98
- package/lib/components/table/index.d.ts +9 -9
- package/lib/components/table/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/utils/index.d.ts +1 -1
- package/lib/components/yc-ai-chat/index.d.ts +2 -1
- package/lib/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
- package/lib/components/yc-ai-chat/src/question-validation.d.ts +5 -0
- package/lib/components/yc-ai-chat/src/type.d.ts +51 -0
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/capability.d.ts +4 -0
- package/lib/components/yc-display-cards/index.d.ts +24 -0
- package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/lib/components/yc-display-cards/src/types.d.ts +47 -0
- package/lib/components/yc-input/src/input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +946 -946
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +132 -132
- package/lib/index.css +11 -8
- package/lib/index.js +12 -6
- package/lib/packages/components/index.js +12 -6
- package/lib/packages/components/yc-ai-chat/index.js +2 -0
- package/lib/packages/components/yc-ai-chat/src/question-card.vue.js +9 -0
- package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +617 -0
- package/lib/packages/components/yc-ai-chat/src/question-validation.js +81 -0
- package/lib/packages/components/yc-display-cards/capability.js +79 -0
- package/lib/packages/components/yc-display-cards/index.js +14 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
- package/lib/packages/components/yc-display-cards/src/types.js +2 -0
- package/lib/packages/registry/load.js +9 -8
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +4 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- 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,
|
|
5
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
group: false | PlusFormGroupRow[];
|
|
39
|
+
clearable: boolean;
|
|
40
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
43
41
|
style?: CSSProperties;
|
|
44
42
|
class?: any;
|
|
45
43
|
} & RecordType>;
|
|
46
|
-
|
|
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
|
-
|
|
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
|
-
|
|
94
|
-
|
|
95
|
-
|
|
91
|
+
group: false | PlusFormGroupRow[];
|
|
92
|
+
clearable: boolean;
|
|
93
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
96
94
|
style?: CSSProperties;
|
|
97
95
|
class?: any;
|
|
98
96
|
} & RecordType>;
|
|
99
|
-
|
|
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
|
-
|
|
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
|
-
|
|
151
|
-
|
|
152
|
-
|
|
148
|
+
group: false | PlusFormGroupRow[];
|
|
149
|
+
clearable: boolean;
|
|
150
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
153
151
|
style?: CSSProperties;
|
|
154
152
|
class?: any;
|
|
155
153
|
} & RecordType>;
|
|
156
|
-
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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,
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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
|
-
|
|
474
|
-
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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
|
-
|
|
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
|
-
|
|
284
|
-
|
|
285
|
-
|
|
281
|
+
group: false | PlusFormGroupRow[];
|
|
282
|
+
clearable: boolean;
|
|
283
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
286
284
|
style?: CSSProperties;
|
|
287
285
|
class?: any;
|
|
288
286
|
} & RecordType>;
|
|
289
|
-
|
|
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;
|