yc-agent-ui 1.2.10 → 1.2.11
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/display-item/index.d.ts +3 -3
- package/es/components/display-item/src/index.vue.d.ts +1 -1
- package/es/components/drawer-form/index.d.ts +6 -6
- package/es/components/drawer-form/src/index.vue.d.ts +2 -2
- package/es/components/form/index.d.ts +28 -28
- package/es/components/form/src/form-content.vue.d.ts +7 -7
- package/es/components/form/src/index.vue.d.ts +10 -10
- package/es/components/form-item/index.d.ts +31 -31
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +641 -641
- package/es/components/page/src/index.vue.d.ts +213 -213
- package/es/components/search/index.d.ts +190 -190
- package/es/components/search/src/index.vue.d.ts +64 -64
- package/es/components/table/src/table-column.vue.d.ts +10 -10
- package/es/components/virtual-table/index.d.ts +3 -3
- package/es/components/virtual-table/src/index.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- 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 +637 -637
- 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/hooks/usePlusFormReset.d.ts +18 -18
- package/es/index.css +11 -11
- package/es/packages/components/yc-display-cards/src/elements/input.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/elements/input2.vue.mjs +52 -46
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +165 -160
- package/index.min.css +1 -1
- package/index.min.js +13 -13
- package/index.min.mjs +16 -16
- package/index.mjs +165 -160
- package/lib/components/display-item/index.d.ts +3 -3
- package/lib/components/display-item/src/index.vue.d.ts +1 -1
- package/lib/components/drawer-form/index.d.ts +6 -6
- package/lib/components/drawer-form/src/index.vue.d.ts +2 -2
- package/lib/components/form/index.d.ts +28 -28
- package/lib/components/form/src/form-content.vue.d.ts +7 -7
- package/lib/components/form/src/index.vue.d.ts +10 -10
- package/lib/components/form-item/index.d.ts +31 -31
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +641 -641
- package/lib/components/page/src/index.vue.d.ts +213 -213
- package/lib/components/search/index.d.ts +190 -190
- package/lib/components/search/src/index.vue.d.ts +64 -64
- package/lib/components/table/src/table-column.vue.d.ts +10 -10
- package/lib/components/virtual-table/index.d.ts +3 -3
- package/lib/components/virtual-table/src/index.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- 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 +637 -637
- 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/hooks/usePlusFormReset.d.ts +18 -18
- package/lib/index.css +10 -10
- package/lib/packages/components/yc-display-cards/src/elements/input.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/elements/input2.vue.js +51 -45
- 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 +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, Ref, CSSProperties, DefineComponent, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, Component, PublicProps } from 'vue';
|
|
2
2
|
import { PlusColumn, FieldValues, RecordType, Mutable, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow, PlusCardProps } from '../../../types';
|
|
3
|
-
import { UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps,
|
|
3
|
+
import { 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, FormInstance } from 'element-plus';
|
|
4
4
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../../agent-ui';
|
|
5
5
|
import { PlusFormGroupRow, ElementPlusFormProps } from '../../form';
|
|
6
6
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -137,27 +137,26 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
137
137
|
layout: "grid" | "flex";
|
|
138
138
|
columns: PlusColumn[];
|
|
139
139
|
modelValue: FieldValues;
|
|
140
|
+
collapseDuration: number;
|
|
141
|
+
collapseTransition: boolean;
|
|
140
142
|
group: false | PlusFormGroupRow[];
|
|
141
|
-
clearable: boolean;
|
|
142
143
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
143
144
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
145
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
144
146
|
rules: ElementPlusFormProps["rules"];
|
|
145
|
-
|
|
147
|
+
defaultValues: FieldValues;
|
|
148
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
146
149
|
style?: CSSProperties;
|
|
147
150
|
class?: any;
|
|
148
151
|
} & RecordType>;
|
|
149
|
-
|
|
150
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
151
|
-
collapseDuration: number;
|
|
152
|
-
collapseTransition: boolean;
|
|
153
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
152
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
154
153
|
style?: CSSProperties;
|
|
155
154
|
class?: any;
|
|
156
155
|
} & RecordType>;
|
|
157
|
-
defaultValues: FieldValues;
|
|
158
156
|
hasErrorTip: boolean;
|
|
159
157
|
hasFooter: boolean;
|
|
160
158
|
hasReset: boolean;
|
|
159
|
+
hasLabel: boolean;
|
|
161
160
|
submitText: string;
|
|
162
161
|
resetText: string;
|
|
163
162
|
submitLoading: boolean;
|
|
@@ -167,14 +166,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
167
166
|
class?: any;
|
|
168
167
|
} & RecordType>;
|
|
169
168
|
prevent: boolean;
|
|
169
|
+
clearable: boolean;
|
|
170
170
|
}> & Omit<{
|
|
171
171
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
172
172
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
173
173
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
174
174
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
175
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
176
175
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
177
|
-
|
|
176
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
177
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
178
178
|
$attrs: Attrs;
|
|
179
179
|
$refs: {
|
|
180
180
|
[x: string]: unknown;
|
|
@@ -185,15 +185,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
185
185
|
$root: ComponentPublicInstance | null;
|
|
186
186
|
$parent: ComponentPublicInstance | null;
|
|
187
187
|
$host: Element | null;
|
|
188
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
188
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
189
189
|
$el: any;
|
|
190
190
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
191
191
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
192
192
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
193
193
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
194
194
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
195
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
196
195
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
196
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
197
197
|
}>, {
|
|
198
198
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
199
199
|
handleSubmit: () => void;
|
|
@@ -210,27 +210,26 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
210
210
|
layout: "grid" | "flex";
|
|
211
211
|
columns: PlusColumn[];
|
|
212
212
|
modelValue: FieldValues;
|
|
213
|
+
collapseDuration: number;
|
|
214
|
+
collapseTransition: boolean;
|
|
213
215
|
group: false | PlusFormGroupRow[];
|
|
214
|
-
clearable: boolean;
|
|
215
216
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
216
217
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
218
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
217
219
|
rules: ElementPlusFormProps["rules"];
|
|
218
|
-
|
|
220
|
+
defaultValues: FieldValues;
|
|
221
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
219
222
|
style?: CSSProperties;
|
|
220
223
|
class?: any;
|
|
221
224
|
} & RecordType>;
|
|
222
|
-
|
|
223
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
224
|
-
collapseDuration: number;
|
|
225
|
-
collapseTransition: boolean;
|
|
226
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
225
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
227
226
|
style?: CSSProperties;
|
|
228
227
|
class?: any;
|
|
229
228
|
} & RecordType>;
|
|
230
|
-
defaultValues: FieldValues;
|
|
231
229
|
hasErrorTip: boolean;
|
|
232
230
|
hasFooter: boolean;
|
|
233
231
|
hasReset: boolean;
|
|
232
|
+
hasLabel: boolean;
|
|
234
233
|
submitText: string;
|
|
235
234
|
resetText: string;
|
|
236
235
|
submitLoading: boolean;
|
|
@@ -240,6 +239,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
240
239
|
class?: any;
|
|
241
240
|
} & RecordType>;
|
|
242
241
|
prevent: boolean;
|
|
242
|
+
clearable: boolean;
|
|
243
243
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
244
244
|
beforeCreate?: (() => void) | (() => void)[];
|
|
245
245
|
created?: (() => void) | (() => void)[];
|
|
@@ -265,27 +265,26 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
265
265
|
layout: "grid" | "flex";
|
|
266
266
|
columns: PlusColumn[];
|
|
267
267
|
modelValue: FieldValues;
|
|
268
|
+
collapseDuration: number;
|
|
269
|
+
collapseTransition: boolean;
|
|
268
270
|
group: false | PlusFormGroupRow[];
|
|
269
|
-
clearable: boolean;
|
|
270
271
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
271
272
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
273
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
272
274
|
rules: ElementPlusFormProps["rules"];
|
|
273
|
-
|
|
275
|
+
defaultValues: FieldValues;
|
|
276
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
274
277
|
style?: CSSProperties;
|
|
275
278
|
class?: any;
|
|
276
279
|
} & RecordType>;
|
|
277
|
-
|
|
278
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
279
|
-
collapseDuration: number;
|
|
280
|
-
collapseTransition: boolean;
|
|
281
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
280
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
282
281
|
style?: CSSProperties;
|
|
283
282
|
class?: any;
|
|
284
283
|
} & RecordType>;
|
|
285
|
-
defaultValues: FieldValues;
|
|
286
284
|
hasErrorTip: boolean;
|
|
287
285
|
hasFooter: boolean;
|
|
288
286
|
hasReset: boolean;
|
|
287
|
+
hasLabel: boolean;
|
|
289
288
|
submitText: string;
|
|
290
289
|
resetText: string;
|
|
291
290
|
submitLoading: boolean;
|
|
@@ -295,14 +294,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
295
294
|
class?: any;
|
|
296
295
|
} & RecordType>;
|
|
297
296
|
prevent: boolean;
|
|
297
|
+
clearable: boolean;
|
|
298
298
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
299
299
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
300
300
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
301
301
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
302
302
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
303
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
304
303
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
305
|
-
|
|
304
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
305
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
306
306
|
formInstance: FormInstance | null;
|
|
307
307
|
handleSubmit: () => void;
|
|
308
308
|
handleReset: () => void;
|
|
@@ -562,27 +562,26 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
562
562
|
layout: "grid" | "flex";
|
|
563
563
|
columns: PlusColumn[];
|
|
564
564
|
modelValue: FieldValues;
|
|
565
|
+
collapseDuration: number;
|
|
566
|
+
collapseTransition: boolean;
|
|
565
567
|
group: false | PlusFormGroupRow[];
|
|
566
|
-
clearable: boolean;
|
|
567
568
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
568
569
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
570
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
569
571
|
rules: ElementPlusFormProps["rules"];
|
|
570
|
-
|
|
572
|
+
defaultValues: FieldValues;
|
|
573
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
571
574
|
style?: CSSProperties;
|
|
572
575
|
class?: any;
|
|
573
576
|
} & RecordType>;
|
|
574
|
-
|
|
575
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
576
|
-
collapseDuration: number;
|
|
577
|
-
collapseTransition: boolean;
|
|
578
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
577
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
579
578
|
style?: CSSProperties;
|
|
580
579
|
class?: any;
|
|
581
580
|
} & RecordType>;
|
|
582
|
-
defaultValues: FieldValues;
|
|
583
581
|
hasErrorTip: boolean;
|
|
584
582
|
hasFooter: boolean;
|
|
585
583
|
hasReset: boolean;
|
|
584
|
+
hasLabel: boolean;
|
|
586
585
|
submitText: string;
|
|
587
586
|
resetText: string;
|
|
588
587
|
submitLoading: boolean;
|
|
@@ -592,14 +591,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
592
591
|
class?: any;
|
|
593
592
|
} & RecordType>;
|
|
594
593
|
prevent: boolean;
|
|
594
|
+
clearable: boolean;
|
|
595
595
|
}> & Omit<{
|
|
596
596
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
597
597
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
598
598
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
599
599
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
600
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
601
600
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
602
|
-
|
|
601
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
602
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
603
603
|
$attrs: Attrs;
|
|
604
604
|
$refs: {
|
|
605
605
|
[x: string]: unknown;
|
|
@@ -610,15 +610,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
610
610
|
$root: ComponentPublicInstance | null;
|
|
611
611
|
$parent: ComponentPublicInstance | null;
|
|
612
612
|
$host: Element | null;
|
|
613
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
613
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
614
614
|
$el: any;
|
|
615
615
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
616
616
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
617
617
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
618
618
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
619
619
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
620
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
621
620
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
621
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
622
622
|
}>, {
|
|
623
623
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
624
624
|
handleSubmit: () => void;
|
|
@@ -635,27 +635,26 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
635
635
|
layout: "grid" | "flex";
|
|
636
636
|
columns: PlusColumn[];
|
|
637
637
|
modelValue: FieldValues;
|
|
638
|
+
collapseDuration: number;
|
|
639
|
+
collapseTransition: boolean;
|
|
638
640
|
group: false | PlusFormGroupRow[];
|
|
639
|
-
clearable: boolean;
|
|
640
641
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
641
642
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
643
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
642
644
|
rules: ElementPlusFormProps["rules"];
|
|
643
|
-
|
|
645
|
+
defaultValues: FieldValues;
|
|
646
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
644
647
|
style?: CSSProperties;
|
|
645
648
|
class?: any;
|
|
646
649
|
} & RecordType>;
|
|
647
|
-
|
|
648
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
649
|
-
collapseDuration: number;
|
|
650
|
-
collapseTransition: boolean;
|
|
651
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
650
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
652
651
|
style?: CSSProperties;
|
|
653
652
|
class?: any;
|
|
654
653
|
} & RecordType>;
|
|
655
|
-
defaultValues: FieldValues;
|
|
656
654
|
hasErrorTip: boolean;
|
|
657
655
|
hasFooter: boolean;
|
|
658
656
|
hasReset: boolean;
|
|
657
|
+
hasLabel: boolean;
|
|
659
658
|
submitText: string;
|
|
660
659
|
resetText: string;
|
|
661
660
|
submitLoading: boolean;
|
|
@@ -665,6 +664,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
665
664
|
class?: any;
|
|
666
665
|
} & RecordType>;
|
|
667
666
|
prevent: boolean;
|
|
667
|
+
clearable: boolean;
|
|
668
668
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
669
669
|
beforeCreate?: (() => void) | (() => void)[];
|
|
670
670
|
created?: (() => void) | (() => void)[];
|
|
@@ -690,27 +690,26 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
690
690
|
layout: "grid" | "flex";
|
|
691
691
|
columns: PlusColumn[];
|
|
692
692
|
modelValue: FieldValues;
|
|
693
|
+
collapseDuration: number;
|
|
694
|
+
collapseTransition: boolean;
|
|
693
695
|
group: false | PlusFormGroupRow[];
|
|
694
|
-
clearable: boolean;
|
|
695
696
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
696
697
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
698
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
697
699
|
rules: ElementPlusFormProps["rules"];
|
|
698
|
-
|
|
700
|
+
defaultValues: FieldValues;
|
|
701
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
699
702
|
style?: CSSProperties;
|
|
700
703
|
class?: any;
|
|
701
704
|
} & RecordType>;
|
|
702
|
-
|
|
703
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
704
|
-
collapseDuration: number;
|
|
705
|
-
collapseTransition: boolean;
|
|
706
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
705
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
707
706
|
style?: CSSProperties;
|
|
708
707
|
class?: any;
|
|
709
708
|
} & RecordType>;
|
|
710
|
-
defaultValues: FieldValues;
|
|
711
709
|
hasErrorTip: boolean;
|
|
712
710
|
hasFooter: boolean;
|
|
713
711
|
hasReset: boolean;
|
|
712
|
+
hasLabel: boolean;
|
|
714
713
|
submitText: string;
|
|
715
714
|
resetText: string;
|
|
716
715
|
submitLoading: boolean;
|
|
@@ -720,14 +719,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
720
719
|
class?: any;
|
|
721
720
|
} & RecordType>;
|
|
722
721
|
prevent: boolean;
|
|
722
|
+
clearable: boolean;
|
|
723
723
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
724
724
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
725
725
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
726
726
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
727
727
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
728
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
729
728
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
730
|
-
|
|
729
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
730
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
731
731
|
formInstance: FormInstance | null;
|
|
732
732
|
handleSubmit: () => void;
|
|
733
733
|
handleReset: () => void;
|
|
@@ -1002,15 +1002,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1002
1002
|
columns: PlusColumn[];
|
|
1003
1003
|
modelValue: FieldValues;
|
|
1004
1004
|
labelPosition: "left" | "right" | "top";
|
|
1005
|
-
|
|
1005
|
+
defaultValues: FieldValues;
|
|
1006
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1006
1007
|
style?: CSSProperties;
|
|
1007
1008
|
class?: any;
|
|
1008
1009
|
} & RecordType>;
|
|
1009
|
-
|
|
1010
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1010
1011
|
style?: CSSProperties;
|
|
1011
1012
|
class?: any;
|
|
1012
1013
|
} & RecordType>;
|
|
1013
|
-
defaultValues: FieldValues;
|
|
1014
1014
|
hasFooter: boolean;
|
|
1015
1015
|
hasReset: boolean;
|
|
1016
1016
|
resetText: string;
|
|
@@ -162,8 +162,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
162
162
|
column: PlusColumn;
|
|
163
163
|
row: RecordType;
|
|
164
164
|
index: number;
|
|
165
|
-
formProps: PlusFormProps;
|
|
166
165
|
rest: RecordType;
|
|
166
|
+
formProps: PlusFormProps;
|
|
167
167
|
editable: boolean | "click" | "dblclick";
|
|
168
168
|
}> & Omit<{
|
|
169
169
|
readonly onChange?: ((data: {
|
|
@@ -171,7 +171,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
171
171
|
prop: string;
|
|
172
172
|
row: RecordType;
|
|
173
173
|
}) => any) | undefined;
|
|
174
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "
|
|
174
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "formProps" | "editable">;
|
|
175
175
|
$attrs: Attrs;
|
|
176
176
|
$refs: {
|
|
177
177
|
[x: string]: unknown;
|
|
@@ -215,8 +215,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
215
215
|
column: PlusColumn;
|
|
216
216
|
row: RecordType;
|
|
217
217
|
index: number;
|
|
218
|
-
formProps: PlusFormProps;
|
|
219
218
|
rest: RecordType;
|
|
219
|
+
formProps: PlusFormProps;
|
|
220
220
|
editable: boolean | "click" | "dblclick";
|
|
221
221
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
222
222
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -242,8 +242,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
242
242
|
column: PlusColumn;
|
|
243
243
|
row: RecordType;
|
|
244
244
|
index: number;
|
|
245
|
-
formProps: PlusFormProps;
|
|
246
245
|
rest: RecordType;
|
|
246
|
+
formProps: PlusFormProps;
|
|
247
247
|
editable: boolean | "click" | "dblclick";
|
|
248
248
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
249
249
|
onChange?: ((data: {
|
|
@@ -251,7 +251,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
251
251
|
prop: string;
|
|
252
252
|
row: RecordType;
|
|
253
253
|
}) => any) | undefined;
|
|
254
|
-
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "
|
|
254
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "formProps" | "editable")> & {
|
|
255
255
|
startCellEdit: () => void;
|
|
256
256
|
stopCellEdit: () => void;
|
|
257
257
|
getDisplayItemInstance: () => {
|
|
@@ -622,8 +622,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
622
622
|
column: PlusColumn;
|
|
623
623
|
row: RecordType;
|
|
624
624
|
index: number;
|
|
625
|
-
formProps: PlusFormProps;
|
|
626
625
|
rest: RecordType;
|
|
626
|
+
formProps: PlusFormProps;
|
|
627
627
|
editable: boolean | "click" | "dblclick";
|
|
628
628
|
}> & Omit<{
|
|
629
629
|
readonly onChange?: ((data: {
|
|
@@ -631,7 +631,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
631
631
|
prop: string;
|
|
632
632
|
row: RecordType;
|
|
633
633
|
}) => any) | undefined;
|
|
634
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "
|
|
634
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "formProps" | "editable">;
|
|
635
635
|
$attrs: Attrs;
|
|
636
636
|
$refs: {
|
|
637
637
|
[x: string]: unknown;
|
|
@@ -675,8 +675,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
675
675
|
column: PlusColumn;
|
|
676
676
|
row: RecordType;
|
|
677
677
|
index: number;
|
|
678
|
-
formProps: PlusFormProps;
|
|
679
678
|
rest: RecordType;
|
|
679
|
+
formProps: PlusFormProps;
|
|
680
680
|
editable: boolean | "click" | "dblclick";
|
|
681
681
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
682
682
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -702,8 +702,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
702
702
|
column: PlusColumn;
|
|
703
703
|
row: RecordType;
|
|
704
704
|
index: number;
|
|
705
|
-
formProps: PlusFormProps;
|
|
706
705
|
rest: RecordType;
|
|
706
|
+
formProps: PlusFormProps;
|
|
707
707
|
editable: boolean | "click" | "dblclick";
|
|
708
708
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
709
709
|
onChange?: ((data: {
|
|
@@ -711,7 +711,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
711
711
|
prop: string;
|
|
712
712
|
row: RecordType;
|
|
713
713
|
}) => any) | undefined;
|
|
714
|
-
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "
|
|
714
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "formProps" | "editable")> & {
|
|
715
715
|
startCellEdit: () => void;
|
|
716
716
|
stopCellEdit: () => void;
|
|
717
717
|
getDisplayItemInstance: () => {
|
|
@@ -46,10 +46,10 @@ export declare const PlusVirtualTable: {
|
|
|
46
46
|
fixed: boolean;
|
|
47
47
|
border: boolean;
|
|
48
48
|
columns: PlusColumn[];
|
|
49
|
-
scrollbarAlwaysOn: boolean;
|
|
50
49
|
rowKey: string;
|
|
51
50
|
actionBar: false | Partial< ActionBarProps>;
|
|
52
51
|
stripe: boolean;
|
|
52
|
+
scrollbarAlwaysOn: boolean;
|
|
53
53
|
titleBar: boolean | {
|
|
54
54
|
title?: string;
|
|
55
55
|
refresh?: boolean;
|
|
@@ -99,10 +99,10 @@ export declare const PlusVirtualTable: {
|
|
|
99
99
|
fixed: boolean;
|
|
100
100
|
border: boolean;
|
|
101
101
|
columns: PlusColumn[];
|
|
102
|
-
scrollbarAlwaysOn: boolean;
|
|
103
102
|
rowKey: string;
|
|
104
103
|
actionBar: false | Partial< ActionBarProps>;
|
|
105
104
|
stripe: boolean;
|
|
105
|
+
scrollbarAlwaysOn: boolean;
|
|
106
106
|
titleBar: boolean | {
|
|
107
107
|
title?: string;
|
|
108
108
|
refresh?: boolean;
|
|
@@ -162,10 +162,10 @@ export declare const PlusVirtualTable: {
|
|
|
162
162
|
fixed: boolean;
|
|
163
163
|
border: boolean;
|
|
164
164
|
columns: PlusColumn[];
|
|
165
|
-
scrollbarAlwaysOn: boolean;
|
|
166
165
|
rowKey: string;
|
|
167
166
|
actionBar: false | Partial< ActionBarProps>;
|
|
168
167
|
stripe: boolean;
|
|
168
|
+
scrollbarAlwaysOn: boolean;
|
|
169
169
|
titleBar: boolean | {
|
|
170
170
|
title?: string;
|
|
171
171
|
refresh?: boolean;
|
|
@@ -50,10 +50,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
50
50
|
fixed: boolean;
|
|
51
51
|
border: boolean;
|
|
52
52
|
columns: PlusColumn[];
|
|
53
|
-
scrollbarAlwaysOn: boolean;
|
|
54
53
|
rowKey: string;
|
|
55
54
|
actionBar: false | Partial< ActionBarProps>;
|
|
56
55
|
stripe: boolean;
|
|
56
|
+
scrollbarAlwaysOn: boolean;
|
|
57
57
|
titleBar: boolean | {
|
|
58
58
|
title?: string;
|
|
59
59
|
refresh?: boolean;
|
|
@@ -23,11 +23,11 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
23
23
|
id: string;
|
|
24
24
|
}) => any) | undefined;
|
|
25
25
|
onDelete?: ((id: string) => any) | undefined;
|
|
26
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
26
27
|
onArchive?: ((id: string) => any) | undefined;
|
|
27
28
|
onShare?: ((id: string) => any) | undefined;
|
|
28
29
|
onUnarchive?: ((id: string) => any) | undefined;
|
|
29
30
|
onCreate?: (() => any) | undefined;
|
|
30
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
title: string;
|
|
33
33
|
loading: boolean;
|
|
@@ -13,8 +13,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
13
13
|
mode: DatePickerMode;
|
|
14
14
|
size: "small" | "default" | "large";
|
|
15
15
|
placeholder: string;
|
|
16
|
-
format: string;
|
|
17
16
|
clearable: boolean;
|
|
17
|
+
format: string;
|
|
18
18
|
rangeSeparator: string;
|
|
19
19
|
startPlaceholder: string;
|
|
20
20
|
endPlaceholder: string;
|
|
@@ -35,8 +35,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
35
35
|
monospace: boolean;
|
|
36
36
|
required: boolean;
|
|
37
37
|
modelValue: string | number;
|
|
38
|
-
readonly: boolean;
|
|
39
38
|
clearable: boolean;
|
|
39
|
+
readonly: boolean;
|
|
40
40
|
showPassword: boolean;
|
|
41
41
|
variant: YcInputVariant;
|
|
42
42
|
showCount: boolean;
|
|
@@ -17,8 +17,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
17
17
|
placeholder: string;
|
|
18
18
|
required: boolean;
|
|
19
19
|
modelValue: number | string | null;
|
|
20
|
-
readonly: boolean;
|
|
21
20
|
clearable: boolean;
|
|
21
|
+
readonly: boolean;
|
|
22
22
|
variant: YcInputVariant;
|
|
23
23
|
currency: string;
|
|
24
24
|
unit: string;
|