yc-agent-ui 1.0.0 → 1.1.0
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/README.md +22 -0
- package/es/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/es/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +3 -3
- 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 +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +10 -10
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +36 -36
- package/es/components/form/src/form-content.vue.d.ts +15 -15
- package/es/components/form/src/index.vue.d.ts +18 -18
- package/es/components/form-item/index.d.ts +37 -37
- package/es/components/form-item/src/index.vue.d.ts +16 -16
- package/es/components/index.d.ts +4 -0
- package/es/components/page/index.d.ts +897 -897
- package/es/components/page/src/index.vue.d.ts +302 -302
- package/es/components/search/index.d.ts +242 -242
- package/es/components/search/src/index.vue.d.ts +84 -84
- package/es/components/table/index.d.ts +18 -18
- package/es/components/table/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/virtual-table/index.d.ts +10 -10
- package/es/components/virtual-table/src/index.vue.d.ts +3 -3
- package/es/components/yc-controls/capability.d.ts +4 -0
- package/es/components/yc-controls/index.d.ts +17 -0
- package/es/components/yc-controls/src/choice-cards.vue.d.ts +16 -0
- package/es/components/yc-controls/src/segmented.vue.d.ts +16 -0
- package/es/components/yc-controls/src/switch-row.vue.d.ts +13 -0
- package/es/components/yc-controls/src/type.d.ts +39 -0
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-feedback/capability.d.ts +4 -0
- package/es/components/yc-feedback/index.d.ts +21 -0
- package/es/components/yc-feedback/src/banner.vue.d.ts +22 -0
- package/es/components/yc-feedback/src/empty-state.vue.d.ts +20 -0
- package/es/components/yc-feedback/src/key-value-list.vue.d.ts +22 -0
- package/es/components/yc-feedback/src/timeline.vue.d.ts +7 -0
- package/es/components/yc-feedback/src/type.d.ts +46 -0
- package/es/components/yc-input/capability.d.ts +4 -0
- package/es/components/yc-input/index.d.ts +21 -0
- package/es/components/yc-input/src/input.vue.d.ts +50 -0
- package/es/components/yc-input/src/money-input.vue.d.ts +26 -0
- package/es/components/yc-input/src/stepper-input.vue.d.ts +18 -0
- package/es/components/yc-input/src/textarea.vue.d.ts +35 -0
- package/es/components/yc-input/src/type.d.ts +82 -0
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/es/components/yc-plus-page/src/index.vue.d.ts +917 -917
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-property-table/capability.d.ts +4 -0
- package/es/components/yc-property-table/index.d.ts +30 -0
- package/es/components/yc-property-table/src/asset-table.vue.d.ts +17 -0
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +18 -0
- package/es/components/yc-property-table/src/device-table.vue.d.ts +17 -0
- package/es/components/yc-property-table/src/order-table.vue.d.ts +18 -0
- package/es/components/yc-property-table/src/property-table.vue.d.ts +91 -0
- package/es/components/yc-property-table/src/type.d.ts +214 -0
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +66 -66
- package/es/index.css +9 -9
- package/es/index.mjs +4 -0
- package/es/packages/components/index.mjs +4 -0
- package/es/packages/components/table/capability.mjs +10 -29
- package/es/packages/components/yc-card/capability.mjs +53 -13
- package/es/packages/components/yc-controls/capability.mjs +100 -0
- package/es/packages/components/yc-controls/index.mjs +13 -0
- package/es/packages/components/yc-controls/src/choice-cards.vue.mjs +5 -0
- package/es/packages/components/yc-controls/src/choice-cards2.vue.mjs +157 -0
- package/es/packages/components/yc-controls/src/segmented.vue.mjs +5 -0
- package/es/packages/components/yc-controls/src/segmented2.vue.mjs +78 -0
- package/es/packages/components/yc-controls/src/switch-row.vue.mjs +5 -0
- package/es/packages/components/yc-controls/src/switch-row2.vue.mjs +95 -0
- package/es/packages/components/yc-controls/src/type.mjs +1 -0
- package/es/packages/components/yc-feedback/capability.mjs +109 -0
- package/es/packages/components/yc-feedback/index.mjs +16 -0
- package/es/packages/components/yc-feedback/src/banner.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/banner2.vue.mjs +230 -0
- package/es/packages/components/yc-feedback/src/empty-state.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/empty-state2.vue.mjs +97 -0
- package/es/packages/components/yc-feedback/src/key-value-list.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/key-value-list2.vue.mjs +194 -0
- package/es/packages/components/yc-feedback/src/timeline.vue.mjs +5 -0
- package/es/packages/components/yc-feedback/src/timeline2.vue.mjs +134 -0
- package/es/packages/components/yc-feedback/src/type.mjs +1 -0
- package/es/packages/components/yc-input/capability.mjs +112 -0
- package/es/packages/components/yc-input/index.mjs +16 -0
- package/es/packages/components/yc-input/src/input.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/input2.vue.mjs +427 -0
- package/es/packages/components/yc-input/src/money-input.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/money-input2.vue.mjs +242 -0
- package/es/packages/components/yc-input/src/stepper-input.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/stepper-input2.vue.mjs +211 -0
- package/es/packages/components/yc-input/src/textarea.vue.mjs +5 -0
- package/es/packages/components/yc-input/src/textarea2.vue.mjs +158 -0
- package/es/packages/components/yc-input/src/type.mjs +1 -0
- package/es/packages/components/yc-property-table/capability.mjs +350 -0
- package/es/packages/components/yc-property-table/index.mjs +24 -0
- package/es/packages/components/yc-property-table/src/asset-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/asset-table2.vue.mjs +405 -0
- package/es/packages/components/yc-property-table/src/bill-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/bill-table2.vue.mjs +654 -0
- package/es/packages/components/yc-property-table/src/device-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/device-table2.vue.mjs +324 -0
- package/es/packages/components/yc-property-table/src/order-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/order-table2.vue.mjs +363 -0
- package/es/packages/components/yc-property-table/src/property-table.vue.mjs +5 -0
- package/es/packages/components/yc-property-table/src/property-table2.vue.mjs +1228 -0
- package/es/packages/components/yc-property-table/src/type.mjs +1 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +6385 -1362
- package/index.min.js +24 -24
- package/index.min.mjs +26 -26
- package/index.mjs +6341 -1355
- package/lib/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/lib/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +3 -3
- 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 +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +10 -10
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +36 -36
- package/lib/components/form/src/form-content.vue.d.ts +15 -15
- package/lib/components/form/src/index.vue.d.ts +18 -18
- package/lib/components/form-item/index.d.ts +37 -37
- package/lib/components/form-item/src/index.vue.d.ts +16 -16
- package/lib/components/index.d.ts +4 -0
- package/lib/components/page/index.d.ts +897 -897
- package/lib/components/page/src/index.vue.d.ts +302 -302
- package/lib/components/search/index.d.ts +242 -242
- package/lib/components/search/src/index.vue.d.ts +84 -84
- package/lib/components/table/index.d.ts +18 -18
- package/lib/components/table/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/virtual-table/index.d.ts +10 -10
- package/lib/components/virtual-table/src/index.vue.d.ts +3 -3
- package/lib/components/yc-controls/capability.d.ts +4 -0
- package/lib/components/yc-controls/index.d.ts +17 -0
- package/lib/components/yc-controls/src/choice-cards.vue.d.ts +16 -0
- package/lib/components/yc-controls/src/segmented.vue.d.ts +16 -0
- package/lib/components/yc-controls/src/switch-row.vue.d.ts +13 -0
- package/lib/components/yc-controls/src/type.d.ts +39 -0
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-feedback/capability.d.ts +4 -0
- package/lib/components/yc-feedback/index.d.ts +21 -0
- package/lib/components/yc-feedback/src/banner.vue.d.ts +22 -0
- package/lib/components/yc-feedback/src/empty-state.vue.d.ts +20 -0
- package/lib/components/yc-feedback/src/key-value-list.vue.d.ts +22 -0
- package/lib/components/yc-feedback/src/timeline.vue.d.ts +7 -0
- package/lib/components/yc-feedback/src/type.d.ts +46 -0
- package/lib/components/yc-input/capability.d.ts +4 -0
- package/lib/components/yc-input/index.d.ts +21 -0
- package/lib/components/yc-input/src/input.vue.d.ts +50 -0
- package/lib/components/yc-input/src/money-input.vue.d.ts +26 -0
- package/lib/components/yc-input/src/stepper-input.vue.d.ts +18 -0
- package/lib/components/yc-input/src/textarea.vue.d.ts +35 -0
- package/lib/components/yc-input/src/type.d.ts +82 -0
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/lib/components/yc-plus-page/src/index.vue.d.ts +917 -917
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-property-table/capability.d.ts +4 -0
- package/lib/components/yc-property-table/index.d.ts +30 -0
- package/lib/components/yc-property-table/src/asset-table.vue.d.ts +17 -0
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +18 -0
- package/lib/components/yc-property-table/src/device-table.vue.d.ts +17 -0
- package/lib/components/yc-property-table/src/order-table.vue.d.ts +18 -0
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +91 -0
- package/lib/components/yc-property-table/src/type.d.ts +214 -0
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +66 -66
- package/lib/index.css +11 -11
- package/lib/index.js +176 -135
- package/lib/packages/components/index.js +172 -131
- package/lib/packages/components/table/capability.js +10 -29
- package/lib/packages/components/yc-card/capability.js +53 -13
- package/lib/packages/components/yc-controls/capability.js +104 -0
- package/lib/packages/components/yc-controls/index.js +23 -0
- package/lib/packages/components/yc-controls/src/choice-cards.vue.js +9 -0
- package/lib/packages/components/yc-controls/src/choice-cards2.vue.js +161 -0
- package/lib/packages/components/yc-controls/src/segmented.vue.js +9 -0
- package/lib/packages/components/yc-controls/src/segmented2.vue.js +82 -0
- package/lib/packages/components/yc-controls/src/switch-row.vue.js +9 -0
- package/lib/packages/components/yc-controls/src/switch-row2.vue.js +99 -0
- package/lib/packages/components/yc-controls/src/type.js +2 -0
- package/lib/packages/components/yc-feedback/capability.js +113 -0
- package/lib/packages/components/yc-feedback/index.js +28 -0
- package/lib/packages/components/yc-feedback/src/banner.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/banner2.vue.js +234 -0
- package/lib/packages/components/yc-feedback/src/empty-state.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/empty-state2.vue.js +101 -0
- package/lib/packages/components/yc-feedback/src/key-value-list.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/key-value-list2.vue.js +198 -0
- package/lib/packages/components/yc-feedback/src/timeline.vue.js +9 -0
- package/lib/packages/components/yc-feedback/src/timeline2.vue.js +138 -0
- package/lib/packages/components/yc-feedback/src/type.js +2 -0
- package/lib/packages/components/yc-input/capability.js +116 -0
- package/lib/packages/components/yc-input/index.js +28 -0
- package/lib/packages/components/yc-input/src/input.vue.js +9 -0
- package/lib/packages/components/yc-input/src/input2.vue.js +431 -0
- package/lib/packages/components/yc-input/src/money-input.vue.js +9 -0
- package/lib/packages/components/yc-input/src/money-input2.vue.js +246 -0
- package/lib/packages/components/yc-input/src/stepper-input.vue.js +9 -0
- package/lib/packages/components/yc-input/src/stepper-input2.vue.js +215 -0
- package/lib/packages/components/yc-input/src/textarea.vue.js +9 -0
- package/lib/packages/components/yc-input/src/textarea2.vue.js +162 -0
- package/lib/packages/components/yc-input/src/type.js +2 -0
- package/lib/packages/components/yc-property-table/capability.js +354 -0
- package/lib/packages/components/yc-property-table/index.js +43 -0
- package/lib/packages/components/yc-property-table/src/asset-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/asset-table2.vue.js +409 -0
- package/lib/packages/components/yc-property-table/src/bill-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/bill-table2.vue.js +658 -0
- package/lib/packages/components/yc-property-table/src/device-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/device-table2.vue.js +328 -0
- package/lib/packages/components/yc-property-table/src/order-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/order-table2.vue.js +367 -0
- package/lib/packages/components/yc-property-table/src/property-table.vue.js +9 -0
- package/lib/packages/components/yc-property-table/src/property-table2.vue.js +1232 -0
- package/lib/packages/components/yc-property-table/src/type.js +2 -0
- 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
- package/theme-chalk/plus-yc-controls.css +1 -0
- package/theme-chalk/plus-yc-feedback.css +1 -0
- package/theme-chalk/plus-yc-input.css +1 -0
- package/theme-chalk/plus-yc-property-table.css +1 -0
- package/theme-chalk/src/index.scss +4 -0
- package/theme-chalk/src/yc-controls.scss +316 -0
- package/theme-chalk/src/yc-feedback.scss +452 -0
- package/theme-chalk/src/yc-input.scss +473 -0
- package/theme-chalk/src/yc-property-table.scss +1700 -0
|
@@ -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 |
|
|
144
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
145
145
|
style?: CSSProperties;
|
|
146
146
|
class?: any;
|
|
147
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
147
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
148
148
|
style?: CSSProperties;
|
|
149
149
|
class?: any;
|
|
150
150
|
} & RecordType>>;
|
|
@@ -215,10 +215,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
215
215
|
prop: PlusColumn["prop"];
|
|
216
216
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
217
217
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
218
|
-
tooltip: string |
|
|
218
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
219
219
|
style?: CSSProperties;
|
|
220
220
|
class?: any;
|
|
221
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
221
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
222
222
|
style?: CSSProperties;
|
|
223
223
|
class?: any;
|
|
224
224
|
} & RecordType>>;
|
|
@@ -254,10 +254,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
254
254
|
readonly label: string | ComputedRef<string>;
|
|
255
255
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
256
256
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
257
|
-
readonly tooltip: string |
|
|
257
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
258
258
|
style?: CSSProperties;
|
|
259
259
|
class?: any;
|
|
260
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
260
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
261
261
|
style?: CSSProperties;
|
|
262
262
|
class?: any;
|
|
263
263
|
} & RecordType>>;
|
|
@@ -328,10 +328,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
328
328
|
prop: PlusColumn["prop"];
|
|
329
329
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
330
330
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
331
|
-
tooltip: string |
|
|
331
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
332
332
|
style?: CSSProperties;
|
|
333
333
|
class?: any;
|
|
334
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
334
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
335
335
|
style?: CSSProperties;
|
|
336
336
|
class?: any;
|
|
337
337
|
} & RecordType>>;
|
|
@@ -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,4 +1,4 @@
|
|
|
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';
|
|
@@ -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 |
|
|
22
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
23
23
|
style?: CSSProperties;
|
|
24
24
|
class?: any;
|
|
25
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
25
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
26
26
|
style?: CSSProperties;
|
|
27
27
|
class?: any;
|
|
28
28
|
} & RecordType>>;
|
|
@@ -93,10 +93,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
93
93
|
prop: PlusColumn["prop"];
|
|
94
94
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
95
95
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
96
|
-
tooltip: string |
|
|
96
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
97
97
|
style?: CSSProperties;
|
|
98
98
|
class?: any;
|
|
99
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
99
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
100
100
|
style?: CSSProperties;
|
|
101
101
|
class?: any;
|
|
102
102
|
} & RecordType>>;
|
|
@@ -132,10 +132,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
132
132
|
readonly label: string | ComputedRef<string>;
|
|
133
133
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
134
134
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
135
|
-
readonly tooltip: string |
|
|
135
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
136
136
|
style?: CSSProperties;
|
|
137
137
|
class?: any;
|
|
138
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
138
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
139
139
|
style?: CSSProperties;
|
|
140
140
|
class?: any;
|
|
141
141
|
} & RecordType>>;
|
|
@@ -206,10 +206,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
206
206
|
prop: PlusColumn["prop"];
|
|
207
207
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
208
208
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
209
|
-
tooltip: string |
|
|
209
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
210
210
|
style?: CSSProperties;
|
|
211
211
|
class?: any;
|
|
212
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
212
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
213
213
|
style?: CSSProperties;
|
|
214
214
|
class?: any;
|
|
215
215
|
} & RecordType>>;
|
|
@@ -267,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
|
-
collapseDuration: number;
|
|
278
|
-
collapseTransition: boolean;
|
|
279
277
|
group: false | PlusFormGroupRow[];
|
|
278
|
+
clearable: boolean;
|
|
280
279
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
281
280
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
282
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
283
281
|
rules: ElementPlusFormProps["rules"];
|
|
284
|
-
|
|
285
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
282
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
286
283
|
style?: CSSProperties;
|
|
287
284
|
class?: any;
|
|
288
285
|
} & RecordType>;
|
|
289
|
-
|
|
286
|
+
hasLabel: boolean;
|
|
287
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, PublicProps, CSSProperties } from 'vue';
|
|
2
|
-
import { FieldValueType, OptionsType, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, RenderTypes, OptionsRow,
|
|
2
|
+
import { FieldValueType, OptionsType, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, RenderTypes, OptionsRow, PlusColumn, TableValueType, FormItemValueType } from '../../types';
|
|
3
3
|
import { FormItemProp, FormItemRule, FormItemValidateState, ComponentSize, FormItemProps, FormValidateCallback, FormValidationResult, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
|
|
4
4
|
import { Arrayable } from 'element-plus/es/utils';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -77,7 +77,7 @@ export declare const PlusFormItem: {
|
|
|
77
77
|
labelPosition: "" | "left" | "right" | "top";
|
|
78
78
|
inlineMessage: boolean;
|
|
79
79
|
showMessage: boolean;
|
|
80
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
80
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
81
81
|
size: "" | "default" | "small" | "large";
|
|
82
82
|
validateMessage: string;
|
|
83
83
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -164,7 +164,7 @@ export declare const PlusFormItem: {
|
|
|
164
164
|
labelPosition: "" | "left" | "right" | "top";
|
|
165
165
|
inlineMessage: boolean;
|
|
166
166
|
showMessage: boolean;
|
|
167
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
167
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
168
168
|
size: "" | "default" | "small" | "large";
|
|
169
169
|
validateMessage: string;
|
|
170
170
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -234,16 +234,9 @@ export declare const PlusFormItem: {
|
|
|
234
234
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
235
235
|
};
|
|
236
236
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
237
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
238
237
|
clearable: boolean;
|
|
239
|
-
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
240
238
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
241
|
-
|
|
242
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
243
|
-
value?: FieldValueType;
|
|
244
|
-
error?: string;
|
|
245
|
-
label?: string;
|
|
246
|
-
}) => RenderTypes;
|
|
239
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
247
240
|
optionsMap: {
|
|
248
241
|
label?: string;
|
|
249
242
|
value?: string;
|
|
@@ -254,6 +247,13 @@ export declare const PlusFormItem: {
|
|
|
254
247
|
transform?: (data: any) => OptionsRow[];
|
|
255
248
|
dictCode?: string;
|
|
256
249
|
};
|
|
250
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
251
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
252
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
253
|
+
value?: FieldValueType;
|
|
254
|
+
error?: string;
|
|
255
|
+
label?: string;
|
|
256
|
+
}) => RenderTypes;
|
|
257
257
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
258
258
|
P: {};
|
|
259
259
|
B: {};
|
|
@@ -332,7 +332,7 @@ export declare const PlusFormItem: {
|
|
|
332
332
|
labelPosition: "" | "left" | "right" | "top";
|
|
333
333
|
inlineMessage: boolean;
|
|
334
334
|
showMessage: boolean;
|
|
335
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
335
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
336
336
|
size: "" | "default" | "small" | "large";
|
|
337
337
|
validateMessage: string;
|
|
338
338
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -419,7 +419,7 @@ export declare const PlusFormItem: {
|
|
|
419
419
|
labelPosition: "" | "left" | "right" | "top";
|
|
420
420
|
inlineMessage: boolean;
|
|
421
421
|
showMessage: boolean;
|
|
422
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
422
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
423
423
|
size: "" | "default" | "small" | "large";
|
|
424
424
|
validateMessage: string;
|
|
425
425
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -486,16 +486,9 @@ export declare const PlusFormItem: {
|
|
|
486
486
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
487
487
|
};
|
|
488
488
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
489
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
490
489
|
clearable: boolean;
|
|
491
|
-
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
492
490
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
493
|
-
|
|
494
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
495
|
-
value?: FieldValueType;
|
|
496
|
-
error?: string;
|
|
497
|
-
label?: string;
|
|
498
|
-
}) => RenderTypes;
|
|
491
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
499
492
|
optionsMap: {
|
|
500
493
|
label?: string;
|
|
501
494
|
value?: string;
|
|
@@ -506,6 +499,13 @@ export declare const PlusFormItem: {
|
|
|
506
499
|
transform?: (data: any) => OptionsRow[];
|
|
507
500
|
dictCode?: string;
|
|
508
501
|
};
|
|
502
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
503
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
504
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
505
|
+
value?: FieldValueType;
|
|
506
|
+
error?: string;
|
|
507
|
+
label?: string;
|
|
508
|
+
}) => RenderTypes;
|
|
509
509
|
}>;
|
|
510
510
|
__isFragment?: never;
|
|
511
511
|
__isTeleport?: never;
|
|
@@ -581,7 +581,7 @@ export declare const PlusFormItem: {
|
|
|
581
581
|
labelPosition: "" | "left" | "right" | "top";
|
|
582
582
|
inlineMessage: boolean;
|
|
583
583
|
showMessage: boolean;
|
|
584
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
584
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
585
585
|
size: "" | "default" | "small" | "large";
|
|
586
586
|
validateMessage: string;
|
|
587
587
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -668,7 +668,7 @@ export declare const PlusFormItem: {
|
|
|
668
668
|
labelPosition: "" | "left" | "right" | "top";
|
|
669
669
|
inlineMessage: boolean;
|
|
670
670
|
showMessage: boolean;
|
|
671
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
671
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
672
672
|
size: "" | "default" | "small" | "large";
|
|
673
673
|
validateMessage: string;
|
|
674
674
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -738,16 +738,9 @@ export declare const PlusFormItem: {
|
|
|
738
738
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
739
739
|
};
|
|
740
740
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
741
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
742
741
|
clearable: boolean;
|
|
743
|
-
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
744
742
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
745
|
-
|
|
746
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
747
|
-
value?: FieldValueType;
|
|
748
|
-
error?: string;
|
|
749
|
-
label?: string;
|
|
750
|
-
}) => RenderTypes;
|
|
743
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
751
744
|
optionsMap: {
|
|
752
745
|
label?: string;
|
|
753
746
|
value?: string;
|
|
@@ -758,6 +751,13 @@ export declare const PlusFormItem: {
|
|
|
758
751
|
transform?: (data: any) => OptionsRow[];
|
|
759
752
|
dictCode?: string;
|
|
760
753
|
};
|
|
754
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
755
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
756
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
757
|
+
value?: FieldValueType;
|
|
758
|
+
error?: string;
|
|
759
|
+
label?: string;
|
|
760
|
+
}) => RenderTypes;
|
|
761
761
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
762
762
|
$slots: Partial<Record<string, (_: {
|
|
763
763
|
label: string;
|
|
@@ -769,10 +769,10 @@ export declare const PlusFormItem: {
|
|
|
769
769
|
prop: PlusColumn["prop"];
|
|
770
770
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
771
771
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
772
|
-
tooltip: string |
|
|
772
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
773
773
|
style?: CSSProperties;
|
|
774
774
|
class?: any;
|
|
775
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
775
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
776
776
|
style?: CSSProperties;
|
|
777
777
|
class?: any;
|
|
778
778
|
} & RecordType>>;
|
|
@@ -808,10 +808,10 @@ export declare const PlusFormItem: {
|
|
|
808
808
|
readonly label: string | ComputedRef<string>;
|
|
809
809
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
810
810
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
811
|
-
readonly tooltip: string |
|
|
811
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
812
812
|
style?: CSSProperties;
|
|
813
813
|
class?: any;
|
|
814
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
814
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
815
815
|
style?: CSSProperties;
|
|
816
816
|
class?: any;
|
|
817
817
|
} & RecordType>>;
|
|
@@ -882,10 +882,10 @@ export declare const PlusFormItem: {
|
|
|
882
882
|
prop: PlusColumn["prop"];
|
|
883
883
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
884
884
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
885
|
-
tooltip: string |
|
|
885
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
886
886
|
style?: CSSProperties;
|
|
887
887
|
class?: any;
|
|
888
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
888
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
889
889
|
style?: CSSProperties;
|
|
890
890
|
class?: any;
|
|
891
891
|
} & RecordType>>;
|
|
@@ -55,10 +55,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
55
55
|
prop: PlusColumn["prop"];
|
|
56
56
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
57
57
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
58
|
-
tooltip: string |
|
|
58
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
59
59
|
style?: CSSProperties;
|
|
60
60
|
class?: any;
|
|
61
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
61
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
62
62
|
style?: CSSProperties;
|
|
63
63
|
class?: any;
|
|
64
64
|
} & RecordType>>;
|
|
@@ -94,10 +94,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
94
94
|
readonly label: string | ComputedRef<string>;
|
|
95
95
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
96
96
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
97
|
-
readonly tooltip: string |
|
|
97
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
98
98
|
style?: CSSProperties;
|
|
99
99
|
class?: any;
|
|
100
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
100
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
101
101
|
style?: CSSProperties;
|
|
102
102
|
class?: any;
|
|
103
103
|
} & RecordType>>;
|
|
@@ -168,10 +168,10 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
168
168
|
prop: PlusColumn["prop"];
|
|
169
169
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
170
170
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
171
|
-
tooltip: string |
|
|
171
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
172
172
|
style?: CSSProperties;
|
|
173
173
|
class?: any;
|
|
174
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
174
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
175
175
|
style?: CSSProperties;
|
|
176
176
|
class?: any;
|
|
177
177
|
} & RecordType>>;
|
|
@@ -271,7 +271,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
271
271
|
labelPosition: "" | "left" | "right" | "top";
|
|
272
272
|
inlineMessage: boolean;
|
|
273
273
|
showMessage: boolean;
|
|
274
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
274
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
275
275
|
size: "" | "default" | "small" | "large";
|
|
276
276
|
validateMessage: string;
|
|
277
277
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -358,7 +358,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
358
358
|
labelPosition: "" | "left" | "right" | "top";
|
|
359
359
|
inlineMessage: boolean;
|
|
360
360
|
showMessage: boolean;
|
|
361
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "
|
|
361
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
362
362
|
size: "" | "default" | "small" | "large";
|
|
363
363
|
validateMessage: string;
|
|
364
364
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -431,16 +431,9 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
431
431
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
432
432
|
};
|
|
433
433
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
434
|
-
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
435
434
|
clearable: boolean;
|
|
436
|
-
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
437
435
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
438
|
-
|
|
439
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
440
|
-
value?: FieldValueType;
|
|
441
|
-
error?: string;
|
|
442
|
-
label?: string;
|
|
443
|
-
}) => RenderTypes;
|
|
436
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
444
437
|
optionsMap: {
|
|
445
438
|
label?: string;
|
|
446
439
|
value?: string;
|
|
@@ -451,6 +444,13 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
451
444
|
transform?: (data: any) => OptionsRow[];
|
|
452
445
|
dictCode?: string;
|
|
453
446
|
};
|
|
447
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
448
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
449
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
450
|
+
value?: FieldValueType;
|
|
451
|
+
error?: string;
|
|
452
|
+
label?: string;
|
|
453
|
+
}) => RenderTypes;
|
|
454
454
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
455
455
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
456
456
|
export default _default;
|
|
@@ -35,5 +35,9 @@ export * from './yc-gradient-card';
|
|
|
35
35
|
export * from './yc-questionnaire';
|
|
36
36
|
export * from './yc-pagination';
|
|
37
37
|
export * from './yc-input-otp';
|
|
38
|
+
export * from './yc-input';
|
|
39
|
+
export * from './yc-controls';
|
|
40
|
+
export * from './yc-feedback';
|
|
38
41
|
export * from './yc-coss-table';
|
|
42
|
+
export * from './yc-property-table';
|
|
39
43
|
export * from './constants/gradients';
|