@unizhen/ui 0.0.70 → 0.0.72
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/lib/components/back/index.vue.d.ts +8 -7
- package/lib/components/camera/index.vue.d.ts +13 -16
- package/lib/components/circle/index.vue.d.ts +4 -4
- package/lib/components/form/draggable.vue.d.ts +387 -66
- package/lib/components/form/image.vue.d.ts +4 -4
- package/lib/components/form/index.d.ts +2 -1
- package/lib/components/form/index.vue.d.ts +387 -66
- package/lib/components/form/interface.d.ts +8 -1
- package/lib/components/form/item.vue.d.ts +66 -55
- package/lib/components/form/timesPicker.vue.d.ts +1568 -0
- package/lib/components/form/upload.vue.d.ts +56 -20
- package/lib/components/searchBar/components/timePickRange.vue.d.ts +5 -5
- package/lib/components/searchBar/index.vue.d.ts +81 -76
- package/lib/components/searchBar/mobile.vue.d.ts +74 -62
- package/lib/components/spin/index.vue.d.ts +44 -11
- package/lib/components/table/child.vue.d.ts +16 -29
- package/lib/components/table/child_quest.vue.d.ts +5 -20
- package/lib/components/table/drawer.vue.d.ts +46 -13
- package/lib/components/table/factory.d.ts +7 -2
- package/lib/components/table/index.vue.d.ts +100 -47
- package/lib/components/table/mobile.vue.d.ts +13 -19
- package/lib/components/thumbnail/index.vue.d.ts +18 -24
- package/lib/ui.css +1 -1
- package/lib/ui.js +2648 -2532
- package/package.json +23 -25
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { PropType, DefineComponent, ExtractPropTypes, Ref, VNodeChild, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CSSProperties, LabelHTMLAttributes, StyleValue, SlotsType, Component, TextareaHTMLAttributes, InputHTMLAttributes, HTMLAttributes, VNode } from 'vue';
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, Ref, VNodeChild, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CSSProperties, LabelHTMLAttributes, StyleValue, SlotsType, Component, TextareaHTMLAttributes, InputHTMLAttributes, HTMLAttributes, ComponentPublicInstance, VNode } from 'vue';
|
|
2
2
|
import { IUzFormItems, IUzFormItem } from './interface';
|
|
3
3
|
import { ObjectKey, Fn } from '../interface';
|
|
4
4
|
import { default as dayjs } from 'dayjs';
|
|
5
|
-
import { LabelAlign, LabelPlacement,
|
|
6
|
-
import { FormRules, FormInst, FormItemRule, ButtonSlots, SelectOption, FormValidationStatus, ThemeCommonVars, InputSlots, SelectFilter, PopoverPlacement, PopoverProps, SelectRenderTag, SelectNodeProps, SelectGroupOption, SelectSlots, InputNumberSlots, TimePickerProps, FollowerPlacement, DatePickerSlots, SwitchSlots, ColorPickerSlots, CheckboxInst, CascaderOption, CascaderSlots, PopoverTrigger, PopoverInst, TooltipSlots, DropdownMenuProps, DropdownNodeProps, MenuOption, MenuGroupOption } from 'naive-ui';
|
|
5
|
+
import { LabelAlign, LabelPlacement, FormValidateMessages, FormItemValidate, FormItemInternalValidate, FormItemSlots } from 'naive-ui/es/form/src/interface';
|
|
6
|
+
import { FormRules, FormSize, FormInst, FormItemRule, FormItemSize, ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, SelectOption, InputSize, FormValidationStatus, ThemeCommonVars, InputSlots, SelectSize, SelectFilter, PopoverPlacement, PopoverProps, SelectRenderTag, SelectNodeProps, SelectGroupOption, SelectSlots, InputNumberSlots, DatePickerSize, TimePickerProps, FollowerPlacement, DatePickerSlots, TimePickerSize, SwitchSize, SwitchSpinProps, SwitchSlots, ColorPickerSize, ColorPickerSlots, CheckboxSize, CheckboxInst, CascaderOption, CascaderSize, CascaderSpinProps, CascaderSlots, PopoverTrigger, PopoverInst, TooltipSlots, DropdownSize, DropdownMenuProps, DropdownNodeProps, MenuOption, MenuGroupOption } from 'naive-ui';
|
|
7
7
|
import { Theme } from 'naive-ui/es/_mixins';
|
|
8
8
|
import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
|
|
9
|
-
import { Size, Type } from 'naive-ui/es/button/src/interface';
|
|
10
9
|
import { MaybeArray } from 'naive-ui/es/_utils';
|
|
11
|
-
import { BaseWaveRef, ScrollbarInst, InternalSelectionInst } from 'naive-ui/es/_internal';
|
|
10
|
+
import { BaseWaveRef, ScrollbarInst, ScrollbarProps, InternalSelectionInst } from 'naive-ui/es/_internal';
|
|
12
11
|
import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
|
|
13
12
|
import { Depth } from 'naive-ui/es/icon/src/Icon';
|
|
14
|
-
import {
|
|
13
|
+
import { OnUpdateValue } from 'naive-ui/es/input/src/interface';
|
|
15
14
|
import { ScrollTo, ScrollBy } from 'naive-ui/es/_internal/scrollbar/src/Scrollbar';
|
|
16
|
-
import { SelectMixedOption, Value,
|
|
15
|
+
import { SelectMixedOption, Value, SelectFallbackOption, OnUpdateValue, SelectIgnoredOption, SelectBaseOption, ValueAtom } from 'naive-ui/es/select/src/interface';
|
|
17
16
|
import { RenderLabel, RenderOption } from 'naive-ui/es/_internal/select-menu/src/interface';
|
|
18
17
|
import { TreeMate, TreeNode, CheckStrategy, Key } from 'treemate';
|
|
19
18
|
import { FollowerInst, FollowerPlacement, VVirtualListScrollTo } from 'vueuc';
|
|
20
19
|
import { Size, OnUpdateValue } from 'naive-ui/es/input-number/src/interface';
|
|
20
|
+
import { InputNumberSize } from 'naive-ui/es/input-number/src/public-types';
|
|
21
21
|
import { Value, FormattedValue, DefaultTime, Shortcuts, IsDateDisabled, IsTimeDisabled, FirstDayOfWeek, OnConfirm, OnUpdateFormattedValue, OnUpdateValue, PanelRef } from 'naive-ui/es/date-picker/src/interface';
|
|
22
22
|
import { DatePickerType } from 'naive-ui/es/date-picker/src/config';
|
|
23
|
-
import { IsHourDisabled,
|
|
23
|
+
import { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled, OnUpdateValue, OnUpdateFormattedValue, PanelRef, ItemValue } from 'naive-ui/es/time-picker/src/interface';
|
|
24
24
|
import { OnUpdateValue } from 'naive-ui/es/switch/src/interface';
|
|
25
25
|
import { ColorPickerMode, ActionType } from 'naive-ui/es/color-picker/src/utils';
|
|
26
26
|
import { RenderLabel, OnUpdateValue, OnClear } from 'naive-ui/es/color-picker/src/interface';
|
|
@@ -660,6 +660,83 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
660
660
|
multiple: boolean;
|
|
661
661
|
tab: boolean;
|
|
662
662
|
};
|
|
663
|
+
} | {
|
|
664
|
+
input: "timePicker";
|
|
665
|
+
params: {
|
|
666
|
+
placeholder: string;
|
|
667
|
+
clearable: boolean;
|
|
668
|
+
};
|
|
669
|
+
label: string | (() => string);
|
|
670
|
+
key: string;
|
|
671
|
+
dbType: string;
|
|
672
|
+
unique: number;
|
|
673
|
+
fieldValueRule?: string | undefined;
|
|
674
|
+
source: string;
|
|
675
|
+
sourceFn: string;
|
|
676
|
+
table: {
|
|
677
|
+
align: "left" | "right" | "center" | null;
|
|
678
|
+
titleAlign: "left" | "right" | "center" | null;
|
|
679
|
+
fixed: "left" | "right" | false | null;
|
|
680
|
+
width: number | string | null;
|
|
681
|
+
resizable: boolean;
|
|
682
|
+
hide: boolean;
|
|
683
|
+
sorter: boolean;
|
|
684
|
+
show: boolean;
|
|
685
|
+
mobile: boolean;
|
|
686
|
+
lineBreak: boolean;
|
|
687
|
+
lineCol: number;
|
|
688
|
+
clamp: number;
|
|
689
|
+
ellipsis: boolean | {
|
|
690
|
+
tooltip: boolean;
|
|
691
|
+
'line-clamp': number | string;
|
|
692
|
+
};
|
|
693
|
+
render: string | ((rowData: {
|
|
694
|
+
[x: string]: unknown;
|
|
695
|
+
}, rowIndex: number) => VNodeChild);
|
|
696
|
+
};
|
|
697
|
+
form: {
|
|
698
|
+
input?: string | undefined;
|
|
699
|
+
label?: (string | (() => string)) | undefined;
|
|
700
|
+
key?: string | undefined;
|
|
701
|
+
defaultValue?: string | undefined;
|
|
702
|
+
span: number;
|
|
703
|
+
show: boolean;
|
|
704
|
+
disabled: boolean;
|
|
705
|
+
readonly: boolean;
|
|
706
|
+
updateValue: string | Fn;
|
|
707
|
+
display: string | Fn;
|
|
708
|
+
createButton: boolean;
|
|
709
|
+
showDays: boolean;
|
|
710
|
+
backfill: boolean;
|
|
711
|
+
rule: {
|
|
712
|
+
required: boolean;
|
|
713
|
+
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
714
|
+
message: string;
|
|
715
|
+
trigger: ("blur" | "change" | "focus" | "input") | Array<"blur" | "change" | "focus" | "input">;
|
|
716
|
+
validator: string | Fn;
|
|
717
|
+
};
|
|
718
|
+
create: {
|
|
719
|
+
show: boolean;
|
|
720
|
+
disabled: boolean;
|
|
721
|
+
readonly: boolean;
|
|
722
|
+
};
|
|
723
|
+
edit: {
|
|
724
|
+
show: boolean;
|
|
725
|
+
disabled: boolean;
|
|
726
|
+
readonly: boolean;
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
search: {
|
|
730
|
+
show: boolean;
|
|
731
|
+
fuzzy: boolean;
|
|
732
|
+
defaultValue?: string | undefined;
|
|
733
|
+
source?: string | undefined;
|
|
734
|
+
type?: string | undefined;
|
|
735
|
+
labelKeys?: string | undefined;
|
|
736
|
+
valueKey?: string | undefined;
|
|
737
|
+
multiple: boolean;
|
|
738
|
+
tab: boolean;
|
|
739
|
+
};
|
|
663
740
|
} | {
|
|
664
741
|
input: "color";
|
|
665
742
|
params: {
|
|
@@ -1883,6 +1960,83 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1883
1960
|
multiple: boolean;
|
|
1884
1961
|
tab: boolean;
|
|
1885
1962
|
};
|
|
1963
|
+
} | {
|
|
1964
|
+
input: "timePicker";
|
|
1965
|
+
params: {
|
|
1966
|
+
placeholder: string;
|
|
1967
|
+
clearable: boolean;
|
|
1968
|
+
};
|
|
1969
|
+
label: string | (() => string);
|
|
1970
|
+
key: string;
|
|
1971
|
+
dbType: string;
|
|
1972
|
+
unique: number;
|
|
1973
|
+
fieldValueRule?: string | undefined;
|
|
1974
|
+
source: string;
|
|
1975
|
+
sourceFn: string;
|
|
1976
|
+
table: {
|
|
1977
|
+
align: "left" | "right" | "center" | null;
|
|
1978
|
+
titleAlign: "left" | "right" | "center" | null;
|
|
1979
|
+
fixed: "left" | "right" | false | null;
|
|
1980
|
+
width: number | string | null;
|
|
1981
|
+
resizable: boolean;
|
|
1982
|
+
hide: boolean;
|
|
1983
|
+
sorter: boolean;
|
|
1984
|
+
show: boolean;
|
|
1985
|
+
mobile: boolean;
|
|
1986
|
+
lineBreak: boolean;
|
|
1987
|
+
lineCol: number;
|
|
1988
|
+
clamp: number;
|
|
1989
|
+
ellipsis: boolean | {
|
|
1990
|
+
tooltip: boolean;
|
|
1991
|
+
'line-clamp': number | string;
|
|
1992
|
+
};
|
|
1993
|
+
render: string | ((rowData: {
|
|
1994
|
+
[x: string]: unknown;
|
|
1995
|
+
}, rowIndex: number) => VNodeChild);
|
|
1996
|
+
};
|
|
1997
|
+
form: {
|
|
1998
|
+
input?: string | undefined;
|
|
1999
|
+
label?: (string | (() => string)) | undefined;
|
|
2000
|
+
key?: string | undefined;
|
|
2001
|
+
defaultValue?: string | undefined;
|
|
2002
|
+
span: number;
|
|
2003
|
+
show: boolean;
|
|
2004
|
+
disabled: boolean;
|
|
2005
|
+
readonly: boolean;
|
|
2006
|
+
updateValue: string | Fn;
|
|
2007
|
+
display: string | Fn;
|
|
2008
|
+
createButton: boolean;
|
|
2009
|
+
showDays: boolean;
|
|
2010
|
+
backfill: boolean;
|
|
2011
|
+
rule: {
|
|
2012
|
+
required: boolean;
|
|
2013
|
+
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
2014
|
+
message: string;
|
|
2015
|
+
trigger: ("blur" | "change" | "focus" | "input") | Array<"blur" | "change" | "focus" | "input">;
|
|
2016
|
+
validator: string | Fn;
|
|
2017
|
+
};
|
|
2018
|
+
create: {
|
|
2019
|
+
show: boolean;
|
|
2020
|
+
disabled: boolean;
|
|
2021
|
+
readonly: boolean;
|
|
2022
|
+
};
|
|
2023
|
+
edit: {
|
|
2024
|
+
show: boolean;
|
|
2025
|
+
disabled: boolean;
|
|
2026
|
+
readonly: boolean;
|
|
2027
|
+
};
|
|
2028
|
+
};
|
|
2029
|
+
search: {
|
|
2030
|
+
show: boolean;
|
|
2031
|
+
fuzzy: boolean;
|
|
2032
|
+
defaultValue?: string | undefined;
|
|
2033
|
+
source?: string | undefined;
|
|
2034
|
+
type?: string | undefined;
|
|
2035
|
+
labelKeys?: string | undefined;
|
|
2036
|
+
valueKey?: string | undefined;
|
|
2037
|
+
multiple: boolean;
|
|
2038
|
+
tab: boolean;
|
|
2039
|
+
};
|
|
1886
2040
|
} | {
|
|
1887
2041
|
input: "color";
|
|
1888
2042
|
params: {
|
|
@@ -3037,6 +3191,83 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
3037
3191
|
multiple: boolean;
|
|
3038
3192
|
tab: boolean;
|
|
3039
3193
|
};
|
|
3194
|
+
} | {
|
|
3195
|
+
input: "timePicker";
|
|
3196
|
+
params: {
|
|
3197
|
+
placeholder: string;
|
|
3198
|
+
clearable: boolean;
|
|
3199
|
+
};
|
|
3200
|
+
label: string | (() => string);
|
|
3201
|
+
key: string;
|
|
3202
|
+
dbType: string;
|
|
3203
|
+
unique: number;
|
|
3204
|
+
fieldValueRule?: string | undefined;
|
|
3205
|
+
source: string;
|
|
3206
|
+
sourceFn: string;
|
|
3207
|
+
table: {
|
|
3208
|
+
align: "left" | "right" | "center" | null;
|
|
3209
|
+
titleAlign: "left" | "right" | "center" | null;
|
|
3210
|
+
fixed: "left" | "right" | false | null;
|
|
3211
|
+
width: number | string | null;
|
|
3212
|
+
resizable: boolean;
|
|
3213
|
+
hide: boolean;
|
|
3214
|
+
sorter: boolean;
|
|
3215
|
+
show: boolean;
|
|
3216
|
+
mobile: boolean;
|
|
3217
|
+
lineBreak: boolean;
|
|
3218
|
+
lineCol: number;
|
|
3219
|
+
clamp: number;
|
|
3220
|
+
ellipsis: boolean | {
|
|
3221
|
+
tooltip: boolean;
|
|
3222
|
+
'line-clamp': number | string;
|
|
3223
|
+
};
|
|
3224
|
+
render: string | ((rowData: {
|
|
3225
|
+
[x: string]: unknown;
|
|
3226
|
+
}, rowIndex: number) => VNodeChild);
|
|
3227
|
+
};
|
|
3228
|
+
form: {
|
|
3229
|
+
input?: string | undefined;
|
|
3230
|
+
label?: (string | (() => string)) | undefined;
|
|
3231
|
+
key?: string | undefined;
|
|
3232
|
+
defaultValue?: string | undefined;
|
|
3233
|
+
span: number;
|
|
3234
|
+
show: boolean;
|
|
3235
|
+
disabled: boolean;
|
|
3236
|
+
readonly: boolean;
|
|
3237
|
+
updateValue: string | Fn;
|
|
3238
|
+
display: string | Fn;
|
|
3239
|
+
createButton: boolean;
|
|
3240
|
+
showDays: boolean;
|
|
3241
|
+
backfill: boolean;
|
|
3242
|
+
rule: {
|
|
3243
|
+
required: boolean;
|
|
3244
|
+
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
3245
|
+
message: string;
|
|
3246
|
+
trigger: ("blur" | "change" | "focus" | "input") | Array<"blur" | "change" | "focus" | "input">;
|
|
3247
|
+
validator: string | Fn;
|
|
3248
|
+
};
|
|
3249
|
+
create: {
|
|
3250
|
+
show: boolean;
|
|
3251
|
+
disabled: boolean;
|
|
3252
|
+
readonly: boolean;
|
|
3253
|
+
};
|
|
3254
|
+
edit: {
|
|
3255
|
+
show: boolean;
|
|
3256
|
+
disabled: boolean;
|
|
3257
|
+
readonly: boolean;
|
|
3258
|
+
};
|
|
3259
|
+
};
|
|
3260
|
+
search: {
|
|
3261
|
+
show: boolean;
|
|
3262
|
+
fuzzy: boolean;
|
|
3263
|
+
defaultValue?: string | undefined;
|
|
3264
|
+
source?: string | undefined;
|
|
3265
|
+
type?: string | undefined;
|
|
3266
|
+
labelKeys?: string | undefined;
|
|
3267
|
+
valueKey?: string | undefined;
|
|
3268
|
+
multiple: boolean;
|
|
3269
|
+
tab: boolean;
|
|
3270
|
+
};
|
|
3040
3271
|
} | {
|
|
3041
3272
|
input: "color";
|
|
3042
3273
|
params: {
|
|
@@ -4260,6 +4491,83 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
4260
4491
|
multiple: boolean;
|
|
4261
4492
|
tab: boolean;
|
|
4262
4493
|
};
|
|
4494
|
+
} | {
|
|
4495
|
+
input: "timePicker";
|
|
4496
|
+
params: {
|
|
4497
|
+
placeholder: string;
|
|
4498
|
+
clearable: boolean;
|
|
4499
|
+
};
|
|
4500
|
+
label: string | (() => string);
|
|
4501
|
+
key: string;
|
|
4502
|
+
dbType: string;
|
|
4503
|
+
unique: number;
|
|
4504
|
+
fieldValueRule?: string | undefined;
|
|
4505
|
+
source: string;
|
|
4506
|
+
sourceFn: string;
|
|
4507
|
+
table: {
|
|
4508
|
+
align: "left" | "right" | "center" | null;
|
|
4509
|
+
titleAlign: "left" | "right" | "center" | null;
|
|
4510
|
+
fixed: "left" | "right" | false | null;
|
|
4511
|
+
width: number | string | null;
|
|
4512
|
+
resizable: boolean;
|
|
4513
|
+
hide: boolean;
|
|
4514
|
+
sorter: boolean;
|
|
4515
|
+
show: boolean;
|
|
4516
|
+
mobile: boolean;
|
|
4517
|
+
lineBreak: boolean;
|
|
4518
|
+
lineCol: number;
|
|
4519
|
+
clamp: number;
|
|
4520
|
+
ellipsis: boolean | {
|
|
4521
|
+
tooltip: boolean;
|
|
4522
|
+
'line-clamp': number | string;
|
|
4523
|
+
};
|
|
4524
|
+
render: string | ((rowData: {
|
|
4525
|
+
[x: string]: unknown;
|
|
4526
|
+
}, rowIndex: number) => VNodeChild);
|
|
4527
|
+
};
|
|
4528
|
+
form: {
|
|
4529
|
+
input?: string | undefined;
|
|
4530
|
+
label?: (string | (() => string)) | undefined;
|
|
4531
|
+
key?: string | undefined;
|
|
4532
|
+
defaultValue?: string | undefined;
|
|
4533
|
+
span: number;
|
|
4534
|
+
show: boolean;
|
|
4535
|
+
disabled: boolean;
|
|
4536
|
+
readonly: boolean;
|
|
4537
|
+
updateValue: string | Fn;
|
|
4538
|
+
display: string | Fn;
|
|
4539
|
+
createButton: boolean;
|
|
4540
|
+
showDays: boolean;
|
|
4541
|
+
backfill: boolean;
|
|
4542
|
+
rule: {
|
|
4543
|
+
required: boolean;
|
|
4544
|
+
type: "string" | "number" | "boolean" | "object" | "pattern" | "url" | "method" | "hex" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "email" | "any";
|
|
4545
|
+
message: string;
|
|
4546
|
+
trigger: ("blur" | "change" | "focus" | "input") | Array<"blur" | "change" | "focus" | "input">;
|
|
4547
|
+
validator: string | Fn;
|
|
4548
|
+
};
|
|
4549
|
+
create: {
|
|
4550
|
+
show: boolean;
|
|
4551
|
+
disabled: boolean;
|
|
4552
|
+
readonly: boolean;
|
|
4553
|
+
};
|
|
4554
|
+
edit: {
|
|
4555
|
+
show: boolean;
|
|
4556
|
+
disabled: boolean;
|
|
4557
|
+
readonly: boolean;
|
|
4558
|
+
};
|
|
4559
|
+
};
|
|
4560
|
+
search: {
|
|
4561
|
+
show: boolean;
|
|
4562
|
+
fuzzy: boolean;
|
|
4563
|
+
defaultValue?: string | undefined;
|
|
4564
|
+
source?: string | undefined;
|
|
4565
|
+
type?: string | undefined;
|
|
4566
|
+
labelKeys?: string | undefined;
|
|
4567
|
+
valueKey?: string | undefined;
|
|
4568
|
+
multiple: boolean;
|
|
4569
|
+
tab: boolean;
|
|
4570
|
+
};
|
|
4263
4571
|
} | {
|
|
4264
4572
|
input: "color";
|
|
4265
4573
|
params: {
|
|
@@ -4891,7 +5199,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
4891
5199
|
};
|
|
4892
5200
|
readonly rules: PropType< FormRules>;
|
|
4893
5201
|
readonly disabled: BooleanConstructor;
|
|
4894
|
-
readonly size: PropType<
|
|
5202
|
+
readonly size: PropType< FormSize>;
|
|
4895
5203
|
readonly showRequireMark: {
|
|
4896
5204
|
readonly type: PropType<boolean | undefined>;
|
|
4897
5205
|
readonly default: undefined;
|
|
@@ -5022,7 +5330,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
5022
5330
|
};
|
|
5023
5331
|
readonly rules: PropType< FormRules>;
|
|
5024
5332
|
readonly disabled: BooleanConstructor;
|
|
5025
|
-
readonly size: PropType<
|
|
5333
|
+
readonly size: PropType< FormSize>;
|
|
5026
5334
|
readonly showRequireMark: {
|
|
5027
5335
|
readonly type: PropType<boolean | undefined>;
|
|
5028
5336
|
readonly default: undefined;
|
|
@@ -5299,9 +5607,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
5299
5607
|
onRender: (() => void) | undefined;
|
|
5300
5608
|
validate: FormItemValidate;
|
|
5301
5609
|
restoreValidation: () => void;
|
|
5610
|
+
invalidateLabelWidth: () => void;
|
|
5302
5611
|
path?: string;
|
|
5303
5612
|
internalValidate: FormItemInternalValidate;
|
|
5304
|
-
mergedSize: ComputedRef<
|
|
5613
|
+
mergedSize: ComputedRef<FormItemSize>;
|
|
5305
5614
|
validationErrored: Ref<boolean, boolean>;
|
|
5306
5615
|
validationWarned: Ref<boolean, boolean>;
|
|
5307
5616
|
mergedLabelStyle: ComputedRef< StyleValue[]>;
|
|
@@ -5464,7 +5773,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
5464
5773
|
readonly showFeedback: boolean | undefined;
|
|
5465
5774
|
readonly showLabel: boolean | undefined;
|
|
5466
5775
|
readonly ignorePathChange: boolean;
|
|
5467
|
-
},
|
|
5776
|
+
}, SlotsType<FormItemSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5468
5777
|
NDivider: DefineComponent<ExtractPropTypes<{
|
|
5469
5778
|
readonly titlePlacement: {
|
|
5470
5779
|
readonly type: PropType<"left" | "center" | "right">;
|
|
@@ -5532,7 +5841,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
5532
5841
|
readonly loading: BooleanConstructor;
|
|
5533
5842
|
readonly disabled: BooleanConstructor;
|
|
5534
5843
|
readonly circle: BooleanConstructor;
|
|
5535
|
-
readonly size: PropType<
|
|
5844
|
+
readonly size: PropType< ButtonSize>;
|
|
5536
5845
|
readonly ghost: BooleanConstructor;
|
|
5537
5846
|
readonly round: BooleanConstructor;
|
|
5538
5847
|
readonly secondary: BooleanConstructor;
|
|
@@ -5552,7 +5861,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
5552
5861
|
readonly default: "button";
|
|
5553
5862
|
};
|
|
5554
5863
|
readonly type: {
|
|
5555
|
-
readonly type: PropType<
|
|
5864
|
+
readonly type: PropType< ButtonType>;
|
|
5556
5865
|
readonly default: "default";
|
|
5557
5866
|
};
|
|
5558
5867
|
readonly dashed: BooleanConstructor;
|
|
@@ -5574,6 +5883,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
5574
5883
|
readonly type: BooleanConstructor;
|
|
5575
5884
|
readonly default: boolean;
|
|
5576
5885
|
};
|
|
5886
|
+
readonly spinProps: PropType< ButtonSpinProps>;
|
|
5577
5887
|
readonly theme: PropType< Theme<"Button", {
|
|
5578
5888
|
heightTiny: string;
|
|
5579
5889
|
heightSmall: string;
|
|
@@ -6252,7 +6562,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
6252
6562
|
readonly loading: BooleanConstructor;
|
|
6253
6563
|
readonly disabled: BooleanConstructor;
|
|
6254
6564
|
readonly circle: BooleanConstructor;
|
|
6255
|
-
readonly size: PropType<
|
|
6565
|
+
readonly size: PropType< ButtonSize>;
|
|
6256
6566
|
readonly ghost: BooleanConstructor;
|
|
6257
6567
|
readonly round: BooleanConstructor;
|
|
6258
6568
|
readonly secondary: BooleanConstructor;
|
|
@@ -6272,7 +6582,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
6272
6582
|
readonly default: "button";
|
|
6273
6583
|
};
|
|
6274
6584
|
readonly type: {
|
|
6275
|
-
readonly type: PropType<
|
|
6585
|
+
readonly type: PropType< ButtonType>;
|
|
6276
6586
|
readonly default: "default";
|
|
6277
6587
|
};
|
|
6278
6588
|
readonly dashed: BooleanConstructor;
|
|
@@ -6294,6 +6604,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
6294
6604
|
readonly type: BooleanConstructor;
|
|
6295
6605
|
readonly default: boolean;
|
|
6296
6606
|
};
|
|
6607
|
+
readonly spinProps: PropType< ButtonSpinProps>;
|
|
6297
6608
|
readonly theme: PropType< Theme<"Button", {
|
|
6298
6609
|
heightTiny: string;
|
|
6299
6610
|
heightSmall: string;
|
|
@@ -6908,7 +7219,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
6908
7219
|
}, any>>>;
|
|
6909
7220
|
}>> & Readonly<{}>, {
|
|
6910
7221
|
readonly disabled: boolean;
|
|
6911
|
-
readonly type:
|
|
7222
|
+
readonly type: ButtonType;
|
|
6912
7223
|
readonly bordered: boolean;
|
|
6913
7224
|
readonly block: boolean;
|
|
6914
7225
|
readonly loading: boolean;
|
|
@@ -7170,7 +7481,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
7170
7481
|
type: PropType<boolean | undefined>;
|
|
7171
7482
|
default: undefined;
|
|
7172
7483
|
};
|
|
7173
|
-
size: PropType<
|
|
7484
|
+
size: PropType< InputSize>;
|
|
7174
7485
|
rows: {
|
|
7175
7486
|
type: PropType<number | string>;
|
|
7176
7487
|
default: number;
|
|
@@ -7510,7 +7821,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
7510
7821
|
isComposing: Ref<boolean, boolean>;
|
|
7511
7822
|
activated: Ref<boolean, boolean>;
|
|
7512
7823
|
showClearButton: ComputedRef<boolean>;
|
|
7513
|
-
mergedSize: ComputedRef<
|
|
7824
|
+
mergedSize: ComputedRef<InputSize>;
|
|
7514
7825
|
mergedDisabled: ComputedRef<boolean>;
|
|
7515
7826
|
textDecorationStyle: ComputedRef<string[] | {
|
|
7516
7827
|
textDecoration: string;
|
|
@@ -7713,7 +8024,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
7713
8024
|
type: PropType<boolean | undefined>;
|
|
7714
8025
|
default: undefined;
|
|
7715
8026
|
};
|
|
7716
|
-
size: PropType<
|
|
8027
|
+
size: PropType< InputSize>;
|
|
7717
8028
|
rows: {
|
|
7718
8029
|
type: PropType<number | string>;
|
|
7719
8030
|
default: number;
|
|
@@ -8048,6 +8359,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
8048
8359
|
readonly default: undefined;
|
|
8049
8360
|
};
|
|
8050
8361
|
readonly clearable: BooleanConstructor;
|
|
8362
|
+
readonly clearCreatedOptionsOnClear: {
|
|
8363
|
+
readonly type: BooleanConstructor;
|
|
8364
|
+
readonly default: true;
|
|
8365
|
+
};
|
|
8051
8366
|
readonly clearFilterAfterSelect: {
|
|
8052
8367
|
readonly type: BooleanConstructor;
|
|
8053
8368
|
readonly default: true;
|
|
@@ -8068,9 +8383,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
8068
8383
|
readonly placeholder: StringConstructor;
|
|
8069
8384
|
readonly menuProps: PropType< HTMLAttributes>;
|
|
8070
8385
|
readonly multiple: BooleanConstructor;
|
|
8071
|
-
readonly size: PropType<
|
|
8386
|
+
readonly size: PropType< SelectSize>;
|
|
8072
8387
|
readonly menuSize: {
|
|
8073
|
-
readonly type: PropType<
|
|
8388
|
+
readonly type: PropType< SelectSize>;
|
|
8074
8389
|
};
|
|
8075
8390
|
readonly filterable: BooleanConstructor;
|
|
8076
8391
|
readonly disabled: {
|
|
@@ -8156,6 +8471,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
8156
8471
|
readonly type: BooleanConstructor;
|
|
8157
8472
|
readonly default: true;
|
|
8158
8473
|
};
|
|
8474
|
+
readonly scrollbarProps: PropType< ScrollbarProps>;
|
|
8159
8475
|
readonly onChange: PropType< MaybeArray<OnUpdateValue>>;
|
|
8160
8476
|
readonly items: PropType< SelectMixedOption[]>;
|
|
8161
8477
|
readonly theme: PropType< Theme<"Select", {
|
|
@@ -8672,7 +8988,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
8672
8988
|
localizedPlaceholder: ComputedRef<string>;
|
|
8673
8989
|
selectedOption: ComputedRef< SelectOption | null>;
|
|
8674
8990
|
selectedOptions: ComputedRef< SelectOption[] | null>;
|
|
8675
|
-
mergedSize: ComputedRef<
|
|
8991
|
+
mergedSize: ComputedRef<SelectSize>;
|
|
8676
8992
|
mergedDisabled: ComputedRef<boolean>;
|
|
8677
8993
|
focused: Ref<boolean, boolean>;
|
|
8678
8994
|
activeWithoutMenuOpen: Ref<boolean, boolean>;
|
|
@@ -8937,6 +9253,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
8937
9253
|
readonly default: undefined;
|
|
8938
9254
|
};
|
|
8939
9255
|
readonly clearable: BooleanConstructor;
|
|
9256
|
+
readonly clearCreatedOptionsOnClear: {
|
|
9257
|
+
readonly type: BooleanConstructor;
|
|
9258
|
+
readonly default: true;
|
|
9259
|
+
};
|
|
8940
9260
|
readonly clearFilterAfterSelect: {
|
|
8941
9261
|
readonly type: BooleanConstructor;
|
|
8942
9262
|
readonly default: true;
|
|
@@ -8957,9 +9277,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
8957
9277
|
readonly placeholder: StringConstructor;
|
|
8958
9278
|
readonly menuProps: PropType< HTMLAttributes>;
|
|
8959
9279
|
readonly multiple: BooleanConstructor;
|
|
8960
|
-
readonly size: PropType<
|
|
9280
|
+
readonly size: PropType< SelectSize>;
|
|
8961
9281
|
readonly menuSize: {
|
|
8962
|
-
readonly type: PropType<
|
|
9282
|
+
readonly type: PropType< SelectSize>;
|
|
8963
9283
|
};
|
|
8964
9284
|
readonly filterable: BooleanConstructor;
|
|
8965
9285
|
readonly disabled: {
|
|
@@ -9045,6 +9365,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
9045
9365
|
readonly type: BooleanConstructor;
|
|
9046
9366
|
readonly default: true;
|
|
9047
9367
|
};
|
|
9368
|
+
readonly scrollbarProps: PropType< ScrollbarProps>;
|
|
9048
9369
|
readonly onChange: PropType< MaybeArray<OnUpdateValue>>;
|
|
9049
9370
|
readonly items: PropType< SelectMixedOption[]>;
|
|
9050
9371
|
readonly theme: PropType< Theme<"Select", {
|
|
@@ -9531,6 +9852,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
9531
9852
|
readonly valueField: string;
|
|
9532
9853
|
readonly labelField: string;
|
|
9533
9854
|
readonly childrenField: string;
|
|
9855
|
+
readonly clearCreatedOptionsOnClear: boolean;
|
|
9534
9856
|
readonly widthMode: string;
|
|
9535
9857
|
readonly fallbackOption: false | SelectFallbackOption | undefined;
|
|
9536
9858
|
readonly consistentMenuWidth: boolean;
|
|
@@ -10511,7 +10833,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
10511
10833
|
mergedValue: ComputedRef<number | null>;
|
|
10512
10834
|
mergedPlaceholder: ComputedRef<string>;
|
|
10513
10835
|
displayedValueInvalid: ComputedRef<boolean>;
|
|
10514
|
-
mergedSize: ComputedRef<
|
|
10836
|
+
mergedSize: ComputedRef<InputNumberSize>;
|
|
10515
10837
|
mergedDisabled: ComputedRef<boolean>;
|
|
10516
10838
|
displayedValue: Ref<string, string>;
|
|
10517
10839
|
addable: ComputedRef<boolean>;
|
|
@@ -11790,6 +12112,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
11790
12112
|
readonly default: undefined;
|
|
11791
12113
|
};
|
|
11792
12114
|
readonly clearable: BooleanConstructor;
|
|
12115
|
+
readonly fastYearSelect: BooleanConstructor;
|
|
12116
|
+
readonly fastMonthSelect: BooleanConstructor;
|
|
11793
12117
|
readonly updateValueOnClose: BooleanConstructor;
|
|
11794
12118
|
readonly calendarDayFormat: StringConstructor;
|
|
11795
12119
|
readonly calendarHeaderYearFormat: StringConstructor;
|
|
@@ -11815,7 +12139,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
11815
12139
|
};
|
|
11816
12140
|
readonly value: PropType< Value | null>;
|
|
11817
12141
|
readonly formattedValue: PropType< FormattedValue | null>;
|
|
11818
|
-
readonly size: PropType<
|
|
12142
|
+
readonly size: PropType<DatePickerSize>;
|
|
11819
12143
|
readonly type: {
|
|
11820
12144
|
readonly type: PropType<DatePickerType>;
|
|
11821
12145
|
readonly default: "date";
|
|
@@ -14108,7 +14432,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
14108
14432
|
isRange: ComputedRef<boolean>;
|
|
14109
14433
|
localizedStartPlaceholder: ComputedRef<string>;
|
|
14110
14434
|
localizedEndPlaceholder: ComputedRef<string>;
|
|
14111
|
-
mergedSize: ComputedRef<
|
|
14435
|
+
mergedSize: ComputedRef<DatePickerSize>;
|
|
14112
14436
|
mergedDisabled: ComputedRef<boolean>;
|
|
14113
14437
|
localizedPlacehoder: ComputedRef<string>;
|
|
14114
14438
|
isValueInvalid: ComputedRef<boolean>;
|
|
@@ -15196,6 +15520,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
15196
15520
|
readonly default: undefined;
|
|
15197
15521
|
};
|
|
15198
15522
|
readonly clearable: BooleanConstructor;
|
|
15523
|
+
readonly fastYearSelect: BooleanConstructor;
|
|
15524
|
+
readonly fastMonthSelect: BooleanConstructor;
|
|
15199
15525
|
readonly updateValueOnClose: BooleanConstructor;
|
|
15200
15526
|
readonly calendarDayFormat: StringConstructor;
|
|
15201
15527
|
readonly calendarHeaderYearFormat: StringConstructor;
|
|
@@ -15221,7 +15547,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
15221
15547
|
};
|
|
15222
15548
|
readonly value: PropType< Value | null>;
|
|
15223
15549
|
readonly formattedValue: PropType< FormattedValue | null>;
|
|
15224
|
-
readonly size: PropType<
|
|
15550
|
+
readonly size: PropType<DatePickerSize>;
|
|
15225
15551
|
readonly type: {
|
|
15226
15552
|
readonly type: PropType<DatePickerType>;
|
|
15227
15553
|
readonly default: "date";
|
|
@@ -17290,6 +17616,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
17290
17616
|
readonly placement: FollowerPlacement;
|
|
17291
17617
|
readonly show: boolean | undefined;
|
|
17292
17618
|
readonly inputReadonly: boolean;
|
|
17619
|
+
readonly fastYearSelect: boolean;
|
|
17620
|
+
readonly fastMonthSelect: boolean;
|
|
17293
17621
|
readonly updateValueOnClose: boolean;
|
|
17294
17622
|
readonly calendarHeaderMonthYearSeparator: string;
|
|
17295
17623
|
readonly calendarHeaderMonthBeforeYear: boolean;
|
|
@@ -17329,7 +17657,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
17329
17657
|
valueFormat: StringConstructor;
|
|
17330
17658
|
formattedValue: PropType<string | null>;
|
|
17331
17659
|
isHourDisabled: PropType< IsHourDisabled>;
|
|
17332
|
-
size: PropType<
|
|
17660
|
+
size: PropType< TimePickerSize>;
|
|
17333
17661
|
isMinuteDisabled: PropType< IsMinuteDisabled>;
|
|
17334
17662
|
isSecondDisabled: PropType< IsSecondDisabled>;
|
|
17335
17663
|
inputReadonly: BooleanConstructor;
|
|
@@ -18463,7 +18791,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
18463
18791
|
secondInFormat: ComputedRef<boolean>;
|
|
18464
18792
|
mergedAttrSize: ComputedRef<number>;
|
|
18465
18793
|
displayTimeString: Ref<string, string>;
|
|
18466
|
-
mergedSize: ComputedRef<
|
|
18794
|
+
mergedSize: ComputedRef<TimePickerSize>;
|
|
18467
18795
|
mergedDisabled: ComputedRef<boolean>;
|
|
18468
18796
|
isValueInvalid: ComputedRef<boolean>;
|
|
18469
18797
|
isHourInvalid: ComputedRef<boolean>;
|
|
@@ -18888,7 +19216,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
18888
19216
|
valueFormat: StringConstructor;
|
|
18889
19217
|
formattedValue: PropType<string | null>;
|
|
18890
19218
|
isHourDisabled: PropType< IsHourDisabled>;
|
|
18891
|
-
size: PropType<
|
|
19219
|
+
size: PropType< TimePickerSize>;
|
|
18892
19220
|
isMinuteDisabled: PropType< IsMinuteDisabled>;
|
|
18893
19221
|
isSecondDisabled: PropType< IsSecondDisabled>;
|
|
18894
19222
|
inputReadonly: BooleanConstructor;
|
|
@@ -19877,10 +20205,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
19877
20205
|
stateful: boolean;
|
|
19878
20206
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
19879
20207
|
NSwitch: DefineComponent<ExtractPropTypes<{
|
|
19880
|
-
readonly size:
|
|
19881
|
-
readonly type: PropType<"small" | "medium" | "large">;
|
|
19882
|
-
readonly default: "medium";
|
|
19883
|
-
};
|
|
20208
|
+
readonly size: PropType< SwitchSize>;
|
|
19884
20209
|
readonly value: {
|
|
19885
20210
|
readonly type: PropType<string | number | boolean | undefined>;
|
|
19886
20211
|
readonly default: undefined;
|
|
@@ -19916,6 +20241,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
19916
20241
|
readonly type: BooleanConstructor;
|
|
19917
20242
|
readonly default: true;
|
|
19918
20243
|
};
|
|
20244
|
+
readonly spinProps: PropType< SwitchSpinProps>;
|
|
19919
20245
|
readonly onChange: PropType< MaybeArray<OnUpdateValue> | undefined>;
|
|
19920
20246
|
readonly theme: PropType< Theme<"Switch", {
|
|
19921
20247
|
iconColor: string;
|
|
@@ -20050,10 +20376,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
20050
20376
|
themeClass: Ref<string, string> | undefined;
|
|
20051
20377
|
onRender: (() => void) | undefined;
|
|
20052
20378
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
20053
|
-
readonly size:
|
|
20054
|
-
readonly type: PropType<"small" | "medium" | "large">;
|
|
20055
|
-
readonly default: "medium";
|
|
20056
|
-
};
|
|
20379
|
+
readonly size: PropType< SwitchSize>;
|
|
20057
20380
|
readonly value: {
|
|
20058
20381
|
readonly type: PropType<string | number | boolean | undefined>;
|
|
20059
20382
|
readonly default: undefined;
|
|
@@ -20089,6 +20412,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
20089
20412
|
readonly type: BooleanConstructor;
|
|
20090
20413
|
readonly default: true;
|
|
20091
20414
|
};
|
|
20415
|
+
readonly spinProps: PropType< SwitchSpinProps>;
|
|
20092
20416
|
readonly onChange: PropType< MaybeArray<OnUpdateValue> | undefined>;
|
|
20093
20417
|
readonly theme: PropType< Theme<"Switch", {
|
|
20094
20418
|
iconColor: string;
|
|
@@ -20189,7 +20513,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
20189
20513
|
}>> & Readonly<{}>, {
|
|
20190
20514
|
readonly value: string | number | boolean | undefined;
|
|
20191
20515
|
readonly disabled: boolean | undefined;
|
|
20192
|
-
readonly size: "small" | "medium" | "large";
|
|
20193
20516
|
readonly defaultValue: string | number | boolean;
|
|
20194
20517
|
readonly loading: boolean;
|
|
20195
20518
|
readonly round: boolean;
|
|
@@ -20232,7 +20555,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
20232
20555
|
readonly default: null;
|
|
20233
20556
|
};
|
|
20234
20557
|
readonly internalActions: PropType<ReadonlyArray<"redo" | "undo">>;
|
|
20235
|
-
readonly size: PropType<
|
|
20558
|
+
readonly size: PropType< ColorPickerSize>;
|
|
20236
20559
|
readonly renderLabel: PropType< RenderLabel>;
|
|
20237
20560
|
readonly onComplete: PropType< OnUpdateValue>;
|
|
20238
20561
|
readonly onConfirm: PropType< OnUpdateValue>;
|
|
@@ -21129,7 +21452,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
21129
21452
|
}>, {
|
|
21130
21453
|
mergedClsPrefix: Ref<string, string>;
|
|
21131
21454
|
namespace: ComputedRef<string | undefined>;
|
|
21132
|
-
selfRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
21133
21455
|
hsla: ComputedRef< HSLA | null>;
|
|
21134
21456
|
rgba: ComputedRef< RGBA | null>;
|
|
21135
21457
|
mergedShow: ComputedRef<boolean>;
|
|
@@ -21138,6 +21460,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
21138
21460
|
adjustedTo: ComputedRef<string | HTMLElement>;
|
|
21139
21461
|
mergedValue: ComputedRef<string | null>;
|
|
21140
21462
|
handleTriggerClick(): void;
|
|
21463
|
+
setTriggerRef: (el: Element | ComponentPublicInstance | null) => void;
|
|
21141
21464
|
handleClickOutside(e: MouseEvent): void;
|
|
21142
21465
|
renderPanel: () => VNode;
|
|
21143
21466
|
cssVars: ComputedRef<{
|
|
@@ -21189,7 +21512,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
21189
21512
|
readonly default: null;
|
|
21190
21513
|
};
|
|
21191
21514
|
readonly internalActions: PropType<ReadonlyArray<"redo" | "undo">>;
|
|
21192
|
-
readonly size: PropType<
|
|
21515
|
+
readonly size: PropType< ColorPickerSize>;
|
|
21193
21516
|
readonly renderLabel: PropType< RenderLabel>;
|
|
21194
21517
|
readonly onComplete: PropType< OnUpdateValue>;
|
|
21195
21518
|
readonly onConfirm: PropType< OnUpdateValue>;
|
|
@@ -22095,7 +22418,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22095
22418
|
readonly actions: ActionType[];
|
|
22096
22419
|
}, SlotsType<ColorPickerSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22097
22420
|
NCheckbox: DefineComponent<ExtractPropTypes<{
|
|
22098
|
-
size: PropType<
|
|
22421
|
+
size: PropType< CheckboxSize>;
|
|
22099
22422
|
checked: {
|
|
22100
22423
|
type: PropType<boolean | string | number | undefined>;
|
|
22101
22424
|
default: undefined;
|
|
@@ -22294,7 +22617,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22294
22617
|
themeClass: Ref<string, string> | undefined;
|
|
22295
22618
|
onRender: (() => void) | undefined;
|
|
22296
22619
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
22297
|
-
size: PropType<
|
|
22620
|
+
size: PropType< CheckboxSize>;
|
|
22298
22621
|
checked: {
|
|
22299
22622
|
type: PropType<boolean | string | number | undefined>;
|
|
22300
22623
|
default: undefined;
|
|
@@ -22497,7 +22820,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22497
22820
|
};
|
|
22498
22821
|
readonly placeholder: StringConstructor;
|
|
22499
22822
|
readonly multiple: BooleanConstructor;
|
|
22500
|
-
readonly size: PropType<
|
|
22823
|
+
readonly size: PropType< CascaderSize>;
|
|
22501
22824
|
readonly filterable: BooleanConstructor;
|
|
22502
22825
|
readonly disabled: {
|
|
22503
22826
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -22575,6 +22898,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22575
22898
|
readonly getColumnStyle: PropType<(detail: {
|
|
22576
22899
|
level: number;
|
|
22577
22900
|
}) => string | CSSProperties>;
|
|
22901
|
+
readonly spinProps: PropType< CascaderSpinProps>;
|
|
22578
22902
|
readonly renderPrefix: PropType<(props: {
|
|
22579
22903
|
option: CascaderOption;
|
|
22580
22904
|
checked: boolean;
|
|
@@ -22585,6 +22909,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22585
22909
|
checked: boolean;
|
|
22586
22910
|
node: VNode | null;
|
|
22587
22911
|
}) => VNodeChild>;
|
|
22912
|
+
readonly scrollbarProps: PropType< ScrollbarProps>;
|
|
22588
22913
|
readonly onChange: PropType< MaybeArray<OnUpdateValue> | undefined>;
|
|
22589
22914
|
readonly theme: PropType< Theme<"Cascader", {
|
|
22590
22915
|
menuBorderRadius: string;
|
|
@@ -23315,7 +23640,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
23315
23640
|
showSelectMenu: ComputedRef<boolean>;
|
|
23316
23641
|
pattern: Ref<string, string>;
|
|
23317
23642
|
treeMate: ComputedRef<TreeMate<CascaderOption, CascaderOption, CascaderOption>>;
|
|
23318
|
-
mergedSize: ComputedRef<
|
|
23643
|
+
mergedSize: ComputedRef<CascaderSize>;
|
|
23319
23644
|
mergedDisabled: ComputedRef<boolean>;
|
|
23320
23645
|
localizedPlaceholder: ComputedRef<string>;
|
|
23321
23646
|
selectedOption: ComputedRef<{
|
|
@@ -23702,7 +24027,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
23702
24027
|
};
|
|
23703
24028
|
readonly placeholder: StringConstructor;
|
|
23704
24029
|
readonly multiple: BooleanConstructor;
|
|
23705
|
-
readonly size: PropType<
|
|
24030
|
+
readonly size: PropType< CascaderSize>;
|
|
23706
24031
|
readonly filterable: BooleanConstructor;
|
|
23707
24032
|
readonly disabled: {
|
|
23708
24033
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -23780,6 +24105,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
23780
24105
|
readonly getColumnStyle: PropType<(detail: {
|
|
23781
24106
|
level: number;
|
|
23782
24107
|
}) => string | CSSProperties>;
|
|
24108
|
+
readonly spinProps: PropType< CascaderSpinProps>;
|
|
23783
24109
|
readonly renderPrefix: PropType<(props: {
|
|
23784
24110
|
option: CascaderOption;
|
|
23785
24111
|
checked: boolean;
|
|
@@ -23790,6 +24116,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
23790
24116
|
checked: boolean;
|
|
23791
24117
|
node: VNode | null;
|
|
23792
24118
|
}) => VNodeChild>;
|
|
24119
|
+
readonly scrollbarProps: PropType< ScrollbarProps>;
|
|
23793
24120
|
readonly onChange: PropType< MaybeArray<OnUpdateValue> | undefined>;
|
|
23794
24121
|
readonly theme: PropType< Theme<"Cascader", {
|
|
23795
24122
|
menuBorderRadius: string;
|
|
@@ -24961,23 +25288,23 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
24961
25288
|
}>> & Readonly<{}>, {
|
|
24962
25289
|
disabled: boolean;
|
|
24963
25290
|
raw: boolean;
|
|
25291
|
+
width: number | "trigger";
|
|
25292
|
+
duration: number;
|
|
25293
|
+
scrollable: boolean;
|
|
25294
|
+
trigger: PopoverTrigger;
|
|
24964
25295
|
to: string | boolean | HTMLElement;
|
|
24965
25296
|
placement: FollowerPlacement;
|
|
24966
|
-
width: number | "trigger";
|
|
24967
25297
|
show: boolean | undefined;
|
|
24968
25298
|
showArrow: boolean;
|
|
24969
|
-
trigger: PopoverTrigger;
|
|
24970
25299
|
arrow: boolean | undefined;
|
|
24971
25300
|
defaultShow: boolean;
|
|
24972
25301
|
delay: number;
|
|
24973
|
-
duration: number;
|
|
24974
25302
|
arrowPointToCenter: boolean;
|
|
24975
25303
|
displayDirective: "show" | "if";
|
|
24976
25304
|
flip: boolean;
|
|
24977
25305
|
animated: boolean;
|
|
24978
25306
|
overlap: boolean;
|
|
24979
25307
|
keepAliveOnHover: boolean;
|
|
24980
|
-
scrollable: boolean;
|
|
24981
25308
|
internalDeactivateImmediately: boolean;
|
|
24982
25309
|
internalSyncTargetWithParent: boolean;
|
|
24983
25310
|
internalInheritedEventHandlers: TriggerEventHandlers[];
|
|
@@ -25242,10 +25569,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25242
25569
|
readonly type: BooleanConstructor;
|
|
25243
25570
|
readonly default: true;
|
|
25244
25571
|
};
|
|
25245
|
-
readonly size:
|
|
25246
|
-
readonly type: PropType<"small" | "medium" | "large" | "huge">;
|
|
25247
|
-
readonly default: "medium";
|
|
25248
|
-
};
|
|
25572
|
+
readonly size: PropType< DropdownSize>;
|
|
25249
25573
|
readonly inverted: BooleanConstructor;
|
|
25250
25574
|
readonly placement: {
|
|
25251
25575
|
readonly type: PropType< PopoverPlacement>;
|
|
@@ -25460,6 +25784,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25460
25784
|
} | undefined;
|
|
25461
25785
|
};
|
|
25462
25786
|
}>;
|
|
25787
|
+
mergedSize: ComputedRef<DropdownSize>;
|
|
25463
25788
|
tmNodes: ComputedRef< TreeNode< MenuOption | MenuRenderOption, MenuGroupOption, MenuIgnoredOption>[]>;
|
|
25464
25789
|
mergedShow: ComputedRef<boolean>;
|
|
25465
25790
|
handleAfterLeave: () => void;
|
|
@@ -25725,10 +26050,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25725
26050
|
readonly type: BooleanConstructor;
|
|
25726
26051
|
readonly default: true;
|
|
25727
26052
|
};
|
|
25728
|
-
readonly size:
|
|
25729
|
-
readonly type: PropType<"small" | "medium" | "large" | "huge">;
|
|
25730
|
-
readonly default: "medium";
|
|
25731
|
-
};
|
|
26053
|
+
readonly size: PropType< DropdownSize>;
|
|
25732
26054
|
readonly inverted: BooleanConstructor;
|
|
25733
26055
|
readonly placement: {
|
|
25734
26056
|
readonly type: PropType< PopoverPlacement>;
|
|
@@ -25838,27 +26160,26 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25838
26160
|
readonly maxWidth: NumberConstructor;
|
|
25839
26161
|
}>> & Readonly<{}>, {
|
|
25840
26162
|
readonly disabled: boolean;
|
|
25841
|
-
readonly size: "small" | "medium" | "large" | "huge";
|
|
25842
26163
|
readonly raw: boolean;
|
|
26164
|
+
readonly width: number | "trigger";
|
|
26165
|
+
readonly duration: number;
|
|
26166
|
+
readonly scrollable: boolean;
|
|
26167
|
+
readonly trigger: PopoverTrigger;
|
|
25843
26168
|
readonly to: string | boolean | HTMLElement;
|
|
25844
26169
|
readonly placement: PopoverPlacement;
|
|
25845
26170
|
readonly options: DropdownMixedOption[];
|
|
25846
|
-
readonly width: number | "trigger";
|
|
25847
26171
|
readonly show: boolean | undefined;
|
|
25848
26172
|
readonly keyboard: boolean;
|
|
25849
26173
|
readonly showArrow: boolean;
|
|
25850
|
-
readonly trigger: PopoverTrigger;
|
|
25851
26174
|
readonly arrow: boolean | undefined;
|
|
25852
26175
|
readonly defaultShow: boolean;
|
|
25853
26176
|
readonly delay: number;
|
|
25854
|
-
readonly duration: number;
|
|
25855
26177
|
readonly arrowPointToCenter: boolean;
|
|
25856
26178
|
readonly displayDirective: "show" | "if";
|
|
25857
26179
|
readonly flip: boolean;
|
|
25858
26180
|
readonly animated: boolean;
|
|
25859
26181
|
readonly overlap: boolean;
|
|
25860
26182
|
readonly keepAliveOnHover: boolean;
|
|
25861
|
-
readonly scrollable: boolean;
|
|
25862
26183
|
readonly internalDeactivateImmediately: boolean;
|
|
25863
26184
|
readonly internalSyncTargetWithParent: boolean;
|
|
25864
26185
|
readonly internalInheritedEventHandlers: TriggerEventHandlers[];
|