yc-design-vue 1.9.4 → 1.9.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/es/Affix/index.vue.js +0 -2
- package/es/Alert/index.vue.js +1 -2
- package/es/Anchor/Anchor.vue.js +0 -2
- package/es/Anchor/AnchorLink.vue.js +0 -2
- package/es/Anchor/hooks/useContext.js +0 -2
- package/es/AutoComplete/index.d.ts +3 -3
- package/es/AutoComplete/index.vue.d.ts +6 -6
- package/es/AutoComplete/index.vue.js +0 -2
- package/es/Avatar/Avatar.vue.js +0 -1
- package/es/Avatar/AvatarGroup.vue.js +0 -2
- package/es/Badge/index.vue.js +0 -2
- package/es/Breadcrumb/Breadcrumb.vue.js +0 -2
- package/es/Breadcrumb/BreadcrumbItem.vue.js +0 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +0 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +0 -1
- package/es/Button/Button.vue.d.ts +1 -1
- package/es/Button/index.d.ts +3 -3
- package/es/Calendar/Calendar.vue.js +2 -3
- package/es/Calendar/CalendarMonth.vue.js +0 -2
- package/es/Calendar/CalendarYear.vue.js +0 -2
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.js +0 -2
- package/es/Card/index.d.ts +3 -3
- package/es/Carousel/Carousel.vue.js +0 -2
- package/es/Carousel/CarouselArrow.vue.js +0 -1
- package/es/Carousel/CarouselIndicator.vue.js +0 -2
- package/es/Carousel/hooks/useContext.js +0 -2
- package/es/Cascader/Cascader.vue.d.ts +1 -1
- package/es/Cascader/Cascader.vue.js +0 -2
- package/es/Cascader/CascaderIcon.vue.js +0 -1
- package/es/Cascader/CascaderOption.vue.js +0 -1
- package/es/Cascader/CascaderPanel.vue.js +2 -7
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -7
- package/es/Cascader/hooks/useContext.js +0 -2
- package/es/Cascader/index.d.ts +3 -3
- package/es/Checkbox/Checkbox.vue.js +2 -3
- package/es/Checkbox/hooks/useContext.js +0 -2
- package/es/Collapse/CollapseItem.vue.js +0 -1
- package/es/Collapse/hooks/useContext.js +0 -2
- package/es/ColorPicker/ColorControl.vue.js +0 -2
- package/es/ColorPicker/ColorInput.vue.js +0 -2
- package/es/ColorPicker/ColorList.vue.js +0 -2
- package/es/ColorPicker/ColorPalette.vue.js +0 -2
- package/es/ColorPicker/ColorPanel.vue.js +0 -2
- package/es/Comment/index.vue.js +0 -2
- package/es/ConfigProvider/type.d.ts +0 -5
- package/es/Descriptions/ReuseItem.vue.js +0 -2
- package/es/Descriptions/ReuseTd.vue.js +0 -2
- package/es/Divider/index.vue.js +0 -2
- package/es/Drawer/DrawerService.vue.js +0 -2
- package/es/Dropdown/Dropdown.vue.js +0 -2
- package/es/Dropdown/DropdownButton.vue.js +0 -1
- package/es/Dropdown/Dsubmenu.vue.js +2 -3
- package/es/Dropdown/hooks/useContext.js +0 -2
- package/es/Empty/index.vue.js +1 -2
- package/es/Grid/Grid.vue.js +0 -2
- package/es/Grid/GridCol.vue.js +0 -2
- package/es/Grid/GridItem.vue.js +0 -2
- package/es/Grid/GridRow.vue.js +0 -2
- package/es/Grid/hooks/useContext.js +0 -2
- package/es/Image/Image.vue.js +2 -3
- package/es/Image/ImagePreviewArrow.vue.js +0 -1
- package/es/Image/ImagePreviewToolbar.vue.js +0 -1
- package/es/Image/hooks/useContext.js +0 -2
- package/es/Input/InputSuffix.vue.js +0 -1
- package/es/Input/hooks/useLimitedInput.js +0 -2
- package/es/InputNumber/InputNumber.vue.js +0 -2
- package/es/InputNumber/InputOperaBtn.vue.js +0 -1
- package/es/Layout/Layout.vue.js +0 -2
- package/es/Layout/LayoutSider.vue.js +1 -2
- package/es/Layout/hooks/useSiderContext.js +0 -2
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/index.vue.js +0 -1
- package/es/List/List.vue.d.ts +1 -1
- package/es/List/List.vue.js +4 -3
- package/es/List/hooks/useScrollReach.js +0 -2
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +3 -3
- package/es/Mention/index.vue.d.ts +6 -6
- package/es/Mention/index.vue.js +0 -2
- package/es/Menu/Menu.vue.js +1 -2
- package/es/Menu/MenuEllipsis.vue.js +0 -1
- package/es/Menu/MenuItem.vue.js +0 -2
- package/es/Menu/MenuItemGroup.vue.js +0 -2
- package/es/Menu/SubMenu.vue.js +0 -1
- package/es/Menu/hooks/useContext.js +0 -2
- package/es/Message/Message.vue.js +1 -2
- package/es/Message/index.js +0 -2
- package/es/Modal/ModalService.vue.js +0 -2
- package/es/Modal/hooks/useModalClose.js +0 -2
- package/es/Modal/hooks/useModalDraggable.js +0 -2
- package/es/Modal/hooks/useOnBeforeClose.js +0 -2
- package/es/Notification/Notification.vue.js +1 -2
- package/es/Notification/index.js +0 -2
- package/es/OverflowList/index.vue.js +0 -2
- package/es/PageHeader/index.vue.js +0 -1
- package/es/Pagination/Pagination.vue.js +0 -2
- package/es/Pagination/PaginationItem.vue.js +0 -1
- package/es/Popconfirm/index.vue.js +0 -2
- package/es/Popover/index.vue.js +0 -2
- package/es/Progress/ProgressCircle.vue.js +2 -3
- package/es/Progress/ProgressLine.vue.js +0 -2
- package/es/Progress/ProgressSteps.vue.js +0 -2
- package/es/Radio/Radio.vue.js +1 -2
- package/es/Rate/index.vue.js +2 -3
- package/es/ResizeBox/index.vue.js +0 -1
- package/es/Scrollbar/Scrollbar.vue.js +0 -2
- package/es/Scrollbar/ScrollbarTrack.vue.js +0 -2
- package/es/Select/Option.vue.js +0 -2
- package/es/Select/Select.vue.d.ts +1 -1
- package/es/Select/Select.vue.js +0 -2
- package/es/Select/SelectIcon.vue.js +0 -1
- package/es/Select/SelectRealList.vue.js +0 -2
- package/es/Select/SelectView.vue.js +2 -7
- package/es/Select/SelectVirtualList.vue.js +0 -2
- package/es/Select/hooks/useContext.js +0 -2
- package/es/Select/hooks/useSelectOptions.js +0 -2
- package/es/Select/index.d.ts +3 -3
- package/es/Skeleton/Skeleton.vue.d.ts +1 -1
- package/es/Skeleton/SkeletonLine.vue.js +0 -2
- package/es/Skeleton/index.d.ts +3 -3
- package/es/Slider/SliderBtn.vue.js +0 -2
- package/es/Slider/hooks/useContext.js +0 -2
- package/es/Slider/hooks/useSliderDraggable.js +0 -2
- package/es/Space/index.vue.js +0 -2
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +4 -4
- package/es/Split/index.vue.js +0 -1
- package/es/Statistic/Countdown.vue.js +0 -2
- package/es/Statistic/Statistic.vue.js +0 -2
- package/es/Steps/Step.vue.js +0 -1
- package/es/Steps/hooks/useContext.js +0 -2
- package/es/Switch/index.d.ts +3 -3
- package/es/Switch/index.vue.d.ts +1 -1
- package/es/Tabs/TabButton.vue.js +1 -2
- package/es/Tabs/TabPane.vue.js +0 -2
- package/es/Tabs/Tabs.vue.js +3 -4
- package/es/Tabs/TabsNavInk.vue.js +0 -2
- package/es/Tabs/TabsTab.vue.js +0 -2
- package/es/Tabs/hooks/useTabsScroll.js +0 -2
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Textarea/hooks/useTextareaHeight.js +0 -2
- package/es/Textarea/index.vue.js +1 -2
- package/es/TimePicker/TimePickerPanel.vue.js +0 -2
- package/es/TimePicker/hooks/useContext.js +0 -2
- package/es/Timeline/TimelineItemPending.vue.js +0 -2
- package/es/Timeline/hooks/useContext.js +0 -2
- package/es/Tooltip/index.vue.js +0 -2
- package/es/Transfer/Transfer.vue.js +0 -1
- package/es/Transfer/TransferPanel.vue.js +4 -5
- package/es/Transfer/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useTriggerPosition.js +0 -1
- package/es/Typography/TypographyBase.vue.js +2 -3
- package/es/VerificationCode/index.vue.js +3 -5
- package/es/Watermark/index.vue.js +0 -2
- package/es/_shared/components/ExpandTransition.vue2.js +0 -2
- package/es/_shared/components/Icon.vue3.js +0 -2
- package/es/_shared/components/IconButton.vue.js +0 -1
- package/es/_shared/constants/index.js +0 -1
- package/es/_shared/icons/IconDelete.vue.js +1 -17
- package/es/_shared/icons/IconDelete.vue2.js +17 -1
- package/es/_shared/icons/IconExclamation.vue.js +1 -28
- package/es/_shared/icons/IconExclamation.vue2.js +28 -1
- package/es/_shared/icons/IconSearch.vue.js +1 -17
- package/es/_shared/icons/IconSearch.vue2.js +17 -1
- package/es/_shared/utils/control.js +0 -2
- package/es/_shared/utils/dom.js +1 -1
- package/es/_shared/utils/global-config.d.ts +2 -11
- package/es/_shared/utils/global-config.js +4 -20
- package/es/_shared/utils/locale.js +1 -1
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +3 -3
- package/lib/AutoComplete/index.vue.d.ts +6 -6
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.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/Button.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +3 -3
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/index.d.ts +3 -3
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +3 -3
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +0 -5
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.d.ts +1 -1
- package/lib/List/List.vue.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Mention/index.d.ts +3 -3
- package/lib/Mention/index.vue.d.ts +6 -6
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.js +1 -1
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.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/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +1 -1
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +3 -3
- package/lib/Skeleton/Skeleton.vue.d.ts +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/index.d.ts +3 -3
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.d.ts +3 -3
- package/lib/Switch/index.vue.d.ts +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.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/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +2 -11
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/es/Affix/index.vue.js
CHANGED
@@ -4,8 +4,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { findFirstScrollableParent, getElement, throttleByRaf, valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
9
|
...{
|
package/es/Alert/index.vue.js
CHANGED
@@ -5,10 +5,9 @@ import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
6
|
import "../_shared/utils/dom.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
import "../Empty/index.js";
|
9
|
-
/* empty css */
|
10
8
|
import "../_shared/utils/locale.js";
|
11
9
|
/* empty css */
|
10
|
+
/* empty css */
|
12
11
|
const _hoisted_1 = {
|
13
12
|
key: 0,
|
14
13
|
class: "yc-alert-icon"
|
package/es/Anchor/Anchor.vue.js
CHANGED
@@ -2,8 +2,6 @@ import { defineComponent, ref, computed, onMounted, createElementBlock, openBloc
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../_shared/utils/locale.js";
|
8
6
|
import useContext from "./hooks/useContext.js";
|
9
7
|
const _hoisted_1 = { class: "yc-anchor" };
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { getElement } from "../_shared/utils/dom.js";
|
4
4
|
import { isNumber } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useContext from "./hooks/useContext.js";
|
10
8
|
const _hoisted_1 = ["href"];
|
@@ -4,8 +4,6 @@ import { findFirstScrollableParent, getElement } from "../../_shared/utils/dom.j
|
|
4
4
|
import { isUndefined } from "../../_shared/utils/is.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
6
|
import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
|
7
|
-
import "../../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../../_shared/utils/locale.js";
|
10
8
|
import _sfc_main from "../AnchorLink.vue.js";
|
11
9
|
/* empty css */
|
@@ -533,11 +533,11 @@ declare const AutoComplete: {
|
|
533
533
|
defaultPopupVisible: boolean;
|
534
534
|
disabled: boolean;
|
535
535
|
popupContainer: import('..').PopupContainer;
|
536
|
-
loading: boolean;
|
537
536
|
error: boolean;
|
538
537
|
scrollbar: boolean;
|
539
538
|
multiple: boolean;
|
540
539
|
placeholder: string;
|
540
|
+
loading: boolean;
|
541
541
|
bordered: boolean;
|
542
542
|
modelValue: import('..').SelectValue;
|
543
543
|
defaultValue: import('..').SelectValue;
|
@@ -586,11 +586,11 @@ declare const AutoComplete: {
|
|
586
586
|
defaultPopupVisible: boolean;
|
587
587
|
disabled: boolean;
|
588
588
|
popupContainer: import('..').PopupContainer;
|
589
|
-
loading: boolean;
|
590
589
|
error: boolean;
|
591
590
|
scrollbar: boolean;
|
592
591
|
multiple: boolean;
|
593
592
|
placeholder: string;
|
593
|
+
loading: boolean;
|
594
594
|
bordered: boolean;
|
595
595
|
modelValue: import('..').SelectValue;
|
596
596
|
defaultValue: import('..').SelectValue;
|
@@ -627,7 +627,7 @@ declare const AutoComplete: {
|
|
627
627
|
onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
628
628
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
629
629
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
630
|
-
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "
|
630
|
+
}>, "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<{
|
631
631
|
focus(): void;
|
632
632
|
blur(): void;
|
633
633
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -491,11 +491,11 @@ declare function __VLS_template(): {
|
|
491
491
|
defaultPopupVisible: boolean;
|
492
492
|
disabled: boolean;
|
493
493
|
popupContainer: import('..').PopupContainer;
|
494
|
-
loading: boolean;
|
495
494
|
error: boolean;
|
496
495
|
scrollbar: boolean;
|
497
496
|
multiple: boolean;
|
498
497
|
placeholder: string;
|
498
|
+
loading: boolean;
|
499
499
|
bordered: boolean;
|
500
500
|
modelValue: import('../Select').SelectValue;
|
501
501
|
defaultValue: import('../Select').SelectValue;
|
@@ -544,11 +544,11 @@ declare function __VLS_template(): {
|
|
544
544
|
defaultPopupVisible: boolean;
|
545
545
|
disabled: boolean;
|
546
546
|
popupContainer: import('..').PopupContainer;
|
547
|
-
loading: boolean;
|
548
547
|
error: boolean;
|
549
548
|
scrollbar: boolean;
|
550
549
|
multiple: boolean;
|
551
550
|
placeholder: string;
|
551
|
+
loading: boolean;
|
552
552
|
bordered: boolean;
|
553
553
|
modelValue: import('../Select').SelectValue;
|
554
554
|
defaultValue: import('../Select').SelectValue;
|
@@ -585,7 +585,7 @@ declare function __VLS_template(): {
|
|
585
585
|
onExceedLimit?: ((value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
586
586
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
587
587
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
588
|
-
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "
|
588
|
+
}>, "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<{
|
589
589
|
focus(): void;
|
590
590
|
blur(): void;
|
591
591
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -1201,11 +1201,11 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1201
1201
|
defaultPopupVisible: boolean;
|
1202
1202
|
disabled: boolean;
|
1203
1203
|
popupContainer: import('..').PopupContainer;
|
1204
|
-
loading: boolean;
|
1205
1204
|
error: boolean;
|
1206
1205
|
scrollbar: boolean;
|
1207
1206
|
multiple: boolean;
|
1208
1207
|
placeholder: string;
|
1208
|
+
loading: boolean;
|
1209
1209
|
bordered: boolean;
|
1210
1210
|
modelValue: import('../Select').SelectValue;
|
1211
1211
|
defaultValue: import('../Select').SelectValue;
|
@@ -1254,11 +1254,11 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1254
1254
|
defaultPopupVisible: boolean;
|
1255
1255
|
disabled: boolean;
|
1256
1256
|
popupContainer: import('..').PopupContainer;
|
1257
|
-
loading: boolean;
|
1258
1257
|
error: boolean;
|
1259
1258
|
scrollbar: boolean;
|
1260
1259
|
multiple: boolean;
|
1261
1260
|
placeholder: string;
|
1261
|
+
loading: boolean;
|
1262
1262
|
bordered: boolean;
|
1263
1263
|
modelValue: import('../Select').SelectValue;
|
1264
1264
|
defaultValue: import('../Select').SelectValue;
|
@@ -1295,7 +1295,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1295
1295
|
onExceedLimit?: ((value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1296
1296
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1297
1297
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1298
|
-
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "
|
1298
|
+
}>, "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<{
|
1299
1299
|
focus(): void;
|
1300
1300
|
blur(): void;
|
1301
1301
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isObject } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../_shared/utils/control.js";
|
10
8
|
import Select from "../Select/index.js";
|
package/es/Avatar/Avatar.vue.js
CHANGED
@@ -3,7 +3,6 @@ import { useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
/* empty css */
|
9
8
|
import _sfc_main$1 from "../_shared/icons/IconImageClose.vue.js";
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useContext from "./hooks/useContext.js";
|
10
8
|
import Avatar from "./index.js";
|
package/es/Badge/index.vue.js
CHANGED
@@ -2,8 +2,6 @@ import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBl
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../_shared/utils/locale.js";
|
8
6
|
import { TAG_PRESET_COLORS } from "../_shared/constants/index.js";
|
9
7
|
const _hoisted_1 = {
|
@@ -4,8 +4,6 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isString } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
8
|
import "./index.js";
|
11
9
|
import _sfc_main$3 from "./BreadcrumbSeparator.vue.js";
|
@@ -3,7 +3,6 @@ import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
/* empty css */
|
9
8
|
import Dropdown from "../Dropdown/index.js";
|
@@ -2,7 +2,6 @@ import { defineComponent, createBlock, openBlock, withCtx, resolveDynamicCompone
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
5
|
import "../_shared/utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
|
@@ -3,7 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
/* empty css */
|
9
8
|
import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
|
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
|
|
21
21
|
}>, {
|
22
22
|
size: import('..').Size;
|
23
23
|
disabled: boolean;
|
24
|
-
loading: boolean;
|
25
24
|
type: import('./type').ButtonType;
|
25
|
+
loading: boolean;
|
26
26
|
href: string;
|
27
27
|
shape: import('./type').ButtonShape;
|
28
28
|
status: import('./type').ButtonStatus;
|
package/es/Button/index.d.ts
CHANGED
@@ -20,8 +20,8 @@ declare const Button: {
|
|
20
20
|
}, import('vue').PublicProps, {
|
21
21
|
size: import('..').Size;
|
22
22
|
disabled: boolean;
|
23
|
-
loading: boolean;
|
24
23
|
type: import('./type').ButtonType;
|
24
|
+
loading: boolean;
|
25
25
|
href: string;
|
26
26
|
shape: import('./type').ButtonShape;
|
27
27
|
status: import('./type').ButtonStatus;
|
@@ -44,8 +44,8 @@ declare const Button: {
|
|
44
44
|
}>, {}, {}, {}, {}, {
|
45
45
|
size: import('..').Size;
|
46
46
|
disabled: boolean;
|
47
|
-
loading: boolean;
|
48
47
|
type: import('./type').ButtonType;
|
48
|
+
loading: boolean;
|
49
49
|
href: string;
|
50
50
|
shape: import('./type').ButtonShape;
|
51
51
|
status: import('./type').ButtonStatus;
|
@@ -71,8 +71,8 @@ declare const Button: {
|
|
71
71
|
}, string, {
|
72
72
|
size: import('..').Size;
|
73
73
|
disabled: boolean;
|
74
|
-
loading: boolean;
|
75
74
|
type: import('./type').ButtonType;
|
75
|
+
loading: boolean;
|
76
76
|
href: string;
|
77
77
|
shape: import('./type').ButtonShape;
|
78
78
|
status: import('./type').ButtonStatus;
|
@@ -3,11 +3,10 @@ import dayjs from "../node_modules/dayjs/dayjs.min.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
|
-
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
9
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
10
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
+
/* empty css */
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
11
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
12
11
|
/* empty css */
|
13
12
|
/* empty css */
|
@@ -3,8 +3,6 @@ import dayjs from "../node_modules/dayjs/dayjs.min.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import { generateMonthCalendar } from "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../_shared/utils/control.js";
|
10
8
|
const _hoisted_1 = { class: "yc-calendar-week-list" };
|
@@ -2,8 +2,6 @@ import { defineComponent, toRefs, ref, computed, watch, createElementBlock, open
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { generateMonthCalendar } from "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import { useI18n } from "../_shared/utils/locale.js";
|
8
6
|
import _sfc_main$1 from "./CalendarMonth.vue.js";
|
9
7
|
/* empty css */
|
package/es/Card/Card.vue.d.ts
CHANGED
@@ -8,9 +8,9 @@ declare function __VLS_template(): {
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<CardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
10
10
|
size: import('./type').CardSize;
|
11
|
-
loading: boolean;
|
12
11
|
title: string;
|
13
12
|
hoverable: boolean;
|
13
|
+
loading: boolean;
|
14
14
|
bordered: boolean;
|
15
15
|
headerStyle: import('vue').CSSProperties;
|
16
16
|
bodyStyle: import('vue').CSSProperties;
|
package/es/Card/CardMeta.vue.js
CHANGED
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useContext from "./hooks/useContext.js";
|
10
8
|
const _hoisted_1 = { class: "yc-card-meta" };
|
package/es/Card/index.d.ts
CHANGED
@@ -9,9 +9,9 @@ export * from './type';
|
|
9
9
|
declare const Card: {
|
10
10
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').CardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
11
11
|
size: import('./type').CardSize;
|
12
|
-
loading: boolean;
|
13
12
|
title: string;
|
14
13
|
hoverable: boolean;
|
14
|
+
loading: boolean;
|
15
15
|
bordered: boolean;
|
16
16
|
headerStyle: import('vue').CSSProperties;
|
17
17
|
bodyStyle: import('vue').CSSProperties;
|
@@ -25,9 +25,9 @@ declare const Card: {
|
|
25
25
|
Defaults: {};
|
26
26
|
}, Readonly<import('./type').CardProps> & Readonly<{}>, {}, {}, {}, {}, {
|
27
27
|
size: import('./type').CardSize;
|
28
|
-
loading: boolean;
|
29
28
|
title: string;
|
30
29
|
hoverable: boolean;
|
30
|
+
loading: boolean;
|
31
31
|
bordered: boolean;
|
32
32
|
headerStyle: import('vue').CSSProperties;
|
33
33
|
bodyStyle: import('vue').CSSProperties;
|
@@ -38,9 +38,9 @@ declare const Card: {
|
|
38
38
|
__isSuspense?: never;
|
39
39
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').CardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
40
40
|
size: import('./type').CardSize;
|
41
|
-
loading: boolean;
|
42
41
|
title: string;
|
43
42
|
hoverable: boolean;
|
43
|
+
loading: boolean;
|
44
44
|
bordered: boolean;
|
45
45
|
headerStyle: import('vue').CSSProperties;
|
46
46
|
bodyStyle: import('vue').CSSProperties;
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isObject } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useContext from "./hooks/useContext.js";
|
10
8
|
import _sfc_main$2 from "./CarouselArrow.vue.js";
|
@@ -2,7 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
5
|
import "../_shared/utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -2,8 +2,6 @@ import { defineComponent, createElementBlock, openBlock, normalizeClass, createC
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../_shared/utils/locale.js";
|
8
6
|
import useContext from "./hooks/useContext.js";
|
9
7
|
const _hoisted_1 = ["onMouseenter", "onClick"];
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { sleep } from "../../_shared/utils/dom.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../../_shared/utils/control.js";
|
10
8
|
import _sfc_main from "../CarouselItem.vue.js";
|
@@ -207,10 +207,10 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
207
207
|
defaultPopupVisible: boolean;
|
208
208
|
disabled: boolean;
|
209
209
|
popupContainer: import('..').PopupContainer;
|
210
|
-
loading: boolean;
|
211
210
|
error: boolean;
|
212
211
|
multiple: boolean;
|
213
212
|
placeholder: string;
|
213
|
+
loading: boolean;
|
214
214
|
modelValue: import('./type').CascaderValue;
|
215
215
|
defaultValue: import('./type').CascaderValue;
|
216
216
|
allowClear: boolean;
|
@@ -2,8 +2,6 @@ import { defineComponent, ref, computed, createBlock, openBlock, unref, mergePro
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { sleep } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../_shared/utils/locale.js";
|
8
6
|
import useContext from "./hooks/useContext.js";
|
9
7
|
import Input from "../Input/index.js";
|
@@ -4,7 +4,6 @@ import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
|
-
import "../Empty/index.js";
|
8
7
|
import "../_shared/utils/locale.js";
|
9
8
|
/* empty css */
|
10
9
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
@@ -3,7 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { sleep } from "../_shared/utils/dom.js";
|
4
4
|
import { isFunction } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
/* empty css */
|
9
8
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -3,12 +3,8 @@ import useContext, { findOptions } from "./hooks/useContext.js";
|
|
3
3
|
import _sfc_main$1 from "./CascaderOption.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import Scrollbar from "../Scrollbar/index.js";
|
6
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
-
import "../_shared/utils/dom.js";
|
8
|
-
import "../_shared/utils/time.js";
|
9
|
-
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
10
|
-
import "../_shared/utils/locale.js";
|
11
6
|
import Spin from "../Spin/index.js";
|
7
|
+
import Empty from "../Empty/index.js";
|
12
8
|
const _hoisted_1 = {
|
13
9
|
role: "menu",
|
14
10
|
class: "yc-cascader-list"
|
@@ -16,7 +12,6 @@ const _hoisted_1 = {
|
|
16
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
17
13
|
__name: "CascaderPanel",
|
18
14
|
setup(__props) {
|
19
|
-
const { renderEmpty } = getGlobalConfig();
|
20
15
|
const { options, curLevel, curPath, maxLevel, loading, slots } = useContext().inject();
|
21
16
|
return (_ctx, _cache) => {
|
22
17
|
return openBlock(), createBlock(TransitionGroup, {
|
@@ -28,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
23
|
unref(loading) ? (openBlock(), createBlock(unref(Spin), {
|
29
24
|
key: 0,
|
30
25
|
loading: unref(loading)
|
31
|
-
}, null, 8, ["loading"])) : !unref(options).length ? (openBlock(), createBlock(resolveDynamicComponent(unref(slots).empty || unref(
|
26
|
+
}, null, 8, ["loading"])) : !unref(options).length ? (openBlock(), createBlock(resolveDynamicComponent(unref(slots).empty || unref(Empty)), { key: 1 })) : (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(unref(maxLevel), (i) => {
|
32
27
|
return withDirectives((openBlock(), createElementBlock("div", {
|
33
28
|
key: i,
|
34
29
|
style: normalizeStyle({
|
@@ -1,13 +1,9 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createCommentVNode, createVNode, unref, createBlock, resolveDynamicComponent, withCtx, createElementVNode, Fragment, renderList, mergeProps } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
|
-
import "../_shared/utils/dom.js";
|
5
|
-
import "../_shared/utils/time.js";
|
6
|
-
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
|
-
import "../_shared/utils/locale.js";
|
8
3
|
import _sfc_main$1 from "./CascaderOption.vue.js";
|
9
4
|
/* empty css */
|
10
5
|
import Scrollbar from "../Scrollbar/index.js";
|
6
|
+
import Empty from "../Empty/index.js";
|
11
7
|
const _hoisted_1 = { class: "yc-cascader-panel yc-cascader-search-panel" };
|
12
8
|
const _hoisted_2 = {
|
13
9
|
key: 0,
|
@@ -20,12 +16,11 @@ const _hoisted_3 = {
|
|
20
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
21
17
|
__name: "CascaderSearchPanel",
|
22
18
|
setup(__props) {
|
23
|
-
const { renderEmpty } = getGlobalConfig();
|
24
19
|
const { searchOptions, slots } = useContext().inject();
|
25
20
|
return (_ctx, _cache) => {
|
26
21
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
27
22
|
!unref(searchOptions).length ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
28
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(slots).empty || unref(
|
23
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(slots).empty || unref(Empty))))
|
29
24
|
])) : createCommentVNode("", true),
|
30
25
|
createVNode(unref(Scrollbar), { class: "yc-cascader-column-content" }, {
|
31
26
|
default: withCtx(() => [
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import { isBoolean, isFunction, isArray, isObject } from "../../_shared/utils/is.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../../_shared/utils/control.js";
|
10
8
|
const CASCADER_CONTEXT_KEY = "cascader-context";
|
package/es/Cascader/index.d.ts
CHANGED
@@ -31,10 +31,10 @@ declare const Cascader: {
|
|
31
31
|
defaultPopupVisible: boolean;
|
32
32
|
disabled: boolean;
|
33
33
|
popupContainer: import('..').PopupContainer;
|
34
|
-
loading: boolean;
|
35
34
|
error: boolean;
|
36
35
|
multiple: boolean;
|
37
36
|
placeholder: string;
|
37
|
+
loading: boolean;
|
38
38
|
modelValue: import('./type').CascaderValue;
|
39
39
|
defaultValue: import('./type').CascaderValue;
|
40
40
|
allowClear: boolean;
|
@@ -232,10 +232,10 @@ declare const Cascader: {
|
|
232
232
|
defaultPopupVisible: boolean;
|
233
233
|
disabled: boolean;
|
234
234
|
popupContainer: import('..').PopupContainer;
|
235
|
-
loading: boolean;
|
236
235
|
error: boolean;
|
237
236
|
multiple: boolean;
|
238
237
|
placeholder: string;
|
238
|
+
loading: boolean;
|
239
239
|
modelValue: import('./type').CascaderValue;
|
240
240
|
defaultValue: import('./type').CascaderValue;
|
241
241
|
allowClear: boolean;
|
@@ -289,10 +289,10 @@ declare const Cascader: {
|
|
289
289
|
defaultPopupVisible: boolean;
|
290
290
|
disabled: boolean;
|
291
291
|
popupContainer: import('..').PopupContainer;
|
292
|
-
loading: boolean;
|
293
292
|
error: boolean;
|
294
293
|
multiple: boolean;
|
295
294
|
placeholder: string;
|
295
|
+
loading: boolean;
|
296
296
|
modelValue: import('./type').CascaderValue;
|
297
297
|
defaultValue: import('./type').CascaderValue;
|
298
298
|
allowClear: boolean;
|
@@ -3,12 +3,11 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
|
-
import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
9
6
|
import "../_shared/utils/locale.js";
|
10
7
|
import useControlValue from "../_shared/utils/control.js";
|
11
8
|
import useContext from "./hooks/useContext.js";
|
9
|
+
/* empty css */
|
10
|
+
import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
12
11
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
13
12
|
/* empty css */
|
14
13
|
/* empty css */
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import { isObject } from "../../_shared/utils/is.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../../_shared/utils/control.js";
|
10
8
|
const CHECKBOX_GROUP_CONTEXT_KEY = "checkbox-group-context";
|
@@ -3,7 +3,6 @@ import useContext from "./hooks/useContext.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
/* empty css */
|
9
8
|
import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
|
@@ -2,8 +2,6 @@ import { toRefs, useSlots, provide, inject, ref, computed } from "vue";
|
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
|
-
import "../../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../../_shared/utils/locale.js";
|
8
6
|
import useControlValue from "../../_shared/utils/control.js";
|
9
7
|
const COLLAPSE_CONTEXT_KEY = "collapse-context";
|
@@ -3,8 +3,6 @@ import { useDraggable } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import { parseColor, GradientColorCalculator } from "../_shared/utils/color.js";
|
4
4
|
import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
8
|
__name: "ColorControl",
|