yc-agent-ui 1.2.8 → 1.2.10
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/data-table/src/data-table.vue.d.ts +2 -2
- package/es/components/drawer-form/index.d.ts +6 -6
- package/es/components/drawer-form/src/index.vue.d.ts +2 -2
- package/es/components/form/index.d.ts +28 -28
- package/es/components/form/src/form-content.vue.d.ts +7 -7
- package/es/components/form/src/index.vue.d.ts +10 -10
- package/es/components/form-item/index.d.ts +31 -31
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +725 -725
- package/es/components/page/src/index.vue.d.ts +242 -242
- package/es/components/search/index.d.ts +190 -190
- package/es/components/search/src/index.vue.d.ts +64 -64
- package/es/components/table/index.d.ts +18 -18
- package/es/components/table/src/index.vue.d.ts +2 -2
- 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-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/sender.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/sidebar.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.vue.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/index.d.ts +218 -3
- package/es/components/yc-display-cards/src/card-renderer.vue.d.ts +16 -0
- package/es/components/yc-display-cards/src/elements/action-bar.vue.d.ts +12 -0
- package/es/components/yc-display-cards/src/elements/card-shell.vue.d.ts +24 -0
- package/es/components/yc-display-cards/src/elements/choice-group.vue.d.ts +14 -0
- package/es/components/yc-display-cards/src/elements/data-table.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/elements/field-control.vue.d.ts +22 -0
- package/es/components/yc-display-cards/src/elements/field-utils.d.ts +16 -0
- package/es/components/yc-display-cards/src/elements/form-field.vue.d.ts +18 -0
- package/es/components/yc-display-cards/src/elements/inline-alert.vue.d.ts +14 -0
- package/es/components/yc-display-cards/src/elements/input.vue.d.ts +20 -0
- package/es/components/yc-display-cards/src/elements/kv-list.vue.d.ts +8 -0
- package/es/components/yc-display-cards/src/elements/metric-grid.vue.d.ts +7 -0
- package/es/components/yc-display-cards/src/elements/status-tag.vue.d.ts +6 -0
- package/es/components/yc-display-cards/src/elements/switch.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/elements/upload.vue.d.ts +17 -0
- package/es/components/yc-display-cards/src/elements/use-card-form.d.ts +23 -0
- package/es/components/yc-display-cards/src/form-card.vue.d.ts +5 -2
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -2
- package/es/components/yc-display-cards/src/types.d.ts +179 -10
- package/es/components/yc-feedback/src/banner.vue.d.ts +1 -1
- package/es/components/yc-feedback/src/key-value-list.vue.d.ts +1 -1
- package/es/components/yc-input/src/input.vue.d.ts +1 -1
- package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/es/components/yc-input/src/textarea.vue.d.ts +2 -2
- 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 +741 -741
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/property-table.vue.d.ts +2 -2
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +18 -18
- package/es/index.css +29 -23
- package/es/index.mjs +3 -1
- package/es/packages/components/index.mjs +3 -1
- package/es/packages/components/yc-display-cards/capability.mjs +57 -1
- package/es/packages/components/yc-display-cards/index.mjs +31 -1
- package/es/packages/components/yc-display-cards/src/card-renderer.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/card-renderer2.vue.mjs +295 -0
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +28 -94
- package/es/packages/components/yc-display-cards/src/elements/action-bar.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/action-bar2.vue.mjs +38 -0
- package/es/packages/components/yc-display-cards/src/elements/card-shell.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/card-shell2.vue.mjs +85 -0
- package/es/packages/components/yc-display-cards/src/elements/choice-group.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/choice-group2.vue.mjs +57 -0
- package/es/packages/components/yc-display-cards/src/elements/data-table.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/data-table2.vue.mjs +184 -0
- package/es/packages/components/yc-display-cards/src/elements/field-control.vue.mjs +5 -0
- package/es/packages/components/yc-display-cards/src/elements/field-control2.vue.mjs +92 -0
- package/es/packages/components/yc-display-cards/src/elements/field-utils.mjs +121 -0
- package/es/packages/components/yc-display-cards/src/elements/form-field.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/form-field2.vue.mjs +68 -0
- package/es/packages/components/yc-display-cards/src/elements/inline-alert.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/inline-alert2.vue.mjs +29 -0
- package/es/packages/components/yc-display-cards/src/elements/input.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/input2.vue.mjs +142 -0
- package/es/packages/components/yc-display-cards/src/elements/kv-list.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/kv-list2.vue.mjs +63 -0
- package/es/packages/components/yc-display-cards/src/elements/metric-grid.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/metric-grid2.vue.mjs +97 -0
- package/es/packages/components/yc-display-cards/src/elements/status-tag.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/status-tag2.vue.mjs +25 -0
- package/es/packages/components/yc-display-cards/src/elements/switch.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/switch2.vue.mjs +35 -0
- package/es/packages/components/yc-display-cards/src/elements/upload.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/upload2.vue.mjs +196 -0
- package/es/packages/components/yc-display-cards/src/elements/use-card-form.mjs +80 -0
- package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +169 -1140
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +19 -114
- 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 +50 -232
- package/es/packages/components/yc-status-dialog/src/index.vue.mjs +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +20 -14
- package/index.js +2223 -2378
- package/index.min.css +19 -13
- package/index.min.js +37 -43
- package/index.min.mjs +36 -42
- package/index.mjs +2203 -2377
- package/lib/components/data-table/src/data-table.vue.d.ts +2 -2
- package/lib/components/drawer-form/index.d.ts +6 -6
- package/lib/components/drawer-form/src/index.vue.d.ts +2 -2
- package/lib/components/form/index.d.ts +28 -28
- package/lib/components/form/src/form-content.vue.d.ts +7 -7
- package/lib/components/form/src/index.vue.d.ts +10 -10
- package/lib/components/form-item/index.d.ts +31 -31
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +725 -725
- package/lib/components/page/src/index.vue.d.ts +242 -242
- package/lib/components/search/index.d.ts +190 -190
- package/lib/components/search/src/index.vue.d.ts +64 -64
- package/lib/components/table/index.d.ts +18 -18
- package/lib/components/table/src/index.vue.d.ts +2 -2
- 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-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/sender.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/sidebar.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.vue.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/index.d.ts +218 -3
- package/lib/components/yc-display-cards/src/card-renderer.vue.d.ts +16 -0
- package/lib/components/yc-display-cards/src/elements/action-bar.vue.d.ts +12 -0
- package/lib/components/yc-display-cards/src/elements/card-shell.vue.d.ts +24 -0
- package/lib/components/yc-display-cards/src/elements/choice-group.vue.d.ts +14 -0
- package/lib/components/yc-display-cards/src/elements/data-table.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/elements/field-control.vue.d.ts +22 -0
- package/lib/components/yc-display-cards/src/elements/field-utils.d.ts +16 -0
- package/lib/components/yc-display-cards/src/elements/form-field.vue.d.ts +18 -0
- package/lib/components/yc-display-cards/src/elements/inline-alert.vue.d.ts +14 -0
- package/lib/components/yc-display-cards/src/elements/input.vue.d.ts +20 -0
- package/lib/components/yc-display-cards/src/elements/kv-list.vue.d.ts +8 -0
- package/lib/components/yc-display-cards/src/elements/metric-grid.vue.d.ts +7 -0
- package/lib/components/yc-display-cards/src/elements/status-tag.vue.d.ts +6 -0
- package/lib/components/yc-display-cards/src/elements/switch.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/elements/upload.vue.d.ts +17 -0
- package/lib/components/yc-display-cards/src/elements/use-card-form.d.ts +23 -0
- package/lib/components/yc-display-cards/src/form-card.vue.d.ts +5 -2
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -2
- package/lib/components/yc-display-cards/src/types.d.ts +179 -10
- package/lib/components/yc-feedback/src/banner.vue.d.ts +1 -1
- package/lib/components/yc-feedback/src/key-value-list.vue.d.ts +1 -1
- package/lib/components/yc-input/src/input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/textarea.vue.d.ts +2 -2
- 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 +741 -741
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +2 -2
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +18 -18
- package/lib/index.css +30 -24
- package/lib/index.js +28 -7
- package/lib/packages/components/index.js +28 -7
- package/lib/packages/components/yc-display-cards/capability.js +56 -0
- package/lib/packages/components/yc-display-cards/index.js +49 -0
- package/lib/packages/components/yc-display-cards/src/card-renderer.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/card-renderer2.vue.js +299 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +27 -93
- package/lib/packages/components/yc-display-cards/src/elements/action-bar.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/action-bar2.vue.js +42 -0
- package/lib/packages/components/yc-display-cards/src/elements/card-shell.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/card-shell2.vue.js +89 -0
- package/lib/packages/components/yc-display-cards/src/elements/choice-group.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/choice-group2.vue.js +61 -0
- package/lib/packages/components/yc-display-cards/src/elements/data-table.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/data-table2.vue.js +188 -0
- package/lib/packages/components/yc-display-cards/src/elements/field-control.vue.js +9 -0
- package/lib/packages/components/yc-display-cards/src/elements/field-control2.vue.js +96 -0
- package/lib/packages/components/yc-display-cards/src/elements/field-utils.js +134 -0
- package/lib/packages/components/yc-display-cards/src/elements/form-field.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/form-field2.vue.js +72 -0
- package/lib/packages/components/yc-display-cards/src/elements/inline-alert.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/inline-alert2.vue.js +33 -0
- package/lib/packages/components/yc-display-cards/src/elements/input.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/input2.vue.js +146 -0
- package/lib/packages/components/yc-display-cards/src/elements/kv-list.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/kv-list2.vue.js +67 -0
- package/lib/packages/components/yc-display-cards/src/elements/metric-grid.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/metric-grid2.vue.js +101 -0
- package/lib/packages/components/yc-display-cards/src/elements/status-tag.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/status-tag2.vue.js +29 -0
- package/lib/packages/components/yc-display-cards/src/elements/switch.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/switch2.vue.js +39 -0
- package/lib/packages/components/yc-display-cards/src/elements/upload.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/upload2.vue.js +200 -0
- package/lib/packages/components/yc-display-cards/src/elements/use-card-form.js +82 -0
- package/lib/packages/components/yc-display-cards/src/form-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +168 -1139
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +18 -113
- 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 +49 -231
- package/lib/packages/components/yc-status-dialog/src/index.vue.js +1 -1
- 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 -2
- package/theme-chalk/index.css +20 -14
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-yc-status-dialog.css +1 -1
- package/theme-chalk/src/dialog.scss +0 -6
- package/theme-chalk/src/index.scss +1 -2
- package/theme-chalk/src/yc-status-dialog.scss +2 -2
- package/es/_virtual/_commonjsHelpers.mjs +0 -7
- package/es/_virtual/toastify.mjs +0 -3
- package/es/components/yc-display-cards/src/toast.d.ts +0 -4
- package/es/node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.mjs +0 -456
- package/es/packages/components/yc-display-cards/src/toast.mjs +0 -35
- package/lib/_virtual/_commonjsHelpers.js +0 -10
- package/lib/_virtual/toastify.js +0 -5
- package/lib/components/yc-display-cards/src/toast.d.ts +0 -4
- package/lib/node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.js +0 -460
- package/lib/packages/components/yc-display-cards/src/toast.js +0 -37
|
@@ -2,7 +2,7 @@ import { default as Search } from './src/index.vue';
|
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, ComputedRef, Component, PublicProps } from 'vue';
|
|
3
3
|
import { FieldValues, PlusColumn, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow, PlusCardProps } from '../../types';
|
|
4
4
|
import { PlusFormGroupRow, ElementPlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../agent-ui';
|
|
5
|
-
import {
|
|
5
|
+
import { ColProps, RowProps, CardProps, FormInstance, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
|
|
6
6
|
import { OnCleanup } from '@vue/reactivity';
|
|
7
7
|
|
|
8
8
|
export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
@@ -23,26 +23,27 @@ export declare const PlusSearch: {
|
|
|
23
23
|
layout: "grid" | "flex";
|
|
24
24
|
columns: PlusColumn[];
|
|
25
25
|
modelValue: FieldValues;
|
|
26
|
-
collapseDuration: number;
|
|
27
|
-
collapseTransition: boolean;
|
|
28
26
|
group: false | PlusFormGroupRow[];
|
|
27
|
+
clearable: boolean;
|
|
29
28
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
30
29
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
31
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
32
30
|
rules: ElementPlusFormProps["rules"];
|
|
33
|
-
|
|
34
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
31
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
35
32
|
style?: CSSProperties;
|
|
36
33
|
class?: any;
|
|
37
34
|
} & RecordType>;
|
|
38
|
-
|
|
35
|
+
hasLabel: boolean;
|
|
36
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
37
|
+
collapseDuration: number;
|
|
38
|
+
collapseTransition: boolean;
|
|
39
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
39
40
|
style?: CSSProperties;
|
|
40
41
|
class?: any;
|
|
41
42
|
} & RecordType>;
|
|
43
|
+
defaultValues: FieldValues;
|
|
42
44
|
hasErrorTip: boolean;
|
|
43
45
|
hasFooter: boolean;
|
|
44
46
|
hasReset: boolean;
|
|
45
|
-
hasLabel: boolean;
|
|
46
47
|
submitText: string;
|
|
47
48
|
resetText: string;
|
|
48
49
|
submitLoading: boolean;
|
|
@@ -52,15 +53,14 @@ export declare const PlusSearch: {
|
|
|
52
53
|
class?: any;
|
|
53
54
|
} & RecordType>;
|
|
54
55
|
prevent: boolean;
|
|
55
|
-
clearable: boolean;
|
|
56
56
|
}> & Omit<{
|
|
57
57
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
58
58
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
59
59
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
60
60
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
61
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
62
61
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
|
|
62
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
63
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
64
64
|
$attrs: Attrs;
|
|
65
65
|
$refs: {
|
|
66
66
|
[x: string]: unknown;
|
|
@@ -71,15 +71,15 @@ export declare const PlusSearch: {
|
|
|
71
71
|
$root: ComponentPublicInstance | null;
|
|
72
72
|
$parent: ComponentPublicInstance | null;
|
|
73
73
|
$host: Element | null;
|
|
74
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
74
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
75
75
|
$el: any;
|
|
76
76
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
77
77
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
78
78
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
79
79
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
80
80
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
81
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
82
81
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
83
83
|
}>, {
|
|
84
84
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
85
85
|
handleSubmit: () => void;
|
|
@@ -96,26 +96,27 @@ export declare const PlusSearch: {
|
|
|
96
96
|
layout: "grid" | "flex";
|
|
97
97
|
columns: PlusColumn[];
|
|
98
98
|
modelValue: FieldValues;
|
|
99
|
-
collapseDuration: number;
|
|
100
|
-
collapseTransition: boolean;
|
|
101
99
|
group: false | PlusFormGroupRow[];
|
|
100
|
+
clearable: boolean;
|
|
102
101
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
103
102
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
104
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
105
103
|
rules: ElementPlusFormProps["rules"];
|
|
106
|
-
|
|
107
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
104
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
108
105
|
style?: CSSProperties;
|
|
109
106
|
class?: any;
|
|
110
107
|
} & RecordType>;
|
|
111
|
-
|
|
108
|
+
hasLabel: boolean;
|
|
109
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
110
|
+
collapseDuration: number;
|
|
111
|
+
collapseTransition: boolean;
|
|
112
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
112
113
|
style?: CSSProperties;
|
|
113
114
|
class?: any;
|
|
114
115
|
} & RecordType>;
|
|
116
|
+
defaultValues: FieldValues;
|
|
115
117
|
hasErrorTip: boolean;
|
|
116
118
|
hasFooter: boolean;
|
|
117
119
|
hasReset: boolean;
|
|
118
|
-
hasLabel: boolean;
|
|
119
120
|
submitText: string;
|
|
120
121
|
resetText: string;
|
|
121
122
|
submitLoading: boolean;
|
|
@@ -125,7 +126,6 @@ export declare const PlusSearch: {
|
|
|
125
126
|
class?: any;
|
|
126
127
|
} & RecordType>;
|
|
127
128
|
prevent: boolean;
|
|
128
|
-
clearable: boolean;
|
|
129
129
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
130
130
|
beforeCreate?: (() => void) | (() => void)[];
|
|
131
131
|
created?: (() => void) | (() => void)[];
|
|
@@ -151,26 +151,27 @@ export declare const PlusSearch: {
|
|
|
151
151
|
layout: "grid" | "flex";
|
|
152
152
|
columns: PlusColumn[];
|
|
153
153
|
modelValue: FieldValues;
|
|
154
|
-
collapseDuration: number;
|
|
155
|
-
collapseTransition: boolean;
|
|
156
154
|
group: false | PlusFormGroupRow[];
|
|
155
|
+
clearable: boolean;
|
|
157
156
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
158
157
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
159
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
160
158
|
rules: ElementPlusFormProps["rules"];
|
|
161
|
-
|
|
162
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
159
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
163
160
|
style?: CSSProperties;
|
|
164
161
|
class?: any;
|
|
165
162
|
} & RecordType>;
|
|
166
|
-
|
|
163
|
+
hasLabel: boolean;
|
|
164
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
165
|
+
collapseDuration: number;
|
|
166
|
+
collapseTransition: boolean;
|
|
167
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
167
168
|
style?: CSSProperties;
|
|
168
169
|
class?: any;
|
|
169
170
|
} & RecordType>;
|
|
171
|
+
defaultValues: FieldValues;
|
|
170
172
|
hasErrorTip: boolean;
|
|
171
173
|
hasFooter: boolean;
|
|
172
174
|
hasReset: boolean;
|
|
173
|
-
hasLabel: boolean;
|
|
174
175
|
submitText: string;
|
|
175
176
|
resetText: string;
|
|
176
177
|
submitLoading: boolean;
|
|
@@ -180,15 +181,14 @@ export declare const PlusSearch: {
|
|
|
180
181
|
class?: any;
|
|
181
182
|
} & RecordType>;
|
|
182
183
|
prevent: boolean;
|
|
183
|
-
clearable: boolean;
|
|
184
184
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
185
185
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
186
186
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
187
187
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
188
188
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
189
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
190
189
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
|
|
190
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
191
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
192
192
|
formInstance: FormInstance | null;
|
|
193
193
|
handleSubmit: () => void;
|
|
194
194
|
handleReset: () => void;
|
|
@@ -451,26 +451,27 @@ export declare const PlusSearch: {
|
|
|
451
451
|
layout: "grid" | "flex";
|
|
452
452
|
columns: PlusColumn[];
|
|
453
453
|
modelValue: FieldValues;
|
|
454
|
-
collapseDuration: number;
|
|
455
|
-
collapseTransition: boolean;
|
|
456
454
|
group: false | PlusFormGroupRow[];
|
|
455
|
+
clearable: boolean;
|
|
457
456
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
458
457
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
459
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
460
458
|
rules: ElementPlusFormProps["rules"];
|
|
461
|
-
|
|
462
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
459
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
463
460
|
style?: CSSProperties;
|
|
464
461
|
class?: any;
|
|
465
462
|
} & RecordType>;
|
|
466
|
-
|
|
463
|
+
hasLabel: boolean;
|
|
464
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
465
|
+
collapseDuration: number;
|
|
466
|
+
collapseTransition: boolean;
|
|
467
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
467
468
|
style?: CSSProperties;
|
|
468
469
|
class?: any;
|
|
469
470
|
} & RecordType>;
|
|
471
|
+
defaultValues: FieldValues;
|
|
470
472
|
hasErrorTip: boolean;
|
|
471
473
|
hasFooter: boolean;
|
|
472
474
|
hasReset: boolean;
|
|
473
|
-
hasLabel: boolean;
|
|
474
475
|
submitText: string;
|
|
475
476
|
resetText: string;
|
|
476
477
|
submitLoading: boolean;
|
|
@@ -480,15 +481,14 @@ export declare const PlusSearch: {
|
|
|
480
481
|
class?: any;
|
|
481
482
|
} & RecordType>;
|
|
482
483
|
prevent: boolean;
|
|
483
|
-
clearable: boolean;
|
|
484
484
|
}> & Omit<{
|
|
485
485
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
486
486
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
487
487
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
488
488
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
489
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
490
489
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
491
|
-
|
|
490
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
491
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
492
492
|
$attrs: Attrs;
|
|
493
493
|
$refs: {
|
|
494
494
|
[x: string]: unknown;
|
|
@@ -499,15 +499,15 @@ export declare const PlusSearch: {
|
|
|
499
499
|
$root: ComponentPublicInstance | null;
|
|
500
500
|
$parent: ComponentPublicInstance | null;
|
|
501
501
|
$host: Element | null;
|
|
502
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
502
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
503
503
|
$el: any;
|
|
504
504
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
505
505
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
506
506
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
507
507
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
508
508
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
509
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
510
509
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
510
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
511
511
|
}>, {
|
|
512
512
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
513
513
|
handleSubmit: () => void;
|
|
@@ -524,26 +524,27 @@ export declare const PlusSearch: {
|
|
|
524
524
|
layout: "grid" | "flex";
|
|
525
525
|
columns: PlusColumn[];
|
|
526
526
|
modelValue: FieldValues;
|
|
527
|
-
collapseDuration: number;
|
|
528
|
-
collapseTransition: boolean;
|
|
529
527
|
group: false | PlusFormGroupRow[];
|
|
528
|
+
clearable: boolean;
|
|
530
529
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
531
530
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
532
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
533
531
|
rules: ElementPlusFormProps["rules"];
|
|
534
|
-
|
|
535
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
532
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
536
533
|
style?: CSSProperties;
|
|
537
534
|
class?: any;
|
|
538
535
|
} & RecordType>;
|
|
539
|
-
|
|
536
|
+
hasLabel: boolean;
|
|
537
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
538
|
+
collapseDuration: number;
|
|
539
|
+
collapseTransition: boolean;
|
|
540
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
540
541
|
style?: CSSProperties;
|
|
541
542
|
class?: any;
|
|
542
543
|
} & RecordType>;
|
|
544
|
+
defaultValues: FieldValues;
|
|
543
545
|
hasErrorTip: boolean;
|
|
544
546
|
hasFooter: boolean;
|
|
545
547
|
hasReset: boolean;
|
|
546
|
-
hasLabel: boolean;
|
|
547
548
|
submitText: string;
|
|
548
549
|
resetText: string;
|
|
549
550
|
submitLoading: boolean;
|
|
@@ -553,7 +554,6 @@ export declare const PlusSearch: {
|
|
|
553
554
|
class?: any;
|
|
554
555
|
} & RecordType>;
|
|
555
556
|
prevent: boolean;
|
|
556
|
-
clearable: boolean;
|
|
557
557
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
558
558
|
beforeCreate?: (() => void) | (() => void)[];
|
|
559
559
|
created?: (() => void) | (() => void)[];
|
|
@@ -579,26 +579,27 @@ export declare const PlusSearch: {
|
|
|
579
579
|
layout: "grid" | "flex";
|
|
580
580
|
columns: PlusColumn[];
|
|
581
581
|
modelValue: FieldValues;
|
|
582
|
-
collapseDuration: number;
|
|
583
|
-
collapseTransition: boolean;
|
|
584
582
|
group: false | PlusFormGroupRow[];
|
|
583
|
+
clearable: boolean;
|
|
585
584
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
586
585
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
587
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
588
586
|
rules: ElementPlusFormProps["rules"];
|
|
589
|
-
|
|
590
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
587
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
591
588
|
style?: CSSProperties;
|
|
592
589
|
class?: any;
|
|
593
590
|
} & RecordType>;
|
|
594
|
-
|
|
591
|
+
hasLabel: boolean;
|
|
592
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
593
|
+
collapseDuration: number;
|
|
594
|
+
collapseTransition: boolean;
|
|
595
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
595
596
|
style?: CSSProperties;
|
|
596
597
|
class?: any;
|
|
597
598
|
} & RecordType>;
|
|
599
|
+
defaultValues: FieldValues;
|
|
598
600
|
hasErrorTip: boolean;
|
|
599
601
|
hasFooter: boolean;
|
|
600
602
|
hasReset: boolean;
|
|
601
|
-
hasLabel: boolean;
|
|
602
603
|
submitText: string;
|
|
603
604
|
resetText: string;
|
|
604
605
|
submitLoading: boolean;
|
|
@@ -608,15 +609,14 @@ export declare const PlusSearch: {
|
|
|
608
609
|
class?: any;
|
|
609
610
|
} & RecordType>;
|
|
610
611
|
prevent: boolean;
|
|
611
|
-
clearable: boolean;
|
|
612
612
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
613
613
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
614
614
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
615
615
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
616
616
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
617
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
618
617
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
619
|
-
|
|
618
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
619
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
620
620
|
formInstance: FormInstance | null;
|
|
621
621
|
handleSubmit: () => void;
|
|
622
622
|
handleReset: () => void;
|
|
@@ -888,15 +888,15 @@ export declare const PlusSearch: {
|
|
|
888
888
|
columns: PlusColumn[];
|
|
889
889
|
modelValue: FieldValues;
|
|
890
890
|
labelPosition: "left" | "right" | "top";
|
|
891
|
-
|
|
892
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
891
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
893
892
|
style?: CSSProperties;
|
|
894
893
|
class?: any;
|
|
895
894
|
} & RecordType>;
|
|
896
|
-
|
|
895
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
897
896
|
style?: CSSProperties;
|
|
898
897
|
class?: any;
|
|
899
898
|
} & RecordType>;
|
|
899
|
+
defaultValues: FieldValues;
|
|
900
900
|
hasFooter: boolean;
|
|
901
901
|
hasReset: boolean;
|
|
902
902
|
resetText: string;
|
|
@@ -932,26 +932,27 @@ export declare const PlusSearch: {
|
|
|
932
932
|
layout: "grid" | "flex";
|
|
933
933
|
columns: PlusColumn[];
|
|
934
934
|
modelValue: FieldValues;
|
|
935
|
-
collapseDuration: number;
|
|
936
|
-
collapseTransition: boolean;
|
|
937
935
|
group: false | PlusFormGroupRow[];
|
|
936
|
+
clearable: boolean;
|
|
938
937
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
939
938
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
940
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
941
939
|
rules: ElementPlusFormProps["rules"];
|
|
942
|
-
|
|
943
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
940
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
944
941
|
style?: CSSProperties;
|
|
945
942
|
class?: any;
|
|
946
943
|
} & RecordType>;
|
|
947
|
-
|
|
944
|
+
hasLabel: boolean;
|
|
945
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
946
|
+
collapseDuration: number;
|
|
947
|
+
collapseTransition: boolean;
|
|
948
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
948
949
|
style?: CSSProperties;
|
|
949
950
|
class?: any;
|
|
950
951
|
} & RecordType>;
|
|
952
|
+
defaultValues: FieldValues;
|
|
951
953
|
hasErrorTip: boolean;
|
|
952
954
|
hasFooter: boolean;
|
|
953
955
|
hasReset: boolean;
|
|
954
|
-
hasLabel: boolean;
|
|
955
956
|
submitText: string;
|
|
956
957
|
resetText: string;
|
|
957
958
|
submitLoading: boolean;
|
|
@@ -961,15 +962,14 @@ export declare const PlusSearch: {
|
|
|
961
962
|
class?: any;
|
|
962
963
|
} & RecordType>;
|
|
963
964
|
prevent: boolean;
|
|
964
|
-
clearable: boolean;
|
|
965
965
|
}> & Omit<{
|
|
966
966
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
967
967
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
968
968
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
969
969
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
970
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
971
970
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
972
|
-
|
|
971
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
972
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
973
973
|
$attrs: Attrs;
|
|
974
974
|
$refs: {
|
|
975
975
|
[x: string]: unknown;
|
|
@@ -980,15 +980,15 @@ export declare const PlusSearch: {
|
|
|
980
980
|
$root: ComponentPublicInstance | null;
|
|
981
981
|
$parent: ComponentPublicInstance | null;
|
|
982
982
|
$host: Element | null;
|
|
983
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
983
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
984
984
|
$el: any;
|
|
985
985
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
986
986
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
987
987
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
988
988
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
989
989
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
990
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
991
990
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
991
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
992
992
|
}>, {
|
|
993
993
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
994
994
|
handleSubmit: () => void;
|
|
@@ -1005,26 +1005,27 @@ export declare const PlusSearch: {
|
|
|
1005
1005
|
layout: "grid" | "flex";
|
|
1006
1006
|
columns: PlusColumn[];
|
|
1007
1007
|
modelValue: FieldValues;
|
|
1008
|
-
collapseDuration: number;
|
|
1009
|
-
collapseTransition: boolean;
|
|
1010
1008
|
group: false | PlusFormGroupRow[];
|
|
1009
|
+
clearable: boolean;
|
|
1011
1010
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1012
1011
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1013
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1014
1012
|
rules: ElementPlusFormProps["rules"];
|
|
1015
|
-
|
|
1016
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1013
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1017
1014
|
style?: CSSProperties;
|
|
1018
1015
|
class?: any;
|
|
1019
1016
|
} & RecordType>;
|
|
1020
|
-
|
|
1017
|
+
hasLabel: boolean;
|
|
1018
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1019
|
+
collapseDuration: number;
|
|
1020
|
+
collapseTransition: boolean;
|
|
1021
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1021
1022
|
style?: CSSProperties;
|
|
1022
1023
|
class?: any;
|
|
1023
1024
|
} & RecordType>;
|
|
1025
|
+
defaultValues: FieldValues;
|
|
1024
1026
|
hasErrorTip: boolean;
|
|
1025
1027
|
hasFooter: boolean;
|
|
1026
1028
|
hasReset: boolean;
|
|
1027
|
-
hasLabel: boolean;
|
|
1028
1029
|
submitText: string;
|
|
1029
1030
|
resetText: string;
|
|
1030
1031
|
submitLoading: boolean;
|
|
@@ -1034,7 +1035,6 @@ export declare const PlusSearch: {
|
|
|
1034
1035
|
class?: any;
|
|
1035
1036
|
} & RecordType>;
|
|
1036
1037
|
prevent: boolean;
|
|
1037
|
-
clearable: boolean;
|
|
1038
1038
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1039
1039
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1040
1040
|
created?: (() => void) | (() => void)[];
|
|
@@ -1060,26 +1060,27 @@ export declare const PlusSearch: {
|
|
|
1060
1060
|
layout: "grid" | "flex";
|
|
1061
1061
|
columns: PlusColumn[];
|
|
1062
1062
|
modelValue: FieldValues;
|
|
1063
|
-
collapseDuration: number;
|
|
1064
|
-
collapseTransition: boolean;
|
|
1065
1063
|
group: false | PlusFormGroupRow[];
|
|
1064
|
+
clearable: boolean;
|
|
1066
1065
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1067
1066
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1068
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1069
1067
|
rules: ElementPlusFormProps["rules"];
|
|
1070
|
-
|
|
1071
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1068
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1072
1069
|
style?: CSSProperties;
|
|
1073
1070
|
class?: any;
|
|
1074
1071
|
} & RecordType>;
|
|
1075
|
-
|
|
1072
|
+
hasLabel: boolean;
|
|
1073
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1074
|
+
collapseDuration: number;
|
|
1075
|
+
collapseTransition: boolean;
|
|
1076
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1076
1077
|
style?: CSSProperties;
|
|
1077
1078
|
class?: any;
|
|
1078
1079
|
} & RecordType>;
|
|
1080
|
+
defaultValues: FieldValues;
|
|
1079
1081
|
hasErrorTip: boolean;
|
|
1080
1082
|
hasFooter: boolean;
|
|
1081
1083
|
hasReset: boolean;
|
|
1082
|
-
hasLabel: boolean;
|
|
1083
1084
|
submitText: string;
|
|
1084
1085
|
resetText: string;
|
|
1085
1086
|
submitLoading: boolean;
|
|
@@ -1089,15 +1090,14 @@ export declare const PlusSearch: {
|
|
|
1089
1090
|
class?: any;
|
|
1090
1091
|
} & RecordType>;
|
|
1091
1092
|
prevent: boolean;
|
|
1092
|
-
clearable: boolean;
|
|
1093
1093
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1094
1094
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1095
1095
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1096
1096
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1097
1097
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1098
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1099
1098
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1100
|
-
|
|
1099
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1100
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
1101
1101
|
formInstance: FormInstance | null;
|
|
1102
1102
|
handleSubmit: () => void;
|
|
1103
1103
|
handleReset: () => void;
|
|
@@ -1360,26 +1360,27 @@ export declare const PlusSearch: {
|
|
|
1360
1360
|
layout: "grid" | "flex";
|
|
1361
1361
|
columns: PlusColumn[];
|
|
1362
1362
|
modelValue: FieldValues;
|
|
1363
|
-
collapseDuration: number;
|
|
1364
|
-
collapseTransition: boolean;
|
|
1365
1363
|
group: false | PlusFormGroupRow[];
|
|
1364
|
+
clearable: boolean;
|
|
1366
1365
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1367
1366
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1368
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1369
1367
|
rules: ElementPlusFormProps["rules"];
|
|
1370
|
-
|
|
1371
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1368
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1372
1369
|
style?: CSSProperties;
|
|
1373
1370
|
class?: any;
|
|
1374
1371
|
} & RecordType>;
|
|
1375
|
-
|
|
1372
|
+
hasLabel: boolean;
|
|
1373
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1374
|
+
collapseDuration: number;
|
|
1375
|
+
collapseTransition: boolean;
|
|
1376
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1376
1377
|
style?: CSSProperties;
|
|
1377
1378
|
class?: any;
|
|
1378
1379
|
} & RecordType>;
|
|
1380
|
+
defaultValues: FieldValues;
|
|
1379
1381
|
hasErrorTip: boolean;
|
|
1380
1382
|
hasFooter: boolean;
|
|
1381
1383
|
hasReset: boolean;
|
|
1382
|
-
hasLabel: boolean;
|
|
1383
1384
|
submitText: string;
|
|
1384
1385
|
resetText: string;
|
|
1385
1386
|
submitLoading: boolean;
|
|
@@ -1389,15 +1390,14 @@ export declare const PlusSearch: {
|
|
|
1389
1390
|
class?: any;
|
|
1390
1391
|
} & RecordType>;
|
|
1391
1392
|
prevent: boolean;
|
|
1392
|
-
clearable: boolean;
|
|
1393
1393
|
}> & Omit<{
|
|
1394
1394
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1395
1395
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1396
1396
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1397
1397
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1398
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1399
1398
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1400
|
-
|
|
1399
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1400
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1401
1401
|
$attrs: Attrs;
|
|
1402
1402
|
$refs: {
|
|
1403
1403
|
[x: string]: unknown;
|
|
@@ -1408,15 +1408,15 @@ export declare const PlusSearch: {
|
|
|
1408
1408
|
$root: ComponentPublicInstance | null;
|
|
1409
1409
|
$parent: ComponentPublicInstance | null;
|
|
1410
1410
|
$host: Element | null;
|
|
1411
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
1411
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1412
1412
|
$el: any;
|
|
1413
1413
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1414
1414
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1415
1415
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1416
1416
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1417
1417
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1418
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1419
1418
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1419
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1420
1420
|
}>, {
|
|
1421
1421
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1422
1422
|
handleSubmit: () => void;
|
|
@@ -1433,26 +1433,27 @@ export declare const PlusSearch: {
|
|
|
1433
1433
|
layout: "grid" | "flex";
|
|
1434
1434
|
columns: PlusColumn[];
|
|
1435
1435
|
modelValue: FieldValues;
|
|
1436
|
-
collapseDuration: number;
|
|
1437
|
-
collapseTransition: boolean;
|
|
1438
1436
|
group: false | PlusFormGroupRow[];
|
|
1437
|
+
clearable: boolean;
|
|
1439
1438
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1440
1439
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1441
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1442
1440
|
rules: ElementPlusFormProps["rules"];
|
|
1443
|
-
|
|
1444
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1441
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1445
1442
|
style?: CSSProperties;
|
|
1446
1443
|
class?: any;
|
|
1447
1444
|
} & RecordType>;
|
|
1448
|
-
|
|
1445
|
+
hasLabel: boolean;
|
|
1446
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1447
|
+
collapseDuration: number;
|
|
1448
|
+
collapseTransition: boolean;
|
|
1449
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1449
1450
|
style?: CSSProperties;
|
|
1450
1451
|
class?: any;
|
|
1451
1452
|
} & RecordType>;
|
|
1453
|
+
defaultValues: FieldValues;
|
|
1452
1454
|
hasErrorTip: boolean;
|
|
1453
1455
|
hasFooter: boolean;
|
|
1454
1456
|
hasReset: boolean;
|
|
1455
|
-
hasLabel: boolean;
|
|
1456
1457
|
submitText: string;
|
|
1457
1458
|
resetText: string;
|
|
1458
1459
|
submitLoading: boolean;
|
|
@@ -1462,7 +1463,6 @@ export declare const PlusSearch: {
|
|
|
1462
1463
|
class?: any;
|
|
1463
1464
|
} & RecordType>;
|
|
1464
1465
|
prevent: boolean;
|
|
1465
|
-
clearable: boolean;
|
|
1466
1466
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1467
1467
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1468
1468
|
created?: (() => void) | (() => void)[];
|
|
@@ -1488,26 +1488,27 @@ export declare const PlusSearch: {
|
|
|
1488
1488
|
layout: "grid" | "flex";
|
|
1489
1489
|
columns: PlusColumn[];
|
|
1490
1490
|
modelValue: FieldValues;
|
|
1491
|
-
collapseDuration: number;
|
|
1492
|
-
collapseTransition: boolean;
|
|
1493
1491
|
group: false | PlusFormGroupRow[];
|
|
1492
|
+
clearable: boolean;
|
|
1494
1493
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1495
1494
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1496
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1497
1495
|
rules: ElementPlusFormProps["rules"];
|
|
1498
|
-
|
|
1499
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1496
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1500
1497
|
style?: CSSProperties;
|
|
1501
1498
|
class?: any;
|
|
1502
1499
|
} & RecordType>;
|
|
1503
|
-
|
|
1500
|
+
hasLabel: boolean;
|
|
1501
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1502
|
+
collapseDuration: number;
|
|
1503
|
+
collapseTransition: boolean;
|
|
1504
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1504
1505
|
style?: CSSProperties;
|
|
1505
1506
|
class?: any;
|
|
1506
1507
|
} & RecordType>;
|
|
1508
|
+
defaultValues: FieldValues;
|
|
1507
1509
|
hasErrorTip: boolean;
|
|
1508
1510
|
hasFooter: boolean;
|
|
1509
1511
|
hasReset: boolean;
|
|
1510
|
-
hasLabel: boolean;
|
|
1511
1512
|
submitText: string;
|
|
1512
1513
|
resetText: string;
|
|
1513
1514
|
submitLoading: boolean;
|
|
@@ -1517,15 +1518,14 @@ export declare const PlusSearch: {
|
|
|
1517
1518
|
class?: any;
|
|
1518
1519
|
} & RecordType>;
|
|
1519
1520
|
prevent: boolean;
|
|
1520
|
-
clearable: boolean;
|
|
1521
1521
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1522
1522
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1523
1523
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1524
1524
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1525
1525
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1526
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1527
1526
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1528
|
-
|
|
1527
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1528
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
1529
1529
|
formInstance: FormInstance | null;
|
|
1530
1530
|
handleSubmit: () => void;
|
|
1531
1531
|
handleReset: () => void;
|
|
@@ -1791,15 +1791,15 @@ export declare const PlusSearch: {
|
|
|
1791
1791
|
columns: PlusColumn[];
|
|
1792
1792
|
modelValue: FieldValues;
|
|
1793
1793
|
labelPosition: "left" | "right" | "top";
|
|
1794
|
-
|
|
1795
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1794
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1796
1795
|
style?: CSSProperties;
|
|
1797
1796
|
class?: any;
|
|
1798
1797
|
} & RecordType>;
|
|
1799
|
-
|
|
1798
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1800
1799
|
style?: CSSProperties;
|
|
1801
1800
|
class?: any;
|
|
1802
1801
|
} & RecordType>;
|
|
1802
|
+
defaultValues: FieldValues;
|
|
1803
1803
|
hasFooter: boolean;
|
|
1804
1804
|
hasReset: boolean;
|
|
1805
1805
|
resetText: string;
|
|
@@ -1832,26 +1832,27 @@ export declare const PlusSearch: {
|
|
|
1832
1832
|
layout: "grid" | "flex";
|
|
1833
1833
|
columns: PlusColumn[];
|
|
1834
1834
|
modelValue: FieldValues;
|
|
1835
|
-
collapseDuration: number;
|
|
1836
|
-
collapseTransition: boolean;
|
|
1837
1835
|
group: false | PlusFormGroupRow[];
|
|
1836
|
+
clearable: boolean;
|
|
1838
1837
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1839
1838
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1840
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1841
1839
|
rules: ElementPlusFormProps["rules"];
|
|
1842
|
-
|
|
1843
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1840
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1844
1841
|
style?: CSSProperties;
|
|
1845
1842
|
class?: any;
|
|
1846
1843
|
} & RecordType>;
|
|
1847
|
-
|
|
1844
|
+
hasLabel: boolean;
|
|
1845
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1846
|
+
collapseDuration: number;
|
|
1847
|
+
collapseTransition: boolean;
|
|
1848
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1848
1849
|
style?: CSSProperties;
|
|
1849
1850
|
class?: any;
|
|
1850
1851
|
} & RecordType>;
|
|
1852
|
+
defaultValues: FieldValues;
|
|
1851
1853
|
hasErrorTip: boolean;
|
|
1852
1854
|
hasFooter: boolean;
|
|
1853
1855
|
hasReset: boolean;
|
|
1854
|
-
hasLabel: boolean;
|
|
1855
1856
|
submitText: string;
|
|
1856
1857
|
resetText: string;
|
|
1857
1858
|
submitLoading: boolean;
|
|
@@ -1861,15 +1862,14 @@ export declare const PlusSearch: {
|
|
|
1861
1862
|
class?: any;
|
|
1862
1863
|
} & RecordType>;
|
|
1863
1864
|
prevent: boolean;
|
|
1864
|
-
clearable: boolean;
|
|
1865
1865
|
}> & Omit<{
|
|
1866
1866
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1867
1867
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1868
1868
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1869
1869
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1870
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1871
1870
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1872
|
-
|
|
1871
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1872
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1873
1873
|
$attrs: Attrs;
|
|
1874
1874
|
$refs: {
|
|
1875
1875
|
[x: string]: unknown;
|
|
@@ -1880,15 +1880,15 @@ export declare const PlusSearch: {
|
|
|
1880
1880
|
$root: ComponentPublicInstance | null;
|
|
1881
1881
|
$parent: ComponentPublicInstance | null;
|
|
1882
1882
|
$host: Element | null;
|
|
1883
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
1883
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1884
1884
|
$el: any;
|
|
1885
1885
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1886
1886
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1887
1887
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1888
1888
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1889
1889
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1890
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1891
1890
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1891
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1892
1892
|
}>, {
|
|
1893
1893
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1894
1894
|
handleSubmit: () => void;
|
|
@@ -1905,26 +1905,27 @@ export declare const PlusSearch: {
|
|
|
1905
1905
|
layout: "grid" | "flex";
|
|
1906
1906
|
columns: PlusColumn[];
|
|
1907
1907
|
modelValue: FieldValues;
|
|
1908
|
-
collapseDuration: number;
|
|
1909
|
-
collapseTransition: boolean;
|
|
1910
1908
|
group: false | PlusFormGroupRow[];
|
|
1909
|
+
clearable: boolean;
|
|
1911
1910
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1912
1911
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1913
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1914
1912
|
rules: ElementPlusFormProps["rules"];
|
|
1915
|
-
|
|
1916
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1913
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1917
1914
|
style?: CSSProperties;
|
|
1918
1915
|
class?: any;
|
|
1919
1916
|
} & RecordType>;
|
|
1920
|
-
|
|
1917
|
+
hasLabel: boolean;
|
|
1918
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1919
|
+
collapseDuration: number;
|
|
1920
|
+
collapseTransition: boolean;
|
|
1921
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1921
1922
|
style?: CSSProperties;
|
|
1922
1923
|
class?: any;
|
|
1923
1924
|
} & RecordType>;
|
|
1925
|
+
defaultValues: FieldValues;
|
|
1924
1926
|
hasErrorTip: boolean;
|
|
1925
1927
|
hasFooter: boolean;
|
|
1926
1928
|
hasReset: boolean;
|
|
1927
|
-
hasLabel: boolean;
|
|
1928
1929
|
submitText: string;
|
|
1929
1930
|
resetText: string;
|
|
1930
1931
|
submitLoading: boolean;
|
|
@@ -1934,7 +1935,6 @@ export declare const PlusSearch: {
|
|
|
1934
1935
|
class?: any;
|
|
1935
1936
|
} & RecordType>;
|
|
1936
1937
|
prevent: boolean;
|
|
1937
|
-
clearable: boolean;
|
|
1938
1938
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1939
1939
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1940
1940
|
created?: (() => void) | (() => void)[];
|
|
@@ -1960,26 +1960,27 @@ export declare const PlusSearch: {
|
|
|
1960
1960
|
layout: "grid" | "flex";
|
|
1961
1961
|
columns: PlusColumn[];
|
|
1962
1962
|
modelValue: FieldValues;
|
|
1963
|
-
collapseDuration: number;
|
|
1964
|
-
collapseTransition: boolean;
|
|
1965
1963
|
group: false | PlusFormGroupRow[];
|
|
1964
|
+
clearable: boolean;
|
|
1966
1965
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1967
1966
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1968
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1969
1967
|
rules: ElementPlusFormProps["rules"];
|
|
1970
|
-
|
|
1971
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1968
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1972
1969
|
style?: CSSProperties;
|
|
1973
1970
|
class?: any;
|
|
1974
1971
|
} & RecordType>;
|
|
1975
|
-
|
|
1972
|
+
hasLabel: boolean;
|
|
1973
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1974
|
+
collapseDuration: number;
|
|
1975
|
+
collapseTransition: boolean;
|
|
1976
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1976
1977
|
style?: CSSProperties;
|
|
1977
1978
|
class?: any;
|
|
1978
1979
|
} & RecordType>;
|
|
1980
|
+
defaultValues: FieldValues;
|
|
1979
1981
|
hasErrorTip: boolean;
|
|
1980
1982
|
hasFooter: boolean;
|
|
1981
1983
|
hasReset: boolean;
|
|
1982
|
-
hasLabel: boolean;
|
|
1983
1984
|
submitText: string;
|
|
1984
1985
|
resetText: string;
|
|
1985
1986
|
submitLoading: boolean;
|
|
@@ -1989,15 +1990,14 @@ export declare const PlusSearch: {
|
|
|
1989
1990
|
class?: any;
|
|
1990
1991
|
} & RecordType>;
|
|
1991
1992
|
prevent: boolean;
|
|
1992
|
-
clearable: boolean;
|
|
1993
1993
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1994
1994
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1995
1995
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1996
1996
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1997
1997
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1998
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1999
1998
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2000
|
-
|
|
1999
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2000
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
2001
2001
|
formInstance: FormInstance | null;
|
|
2002
2002
|
handleSubmit: () => void;
|
|
2003
2003
|
handleReset: () => void;
|
|
@@ -2257,26 +2257,27 @@ export declare const PlusSearch: {
|
|
|
2257
2257
|
layout: "grid" | "flex";
|
|
2258
2258
|
columns: PlusColumn[];
|
|
2259
2259
|
modelValue: FieldValues;
|
|
2260
|
-
collapseDuration: number;
|
|
2261
|
-
collapseTransition: boolean;
|
|
2262
2260
|
group: false | PlusFormGroupRow[];
|
|
2261
|
+
clearable: boolean;
|
|
2263
2262
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2264
2263
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2265
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2266
2264
|
rules: ElementPlusFormProps["rules"];
|
|
2267
|
-
|
|
2268
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2265
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2269
2266
|
style?: CSSProperties;
|
|
2270
2267
|
class?: any;
|
|
2271
2268
|
} & RecordType>;
|
|
2272
|
-
|
|
2269
|
+
hasLabel: boolean;
|
|
2270
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2271
|
+
collapseDuration: number;
|
|
2272
|
+
collapseTransition: boolean;
|
|
2273
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2273
2274
|
style?: CSSProperties;
|
|
2274
2275
|
class?: any;
|
|
2275
2276
|
} & RecordType>;
|
|
2277
|
+
defaultValues: FieldValues;
|
|
2276
2278
|
hasErrorTip: boolean;
|
|
2277
2279
|
hasFooter: boolean;
|
|
2278
2280
|
hasReset: boolean;
|
|
2279
|
-
hasLabel: boolean;
|
|
2280
2281
|
submitText: string;
|
|
2281
2282
|
resetText: string;
|
|
2282
2283
|
submitLoading: boolean;
|
|
@@ -2286,15 +2287,14 @@ export declare const PlusSearch: {
|
|
|
2286
2287
|
class?: any;
|
|
2287
2288
|
} & RecordType>;
|
|
2288
2289
|
prevent: boolean;
|
|
2289
|
-
clearable: boolean;
|
|
2290
2290
|
}> & Omit<{
|
|
2291
2291
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2292
2292
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
2293
2293
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2294
2294
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2295
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2296
2295
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2297
|
-
|
|
2296
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2297
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2298
2298
|
$attrs: Attrs;
|
|
2299
2299
|
$refs: {
|
|
2300
2300
|
[x: string]: unknown;
|
|
@@ -2305,15 +2305,15 @@ export declare const PlusSearch: {
|
|
|
2305
2305
|
$root: ComponentPublicInstance | null;
|
|
2306
2306
|
$parent: ComponentPublicInstance | null;
|
|
2307
2307
|
$host: Element | null;
|
|
2308
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
2308
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2309
2309
|
$el: any;
|
|
2310
2310
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
2311
2311
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2312
2312
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2313
2313
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2314
2314
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2315
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2316
2315
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2316
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2317
2317
|
}>, {
|
|
2318
2318
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
2319
2319
|
handleSubmit: () => void;
|
|
@@ -2330,26 +2330,27 @@ export declare const PlusSearch: {
|
|
|
2330
2330
|
layout: "grid" | "flex";
|
|
2331
2331
|
columns: PlusColumn[];
|
|
2332
2332
|
modelValue: FieldValues;
|
|
2333
|
-
collapseDuration: number;
|
|
2334
|
-
collapseTransition: boolean;
|
|
2335
2333
|
group: false | PlusFormGroupRow[];
|
|
2334
|
+
clearable: boolean;
|
|
2336
2335
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2337
2336
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2338
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2339
2337
|
rules: ElementPlusFormProps["rules"];
|
|
2340
|
-
|
|
2341
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2338
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2342
2339
|
style?: CSSProperties;
|
|
2343
2340
|
class?: any;
|
|
2344
2341
|
} & RecordType>;
|
|
2345
|
-
|
|
2342
|
+
hasLabel: boolean;
|
|
2343
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2344
|
+
collapseDuration: number;
|
|
2345
|
+
collapseTransition: boolean;
|
|
2346
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2346
2347
|
style?: CSSProperties;
|
|
2347
2348
|
class?: any;
|
|
2348
2349
|
} & RecordType>;
|
|
2350
|
+
defaultValues: FieldValues;
|
|
2349
2351
|
hasErrorTip: boolean;
|
|
2350
2352
|
hasFooter: boolean;
|
|
2351
2353
|
hasReset: boolean;
|
|
2352
|
-
hasLabel: boolean;
|
|
2353
2354
|
submitText: string;
|
|
2354
2355
|
resetText: string;
|
|
2355
2356
|
submitLoading: boolean;
|
|
@@ -2359,7 +2360,6 @@ export declare const PlusSearch: {
|
|
|
2359
2360
|
class?: any;
|
|
2360
2361
|
} & RecordType>;
|
|
2361
2362
|
prevent: boolean;
|
|
2362
|
-
clearable: boolean;
|
|
2363
2363
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2364
2364
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2365
2365
|
created?: (() => void) | (() => void)[];
|
|
@@ -2385,26 +2385,27 @@ export declare const PlusSearch: {
|
|
|
2385
2385
|
layout: "grid" | "flex";
|
|
2386
2386
|
columns: PlusColumn[];
|
|
2387
2387
|
modelValue: FieldValues;
|
|
2388
|
-
collapseDuration: number;
|
|
2389
|
-
collapseTransition: boolean;
|
|
2390
2388
|
group: false | PlusFormGroupRow[];
|
|
2389
|
+
clearable: boolean;
|
|
2391
2390
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2392
2391
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2393
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2394
2392
|
rules: ElementPlusFormProps["rules"];
|
|
2395
|
-
|
|
2396
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2393
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2397
2394
|
style?: CSSProperties;
|
|
2398
2395
|
class?: any;
|
|
2399
2396
|
} & RecordType>;
|
|
2400
|
-
|
|
2397
|
+
hasLabel: boolean;
|
|
2398
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2399
|
+
collapseDuration: number;
|
|
2400
|
+
collapseTransition: boolean;
|
|
2401
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2401
2402
|
style?: CSSProperties;
|
|
2402
2403
|
class?: any;
|
|
2403
2404
|
} & RecordType>;
|
|
2405
|
+
defaultValues: FieldValues;
|
|
2404
2406
|
hasErrorTip: boolean;
|
|
2405
2407
|
hasFooter: boolean;
|
|
2406
2408
|
hasReset: boolean;
|
|
2407
|
-
hasLabel: boolean;
|
|
2408
2409
|
submitText: string;
|
|
2409
2410
|
resetText: string;
|
|
2410
2411
|
submitLoading: boolean;
|
|
@@ -2414,15 +2415,14 @@ export declare const PlusSearch: {
|
|
|
2414
2415
|
class?: any;
|
|
2415
2416
|
} & RecordType>;
|
|
2416
2417
|
prevent: boolean;
|
|
2417
|
-
clearable: boolean;
|
|
2418
2418
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
2419
2419
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2420
2420
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2421
2421
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2422
2422
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2423
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2424
2423
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2425
|
-
|
|
2424
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2425
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
2426
2426
|
formInstance: FormInstance | null;
|
|
2427
2427
|
handleSubmit: () => void;
|
|
2428
2428
|
handleReset: () => void;
|
|
@@ -2691,15 +2691,15 @@ export declare const PlusSearch: {
|
|
|
2691
2691
|
columns: PlusColumn[];
|
|
2692
2692
|
modelValue: FieldValues;
|
|
2693
2693
|
labelPosition: "left" | "right" | "top";
|
|
2694
|
-
|
|
2695
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2694
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2696
2695
|
style?: CSSProperties;
|
|
2697
2696
|
class?: any;
|
|
2698
2697
|
} & RecordType>;
|
|
2699
|
-
|
|
2698
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2700
2699
|
style?: CSSProperties;
|
|
2701
2700
|
class?: any;
|
|
2702
2701
|
} & RecordType>;
|
|
2702
|
+
defaultValues: FieldValues;
|
|
2703
2703
|
hasFooter: boolean;
|
|
2704
2704
|
hasReset: boolean;
|
|
2705
2705
|
resetText: string;
|