yc-design-vue 2.2.9 → 2.3.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/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/es/Alert/index.vue.js +2 -2
- package/es/Avatar/Avatar.vue.js +1 -1
- package/es/BackTop/index.vue.js +1 -1
- 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/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/DatePicker/DatePicker.vue.d.ts +408 -3
- package/es/DatePicker/DatePicker.vue.js +27 -5
- package/es/DatePicker/MonthPicker.vue.d.ts +1 -1
- package/es/DatePicker/MonthPicker.vue.js +2 -2
- package/es/DatePicker/WeekPicker.vue.d.ts +1 -1
- package/es/DatePicker/WeekPicker.vue.js +2 -2
- package/es/DatePicker/YearPicker.vue.js +2 -2
- package/es/DatePicker/component/{PickerInput.vue.js → Picker.vue.js} +5 -4
- package/es/DatePicker/component/Picker.vue3.js +5 -0
- package/es/DatePicker/component/PickerHeader.vue.js +1 -1
- package/es/DatePicker/hooks/userPicker.d.ts +1 -0
- package/es/DatePicker/hooks/userPicker.js +4 -2
- package/es/DatePicker/index.css +1 -1
- package/es/DatePicker/index.d.ts +206 -4
- 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/InputPassword.vue.js +2 -2
- package/es/Input/InputSearch.vue.js +2 -2
- package/es/InputNumber/InputOperaBtn.vue.js +1 -1
- 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/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 +1 -1
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Rate/index.vue.js +1 -1
- package/es/ResizeBox/index.vue.js +1 -1
- package/es/Select/SelectIcon.vue.js +2 -2
- 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.d.ts +104 -3
- package/es/TimePicker/TimePicker.vue.js +24 -9
- package/es/TimePicker/TimePickerPanel.vue.d.ts +4 -1
- package/es/TimePicker/TimePickerPanel.vue.js +37 -41
- package/es/TimePicker/hooks/useContext.d.ts +2 -0
- package/es/TimePicker/hooks/useContext.js +3 -0
- package/es/TimePicker/index.d.ts +61 -4
- package/es/TimePicker/type.d.ts +1 -0
- package/es/Transfer/Transfer.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Trigger/index.vue.js +1 -1
- package/es/Typography/TypographyBase.vue.js +1 -1
- package/es/Upload/UploadButton.vue.js +1 -1
- package/es/Upload/UploadDrag.vue.js +1 -1
- package/es/Upload/UploadFileList.vue.js +2 -2
- package/es/Upload/UploadPictureCard.vue.js +1 -1
- package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +1 -1
- package/es/_shared/components/IconButton/index.vue3.js +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/IconCalendar.vue2.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 +1 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -1
- package/es/_shared/icons/IconDoubleLeft.vue2.js +1 -1
- package/es/_shared/icons/IconDoubleRight.vue2.js +1 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +1 -1
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -1
- package/es/_shared/icons/IconEyeClose.vue.js +1 -1
- package/es/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/es/_shared/icons/IconFile.vue2.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.vue2.js +1 -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/IconUpload.vue2.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/index.d.ts +3 -3
- package/es/style.css +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.js +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/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/DatePicker/DatePicker.vue.d.ts +408 -3
- package/lib/DatePicker/DatePicker.vue.js +1 -1
- package/lib/DatePicker/MonthPicker.vue.d.ts +1 -1
- package/lib/DatePicker/MonthPicker.vue.js +1 -1
- package/lib/DatePicker/WeekPicker.vue.d.ts +1 -1
- package/lib/DatePicker/WeekPicker.vue.js +1 -1
- package/lib/DatePicker/YearPicker.vue.js +1 -1
- package/lib/DatePicker/component/Picker.vue.js +1 -0
- package/lib/DatePicker/component/{PickerInput.vue3.js → Picker.vue3.js} +1 -1
- package/lib/DatePicker/component/PickerHeader.vue.js +1 -1
- package/lib/DatePicker/hooks/userPicker.d.ts +1 -0
- package/lib/DatePicker/hooks/userPicker.js +1 -1
- package/lib/DatePicker/index.css +1 -1
- package/lib/DatePicker/index.d.ts +206 -4
- 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/InputPassword.vue.js +1 -1
- package/lib/Input/InputSearch.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- 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/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/SelectIcon.vue.js +1 -1
- 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.d.ts +104 -3
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.d.ts +4 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +2 -0
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +61 -4
- package/lib/TimePicker/type.d.ts +1 -0
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Upload/UploadButton.vue.js +1 -1
- package/lib/Upload/UploadDrag.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue.js +1 -1
- package/lib/Upload/UploadPictureCard.vue.js +1 -1
- package/lib/_shared/components/IconButton/index.vue2.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- 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/IconCalendar.vue2.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/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDoubleLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconDoubleRight.vue2.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/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFile.vue2.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.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/IconUpload.vue2.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/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/DatePicker/component/PickerInput.vue3.js +0 -5
- package/lib/DatePicker/component/PickerInput.vue.js +0 -1
- package/lib/_shared/components/IconButton/index.vue.js +0 -1
- /package/es/DatePicker/component/{PickerInput.vue.d.ts → Picker.vue.d.ts} +0 -0
- /package/lib/DatePicker/component/{PickerInput.vue.d.ts → Picker.vue.d.ts} +0 -0
@@ -8,7 +8,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
8
8
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
9
9
|
import "../_shared/utils/locale.js";
|
10
10
|
import "../_shared/utils/time.js";
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
|
package/es/Input/Input.vue.js
CHANGED
@@ -7,8 +7,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
9
|
import useLimitedInput from "./hooks/useLimitedInput.js";
|
10
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
11
|
-
/* empty css
|
10
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
11
|
+
/* empty css */
|
12
12
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
13
13
|
/* empty css */
|
14
14
|
/* empty css */
|
@@ -6,8 +6,8 @@ import { sleep } from "../_shared/utils/dom.js";
|
|
6
6
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
10
|
-
/* empty css
|
9
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, ref, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, createVNode, unref, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import _sfc_main$3 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$3 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -6,7 +6,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
6
6
|
import "../_shared/utils/dom.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
|
package/es/InputTag/index.vue.js
CHANGED
@@ -11,8 +11,8 @@ import { isObject, isBoolean } from "../_shared/utils/is.js";
|
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
13
13
|
import Tag from "../Tag/index.js";
|
14
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
15
|
-
/* empty css
|
14
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
15
|
+
/* empty css */
|
16
16
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
17
17
|
/* empty css */
|
18
18
|
/* empty css */
|
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
package/es/Link/index.vue.js
CHANGED
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconLink.vue.js";
|
package/es/Menu/Menu.vue.js
CHANGED
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import { mediaQueryHandler } from "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$2 from "../_shared/icons/IconMenuFold.vue.js";
|
@@ -6,7 +6,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
6
6
|
import "../_shared/utils/dom.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$1 from "../_shared/icons/IconMore.vue.js";
|
package/es/Menu/SubMenu.vue.js
CHANGED
@@ -7,7 +7,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
@@ -7,8 +7,8 @@ import "../_shared/utils/dom.js";
|
|
7
7
|
import { isUndefined } from "../_shared/utils/is.js";
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
11
|
-
/* empty css
|
10
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -9,8 +9,8 @@ import "../_shared/utils/time.js";
|
|
9
9
|
import useModalClose from "./hooks/useModalClose.js";
|
10
10
|
import useModalDraggable from "./hooks/useModalDraggable.js";
|
11
11
|
import Button from "../Button/index.js";
|
12
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
13
|
-
/* empty css
|
12
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
/* empty css */
|
16
16
|
const _hoisted_1 = {
|
@@ -8,8 +8,8 @@ import { isUndefined, isFunction } from "../_shared/utils/is.js";
|
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
10
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
11
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
12
|
-
/* empty css
|
11
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, useSlots, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -6,7 +6,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
6
6
|
import { isObject } from "../_shared/utils/is.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$2 from "../_shared/icons/IconCheck.vue.js";
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -7,8 +7,8 @@ import "../_shared/utils/dom.js";
|
|
7
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
11
|
-
/* empty css
|
10
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
const _hoisted_1 = ["value", "checked", "disabled"];
|
package/es/Rate/index.vue.js
CHANGED
@@ -7,7 +7,7 @@ import { isObject } from "../_shared/utils/is.js";
|
|
7
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$1 from "../_shared/icons/IconFaceSmile.vue.js";
|
@@ -7,7 +7,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
7
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.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 useSelectContext 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.vue2.js";
|
5
|
+
/* empty css */
|
6
6
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
7
7
|
import "../node_modules/dayjs/dayjs.min.js";
|
8
8
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
package/es/Spin/index.vue.js
CHANGED
@@ -6,7 +6,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
6
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$1 from "../_shared/icons/IconLoading.vue.js";
|
package/es/Split/index.vue.js
CHANGED
@@ -8,7 +8,7 @@ import { isNumber } from "../_shared/utils/is.js";
|
|
8
8
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
9
9
|
import "../_shared/utils/locale.js";
|
10
10
|
import "../_shared/utils/time.js";
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
package/es/Steps/Step.vue.js
CHANGED
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
package/es/Tabs/TabButton.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
|
2
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -8,7 +8,7 @@ import "../_shared/utils/time.js";
|
|
8
8
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
9
9
|
import useTabsContext from "./hooks/useContext.js";
|
10
10
|
import useTabsScroll from "./hooks/useTabsScroll.js";
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
package/es/Tag/index.vue.js
CHANGED
@@ -9,8 +9,8 @@ import { useControlValue } from "../_shared/utils/hooks.js";
|
|
9
9
|
import "../_shared/utils/locale.js";
|
10
10
|
import "../_shared/utils/time.js";
|
11
11
|
import Spin from "../Spin/index.js";
|
12
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
13
|
-
/* empty css
|
12
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
/* empty css */
|
16
16
|
const _hoisted_1 = {
|
package/es/Textarea/index.vue.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
|
2
2
|
import useTextareaHeight from "./hooks/useTextareaHeight.js";
|
3
3
|
import useLimitedInput from "../Input/hooks/useLimitedInput.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
5
|
+
/* empty css */
|
6
6
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
7
7
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
8
8
|
import "../node_modules/dayjs/dayjs.min.js";
|
@@ -1,12 +1,64 @@
|
|
1
|
+
import { nextTick } from 'vue';
|
1
2
|
import { TimePickerProps } from './type';
|
3
|
+
import { dayjs } from '../_shared/utils';
|
2
4
|
declare function __VLS_template(): {
|
3
5
|
attrs: Partial<{}>;
|
4
6
|
slots: any;
|
5
|
-
refs: {
|
7
|
+
refs: {
|
8
|
+
panelRef: ({
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
10
|
+
$data: {};
|
11
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
12
|
+
$attrs: {
|
13
|
+
[x: string]: unknown;
|
14
|
+
};
|
15
|
+
$refs: {
|
16
|
+
[x: string]: unknown;
|
17
|
+
};
|
18
|
+
$slots: Readonly<{
|
19
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
20
|
+
}>;
|
21
|
+
$root: import('vue').ComponentPublicInstance | null;
|
22
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
23
|
+
$host: Element | null;
|
24
|
+
$emit: (event: string, ...args: any[]) => void;
|
25
|
+
$el: HTMLDivElement;
|
26
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
27
|
+
jump: (newDate: dayjs.Dayjs, oldDate?: dayjs.Dayjs) => Promise<void>;
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
29
|
+
beforeCreate?: (() => void) | (() => void)[];
|
30
|
+
created?: (() => void) | (() => void)[];
|
31
|
+
beforeMount?: (() => void) | (() => void)[];
|
32
|
+
mounted?: (() => void) | (() => void)[];
|
33
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
34
|
+
updated?: (() => void) | (() => void)[];
|
35
|
+
activated?: (() => void) | (() => void)[];
|
36
|
+
deactivated?: (() => void) | (() => void)[];
|
37
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
38
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
39
|
+
destroyed?: (() => void) | (() => void)[];
|
40
|
+
unmounted?: (() => void) | (() => void)[];
|
41
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
42
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
43
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
44
|
+
};
|
45
|
+
$forceUpdate: () => void;
|
46
|
+
$nextTick: typeof nextTick;
|
47
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
48
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "jump"> & import('vue').ShallowUnwrapRef<{
|
49
|
+
jump: (newDate: dayjs.Dayjs, oldDate?: dayjs.Dayjs) => Promise<void>;
|
50
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
51
|
+
$slots: {
|
52
|
+
extra?(_: {}): any;
|
53
|
+
};
|
54
|
+
}) | null;
|
55
|
+
};
|
6
56
|
rootEl: any;
|
7
57
|
};
|
8
58
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<TimePickerProps, {
|
59
|
+
declare const __VLS_component: import('vue').DefineComponent<TimePickerProps, {
|
60
|
+
jump(date: dayjs.Dayjs, oldDate?: dayjs.Dayjs): void;
|
61
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
10
62
|
change: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
|
11
63
|
"update:popupVisible": (value: boolean) => any;
|
12
64
|
"popup-visible-change": (value: boolean) => any;
|
@@ -41,10 +93,59 @@ declare const __VLS_component: import('vue').DefineComponent<TimePickerProps, {}
|
|
41
93
|
hideDisabledOptions: boolean;
|
42
94
|
scrollOffset: number;
|
43
95
|
hideTrigger: boolean;
|
96
|
+
watchValueChange: boolean;
|
44
97
|
disabledHours: import('./type').DisabledHours;
|
45
98
|
disabledMinutes: import('./type').DisabledMinutes;
|
46
99
|
disabledSeconds: import('./type').DisabledSeconds;
|
47
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
100
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
101
|
+
panelRef: ({
|
102
|
+
$: import('vue').ComponentInternalInstance;
|
103
|
+
$data: {};
|
104
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
105
|
+
$attrs: {
|
106
|
+
[x: string]: unknown;
|
107
|
+
};
|
108
|
+
$refs: {
|
109
|
+
[x: string]: unknown;
|
110
|
+
};
|
111
|
+
$slots: Readonly<{
|
112
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
113
|
+
}>;
|
114
|
+
$root: import('vue').ComponentPublicInstance | null;
|
115
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
116
|
+
$host: Element | null;
|
117
|
+
$emit: (event: string, ...args: any[]) => void;
|
118
|
+
$el: HTMLDivElement;
|
119
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
120
|
+
jump: (newDate: dayjs.Dayjs, oldDate?: dayjs.Dayjs) => Promise<void>;
|
121
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
122
|
+
beforeCreate?: (() => void) | (() => void)[];
|
123
|
+
created?: (() => void) | (() => void)[];
|
124
|
+
beforeMount?: (() => void) | (() => void)[];
|
125
|
+
mounted?: (() => void) | (() => void)[];
|
126
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
127
|
+
updated?: (() => void) | (() => void)[];
|
128
|
+
activated?: (() => void) | (() => void)[];
|
129
|
+
deactivated?: (() => void) | (() => void)[];
|
130
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
131
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
132
|
+
destroyed?: (() => void) | (() => void)[];
|
133
|
+
unmounted?: (() => void) | (() => void)[];
|
134
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
135
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
136
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
137
|
+
};
|
138
|
+
$forceUpdate: () => void;
|
139
|
+
$nextTick: typeof nextTick;
|
140
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
141
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "jump"> & import('vue').ShallowUnwrapRef<{
|
142
|
+
jump: (newDate: dayjs.Dayjs, oldDate?: dayjs.Dayjs) => Promise<void>;
|
143
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
144
|
+
$slots: {
|
145
|
+
extra?(_: {}): any;
|
146
|
+
};
|
147
|
+
}) | null;
|
148
|
+
}, any>;
|
48
149
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
49
150
|
export default _default;
|
50
151
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, useSlots, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createCommentVNode, renderSlot, withModifiers, Fragment, createVNode, createSlots, nextTick } from "vue";
|
1
|
+
import { defineComponent, useSlots, ref, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createCommentVNode, renderSlot, withModifiers, Fragment, createVNode, createSlots, nextTick } from "vue";
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -8,8 +8,8 @@ import { isArray } from "../_shared/utils/is.js";
|
|
8
8
|
import "../_shared/utils/locale.js";
|
9
9
|
import { isValidTimeRange } from "../_shared/utils/time.js";
|
10
10
|
import useTimePickerContext from "./hooks/useContext.js";
|
11
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
12
|
-
/* empty css
|
11
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
|
@@ -59,10 +59,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
59
59
|
unmountOnClose: { type: Boolean, default: false },
|
60
60
|
hideTrigger: { type: Boolean, default: false },
|
61
61
|
scrollbar: { type: Boolean, default: true },
|
62
|
-
scrollOffset: { default: 0 }
|
62
|
+
scrollOffset: { default: 0 },
|
63
|
+
watchValueChange: { type: Boolean, default: true }
|
63
64
|
},
|
64
65
|
emits: ["update:modelValue", "update:popupVisible", "change", "select", "clear", "popup-visible-change"],
|
65
|
-
setup(__props, { emit: __emit }) {
|
66
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
66
67
|
const $slots = useSlots();
|
67
68
|
const props = __props;
|
68
69
|
const emits = __emit;
|
@@ -79,6 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
79
80
|
format,
|
80
81
|
placeholder
|
81
82
|
} = useTimePickerContext().provide(props, emits);
|
83
|
+
const panelRef = ref();
|
82
84
|
const handleClear = () => {
|
83
85
|
computedValue.value = type.value == "time-range" ? [] : "";
|
84
86
|
emits("clear");
|
@@ -103,6 +105,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
103
105
|
}
|
104
106
|
computedValue.value = [];
|
105
107
|
};
|
108
|
+
__expose({
|
109
|
+
jump(date, oldDate) {
|
110
|
+
var _a;
|
111
|
+
(_a = panelRef.value) == null ? void 0 : _a.jump(date, oldDate);
|
112
|
+
}
|
113
|
+
});
|
106
114
|
return (_ctx, _cache) => {
|
107
115
|
return !_ctx.hideTrigger ? (openBlock(), createBlock(unref(Trigger), mergeProps({
|
108
116
|
key: 0,
|
@@ -120,7 +128,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
120
128
|
"prevent-focus": ""
|
121
129
|
}, _ctx.triggerProps), {
|
122
130
|
content: withCtx(() => [
|
123
|
-
createVNode(_sfc_main$3,
|
131
|
+
createVNode(_sfc_main$3, {
|
132
|
+
ref_key: "panelRef",
|
133
|
+
ref: panelRef
|
134
|
+
}, createSlots({ _: 2 }, [
|
124
135
|
$slots.extra ? {
|
125
136
|
name: "extra",
|
126
137
|
fn: withCtx(() => [
|
@@ -128,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
128
139
|
]),
|
129
140
|
key: "0"
|
130
141
|
} : void 0
|
131
|
-
]),
|
142
|
+
]), 1536)
|
132
143
|
]),
|
133
144
|
default: withCtx(() => [
|
134
145
|
createElementVNode("div", {
|
@@ -207,7 +218,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
207
218
|
], 6)
|
208
219
|
]),
|
209
220
|
_: 3
|
210
|
-
}, 16, ["popup-visible", "position", "popup-container", "unmount-on-close", "disabled"])) : (openBlock(), createBlock(_sfc_main$3, {
|
221
|
+
}, 16, ["popup-visible", "position", "popup-container", "unmount-on-close", "disabled"])) : (openBlock(), createBlock(_sfc_main$3, {
|
222
|
+
key: 1,
|
223
|
+
ref_key: "panelRef",
|
224
|
+
ref: panelRef
|
225
|
+
}, createSlots({ _: 2 }, [
|
211
226
|
$slots.extra ? {
|
212
227
|
name: "extra",
|
213
228
|
fn: withCtx(() => [
|
@@ -215,7 +230,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
215
230
|
]),
|
216
231
|
key: "0"
|
217
232
|
} : void 0
|
218
|
-
]),
|
233
|
+
]), 1536));
|
219
234
|
};
|
220
235
|
}
|
221
236
|
});
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { dayjs } from '../_shared/utils';
|
1
2
|
declare function __VLS_template(): {
|
2
3
|
attrs: Partial<{}>;
|
3
4
|
slots: {
|
@@ -7,7 +8,9 @@ declare function __VLS_template(): {
|
|
7
8
|
rootEl: HTMLDivElement;
|
8
9
|
};
|
9
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
12
|
+
jump: (newDate: dayjs.Dayjs, oldDate?: dayjs.Dayjs) => Promise<void>;
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
11
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
12
15
|
export default _default;
|
13
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|