yc-agent-ui 1.2.5 → 1.2.7
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/chart/src/chart-card.vue.d.ts +21 -21
- package/es/components/chart/src/chart-container.vue.d.ts +2 -2
- package/es/components/chart/src/metric-card.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +8 -8
- package/es/components/descriptions/index.d.ts +12 -12
- package/es/components/descriptions/src/index.vue.d.ts +4 -4
- package/es/components/dialog/index.d.ts +12 -12
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +10 -10
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- 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 +25 -25
- package/es/components/drawer-form/src/index.vue.d.ts +11 -11
- package/es/components/form/index.d.ts +52 -52
- package/es/components/form/src/form-content.vue.d.ts +18 -18
- package/es/components/form/src/index.vue.d.ts +24 -24
- package/es/components/form-item/index.d.ts +67 -67
- package/es/components/form-item/src/index.vue.d.ts +26 -26
- package/es/components/input-tag/index.d.ts +3 -3
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +1209 -1209
- package/es/components/page/src/index.vue.d.ts +407 -407
- package/es/components/pagination/index.d.ts +3 -3
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/popover/index.d.ts +9 -9
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +5 -5
- package/es/components/radio/src/index.vue.d.ts +5 -5
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +348 -348
- package/es/components/search/src/index.vue.d.ts +120 -120
- 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-action-bar.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/utils/index.d.ts +4 -4
- 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/bubble.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/es/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/es/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/index.d.ts +20 -2
- package/es/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/es/components/yc-display-cards/src/types.d.ts +56 -0
- package/es/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/es/components/yc-input/src/input.vue.d.ts +5 -5
- package/es/components/yc-input/src/money-input.vue.d.ts +4 -4
- package/es/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/es/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/es/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/es/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +204 -204
- package/es/index.css +14 -13
- package/es/index.mjs +1 -1
- package/es/packages/components/index.mjs +1 -1
- package/es/packages/components/yc-display-cards/capability.mjs +25 -3
- package/es/packages/components/yc-display-cards/index.mjs +3 -1
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +907 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +78 -22
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -3
- package/index.js +1527 -541
- package/index.min.css +4 -3
- package/index.min.js +38 -37
- package/index.min.mjs +36 -35
- package/index.mjs +1525 -540
- package/lib/components/chart/src/chart-card.vue.d.ts +21 -21
- package/lib/components/chart/src/chart-container.vue.d.ts +2 -2
- package/lib/components/chart/src/metric-card.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +8 -8
- package/lib/components/descriptions/index.d.ts +12 -12
- package/lib/components/descriptions/src/index.vue.d.ts +4 -4
- package/lib/components/dialog/index.d.ts +12 -12
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +10 -10
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- 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 +25 -25
- package/lib/components/drawer-form/src/index.vue.d.ts +11 -11
- package/lib/components/form/index.d.ts +52 -52
- package/lib/components/form/src/form-content.vue.d.ts +18 -18
- package/lib/components/form/src/index.vue.d.ts +24 -24
- package/lib/components/form-item/index.d.ts +67 -67
- package/lib/components/form-item/src/index.vue.d.ts +26 -26
- package/lib/components/input-tag/index.d.ts +3 -3
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +1209 -1209
- package/lib/components/page/src/index.vue.d.ts +407 -407
- package/lib/components/pagination/index.d.ts +3 -3
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/popover/index.d.ts +9 -9
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +5 -5
- package/lib/components/radio/src/index.vue.d.ts +5 -5
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +348 -348
- package/lib/components/search/src/index.vue.d.ts +120 -120
- 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-action-bar.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/utils/index.d.ts +4 -4
- 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/bubble.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/lib/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/lib/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/index.d.ts +20 -2
- package/lib/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/src/types.d.ts +56 -0
- package/lib/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/lib/components/yc-input/src/input.vue.d.ts +5 -5
- package/lib/components/yc-input/src/money-input.vue.d.ts +4 -4
- package/lib/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/lib/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/lib/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/lib/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +204 -204
- package/lib/index.css +13 -12
- package/lib/index.js +1 -0
- package/lib/packages/components/index.js +1 -0
- package/lib/packages/components/yc-display-cards/capability.js +24 -2
- package/lib/packages/components/yc-display-cards/index.js +3 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/form-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +911 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +77 -21
- 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 -3
|
@@ -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, 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 {
|
|
5
|
+
import { PlusFormGroupRow, ElementPlusFormProps } from './type';
|
|
6
6
|
|
|
7
7
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
8
8
|
index: number;
|
|
@@ -17,8 +17,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
17
17
|
prop: PlusColumn["prop"];
|
|
18
18
|
}> & {
|
|
19
19
|
readonly label: string | ComputedRef<string>;
|
|
20
|
-
readonly modelValue: string | number | boolean |
|
|
21
|
-
readonly hasLabel: boolean |
|
|
20
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
21
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
22
22
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
23
23
|
style?: CSSProperties;
|
|
24
24
|
class?: any;
|
|
@@ -91,8 +91,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
91
91
|
fieldInstance?: any;
|
|
92
92
|
valueIsReady?: Ref<boolean>;
|
|
93
93
|
prop: PlusColumn["prop"];
|
|
94
|
-
modelValue: string | number | boolean |
|
|
95
|
-
hasLabel: boolean |
|
|
94
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
95
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
96
96
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
97
97
|
style?: CSSProperties;
|
|
98
98
|
class?: any;
|
|
@@ -130,8 +130,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
130
130
|
prop: PlusColumn["prop"];
|
|
131
131
|
}> & {
|
|
132
132
|
readonly label: string | ComputedRef<string>;
|
|
133
|
-
readonly modelValue: string | number | boolean |
|
|
134
|
-
readonly hasLabel: boolean |
|
|
133
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
134
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
135
135
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
136
136
|
style?: CSSProperties;
|
|
137
137
|
class?: any;
|
|
@@ -204,8 +204,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
204
204
|
fieldInstance?: any;
|
|
205
205
|
valueIsReady?: Ref<boolean>;
|
|
206
206
|
prop: PlusColumn["prop"];
|
|
207
|
-
modelValue: string | number | boolean |
|
|
208
|
-
hasLabel: boolean |
|
|
207
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
208
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
209
209
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
210
210
|
style?: CSSProperties;
|
|
211
211
|
class?: any;
|
|
@@ -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
|
-
ellipsis: boolean;
|
|
274
|
-
layout: "grid" | "flex";
|
|
275
|
-
columns: PlusColumn[];
|
|
276
273
|
modelValue: FieldValues;
|
|
277
|
-
|
|
278
|
-
|
|
274
|
+
columns: PlusColumn[];
|
|
275
|
+
layout: "grid" | "flex";
|
|
276
|
+
ellipsis: boolean;
|
|
277
|
+
collapseDuration: number;
|
|
278
|
+
collapseTransition: boolean;
|
|
279
|
+
group: false | PlusFormGroupRow[];
|
|
279
280
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
281
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
280
282
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
283
|
+
rules: ElementPlusFormProps["rules"];
|
|
284
|
+
defaultValues: FieldValues;
|
|
285
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
284
286
|
style?: CSSProperties;
|
|
285
287
|
class?: any;
|
|
286
288
|
} & RecordType>;
|
|
287
|
-
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, PublicProps, CSSProperties } from 'vue';
|
|
2
|
-
import { FieldValueType,
|
|
2
|
+
import { FieldValueType, RecordType, Mutable, OptionsType, PropsItemType, InputType, CascaderProps, OmitTypes, RenderTypes, OptionsRow, TableValueType, PlusColumn, FormItemValueType } from '../../types';
|
|
3
3
|
import { FormItemProp, FormItemRule, FormItemValidateState, ComponentSize, FormItemProps, FormValidateCallback, FormValidationResult, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
|
|
4
4
|
import { Arrayable } from 'element-plus/es/utils';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -77,7 +77,7 @@ export declare const PlusFormItem: {
|
|
|
77
77
|
labelPosition: "" | "left" | "right" | "top";
|
|
78
78
|
inlineMessage: boolean;
|
|
79
79
|
showMessage: boolean;
|
|
80
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
80
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
81
81
|
size: "" | "default" | "small" | "large";
|
|
82
82
|
validateMessage: string;
|
|
83
83
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -164,7 +164,7 @@ export declare const PlusFormItem: {
|
|
|
164
164
|
labelPosition: "" | "left" | "right" | "top";
|
|
165
165
|
inlineMessage: boolean;
|
|
166
166
|
showMessage: boolean;
|
|
167
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
167
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
168
168
|
size: "" | "default" | "small" | "large";
|
|
169
169
|
validateMessage: string;
|
|
170
170
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -190,8 +190,8 @@ export declare const PlusFormItem: {
|
|
|
190
190
|
"update:modelValue": (value: FieldValueType) => void;
|
|
191
191
|
change: (value: FieldValueType) => void;
|
|
192
192
|
}, PublicProps, {
|
|
193
|
-
options: OptionsType;
|
|
194
193
|
label: string | ComputedRef<string>;
|
|
194
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
195
195
|
ellipsis: boolean;
|
|
196
196
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
197
197
|
style?: CSSProperties;
|
|
@@ -200,12 +200,12 @@ export declare const PlusFormItem: {
|
|
|
200
200
|
style?: CSSProperties;
|
|
201
201
|
class?: any;
|
|
202
202
|
} & RecordType>>;
|
|
203
|
+
options: OptionsType;
|
|
203
204
|
index: number;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
205
|
+
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
206
|
+
[key: string]: any;
|
|
207
|
+
style?: CSSProperties;
|
|
208
|
+
}>;
|
|
209
209
|
fieldProps: PropsItemType<Partial<{
|
|
210
210
|
[index: string]: any;
|
|
211
211
|
[index: number]: any;
|
|
@@ -230,13 +230,20 @@ export declare const PlusFormItem: {
|
|
|
230
230
|
height: string | number;
|
|
231
231
|
autosize: InputAutoSize;
|
|
232
232
|
} & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
233
|
+
fieldSlots: {
|
|
234
|
+
[slotName: string]: (data?: any) => RenderTypes;
|
|
235
|
+
};
|
|
236
|
+
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
237
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
233
238
|
clearable: boolean;
|
|
234
|
-
|
|
235
|
-
[key: string]: any;
|
|
236
|
-
style?: CSSProperties;
|
|
237
|
-
}>;
|
|
239
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
238
240
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
239
|
-
|
|
241
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
242
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
243
|
+
value?: FieldValueType;
|
|
244
|
+
error?: string;
|
|
245
|
+
label?: string;
|
|
246
|
+
}) => RenderTypes;
|
|
240
247
|
optionsMap: {
|
|
241
248
|
label?: string;
|
|
242
249
|
value?: string;
|
|
@@ -247,13 +254,6 @@ export declare const PlusFormItem: {
|
|
|
247
254
|
transform?: (data: any) => OptionsRow[];
|
|
248
255
|
dictCode?: string;
|
|
249
256
|
};
|
|
250
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
251
|
-
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
252
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
253
|
-
value?: FieldValueType;
|
|
254
|
-
error?: string;
|
|
255
|
-
label?: string;
|
|
256
|
-
}) => RenderTypes;
|
|
257
257
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
258
258
|
P: {};
|
|
259
259
|
B: {};
|
|
@@ -332,7 +332,7 @@ export declare const PlusFormItem: {
|
|
|
332
332
|
labelPosition: "" | "left" | "right" | "top";
|
|
333
333
|
inlineMessage: boolean;
|
|
334
334
|
showMessage: boolean;
|
|
335
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
335
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
336
336
|
size: "" | "default" | "small" | "large";
|
|
337
337
|
validateMessage: string;
|
|
338
338
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -419,7 +419,7 @@ export declare const PlusFormItem: {
|
|
|
419
419
|
labelPosition: "" | "left" | "right" | "top";
|
|
420
420
|
inlineMessage: boolean;
|
|
421
421
|
showMessage: boolean;
|
|
422
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
422
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
423
423
|
size: "" | "default" | "small" | "large";
|
|
424
424
|
validateMessage: string;
|
|
425
425
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -442,8 +442,8 @@ export declare const PlusFormItem: {
|
|
|
442
442
|
}) | null | undefined>;
|
|
443
443
|
fieldInstance: Ref<any, any>;
|
|
444
444
|
}, {}, {}, {}, {
|
|
445
|
-
options: OptionsType;
|
|
446
445
|
label: string | ComputedRef<string>;
|
|
446
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
447
447
|
ellipsis: boolean;
|
|
448
448
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
449
449
|
style?: CSSProperties;
|
|
@@ -452,12 +452,12 @@ export declare const PlusFormItem: {
|
|
|
452
452
|
style?: CSSProperties;
|
|
453
453
|
class?: any;
|
|
454
454
|
} & RecordType>>;
|
|
455
|
+
options: OptionsType;
|
|
455
456
|
index: number;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
}
|
|
460
|
-
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
457
|
+
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
458
|
+
[key: string]: any;
|
|
459
|
+
style?: CSSProperties;
|
|
460
|
+
}>;
|
|
461
461
|
fieldProps: PropsItemType<Partial<{
|
|
462
462
|
[index: string]: any;
|
|
463
463
|
[index: number]: any;
|
|
@@ -482,13 +482,20 @@ export declare const PlusFormItem: {
|
|
|
482
482
|
height: string | number;
|
|
483
483
|
autosize: InputAutoSize;
|
|
484
484
|
} & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
485
|
+
fieldSlots: {
|
|
486
|
+
[slotName: string]: (data?: any) => RenderTypes;
|
|
487
|
+
};
|
|
488
|
+
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
489
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
485
490
|
clearable: boolean;
|
|
486
|
-
|
|
487
|
-
[key: string]: any;
|
|
488
|
-
style?: CSSProperties;
|
|
489
|
-
}>;
|
|
491
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
490
492
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
491
|
-
|
|
493
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
494
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
495
|
+
value?: FieldValueType;
|
|
496
|
+
error?: string;
|
|
497
|
+
label?: string;
|
|
498
|
+
}) => RenderTypes;
|
|
492
499
|
optionsMap: {
|
|
493
500
|
label?: string;
|
|
494
501
|
value?: string;
|
|
@@ -499,13 +506,6 @@ export declare const PlusFormItem: {
|
|
|
499
506
|
transform?: (data: any) => OptionsRow[];
|
|
500
507
|
dictCode?: string;
|
|
501
508
|
};
|
|
502
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
503
|
-
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
504
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
505
|
-
value?: FieldValueType;
|
|
506
|
-
error?: string;
|
|
507
|
-
label?: string;
|
|
508
|
-
}) => RenderTypes;
|
|
509
509
|
}>;
|
|
510
510
|
__isFragment?: never;
|
|
511
511
|
__isTeleport?: never;
|
|
@@ -581,7 +581,7 @@ export declare const PlusFormItem: {
|
|
|
581
581
|
labelPosition: "" | "left" | "right" | "top";
|
|
582
582
|
inlineMessage: boolean;
|
|
583
583
|
showMessage: boolean;
|
|
584
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
584
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
585
585
|
size: "" | "default" | "small" | "large";
|
|
586
586
|
validateMessage: string;
|
|
587
587
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -668,7 +668,7 @@ export declare const PlusFormItem: {
|
|
|
668
668
|
labelPosition: "" | "left" | "right" | "top";
|
|
669
669
|
inlineMessage: boolean;
|
|
670
670
|
showMessage: boolean;
|
|
671
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
671
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
672
672
|
size: "" | "default" | "small" | "large";
|
|
673
673
|
validateMessage: string;
|
|
674
674
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -694,8 +694,8 @@ export declare const PlusFormItem: {
|
|
|
694
694
|
"update:modelValue": (value: FieldValueType) => void;
|
|
695
695
|
change: (value: FieldValueType) => void;
|
|
696
696
|
}, string, {
|
|
697
|
-
options: OptionsType;
|
|
698
697
|
label: string | ComputedRef<string>;
|
|
698
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
699
699
|
ellipsis: boolean;
|
|
700
700
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
701
701
|
style?: CSSProperties;
|
|
@@ -704,12 +704,12 @@ export declare const PlusFormItem: {
|
|
|
704
704
|
style?: CSSProperties;
|
|
705
705
|
class?: any;
|
|
706
706
|
} & RecordType>>;
|
|
707
|
+
options: OptionsType;
|
|
707
708
|
index: number;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
}
|
|
712
|
-
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
709
|
+
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
710
|
+
[key: string]: any;
|
|
711
|
+
style?: CSSProperties;
|
|
712
|
+
}>;
|
|
713
713
|
fieldProps: PropsItemType<Partial<{
|
|
714
714
|
[index: string]: any;
|
|
715
715
|
[index: number]: any;
|
|
@@ -734,13 +734,20 @@ export declare const PlusFormItem: {
|
|
|
734
734
|
height: string | number;
|
|
735
735
|
autosize: InputAutoSize;
|
|
736
736
|
} & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
737
|
+
fieldSlots: {
|
|
738
|
+
[slotName: string]: (data?: any) => RenderTypes;
|
|
739
|
+
};
|
|
740
|
+
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
741
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
737
742
|
clearable: boolean;
|
|
738
|
-
|
|
739
|
-
[key: string]: any;
|
|
740
|
-
style?: CSSProperties;
|
|
741
|
-
}>;
|
|
743
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
742
744
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
743
|
-
|
|
745
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
746
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
747
|
+
value?: FieldValueType;
|
|
748
|
+
error?: string;
|
|
749
|
+
label?: string;
|
|
750
|
+
}) => RenderTypes;
|
|
744
751
|
optionsMap: {
|
|
745
752
|
label?: string;
|
|
746
753
|
value?: string;
|
|
@@ -751,13 +758,6 @@ export declare const PlusFormItem: {
|
|
|
751
758
|
transform?: (data: any) => OptionsRow[];
|
|
752
759
|
dictCode?: string;
|
|
753
760
|
};
|
|
754
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
755
|
-
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
756
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
757
|
-
value?: FieldValueType;
|
|
758
|
-
error?: string;
|
|
759
|
-
label?: string;
|
|
760
|
-
}) => RenderTypes;
|
|
761
761
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
762
762
|
$slots: Partial<Record<string, (_: {
|
|
763
763
|
label: string;
|
|
@@ -767,8 +767,8 @@ export declare const PlusFormItem: {
|
|
|
767
767
|
fieldInstance?: any;
|
|
768
768
|
valueIsReady?: Ref<boolean>;
|
|
769
769
|
prop: PlusColumn["prop"];
|
|
770
|
-
modelValue: string | number | boolean |
|
|
771
|
-
hasLabel: boolean |
|
|
770
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
771
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
772
772
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
773
773
|
style?: CSSProperties;
|
|
774
774
|
class?: any;
|
|
@@ -806,8 +806,8 @@ export declare const PlusFormItem: {
|
|
|
806
806
|
prop: PlusColumn["prop"];
|
|
807
807
|
}> & {
|
|
808
808
|
readonly label: string | ComputedRef<string>;
|
|
809
|
-
readonly modelValue: string | number | boolean |
|
|
810
|
-
readonly hasLabel: boolean |
|
|
809
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
810
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
811
811
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
812
812
|
style?: CSSProperties;
|
|
813
813
|
class?: any;
|
|
@@ -880,8 +880,8 @@ export declare const PlusFormItem: {
|
|
|
880
880
|
fieldInstance?: any;
|
|
881
881
|
valueIsReady?: Ref<boolean>;
|
|
882
882
|
prop: PlusColumn["prop"];
|
|
883
|
-
modelValue: string | number | boolean |
|
|
884
|
-
hasLabel: boolean |
|
|
883
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
884
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
885
885
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
886
886
|
style?: CSSProperties;
|
|
887
887
|
class?: any;
|
|
@@ -53,8 +53,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
53
53
|
fieldInstance?: any;
|
|
54
54
|
valueIsReady?: Ref<boolean>;
|
|
55
55
|
prop: PlusColumn["prop"];
|
|
56
|
-
modelValue: string | number | boolean |
|
|
57
|
-
hasLabel: boolean |
|
|
56
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
57
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
58
58
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
59
59
|
style?: CSSProperties;
|
|
60
60
|
class?: any;
|
|
@@ -92,8 +92,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
92
92
|
prop: PlusColumn["prop"];
|
|
93
93
|
}> & {
|
|
94
94
|
readonly label: string | ComputedRef<string>;
|
|
95
|
-
readonly modelValue: string | number | boolean |
|
|
96
|
-
readonly hasLabel: boolean |
|
|
95
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
96
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
97
97
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
98
98
|
style?: CSSProperties;
|
|
99
99
|
class?: any;
|
|
@@ -166,8 +166,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
166
166
|
fieldInstance?: any;
|
|
167
167
|
valueIsReady?: Ref<boolean>;
|
|
168
168
|
prop: PlusColumn["prop"];
|
|
169
|
-
modelValue: string | number | boolean |
|
|
170
|
-
hasLabel: boolean |
|
|
169
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
170
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
171
171
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
172
172
|
style?: CSSProperties;
|
|
173
173
|
class?: any;
|
|
@@ -271,7 +271,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
271
271
|
labelPosition: "" | "left" | "right" | "top";
|
|
272
272
|
inlineMessage: boolean;
|
|
273
273
|
showMessage: boolean;
|
|
274
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
274
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
275
275
|
size: "" | "default" | "small" | "large";
|
|
276
276
|
validateMessage: string;
|
|
277
277
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -358,7 +358,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
358
358
|
labelPosition: "" | "left" | "right" | "top";
|
|
359
359
|
inlineMessage: boolean;
|
|
360
360
|
showMessage: boolean;
|
|
361
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
361
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "required" | "size" | "labelPosition" | "validate" | "inlineMessage" | "showMessage" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & {
|
|
362
362
|
size: "" | "default" | "small" | "large";
|
|
363
363
|
validateMessage: string;
|
|
364
364
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -387,8 +387,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
387
387
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
388
388
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
389
389
|
}>, {
|
|
390
|
-
options: OptionsType;
|
|
391
390
|
label: string | ComputedRef<string>;
|
|
391
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
392
392
|
ellipsis: boolean;
|
|
393
393
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
394
394
|
style?: CSSProperties;
|
|
@@ -397,12 +397,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
397
397
|
style?: CSSProperties;
|
|
398
398
|
class?: any;
|
|
399
399
|
} & RecordType>>;
|
|
400
|
+
options: OptionsType;
|
|
400
401
|
index: number;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
405
|
-
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
402
|
+
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
403
|
+
[key: string]: any;
|
|
404
|
+
style?: CSSProperties;
|
|
405
|
+
}>;
|
|
406
406
|
fieldProps: PropsItemType<Partial<{
|
|
407
407
|
[index: string]: any;
|
|
408
408
|
[index: number]: any;
|
|
@@ -427,13 +427,20 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
427
427
|
height: string | number;
|
|
428
428
|
autosize: InputAutoSize;
|
|
429
429
|
} & Mutable<Omit< AutocompleteProps<AutocompleteDataItem>, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
430
|
+
fieldSlots: {
|
|
431
|
+
[slotName: string]: (data?: any) => RenderTypes;
|
|
432
|
+
};
|
|
433
|
+
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
434
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
430
435
|
clearable: boolean;
|
|
431
|
-
|
|
432
|
-
[key: string]: any;
|
|
433
|
-
style?: CSSProperties;
|
|
434
|
-
}>;
|
|
436
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
435
437
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
436
|
-
|
|
438
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
439
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
440
|
+
value?: FieldValueType;
|
|
441
|
+
error?: string;
|
|
442
|
+
label?: string;
|
|
443
|
+
}) => RenderTypes;
|
|
437
444
|
optionsMap: {
|
|
438
445
|
label?: string;
|
|
439
446
|
value?: string;
|
|
@@ -444,13 +451,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
444
451
|
transform?: (data: any) => OptionsRow[];
|
|
445
452
|
dictCode?: string;
|
|
446
453
|
};
|
|
447
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
448
|
-
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
449
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
450
|
-
value?: FieldValueType;
|
|
451
|
-
error?: string;
|
|
452
|
-
label?: string;
|
|
453
|
-
}) => RenderTypes;
|
|
454
454
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
455
455
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
456
456
|
export default _default;
|
|
@@ -15,16 +15,16 @@ export declare const PlusInputTag: DefineComponent<unknown, {
|
|
|
15
15
|
enter: (value: string, event: MouseEvent) => void;
|
|
16
16
|
space: (value: string, event: MouseEvent) => void;
|
|
17
17
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
18
|
-
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
19
18
|
onRemove?: ((tag: string) => any) | undefined;
|
|
19
|
+
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
20
20
|
onChange?: ((data: string[]) => any) | undefined;
|
|
21
|
-
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
22
|
+
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
23
23
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
trigger: ("blur" | "space" | "enter")[] | ("blur" | "space" | "enter");
|
|
26
25
|
disabled: boolean;
|
|
27
26
|
modelValue: string[];
|
|
27
|
+
trigger: ("blur" | "space" | "enter")[] | ("blur" | "space" | "enter");
|
|
28
28
|
inputProps: Partial< Mutable<InputProps> & IntrinsicAttributes>;
|
|
29
29
|
tagProps: Partial< Mutable<TagProps> & IntrinsicAttributes>;
|
|
30
30
|
limit: number;
|
|
@@ -40,16 +40,16 @@ declare const _default: DefineComponent<unknown, {
|
|
|
40
40
|
enter: (value: string, event: MouseEvent) => void;
|
|
41
41
|
space: (value: string, event: MouseEvent) => void;
|
|
42
42
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
43
|
-
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
44
43
|
onRemove?: ((tag: string) => any) | undefined;
|
|
44
|
+
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
45
45
|
onChange?: ((data: string[]) => any) | undefined;
|
|
46
|
-
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
47
46
|
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
47
|
+
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
48
48
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
|
-
trigger: TriggerType[] | TriggerType;
|
|
51
50
|
disabled: boolean;
|
|
52
51
|
modelValue: string[];
|
|
52
|
+
trigger: TriggerType[] | TriggerType;
|
|
53
53
|
inputProps: Partial<Mutable<InputProps> & IntrinsicAttributes>;
|
|
54
54
|
tagProps: Partial<Mutable<TagProps> & IntrinsicAttributes>;
|
|
55
55
|
limit: number;
|