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
@@ -1,4 +1,23 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import "../utils/dom.js";
|
3
|
+
/* empty css */
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
+
/* empty css */
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
+
__name: "IconEyeOpen",
|
9
|
+
setup(__props) {
|
10
|
+
return (_ctx, _cache) => {
|
11
|
+
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
+
createElementVNode("path", { d: "M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14" }, null, -1),
|
14
|
+
createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294" }, null, -1)
|
15
|
+
])]),
|
16
|
+
_: 1
|
17
|
+
}, 16);
|
18
|
+
};
|
19
|
+
}
|
20
|
+
});
|
2
21
|
export {
|
3
22
|
_sfc_main as default
|
4
23
|
};
|
@@ -1,22 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import "../utils/dom.js";
|
3
|
-
/* empty css */
|
4
|
-
/* empty css */
|
5
|
-
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
-
/* empty css */
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
-
__name: "IconSeparator",
|
9
|
-
setup(__props) {
|
10
|
-
return (_ctx, _cache) => {
|
11
|
-
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
-
createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
|
14
|
-
])]),
|
15
|
-
_: 1
|
16
|
-
}, 16);
|
17
|
-
};
|
18
|
-
}
|
19
|
-
});
|
1
|
+
import _sfc_main from "./IconSeparator.vue2.js";
|
20
2
|
export {
|
21
3
|
_sfc_main as default
|
22
4
|
};
|
@@ -1,4 +1,22 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import "../utils/dom.js";
|
3
|
+
/* empty css */
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
|
+
/* empty css */
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
+
__name: "IconSeparator",
|
9
|
+
setup(__props) {
|
10
|
+
return (_ctx, _cache) => {
|
11
|
+
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
12
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
13
|
+
createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
|
14
|
+
])]),
|
15
|
+
_: 1
|
16
|
+
}, 16);
|
17
|
+
};
|
18
|
+
}
|
19
|
+
});
|
2
20
|
export {
|
3
21
|
_sfc_main as default
|
4
22
|
};
|
package/es/_shared/utils/is.d.ts
CHANGED
@@ -10,18 +10,3 @@ export declare function isDate(value: unknown): value is Date;
|
|
10
10
|
export declare function isFunction(value: unknown): value is Function;
|
11
11
|
export declare function isArray(value: unknown): value is Array<unknown>;
|
12
12
|
export declare function isObject(value: unknown): value is Record<string, unknown>;
|
13
|
-
declare const _default: {
|
14
|
-
element: typeof isElement;
|
15
|
-
null: typeof isNull;
|
16
|
-
undefined: typeof isUndefined;
|
17
|
-
nan: typeof isNaN;
|
18
|
-
number: typeof isNumber;
|
19
|
-
string: typeof isString;
|
20
|
-
boolean: typeof isBoolean;
|
21
|
-
regexp: typeof isRegExp;
|
22
|
-
date: typeof isDate;
|
23
|
-
function: typeof isFunction;
|
24
|
-
array: typeof isArray;
|
25
|
-
object: typeof isObject;
|
26
|
-
};
|
27
|
-
export default _default;
|
@@ -4,3 +4,4 @@ export declare const getSlotFunction: (param: RenderContent | undefined) => impo
|
|
4
4
|
export declare const isVifNode: (vnode: VNode | undefined | null) => boolean;
|
5
5
|
export declare const findFirstLegitChild: (node: VNode[] | undefined) => VNode | null;
|
6
6
|
export declare const findComponentsFromVnodes: (vnodes: VNode[], name?: string) => RecordType[];
|
7
|
+
export { unrefElement, createReusableTemplate, useEventListener, useResizeObserver, useDraggable, useElementBounding, useElementSize, useMediaQuery, useMutationObserver, useClipboard, onClickOutside, useTimeoutFn, onKeyStroke, useVirtualList, useScroll, } from '@vueuse/core';
|
package/es/index.d.ts
CHANGED
@@ -488,12 +488,12 @@ declare const _default: {
|
|
488
488
|
DropdownButton: {
|
489
489
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Dropdown').DropdownButtonProps> & Readonly<{
|
490
490
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
491
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
492
491
|
onSelect?: ((value: import('./Dropdown').DoptionValue) => any) | undefined;
|
492
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
493
493
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
494
494
|
click: (ev: MouseEvent) => any;
|
495
|
-
"popup-visible-change": (value: boolean) => any;
|
496
495
|
select: (value: import('./Dropdown').DoptionValue) => any;
|
496
|
+
"popup-visible-change": (value: boolean) => any;
|
497
497
|
}, import('vue').PublicProps, {
|
498
498
|
size: import('./_shared/type').Size;
|
499
499
|
type: import('./Button').ButtonType;
|
@@ -514,8 +514,8 @@ declare const _default: {
|
|
514
514
|
Defaults: {};
|
515
515
|
}, Readonly<import('./Dropdown').DropdownButtonProps> & Readonly<{
|
516
516
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
517
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
518
517
|
onSelect?: ((value: import('./Dropdown').DoptionValue) => any) | undefined;
|
518
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
519
519
|
}>, {}, {}, {}, {}, {
|
520
520
|
size: import('./_shared/type').Size;
|
521
521
|
type: import('./Button').ButtonType;
|
@@ -533,12 +533,12 @@ declare const _default: {
|
|
533
533
|
__isSuspense?: never;
|
534
534
|
} & import('vue').ComponentOptionsBase<Readonly<import('./Dropdown').DropdownButtonProps> & Readonly<{
|
535
535
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
536
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
537
536
|
onSelect?: ((value: import('./Dropdown').DoptionValue) => any) | undefined;
|
537
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
538
538
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
539
539
|
click: (ev: MouseEvent) => any;
|
540
|
-
"popup-visible-change": (value: boolean) => any;
|
541
540
|
select: (value: import('./Dropdown').DoptionValue) => any;
|
541
|
+
"popup-visible-change": (value: boolean) => any;
|
542
542
|
}, string, {
|
543
543
|
size: import('./_shared/type').Size;
|
544
544
|
type: import('./Button').ButtonType;
|
package/lib/Affix/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../_shared/utils/is.js"),l=require("../node_modules/@vueuse/core/index.js"),o=require("../_shared/utils/dom.js"),a=e.defineComponent({name:"Affix",inheritAttrs:!1,__name:"index",props:{offsetTop:{default:0},offsetBottom:{default:void 0},target:{default:void 0},targetContainer:{default:void 0}},emits:["change"],setup(a,{expose:u,emit:r}){const i=a,n=r,{target:s,targetContainer:d,offsetTop:f,offsetBottom:v}=e.toRefs(i),c=e.ref(),m=e.ref(),p=e.computed(()=>t.isUndefined(s.value)?o.findFirstScrollableParent(c.value):o.getElement(s.value)),g=e.computed(()=>t.isUndefined(d.value)?o.findFirstScrollableParent(c.value):o.getElement(d.value)),x=e.ref(!1),h=e.ref({}),b=e.ref(0),y=e.ref(0);l.useResizeObserver(c,()=>{const{width:e,height:t}=c.value.getBoundingClientRect();b.value=e,y.value=t,B()},{box:"border-box"}),e.watch(()=>x.value,e=>{n("change",e)});const B=o.throttleByRaf(()=>{if(!p.value||!g.value||!m.value)return;const{top:e,bottom:l}=m.value.getBoundingClientRect(),{top:a,bottom:u}=g.value.getBoundingClientRect();x.value=t.isUndefined(v.value)?e-a<=f.value:u-l<=v.value,x.value?h.value=t.isUndefined(v.value)?{position:"fixed",top:o.valueToPx(a+f.value)}:{position:"fixed",bottom:o.valueToPx(v.value)}:h.value={}});return l.useEventListener(p,"scroll",B),u({updatePosition(){B()}}),(t,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:m},[x.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:e.unref(o.valueToPx)(b.value),height:e.unref(o.valueToPx)(y.value)})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"yc-affix":x.value},t.$attrs.class]),style:e.normalizeStyle({...h.value,...t.$attrs.style||{}}),ref_key:"affixRef",ref:c},[e.renderSlot(t.$slots,"default")],6)],512))}});exports.default=a;
|
@@ -8,7 +8,7 @@ type AnchorContext = {
|
|
8
8
|
curHref: Ref<string>;
|
9
9
|
scrollContainer: Ref<HTMLElement | undefined>;
|
10
10
|
};
|
11
|
-
|
11
|
+
export default function useAnchorContext(): {
|
12
12
|
provide: (props: RecordType, listRef: Ref<HTMLDivElement | undefined>) => {
|
13
13
|
hrefs: import('vue').ComputedRef<any[]>;
|
14
14
|
curHref: Ref<string, string>;
|
@@ -20,4 +20,4 @@ declare const _default: () => {
|
|
20
20
|
};
|
21
21
|
inject: () => AnchorContext;
|
22
22
|
};
|
23
|
-
export
|
23
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../_shared/utils/dom.js"),s=require("../../_shared/utils/vue-utils.js"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../_shared/utils/dom.js"),s=require("../../_shared/utils/vue-utils.js"),n=require("../../_shared/utils/is.js"),o=require("../AnchorLink.vue.js");;/* empty css */const t="anchor-context";exports.default=function(){return{provide:(u,l)=>{const{changeHash:a,smooth:i,boundary:c,lineLess:d,scrollContainer:f}=e.toRefs(u),h=e.useSlots(),v=e.ref(""),m=e.computed(()=>{var e;return s.findComponentsFromVnodes((null==(e=h.default)?void 0:e.call(h))||[],o.default.name).map(e=>{var r;return null==(r=e.props)?void 0:r.href})}),p=e.computed(()=>n.isUndefined(f.value)?r.findFirstScrollableParent(l.value):r.getElement(f.value));return e.provide(t,{changeHash:a,smooth:i,boundary:c,lineLess:d,curHref:v,scrollContainer:p}),{hrefs:m,curHref:v,changeHash:a,smooth:i,boundary:c,lineLess:d,scrollContainer:p}},inject:()=>e.inject(t,{changeHash:e.ref(!0),smooth:e.ref(!0),boundary:e.ref("start"),curHref:e.ref(""),lineLess:e.ref(!1),scrollContainer:e.ref()})}};
|
@@ -5,12 +5,12 @@ export * from './type';
|
|
5
5
|
declare const AutoComplete: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
7
7
|
onChange?: ((value: string) => any) | undefined;
|
8
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
9
8
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
10
9
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
11
10
|
onSearch?: ((value: string) => any) | undefined;
|
12
11
|
onSelect?: ((value: string) => any) | undefined;
|
13
12
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
13
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
14
14
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
15
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
16
16
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -23,12 +23,12 @@ declare const AutoComplete: {
|
|
23
23
|
updatePosition(x: number, y: number): void;
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
25
25
|
change: (value: string) => any;
|
26
|
-
focus: (ev: FocusEvent) => any;
|
27
26
|
clear: (ev?: Event | undefined) => any;
|
28
27
|
input: (value: string, ev: Event) => any;
|
29
28
|
search: (value: string) => any;
|
30
29
|
select: (value: string) => any;
|
31
30
|
blur: (ev: FocusEvent) => any;
|
31
|
+
focus: (ev: FocusEvent) => any;
|
32
32
|
keydown: (ev: KeyboardEvent) => any;
|
33
33
|
"update:modelValue": (value: string) => any;
|
34
34
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
@@ -88,12 +88,12 @@ declare const AutoComplete: {
|
|
88
88
|
readonly hotkeys?: boolean | undefined;
|
89
89
|
readonly showEmpty?: boolean | undefined;
|
90
90
|
readonly onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
91
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
92
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
93
91
|
readonly onClear?: (() => any) | undefined;
|
94
92
|
readonly onSearch?: ((value: string) => any) | undefined;
|
95
93
|
readonly onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
96
94
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
95
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
96
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
97
97
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
98
98
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
99
99
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -366,10 +366,10 @@ declare const AutoComplete: {
|
|
366
366
|
readonly tagNowrap?: boolean | undefined;
|
367
367
|
readonly fieldNames?: Record<string, string> | undefined;
|
368
368
|
readonly allowCreate?: boolean | undefined;
|
369
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
370
369
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
371
370
|
readonly onInput?: ((value: string) => any) | undefined;
|
372
371
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
372
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
373
373
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
374
374
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
375
375
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -391,13 +391,13 @@ declare const AutoComplete: {
|
|
391
391
|
$root: import('vue').ComponentPublicInstance | null;
|
392
392
|
$parent: import('vue').ComponentPublicInstance | null;
|
393
393
|
$host: Element | null;
|
394
|
-
$emit: ((event: "
|
394
|
+
$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);
|
395
395
|
$el: HTMLDivElement;
|
396
396
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
397
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
398
397
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
399
398
|
onInput?: ((value: string) => any) | undefined;
|
400
399
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
400
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
401
401
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
402
402
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
403
403
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -407,10 +407,10 @@ declare const AutoComplete: {
|
|
407
407
|
focus(): void;
|
408
408
|
blur(): void;
|
409
409
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
410
|
-
focus: (ev: FocusEvent) => any;
|
411
410
|
clear: (ev: MouseEvent) => any;
|
412
411
|
input: (value: string) => any;
|
413
412
|
blur: (ev: FocusEvent) => any;
|
413
|
+
focus: (ev: FocusEvent) => any;
|
414
414
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
415
415
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
416
416
|
"update:inputValue": (value: string) => any;
|
@@ -471,16 +471,16 @@ declare const AutoComplete: {
|
|
471
471
|
retainInputValue: import('..').InputRetainValue;
|
472
472
|
uniqueValue: boolean;
|
473
473
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
474
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
475
474
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
476
475
|
onInput?: ((value: string) => any) | undefined;
|
477
476
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
477
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
478
478
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
479
479
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
480
480
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
481
481
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
482
482
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
483
|
-
}>, "
|
483
|
+
}>, "blur" | "focus" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
484
484
|
focus(): void;
|
485
485
|
blur(): void;
|
486
486
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -493,16 +493,16 @@ declare const AutoComplete: {
|
|
493
493
|
$root: import('vue').ComponentPublicInstance | null;
|
494
494
|
$parent: import('vue').ComponentPublicInstance | null;
|
495
495
|
$host: Element | null;
|
496
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "
|
496
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: import('..').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('..').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
497
497
|
$el: any;
|
498
498
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
499
499
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
500
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
501
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
502
500
|
onClear?: (() => any) | undefined;
|
503
501
|
onSearch?: ((value: string) => any) | undefined;
|
504
502
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
505
503
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
504
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
505
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
506
506
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
507
507
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
508
508
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -515,12 +515,12 @@ declare const AutoComplete: {
|
|
515
515
|
getPopupRef(): import('..').TriggerInstance;
|
516
516
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
517
517
|
change: (value: import('..').SelectValue) => any;
|
518
|
-
"update:popupVisible": (value: boolean) => any;
|
519
|
-
"popup-visible-change": (value: boolean) => any;
|
520
518
|
clear: () => any;
|
521
519
|
search: (value: string) => any;
|
522
520
|
select: (value: import('..').SelectOptionValue) => any;
|
523
521
|
remove: (index: string | number, ev: Event) => any;
|
522
|
+
"update:popupVisible": (value: boolean) => any;
|
523
|
+
"popup-visible-change": (value: boolean) => any;
|
524
524
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
525
525
|
"update:inputValue": (value: string) => any;
|
526
526
|
"input-value-change": (value: string) => any;
|
@@ -615,19 +615,19 @@ declare const AutoComplete: {
|
|
615
615
|
tagNowrap: boolean;
|
616
616
|
}> & Omit<Readonly<import('..').SelectProps> & Readonly<{
|
617
617
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
618
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
619
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
620
618
|
onClear?: (() => any) | undefined;
|
621
619
|
onSearch?: ((value: string) => any) | undefined;
|
622
620
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
623
621
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
622
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
623
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
624
624
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
625
625
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
626
626
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
627
627
|
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
628
628
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
629
629
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
630
|
-
}>, "
|
630
|
+
}>, "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<{
|
631
631
|
focus(): void;
|
632
632
|
blur(): void;
|
633
633
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -636,10 +636,10 @@ declare const AutoComplete: {
|
|
636
636
|
}) | null;
|
637
637
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
638
638
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
639
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
640
639
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
641
640
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
642
641
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
642
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
643
643
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
644
644
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
645
645
|
}>, {
|
@@ -649,10 +649,10 @@ declare const AutoComplete: {
|
|
649
649
|
getMirrorRef(): HTMLDivElement;
|
650
650
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
651
651
|
change: (value: string, ev: Event) => any;
|
652
|
-
focus: (ev: FocusEvent) => any;
|
653
652
|
clear: (ev: MouseEvent) => any;
|
654
653
|
input: (value: string, ev: Event) => any;
|
655
654
|
blur: (ev: FocusEvent) => any;
|
655
|
+
focus: (ev: FocusEvent) => any;
|
656
656
|
keydown: (ev: KeyboardEvent) => any;
|
657
657
|
"update:modelValue": (value: string) => any;
|
658
658
|
}, import('vue').PublicProps, {
|
@@ -682,10 +682,10 @@ declare const AutoComplete: {
|
|
682
682
|
Defaults: {};
|
683
683
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
684
684
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
685
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
686
685
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
687
686
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
688
687
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
688
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
689
689
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
690
690
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
691
691
|
}>, {
|
@@ -718,12 +718,12 @@ declare const AutoComplete: {
|
|
718
718
|
Defaults: {};
|
719
719
|
}, Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
720
720
|
onChange?: ((value: string) => any) | undefined;
|
721
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
722
721
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
723
722
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
724
723
|
onSearch?: ((value: string) => any) | undefined;
|
725
724
|
onSelect?: ((value: string) => any) | undefined;
|
726
725
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
726
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
727
727
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
728
728
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
729
729
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -753,12 +753,12 @@ declare const AutoComplete: {
|
|
753
753
|
__isSuspense?: never;
|
754
754
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
755
755
|
onChange?: ((value: string) => any) | undefined;
|
756
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
757
756
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
758
757
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
759
758
|
onSearch?: ((value: string) => any) | undefined;
|
760
759
|
onSelect?: ((value: string) => any) | undefined;
|
761
760
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
761
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
762
762
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
763
763
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
764
764
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -771,12 +771,12 @@ declare const AutoComplete: {
|
|
771
771
|
updatePosition(x: number, y: number): void;
|
772
772
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
773
773
|
change: (value: string) => any;
|
774
|
-
focus: (ev: FocusEvent) => any;
|
775
774
|
clear: (ev?: Event | undefined) => any;
|
776
775
|
input: (value: string, ev: Event) => any;
|
777
776
|
search: (value: string) => any;
|
778
777
|
select: (value: string) => any;
|
779
778
|
blur: (ev: FocusEvent) => any;
|
779
|
+
focus: (ev: FocusEvent) => any;
|
780
780
|
keydown: (ev: KeyboardEvent) => any;
|
781
781
|
"update:modelValue": (value: string) => any;
|
782
782
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|