yc-design-vue 2.0.4 → 2.0.5
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/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/es/Affix/index.vue.js +1 -1
- package/es/Anchor/Anchor.vue.js +2 -2
- package/es/Anchor/AnchorLink.vue.js +2 -2
- package/es/Anchor/hooks/useContext.d.ts +2 -2
- package/es/Anchor/hooks/useContext.js +3 -3
- package/es/AutoComplete/index.d.ts +24 -24
- package/es/AutoComplete/index.vue.d.ts +40 -40
- package/es/Avatar/Avatar.vue.js +3 -3
- package/es/Avatar/AvatarGroup.vue.js +2 -2
- package/es/Avatar/hooks/useContext.d.ts +1 -2
- package/es/Avatar/hooks/useContext.js +3 -3
- package/es/BackTop/index.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/es/Button/Button.vue.js +2 -2
- package/es/Button/ButtonGroup.vue.js +2 -2
- package/es/Button/hooks/useContext.d.ts +1 -2
- package/es/Button/hooks/useContext.js +3 -3
- package/es/Card/Card.vue.js +2 -2
- package/es/Card/CardMeta.vue.js +2 -2
- package/es/Card/hooks/useContext.d.ts +2 -2
- package/es/Card/hooks/useContext.js +3 -3
- package/es/Carousel/Carousel.vue.js +2 -2
- package/es/Carousel/CarouselArrow.vue.js +2 -2
- package/es/Carousel/CarouselIndicator.vue.js +2 -2
- package/es/Carousel/CarouselItem.vue.js +2 -2
- package/es/Carousel/hooks/useContext.d.ts +2 -2
- package/es/Carousel/hooks/useContext.js +3 -3
- package/es/Cascader/Cascader.vue.d.ts +18 -18
- package/es/Cascader/Cascader.vue.js +2 -2
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +2 -2
- package/es/Cascader/CascaderPanel.vue.js +2 -2
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -2
- package/es/Cascader/hooks/useContext.d.ts +2 -2
- package/es/Cascader/hooks/useContext.js +3 -3
- package/es/Cascader/index.d.ts +21 -21
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Checkbox/CheckboxGroup.vue.js +2 -2
- package/es/Checkbox/hooks/useContext.d.ts +2 -2
- package/es/Checkbox/hooks/useContext.js +3 -3
- package/es/Collapse/Collapse.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Collapse/hooks/useContext.d.ts +1 -2
- package/es/Collapse/hooks/useContext.js +3 -3
- package/es/ColorPicker/ColorControl.vue.js +1 -1
- package/es/ColorPicker/ColorPalette.vue.js +1 -1
- package/es/ColorPicker/ColorPanel.vue.js +2 -2
- package/es/ColorPicker/ColorPicker.vue.js +2 -2
- package/es/ColorPicker/hooks/useContext.d.ts +2 -2
- package/es/ColorPicker/hooks/useContext.js +3 -3
- package/es/Comment/hooks/useContext.d.ts +1 -2
- package/es/Comment/hooks/useContext.js +3 -3
- package/es/Comment/index.vue.js +2 -2
- package/es/Descriptions/Descriptions.vue.js +2 -2
- package/es/Descriptions/ReuseItem.vue.js +2 -2
- package/es/Descriptions/ReuseTd.vue.js +2 -2
- package/es/Descriptions/hooks/useContext.d.ts +2 -2
- package/es/Descriptions/hooks/useContext.js +3 -3
- package/es/Dropdown/Doption.vue.js +2 -2
- package/es/Dropdown/Dropdown.vue.d.ts +2 -2
- package/es/Dropdown/Dropdown.vue.js +2 -2
- package/es/Dropdown/DropdownButton.vue.d.ts +2 -2
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Dropdown/hooks/useContext.d.ts +2 -2
- package/es/Dropdown/hooks/useContext.js +3 -3
- package/es/Dropdown/index.d.ts +10 -10
- package/es/Grid/Grid.vue.js +2 -2
- package/es/Grid/GridCol.vue.js +2 -2
- package/es/Grid/GridItem.vue.js +2 -2
- package/es/Grid/GridRow.vue.js +2 -2
- package/es/Grid/hooks/useContext.d.ts +1 -2
- package/es/Grid/hooks/useContext.js +3 -3
- package/es/Image/Image.vue.js +2 -2
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewGroup.vue.js +2 -2
- package/es/Image/hooks/useContext.d.ts +2 -2
- package/es/Image/hooks/useContext.js +3 -3
- package/es/Input/Input.vue.d.ts +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/Input/index.d.ts +5 -5
- package/es/InputNumber/InputNumber.vue.d.ts +14 -14
- package/es/InputNumber/index.d.ts +11 -11
- package/es/InputTag/index.d.ts +5 -5
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue.js +1 -1
- package/es/Layout/LayoutSider.vue.js +2 -2
- package/es/Layout/hooks/useSiderContext.d.ts +1 -2
- package/es/Layout/hooks/useSiderContext.js +3 -3
- package/es/List/hooks/useScrollReach.js +1 -0
- package/es/Mention/index.d.ts +30 -30
- package/es/Mention/index.vue.d.ts +52 -52
- package/es/Menu/MenuItem.vue.js +1 -1
- package/es/Menu/hooks/useContext.d.ts +2 -2
- package/es/Menu/hooks/useContext.js +5 -5
- package/es/OverflowList/index.vue.js +2 -2
- package/es/Pagination/Pagination.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +2 -2
- package/es/Pagination/hooks/useContext.d.ts +2 -2
- package/es/Pagination/hooks/useContext.js +3 -3
- package/es/Popconfirm/index.d.ts +5 -5
- package/es/Popconfirm/index.vue.d.ts +2 -2
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Radio/RadioGroup.vue.js +2 -2
- package/es/Radio/hooks/useContext.d.ts +2 -2
- package/es/Radio/hooks/useContext.js +3 -3
- package/es/Scrollbar/Scrollbar.vue.js +2 -2
- package/es/Scrollbar/ScrollbarTrack.vue.js +2 -2
- package/es/Scrollbar/hooks/useContext.d.ts +2 -2
- package/es/Scrollbar/hooks/useContext.js +3 -3
- package/es/Select/Option.vue.js +2 -2
- package/es/Select/Select.vue.d.ts +16 -16
- package/es/Select/Select.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/SelectRealList.vue.js +2 -2
- package/es/Select/SelectView.vue.js +2 -2
- package/es/Select/SelectVirtualList.vue.js +3 -3
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useContext.js +3 -3
- package/es/Select/index.d.ts +16 -16
- package/es/Slider/Slider.vue.js +2 -2
- package/es/Slider/SliderBtn.vue.js +2 -2
- package/es/Slider/SliderInput.vue.js +2 -2
- package/es/Slider/SliderTicks.vue.js +2 -2
- package/es/Slider/hooks/useContext.d.ts +2 -2
- package/es/Slider/hooks/useContext.js +3 -3
- package/es/Spin/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +2 -2
- package/es/Steps/Steps.vue.js +2 -2
- package/es/Steps/hooks/useContext.d.ts +1 -2
- package/es/Steps/hooks/useContext.js +3 -3
- package/es/Switch/index.d.ts +5 -5
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Tabs/TabPane.vue.js +2 -2
- package/es/Tabs/Tabs.vue.js +2 -2
- package/es/Tabs/TabsNavInk.vue.js +2 -2
- package/es/Tabs/TabsTab.vue.js +2 -2
- package/es/Tabs/hooks/useContext.d.ts +2 -2
- package/es/Tabs/hooks/useContext.js +3 -3
- package/es/Textarea/hooks/useTextareaHeight.js +1 -1
- package/es/Textarea/index.d.ts +5 -5
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +4 -4
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/TimePicker/TimePickerPanel.vue.js +2 -2
- package/es/TimePicker/hooks/useContext.d.ts +2 -2
- package/es/TimePicker/hooks/useContext.js +3 -3
- package/es/TimePicker/index.d.ts +10 -10
- package/es/Timeline/Timeline.vue.js +2 -2
- package/es/Timeline/TimelineItem.vue.js +2 -2
- package/es/Timeline/hooks/useContext.d.ts +2 -2
- package/es/Timeline/hooks/useContext.js +3 -3
- package/es/Transfer/Transfer.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Transfer/hooks/useContext.d.ts +2 -2
- package/es/Transfer/hooks/useContext.js +3 -3
- package/es/Trigger/hooks/useContext.d.ts +2 -3
- package/es/Trigger/hooks/useContext.js +4 -4
- package/es/Trigger/hooks/useTriggerPosition.js +1 -1
- package/es/Trigger/hooks/useTriggerVisible.js +2 -2
- package/es/Typography/TypographyBase.vue.d.ts +12 -12
- package/es/Typography/TypographyBase.vue.js +3 -3
- package/es/Watermark/index.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +19 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -19
- package/es/_shared/icons/IconEdit.vue.js +19 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -19
- package/es/_shared/icons/IconEyeClose.vue.js +1 -23
- package/es/_shared/icons/IconEyeClose.vue2.js +23 -1
- package/es/_shared/icons/IconEyeOpen.vue.js +1 -20
- package/es/_shared/icons/IconEyeOpen.vue2.js +20 -1
- package/es/_shared/icons/IconSeparator.vue.js +1 -19
- package/es/_shared/icons/IconSeparator.vue2.js +19 -1
- package/es/_shared/utils/is.d.ts +0 -15
- package/es/_shared/utils/vue-utils.d.ts +1 -0
- package/es/index.d.ts +5 -5
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +2 -2
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +24 -24
- package/lib/AutoComplete/index.vue.d.ts +40 -40
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/hooks/useContext.d.ts +1 -2
- package/lib/Avatar/hooks/useContext.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +1 -2
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Card/hooks/useContext.d.ts +2 -2
- package/lib/Card/hooks/useContext.js +1 -1
- package/lib/Carousel/hooks/useContext.d.ts +2 -2
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +18 -18
- package/lib/Cascader/hooks/useContext.d.ts +2 -2
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +21 -21
- package/lib/Checkbox/hooks/useContext.d.ts +2 -2
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/hooks/useContext.d.ts +1 -2
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/hooks/useContext.d.ts +1 -2
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Descriptions/hooks/useContext.d.ts +2 -2
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Dropdown/Dropdown.vue.d.ts +2 -2
- package/lib/Dropdown/DropdownButton.vue.d.ts +2 -2
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +2 -2
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +10 -10
- package/lib/Grid/hooks/useContext.d.ts +1 -2
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/hooks/useContext.d.ts +2 -2
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Input/Input.vue.d.ts +2 -2
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/index.d.ts +5 -5
- package/lib/InputNumber/InputNumber.vue.d.ts +14 -14
- package/lib/InputNumber/index.d.ts +11 -11
- package/lib/InputTag/index.d.ts +5 -5
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.d.ts +1 -2
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/Mention/index.d.ts +30 -30
- package/lib/Mention/index.vue.d.ts +52 -52
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +2 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +2 -2
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +5 -5
- package/lib/Popconfirm/index.vue.d.ts +2 -2
- package/lib/Radio/hooks/useContext.d.ts +2 -2
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Scrollbar/hooks/useContext.d.ts +2 -2
- package/lib/Scrollbar/hooks/useContext.js +1 -1
- package/lib/Select/Select.vue.d.ts +16 -16
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/index.d.ts +16 -16
- package/lib/Slider/hooks/useContext.d.ts +2 -2
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +1 -2
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.d.ts +5 -5
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +5 -5
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +4 -4
- package/lib/TimePicker/hooks/useContext.d.ts +2 -2
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +10 -10
- package/lib/Timeline/hooks/useContext.d.ts +2 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +2 -2
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.d.ts +2 -3
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +12 -12
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/is.d.ts +0 -15
- package/lib/_shared/utils/vue-utils.d.ts +1 -0
- package/lib/index.d.ts +5 -5
- package/package.json +1 -1
@@ -23,12 +23,12 @@ declare function __VLS_template(): {
|
|
23
23
|
readonly isSearch?: boolean | undefined;
|
24
24
|
readonly type?: "textarea" | "input" | undefined;
|
25
25
|
readonly onChange?: ((value: string) => any) | undefined;
|
26
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
27
26
|
readonly onClear?: ((ev?: Event | undefined) => any) | undefined;
|
28
27
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
29
28
|
readonly onSearch?: ((value: string) => any) | undefined;
|
30
29
|
readonly onSelect?: ((value: string) => any) | undefined;
|
31
30
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
31
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
32
32
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
33
33
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
34
34
|
readonly "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -81,12 +81,12 @@ declare function __VLS_template(): {
|
|
81
81
|
readonly hotkeys?: boolean | undefined;
|
82
82
|
readonly showEmpty?: boolean | undefined;
|
83
83
|
readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
84
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
85
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
86
84
|
readonly onClear?: (() => any) | undefined;
|
87
85
|
readonly onSearch?: ((value: string) => any) | undefined;
|
88
86
|
readonly onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
89
87
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
88
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
89
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
90
90
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
91
91
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
92
92
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -359,10 +359,10 @@ declare function __VLS_template(): {
|
|
359
359
|
readonly tagNowrap?: boolean | undefined;
|
360
360
|
readonly fieldNames?: Record<string, string> | undefined;
|
361
361
|
readonly allowCreate?: boolean | undefined;
|
362
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
363
362
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
364
363
|
readonly onInput?: ((value: string) => any) | undefined;
|
365
364
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
365
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
366
366
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
367
367
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
368
368
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -384,13 +384,13 @@ declare function __VLS_template(): {
|
|
384
384
|
$root: import('vue').ComponentPublicInstance | null;
|
385
385
|
$parent: import('vue').ComponentPublicInstance | null;
|
386
386
|
$host: Element | null;
|
387
|
-
$emit: ((event: "
|
387
|
+
$emit: ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
388
388
|
$el: HTMLDivElement;
|
389
389
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
390
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
391
390
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
392
391
|
onInput?: ((value: string) => any) | undefined;
|
393
392
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
393
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
394
394
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
395
395
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
396
396
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -400,10 +400,10 @@ declare function __VLS_template(): {
|
|
400
400
|
focus(): void;
|
401
401
|
blur(): void;
|
402
402
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
403
|
-
focus: (ev: FocusEvent) => any;
|
404
403
|
clear: (ev: MouseEvent) => any;
|
405
404
|
input: (value: string) => any;
|
406
405
|
blur: (ev: FocusEvent) => any;
|
406
|
+
focus: (ev: FocusEvent) => any;
|
407
407
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
408
408
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
409
409
|
"update:inputValue": (value: string) => any;
|
@@ -464,16 +464,16 @@ declare function __VLS_template(): {
|
|
464
464
|
retainInputValue: import('..').InputRetainValue;
|
465
465
|
uniqueValue: boolean;
|
466
466
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
467
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
468
467
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
469
468
|
onInput?: ((value: string) => any) | undefined;
|
470
469
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
470
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
471
471
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
472
472
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
473
473
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
474
474
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
475
475
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
476
|
-
}>, "
|
476
|
+
}>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
477
477
|
focus(): void;
|
478
478
|
blur(): void;
|
479
479
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -486,16 +486,16 @@ declare function __VLS_template(): {
|
|
486
486
|
$root: import('vue').ComponentPublicInstance | null;
|
487
487
|
$parent: import('vue').ComponentPublicInstance | null;
|
488
488
|
$host: Element | null;
|
489
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "
|
489
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: SelectOptionValue) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
490
490
|
$el: any;
|
491
491
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
492
492
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
493
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
494
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
495
493
|
onClear?: (() => any) | undefined;
|
496
494
|
onSearch?: ((value: string) => any) | undefined;
|
497
495
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
498
496
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
497
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
498
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
499
499
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
500
500
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
501
501
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -508,12 +508,12 @@ declare function __VLS_template(): {
|
|
508
508
|
getPopupRef(): import('..').TriggerInstance;
|
509
509
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
510
510
|
change: (value: import('../Select').SelectValue) => any;
|
511
|
-
"update:popupVisible": (value: boolean) => any;
|
512
|
-
"popup-visible-change": (value: boolean) => any;
|
513
511
|
clear: () => any;
|
514
512
|
search: (value: string) => any;
|
515
513
|
select: (value: SelectOptionValue) => any;
|
516
514
|
remove: (index: string | number, ev: Event) => any;
|
515
|
+
"update:popupVisible": (value: boolean) => any;
|
516
|
+
"popup-visible-change": (value: boolean) => any;
|
517
517
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
518
518
|
"update:inputValue": (value: string) => any;
|
519
519
|
"input-value-change": (value: string) => any;
|
@@ -608,19 +608,19 @@ declare function __VLS_template(): {
|
|
608
608
|
tagNowrap: boolean;
|
609
609
|
}> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
|
610
610
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
611
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
612
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
613
611
|
onClear?: (() => any) | undefined;
|
614
612
|
onSearch?: ((value: string) => any) | undefined;
|
615
613
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
616
614
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
615
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
616
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
617
617
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
618
618
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
619
619
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
620
620
|
onExceedLimit?: ((value: SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
621
621
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
622
622
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
623
|
-
}>, "
|
623
|
+
}>, "blur" | "focus" | ("size" | "error" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
624
624
|
focus(): void;
|
625
625
|
blur(): void;
|
626
626
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -629,10 +629,10 @@ declare function __VLS_template(): {
|
|
629
629
|
}) | null;
|
630
630
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
631
631
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
632
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
633
632
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
634
633
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
635
634
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
635
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
636
636
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
637
637
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
638
638
|
}>, {
|
@@ -642,10 +642,10 @@ declare function __VLS_template(): {
|
|
642
642
|
getMirrorRef(): HTMLDivElement;
|
643
643
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
644
644
|
change: (value: string, ev: Event) => any;
|
645
|
-
focus: (ev: FocusEvent) => any;
|
646
645
|
clear: (ev: MouseEvent) => any;
|
647
646
|
input: (value: string, ev: Event) => any;
|
648
647
|
blur: (ev: FocusEvent) => any;
|
648
|
+
focus: (ev: FocusEvent) => any;
|
649
649
|
keydown: (ev: KeyboardEvent) => any;
|
650
650
|
"update:modelValue": (value: string) => any;
|
651
651
|
}, import('vue').PublicProps, {
|
@@ -675,10 +675,10 @@ declare function __VLS_template(): {
|
|
675
675
|
Defaults: {};
|
676
676
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
677
677
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
678
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
679
678
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
680
679
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
681
680
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
681
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
682
682
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
683
683
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
684
684
|
}>, {
|
@@ -709,16 +709,16 @@ declare function __VLS_template(): {
|
|
709
709
|
$root: import('vue').ComponentPublicInstance | null;
|
710
710
|
$parent: import('vue').ComponentPublicInstance | null;
|
711
711
|
$host: Element | null;
|
712
|
-
$emit: ((event: "change", value: string) => void) & ((event: "
|
712
|
+
$emit: ((event: "change", value: string) => void) & ((event: "clear", ev?: Event | undefined) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "search", value: string) => void) & ((event: "select", value: string) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "dropdown-scroll", ev?: Event | undefined) => void) & ((event: "dropdown-reach-bottom", ev?: Event | undefined) => void);
|
713
713
|
$el: any;
|
714
714
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
715
715
|
onChange?: ((value: string) => any) | undefined;
|
716
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
717
716
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
718
717
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
719
718
|
onSearch?: ((value: string) => any) | undefined;
|
720
719
|
onSelect?: ((value: string) => any) | undefined;
|
721
720
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
721
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
722
722
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
723
723
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
724
724
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -731,12 +731,12 @@ declare function __VLS_template(): {
|
|
731
731
|
updatePosition(x: number, y: number): void;
|
732
732
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
733
733
|
change: (value: string) => any;
|
734
|
-
focus: (ev: FocusEvent) => any;
|
735
734
|
clear: (ev?: Event | undefined) => any;
|
736
735
|
input: (value: string, ev: Event) => any;
|
737
736
|
search: (value: string) => any;
|
738
737
|
select: (value: string) => any;
|
739
738
|
blur: (ev: FocusEvent) => any;
|
739
|
+
focus: (ev: FocusEvent) => any;
|
740
740
|
keydown: (ev: KeyboardEvent) => any;
|
741
741
|
"update:modelValue": (value: string) => any;
|
742
742
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
@@ -789,17 +789,17 @@ declare function __VLS_template(): {
|
|
789
789
|
isSearch: boolean;
|
790
790
|
}> & Omit<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
791
791
|
onChange?: ((value: string) => any) | undefined;
|
792
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
793
792
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
794
793
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
795
794
|
onSearch?: ((value: string) => any) | undefined;
|
796
795
|
onSelect?: ((value: string) => any) | undefined;
|
797
796
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
797
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
798
798
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
799
799
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
800
800
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
801
801
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
802
|
-
}>, "
|
802
|
+
}>, "blur" | "focus" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("type" | "data" | "popupContainer" | "disabled" | "strict" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
|
803
803
|
focus(): void;
|
804
804
|
blur(): void;
|
805
805
|
getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
|
@@ -817,21 +817,21 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
817
817
|
blur(): void;
|
818
818
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
819
819
|
change: (value: string) => any;
|
820
|
-
focus: (ev: FocusEvent) => any;
|
821
820
|
clear: (ev: MouseEvent) => any;
|
822
821
|
input: (value: string, ev: Event) => any;
|
823
822
|
search: (value: string) => any;
|
824
823
|
select: (value: SelectOptionValue) => any;
|
825
824
|
blur: (ev: FocusEvent) => any;
|
825
|
+
focus: (ev: FocusEvent) => any;
|
826
826
|
"update:modelValue": (value: string) => any;
|
827
827
|
}, string, import('vue').PublicProps, Readonly<MentionProps> & Readonly<{
|
828
828
|
onChange?: ((value: string) => any) | undefined;
|
829
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
830
829
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
831
830
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
832
831
|
onSearch?: ((value: string) => any) | undefined;
|
833
832
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
834
833
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
834
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
835
835
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
836
836
|
}>, {
|
837
837
|
type: import('./type').MentionType;
|
@@ -861,12 +861,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
861
861
|
readonly isSearch?: boolean | undefined;
|
862
862
|
readonly type?: "textarea" | "input" | undefined;
|
863
863
|
readonly onChange?: ((value: string) => any) | undefined;
|
864
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
865
864
|
readonly onClear?: ((ev?: Event | undefined) => any) | undefined;
|
866
865
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
867
866
|
readonly onSearch?: ((value: string) => any) | undefined;
|
868
867
|
readonly onSelect?: ((value: string) => any) | undefined;
|
869
868
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
869
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
870
870
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
871
871
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
872
872
|
readonly "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -919,12 +919,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
919
919
|
readonly hotkeys?: boolean | undefined;
|
920
920
|
readonly showEmpty?: boolean | undefined;
|
921
921
|
readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
922
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
923
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
924
922
|
readonly onClear?: (() => any) | undefined;
|
925
923
|
readonly onSearch?: ((value: string) => any) | undefined;
|
926
924
|
readonly onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
927
925
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
926
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
927
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
928
928
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
929
929
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
930
930
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1197,10 +1197,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1197
1197
|
readonly tagNowrap?: boolean | undefined;
|
1198
1198
|
readonly fieldNames?: Record<string, string> | undefined;
|
1199
1199
|
readonly allowCreate?: boolean | undefined;
|
1200
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1201
1200
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
1202
1201
|
readonly onInput?: ((value: string) => any) | undefined;
|
1203
1202
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1203
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1204
1204
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1205
1205
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1206
1206
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -1222,13 +1222,13 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1222
1222
|
$root: import('vue').ComponentPublicInstance | null;
|
1223
1223
|
$parent: import('vue').ComponentPublicInstance | null;
|
1224
1224
|
$host: Element | null;
|
1225
|
-
$emit: ((event: "
|
1225
|
+
$emit: ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
1226
1226
|
$el: HTMLDivElement;
|
1227
1227
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
1228
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1229
1228
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1230
1229
|
onInput?: ((value: string) => any) | undefined;
|
1231
1230
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1231
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1232
1232
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1233
1233
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1234
1234
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -1238,10 +1238,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1238
1238
|
focus(): void;
|
1239
1239
|
blur(): void;
|
1240
1240
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1241
|
-
focus: (ev: FocusEvent) => any;
|
1242
1241
|
clear: (ev: MouseEvent) => any;
|
1243
1242
|
input: (value: string) => any;
|
1244
1243
|
blur: (ev: FocusEvent) => any;
|
1244
|
+
focus: (ev: FocusEvent) => any;
|
1245
1245
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1246
1246
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
1247
1247
|
"update:inputValue": (value: string) => any;
|
@@ -1302,16 +1302,16 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1302
1302
|
retainInputValue: import('..').InputRetainValue;
|
1303
1303
|
uniqueValue: boolean;
|
1304
1304
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
1305
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1306
1305
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1307
1306
|
onInput?: ((value: string) => any) | undefined;
|
1308
1307
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1308
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1309
1309
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1310
1310
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1311
1311
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1312
1312
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
1313
1313
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
1314
|
-
}>, "
|
1314
|
+
}>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
1315
1315
|
focus(): void;
|
1316
1316
|
blur(): void;
|
1317
1317
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -1324,16 +1324,16 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1324
1324
|
$root: import('vue').ComponentPublicInstance | null;
|
1325
1325
|
$parent: import('vue').ComponentPublicInstance | null;
|
1326
1326
|
$host: Element | null;
|
1327
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "
|
1327
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: SelectOptionValue) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
1328
1328
|
$el: any;
|
1329
1329
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
1330
1330
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1331
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1332
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1333
1331
|
onClear?: (() => any) | undefined;
|
1334
1332
|
onSearch?: ((value: string) => any) | undefined;
|
1335
1333
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
1336
1334
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1335
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1336
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1337
1337
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1338
1338
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1339
1339
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1346,12 +1346,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1346
1346
|
getPopupRef(): import('..').TriggerInstance;
|
1347
1347
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1348
1348
|
change: (value: import('../Select').SelectValue) => any;
|
1349
|
-
"update:popupVisible": (value: boolean) => any;
|
1350
|
-
"popup-visible-change": (value: boolean) => any;
|
1351
1349
|
clear: () => any;
|
1352
1350
|
search: (value: string) => any;
|
1353
1351
|
select: (value: SelectOptionValue) => any;
|
1354
1352
|
remove: (index: string | number, ev: Event) => any;
|
1353
|
+
"update:popupVisible": (value: boolean) => any;
|
1354
|
+
"popup-visible-change": (value: boolean) => any;
|
1355
1355
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
1356
1356
|
"update:inputValue": (value: string) => any;
|
1357
1357
|
"input-value-change": (value: string) => any;
|
@@ -1446,19 +1446,19 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1446
1446
|
tagNowrap: boolean;
|
1447
1447
|
}> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
|
1448
1448
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1449
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1450
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1451
1449
|
onClear?: (() => any) | undefined;
|
1452
1450
|
onSearch?: ((value: string) => any) | undefined;
|
1453
1451
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
1454
1452
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1453
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1454
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1455
1455
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1456
1456
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1457
1457
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
1458
1458
|
onExceedLimit?: ((value: SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1459
1459
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1460
1460
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1461
|
-
}>, "
|
1461
|
+
}>, "blur" | "focus" | ("size" | "error" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
1462
1462
|
focus(): void;
|
1463
1463
|
blur(): void;
|
1464
1464
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -1467,10 +1467,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1467
1467
|
}) | null;
|
1468
1468
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
1469
1469
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
1470
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1471
1470
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1472
1471
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1473
1472
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1473
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1474
1474
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1475
1475
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1476
1476
|
}>, {
|
@@ -1480,10 +1480,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1480
1480
|
getMirrorRef(): HTMLDivElement;
|
1481
1481
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1482
1482
|
change: (value: string, ev: Event) => any;
|
1483
|
-
focus: (ev: FocusEvent) => any;
|
1484
1483
|
clear: (ev: MouseEvent) => any;
|
1485
1484
|
input: (value: string, ev: Event) => any;
|
1486
1485
|
blur: (ev: FocusEvent) => any;
|
1486
|
+
focus: (ev: FocusEvent) => any;
|
1487
1487
|
keydown: (ev: KeyboardEvent) => any;
|
1488
1488
|
"update:modelValue": (value: string) => any;
|
1489
1489
|
}, import('vue').PublicProps, {
|
@@ -1513,10 +1513,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1513
1513
|
Defaults: {};
|
1514
1514
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
1515
1515
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
1516
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1517
1516
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1518
1517
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1519
1518
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1519
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1520
1520
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1521
1521
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1522
1522
|
}>, {
|
@@ -1547,16 +1547,16 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1547
1547
|
$root: import('vue').ComponentPublicInstance | null;
|
1548
1548
|
$parent: import('vue').ComponentPublicInstance | null;
|
1549
1549
|
$host: Element | null;
|
1550
|
-
$emit: ((event: "change", value: string) => void) & ((event: "
|
1550
|
+
$emit: ((event: "change", value: string) => void) & ((event: "clear", ev?: Event | undefined) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "search", value: string) => void) & ((event: "select", value: string) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "dropdown-scroll", ev?: Event | undefined) => void) & ((event: "dropdown-reach-bottom", ev?: Event | undefined) => void);
|
1551
1551
|
$el: any;
|
1552
1552
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
1553
1553
|
onChange?: ((value: string) => any) | undefined;
|
1554
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1555
1554
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
1556
1555
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1557
1556
|
onSearch?: ((value: string) => any) | undefined;
|
1558
1557
|
onSelect?: ((value: string) => any) | undefined;
|
1559
1558
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1559
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1560
1560
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1561
1561
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1562
1562
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -1569,12 +1569,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1569
1569
|
updatePosition(x: number, y: number): void;
|
1570
1570
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1571
1571
|
change: (value: string) => any;
|
1572
|
-
focus: (ev: FocusEvent) => any;
|
1573
1572
|
clear: (ev?: Event | undefined) => any;
|
1574
1573
|
input: (value: string, ev: Event) => any;
|
1575
1574
|
search: (value: string) => any;
|
1576
1575
|
select: (value: string) => any;
|
1577
1576
|
blur: (ev: FocusEvent) => any;
|
1577
|
+
focus: (ev: FocusEvent) => any;
|
1578
1578
|
keydown: (ev: KeyboardEvent) => any;
|
1579
1579
|
"update:modelValue": (value: string) => any;
|
1580
1580
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
@@ -1627,17 +1627,17 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1627
1627
|
isSearch: boolean;
|
1628
1628
|
}> & Omit<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
1629
1629
|
onChange?: ((value: string) => any) | undefined;
|
1630
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1631
1630
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
1632
1631
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1633
1632
|
onSearch?: ((value: string) => any) | undefined;
|
1634
1633
|
onSelect?: ((value: string) => any) | undefined;
|
1635
1634
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1635
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1636
1636
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1637
1637
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1638
1638
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
1639
1639
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
1640
|
-
}>, "
|
1640
|
+
}>, "blur" | "focus" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("type" | "data" | "popupContainer" | "disabled" | "strict" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
|
1641
1641
|
focus(): void;
|
1642
1642
|
blur(): void;
|
1643
1643
|
getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
|
package/es/Menu/MenuItem.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, useAttrs, computed, ref, onMounted, createElementBlock, createCommentVNode, unref, openBlock, normalizeClass, createVNode, createBlock, withCtx, createElementVNode, withDirectives, normalizeStyle, renderSlot, vShow, Fragment, renderList, resolveDynamicComponent } from "vue";
|
2
|
-
import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
|
3
2
|
import { isUndefined } from "../_shared/utils/is.js";
|
4
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
|
+
import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
|
5
5
|
import useMenuContext, { isMenuItemActive, getPopupMaxHeight } from "./hooks/useContext.js";
|
6
6
|
import _sfc_main$1 from "./MenuPopOption.vue.js";
|
7
7
|
import Dropdown from "../Dropdown/index.js";
|
@@ -37,7 +37,7 @@ export declare function FlattenMenuTree(vnodes: VNode[], componentName: string[]
|
|
37
37
|
export declare function buildMenuTree(flatData: MenuTreeNode[]): MenuTreeNode[];
|
38
38
|
export declare function isMenuItemActive(menuTree: MenuTreeNode[], currentPath: string, activePath: string): boolean;
|
39
39
|
export declare const getPopupMaxHeight: (popupMaxHeight: PopupMaxHeight) => number | undefined;
|
40
|
-
|
40
|
+
export default function useMenuContext(): {
|
41
41
|
provide: (props: RecordType, emits: MenuEmits, menuRef: Ref<HTMLDivElement | undefined>) => {
|
42
42
|
theme: import('vue').ComputedRef<import('../../_shared/type').Theme>;
|
43
43
|
computedCollapsed: import('vue').WritableComputedRef<boolean, boolean>;
|
@@ -48,4 +48,4 @@ declare const _default: () => {
|
|
48
48
|
};
|
49
49
|
inject: () => MenuContext;
|
50
50
|
};
|
51
|
-
export
|
51
|
+
export {};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { toRefs, computed, useSlots, ref, provide, inject, isVNode } from "vue";
|
2
2
|
import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
3
|
-
import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
|
4
3
|
import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
|
5
4
|
import { throttle, valueToPx } from "../../_shared/utils/dom.js";
|
5
|
+
import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
|
6
6
|
import { useControlValue } from "../../_shared/utils/control.js";
|
7
7
|
import "../index.js";
|
8
|
-
import
|
8
|
+
import useLayoutContext from "../../Layout/hooks/useSiderContext.js";
|
9
9
|
import _sfc_main from "../SubMenu.vue.js";
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../MenuItem.vue.js";
|
@@ -112,7 +112,7 @@ const getPopupMaxHeight = (popupMaxHeight) => {
|
|
112
112
|
return popupMaxHeight;
|
113
113
|
}
|
114
114
|
};
|
115
|
-
|
115
|
+
function useMenuContext() {
|
116
116
|
const provide$1 = (props, emits, menuRef) => {
|
117
117
|
const {
|
118
118
|
selectedKeys,
|
@@ -135,7 +135,7 @@ const useMenuContext = () => {
|
|
135
135
|
theme: _theme,
|
136
136
|
popupMaxHeight: _popupMaxHeight
|
137
137
|
} = toRefs(props);
|
138
|
-
const { theme: siderTheme, collapsed: injectCollapsed } =
|
138
|
+
const { theme: siderTheme, collapsed: injectCollapsed } = useLayoutContext().inject();
|
139
139
|
const computedSelectedKeys = useControlValue(
|
140
140
|
selectedKeys,
|
141
141
|
defaultSelectedKeys.value,
|
@@ -258,7 +258,7 @@ const useMenuContext = () => {
|
|
258
258
|
provide: provide$1,
|
259
259
|
inject: inject$1
|
260
260
|
};
|
261
|
-
}
|
261
|
+
}
|
262
262
|
export {
|
263
263
|
FlattenMenuTree,
|
264
264
|
buildMenuTree,
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import { unrefElement, useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
3
|
-
import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
|
4
2
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
3
|
+
import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
|
5
4
|
import Tag from "../Tag/index.js";
|
5
|
+
import { unrefElement, useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
7
|
...{
|
8
8
|
name: "OverflowList"
|
@@ -2,7 +2,7 @@ import { defineComponent, useSlots, ref, watch, createElementBlock, createCommen
|
|
2
2
|
import { isNumber } from "../_shared/utils/is.js";
|
3
3
|
import { sleep } from "../_shared/utils/dom.js";
|
4
4
|
import { useI18n } from "../_shared/utils/locale.js";
|
5
|
-
import
|
5
|
+
import usePaginationContext from "./hooks/useContext.js";
|
6
6
|
import _sfc_main$1 from "./PaginationItem.vue.js";
|
7
7
|
/* empty css */
|
8
8
|
import Select from "../Select/index.js";
|
@@ -71,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
71
|
size,
|
72
72
|
total,
|
73
73
|
sizeOptions
|
74
|
-
} =
|
74
|
+
} = usePaginationContext().provide(props, emits);
|
75
75
|
const { t } = useI18n();
|
76
76
|
const tempCurrent = ref(computedCurrent.value);
|
77
77
|
watch(
|