yc-design-vue 1.9.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Alert/index.vue.js +2 -2
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +34 -34
- package/es/AutoComplete/type.d.ts +5 -3
- package/es/Avatar/Avatar.vue.js +1 -1
- package/es/BackTop/index.css +1 -1
- package/es/BackTop/index.vue.js +3 -8
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/es/Button/hooks/useContext.d.ts +2 -2
- package/es/Button/hooks/useContext.js +3 -13
- package/es/Button/index.css +1 -1
- package/es/Calendar/Calendar.vue.js +2 -2
- package/es/Carousel/CarouselArrow.vue.js +1 -1
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +1 -1
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Drawer/Drawer.vue.js +2 -2
- package/es/Dropdown/DropdownButton.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Empty/index.vue.js +1 -1
- package/es/Image/Image.vue.js +1 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +1 -1
- package/es/Image/ImagePreviewToolbar.vue.js +1 -1
- package/es/Input/Input.vue.js +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/InputNumber/InputNumber.vue.d.ts +0 -1
- package/es/InputNumber/InputNumber.vue.js +1 -6
- package/es/InputNumber/InputOperaBtn.vue.js +2 -2
- package/es/InputNumber/index.d.ts +0 -3
- package/es/InputNumber/type.d.ts +0 -2
- package/es/InputTag/index.vue.js +2 -2
- package/es/Layout/LayoutSider.vue.js +1 -1
- package/es/Link/index.vue.js +1 -1
- package/es/Mention/index.d.ts +27 -27
- package/es/Mention/index.vue.d.ts +70 -70
- package/es/Mention/type.d.ts +3 -3
- package/es/Menu/Menu.vue.js +1 -1
- package/es/Menu/MenuEllipsis.vue.js +1 -1
- package/es/Menu/SubMenu.vue.js +1 -1
- package/es/Message/Message.vue.js +2 -2
- package/es/Modal/Modal.vue.js +2 -2
- package/es/Notification/Notification.vue.js +2 -2
- package/es/PageHeader/index.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +1 -1
- package/es/Progress/ProgressCircle.vue.js +2 -2
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Rate/index.vue.js +1 -1
- package/es/ResizeBox/index.vue.js +45 -33
- package/es/Select/Option.vue.d.ts +1 -1
- package/es/Select/Option.vue.js +1 -1
- package/es/Select/Select.vue.d.ts +14 -14
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/hooks/useContext.d.ts +7 -7
- package/es/Select/hooks/useSelectHotkeys.js +3 -1
- package/es/Select/hooks/useSelectOptions.d.ts +8 -8
- package/es/Select/index.d.ts +21 -21
- package/es/Select/type.d.ts +9 -8
- package/es/Spin/index.vue.js +1 -1
- package/es/Split/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +1 -1
- package/es/Tabs/TabButton.vue.js +2 -2
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tag/index.vue.js +2 -2
- package/es/Textarea/index.vue.js +2 -2
- package/es/TimePicker/TimePicker.vue.js +4 -4
- package/es/Transfer/Transfer.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +8 -6
- package/es/Transfer/type.d.ts +3 -9
- package/es/Trigger/hooks/useTriggerPosition.d.ts +0 -1
- package/es/Trigger/hooks/useTriggerPosition.js +3 -8
- package/es/Trigger/index.vue.js +3 -2
- package/es/Typography/TypographyBase.vue.d.ts +0 -4
- package/es/Typography/TypographyBase.vue.js +4 -4
- package/es/Typography/type.d.ts +0 -5
- package/es/VerificationCode/index.vue.js +5 -3
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.d.ts +2 -2
- package/es/_shared/constants/index.js +1 -1
- package/es/_shared/icons/IconArrowDown.vue.js +1 -1
- package/es/_shared/icons/IconArrowRight.vue.js +1 -1
- package/es/_shared/icons/IconCheck.vue.js +1 -1
- package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/es/_shared/icons/IconClose.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +23 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -23
- package/es/_shared/icons/IconDelete.vue.js +1 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +23 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -23
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue.js +34 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -34
- package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/es/_shared/icons/IconImageClose.vue.js +1 -1
- package/es/_shared/icons/IconInfo.vue.js +1 -1
- package/es/_shared/icons/IconInfoLine.vue.js +1 -1
- package/es/_shared/icons/IconLink.vue.js +1 -1
- package/es/_shared/icons/IconLoading.vue.js +1 -1
- package/es/_shared/icons/IconMenuFold.vue.js +1 -1
- package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/es/_shared/icons/IconMinus.vue.js +1 -23
- package/es/_shared/icons/IconMinus.vue2.js +23 -1
- package/es/_shared/icons/IconMore.vue.js +1 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/es/_shared/icons/IconPlus.vue.js +1 -1
- package/es/_shared/icons/IconRight.vue.js +1 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/es/_shared/icons/IconSearch.vue.js +1 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -1
- package/es/_shared/icons/IconStar.vue.js +1 -1
- package/es/_shared/icons/IconSuccess.vue.js +1 -1
- package/es/_shared/icons/IconTime.vue.js +1 -1
- package/es/_shared/icons/IconToTop.vue.js +1 -1
- package/es/_shared/icons/IconWarning.vue.js +1 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/es/_shared/utils/global-config.d.ts +1 -1
- package/es/_shared/utils/global-config.js +1 -1
- package/es/index.d.ts +3 -3
- package/es/style.css +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +34 -34
- package/lib/AutoComplete/type.d.ts +5 -3
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/BackTop/index.css +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +2 -2
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.css +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/InputNumber/InputNumber.vue.d.ts +0 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +0 -3
- package/lib/InputNumber/type.d.ts +0 -2
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/Mention/index.d.ts +27 -27
- package/lib/Mention/index.vue.d.ts +70 -70
- package/lib/Mention/type.d.ts +3 -3
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Select/Option.vue.d.ts +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +14 -14
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +7 -7
- package/lib/Select/hooks/useSelectHotkeys.js +1 -1
- package/lib/Select/hooks/useSelectOptions.d.ts +8 -8
- package/lib/Select/index.d.ts +21 -21
- package/lib/Select/type.d.ts +9 -8
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/type.d.ts +3 -9
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +0 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +0 -4
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/type.d.ts +0 -5
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- package/lib/_shared/constants/index.d.ts +2 -2
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.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/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.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/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +1 -1
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/_shared/components/IconButton/index.vue2.js +0 -1
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
5
|
+
/* empty css */
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import "../_shared/utils/time.js";
|
@@ -4,7 +4,7 @@ import { sleep } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isFunction } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
10
|
-
/* empty css
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
4
|
-
/* empty css
|
3
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
4
|
+
/* empty css */
|
5
5
|
import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
|
6
6
|
/* empty css */
|
7
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -6,8 +6,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
6
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
7
7
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
8
8
|
import Button from "../Button/index.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
10
|
-
/* empty css
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
const _hoisted_1 = {
|
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$3 from "../_shared/icons/IconMore.vue.js";
|
@@ -6,7 +6,7 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useControlValue from "../_shared/utils/control.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
package/es/Empty/index.vue.js
CHANGED
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { useI18n } from "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
|
package/es/Image/Image.vue.js
CHANGED
@@ -4,7 +4,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { useI18n } from "../_shared/utils/locale.js";
|
6
6
|
import useControlValue from "../_shared/utils/control.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
|
@@ -5,7 +5,7 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { useI18n } from "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
|
package/es/Input/Input.vue.js
CHANGED
@@ -6,8 +6,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
8
|
import useLimitedInput from "./hooks/useLimitedInput.js";
|
9
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
10
|
-
/* empty css
|
9
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, withCtx, createElementBlock, createCommentVNode, renderSlot, toDisplayString } from "vue";
|
2
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
3
|
+
/* empty css */
|
4
4
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
6
|
import "../_shared/utils/dom.js";
|
@@ -195,7 +195,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
195
195
|
precision: number;
|
196
196
|
step: number;
|
197
197
|
hideButton: boolean;
|
198
|
-
modelEvent: import('./type').ModelEvent;
|
199
198
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
200
199
|
inputRef: ({
|
201
200
|
$: import('vue').ComponentInternalInstance;
|
@@ -28,7 +28,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
28
|
hideButton: { type: Boolean, default: false },
|
29
29
|
size: { default: void 0 },
|
30
30
|
allowClear: { type: Boolean, default: false },
|
31
|
-
modelEvent: { default: "change" },
|
32
31
|
formatter: {},
|
33
32
|
parser: {},
|
34
33
|
readonly: { type: Boolean, default: false },
|
@@ -49,7 +48,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
48
|
disabled,
|
50
49
|
hideButton,
|
51
50
|
mode,
|
52
|
-
modelEvent,
|
53
51
|
precision: _precision
|
54
52
|
} = toRefs(props);
|
55
53
|
const { formatter, parser } = props;
|
@@ -58,10 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
56
|
modelValue,
|
59
57
|
defaultValue.value,
|
60
58
|
(val) => {
|
61
|
-
emits(
|
62
|
-
"update:modelValue",
|
63
|
-
modelEvent.value == "change" ? val : handlePrecision(val, "number")
|
64
|
-
);
|
59
|
+
emits("update:modelValue", val);
|
65
60
|
},
|
66
61
|
(val) => {
|
67
62
|
const value = isString(val) ? val : handlePrecision(val, "string");
|
@@ -4,10 +4,10 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
|
-
import _sfc_main$2 from "../_shared/icons/IconMinus.
|
10
|
+
import _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
|
11
11
|
import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
|
12
12
|
import Button from "../Button/index.js";
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -40,7 +40,6 @@ declare const InputNumber: {
|
|
40
40
|
precision: number;
|
41
41
|
step: number;
|
42
42
|
hideButton: boolean;
|
43
|
-
modelEvent: import('./type').ModelEvent;
|
44
43
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
45
44
|
inputRef: ({
|
46
45
|
$: import('vue').ComponentInternalInstance;
|
@@ -228,7 +227,6 @@ declare const InputNumber: {
|
|
228
227
|
precision: number;
|
229
228
|
step: number;
|
230
229
|
hideButton: boolean;
|
231
|
-
modelEvent: import('./type').ModelEvent;
|
232
230
|
}>;
|
233
231
|
__isFragment?: never;
|
234
232
|
__isTeleport?: never;
|
@@ -270,7 +268,6 @@ declare const InputNumber: {
|
|
270
268
|
precision: number;
|
271
269
|
step: number;
|
272
270
|
hideButton: boolean;
|
273
|
-
modelEvent: import('./type').ModelEvent;
|
274
271
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
275
272
|
$slots: Readonly<import('./type').InputNumberSlots> & import('./type').InputNumberSlots;
|
276
273
|
}) & {
|
package/es/InputNumber/type.d.ts
CHANGED
@@ -14,7 +14,6 @@ export interface InputNumberProps {
|
|
14
14
|
hideButton?: boolean;
|
15
15
|
size?: Size;
|
16
16
|
allowClear?: boolean;
|
17
|
-
modelEvent?: ModelEvent;
|
18
17
|
formatter?: InputNumberFormatter;
|
19
18
|
parser?: InputNumberParser;
|
20
19
|
readonly?: boolean;
|
@@ -45,6 +44,5 @@ export interface InputNumberExpose {
|
|
45
44
|
}
|
46
45
|
export type InputNumberValue = number | string;
|
47
46
|
export type InputNumberMode = 'embed' | 'button';
|
48
|
-
export type ModelEvent = 'change' | 'input';
|
49
47
|
export type InputNumberFormatter = (value: string) => string;
|
50
48
|
export type InputNumberParser = (value: string) => string;
|
package/es/InputTag/index.vue.js
CHANGED
@@ -9,8 +9,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
9
9
|
import "../_shared/utils/locale.js";
|
10
10
|
import useControlValue from "../_shared/utils/control.js";
|
11
11
|
import Tag from "../Tag/index.js";
|
12
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
13
|
-
/* empty css
|
12
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
15
15
|
/* empty css */
|
16
16
|
/* empty css */
|
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
package/es/Link/index.vue.js
CHANGED
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconLink.vue.js";
|
package/es/Mention/index.d.ts
CHANGED
@@ -9,7 +9,7 @@ declare const Mention: {
|
|
9
9
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
10
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
11
11
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
12
|
-
onSelect?: ((value: import('..').
|
12
|
+
onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
13
13
|
onSearch?: ((value: string) => any) | undefined;
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
15
15
|
}>, {
|
@@ -21,13 +21,13 @@ declare const Mention: {
|
|
21
21
|
clear: (ev: MouseEvent) => any;
|
22
22
|
blur: (ev: FocusEvent) => any;
|
23
23
|
input: (value: string, ev: Event) => any;
|
24
|
-
select: (value: import('..').
|
24
|
+
select: (value: import('..').OptionValue) => any;
|
25
25
|
search: (value: string) => any;
|
26
26
|
"update:modelValue": (value: string) => any;
|
27
27
|
}, import('vue').PublicProps, {
|
28
28
|
disabled: boolean;
|
29
29
|
type: "input" | "textarea";
|
30
|
-
data: import('..').
|
30
|
+
data: import('..').SelectOption[];
|
31
31
|
split: string;
|
32
32
|
modelValue: string;
|
33
33
|
defaultValue: string;
|
@@ -41,7 +41,7 @@ declare const Mention: {
|
|
41
41
|
readonly modelValue?: string | undefined;
|
42
42
|
readonly defaultValue?: string | undefined;
|
43
43
|
readonly disabled?: boolean | undefined;
|
44
|
-
readonly data?: import('..').
|
44
|
+
readonly data?: import('..').SelectOption[] | undefined;
|
45
45
|
readonly popupContainer?: import('..').PopupContainer | undefined;
|
46
46
|
readonly strict?: boolean | undefined;
|
47
47
|
readonly filterOption?: ((inputValue: string, option: import('..').SelectOptionData) => boolean) | undefined;
|
@@ -93,7 +93,7 @@ declare const Mention: {
|
|
93
93
|
readonly defaultPopupVisible?: boolean | undefined;
|
94
94
|
readonly unmountonClose?: boolean | undefined;
|
95
95
|
readonly filterOption?: import('..').FilterOption | undefined;
|
96
|
-
readonly options?: import('..').
|
96
|
+
readonly options?: import('..').SelectOption[] | undefined;
|
97
97
|
readonly virtualListProps?: import('..').VirtualListProps | undefined;
|
98
98
|
readonly triggerProps?: import('..').TriggerProps | undefined;
|
99
99
|
readonly formatLabel?: import('..').FormatLabel | undefined;
|
@@ -113,13 +113,13 @@ declare const Mention: {
|
|
113
113
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
114
114
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
115
115
|
readonly onClear?: (() => any) | undefined;
|
116
|
-
readonly onSelect?: ((value: import('..').
|
116
|
+
readonly onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
117
117
|
readonly onSearch?: ((value: string) => any) | undefined;
|
118
118
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
119
|
-
readonly "onUpdate:inputValue"?: ((value:
|
119
|
+
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
120
120
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
121
121
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
122
|
-
readonly onExceedLimit?: ((value: import('..').
|
122
|
+
readonly onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
123
123
|
readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
124
124
|
readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
125
125
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -515,20 +515,20 @@ declare const Mention: {
|
|
515
515
|
$root: import('vue').ComponentPublicInstance | null;
|
516
516
|
$parent: import('vue').ComponentPublicInstance | null;
|
517
517
|
$host: Element | null;
|
518
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').
|
518
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').OptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('..').OptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
519
519
|
$el: any;
|
520
520
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
521
521
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
522
522
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
523
523
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
524
524
|
onClear?: (() => any) | undefined;
|
525
|
-
onSelect?: ((value: import('..').
|
525
|
+
onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
526
526
|
onSearch?: ((value: string) => any) | undefined;
|
527
527
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
528
|
-
"onUpdate:inputValue"?: ((value:
|
528
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
529
529
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
530
530
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
531
|
-
onExceedLimit?: ((value: import('..').
|
531
|
+
onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
532
532
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
533
533
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
534
534
|
}>, {
|
@@ -540,13 +540,13 @@ declare const Mention: {
|
|
540
540
|
"update:popupVisible": (value: boolean) => any;
|
541
541
|
"popup-visible-change": (value: boolean) => any;
|
542
542
|
clear: () => any;
|
543
|
-
select: (value: import('..').
|
543
|
+
select: (value: import('..').OptionValue) => any;
|
544
544
|
search: (value: string) => any;
|
545
545
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
546
|
-
"update:inputValue": (value:
|
546
|
+
"update:inputValue": (value: string) => any;
|
547
547
|
"input-value-change": (value: string) => any;
|
548
548
|
remove: (index: string | number, ev: Event) => any;
|
549
|
-
exceedLimit: (value: import('..').
|
549
|
+
exceedLimit: (value: import('..').OptionValue, ev?: MouseEvent | undefined) => any;
|
550
550
|
"dropdown-scroll": (ev: Event) => any;
|
551
551
|
"dropdown-reach-bottom": (ev: Event) => any;
|
552
552
|
}, string, {
|
@@ -565,7 +565,7 @@ declare const Mention: {
|
|
565
565
|
defaultValue: import('..').SelectValue;
|
566
566
|
allowClear: boolean;
|
567
567
|
showExtraOptions: boolean;
|
568
|
-
options: import('..').
|
568
|
+
options: import('..').SelectOption[];
|
569
569
|
limit: number;
|
570
570
|
inputValue: string;
|
571
571
|
defaultInputValue: string;
|
@@ -618,7 +618,7 @@ declare const Mention: {
|
|
618
618
|
defaultValue: import('..').SelectValue;
|
619
619
|
allowClear: boolean;
|
620
620
|
showExtraOptions: boolean;
|
621
|
-
options: import('..').
|
621
|
+
options: import('..').SelectOption[];
|
622
622
|
limit: number;
|
623
623
|
inputValue: string;
|
624
624
|
defaultInputValue: string;
|
@@ -640,13 +640,13 @@ declare const Mention: {
|
|
640
640
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
641
641
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
642
642
|
onClear?: (() => any) | undefined;
|
643
|
-
onSelect?: ((value: import('..').
|
643
|
+
onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
644
644
|
onSearch?: ((value: string) => any) | undefined;
|
645
645
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
646
|
-
"onUpdate:inputValue"?: ((value:
|
646
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
647
647
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
648
648
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
649
|
-
onExceedLimit?: ((value: import('..').
|
649
|
+
onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
650
650
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
651
651
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
652
652
|
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "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<{
|
@@ -775,7 +775,7 @@ declare const Mention: {
|
|
775
775
|
popupContainer: import('..').PopupContainer;
|
776
776
|
strict: boolean;
|
777
777
|
type: "textarea" | "input";
|
778
|
-
data: import('..').
|
778
|
+
data: import('..').SelectOption[];
|
779
779
|
modelValue: string;
|
780
780
|
defaultValue: string;
|
781
781
|
allowClear: boolean;
|
@@ -808,7 +808,7 @@ declare const Mention: {
|
|
808
808
|
popupContainer: import('..').PopupContainer;
|
809
809
|
strict: boolean;
|
810
810
|
type: "textarea" | "input";
|
811
|
-
data: import('..').
|
811
|
+
data: import('..').SelectOption[];
|
812
812
|
modelValue: string;
|
813
813
|
defaultValue: string;
|
814
814
|
allowClear: boolean;
|
@@ -850,7 +850,7 @@ declare const Mention: {
|
|
850
850
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
851
851
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
852
852
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
853
|
-
onSelect?: ((value: import('..').
|
853
|
+
onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
854
854
|
onSearch?: ((value: string) => any) | undefined;
|
855
855
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
856
856
|
}>, {
|
@@ -859,7 +859,7 @@ declare const Mention: {
|
|
859
859
|
}, {}, {}, {}, {
|
860
860
|
disabled: boolean;
|
861
861
|
type: "input" | "textarea";
|
862
|
-
data: import('..').
|
862
|
+
data: import('..').SelectOption[];
|
863
863
|
split: string;
|
864
864
|
modelValue: string;
|
865
865
|
defaultValue: string;
|
@@ -875,7 +875,7 @@ declare const Mention: {
|
|
875
875
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
876
876
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
877
877
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
878
|
-
onSelect?: ((value: import('..').
|
878
|
+
onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
879
879
|
onSearch?: ((value: string) => any) | undefined;
|
880
880
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
881
881
|
}>, {
|
@@ -887,13 +887,13 @@ declare const Mention: {
|
|
887
887
|
clear: (ev: MouseEvent) => any;
|
888
888
|
blur: (ev: FocusEvent) => any;
|
889
889
|
input: (value: string, ev: Event) => any;
|
890
|
-
select: (value: import('..').
|
890
|
+
select: (value: import('..').OptionValue) => any;
|
891
891
|
search: (value: string) => any;
|
892
892
|
"update:modelValue": (value: string) => any;
|
893
893
|
}, string, {
|
894
894
|
disabled: boolean;
|
895
895
|
type: "input" | "textarea";
|
896
|
-
data: import('..').
|
896
|
+
data: import('..').SelectOption[];
|
897
897
|
split: string;
|
898
898
|
modelValue: string;
|
899
899
|
defaultValue: string;
|