@aplus-frontend/ui 7.14.5 → 7.15.1
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/src/ag-grid/editable/form-item.vue.mjs +8 -7
- package/es/src/ag-grid/editable/index.vue.mjs +19 -18
- package/es/src/ag-grid/index.vue.mjs +110 -105
- package/es/src/ag-grid/interface.d.ts +7 -0
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1086 -6
- package/es/src/ap-field/date/index.vue.mjs +63 -57
- package/es/src/ap-field/date-range/index.vue.d.ts +1155 -4
- package/es/src/ap-field/date-range/index.vue.mjs +70 -63
- package/es/src/ap-field/interface.d.ts +25 -29
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/radio/index.vue.d.ts +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/second/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +3 -2
- package/es/src/ap-field/select/index.vue.mjs +116 -104
- package/es/src/ap-field/select/read.vue2.mjs +4 -3
- package/es/src/ap-field/slider/index.vue.d.ts +1 -1
- package/es/src/ap-field/switch/index.vue.d.ts +232 -4
- package/es/src/ap-field/switch/index.vue.mjs +48 -42
- package/es/src/ap-field/text/password.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +1 -0
- package/es/src/ap-form/drawer-form/index.vue.mjs +107 -116
- package/es/src/ap-form/interface.d.ts +1 -1
- package/es/src/ap-form/item-group/index.vue.d.ts +2 -4
- package/es/src/ap-form/item-group/index.vue.mjs +37 -42
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +66 -5
- package/es/src/ap-form/items/checkbox/index.vue.mjs +20 -14
- package/es/src/ap-form/items/date/index.vue.d.ts +1497 -5
- package/es/src/ap-form/items/date/index.vue.mjs +25 -19
- package/es/src/ap-form/items/date-range/index.vue.d.ts +1607 -5
- package/es/src/ap-form/items/date-range/index.vue.mjs +25 -19
- package/es/src/ap-form/items/number/index.vue.d.ts +4 -4
- package/es/src/ap-form/items/radio/index.vue.d.ts +5 -5
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -3
- package/es/src/ap-form/items/select/index.vue.d.ts +18 -12
- package/es/src/ap-form/items/switch/index.vue.d.ts +436 -5
- package/es/src/ap-form/items/switch/index.vue.mjs +24 -17
- package/es/src/ap-form/items/text/password.vue.d.ts +5 -5
- package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/es/src/ap-table/components/setting/template/item.vue2.mjs +27 -26
- package/es/src/ap-table/constants.d.ts +1923 -107
- package/es/src/time-ago/index.vue.mjs +21 -17
- package/es/src/time-ago/interface.d.ts +8 -0
- package/es/src/time-ago/useTimeAgo.d.ts +21 -0
- package/es/src/time-ago/useTimeAgo.mjs +36 -34
- package/es/src/time-ago/utils.d.ts +11 -0
- package/es/src/time-ago/utils.mjs +41 -9
- package/es/src/utils/index.d.ts +1 -0
- package/es/src/utils/index.mjs +18 -14
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +7 -0
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1086 -6
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1155 -4
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +25 -29
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +3 -2
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
- package/lib/src/ap-field/switch/index.vue.d.ts +232 -4
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +1 -0
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/interface.d.ts +1 -1
- package/lib/src/ap-form/item-group/index.vue.d.ts +2 -4
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +66 -5
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +1497 -5
- package/lib/src/ap-form/items/date/index.vue.js +1 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +1607 -5
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +4 -4
- package/lib/src/ap-form/items/radio/index.vue.d.ts +5 -5
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +18 -12
- package/lib/src/ap-form/items/switch/index.vue.d.ts +436 -5
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +5 -5
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
- package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +1923 -107
- package/lib/src/time-ago/index.vue.js +1 -1
- package/lib/src/time-ago/interface.d.ts +8 -0
- package/lib/src/time-ago/useTimeAgo.d.ts +21 -0
- package/lib/src/time-ago/useTimeAgo.js +1 -1
- package/lib/src/time-ago/utils.d.ts +11 -0
- package/lib/src/time-ago/utils.js +1 -1
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +5 -5
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
import { ApTableValueFields } from './interface';
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives,
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, CSSProperties, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, VNode, RendererNode, RendererElement, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
3
3
|
import { ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextProps, ApFormItemTextAreaProps, ApFormItemCheckboxProps, ApFormItemTextPasswordProps, ApFormItemTreeSelectProps } from '../ap-form/items/interface';
|
|
4
|
-
import { ApFieldDateProps, ApFieldDateRangeProps, ApFieldNumberProps,
|
|
5
|
-
import { ApFormItemSlots, ApFormItemTextPassword, ApActionGroupProps, GroupActionTypes } from '..';
|
|
6
|
-
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
7
|
-
import { KeyboardEventHandler, FocusEventHandler, ChangeEventHandler, CompositionEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
4
|
+
import { ApFieldDateProps, FieldMode, ApFieldDateRangeProps, ApFieldNumberProps, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldSwitchConfirmConfig, ApFieldTextProps, ApFieldTextAreaProps, ApFieldCheckboxProps, ApFieldTextPasswordProps, ApFieldTreeSelectProps } from '../ap-field';
|
|
8
5
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
9
|
-
import {
|
|
6
|
+
import { FocusEventHandler, MouseEventHandler, KeyboardEventHandler, ChangeEventHandler, CompositionEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
+
import { Dayjs } from 'dayjs';
|
|
8
|
+
import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicker';
|
|
9
|
+
import { Variant } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
10
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
11
|
+
import { AlignType } from '@aplus-frontend/antdv/es/vc-align/interface';
|
|
12
|
+
import { DateRender } from '@aplus-frontend/antdv/es/vc-picker/panels/DatePanel/DateBody';
|
|
13
|
+
import { MonthCellRender } from '@aplus-frontend/antdv/es/vc-picker/panels/MonthPanel/MonthBody';
|
|
14
|
+
import { PanelMode, RangeValue, OnPanelChange, PresetDate, CustomFormat, DisabledTimes, DisabledTime, PickerMode, EventValue } from '@aplus-frontend/antdv/es/vc-picker/interface';
|
|
15
|
+
import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
|
|
16
|
+
import { LiteralUnion, Recordable } from '../type';
|
|
17
|
+
import { ApFormatPresetType } from '../ap-field/date/interface';
|
|
18
|
+
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
11
19
|
import { OnCleanup } from '@vue/reactivity';
|
|
20
|
+
import { ApFormItemSlots, ApFormItemTextPassword, ApActionGroupProps, GroupActionTypes } from '..';
|
|
21
|
+
import { RangeDateRender, RangeType, RangeInfo } from '@aplus-frontend/antdv/es/vc-picker/RangePicker';
|
|
22
|
+
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
23
|
+
import { VueTypeValidableDef, VueTypeDef } from '../../node_modules/vue-types';
|
|
12
24
|
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
13
25
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
14
|
-
import { RadioChangeEvent,
|
|
26
|
+
import { RadioChangeEvent, CheckboxOptionType, TreeSelectProps } from '@aplus-frontend/antdv';
|
|
15
27
|
import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
|
|
16
28
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
17
29
|
import { RenderDOMFunc, CustomTagProps, DropdownRender, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
18
30
|
import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
19
|
-
import { Recordable, LiteralUnion } from '../type';
|
|
20
31
|
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
21
32
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
22
33
|
import { ApFormItemTextGroup } from '../ap-form/items/text';
|
|
@@ -25,7 +36,6 @@ import { LegacyDataNode, FieldNames, Key } from '@aplus-frontend/antdv/es/vc-tre
|
|
|
25
36
|
import { ChangeEventExtra, FieldNames, DefaultOptionType, BaseOptionType, SimpleModeConfig, LegacyDataNode } from '@aplus-frontend/antdv/es/vc-tree-select/TreeSelect';
|
|
26
37
|
import { CheckedStrategy } from '@aplus-frontend/antdv/es/vc-tree-select/utils/strategyUtil';
|
|
27
38
|
import { ExpandAction } from '@aplus-frontend/antdv/es/vc-tree/props';
|
|
28
|
-
import { ApFormatPresetType } from '../ap-field/date/interface';
|
|
29
39
|
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
30
40
|
import { ApTableIndexProps, ApTableStatusProps } from './components/interface';
|
|
31
41
|
/**
|
|
@@ -33,22 +43,10 @@ import { ApTableIndexProps, ApTableStatusProps } from './components/interface';
|
|
|
33
43
|
*/
|
|
34
44
|
export declare const apTableFormItemMap: {
|
|
35
45
|
date: {
|
|
36
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemDateProps> & Readonly<{}>, {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
hasFeedback: boolean;
|
|
41
|
-
autoLink: boolean;
|
|
42
|
-
validateFirst: boolean;
|
|
43
|
-
field: Omit< ApFieldDateProps, "value" | "onUpdate:value">;
|
|
44
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
45
|
-
P: {};
|
|
46
|
-
B: {};
|
|
47
|
-
D: {};
|
|
48
|
-
C: {};
|
|
49
|
-
M: {};
|
|
50
|
-
Defaults: {};
|
|
51
|
-
}, Readonly< ApFormItemDateProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
46
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemDateProps> & Readonly<{}>, {
|
|
47
|
+
focus: () => void | undefined;
|
|
48
|
+
blur: () => void | undefined;
|
|
49
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
52
50
|
disabled: boolean;
|
|
53
51
|
required: boolean;
|
|
54
52
|
colon: boolean;
|
|
@@ -56,62 +54,1618 @@ export declare const apTableFormItemMap: {
|
|
|
56
54
|
autoLink: boolean;
|
|
57
55
|
validateFirst: boolean;
|
|
58
56
|
field: Omit< ApFieldDateProps, "value" | "onUpdate:value">;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
57
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
58
|
+
dateRef: ({
|
|
59
|
+
$: ComponentInternalInstance;
|
|
60
|
+
$data: {};
|
|
61
|
+
$props: {
|
|
62
|
+
readonly mode?: FieldMode | undefined;
|
|
63
|
+
readonly class?: unknown;
|
|
64
|
+
readonly style?: unknown;
|
|
65
|
+
readonly size?: ButtonSize;
|
|
66
|
+
readonly onBlur?: FocusEventHandler | undefined;
|
|
67
|
+
readonly onClick?: MouseEventHandler | undefined;
|
|
68
|
+
readonly onContextmenu?: MouseEventHandler | undefined;
|
|
69
|
+
readonly onFocus?: FocusEventHandler | undefined;
|
|
70
|
+
readonly onKeydown?: ((event: KeyboardEvent, preventDefault: () => void) => void) | undefined;
|
|
71
|
+
readonly onMousedown?: ( MouseEventHandler & ((e: MouseEvent) => void)) | undefined;
|
|
72
|
+
readonly onMouseenter?: MouseEventHandler | undefined;
|
|
73
|
+
readonly onMouseleave?: MouseEventHandler | undefined;
|
|
74
|
+
readonly onMouseup?: MouseEventHandler | undefined;
|
|
75
|
+
readonly onSelect?: ((value: Dayjs) => void) | undefined;
|
|
76
|
+
readonly open?: boolean | undefined;
|
|
77
|
+
readonly disabled?: boolean | undefined;
|
|
78
|
+
readonly direction?: "ltr" | "rtl" | undefined;
|
|
79
|
+
readonly placeholder?: string | undefined;
|
|
80
|
+
readonly id?: string | undefined;
|
|
81
|
+
readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
82
|
+
readonly prefixCls?: string | undefined;
|
|
83
|
+
readonly locale?: PickerLocale | undefined;
|
|
84
|
+
readonly variant?: Variant | undefined;
|
|
85
|
+
readonly name?: string | undefined;
|
|
86
|
+
readonly autofocus?: boolean | undefined;
|
|
87
|
+
readonly autocomplete?: string | undefined;
|
|
88
|
+
readonly bordered?: boolean | undefined;
|
|
89
|
+
readonly clearIcon?: VueNode;
|
|
90
|
+
readonly allowClear?: boolean | undefined;
|
|
91
|
+
readonly suffixIcon?: VueNode;
|
|
92
|
+
readonly transitionName?: string | undefined;
|
|
93
|
+
readonly dropdownClassName?: string | undefined;
|
|
94
|
+
readonly tabindex?: number | undefined;
|
|
95
|
+
readonly defaultOpen?: boolean | undefined;
|
|
96
|
+
readonly dropdownAlign?: AlignType | undefined;
|
|
97
|
+
readonly onOpenChange?: ((open: boolean) => void) | undefined;
|
|
98
|
+
readonly role?: string | undefined;
|
|
99
|
+
readonly popupStyle?: CSSProperties | undefined;
|
|
100
|
+
readonly picker?: "time" | "month" | "year" | "date" | "week" | "quarter" | undefined;
|
|
101
|
+
readonly defaultPickerValue?: Dayjs | ( Dayjs & string) | undefined;
|
|
102
|
+
readonly disabledDate?: ((date: Dayjs) => boolean) | undefined;
|
|
103
|
+
readonly showWeek?: boolean | undefined;
|
|
104
|
+
readonly dateRender?: DateRender<Dayjs> | undefined;
|
|
105
|
+
readonly monthCellRender?: MonthCellRender<Dayjs> | undefined;
|
|
106
|
+
readonly renderExtraFooter?: ((mode: PanelMode) => VueNode) | undefined;
|
|
107
|
+
readonly onPanelChange?: (((values: RangeValue<Dayjs>, modes: [ PanelMode, PanelMode]) => void) & OnPanelChange<Dayjs>) | undefined;
|
|
108
|
+
readonly inputReadOnly?: boolean | undefined;
|
|
109
|
+
readonly presets?: PresetDate<Dayjs>[] | undefined;
|
|
110
|
+
readonly panelRender?: ((originPanel: VueNode) => VueNode) | undefined;
|
|
111
|
+
readonly inputRender?: ((props: HTMLAttributes) => VueNode) | undefined;
|
|
112
|
+
readonly showToday?: boolean | undefined;
|
|
113
|
+
readonly showTime?: boolean | SharedTimeProps<Dayjs> | undefined;
|
|
114
|
+
readonly valueFormat?: string | undefined;
|
|
115
|
+
readonly emptyText?: string | undefined;
|
|
116
|
+
readonly value?: number | null | undefined;
|
|
117
|
+
readonly defaultValue?: number | undefined;
|
|
118
|
+
readonly 'onUpdate:value'?: (((ts: number | null) => void) & ((...args: any[]) => any)) | undefined;
|
|
119
|
+
readonly onChange?: ((ts: number | null, dayStr: string) => void) | undefined;
|
|
120
|
+
readonly onOk?: ((ts: number | null) => void) | undefined;
|
|
121
|
+
readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
|
|
122
|
+
readonly shownFormat?: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[] | undefined;
|
|
123
|
+
readonly formatBegins?: boolean | undefined;
|
|
124
|
+
readonly timezone?: ( ZoneAlias | {
|
|
125
|
+
label?: string;
|
|
126
|
+
value: ZoneAlias;
|
|
127
|
+
}[]) | undefined;
|
|
128
|
+
readonly disabledTime?: ((date: Dayjs) => DisabledTimes) | undefined;
|
|
129
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
130
|
+
$attrs: {
|
|
131
|
+
[x: string]: unknown;
|
|
132
|
+
};
|
|
133
|
+
$refs: {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
} & {
|
|
136
|
+
datePickerRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
137
|
+
defaultPickerValue: {
|
|
138
|
+
type: PropType<string | Dayjs>;
|
|
139
|
+
default: string | Dayjs;
|
|
140
|
+
};
|
|
141
|
+
defaultValue: {
|
|
142
|
+
type: PropType<string | Dayjs>;
|
|
143
|
+
default: string | Dayjs;
|
|
144
|
+
};
|
|
145
|
+
value: {
|
|
146
|
+
type: PropType<string | Dayjs>;
|
|
147
|
+
default: string | Dayjs;
|
|
148
|
+
};
|
|
149
|
+
presets: {
|
|
150
|
+
type: PropType< PresetDate<Dayjs>[]>;
|
|
151
|
+
default: PresetDate<Dayjs>[];
|
|
152
|
+
};
|
|
153
|
+
disabledTime: {
|
|
154
|
+
type: PropType<DisabledTime<Dayjs>>;
|
|
155
|
+
default: DisabledTime<Dayjs>;
|
|
156
|
+
};
|
|
157
|
+
renderExtraFooter: {
|
|
158
|
+
type: PropType<(mode: PanelMode) => VueNode>;
|
|
159
|
+
default: (mode: PanelMode) => VueNode;
|
|
160
|
+
};
|
|
161
|
+
showNow: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
monthCellRender: {
|
|
166
|
+
type: PropType<MonthCellRender<Dayjs>>;
|
|
167
|
+
default: MonthCellRender<Dayjs>;
|
|
168
|
+
};
|
|
169
|
+
monthCellContentRender: {
|
|
170
|
+
type: PropType<MonthCellRender<Dayjs>>;
|
|
171
|
+
default: MonthCellRender<Dayjs>;
|
|
172
|
+
};
|
|
173
|
+
id: StringConstructor;
|
|
174
|
+
dropdownClassName: StringConstructor;
|
|
175
|
+
popupClassName: StringConstructor;
|
|
176
|
+
popupStyle: {
|
|
177
|
+
type: PropType<CSSProperties>;
|
|
178
|
+
default: CSSProperties;
|
|
179
|
+
};
|
|
180
|
+
transitionName: StringConstructor;
|
|
181
|
+
placeholder: StringConstructor;
|
|
182
|
+
allowClear: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
autofocus: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
disabled: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
tabindex: NumberConstructor;
|
|
195
|
+
open: {
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
defaultOpen: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
inputReadOnly: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
format: {
|
|
208
|
+
type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
|
|
209
|
+
default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
210
|
+
};
|
|
211
|
+
getPopupContainer: {
|
|
212
|
+
type: PropType<(node: HTMLElement) => HTMLElement>;
|
|
213
|
+
default: (node: HTMLElement) => HTMLElement;
|
|
214
|
+
};
|
|
215
|
+
panelRender: {
|
|
216
|
+
type: PropType<(originPanel: VueNode) => VueNode>;
|
|
217
|
+
default: (originPanel: VueNode) => VueNode;
|
|
218
|
+
};
|
|
219
|
+
onChange: {
|
|
220
|
+
type: PropType<(value: string | Dayjs, dateString: string) => void>;
|
|
221
|
+
default: (value: string | Dayjs, dateString: string) => void;
|
|
222
|
+
};
|
|
223
|
+
'onUpdate:value': {
|
|
224
|
+
type: PropType<(value: string | Dayjs) => void>;
|
|
225
|
+
default: (value: string | Dayjs) => void;
|
|
226
|
+
};
|
|
227
|
+
onOk: {
|
|
228
|
+
type: PropType<(value: string | Dayjs) => void>;
|
|
229
|
+
default: (value: string | Dayjs) => void;
|
|
230
|
+
};
|
|
231
|
+
onOpenChange: {
|
|
232
|
+
type: PropType<(open: boolean) => void>;
|
|
233
|
+
default: (open: boolean) => void;
|
|
234
|
+
};
|
|
235
|
+
'onUpdate:open': {
|
|
236
|
+
type: PropType<(open: boolean) => void>;
|
|
237
|
+
default: (open: boolean) => void;
|
|
238
|
+
};
|
|
239
|
+
onFocus: {
|
|
240
|
+
type: PropType<FocusEventHandler>;
|
|
241
|
+
default: FocusEventHandler;
|
|
242
|
+
};
|
|
243
|
+
onBlur: {
|
|
244
|
+
type: PropType<FocusEventHandler>;
|
|
245
|
+
default: FocusEventHandler;
|
|
246
|
+
};
|
|
247
|
+
onMousedown: {
|
|
248
|
+
type: PropType<MouseEventHandler>;
|
|
249
|
+
default: MouseEventHandler;
|
|
250
|
+
};
|
|
251
|
+
onMouseup: {
|
|
252
|
+
type: PropType<MouseEventHandler>;
|
|
253
|
+
default: MouseEventHandler;
|
|
254
|
+
};
|
|
255
|
+
onMouseenter: {
|
|
256
|
+
type: PropType<MouseEventHandler>;
|
|
257
|
+
default: MouseEventHandler;
|
|
258
|
+
};
|
|
259
|
+
onMouseleave: {
|
|
260
|
+
type: PropType<MouseEventHandler>;
|
|
261
|
+
default: MouseEventHandler;
|
|
262
|
+
};
|
|
263
|
+
onClick: {
|
|
264
|
+
type: PropType<MouseEventHandler>;
|
|
265
|
+
default: MouseEventHandler;
|
|
266
|
+
};
|
|
267
|
+
onContextmenu: {
|
|
268
|
+
type: PropType<MouseEventHandler>;
|
|
269
|
+
default: MouseEventHandler;
|
|
270
|
+
};
|
|
271
|
+
onKeydown: {
|
|
272
|
+
type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
|
|
273
|
+
default: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
274
|
+
};
|
|
275
|
+
role: StringConstructor;
|
|
276
|
+
name: StringConstructor;
|
|
277
|
+
autocomplete: StringConstructor;
|
|
278
|
+
direction: {
|
|
279
|
+
type: PropType<"rtl" | "ltr">;
|
|
280
|
+
default: "rtl" | "ltr";
|
|
281
|
+
};
|
|
282
|
+
showToday: {
|
|
283
|
+
type: BooleanConstructor;
|
|
284
|
+
default: boolean;
|
|
285
|
+
};
|
|
286
|
+
showTime: {
|
|
287
|
+
type: PropType<boolean | SharedTimeProps<Dayjs>>;
|
|
288
|
+
default: boolean | SharedTimeProps<Dayjs>;
|
|
289
|
+
};
|
|
290
|
+
locale: {
|
|
291
|
+
type: PropType<PickerLocale>;
|
|
292
|
+
default: PickerLocale;
|
|
293
|
+
};
|
|
294
|
+
size: {
|
|
295
|
+
type: PropType<SizeType>;
|
|
296
|
+
default: SizeType;
|
|
297
|
+
};
|
|
298
|
+
bordered: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
default: boolean;
|
|
301
|
+
};
|
|
302
|
+
variant: {
|
|
303
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
304
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
305
|
+
};
|
|
306
|
+
dateRender: {
|
|
307
|
+
type: PropType<DateRender<Dayjs>>;
|
|
308
|
+
default: DateRender<Dayjs>;
|
|
309
|
+
};
|
|
310
|
+
disabledDate: {
|
|
311
|
+
type: PropType<(date: Dayjs) => boolean>;
|
|
312
|
+
default: (date: Dayjs) => boolean;
|
|
313
|
+
};
|
|
314
|
+
mode: {
|
|
315
|
+
type: PropType<PanelMode>;
|
|
316
|
+
default: PanelMode;
|
|
317
|
+
};
|
|
318
|
+
picker: {
|
|
319
|
+
type: PropType<PickerMode>;
|
|
320
|
+
default: PickerMode;
|
|
321
|
+
};
|
|
322
|
+
valueFormat: StringConstructor;
|
|
323
|
+
placement: {
|
|
324
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
325
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
326
|
+
};
|
|
327
|
+
status: {
|
|
328
|
+
type: PropType<"" | "error" | "warning">;
|
|
329
|
+
default: "" | "error" | "warning";
|
|
330
|
+
};
|
|
331
|
+
disabledHours: {
|
|
332
|
+
type: PropType<() => number[]>;
|
|
333
|
+
default: () => number[];
|
|
334
|
+
};
|
|
335
|
+
disabledMinutes: {
|
|
336
|
+
type: PropType<(hour: number) => number[]>;
|
|
337
|
+
default: (hour: number) => number[];
|
|
338
|
+
};
|
|
339
|
+
disabledSeconds: {
|
|
340
|
+
type: PropType<(hour: number, minute: number) => number[]>;
|
|
341
|
+
default: (hour: number, minute: number) => number[];
|
|
342
|
+
};
|
|
343
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
344
|
+
size: SizeType;
|
|
345
|
+
value: string | Dayjs;
|
|
346
|
+
mode: PanelMode;
|
|
347
|
+
onMouseenter: MouseEventHandler;
|
|
348
|
+
onMouseleave: MouseEventHandler;
|
|
349
|
+
onClick: MouseEventHandler;
|
|
350
|
+
onFocus: FocusEventHandler;
|
|
351
|
+
onBlur: FocusEventHandler;
|
|
352
|
+
onChange: (value: string | Dayjs, dateString: string) => void;
|
|
353
|
+
onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
354
|
+
onContextmenu: MouseEventHandler;
|
|
355
|
+
onMousedown: MouseEventHandler;
|
|
356
|
+
onMouseup: MouseEventHandler;
|
|
357
|
+
open: boolean;
|
|
358
|
+
direction: "rtl" | "ltr";
|
|
359
|
+
disabled: boolean;
|
|
360
|
+
disabledDate: (date: Dayjs) => boolean;
|
|
361
|
+
picker: PickerMode;
|
|
362
|
+
locale: PickerLocale;
|
|
363
|
+
format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
364
|
+
disabledHours: () => number[];
|
|
365
|
+
disabledMinutes: (hour: number) => number[];
|
|
366
|
+
disabledSeconds: (hour: number, minute: number) => number[];
|
|
367
|
+
disabledTime: DisabledTime<Dayjs>;
|
|
368
|
+
autofocus: boolean;
|
|
369
|
+
getPopupContainer: (node: HTMLElement) => HTMLElement;
|
|
370
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
371
|
+
bordered: boolean;
|
|
372
|
+
'onUpdate:value': (value: string | Dayjs) => void;
|
|
373
|
+
status: "" | "error" | "warning";
|
|
374
|
+
defaultValue: string | Dayjs;
|
|
375
|
+
allowClear: boolean;
|
|
376
|
+
defaultOpen: boolean;
|
|
377
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
378
|
+
popupStyle: CSSProperties;
|
|
379
|
+
onOpenChange: (open: boolean) => void;
|
|
380
|
+
'onUpdate:open': (open: boolean) => void;
|
|
381
|
+
defaultPickerValue: string | Dayjs;
|
|
382
|
+
dateRender: DateRender<Dayjs>;
|
|
383
|
+
monthCellRender: MonthCellRender<Dayjs>;
|
|
384
|
+
renderExtraFooter: (mode: PanelMode) => VueNode;
|
|
385
|
+
onOk: (value: string | Dayjs) => void;
|
|
386
|
+
inputReadOnly: boolean;
|
|
387
|
+
presets: PresetDate<Dayjs>[];
|
|
388
|
+
panelRender: (originPanel: VueNode) => VueNode;
|
|
389
|
+
showToday: boolean;
|
|
390
|
+
showTime: boolean | SharedTimeProps<Dayjs>;
|
|
391
|
+
showNow: boolean;
|
|
392
|
+
monthCellContentRender: MonthCellRender<Dayjs>;
|
|
393
|
+
}, true, {}, CustomSlotsType<{
|
|
394
|
+
suffixIcon?: any;
|
|
395
|
+
prevIcon?: any;
|
|
396
|
+
nextIcon?: any;
|
|
397
|
+
superPrevIcon?: any;
|
|
398
|
+
superNextIcon?: any;
|
|
399
|
+
dateRender?: any;
|
|
400
|
+
renderExtraFooter?: any;
|
|
401
|
+
monthCellRender?: any;
|
|
402
|
+
monthCellContentRender?: any;
|
|
403
|
+
clearIcon?: any;
|
|
404
|
+
default?: any;
|
|
405
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
406
|
+
P: {};
|
|
407
|
+
B: {};
|
|
408
|
+
D: {};
|
|
409
|
+
C: {};
|
|
410
|
+
M: {};
|
|
411
|
+
Defaults: {};
|
|
412
|
+
}, Readonly< ExtractPropTypes<{
|
|
413
|
+
defaultPickerValue: {
|
|
414
|
+
type: PropType<string | Dayjs>;
|
|
415
|
+
default: string | Dayjs;
|
|
416
|
+
};
|
|
417
|
+
defaultValue: {
|
|
418
|
+
type: PropType<string | Dayjs>;
|
|
419
|
+
default: string | Dayjs;
|
|
420
|
+
};
|
|
421
|
+
value: {
|
|
422
|
+
type: PropType<string | Dayjs>;
|
|
423
|
+
default: string | Dayjs;
|
|
424
|
+
};
|
|
425
|
+
presets: {
|
|
426
|
+
type: PropType< PresetDate<Dayjs>[]>;
|
|
427
|
+
default: PresetDate<Dayjs>[];
|
|
428
|
+
};
|
|
429
|
+
disabledTime: {
|
|
430
|
+
type: PropType<DisabledTime<Dayjs>>;
|
|
431
|
+
default: DisabledTime<Dayjs>;
|
|
432
|
+
};
|
|
433
|
+
renderExtraFooter: {
|
|
434
|
+
type: PropType<(mode: PanelMode) => VueNode>;
|
|
435
|
+
default: (mode: PanelMode) => VueNode;
|
|
436
|
+
};
|
|
437
|
+
showNow: {
|
|
438
|
+
type: BooleanConstructor;
|
|
439
|
+
default: boolean;
|
|
440
|
+
};
|
|
441
|
+
monthCellRender: {
|
|
442
|
+
type: PropType<MonthCellRender<Dayjs>>;
|
|
443
|
+
default: MonthCellRender<Dayjs>;
|
|
444
|
+
};
|
|
445
|
+
monthCellContentRender: {
|
|
446
|
+
type: PropType<MonthCellRender<Dayjs>>;
|
|
447
|
+
default: MonthCellRender<Dayjs>;
|
|
448
|
+
};
|
|
449
|
+
id: StringConstructor;
|
|
450
|
+
dropdownClassName: StringConstructor;
|
|
451
|
+
popupClassName: StringConstructor;
|
|
452
|
+
popupStyle: {
|
|
453
|
+
type: PropType<CSSProperties>;
|
|
454
|
+
default: CSSProperties;
|
|
455
|
+
};
|
|
456
|
+
transitionName: StringConstructor;
|
|
457
|
+
placeholder: StringConstructor;
|
|
458
|
+
allowClear: {
|
|
459
|
+
type: BooleanConstructor;
|
|
460
|
+
default: boolean;
|
|
461
|
+
};
|
|
462
|
+
autofocus: {
|
|
463
|
+
type: BooleanConstructor;
|
|
464
|
+
default: boolean;
|
|
465
|
+
};
|
|
466
|
+
disabled: {
|
|
467
|
+
type: BooleanConstructor;
|
|
468
|
+
default: boolean;
|
|
469
|
+
};
|
|
470
|
+
tabindex: NumberConstructor;
|
|
471
|
+
open: {
|
|
472
|
+
type: BooleanConstructor;
|
|
473
|
+
default: boolean;
|
|
474
|
+
};
|
|
475
|
+
defaultOpen: {
|
|
476
|
+
type: BooleanConstructor;
|
|
477
|
+
default: boolean;
|
|
478
|
+
};
|
|
479
|
+
inputReadOnly: {
|
|
480
|
+
type: BooleanConstructor;
|
|
481
|
+
default: boolean;
|
|
482
|
+
};
|
|
483
|
+
format: {
|
|
484
|
+
type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
|
|
485
|
+
default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
486
|
+
};
|
|
487
|
+
getPopupContainer: {
|
|
488
|
+
type: PropType<(node: HTMLElement) => HTMLElement>;
|
|
489
|
+
default: (node: HTMLElement) => HTMLElement;
|
|
490
|
+
};
|
|
491
|
+
panelRender: {
|
|
492
|
+
type: PropType<(originPanel: VueNode) => VueNode>;
|
|
493
|
+
default: (originPanel: VueNode) => VueNode;
|
|
494
|
+
};
|
|
495
|
+
onChange: {
|
|
496
|
+
type: PropType<(value: string | Dayjs, dateString: string) => void>;
|
|
497
|
+
default: (value: string | Dayjs, dateString: string) => void;
|
|
498
|
+
};
|
|
499
|
+
'onUpdate:value': {
|
|
500
|
+
type: PropType<(value: string | Dayjs) => void>;
|
|
501
|
+
default: (value: string | Dayjs) => void;
|
|
502
|
+
};
|
|
503
|
+
onOk: {
|
|
504
|
+
type: PropType<(value: string | Dayjs) => void>;
|
|
505
|
+
default: (value: string | Dayjs) => void;
|
|
506
|
+
};
|
|
507
|
+
onOpenChange: {
|
|
508
|
+
type: PropType<(open: boolean) => void>;
|
|
509
|
+
default: (open: boolean) => void;
|
|
510
|
+
};
|
|
511
|
+
'onUpdate:open': {
|
|
512
|
+
type: PropType<(open: boolean) => void>;
|
|
513
|
+
default: (open: boolean) => void;
|
|
514
|
+
};
|
|
515
|
+
onFocus: {
|
|
516
|
+
type: PropType<FocusEventHandler>;
|
|
517
|
+
default: FocusEventHandler;
|
|
518
|
+
};
|
|
519
|
+
onBlur: {
|
|
520
|
+
type: PropType<FocusEventHandler>;
|
|
521
|
+
default: FocusEventHandler;
|
|
522
|
+
};
|
|
523
|
+
onMousedown: {
|
|
524
|
+
type: PropType<MouseEventHandler>;
|
|
525
|
+
default: MouseEventHandler;
|
|
526
|
+
};
|
|
527
|
+
onMouseup: {
|
|
528
|
+
type: PropType<MouseEventHandler>;
|
|
529
|
+
default: MouseEventHandler;
|
|
530
|
+
};
|
|
531
|
+
onMouseenter: {
|
|
532
|
+
type: PropType<MouseEventHandler>;
|
|
533
|
+
default: MouseEventHandler;
|
|
534
|
+
};
|
|
535
|
+
onMouseleave: {
|
|
536
|
+
type: PropType<MouseEventHandler>;
|
|
537
|
+
default: MouseEventHandler;
|
|
538
|
+
};
|
|
539
|
+
onClick: {
|
|
540
|
+
type: PropType<MouseEventHandler>;
|
|
541
|
+
default: MouseEventHandler;
|
|
542
|
+
};
|
|
543
|
+
onContextmenu: {
|
|
544
|
+
type: PropType<MouseEventHandler>;
|
|
545
|
+
default: MouseEventHandler;
|
|
546
|
+
};
|
|
547
|
+
onKeydown: {
|
|
548
|
+
type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
|
|
549
|
+
default: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
550
|
+
};
|
|
551
|
+
role: StringConstructor;
|
|
552
|
+
name: StringConstructor;
|
|
553
|
+
autocomplete: StringConstructor;
|
|
554
|
+
direction: {
|
|
555
|
+
type: PropType<"rtl" | "ltr">;
|
|
556
|
+
default: "rtl" | "ltr";
|
|
557
|
+
};
|
|
558
|
+
showToday: {
|
|
559
|
+
type: BooleanConstructor;
|
|
560
|
+
default: boolean;
|
|
561
|
+
};
|
|
562
|
+
showTime: {
|
|
563
|
+
type: PropType<boolean | SharedTimeProps<Dayjs>>;
|
|
564
|
+
default: boolean | SharedTimeProps<Dayjs>;
|
|
565
|
+
};
|
|
566
|
+
locale: {
|
|
567
|
+
type: PropType<PickerLocale>;
|
|
568
|
+
default: PickerLocale;
|
|
569
|
+
};
|
|
570
|
+
size: {
|
|
571
|
+
type: PropType<SizeType>;
|
|
572
|
+
default: SizeType;
|
|
573
|
+
};
|
|
574
|
+
bordered: {
|
|
575
|
+
type: BooleanConstructor;
|
|
576
|
+
default: boolean;
|
|
577
|
+
};
|
|
578
|
+
variant: {
|
|
579
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
580
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
581
|
+
};
|
|
582
|
+
dateRender: {
|
|
583
|
+
type: PropType<DateRender<Dayjs>>;
|
|
584
|
+
default: DateRender<Dayjs>;
|
|
585
|
+
};
|
|
586
|
+
disabledDate: {
|
|
587
|
+
type: PropType<(date: Dayjs) => boolean>;
|
|
588
|
+
default: (date: Dayjs) => boolean;
|
|
589
|
+
};
|
|
590
|
+
mode: {
|
|
591
|
+
type: PropType<PanelMode>;
|
|
592
|
+
default: PanelMode;
|
|
593
|
+
};
|
|
594
|
+
picker: {
|
|
595
|
+
type: PropType<PickerMode>;
|
|
596
|
+
default: PickerMode;
|
|
597
|
+
};
|
|
598
|
+
valueFormat: StringConstructor;
|
|
599
|
+
placement: {
|
|
600
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
601
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
602
|
+
};
|
|
603
|
+
status: {
|
|
604
|
+
type: PropType<"" | "error" | "warning">;
|
|
605
|
+
default: "" | "error" | "warning";
|
|
606
|
+
};
|
|
607
|
+
disabledHours: {
|
|
608
|
+
type: PropType<() => number[]>;
|
|
609
|
+
default: () => number[];
|
|
610
|
+
};
|
|
611
|
+
disabledMinutes: {
|
|
612
|
+
type: PropType<(hour: number) => number[]>;
|
|
613
|
+
default: (hour: number) => number[];
|
|
614
|
+
};
|
|
615
|
+
disabledSeconds: {
|
|
616
|
+
type: PropType<(hour: number, minute: number) => number[]>;
|
|
617
|
+
default: (hour: number, minute: number) => number[];
|
|
618
|
+
};
|
|
619
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
620
|
+
size: SizeType;
|
|
621
|
+
value: string | Dayjs;
|
|
622
|
+
mode: PanelMode;
|
|
623
|
+
onMouseenter: MouseEventHandler;
|
|
624
|
+
onMouseleave: MouseEventHandler;
|
|
625
|
+
onClick: MouseEventHandler;
|
|
626
|
+
onFocus: FocusEventHandler;
|
|
627
|
+
onBlur: FocusEventHandler;
|
|
628
|
+
onChange: (value: string | Dayjs, dateString: string) => void;
|
|
629
|
+
onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
630
|
+
onContextmenu: MouseEventHandler;
|
|
631
|
+
onMousedown: MouseEventHandler;
|
|
632
|
+
onMouseup: MouseEventHandler;
|
|
633
|
+
open: boolean;
|
|
634
|
+
direction: "rtl" | "ltr";
|
|
635
|
+
disabled: boolean;
|
|
636
|
+
disabledDate: (date: Dayjs) => boolean;
|
|
637
|
+
picker: PickerMode;
|
|
638
|
+
locale: PickerLocale;
|
|
639
|
+
format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
640
|
+
disabledHours: () => number[];
|
|
641
|
+
disabledMinutes: (hour: number) => number[];
|
|
642
|
+
disabledSeconds: (hour: number, minute: number) => number[];
|
|
643
|
+
disabledTime: DisabledTime<Dayjs>;
|
|
644
|
+
autofocus: boolean;
|
|
645
|
+
getPopupContainer: (node: HTMLElement) => HTMLElement;
|
|
646
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
647
|
+
bordered: boolean;
|
|
648
|
+
'onUpdate:value': (value: string | Dayjs) => void;
|
|
649
|
+
status: "" | "error" | "warning";
|
|
650
|
+
defaultValue: string | Dayjs;
|
|
651
|
+
allowClear: boolean;
|
|
652
|
+
defaultOpen: boolean;
|
|
653
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
654
|
+
popupStyle: CSSProperties;
|
|
655
|
+
onOpenChange: (open: boolean) => void;
|
|
656
|
+
'onUpdate:open': (open: boolean) => void;
|
|
657
|
+
defaultPickerValue: string | Dayjs;
|
|
658
|
+
dateRender: DateRender<Dayjs>;
|
|
659
|
+
monthCellRender: MonthCellRender<Dayjs>;
|
|
660
|
+
renderExtraFooter: (mode: PanelMode) => VueNode;
|
|
661
|
+
onOk: (value: string | Dayjs) => void;
|
|
662
|
+
inputReadOnly: boolean;
|
|
663
|
+
presets: PresetDate<Dayjs>[];
|
|
664
|
+
panelRender: (originPanel: VueNode) => VueNode;
|
|
665
|
+
showToday: boolean;
|
|
666
|
+
showTime: boolean | SharedTimeProps<Dayjs>;
|
|
667
|
+
showNow: boolean;
|
|
668
|
+
monthCellContentRender: MonthCellRender<Dayjs>;
|
|
669
|
+
}> | null;
|
|
670
|
+
};
|
|
671
|
+
$slots: Readonly<{
|
|
672
|
+
[name: string]: Slot<any> | undefined;
|
|
673
|
+
}>;
|
|
674
|
+
$root: ComponentPublicInstance | null;
|
|
675
|
+
$parent: ComponentPublicInstance | null;
|
|
676
|
+
$host: Element | null;
|
|
677
|
+
$emit: (event: "update:value", ...args: any[]) => void;
|
|
678
|
+
$el: any;
|
|
679
|
+
$options: ComponentOptionsBase<Readonly< ApFieldDateProps> & Readonly<{
|
|
680
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
681
|
+
}>, {
|
|
682
|
+
blur: () => void;
|
|
683
|
+
focus: () => void;
|
|
684
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
685
|
+
"update:value": (...args: any[]) => void;
|
|
686
|
+
}, string, {
|
|
687
|
+
mode: FieldMode;
|
|
688
|
+
open: boolean;
|
|
689
|
+
disabled: boolean;
|
|
690
|
+
autofocus: boolean;
|
|
691
|
+
bordered: boolean;
|
|
692
|
+
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
693
|
+
[key: string]: any;
|
|
694
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
695
|
+
[key: string]: any;
|
|
696
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
697
|
+
[key: string]: any;
|
|
698
|
+
}> | null;
|
|
699
|
+
allowClear: boolean;
|
|
700
|
+
suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
701
|
+
[key: string]: any;
|
|
702
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
703
|
+
[key: string]: any;
|
|
704
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
705
|
+
[key: string]: any;
|
|
706
|
+
}> | null;
|
|
707
|
+
defaultOpen: boolean;
|
|
708
|
+
emptyText: string;
|
|
709
|
+
inputReadOnly: boolean;
|
|
710
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
711
|
+
showToday: boolean;
|
|
712
|
+
showTime: boolean | SharedTimeProps<Dayjs>;
|
|
713
|
+
formatBegins: boolean;
|
|
714
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
715
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
716
|
+
created?: (() => void) | (() => void)[];
|
|
717
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
718
|
+
mounted?: (() => void) | (() => void)[];
|
|
719
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
720
|
+
updated?: (() => void) | (() => void)[];
|
|
721
|
+
activated?: (() => void) | (() => void)[];
|
|
722
|
+
deactivated?: (() => void) | (() => void)[];
|
|
723
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
724
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
725
|
+
destroyed?: (() => void) | (() => void)[];
|
|
726
|
+
unmounted?: (() => void) | (() => void)[];
|
|
727
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
728
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
729
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
730
|
+
};
|
|
731
|
+
$forceUpdate: () => void;
|
|
732
|
+
$nextTick: nextTick;
|
|
733
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
734
|
+
} & Readonly<{
|
|
735
|
+
mode: FieldMode;
|
|
736
|
+
open: boolean;
|
|
737
|
+
disabled: boolean;
|
|
738
|
+
autofocus: boolean;
|
|
739
|
+
bordered: boolean;
|
|
740
|
+
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
741
|
+
[key: string]: any;
|
|
742
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
743
|
+
[key: string]: any;
|
|
744
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
745
|
+
[key: string]: any;
|
|
746
|
+
}> | null;
|
|
747
|
+
allowClear: boolean;
|
|
748
|
+
suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
749
|
+
[key: string]: any;
|
|
750
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
751
|
+
[key: string]: any;
|
|
752
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
753
|
+
[key: string]: any;
|
|
754
|
+
}> | null;
|
|
755
|
+
defaultOpen: boolean;
|
|
756
|
+
emptyText: string;
|
|
757
|
+
inputReadOnly: boolean;
|
|
758
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
759
|
+
showToday: boolean;
|
|
760
|
+
showTime: boolean | SharedTimeProps<Dayjs>;
|
|
761
|
+
formatBegins: boolean;
|
|
762
|
+
}> & Omit<Readonly< ApFieldDateProps> & Readonly<{
|
|
763
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
764
|
+
}>, "blur" | "focus" | ("mode" | "open" | "disabled" | "autofocus" | "bordered" | "clearIcon" | "allowClear" | "suffixIcon" | "defaultOpen" | "emptyText" | "inputReadOnly" | "format" | "showToday" | "showTime" | "formatBegins")> & ShallowUnwrapRef<{
|
|
765
|
+
blur: () => void;
|
|
766
|
+
focus: () => void;
|
|
767
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
768
|
+
$slots: Readonly<{
|
|
769
|
+
dateRender: any;
|
|
770
|
+
suffixIcon?: any;
|
|
771
|
+
prevIcon?: any;
|
|
772
|
+
nextIcon?: any;
|
|
773
|
+
superPrevIcon?: any;
|
|
774
|
+
superNextIcon?: any;
|
|
775
|
+
renderExtraFooter?: any;
|
|
776
|
+
monthCellRender?: any;
|
|
777
|
+
monthCellContentRender?: any;
|
|
778
|
+
clearIcon?: any;
|
|
779
|
+
default?: any;
|
|
780
|
+
}> & {
|
|
781
|
+
dateRender: any;
|
|
782
|
+
suffixIcon?: any;
|
|
783
|
+
prevIcon?: any;
|
|
784
|
+
nextIcon?: any;
|
|
785
|
+
superPrevIcon?: any;
|
|
786
|
+
superNextIcon?: any;
|
|
787
|
+
renderExtraFooter?: any;
|
|
788
|
+
monthCellRender?: any;
|
|
789
|
+
monthCellContentRender?: any;
|
|
790
|
+
clearIcon?: any;
|
|
791
|
+
default?: any;
|
|
792
|
+
};
|
|
793
|
+
}) | null;
|
|
794
|
+
}, any, ComponentProvideOptions, {
|
|
795
|
+
P: {};
|
|
796
|
+
B: {};
|
|
797
|
+
D: {};
|
|
798
|
+
C: {};
|
|
799
|
+
M: {};
|
|
800
|
+
Defaults: {};
|
|
801
|
+
}, Readonly< ApFormItemDateProps> & Readonly<{}>, {
|
|
802
|
+
focus: () => void | undefined;
|
|
803
|
+
blur: () => void | undefined;
|
|
804
|
+
}, {}, {}, {}, {
|
|
805
|
+
disabled: boolean;
|
|
806
|
+
required: boolean;
|
|
807
|
+
colon: boolean;
|
|
808
|
+
hasFeedback: boolean;
|
|
809
|
+
autoLink: boolean;
|
|
810
|
+
validateFirst: boolean;
|
|
811
|
+
field: Omit< ApFieldDateProps, "value" | "onUpdate:value">;
|
|
812
|
+
}>;
|
|
813
|
+
__isFragment?: never;
|
|
814
|
+
__isTeleport?: never;
|
|
815
|
+
__isSuspense?: never;
|
|
816
|
+
} & ComponentOptionsBase<Readonly< ApFormItemDateProps> & Readonly<{}>, {
|
|
817
|
+
focus: () => void | undefined;
|
|
818
|
+
blur: () => void | undefined;
|
|
819
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
820
|
+
disabled: boolean;
|
|
821
|
+
required: boolean;
|
|
822
|
+
colon: boolean;
|
|
823
|
+
hasFeedback: boolean;
|
|
824
|
+
autoLink: boolean;
|
|
825
|
+
validateFirst: boolean;
|
|
826
|
+
field: Omit< ApFieldDateProps, "value" | "onUpdate:value">;
|
|
827
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
828
|
+
$slots: Readonly<{
|
|
829
|
+
dateRender: any;
|
|
830
|
+
suffixIcon?: any;
|
|
831
|
+
prevIcon?: any;
|
|
832
|
+
nextIcon?: any;
|
|
833
|
+
superPrevIcon?: any;
|
|
834
|
+
superNextIcon?: any;
|
|
835
|
+
renderExtraFooter?: any;
|
|
836
|
+
monthCellRender?: any;
|
|
837
|
+
monthCellContentRender?: any;
|
|
838
|
+
clearIcon?: any;
|
|
839
|
+
default?: any;
|
|
840
|
+
} & Omit< ApFormItemSlots, "default">> & {
|
|
841
|
+
dateRender: any;
|
|
842
|
+
suffixIcon?: any;
|
|
843
|
+
prevIcon?: any;
|
|
844
|
+
nextIcon?: any;
|
|
845
|
+
superPrevIcon?: any;
|
|
846
|
+
superNextIcon?: any;
|
|
847
|
+
renderExtraFooter?: any;
|
|
848
|
+
monthCellRender?: any;
|
|
849
|
+
monthCellContentRender?: any;
|
|
850
|
+
clearIcon?: any;
|
|
851
|
+
default?: any;
|
|
852
|
+
} & Omit< ApFormItemSlots, "default">;
|
|
853
|
+
});
|
|
854
|
+
dateRange: {
|
|
855
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemDateRangeProps> & Readonly<{}>, {
|
|
856
|
+
focus: () => void | undefined;
|
|
857
|
+
blur: () => void | undefined;
|
|
858
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
859
|
+
disabled: boolean;
|
|
860
|
+
required: boolean;
|
|
861
|
+
colon: boolean;
|
|
862
|
+
hasFeedback: boolean;
|
|
863
|
+
autoLink: boolean;
|
|
864
|
+
validateFirst: boolean;
|
|
865
|
+
field: Omit< ApFieldDateRangeProps, "value" | "onUpdate:value">;
|
|
866
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
867
|
+
dateRangeRef: ({
|
|
868
|
+
$: ComponentInternalInstance;
|
|
869
|
+
$data: {};
|
|
870
|
+
$props: {
|
|
871
|
+
readonly mode?: FieldMode | undefined;
|
|
872
|
+
readonly class?: unknown;
|
|
873
|
+
readonly style?: unknown;
|
|
874
|
+
readonly size?: ButtonSize;
|
|
875
|
+
readonly onBlur?: FocusEventHandler | undefined;
|
|
876
|
+
readonly onClick?: MouseEventHandler | undefined;
|
|
877
|
+
readonly onContextmenu?: MouseEventHandler | undefined;
|
|
878
|
+
readonly onFocus?: FocusEventHandler | undefined;
|
|
879
|
+
readonly onKeydown?: ((event: KeyboardEvent, preventDefault: () => void) => void) | undefined;
|
|
880
|
+
readonly onMousedown?: ( MouseEventHandler & ((e: MouseEvent) => void)) | undefined;
|
|
881
|
+
readonly onMouseenter?: MouseEventHandler | undefined;
|
|
882
|
+
readonly onMouseleave?: MouseEventHandler | undefined;
|
|
883
|
+
readonly onMouseup?: MouseEventHandler | undefined;
|
|
884
|
+
readonly open?: boolean | undefined;
|
|
885
|
+
readonly separator?: VueNode;
|
|
886
|
+
readonly disabled?: boolean | [boolean, boolean] | undefined;
|
|
887
|
+
readonly direction?: "ltr" | "rtl" | undefined;
|
|
888
|
+
readonly placeholder?: [string, string] | undefined;
|
|
889
|
+
readonly id?: string | undefined;
|
|
890
|
+
readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
891
|
+
readonly prefixCls?: string | undefined;
|
|
892
|
+
readonly locale?: PickerLocale | undefined;
|
|
893
|
+
readonly variant?: Variant | undefined;
|
|
894
|
+
readonly name?: string | undefined;
|
|
895
|
+
readonly autofocus?: boolean | undefined;
|
|
896
|
+
readonly autocomplete?: string | undefined;
|
|
897
|
+
readonly bordered?: boolean | undefined;
|
|
898
|
+
readonly clearIcon?: VueNode;
|
|
899
|
+
readonly allowClear?: boolean | undefined;
|
|
900
|
+
readonly suffixIcon?: VueNode;
|
|
901
|
+
readonly transitionName?: string | undefined;
|
|
902
|
+
readonly dropdownClassName?: string | undefined;
|
|
903
|
+
readonly tabindex?: number | undefined;
|
|
904
|
+
readonly defaultOpen?: boolean | undefined;
|
|
905
|
+
readonly dropdownAlign?: AlignType | undefined;
|
|
906
|
+
readonly onOpenChange?: ((open: boolean) => void) | undefined;
|
|
907
|
+
readonly role?: string | undefined;
|
|
908
|
+
readonly popupStyle?: CSSProperties | undefined;
|
|
909
|
+
readonly picker?: "time" | "month" | "year" | "date" | "week" | "quarter" | undefined;
|
|
910
|
+
readonly defaultPickerValue?: ([ Dayjs, Dayjs] & [ EventValue<Dayjs>, EventValue<Dayjs>]) | ([ Dayjs, Dayjs] & [ EventValue<string>, EventValue<string>]) | undefined;
|
|
911
|
+
readonly disabledDate?: ((date: Dayjs) => boolean) | undefined;
|
|
912
|
+
readonly showWeek?: boolean | undefined;
|
|
913
|
+
readonly dateRender?: RangeDateRender<Dayjs> | undefined;
|
|
914
|
+
readonly monthCellRender?: MonthCellRender<Dayjs> | undefined;
|
|
915
|
+
readonly inputReadOnly?: boolean | undefined;
|
|
916
|
+
readonly panelRender?: (((originPanel: VueNode) => VueNode) & ((originPanel: VueNode) => VueNode)) | undefined;
|
|
917
|
+
readonly inputRender?: ((props: HTMLAttributes) => VueNode) | undefined;
|
|
918
|
+
readonly disabledTime?: ((date: EventValue<Dayjs>, type: RangeType) => DisabledTimes) | undefined;
|
|
919
|
+
readonly ranges?: Record<string, [ EventValue<Dayjs>, EventValue<Dayjs>] | (() => [ EventValue<Dayjs>, EventValue<Dayjs>])> | undefined;
|
|
920
|
+
readonly allowEmpty?: [boolean, boolean] | undefined;
|
|
921
|
+
readonly onCalendarChange?: ((values: RangeValue<Dayjs>, formatString: [string, string], info: RangeInfo) => void) | undefined;
|
|
922
|
+
readonly activePickerIndex?: 0 | 1 | undefined;
|
|
923
|
+
readonly valueFormat?: string | undefined;
|
|
924
|
+
readonly emptyText?: string | undefined;
|
|
925
|
+
readonly value?: ( RangeValue<number> | null) | undefined;
|
|
926
|
+
readonly defaultValue?: RangeValue<number> | undefined;
|
|
927
|
+
readonly 'onUpdate:value'?: (((ts: RangeValue<number> | null) => void) & ((...args: any[]) => any)) | undefined;
|
|
928
|
+
readonly onChange?: ((ts: RangeValue<number> | null, dayStr: [string, string]) => void) | undefined;
|
|
929
|
+
readonly onOk?: ((ts: RangeValue<number>) => void) | undefined;
|
|
930
|
+
readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
|
|
931
|
+
readonly shownFormat?: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[] | undefined;
|
|
932
|
+
readonly timezone?: ( ZoneAlias | {
|
|
933
|
+
label?: string;
|
|
934
|
+
value: ZoneAlias;
|
|
935
|
+
}[]) | undefined;
|
|
936
|
+
readonly readModeSeparator?: any;
|
|
937
|
+
readonly presets?: true | PresetDate<RangeValue<Dayjs>>[] | {
|
|
938
|
+
thisWeek?: boolean;
|
|
939
|
+
lastWeek?: boolean;
|
|
940
|
+
last7Days?: boolean;
|
|
941
|
+
last30Days?: boolean;
|
|
942
|
+
last90Days?: boolean;
|
|
943
|
+
thisMonth?: boolean;
|
|
944
|
+
lastMonth?: boolean;
|
|
945
|
+
thisQuarter?: boolean;
|
|
946
|
+
lastQuarter?: boolean;
|
|
947
|
+
thisYear?: boolean;
|
|
948
|
+
lastYear?: boolean;
|
|
949
|
+
} | undefined;
|
|
950
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
951
|
+
$attrs: {
|
|
952
|
+
[x: string]: unknown;
|
|
953
|
+
};
|
|
954
|
+
$refs: {
|
|
955
|
+
[x: string]: unknown;
|
|
956
|
+
} & {
|
|
957
|
+
rangePickerRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
958
|
+
allowEmpty: {
|
|
959
|
+
type: PropType<[boolean, boolean]>;
|
|
960
|
+
default: [boolean, boolean];
|
|
961
|
+
};
|
|
962
|
+
dateRender: {
|
|
963
|
+
type: PropType<RangeDateRender<Dayjs>>;
|
|
964
|
+
default: RangeDateRender<Dayjs>;
|
|
965
|
+
};
|
|
966
|
+
defaultPickerValue: {
|
|
967
|
+
type: PropType<[ Dayjs, Dayjs] | [string, string]>;
|
|
968
|
+
default: [ Dayjs, Dayjs] | [string, string];
|
|
969
|
+
};
|
|
970
|
+
defaultValue: {
|
|
971
|
+
type: PropType<[ Dayjs, Dayjs] | [string, string]>;
|
|
972
|
+
default: [ Dayjs, Dayjs] | [string, string];
|
|
973
|
+
};
|
|
974
|
+
value: {
|
|
975
|
+
type: PropType<[ Dayjs, Dayjs] | [string, string]>;
|
|
976
|
+
default: [ Dayjs, Dayjs] | [string, string];
|
|
977
|
+
};
|
|
978
|
+
presets: {
|
|
979
|
+
type: PropType< PresetDate< Dayjs[]>[]>;
|
|
980
|
+
default: PresetDate< Dayjs[]>[];
|
|
981
|
+
};
|
|
982
|
+
disabledTime: {
|
|
983
|
+
type: PropType<(date: Dayjs, type: RangeType) => DisabledTimes>;
|
|
984
|
+
default: (date: Dayjs, type: RangeType) => DisabledTimes;
|
|
985
|
+
};
|
|
986
|
+
disabled: {
|
|
987
|
+
type: PropType<boolean | [boolean, boolean]>;
|
|
988
|
+
default: boolean | [boolean, boolean];
|
|
989
|
+
};
|
|
990
|
+
renderExtraFooter: {
|
|
991
|
+
type: PropType<() => VueNode>;
|
|
992
|
+
default: () => VueNode;
|
|
993
|
+
};
|
|
994
|
+
separator: {
|
|
995
|
+
type: StringConstructor;
|
|
996
|
+
};
|
|
997
|
+
showTime: {
|
|
998
|
+
type: PropType<boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
|
|
999
|
+
defaultValue?: Dayjs[];
|
|
1000
|
+
})>;
|
|
1001
|
+
default: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
|
|
1002
|
+
defaultValue?: Dayjs[];
|
|
1003
|
+
});
|
|
1004
|
+
};
|
|
1005
|
+
ranges: {
|
|
1006
|
+
type: PropType<Record<string, [ Dayjs, Dayjs] | (() => [ Dayjs, Dayjs])>>;
|
|
1007
|
+
default: Record<string, [ Dayjs, Dayjs] | (() => [ Dayjs, Dayjs])>;
|
|
1008
|
+
};
|
|
1009
|
+
placeholder: {
|
|
1010
|
+
type: PropType<string[]>;
|
|
1011
|
+
default: string[];
|
|
1012
|
+
};
|
|
1013
|
+
mode: {
|
|
1014
|
+
type: PropType<[ PanelMode, PanelMode]>;
|
|
1015
|
+
default: [ PanelMode, PanelMode];
|
|
1016
|
+
};
|
|
1017
|
+
onChange: {
|
|
1018
|
+
type: PropType<(value: [ Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void>;
|
|
1019
|
+
default: (value: [ Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
|
|
1020
|
+
};
|
|
1021
|
+
'onUpdate:value': {
|
|
1022
|
+
type: PropType<(value: [ Dayjs, Dayjs] | [string, string]) => void>;
|
|
1023
|
+
default: (value: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1024
|
+
};
|
|
1025
|
+
onCalendarChange: {
|
|
1026
|
+
type: PropType<(values: [ Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void>;
|
|
1027
|
+
default: (values: [ Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
|
|
1028
|
+
};
|
|
1029
|
+
onPanelChange: {
|
|
1030
|
+
type: PropType<(values: [ Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void>;
|
|
1031
|
+
default: (values: [ Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
|
|
1032
|
+
};
|
|
1033
|
+
onOk: {
|
|
1034
|
+
type: PropType<(dates: [ Dayjs, Dayjs] | [string, string]) => void>;
|
|
1035
|
+
default: (dates: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1036
|
+
};
|
|
1037
|
+
id: StringConstructor;
|
|
1038
|
+
dropdownClassName: StringConstructor;
|
|
1039
|
+
popupClassName: StringConstructor;
|
|
1040
|
+
popupStyle: {
|
|
1041
|
+
type: PropType<CSSProperties>;
|
|
1042
|
+
default: CSSProperties;
|
|
1043
|
+
};
|
|
1044
|
+
transitionName: StringConstructor;
|
|
1045
|
+
allowClear: {
|
|
1046
|
+
type: BooleanConstructor;
|
|
1047
|
+
default: boolean;
|
|
1048
|
+
};
|
|
1049
|
+
autofocus: {
|
|
1050
|
+
type: BooleanConstructor;
|
|
1051
|
+
default: boolean;
|
|
1052
|
+
};
|
|
1053
|
+
tabindex: NumberConstructor;
|
|
1054
|
+
open: {
|
|
1055
|
+
type: BooleanConstructor;
|
|
1056
|
+
default: boolean;
|
|
1057
|
+
};
|
|
1058
|
+
defaultOpen: {
|
|
1059
|
+
type: BooleanConstructor;
|
|
1060
|
+
default: boolean;
|
|
1061
|
+
};
|
|
1062
|
+
inputReadOnly: {
|
|
1063
|
+
type: BooleanConstructor;
|
|
1064
|
+
default: boolean;
|
|
1065
|
+
};
|
|
1066
|
+
format: {
|
|
1067
|
+
type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
|
|
1068
|
+
default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
1069
|
+
};
|
|
1070
|
+
getPopupContainer: {
|
|
1071
|
+
type: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1072
|
+
default: (node: HTMLElement) => HTMLElement;
|
|
1073
|
+
};
|
|
1074
|
+
panelRender: {
|
|
1075
|
+
type: PropType<(originPanel: VueNode) => VueNode>;
|
|
1076
|
+
default: (originPanel: VueNode) => VueNode;
|
|
1077
|
+
};
|
|
1078
|
+
onOpenChange: {
|
|
1079
|
+
type: PropType<(open: boolean) => void>;
|
|
1080
|
+
default: (open: boolean) => void;
|
|
1081
|
+
};
|
|
1082
|
+
'onUpdate:open': {
|
|
1083
|
+
type: PropType<(open: boolean) => void>;
|
|
1084
|
+
default: (open: boolean) => void;
|
|
1085
|
+
};
|
|
1086
|
+
onFocus: {
|
|
1087
|
+
type: PropType<FocusEventHandler>;
|
|
1088
|
+
default: FocusEventHandler;
|
|
1089
|
+
};
|
|
1090
|
+
onBlur: {
|
|
1091
|
+
type: PropType<FocusEventHandler>;
|
|
1092
|
+
default: FocusEventHandler;
|
|
1093
|
+
};
|
|
1094
|
+
onMousedown: {
|
|
1095
|
+
type: PropType<MouseEventHandler>;
|
|
1096
|
+
default: MouseEventHandler;
|
|
1097
|
+
};
|
|
1098
|
+
onMouseup: {
|
|
1099
|
+
type: PropType<MouseEventHandler>;
|
|
1100
|
+
default: MouseEventHandler;
|
|
1101
|
+
};
|
|
1102
|
+
onMouseenter: {
|
|
1103
|
+
type: PropType<MouseEventHandler>;
|
|
1104
|
+
default: MouseEventHandler;
|
|
1105
|
+
};
|
|
1106
|
+
onMouseleave: {
|
|
1107
|
+
type: PropType<MouseEventHandler>;
|
|
1108
|
+
default: MouseEventHandler;
|
|
1109
|
+
};
|
|
1110
|
+
onClick: {
|
|
1111
|
+
type: PropType<MouseEventHandler>;
|
|
1112
|
+
default: MouseEventHandler;
|
|
1113
|
+
};
|
|
1114
|
+
onContextmenu: {
|
|
1115
|
+
type: PropType<MouseEventHandler>;
|
|
1116
|
+
default: MouseEventHandler;
|
|
1117
|
+
};
|
|
1118
|
+
onKeydown: {
|
|
1119
|
+
type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
|
|
1120
|
+
default: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
1121
|
+
};
|
|
1122
|
+
role: StringConstructor;
|
|
1123
|
+
name: StringConstructor;
|
|
1124
|
+
autocomplete: StringConstructor;
|
|
1125
|
+
direction: {
|
|
1126
|
+
type: PropType<"rtl" | "ltr">;
|
|
1127
|
+
default: "rtl" | "ltr";
|
|
1128
|
+
};
|
|
1129
|
+
showToday: {
|
|
1130
|
+
type: BooleanConstructor;
|
|
1131
|
+
default: boolean;
|
|
1132
|
+
};
|
|
1133
|
+
locale: {
|
|
1134
|
+
type: PropType<PickerLocale>;
|
|
1135
|
+
default: PickerLocale;
|
|
1136
|
+
};
|
|
1137
|
+
size: {
|
|
1138
|
+
type: PropType<SizeType>;
|
|
1139
|
+
default: SizeType;
|
|
1140
|
+
};
|
|
1141
|
+
bordered: {
|
|
1142
|
+
type: BooleanConstructor;
|
|
1143
|
+
default: boolean;
|
|
1144
|
+
};
|
|
1145
|
+
variant: {
|
|
1146
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
1147
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
1148
|
+
};
|
|
1149
|
+
disabledDate: {
|
|
1150
|
+
type: PropType<(date: Dayjs) => boolean>;
|
|
1151
|
+
default: (date: Dayjs) => boolean;
|
|
1152
|
+
};
|
|
1153
|
+
picker: {
|
|
1154
|
+
type: PropType<PickerMode>;
|
|
1155
|
+
default: PickerMode;
|
|
1156
|
+
};
|
|
1157
|
+
valueFormat: StringConstructor;
|
|
1158
|
+
placement: {
|
|
1159
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
1160
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1161
|
+
};
|
|
1162
|
+
status: {
|
|
1163
|
+
type: PropType<"" | "error" | "warning">;
|
|
1164
|
+
default: "" | "error" | "warning";
|
|
1165
|
+
};
|
|
1166
|
+
disabledHours: {
|
|
1167
|
+
type: PropType<() => number[]>;
|
|
1168
|
+
default: () => number[];
|
|
1169
|
+
};
|
|
1170
|
+
disabledMinutes: {
|
|
1171
|
+
type: PropType<(hour: number) => number[]>;
|
|
1172
|
+
default: (hour: number) => number[];
|
|
1173
|
+
};
|
|
1174
|
+
disabledSeconds: {
|
|
1175
|
+
type: PropType<(hour: number, minute: number) => number[]>;
|
|
1176
|
+
default: (hour: number, minute: number) => number[];
|
|
1177
|
+
};
|
|
1178
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1179
|
+
size: SizeType;
|
|
1180
|
+
value: [ Dayjs, Dayjs] | [string, string];
|
|
1181
|
+
mode: [ PanelMode, PanelMode];
|
|
1182
|
+
onMouseenter: MouseEventHandler;
|
|
1183
|
+
onMouseleave: MouseEventHandler;
|
|
1184
|
+
onClick: MouseEventHandler;
|
|
1185
|
+
onFocus: FocusEventHandler;
|
|
1186
|
+
onBlur: FocusEventHandler;
|
|
1187
|
+
onChange: (value: [ Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
|
|
1188
|
+
onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
1189
|
+
onContextmenu: MouseEventHandler;
|
|
1190
|
+
onMousedown: MouseEventHandler;
|
|
1191
|
+
onMouseup: MouseEventHandler;
|
|
1192
|
+
open: boolean;
|
|
1193
|
+
direction: "rtl" | "ltr";
|
|
1194
|
+
disabled: boolean | [boolean, boolean];
|
|
1195
|
+
disabledDate: (date: Dayjs) => boolean;
|
|
1196
|
+
picker: PickerMode;
|
|
1197
|
+
onPanelChange: (values: [ Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
|
|
1198
|
+
locale: PickerLocale;
|
|
1199
|
+
format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
1200
|
+
disabledHours: () => number[];
|
|
1201
|
+
disabledMinutes: (hour: number) => number[];
|
|
1202
|
+
disabledSeconds: (hour: number, minute: number) => number[];
|
|
1203
|
+
disabledTime: (date: Dayjs, type: RangeType) => DisabledTimes;
|
|
1204
|
+
autofocus: boolean;
|
|
1205
|
+
getPopupContainer: (node: HTMLElement) => HTMLElement;
|
|
1206
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1207
|
+
placeholder: string[];
|
|
1208
|
+
bordered: boolean;
|
|
1209
|
+
'onUpdate:value': (value: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1210
|
+
status: "" | "error" | "warning";
|
|
1211
|
+
defaultValue: [ Dayjs, Dayjs] | [string, string];
|
|
1212
|
+
allowClear: boolean;
|
|
1213
|
+
defaultOpen: boolean;
|
|
1214
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1215
|
+
popupStyle: CSSProperties;
|
|
1216
|
+
onOpenChange: (open: boolean) => void;
|
|
1217
|
+
'onUpdate:open': (open: boolean) => void;
|
|
1218
|
+
defaultPickerValue: [ Dayjs, Dayjs] | [string, string];
|
|
1219
|
+
dateRender: RangeDateRender<Dayjs>;
|
|
1220
|
+
renderExtraFooter: () => VueNode;
|
|
1221
|
+
onOk: (dates: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1222
|
+
inputReadOnly: boolean;
|
|
1223
|
+
presets: PresetDate< Dayjs[]>[];
|
|
1224
|
+
panelRender: (originPanel: VueNode) => VueNode;
|
|
1225
|
+
showToday: boolean;
|
|
1226
|
+
showTime: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
|
|
1227
|
+
defaultValue?: Dayjs[];
|
|
1228
|
+
});
|
|
1229
|
+
ranges: Record<string, [ Dayjs, Dayjs] | (() => [ Dayjs, Dayjs])>;
|
|
1230
|
+
allowEmpty: [boolean, boolean];
|
|
1231
|
+
onCalendarChange: (values: [ Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
|
|
1232
|
+
}, true, {}, CustomSlotsType<{
|
|
1233
|
+
suffixIcon?: any;
|
|
1234
|
+
prevIcon?: any;
|
|
1235
|
+
nextIcon?: any;
|
|
1236
|
+
superPrevIcon?: any;
|
|
1237
|
+
superNextIcon?: any;
|
|
1238
|
+
dateRender?: any;
|
|
1239
|
+
renderExtraFooter?: any;
|
|
1240
|
+
default?: any;
|
|
1241
|
+
separator?: any;
|
|
1242
|
+
clearIcon?: any;
|
|
1243
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1244
|
+
P: {};
|
|
1245
|
+
B: {};
|
|
1246
|
+
D: {};
|
|
1247
|
+
C: {};
|
|
1248
|
+
M: {};
|
|
1249
|
+
Defaults: {};
|
|
1250
|
+
}, Readonly< ExtractPropTypes<{
|
|
1251
|
+
allowEmpty: {
|
|
1252
|
+
type: PropType<[boolean, boolean]>;
|
|
1253
|
+
default: [boolean, boolean];
|
|
1254
|
+
};
|
|
1255
|
+
dateRender: {
|
|
1256
|
+
type: PropType<RangeDateRender<Dayjs>>;
|
|
1257
|
+
default: RangeDateRender<Dayjs>;
|
|
1258
|
+
};
|
|
1259
|
+
defaultPickerValue: {
|
|
1260
|
+
type: PropType<[ Dayjs, Dayjs] | [string, string]>;
|
|
1261
|
+
default: [ Dayjs, Dayjs] | [string, string];
|
|
1262
|
+
};
|
|
1263
|
+
defaultValue: {
|
|
1264
|
+
type: PropType<[ Dayjs, Dayjs] | [string, string]>;
|
|
1265
|
+
default: [ Dayjs, Dayjs] | [string, string];
|
|
1266
|
+
};
|
|
1267
|
+
value: {
|
|
1268
|
+
type: PropType<[ Dayjs, Dayjs] | [string, string]>;
|
|
1269
|
+
default: [ Dayjs, Dayjs] | [string, string];
|
|
1270
|
+
};
|
|
1271
|
+
presets: {
|
|
1272
|
+
type: PropType< PresetDate< Dayjs[]>[]>;
|
|
1273
|
+
default: PresetDate< Dayjs[]>[];
|
|
1274
|
+
};
|
|
1275
|
+
disabledTime: {
|
|
1276
|
+
type: PropType<(date: Dayjs, type: RangeType) => DisabledTimes>;
|
|
1277
|
+
default: (date: Dayjs, type: RangeType) => DisabledTimes;
|
|
1278
|
+
};
|
|
1279
|
+
disabled: {
|
|
1280
|
+
type: PropType<boolean | [boolean, boolean]>;
|
|
1281
|
+
default: boolean | [boolean, boolean];
|
|
1282
|
+
};
|
|
1283
|
+
renderExtraFooter: {
|
|
1284
|
+
type: PropType<() => VueNode>;
|
|
1285
|
+
default: () => VueNode;
|
|
1286
|
+
};
|
|
1287
|
+
separator: {
|
|
1288
|
+
type: StringConstructor;
|
|
1289
|
+
};
|
|
1290
|
+
showTime: {
|
|
1291
|
+
type: PropType<boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
|
|
1292
|
+
defaultValue?: Dayjs[];
|
|
1293
|
+
})>;
|
|
1294
|
+
default: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
|
|
1295
|
+
defaultValue?: Dayjs[];
|
|
1296
|
+
});
|
|
1297
|
+
};
|
|
1298
|
+
ranges: {
|
|
1299
|
+
type: PropType<Record<string, [ Dayjs, Dayjs] | (() => [ Dayjs, Dayjs])>>;
|
|
1300
|
+
default: Record<string, [ Dayjs, Dayjs] | (() => [ Dayjs, Dayjs])>;
|
|
1301
|
+
};
|
|
1302
|
+
placeholder: {
|
|
1303
|
+
type: PropType<string[]>;
|
|
1304
|
+
default: string[];
|
|
1305
|
+
};
|
|
1306
|
+
mode: {
|
|
1307
|
+
type: PropType<[ PanelMode, PanelMode]>;
|
|
1308
|
+
default: [ PanelMode, PanelMode];
|
|
1309
|
+
};
|
|
1310
|
+
onChange: {
|
|
1311
|
+
type: PropType<(value: [ Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void>;
|
|
1312
|
+
default: (value: [ Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
|
|
1313
|
+
};
|
|
1314
|
+
'onUpdate:value': {
|
|
1315
|
+
type: PropType<(value: [ Dayjs, Dayjs] | [string, string]) => void>;
|
|
1316
|
+
default: (value: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1317
|
+
};
|
|
1318
|
+
onCalendarChange: {
|
|
1319
|
+
type: PropType<(values: [ Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void>;
|
|
1320
|
+
default: (values: [ Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
|
|
1321
|
+
};
|
|
1322
|
+
onPanelChange: {
|
|
1323
|
+
type: PropType<(values: [ Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void>;
|
|
1324
|
+
default: (values: [ Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
|
|
1325
|
+
};
|
|
1326
|
+
onOk: {
|
|
1327
|
+
type: PropType<(dates: [ Dayjs, Dayjs] | [string, string]) => void>;
|
|
1328
|
+
default: (dates: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1329
|
+
};
|
|
1330
|
+
id: StringConstructor;
|
|
1331
|
+
dropdownClassName: StringConstructor;
|
|
1332
|
+
popupClassName: StringConstructor;
|
|
1333
|
+
popupStyle: {
|
|
1334
|
+
type: PropType<CSSProperties>;
|
|
1335
|
+
default: CSSProperties;
|
|
1336
|
+
};
|
|
1337
|
+
transitionName: StringConstructor;
|
|
1338
|
+
allowClear: {
|
|
1339
|
+
type: BooleanConstructor;
|
|
1340
|
+
default: boolean;
|
|
1341
|
+
};
|
|
1342
|
+
autofocus: {
|
|
1343
|
+
type: BooleanConstructor;
|
|
1344
|
+
default: boolean;
|
|
1345
|
+
};
|
|
1346
|
+
tabindex: NumberConstructor;
|
|
1347
|
+
open: {
|
|
1348
|
+
type: BooleanConstructor;
|
|
1349
|
+
default: boolean;
|
|
1350
|
+
};
|
|
1351
|
+
defaultOpen: {
|
|
1352
|
+
type: BooleanConstructor;
|
|
1353
|
+
default: boolean;
|
|
1354
|
+
};
|
|
1355
|
+
inputReadOnly: {
|
|
1356
|
+
type: BooleanConstructor;
|
|
1357
|
+
default: boolean;
|
|
1358
|
+
};
|
|
1359
|
+
format: {
|
|
1360
|
+
type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
|
|
1361
|
+
default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
1362
|
+
};
|
|
1363
|
+
getPopupContainer: {
|
|
1364
|
+
type: PropType<(node: HTMLElement) => HTMLElement>;
|
|
1365
|
+
default: (node: HTMLElement) => HTMLElement;
|
|
1366
|
+
};
|
|
1367
|
+
panelRender: {
|
|
1368
|
+
type: PropType<(originPanel: VueNode) => VueNode>;
|
|
1369
|
+
default: (originPanel: VueNode) => VueNode;
|
|
1370
|
+
};
|
|
1371
|
+
onOpenChange: {
|
|
1372
|
+
type: PropType<(open: boolean) => void>;
|
|
1373
|
+
default: (open: boolean) => void;
|
|
1374
|
+
};
|
|
1375
|
+
'onUpdate:open': {
|
|
1376
|
+
type: PropType<(open: boolean) => void>;
|
|
1377
|
+
default: (open: boolean) => void;
|
|
1378
|
+
};
|
|
1379
|
+
onFocus: {
|
|
1380
|
+
type: PropType<FocusEventHandler>;
|
|
1381
|
+
default: FocusEventHandler;
|
|
1382
|
+
};
|
|
1383
|
+
onBlur: {
|
|
1384
|
+
type: PropType<FocusEventHandler>;
|
|
1385
|
+
default: FocusEventHandler;
|
|
1386
|
+
};
|
|
1387
|
+
onMousedown: {
|
|
1388
|
+
type: PropType<MouseEventHandler>;
|
|
1389
|
+
default: MouseEventHandler;
|
|
1390
|
+
};
|
|
1391
|
+
onMouseup: {
|
|
1392
|
+
type: PropType<MouseEventHandler>;
|
|
1393
|
+
default: MouseEventHandler;
|
|
1394
|
+
};
|
|
1395
|
+
onMouseenter: {
|
|
1396
|
+
type: PropType<MouseEventHandler>;
|
|
1397
|
+
default: MouseEventHandler;
|
|
1398
|
+
};
|
|
1399
|
+
onMouseleave: {
|
|
1400
|
+
type: PropType<MouseEventHandler>;
|
|
1401
|
+
default: MouseEventHandler;
|
|
1402
|
+
};
|
|
1403
|
+
onClick: {
|
|
1404
|
+
type: PropType<MouseEventHandler>;
|
|
1405
|
+
default: MouseEventHandler;
|
|
1406
|
+
};
|
|
1407
|
+
onContextmenu: {
|
|
1408
|
+
type: PropType<MouseEventHandler>;
|
|
1409
|
+
default: MouseEventHandler;
|
|
1410
|
+
};
|
|
1411
|
+
onKeydown: {
|
|
1412
|
+
type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
|
|
1413
|
+
default: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
1414
|
+
};
|
|
1415
|
+
role: StringConstructor;
|
|
1416
|
+
name: StringConstructor;
|
|
1417
|
+
autocomplete: StringConstructor;
|
|
1418
|
+
direction: {
|
|
1419
|
+
type: PropType<"rtl" | "ltr">;
|
|
1420
|
+
default: "rtl" | "ltr";
|
|
1421
|
+
};
|
|
1422
|
+
showToday: {
|
|
1423
|
+
type: BooleanConstructor;
|
|
1424
|
+
default: boolean;
|
|
1425
|
+
};
|
|
1426
|
+
locale: {
|
|
1427
|
+
type: PropType<PickerLocale>;
|
|
1428
|
+
default: PickerLocale;
|
|
1429
|
+
};
|
|
1430
|
+
size: {
|
|
1431
|
+
type: PropType<SizeType>;
|
|
1432
|
+
default: SizeType;
|
|
1433
|
+
};
|
|
1434
|
+
bordered: {
|
|
1435
|
+
type: BooleanConstructor;
|
|
1436
|
+
default: boolean;
|
|
1437
|
+
};
|
|
1438
|
+
variant: {
|
|
1439
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
1440
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
1441
|
+
};
|
|
1442
|
+
disabledDate: {
|
|
1443
|
+
type: PropType<(date: Dayjs) => boolean>;
|
|
1444
|
+
default: (date: Dayjs) => boolean;
|
|
1445
|
+
};
|
|
1446
|
+
picker: {
|
|
1447
|
+
type: PropType<PickerMode>;
|
|
1448
|
+
default: PickerMode;
|
|
1449
|
+
};
|
|
1450
|
+
valueFormat: StringConstructor;
|
|
1451
|
+
placement: {
|
|
1452
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
1453
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1454
|
+
};
|
|
1455
|
+
status: {
|
|
1456
|
+
type: PropType<"" | "error" | "warning">;
|
|
1457
|
+
default: "" | "error" | "warning";
|
|
1458
|
+
};
|
|
1459
|
+
disabledHours: {
|
|
1460
|
+
type: PropType<() => number[]>;
|
|
1461
|
+
default: () => number[];
|
|
1462
|
+
};
|
|
1463
|
+
disabledMinutes: {
|
|
1464
|
+
type: PropType<(hour: number) => number[]>;
|
|
1465
|
+
default: (hour: number) => number[];
|
|
1466
|
+
};
|
|
1467
|
+
disabledSeconds: {
|
|
1468
|
+
type: PropType<(hour: number, minute: number) => number[]>;
|
|
1469
|
+
default: (hour: number, minute: number) => number[];
|
|
1470
|
+
};
|
|
1471
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1472
|
+
size: SizeType;
|
|
1473
|
+
value: [ Dayjs, Dayjs] | [string, string];
|
|
1474
|
+
mode: [ PanelMode, PanelMode];
|
|
1475
|
+
onMouseenter: MouseEventHandler;
|
|
1476
|
+
onMouseleave: MouseEventHandler;
|
|
1477
|
+
onClick: MouseEventHandler;
|
|
1478
|
+
onFocus: FocusEventHandler;
|
|
1479
|
+
onBlur: FocusEventHandler;
|
|
1480
|
+
onChange: (value: [ Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
|
|
1481
|
+
onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
|
|
1482
|
+
onContextmenu: MouseEventHandler;
|
|
1483
|
+
onMousedown: MouseEventHandler;
|
|
1484
|
+
onMouseup: MouseEventHandler;
|
|
1485
|
+
open: boolean;
|
|
1486
|
+
direction: "rtl" | "ltr";
|
|
1487
|
+
disabled: boolean | [boolean, boolean];
|
|
1488
|
+
disabledDate: (date: Dayjs) => boolean;
|
|
1489
|
+
picker: PickerMode;
|
|
1490
|
+
onPanelChange: (values: [ Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
|
|
1491
|
+
locale: PickerLocale;
|
|
1492
|
+
format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
|
|
1493
|
+
disabledHours: () => number[];
|
|
1494
|
+
disabledMinutes: (hour: number) => number[];
|
|
1495
|
+
disabledSeconds: (hour: number, minute: number) => number[];
|
|
1496
|
+
disabledTime: (date: Dayjs, type: RangeType) => DisabledTimes;
|
|
1497
|
+
autofocus: boolean;
|
|
1498
|
+
getPopupContainer: (node: HTMLElement) => HTMLElement;
|
|
1499
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
1500
|
+
placeholder: string[];
|
|
1501
|
+
bordered: boolean;
|
|
1502
|
+
'onUpdate:value': (value: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1503
|
+
status: "" | "error" | "warning";
|
|
1504
|
+
defaultValue: [ Dayjs, Dayjs] | [string, string];
|
|
1505
|
+
allowClear: boolean;
|
|
1506
|
+
defaultOpen: boolean;
|
|
1507
|
+
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
1508
|
+
popupStyle: CSSProperties;
|
|
1509
|
+
onOpenChange: (open: boolean) => void;
|
|
1510
|
+
'onUpdate:open': (open: boolean) => void;
|
|
1511
|
+
defaultPickerValue: [ Dayjs, Dayjs] | [string, string];
|
|
1512
|
+
dateRender: RangeDateRender<Dayjs>;
|
|
1513
|
+
renderExtraFooter: () => VueNode;
|
|
1514
|
+
onOk: (dates: [ Dayjs, Dayjs] | [string, string]) => void;
|
|
1515
|
+
inputReadOnly: boolean;
|
|
1516
|
+
presets: PresetDate< Dayjs[]>[];
|
|
1517
|
+
panelRender: (originPanel: VueNode) => VueNode;
|
|
1518
|
+
showToday: boolean;
|
|
1519
|
+
showTime: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
|
|
1520
|
+
defaultValue?: Dayjs[];
|
|
1521
|
+
});
|
|
1522
|
+
ranges: Record<string, [ Dayjs, Dayjs] | (() => [ Dayjs, Dayjs])>;
|
|
1523
|
+
allowEmpty: [boolean, boolean];
|
|
1524
|
+
onCalendarChange: (values: [ Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
|
|
1525
|
+
}> | null;
|
|
1526
|
+
};
|
|
1527
|
+
$slots: Readonly<{
|
|
1528
|
+
[name: string]: Slot<any> | undefined;
|
|
1529
|
+
}>;
|
|
1530
|
+
$root: ComponentPublicInstance | null;
|
|
1531
|
+
$parent: ComponentPublicInstance | null;
|
|
1532
|
+
$host: Element | null;
|
|
1533
|
+
$emit: (event: "update:value", ...args: any[]) => void;
|
|
1534
|
+
$el: any;
|
|
1535
|
+
$options: ComponentOptionsBase<Readonly< ApFieldDateRangeProps> & Readonly<{
|
|
1536
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1537
|
+
}>, {
|
|
1538
|
+
blur: () => void;
|
|
1539
|
+
focus: () => void;
|
|
1540
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1541
|
+
"update:value": (...args: any[]) => void;
|
|
1542
|
+
}, string, {
|
|
1543
|
+
mode: FieldMode;
|
|
1544
|
+
open: boolean;
|
|
1545
|
+
separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1546
|
+
[key: string]: any;
|
|
1547
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1548
|
+
[key: string]: any;
|
|
1549
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
1550
|
+
[key: string]: any;
|
|
1551
|
+
}> | null;
|
|
1552
|
+
disabled: boolean | [boolean, boolean];
|
|
1553
|
+
autofocus: boolean;
|
|
1554
|
+
bordered: boolean;
|
|
1555
|
+
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1556
|
+
[key: string]: any;
|
|
1557
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1558
|
+
[key: string]: any;
|
|
1559
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
1560
|
+
[key: string]: any;
|
|
1561
|
+
}> | null;
|
|
1562
|
+
allowClear: boolean;
|
|
1563
|
+
suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1564
|
+
[key: string]: any;
|
|
1565
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1566
|
+
[key: string]: any;
|
|
1567
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
1568
|
+
[key: string]: any;
|
|
1569
|
+
}> | null;
|
|
1570
|
+
defaultOpen: boolean;
|
|
1571
|
+
emptyText: string;
|
|
1572
|
+
inputReadOnly: boolean;
|
|
1573
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
1574
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1575
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1576
|
+
created?: (() => void) | (() => void)[];
|
|
1577
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1578
|
+
mounted?: (() => void) | (() => void)[];
|
|
1579
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1580
|
+
updated?: (() => void) | (() => void)[];
|
|
1581
|
+
activated?: (() => void) | (() => void)[];
|
|
1582
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1583
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1584
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1585
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1586
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1587
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1588
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1589
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1590
|
+
};
|
|
1591
|
+
$forceUpdate: () => void;
|
|
1592
|
+
$nextTick: nextTick;
|
|
1593
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1594
|
+
} & Readonly<{
|
|
1595
|
+
mode: FieldMode;
|
|
1596
|
+
open: boolean;
|
|
1597
|
+
separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1598
|
+
[key: string]: any;
|
|
1599
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1600
|
+
[key: string]: any;
|
|
1601
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
1602
|
+
[key: string]: any;
|
|
1603
|
+
}> | null;
|
|
1604
|
+
disabled: boolean | [boolean, boolean];
|
|
1605
|
+
autofocus: boolean;
|
|
1606
|
+
bordered: boolean;
|
|
1607
|
+
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1608
|
+
[key: string]: any;
|
|
1609
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1610
|
+
[key: string]: any;
|
|
1611
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
1612
|
+
[key: string]: any;
|
|
1613
|
+
}> | null;
|
|
1614
|
+
allowClear: boolean;
|
|
1615
|
+
suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1616
|
+
[key: string]: any;
|
|
1617
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
1618
|
+
[key: string]: any;
|
|
1619
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
1620
|
+
[key: string]: any;
|
|
1621
|
+
}> | null;
|
|
1622
|
+
defaultOpen: boolean;
|
|
1623
|
+
emptyText: string;
|
|
1624
|
+
inputReadOnly: boolean;
|
|
1625
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
1626
|
+
}> & Omit<Readonly< ApFieldDateRangeProps> & Readonly<{
|
|
1627
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1628
|
+
}>, "blur" | "focus" | ("mode" | "open" | "separator" | "disabled" | "autofocus" | "bordered" | "clearIcon" | "allowClear" | "suffixIcon" | "defaultOpen" | "emptyText" | "inputReadOnly" | "format")> & ShallowUnwrapRef<{
|
|
1629
|
+
blur: () => void;
|
|
1630
|
+
focus: () => void;
|
|
1631
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1632
|
+
$slots: Readonly<{
|
|
1633
|
+
suffixIcon?: any;
|
|
1634
|
+
prevIcon?: any;
|
|
1635
|
+
nextIcon?: any;
|
|
1636
|
+
superPrevIcon?: any;
|
|
1637
|
+
superNextIcon?: any;
|
|
1638
|
+
dateRender?: any;
|
|
1639
|
+
renderExtraFooter?: any;
|
|
1640
|
+
default?: any;
|
|
1641
|
+
separator?: any;
|
|
1642
|
+
readModeSeparator?: any;
|
|
1643
|
+
clearIcon?: any;
|
|
1644
|
+
}> & {
|
|
1645
|
+
suffixIcon?: any;
|
|
1646
|
+
prevIcon?: any;
|
|
1647
|
+
nextIcon?: any;
|
|
1648
|
+
superPrevIcon?: any;
|
|
1649
|
+
superNextIcon?: any;
|
|
1650
|
+
dateRender?: any;
|
|
1651
|
+
renderExtraFooter?: any;
|
|
1652
|
+
default?: any;
|
|
1653
|
+
separator?: any;
|
|
1654
|
+
readModeSeparator?: any;
|
|
1655
|
+
clearIcon?: any;
|
|
1656
|
+
};
|
|
1657
|
+
}) | null;
|
|
1658
|
+
}, any, ComponentProvideOptions, {
|
|
108
1659
|
P: {};
|
|
109
1660
|
B: {};
|
|
110
1661
|
D: {};
|
|
111
1662
|
C: {};
|
|
112
1663
|
M: {};
|
|
113
1664
|
Defaults: {};
|
|
114
|
-
}, Readonly< ApFormItemDateRangeProps> & Readonly<{}>, {
|
|
1665
|
+
}, Readonly< ApFormItemDateRangeProps> & Readonly<{}>, {
|
|
1666
|
+
focus: () => void | undefined;
|
|
1667
|
+
blur: () => void | undefined;
|
|
1668
|
+
}, {}, {}, {}, {
|
|
115
1669
|
disabled: boolean;
|
|
116
1670
|
required: boolean;
|
|
117
1671
|
colon: boolean;
|
|
@@ -123,7 +1677,10 @@ export declare const apTableFormItemMap: {
|
|
|
123
1677
|
__isFragment?: never;
|
|
124
1678
|
__isTeleport?: never;
|
|
125
1679
|
__isSuspense?: never;
|
|
126
|
-
} & ComponentOptionsBase<Readonly< ApFormItemDateRangeProps> & Readonly<{}>, {
|
|
1680
|
+
} & ComponentOptionsBase<Readonly< ApFormItemDateRangeProps> & Readonly<{}>, {
|
|
1681
|
+
focus: () => void | undefined;
|
|
1682
|
+
blur: () => void | undefined;
|
|
1683
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
127
1684
|
disabled: boolean;
|
|
128
1685
|
required: boolean;
|
|
129
1686
|
colon: boolean;
|
|
@@ -604,8 +2161,8 @@ export declare const apTableFormItemMap: {
|
|
|
604
2161
|
$options: ComponentOptionsBase<Readonly< ApFieldNumberProps> & Readonly<{
|
|
605
2162
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
606
2163
|
}>, {
|
|
607
|
-
focus: () => void;
|
|
608
2164
|
blur: () => void;
|
|
2165
|
+
focus: () => void;
|
|
609
2166
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
610
2167
|
"update:value": (...args: any[]) => void;
|
|
611
2168
|
}, string, {
|
|
@@ -655,8 +2212,8 @@ export declare const apTableFormItemMap: {
|
|
|
655
2212
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
656
2213
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
657
2214
|
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "emptyText" | "changeOnWheel" | "changeOnBlur" | "min" | "max" | "controls" | "keyboard" | "thousands")> & ShallowUnwrapRef<{
|
|
658
|
-
focus: () => void;
|
|
659
2215
|
blur: () => void;
|
|
2216
|
+
focus: () => void;
|
|
660
2217
|
}> & {} & ComponentCustomProperties & {} & {
|
|
661
2218
|
$slots: Readonly<{
|
|
662
2219
|
addonBefore?: any;
|
|
@@ -726,7 +2283,7 @@ export declare const apTableFormItemMap: {
|
|
|
726
2283
|
});
|
|
727
2284
|
radio: {
|
|
728
2285
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemRadioProps> & Readonly<{}>, {
|
|
729
|
-
request: () =>
|
|
2286
|
+
request: () => void | undefined;
|
|
730
2287
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
731
2288
|
disabled: boolean;
|
|
732
2289
|
required: boolean;
|
|
@@ -739,7 +2296,7 @@ export declare const apTableFormItemMap: {
|
|
|
739
2296
|
radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
|
|
740
2297
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
741
2298
|
}>, {
|
|
742
|
-
request: () =>
|
|
2299
|
+
request: () => void;
|
|
743
2300
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
744
2301
|
"update:value": (...args: any[]) => void;
|
|
745
2302
|
}, PublicProps, {
|
|
@@ -862,7 +2419,7 @@ export declare const apTableFormItemMap: {
|
|
|
862
2419
|
}, Readonly< ApFieldRadioProps> & Readonly<{
|
|
863
2420
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
864
2421
|
}>, {
|
|
865
|
-
request: () =>
|
|
2422
|
+
request: () => void;
|
|
866
2423
|
}, {}, {}, {}, {
|
|
867
2424
|
mode: FieldMode;
|
|
868
2425
|
vertical: boolean;
|
|
@@ -877,7 +2434,7 @@ export declare const apTableFormItemMap: {
|
|
|
877
2434
|
M: {};
|
|
878
2435
|
Defaults: {};
|
|
879
2436
|
}, Readonly< ApFormItemRadioProps> & Readonly<{}>, {
|
|
880
|
-
request: () =>
|
|
2437
|
+
request: () => void | undefined;
|
|
881
2438
|
}, {}, {}, {}, {
|
|
882
2439
|
disabled: boolean;
|
|
883
2440
|
required: boolean;
|
|
@@ -891,7 +2448,7 @@ export declare const apTableFormItemMap: {
|
|
|
891
2448
|
__isTeleport?: never;
|
|
892
2449
|
__isSuspense?: never;
|
|
893
2450
|
} & ComponentOptionsBase<Readonly< ApFormItemRadioProps> & Readonly<{}>, {
|
|
894
|
-
request: () =>
|
|
2451
|
+
request: () => void | undefined;
|
|
895
2452
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
896
2453
|
disabled: boolean;
|
|
897
2454
|
required: boolean;
|
|
@@ -1017,7 +2574,8 @@ export declare const apTableFormItemMap: {
|
|
|
1017
2574
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
1018
2575
|
readonly searchMode?: "filter" | "request" | undefined;
|
|
1019
2576
|
readonly refetchOnFocus?: boolean | undefined;
|
|
1020
|
-
readonly
|
|
2577
|
+
readonly fetchOnFocus?: boolean | undefined;
|
|
2578
|
+
readonly lazy?: boolean | "first-focus" | undefined;
|
|
1021
2579
|
readonly addAll?: boolean | number | undefined;
|
|
1022
2580
|
readonly params?: Recordable | undefined;
|
|
1023
2581
|
readonly searchDelay?: number | undefined;
|
|
@@ -1465,8 +3023,8 @@ export declare const apTableFormItemMap: {
|
|
|
1465
3023
|
$options: ComponentOptionsBase<Readonly< ApFieldSelectProps> & Readonly<{
|
|
1466
3024
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1467
3025
|
}>, {
|
|
1468
|
-
focus: () => void;
|
|
1469
3026
|
blur: () => void;
|
|
3027
|
+
focus: () => void;
|
|
1470
3028
|
request: (clear?: boolean) => Promise<void>;
|
|
1471
3029
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1472
3030
|
"update:value": (...args: any[]) => void;
|
|
@@ -1477,7 +3035,7 @@ export declare const apTableFormItemMap: {
|
|
|
1477
3035
|
disabled: boolean;
|
|
1478
3036
|
virtual: boolean;
|
|
1479
3037
|
autofocus: boolean;
|
|
1480
|
-
lazy: boolean;
|
|
3038
|
+
lazy: boolean | "first-focus";
|
|
1481
3039
|
loading: boolean;
|
|
1482
3040
|
bordered: boolean;
|
|
1483
3041
|
allowClear: boolean;
|
|
@@ -1490,6 +3048,7 @@ export declare const apTableFormItemMap: {
|
|
|
1490
3048
|
emptyText: string;
|
|
1491
3049
|
searchMode: "filter" | "request";
|
|
1492
3050
|
refetchOnFocus: boolean;
|
|
3051
|
+
fetchOnFocus: boolean;
|
|
1493
3052
|
addAll: boolean | number;
|
|
1494
3053
|
searchDelay: number;
|
|
1495
3054
|
allowOnlySelect: boolean;
|
|
@@ -1520,7 +3079,7 @@ export declare const apTableFormItemMap: {
|
|
|
1520
3079
|
disabled: boolean;
|
|
1521
3080
|
virtual: boolean;
|
|
1522
3081
|
autofocus: boolean;
|
|
1523
|
-
lazy: boolean;
|
|
3082
|
+
lazy: boolean | "first-focus";
|
|
1524
3083
|
loading: boolean;
|
|
1525
3084
|
bordered: boolean;
|
|
1526
3085
|
allowClear: boolean;
|
|
@@ -1533,14 +3092,15 @@ export declare const apTableFormItemMap: {
|
|
|
1533
3092
|
emptyText: string;
|
|
1534
3093
|
searchMode: "filter" | "request";
|
|
1535
3094
|
refetchOnFocus: boolean;
|
|
3095
|
+
fetchOnFocus: boolean;
|
|
1536
3096
|
addAll: boolean | number;
|
|
1537
3097
|
searchDelay: number;
|
|
1538
3098
|
allowOnlySelect: boolean;
|
|
1539
3099
|
}> & Omit<Readonly< ApFieldSelectProps> & Readonly<{
|
|
1540
3100
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1541
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "autofocus" | "lazy" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "defaultActiveFirstOption" | "labelInValue" | "showSearch" | "defaultOpen" | "emptyText" | "searchMode" | "refetchOnFocus" | "addAll" | "searchDelay" | "allowOnlySelect")> & ShallowUnwrapRef<{
|
|
1542
|
-
focus: () => void;
|
|
3101
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "autofocus" | "lazy" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "defaultActiveFirstOption" | "labelInValue" | "showSearch" | "defaultOpen" | "emptyText" | "searchMode" | "refetchOnFocus" | "fetchOnFocus" | "addAll" | "searchDelay" | "allowOnlySelect")> & ShallowUnwrapRef<{
|
|
1543
3102
|
blur: () => void;
|
|
3103
|
+
focus: () => void;
|
|
1544
3104
|
request: (clear?: boolean) => Promise<void>;
|
|
1545
3105
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1546
3106
|
$slots: Readonly<{
|
|
@@ -1634,7 +3194,10 @@ export declare const apTableFormItemMap: {
|
|
|
1634
3194
|
} & Omit< ApFormItemSlots, "default">;
|
|
1635
3195
|
});
|
|
1636
3196
|
switch: {
|
|
1637
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemSwitchProps> & Readonly<{}>, {
|
|
3197
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemSwitchProps> & Readonly<{}>, {
|
|
3198
|
+
focus: () => void | undefined;
|
|
3199
|
+
blur: () => void | undefined;
|
|
3200
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1638
3201
|
disabled: boolean;
|
|
1639
3202
|
required: boolean;
|
|
1640
3203
|
colon: boolean;
|
|
@@ -1643,14 +3206,229 @@ export declare const apTableFormItemMap: {
|
|
|
1643
3206
|
validateFirst: boolean;
|
|
1644
3207
|
field: Omit< ApFieldSwitchProps, "checked" | "onUpdate:checked">;
|
|
1645
3208
|
valuePropName: string;
|
|
1646
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
3209
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
3210
|
+
switchRef: ({
|
|
3211
|
+
$: ComponentInternalInstance;
|
|
3212
|
+
$data: {};
|
|
3213
|
+
$props: {
|
|
3214
|
+
readonly mode?: FieldMode | undefined;
|
|
3215
|
+
readonly class?: unknown;
|
|
3216
|
+
readonly style?: unknown;
|
|
3217
|
+
readonly size?: "small" | "default" | undefined;
|
|
3218
|
+
readonly onBlur?: FocusEventHandler | undefined;
|
|
3219
|
+
readonly onChange?: ((checked: string | number | boolean, e: Event) => void) | undefined;
|
|
3220
|
+
readonly onFocus?: FocusEventHandler | undefined;
|
|
3221
|
+
readonly onKeydown?: ((e: Event) => void) | undefined;
|
|
3222
|
+
readonly onMouseup?: ((e: Event) => void) | undefined;
|
|
3223
|
+
readonly disabled?: boolean | undefined;
|
|
3224
|
+
readonly id?: string | undefined;
|
|
3225
|
+
readonly prefixCls?: string | undefined;
|
|
3226
|
+
readonly autofocus?: boolean | undefined;
|
|
3227
|
+
readonly loading?: boolean | undefined;
|
|
3228
|
+
readonly tabindex?: string | number | undefined;
|
|
3229
|
+
readonly checkedChildren?: any;
|
|
3230
|
+
readonly unCheckedChildren?: any;
|
|
3231
|
+
readonly checked?: string | number | boolean | undefined;
|
|
3232
|
+
readonly checkedValue?: string | number | boolean | undefined;
|
|
3233
|
+
readonly unCheckedValue?: string | number | boolean | undefined;
|
|
3234
|
+
readonly 'onUpdate:checked'?: (((checked: string | number | boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
3235
|
+
readonly emptyText?: string | undefined;
|
|
3236
|
+
readonly onAction?: ((checked: string | boolean | number, e?: Event) => boolean | Promise<boolean>) | undefined;
|
|
3237
|
+
readonly confirm?: ((checked: string | number | boolean) => ApFieldSwitchConfirmConfig) | ApFieldSwitchConfirmConfig;
|
|
3238
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
3239
|
+
$attrs: {
|
|
3240
|
+
[x: string]: unknown;
|
|
3241
|
+
};
|
|
3242
|
+
$refs: {
|
|
3243
|
+
[x: string]: unknown;
|
|
3244
|
+
} & {
|
|
3245
|
+
switchRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
3246
|
+
id: StringConstructor;
|
|
3247
|
+
prefixCls: StringConstructor;
|
|
3248
|
+
size: VueTypeDef<"default" | "small">;
|
|
3249
|
+
disabled: {
|
|
3250
|
+
type: BooleanConstructor;
|
|
3251
|
+
default: any;
|
|
3252
|
+
};
|
|
3253
|
+
checkedChildren: VueTypeValidableDef<any>;
|
|
3254
|
+
unCheckedChildren: VueTypeValidableDef<any>;
|
|
3255
|
+
tabindex: VueTypeDef<string | number>;
|
|
3256
|
+
autofocus: {
|
|
3257
|
+
type: BooleanConstructor;
|
|
3258
|
+
default: any;
|
|
3259
|
+
};
|
|
3260
|
+
loading: {
|
|
3261
|
+
type: BooleanConstructor;
|
|
3262
|
+
default: any;
|
|
3263
|
+
};
|
|
3264
|
+
checked: VueTypeDef<string | number | boolean>;
|
|
3265
|
+
checkedValue: VueTypeDef<string | number | boolean> & {
|
|
3266
|
+
default: string | number | boolean;
|
|
3267
|
+
};
|
|
3268
|
+
unCheckedValue: VueTypeDef<string | number | boolean> & {
|
|
3269
|
+
default: string | number | boolean;
|
|
3270
|
+
};
|
|
3271
|
+
onChange: {
|
|
3272
|
+
type: PropType<(checked: string | number | boolean, e: Event) => void>;
|
|
3273
|
+
};
|
|
3274
|
+
onClick: {
|
|
3275
|
+
type: PropType<(checked: string | number | boolean, e: Event) => void>;
|
|
3276
|
+
};
|
|
3277
|
+
onKeydown: {
|
|
3278
|
+
type: PropType<(e: Event) => void>;
|
|
3279
|
+
};
|
|
3280
|
+
onMouseup: {
|
|
3281
|
+
type: PropType<(e: Event) => void>;
|
|
3282
|
+
};
|
|
3283
|
+
'onUpdate:checked': {
|
|
3284
|
+
type: PropType<(checked: string | number | boolean) => void>;
|
|
3285
|
+
};
|
|
3286
|
+
onBlur: PropType<FocusEventHandler>;
|
|
3287
|
+
onFocus: PropType<FocusEventHandler>;
|
|
3288
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
3289
|
+
disabled: boolean;
|
|
3290
|
+
autofocus: boolean;
|
|
3291
|
+
loading: boolean;
|
|
3292
|
+
checkedValue: string | number | boolean;
|
|
3293
|
+
unCheckedValue: string | number | boolean;
|
|
3294
|
+
}, true, {}, CustomSlotsType<{
|
|
3295
|
+
checkedChildren: any;
|
|
3296
|
+
unCheckedChildren: any;
|
|
3297
|
+
default: any;
|
|
3298
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3299
|
+
P: {};
|
|
3300
|
+
B: {};
|
|
3301
|
+
D: {};
|
|
3302
|
+
C: {};
|
|
3303
|
+
M: {};
|
|
3304
|
+
Defaults: {};
|
|
3305
|
+
}, Readonly< ExtractPropTypes<{
|
|
3306
|
+
id: StringConstructor;
|
|
3307
|
+
prefixCls: StringConstructor;
|
|
3308
|
+
size: VueTypeDef<"default" | "small">;
|
|
3309
|
+
disabled: {
|
|
3310
|
+
type: BooleanConstructor;
|
|
3311
|
+
default: any;
|
|
3312
|
+
};
|
|
3313
|
+
checkedChildren: VueTypeValidableDef<any>;
|
|
3314
|
+
unCheckedChildren: VueTypeValidableDef<any>;
|
|
3315
|
+
tabindex: VueTypeDef<string | number>;
|
|
3316
|
+
autofocus: {
|
|
3317
|
+
type: BooleanConstructor;
|
|
3318
|
+
default: any;
|
|
3319
|
+
};
|
|
3320
|
+
loading: {
|
|
3321
|
+
type: BooleanConstructor;
|
|
3322
|
+
default: any;
|
|
3323
|
+
};
|
|
3324
|
+
checked: VueTypeDef<string | number | boolean>;
|
|
3325
|
+
checkedValue: VueTypeDef<string | number | boolean> & {
|
|
3326
|
+
default: string | number | boolean;
|
|
3327
|
+
};
|
|
3328
|
+
unCheckedValue: VueTypeDef<string | number | boolean> & {
|
|
3329
|
+
default: string | number | boolean;
|
|
3330
|
+
};
|
|
3331
|
+
onChange: {
|
|
3332
|
+
type: PropType<(checked: string | number | boolean, e: Event) => void>;
|
|
3333
|
+
};
|
|
3334
|
+
onClick: {
|
|
3335
|
+
type: PropType<(checked: string | number | boolean, e: Event) => void>;
|
|
3336
|
+
};
|
|
3337
|
+
onKeydown: {
|
|
3338
|
+
type: PropType<(e: Event) => void>;
|
|
3339
|
+
};
|
|
3340
|
+
onMouseup: {
|
|
3341
|
+
type: PropType<(e: Event) => void>;
|
|
3342
|
+
};
|
|
3343
|
+
'onUpdate:checked': {
|
|
3344
|
+
type: PropType<(checked: string | number | boolean) => void>;
|
|
3345
|
+
};
|
|
3346
|
+
onBlur: PropType<FocusEventHandler>;
|
|
3347
|
+
onFocus: PropType<FocusEventHandler>;
|
|
3348
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
3349
|
+
disabled: boolean;
|
|
3350
|
+
autofocus: boolean;
|
|
3351
|
+
loading: boolean;
|
|
3352
|
+
checkedValue: string | number | boolean;
|
|
3353
|
+
unCheckedValue: string | number | boolean;
|
|
3354
|
+
}> | null;
|
|
3355
|
+
};
|
|
3356
|
+
$slots: Readonly<{
|
|
3357
|
+
[name: string]: Slot<any> | undefined;
|
|
3358
|
+
}>;
|
|
3359
|
+
$root: ComponentPublicInstance | null;
|
|
3360
|
+
$parent: ComponentPublicInstance | null;
|
|
3361
|
+
$host: Element | null;
|
|
3362
|
+
$emit: (event: "update:checked", ...args: any[]) => void;
|
|
3363
|
+
$el: any;
|
|
3364
|
+
$options: ComponentOptionsBase<Readonly< ApFieldSwitchProps> & Readonly<{
|
|
3365
|
+
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
3366
|
+
}>, {
|
|
3367
|
+
blur: () => void;
|
|
3368
|
+
focus: () => void;
|
|
3369
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3370
|
+
"update:checked": (...args: any[]) => void;
|
|
3371
|
+
}, string, {
|
|
3372
|
+
size: "small" | "default";
|
|
3373
|
+
disabled: boolean;
|
|
3374
|
+
loading: boolean;
|
|
3375
|
+
emptyText: string;
|
|
3376
|
+
checkedValue: string | number | boolean;
|
|
3377
|
+
unCheckedValue: string | number | boolean;
|
|
3378
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
3379
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3380
|
+
created?: (() => void) | (() => void)[];
|
|
3381
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3382
|
+
mounted?: (() => void) | (() => void)[];
|
|
3383
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3384
|
+
updated?: (() => void) | (() => void)[];
|
|
3385
|
+
activated?: (() => void) | (() => void)[];
|
|
3386
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3387
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3388
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3389
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3390
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3391
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3392
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3393
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3394
|
+
};
|
|
3395
|
+
$forceUpdate: () => void;
|
|
3396
|
+
$nextTick: nextTick;
|
|
3397
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
3398
|
+
} & Readonly<{
|
|
3399
|
+
size: "small" | "default";
|
|
3400
|
+
disabled: boolean;
|
|
3401
|
+
loading: boolean;
|
|
3402
|
+
emptyText: string;
|
|
3403
|
+
checkedValue: string | number | boolean;
|
|
3404
|
+
unCheckedValue: string | number | boolean;
|
|
3405
|
+
}> & Omit<Readonly< ApFieldSwitchProps> & Readonly<{
|
|
3406
|
+
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
3407
|
+
}>, "blur" | "focus" | ("size" | "disabled" | "loading" | "emptyText" | "checkedValue" | "unCheckedValue")> & ShallowUnwrapRef<{
|
|
3408
|
+
blur: () => void;
|
|
3409
|
+
focus: () => void;
|
|
3410
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
3411
|
+
$slots: Readonly<{
|
|
3412
|
+
checkedChildren: any;
|
|
3413
|
+
unCheckedChildren: any;
|
|
3414
|
+
default: any;
|
|
3415
|
+
}> & {
|
|
3416
|
+
checkedChildren: any;
|
|
3417
|
+
unCheckedChildren: any;
|
|
3418
|
+
default: any;
|
|
3419
|
+
};
|
|
3420
|
+
}) | null;
|
|
3421
|
+
}, any, ComponentProvideOptions, {
|
|
1647
3422
|
P: {};
|
|
1648
3423
|
B: {};
|
|
1649
3424
|
D: {};
|
|
1650
3425
|
C: {};
|
|
1651
3426
|
M: {};
|
|
1652
3427
|
Defaults: {};
|
|
1653
|
-
}, Readonly< ApFormItemSwitchProps> & Readonly<{}>, {
|
|
3428
|
+
}, Readonly< ApFormItemSwitchProps> & Readonly<{}>, {
|
|
3429
|
+
focus: () => void | undefined;
|
|
3430
|
+
blur: () => void | undefined;
|
|
3431
|
+
}, {}, {}, {}, {
|
|
1654
3432
|
disabled: boolean;
|
|
1655
3433
|
required: boolean;
|
|
1656
3434
|
colon: boolean;
|
|
@@ -1663,7 +3441,10 @@ export declare const apTableFormItemMap: {
|
|
|
1663
3441
|
__isFragment?: never;
|
|
1664
3442
|
__isTeleport?: never;
|
|
1665
3443
|
__isSuspense?: never;
|
|
1666
|
-
} & ComponentOptionsBase<Readonly< ApFormItemSwitchProps> & Readonly<{}>, {
|
|
3444
|
+
} & ComponentOptionsBase<Readonly< ApFormItemSwitchProps> & Readonly<{}>, {
|
|
3445
|
+
focus: () => void | undefined;
|
|
3446
|
+
blur: () => void | undefined;
|
|
3447
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1667
3448
|
disabled: boolean;
|
|
1668
3449
|
required: boolean;
|
|
1669
3450
|
colon: boolean;
|
|
@@ -1896,8 +3677,8 @@ export declare const apTableFormItemMap: {
|
|
|
1896
3677
|
};
|
|
1897
3678
|
textArea: {
|
|
1898
3679
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemTextAreaProps> & Readonly<{}>, {
|
|
1899
|
-
focus: (options?: InputFocusOptions) => void;
|
|
1900
3680
|
blur: () => void;
|
|
3681
|
+
focus: (options?: InputFocusOptions) => void;
|
|
1901
3682
|
resizableTextArea: any;
|
|
1902
3683
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1903
3684
|
disabled: boolean;
|
|
@@ -1911,8 +3692,8 @@ export declare const apTableFormItemMap: {
|
|
|
1911
3692
|
textAreaRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldTextAreaProps> & Readonly<{
|
|
1912
3693
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1913
3694
|
}>, {
|
|
1914
|
-
focus: (options?: InputFocusOptions) => void;
|
|
1915
3695
|
blur: () => void;
|
|
3696
|
+
focus: (options?: InputFocusOptions) => void;
|
|
1916
3697
|
resizableTextArea: any;
|
|
1917
3698
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1918
3699
|
"update:value": (...args: any[]) => void;
|
|
@@ -2206,8 +3987,8 @@ export declare const apTableFormItemMap: {
|
|
|
2206
3987
|
}, Readonly< ApFieldTextAreaProps> & Readonly<{
|
|
2207
3988
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
2208
3989
|
}>, {
|
|
2209
|
-
focus: (options?: InputFocusOptions) => void;
|
|
2210
3990
|
blur: () => void;
|
|
3991
|
+
focus: (options?: InputFocusOptions) => void;
|
|
2211
3992
|
resizableTextArea: any;
|
|
2212
3993
|
}, {}, {}, {}, {
|
|
2213
3994
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "image" | "url" | "email" | "datetime-local" | "file" | "password" | "tel";
|
|
@@ -2229,8 +4010,8 @@ export declare const apTableFormItemMap: {
|
|
|
2229
4010
|
M: {};
|
|
2230
4011
|
Defaults: {};
|
|
2231
4012
|
}, Readonly< ApFormItemTextAreaProps> & Readonly<{}>, {
|
|
2232
|
-
focus: (options?: InputFocusOptions) => void;
|
|
2233
4013
|
blur: () => void;
|
|
4014
|
+
focus: (options?: InputFocusOptions) => void;
|
|
2234
4015
|
resizableTextArea: any;
|
|
2235
4016
|
}, {}, {}, {}, {
|
|
2236
4017
|
disabled: boolean;
|
|
@@ -2245,8 +4026,8 @@ export declare const apTableFormItemMap: {
|
|
|
2245
4026
|
__isTeleport?: never;
|
|
2246
4027
|
__isSuspense?: never;
|
|
2247
4028
|
} & ComponentOptionsBase<Readonly< ApFormItemTextAreaProps> & Readonly<{}>, {
|
|
2248
|
-
focus: (options?: InputFocusOptions) => void;
|
|
2249
4029
|
blur: () => void;
|
|
4030
|
+
focus: (options?: InputFocusOptions) => void;
|
|
2250
4031
|
resizableTextArea: any;
|
|
2251
4032
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
2252
4033
|
disabled: boolean;
|
|
@@ -2268,7 +4049,9 @@ export declare const apTableFormItemMap: {
|
|
|
2268
4049
|
};
|
|
2269
4050
|
});
|
|
2270
4051
|
checkbox: {
|
|
2271
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemCheckboxProps> & Readonly<{}>, {
|
|
4052
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemCheckboxProps> & Readonly<{}>, {
|
|
4053
|
+
request: () => void | undefined;
|
|
4054
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
2272
4055
|
disabled: boolean;
|
|
2273
4056
|
required: boolean;
|
|
2274
4057
|
colon: boolean;
|
|
@@ -2276,14 +4059,45 @@ export declare const apTableFormItemMap: {
|
|
|
2276
4059
|
autoLink: boolean;
|
|
2277
4060
|
validateFirst: boolean;
|
|
2278
4061
|
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
2279
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4062
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
4063
|
+
checkboxRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldCheckboxProps> & Readonly<{
|
|
4064
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
4065
|
+
}>, {
|
|
4066
|
+
request: () => void;
|
|
4067
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4068
|
+
"update:value": (...args: any[]) => void;
|
|
4069
|
+
}, PublicProps, {
|
|
4070
|
+
mode: FieldMode;
|
|
4071
|
+
disabled: boolean;
|
|
4072
|
+
options: (string | number | CheckboxOptionType)[];
|
|
4073
|
+
emptyText: string;
|
|
4074
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
4075
|
+
P: {};
|
|
4076
|
+
B: {};
|
|
4077
|
+
D: {};
|
|
4078
|
+
C: {};
|
|
4079
|
+
M: {};
|
|
4080
|
+
Defaults: {};
|
|
4081
|
+
}, Readonly< ApFieldCheckboxProps> & Readonly<{
|
|
4082
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
4083
|
+
}>, {
|
|
4084
|
+
request: () => void;
|
|
4085
|
+
}, {}, {}, {}, {
|
|
4086
|
+
mode: FieldMode;
|
|
4087
|
+
disabled: boolean;
|
|
4088
|
+
options: (string | number | CheckboxOptionType)[];
|
|
4089
|
+
emptyText: string;
|
|
4090
|
+
}> | null;
|
|
4091
|
+
}, any, ComponentProvideOptions, {
|
|
2280
4092
|
P: {};
|
|
2281
4093
|
B: {};
|
|
2282
4094
|
D: {};
|
|
2283
4095
|
C: {};
|
|
2284
4096
|
M: {};
|
|
2285
4097
|
Defaults: {};
|
|
2286
|
-
}, Readonly< ApFormItemCheckboxProps> & Readonly<{}>, {
|
|
4098
|
+
}, Readonly< ApFormItemCheckboxProps> & Readonly<{}>, {
|
|
4099
|
+
request: () => void | undefined;
|
|
4100
|
+
}, {}, {}, {}, {
|
|
2287
4101
|
disabled: boolean;
|
|
2288
4102
|
required: boolean;
|
|
2289
4103
|
colon: boolean;
|
|
@@ -2295,7 +4109,9 @@ export declare const apTableFormItemMap: {
|
|
|
2295
4109
|
__isFragment?: never;
|
|
2296
4110
|
__isTeleport?: never;
|
|
2297
4111
|
__isSuspense?: never;
|
|
2298
|
-
} & ComponentOptionsBase<Readonly< ApFormItemCheckboxProps> & Readonly<{}>, {
|
|
4112
|
+
} & ComponentOptionsBase<Readonly< ApFormItemCheckboxProps> & Readonly<{}>, {
|
|
4113
|
+
request: () => void | undefined;
|
|
4114
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
2299
4115
|
disabled: boolean;
|
|
2300
4116
|
required: boolean;
|
|
2301
4117
|
colon: boolean;
|
|
@@ -2316,8 +4132,8 @@ export declare const apTableFormItemMap: {
|
|
|
2316
4132
|
});
|
|
2317
4133
|
password: {
|
|
2318
4134
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemTextPasswordProps> & Readonly<{}>, {
|
|
2319
|
-
focus: () => void;
|
|
2320
4135
|
blur: () => void;
|
|
4136
|
+
focus: () => void;
|
|
2321
4137
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
2322
4138
|
disabled: boolean;
|
|
2323
4139
|
required: boolean;
|
|
@@ -2404,8 +4220,8 @@ export declare const apTableFormItemMap: {
|
|
|
2404
4220
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
2405
4221
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
2406
4222
|
}>, {
|
|
2407
|
-
focus: () => void;
|
|
2408
4223
|
blur: () => void;
|
|
4224
|
+
focus: () => void;
|
|
2409
4225
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2410
4226
|
"update:value": (...args: any[]) => void;
|
|
2411
4227
|
"update:visible": (...args: any[]) => void;
|
|
@@ -2455,8 +4271,8 @@ export declare const apTableFormItemMap: {
|
|
|
2455
4271
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
2456
4272
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
2457
4273
|
}>, "blur" | "focus" | ("type" | "mode" | "visible" | "disabled" | "lazy" | "bordered" | "allowClear" | "emptyText" | "action" | "visibilityToggle")> & ShallowUnwrapRef<{
|
|
2458
|
-
focus: () => void;
|
|
2459
4274
|
blur: () => void;
|
|
4275
|
+
focus: () => void;
|
|
2460
4276
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2461
4277
|
$slots: Readonly<{
|
|
2462
4278
|
addonAfter: any;
|
|
@@ -2482,8 +4298,8 @@ export declare const apTableFormItemMap: {
|
|
|
2482
4298
|
M: {};
|
|
2483
4299
|
Defaults: {};
|
|
2484
4300
|
}, Readonly< ApFormItemTextPasswordProps> & Readonly<{}>, {
|
|
2485
|
-
focus: () => void;
|
|
2486
4301
|
blur: () => void;
|
|
4302
|
+
focus: () => void;
|
|
2487
4303
|
}, {}, {}, {}, {
|
|
2488
4304
|
disabled: boolean;
|
|
2489
4305
|
required: boolean;
|
|
@@ -2497,8 +4313,8 @@ export declare const apTableFormItemMap: {
|
|
|
2497
4313
|
__isTeleport?: never;
|
|
2498
4314
|
__isSuspense?: never;
|
|
2499
4315
|
} & ComponentOptionsBase<Readonly< ApFormItemTextPasswordProps> & Readonly<{}>, {
|
|
2500
|
-
focus: () => void;
|
|
2501
4316
|
blur: () => void;
|
|
4317
|
+
focus: () => void;
|
|
2502
4318
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
2503
4319
|
disabled: boolean;
|
|
2504
4320
|
required: boolean;
|