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
@@ -46,12 +46,12 @@ declare function __VLS_template(): {
|
|
46
46
|
readonly hotkeys?: boolean | undefined;
|
47
47
|
readonly showEmpty?: boolean | undefined;
|
48
48
|
readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
49
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
50
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
51
49
|
readonly onClear?: (() => any) | undefined;
|
52
50
|
readonly onSearch?: ((value: string) => any) | undefined;
|
53
51
|
readonly onSelect?: ((value: import('../Select').SelectOptionValue) => any) | undefined;
|
54
52
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
53
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
54
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
55
55
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
56
56
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
57
57
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -324,10 +324,10 @@ declare function __VLS_template(): {
|
|
324
324
|
readonly tagNowrap?: boolean | undefined;
|
325
325
|
readonly fieldNames?: Record<string, string> | undefined;
|
326
326
|
readonly allowCreate?: boolean | undefined;
|
327
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
328
327
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
329
328
|
readonly onInput?: ((value: string) => any) | undefined;
|
330
329
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
330
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
331
331
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
332
332
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
333
333
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -349,13 +349,13 @@ declare function __VLS_template(): {
|
|
349
349
|
$root: import('vue').ComponentPublicInstance | null;
|
350
350
|
$parent: import('vue').ComponentPublicInstance | null;
|
351
351
|
$host: Element | null;
|
352
|
-
$emit: ((event: "
|
352
|
+
$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);
|
353
353
|
$el: HTMLDivElement;
|
354
354
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
355
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
356
355
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
357
356
|
onInput?: ((value: string) => any) | undefined;
|
358
357
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
358
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
359
359
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
360
360
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
361
361
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -365,10 +365,10 @@ declare function __VLS_template(): {
|
|
365
365
|
focus(): void;
|
366
366
|
blur(): void;
|
367
367
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
368
|
-
focus: (ev: FocusEvent) => any;
|
369
368
|
clear: (ev: MouseEvent) => any;
|
370
369
|
input: (value: string) => any;
|
371
370
|
blur: (ev: FocusEvent) => any;
|
371
|
+
focus: (ev: FocusEvent) => any;
|
372
372
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
373
373
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
374
374
|
"update:inputValue": (value: string) => any;
|
@@ -429,16 +429,16 @@ declare function __VLS_template(): {
|
|
429
429
|
retainInputValue: import('..').InputRetainValue;
|
430
430
|
uniqueValue: boolean;
|
431
431
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
432
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
433
432
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
434
433
|
onInput?: ((value: string) => any) | undefined;
|
435
434
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
435
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
436
436
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
437
437
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
438
438
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
439
439
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
440
440
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
441
|
-
}>, "
|
441
|
+
}>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
442
442
|
focus(): void;
|
443
443
|
blur(): void;
|
444
444
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -451,16 +451,16 @@ declare function __VLS_template(): {
|
|
451
451
|
$root: import('vue').ComponentPublicInstance | null;
|
452
452
|
$parent: import('vue').ComponentPublicInstance | null;
|
453
453
|
$host: Element | null;
|
454
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "
|
454
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: import('../Select').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: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
455
455
|
$el: any;
|
456
456
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
457
457
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
458
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
459
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
460
458
|
onClear?: (() => any) | undefined;
|
461
459
|
onSearch?: ((value: string) => any) | undefined;
|
462
460
|
onSelect?: ((value: import('../Select').SelectOptionValue) => any) | undefined;
|
463
461
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
462
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
463
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
464
464
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
465
465
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
466
466
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -473,12 +473,12 @@ declare function __VLS_template(): {
|
|
473
473
|
getPopupRef(): import('..').TriggerInstance;
|
474
474
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
475
475
|
change: (value: import('../Select').SelectValue) => any;
|
476
|
-
"update:popupVisible": (value: boolean) => any;
|
477
|
-
"popup-visible-change": (value: boolean) => any;
|
478
476
|
clear: () => any;
|
479
477
|
search: (value: string) => any;
|
480
478
|
select: (value: import('../Select').SelectOptionValue) => any;
|
481
479
|
remove: (index: string | number, ev: Event) => any;
|
480
|
+
"update:popupVisible": (value: boolean) => any;
|
481
|
+
"popup-visible-change": (value: boolean) => any;
|
482
482
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
483
483
|
"update:inputValue": (value: string) => any;
|
484
484
|
"input-value-change": (value: string) => any;
|
@@ -573,19 +573,19 @@ declare function __VLS_template(): {
|
|
573
573
|
tagNowrap: boolean;
|
574
574
|
}> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
|
575
575
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
576
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
577
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
578
576
|
onClear?: (() => any) | undefined;
|
579
577
|
onSearch?: ((value: string) => any) | undefined;
|
580
578
|
onSelect?: ((value: import('../Select').SelectOptionValue) => any) | undefined;
|
581
579
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
580
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
581
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
582
582
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
583
583
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
584
584
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
585
585
|
onExceedLimit?: ((value: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
586
586
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
587
587
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
588
|
-
}>, "
|
588
|
+
}>, "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<{
|
589
589
|
focus(): void;
|
590
590
|
blur(): void;
|
591
591
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -594,10 +594,10 @@ declare function __VLS_template(): {
|
|
594
594
|
}) | null;
|
595
595
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Textarea').TextareaProps> & Readonly<{
|
596
596
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
597
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
598
597
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
599
598
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
600
599
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
600
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
601
601
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
602
602
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
603
603
|
}>, {
|
@@ -607,10 +607,10 @@ declare function __VLS_template(): {
|
|
607
607
|
getMirrorRef(): HTMLDivElement;
|
608
608
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
609
609
|
change: (value: string, ev: Event) => any;
|
610
|
-
focus: (ev: FocusEvent) => any;
|
611
610
|
clear: (ev: MouseEvent) => any;
|
612
611
|
input: (value: string, ev: Event) => any;
|
613
612
|
blur: (ev: FocusEvent) => any;
|
613
|
+
focus: (ev: FocusEvent) => any;
|
614
614
|
keydown: (ev: KeyboardEvent) => any;
|
615
615
|
"update:modelValue": (value: string) => any;
|
616
616
|
}, import('vue').PublicProps, {
|
@@ -640,10 +640,10 @@ declare function __VLS_template(): {
|
|
640
640
|
Defaults: {};
|
641
641
|
}, Readonly<import('../Textarea').TextareaProps> & Readonly<{
|
642
642
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
643
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
644
643
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
645
644
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
646
645
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
646
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
647
647
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
648
648
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
649
649
|
}>, {
|
@@ -679,24 +679,24 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
679
679
|
updatePosition(x: number, y: number): void;
|
680
680
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
681
681
|
change: (value: string) => any;
|
682
|
-
focus: (ev: FocusEvent) => any;
|
683
682
|
clear: (ev?: Event | undefined) => any;
|
684
683
|
input: (value: string, ev: Event) => any;
|
685
684
|
search: (value: string) => any;
|
686
685
|
select: (value: string) => any;
|
687
686
|
blur: (ev: FocusEvent) => any;
|
687
|
+
focus: (ev: FocusEvent) => any;
|
688
688
|
keydown: (ev: KeyboardEvent) => any;
|
689
689
|
"update:modelValue": (value: string) => any;
|
690
690
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
691
691
|
"dropdown-reach-bottom": (ev?: Event | undefined) => any;
|
692
692
|
}, string, import('vue').PublicProps, Readonly<AutoCompleteProps> & Readonly<{
|
693
693
|
onChange?: ((value: string) => any) | undefined;
|
694
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
695
694
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
696
695
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
697
696
|
onSearch?: ((value: string) => any) | undefined;
|
698
697
|
onSelect?: ((value: string) => any) | undefined;
|
699
698
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
699
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
700
700
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
701
701
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
702
702
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -756,12 +756,12 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
756
756
|
readonly hotkeys?: boolean | undefined;
|
757
757
|
readonly showEmpty?: boolean | undefined;
|
758
758
|
readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
759
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
760
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
761
759
|
readonly onClear?: (() => any) | undefined;
|
762
760
|
readonly onSearch?: ((value: string) => any) | undefined;
|
763
761
|
readonly onSelect?: ((value: import('../Select').SelectOptionValue) => any) | undefined;
|
764
762
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
763
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
764
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
765
765
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
766
766
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
767
767
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1034,10 +1034,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1034
1034
|
readonly tagNowrap?: boolean | undefined;
|
1035
1035
|
readonly fieldNames?: Record<string, string> | undefined;
|
1036
1036
|
readonly allowCreate?: boolean | undefined;
|
1037
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1038
1037
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
1039
1038
|
readonly onInput?: ((value: string) => any) | undefined;
|
1040
1039
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1040
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1041
1041
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1042
1042
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1043
1043
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -1059,13 +1059,13 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1059
1059
|
$root: import('vue').ComponentPublicInstance | null;
|
1060
1060
|
$parent: import('vue').ComponentPublicInstance | null;
|
1061
1061
|
$host: Element | null;
|
1062
|
-
$emit: ((event: "
|
1062
|
+
$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);
|
1063
1063
|
$el: HTMLDivElement;
|
1064
1064
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
1065
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1066
1065
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1067
1066
|
onInput?: ((value: string) => any) | undefined;
|
1068
1067
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1068
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1069
1069
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1070
1070
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1071
1071
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -1075,10 +1075,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1075
1075
|
focus(): void;
|
1076
1076
|
blur(): void;
|
1077
1077
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1078
|
-
focus: (ev: FocusEvent) => any;
|
1079
1078
|
clear: (ev: MouseEvent) => any;
|
1080
1079
|
input: (value: string) => any;
|
1081
1080
|
blur: (ev: FocusEvent) => any;
|
1081
|
+
focus: (ev: FocusEvent) => any;
|
1082
1082
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1083
1083
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
1084
1084
|
"update:inputValue": (value: string) => any;
|
@@ -1139,16 +1139,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1139
1139
|
retainInputValue: import('..').InputRetainValue;
|
1140
1140
|
uniqueValue: boolean;
|
1141
1141
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
1142
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1143
1142
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1144
1143
|
onInput?: ((value: string) => any) | undefined;
|
1145
1144
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1145
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1146
1146
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1147
1147
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1148
1148
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1149
1149
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
1150
1150
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
1151
|
-
}>, "
|
1151
|
+
}>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
1152
1152
|
focus(): void;
|
1153
1153
|
blur(): void;
|
1154
1154
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -1161,16 +1161,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1161
1161
|
$root: import('vue').ComponentPublicInstance | null;
|
1162
1162
|
$parent: import('vue').ComponentPublicInstance | null;
|
1163
1163
|
$host: Element | null;
|
1164
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "
|
1164
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: import('../Select').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: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
1165
1165
|
$el: any;
|
1166
1166
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
1167
1167
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1168
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1169
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1170
1168
|
onClear?: (() => any) | undefined;
|
1171
1169
|
onSearch?: ((value: string) => any) | undefined;
|
1172
1170
|
onSelect?: ((value: import('../Select').SelectOptionValue) => any) | undefined;
|
1173
1171
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1172
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1173
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1174
1174
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1175
1175
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1176
1176
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1183,12 +1183,12 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1183
1183
|
getPopupRef(): import('..').TriggerInstance;
|
1184
1184
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1185
1185
|
change: (value: import('../Select').SelectValue) => any;
|
1186
|
-
"update:popupVisible": (value: boolean) => any;
|
1187
|
-
"popup-visible-change": (value: boolean) => any;
|
1188
1186
|
clear: () => any;
|
1189
1187
|
search: (value: string) => any;
|
1190
1188
|
select: (value: import('../Select').SelectOptionValue) => any;
|
1191
1189
|
remove: (index: string | number, ev: Event) => any;
|
1190
|
+
"update:popupVisible": (value: boolean) => any;
|
1191
|
+
"popup-visible-change": (value: boolean) => any;
|
1192
1192
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
1193
1193
|
"update:inputValue": (value: string) => any;
|
1194
1194
|
"input-value-change": (value: string) => any;
|
@@ -1283,19 +1283,19 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1283
1283
|
tagNowrap: boolean;
|
1284
1284
|
}> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
|
1285
1285
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1286
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1287
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1288
1286
|
onClear?: (() => any) | undefined;
|
1289
1287
|
onSearch?: ((value: string) => any) | undefined;
|
1290
1288
|
onSelect?: ((value: import('../Select').SelectOptionValue) => any) | undefined;
|
1291
1289
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1290
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1291
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1292
1292
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1293
1293
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1294
1294
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
1295
1295
|
onExceedLimit?: ((value: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1296
1296
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1297
1297
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1298
|
-
}>, "
|
1298
|
+
}>, "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<{
|
1299
1299
|
focus(): void;
|
1300
1300
|
blur(): void;
|
1301
1301
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -1304,10 +1304,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1304
1304
|
}) | null;
|
1305
1305
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Textarea').TextareaProps> & Readonly<{
|
1306
1306
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
1307
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1308
1307
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1309
1308
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1310
1309
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1310
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1311
1311
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1312
1312
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1313
1313
|
}>, {
|
@@ -1317,10 +1317,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1317
1317
|
getMirrorRef(): HTMLDivElement;
|
1318
1318
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1319
1319
|
change: (value: string, ev: Event) => any;
|
1320
|
-
focus: (ev: FocusEvent) => any;
|
1321
1320
|
clear: (ev: MouseEvent) => any;
|
1322
1321
|
input: (value: string, ev: Event) => any;
|
1323
1322
|
blur: (ev: FocusEvent) => any;
|
1323
|
+
focus: (ev: FocusEvent) => any;
|
1324
1324
|
keydown: (ev: KeyboardEvent) => any;
|
1325
1325
|
"update:modelValue": (value: string) => any;
|
1326
1326
|
}, import('vue').PublicProps, {
|
@@ -1350,10 +1350,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1350
1350
|
Defaults: {};
|
1351
1351
|
}, Readonly<import('../Textarea').TextareaProps> & Readonly<{
|
1352
1352
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
1353
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1354
1353
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1355
1354
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1356
1355
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1356
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1357
1357
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1358
1358
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1359
1359
|
}>, {
|
package/es/Avatar/Avatar.vue.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, renderSlot, createVNode } from "vue";
|
2
|
-
import { useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
3
2
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
3
|
/* empty css */
|
5
4
|
/* empty css */
|
6
5
|
/* empty css */
|
7
6
|
import _sfc_main$1 from "../_shared/icons/IconImageClose.vue.js";
|
8
|
-
import
|
7
|
+
import { useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
8
|
+
import useAvatarContext from "./hooks/useContext.js";
|
9
9
|
const _hoisted_1 = {
|
10
10
|
key: 1,
|
11
11
|
class: "yc-avatar-image"
|
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
36
|
const $slots = useSlots();
|
37
37
|
const props = __props;
|
38
38
|
const emits = __emit;
|
39
|
-
const { size, autoFixFontSize, shape } =
|
39
|
+
const { size, autoFixFontSize, shape } = useAvatarContext().inject(props);
|
40
40
|
const isLoadError = ref(false);
|
41
41
|
const scale = ref(1);
|
42
42
|
const textRef = ref();
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, createBlock, createCommentVNode, Fragment, renderList, resolveDynamicComponent, normalizeStyle, unref, withCtx, createVNode, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import { valueToPx } from "../_shared/utils/dom.js";
|
3
3
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
4
|
-
import
|
4
|
+
import useAvatarContext from "./hooks/useContext.js";
|
5
5
|
import Avatar from "./index.js";
|
6
6
|
import Popover from "../Popover/index.js";
|
7
7
|
const _hoisted_1 = { class: "yc-avatar-group" };
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
const $slots = useSlots();
|
28
28
|
const props = __props;
|
29
29
|
const { maxCount } = toRefs(props);
|
30
|
-
|
30
|
+
useAvatarContext().provide(props);
|
31
31
|
const nodes = computed(() => {
|
32
32
|
var _a;
|
33
33
|
const avatars = findComponentsFromVnodes(
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { RecordType } from '../../_shared/type';
|
2
|
-
|
2
|
+
export default function useAvatarContext(): {
|
3
3
|
provide: (props: RecordType) => void;
|
4
4
|
inject: (props: RecordType) => {
|
5
5
|
shape: import('vue').ComputedRef<any>;
|
@@ -7,4 +7,3 @@ declare const _default: () => {
|
|
7
7
|
autoFixFontSize: import('vue').ComputedRef<any>;
|
8
8
|
};
|
9
9
|
};
|
10
|
-
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { toRefs, provide, inject, ref, computed } from "vue";
|
2
2
|
const AVATAR_GROUP_CONTEXT_KEY = "radio-group-context";
|
3
|
-
|
3
|
+
function useAvatarContext() {
|
4
4
|
const provide$1 = (props) => {
|
5
5
|
const { shape, size, autoFixFontSize } = toRefs(props);
|
6
6
|
provide(AVATAR_GROUP_CONTEXT_KEY, {
|
@@ -36,7 +36,7 @@ const useContext = () => {
|
|
36
36
|
provide: provide$1,
|
37
37
|
inject: inject$1
|
38
38
|
};
|
39
|
-
}
|
39
|
+
}
|
40
40
|
export {
|
41
|
-
|
41
|
+
useAvatarContext as default
|
42
42
|
};
|
package/es/BackTop/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, renderSlot, createVNode, unref, vShow } from "vue";
|
2
|
-
import { useEventListener } from "../node_modules/@vueuse/core/index.js";
|
3
2
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import { findFirstScrollableParent, getElement } from "../_shared/utils/dom.js";
|
5
4
|
/* empty css */
|
@@ -7,6 +6,7 @@ import { findFirstScrollableParent, getElement } from "../_shared/utils/dom.js";
|
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$1 from "../_shared/icons/IconToTop.vue.js";
|
9
8
|
import { isUndefined } from "../_shared/utils/is.js";
|
9
|
+
import { useEventListener } from "../node_modules/@vueuse/core/index.js";
|
10
10
|
import Button from "../Button/index.js";
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
12
|
...{
|
@@ -3,7 +3,7 @@ import "../_shared/utils/dom.js";
|
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
6
|
-
import _sfc_main$1 from "../_shared/icons/IconSeparator.
|
6
|
+
import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
|
7
7
|
import { isUndefined } from "../_shared/utils/is.js";
|
8
8
|
const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Button/Button.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, mergeProps, createCommentVNode, renderSlot, unref, createBlock } from "vue";
|
2
|
-
import
|
2
|
+
import useButtonContext from "./hooks/useContext.js";
|
3
3
|
import Spin from "../Spin/index.js";
|
4
4
|
const _hoisted_1 = ["href", "autofocus"];
|
5
5
|
const _hoisted_2 = {
|
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
41
|
shape: _shape,
|
42
42
|
long
|
43
43
|
} = toRefs(props);
|
44
|
-
const { size, disabled, type, status, shape } =
|
44
|
+
const { size, disabled, type, status, shape } = useButtonContext().inject(props);
|
45
45
|
const className = computed(() => {
|
46
46
|
return [
|
47
47
|
"yc-button",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue";
|
2
|
-
import
|
2
|
+
import useButtonContext from "./hooks/useContext.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
...{
|
5
5
|
name: "ButtonGroup"
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
},
|
15
15
|
setup(__props) {
|
16
16
|
const props = __props;
|
17
|
-
|
17
|
+
useButtonContext().provide(props);
|
18
18
|
return (_ctx, _cache) => {
|
19
19
|
return openBlock(), createElementBlock("div", {
|
20
20
|
class: normalizeClass([
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ButtonType, ButtonStatus } from '../type';
|
2
2
|
import { Size, Shape, RecordType } from '../../_shared/type';
|
3
|
-
|
3
|
+
export default function useButtonContext(): {
|
4
4
|
provide: (props: RecordType) => void;
|
5
5
|
inject: (props: RecordType) => {
|
6
6
|
disabled: import('vue').ComputedRef<boolean>;
|
@@ -10,4 +10,3 @@ declare const _default: () => {
|
|
10
10
|
size: import('vue').ComputedRef<Size>;
|
11
11
|
};
|
12
12
|
};
|
13
|
-
export default _default;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { toRefs, provide, inject, ref, computed } from "vue";
|
2
2
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
3
3
|
const BUTTON_GROUP_CONTEXT_KEY = "button-group-context";
|
4
|
-
|
4
|
+
function useButtonContext() {
|
5
5
|
const provide$1 = (props) => {
|
6
6
|
const { type, status, shape, disabled } = toRefs(props);
|
7
7
|
const { size } = getGlobalConfig(props);
|
@@ -44,7 +44,7 @@ const useContext = () => {
|
|
44
44
|
provide: provide$1,
|
45
45
|
inject: inject$1
|
46
46
|
};
|
47
|
-
}
|
47
|
+
}
|
48
48
|
export {
|
49
|
-
|
49
|
+
useButtonContext as default
|
50
50
|
};
|
package/es/Card/Card.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, useSlots, computed, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createBlock, withCtx } from "vue";
|
2
2
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
3
3
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
4
|
-
import
|
4
|
+
import useCardContext from "./hooks/useContext.js";
|
5
5
|
import Spin from "../Spin/index.js";
|
6
6
|
import _sfc_main$2 from "./CardGrid.vue.js";
|
7
7
|
/* empty css */
|
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
47
|
const $slots = useSlots();
|
48
48
|
const props = __props;
|
49
49
|
const { size } = getGlobalConfig(props);
|
50
|
-
|
50
|
+
useCardContext().provide();
|
51
51
|
const nodes = computed(() => {
|
52
52
|
var _a;
|
53
53
|
return ((_a = $slots.default) == null ? void 0 : _a.call($slots)) || [];
|
package/es/Card/CardMeta.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, useSlots, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createTextVNode, toDisplayString, unref, createBlock, resolveDynamicComponent } from "vue";
|
2
2
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
3
|
-
import
|
3
|
+
import useCardContext from "./hooks/useContext.js";
|
4
4
|
const _hoisted_1 = { class: "yc-card-meta" };
|
5
5
|
const _hoisted_2 = { class: "yc-card-meta-content" };
|
6
6
|
const _hoisted_3 = {
|
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
32
|
},
|
33
33
|
setup(__props) {
|
34
34
|
const $slots = useSlots();
|
35
|
-
const { slots: injectSlots } =
|
35
|
+
const { slots: injectSlots } = useCardContext().inject();
|
36
36
|
return (_ctx, _cache) => {
|
37
37
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
38
38
|
createElementVNode("div", _hoisted_2, [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useSlots, provide, inject } from "vue";
|
2
2
|
const CARD_CONTEXT_KEY = "card-context";
|
3
|
-
|
3
|
+
function useCardContext() {
|
4
4
|
const provide$1 = () => {
|
5
5
|
const slots = useSlots();
|
6
6
|
provide(CARD_CONTEXT_KEY, {
|
@@ -16,7 +16,7 @@ const useContext = () => {
|
|
16
16
|
provide: provide$1,
|
17
17
|
inject: inject$1
|
18
18
|
};
|
19
|
-
}
|
19
|
+
}
|
20
20
|
export {
|
21
|
-
|
21
|
+
useCardContext as default
|
22
22
|
};
|