yc-design-vue 1.9.4 → 1.9.6
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 +2 -3
- 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 +6 -6
- package/es/AutoComplete/index.vue.d.ts +12 -12
- 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 +1 -2
- package/es/Button/Button.vue.d.ts +1 -1
- package/es/Button/index.d.ts +3 -3
- package/es/Calendar/Calendar.vue.js +3 -4
- 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 +1 -2
- 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 +3 -4
- package/es/Checkbox/hooks/useContext.js +0 -2
- package/es/Collapse/CollapseItem.vue.js +2 -3
- 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/index.d.ts +0 -6
- package/es/ConfigProvider/index.vue.d.ts +0 -2
- package/es/ConfigProvider/index.vue.js +3 -8
- package/es/ConfigProvider/type.d.ts +0 -7
- 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/Drawer.vue.js +4 -5
- package/es/Drawer/DrawerService.vue.js +0 -2
- package/es/Dropdown/Doption.vue.js +0 -3
- package/es/Dropdown/Dropdown.vue.js +1 -5
- package/es/Dropdown/DropdownButton.vue.js +0 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +6 -6
- package/es/Dropdown/Dsubmenu.vue.js +9 -13
- package/es/Dropdown/hooks/useContext.js +0 -2
- package/es/Dropdown/index.css +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- 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/ImagePreview.vue.js +3 -4
- 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/Input.vue.js +1 -1
- package/es/Input/InputSuffix.vue.js +1 -2
- 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/InputTag/index.vue.js +1 -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/Layout/index.css +1 -1
- 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 +6 -6
- package/es/Mention/index.vue.d.ts +12 -12
- package/es/Mention/index.vue.js +0 -2
- package/es/Menu/Menu.vue.js +1 -2
- package/es/Menu/MenuEllipsis.vue.js +2 -2
- package/es/Menu/MenuItem.vue.js +2 -3
- package/es/Menu/MenuItemGroup.vue.js +0 -2
- package/es/Menu/SubMenu.vue.js +2 -3
- package/es/Menu/hooks/useContext.js +2 -6
- package/es/Menu/index.css +1 -1
- package/es/Message/Message.vue.js +2 -3
- package/es/Message/index.js +0 -2
- package/es/Modal/Modal.vue.js +4 -5
- 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 +2 -3
- package/es/Notification/index.js +0 -2
- package/es/OverflowList/index.vue.js +0 -2
- package/es/PageHeader/index.vue.js +1 -2
- package/es/Pagination/Pagination.vue.js +0 -2
- package/es/Pagination/PaginationItem.vue.js +0 -1
- package/es/Popconfirm/index.d.ts +3 -3
- package/es/Popconfirm/index.vue.d.ts +6 -6
- 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 +2 -3
- 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 +7 -7
- package/es/Select/Select.vue.js +0 -2
- package/es/Select/SelectIcon.vue.js +1 -2
- 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 +6 -6
- 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 +2 -3
- 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/Tag/index.vue.js +1 -1
- package/es/Textarea/hooks/useTextareaHeight.js +0 -2
- package/es/Textarea/index.vue.js +2 -3
- package/es/TimePicker/TimePicker.vue.js +1 -1
- 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 +3 -4
- package/es/Transfer/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useTriggerPosition.js +2 -2
- package/es/Trigger/hooks/useTriggerVisible.js +1 -2
- package/es/Trigger/index.css +1 -1
- package/es/Trigger/index.d.ts +3 -3
- package/es/Trigger/index.vue.d.ts +1 -1
- package/es/Trigger/index.vue.js +6 -7
- package/es/Typography/TypographyBase.vue.js +2 -3
- package/es/VerificationCode/index.vue.js +3 -5
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +0 -2
- package/es/_shared/components/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +0 -2
- package/es/_shared/components/ExpandTransition.vue3.js +2 -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/IconExclamation.vue.js +1 -28
- package/es/_shared/icons/IconExclamation.vue2.js +28 -1
- package/es/_shared/icons/IconSeparator.vue.js +17 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -17
- 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 -16
- package/es/_shared/utils/global-config.js +10 -29
- package/es/_shared/utils/locale.js +2 -2
- package/es/index.d.ts +3 -3
- 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 +6 -6
- package/lib/AutoComplete/index.vue.d.ts +12 -12
- 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/index.d.ts +0 -6
- package/lib/ConfigProvider/index.vue.d.ts +0 -2
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +0 -7
- 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/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/Doption.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.d.ts +6 -6
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.css +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- 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/ImagePreview.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/Input.vue.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/InputTag/index.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/Layout/index.css +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 +6 -6
- package/lib/Mention/index.vue.d.ts +12 -12
- 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/Menu/index.css +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.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.d.ts +3 -3
- package/lib/Popconfirm/index.vue.d.ts +6 -6
- 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 +7 -7
- 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 +6 -6
- 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/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.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/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.css +1 -1
- package/lib/Trigger/index.d.ts +3 -3
- package/lib/Trigger/index.vue.d.ts +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- 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/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue.js +1 -0
- package/lib/_shared/components/ExpandTransition.vue3.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/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +2 -16
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/locale.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Layout/hooks/useTheme.d.ts +0 -4
- package/es/Layout/hooks/useTheme.js +0 -33
- package/lib/Layout/hooks/useTheme.d.ts +0 -4
- package/lib/Layout/hooks/useTheme.js +0 -1
- package/lib/_shared/components/ExpandTransition.vue2.js +0 -1
- /package/es/{public → src/lang}/lang-es/zh-cn.js +0 -0
- /package/lib/{public → src/lang}/lang-es/zh-cn.js +0 -0
package/es/Dropdown/index.d.ts
CHANGED
@@ -373,6 +373,7 @@ declare const Dropdown: {
|
|
373
373
|
focusDelay: number;
|
374
374
|
disabled: boolean;
|
375
375
|
scrollToCloseDistance: number;
|
376
|
+
scrollToClose: boolean;
|
376
377
|
autoSetPosition: boolean;
|
377
378
|
alignPoint: boolean;
|
378
379
|
position: import('..').TriggerPostion;
|
@@ -393,7 +394,6 @@ declare const Dropdown: {
|
|
393
394
|
autoFitPosition: boolean;
|
394
395
|
updateAtScroll: boolean;
|
395
396
|
preventFocus: boolean;
|
396
|
-
scrollToClose: boolean;
|
397
397
|
needTransformOrigin: boolean;
|
398
398
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
399
399
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -427,6 +427,7 @@ declare const Dropdown: {
|
|
427
427
|
focusDelay: number;
|
428
428
|
disabled: boolean;
|
429
429
|
scrollToCloseDistance: number;
|
430
|
+
scrollToClose: boolean;
|
430
431
|
autoSetPosition: boolean;
|
431
432
|
alignPoint: boolean;
|
432
433
|
position: import('..').TriggerPostion;
|
@@ -447,14 +448,13 @@ declare const Dropdown: {
|
|
447
448
|
autoFitPosition: boolean;
|
448
449
|
updateAtScroll: boolean;
|
449
450
|
preventFocus: boolean;
|
450
|
-
scrollToClose: boolean;
|
451
451
|
needTransformOrigin: boolean;
|
452
452
|
}> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
|
453
453
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
454
454
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
455
455
|
onShow?: (() => any) | undefined;
|
456
456
|
onHide?: (() => any) | undefined;
|
457
|
-
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "
|
457
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
458
458
|
hide(): void;
|
459
459
|
show(): void;
|
460
460
|
updatePosition(x: number, y: number): void;
|
package/es/Empty/index.vue.js
CHANGED
@@ -2,10 +2,9 @@ import { defineComponent, toRefs, createElementBlock, openBlock, createElementVN
|
|
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 "
|
5
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
|
8
|
-
import { useI18n } from "../_shared/utils/locale.js";
|
9
8
|
const _hoisted_1 = { class: "yc-empty" };
|
10
9
|
const _hoisted_2 = { class: "yc-empty-image" };
|
11
10
|
const _hoisted_3 = ["src"];
|
package/es/Grid/Grid.vue.js
CHANGED
@@ -2,8 +2,6 @@ import { defineComponent, createElementBlock, openBlock, normalizeStyle, unref,
|
|
2
2
|
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
|
-
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 _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Grid/GridCol.vue.js
CHANGED
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { getBreakpointValue, valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import { isString } 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 _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Grid/GridItem.vue.js
CHANGED
@@ -2,8 +2,6 @@ import { defineComponent, toRefs, computed, withDirectives, createElementBlock,
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { getBreakpointValue, 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 _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Grid/GridRow.vue.js
CHANGED
@@ -2,8 +2,6 @@ import { defineComponent, toRefs, createElementBlock, openBlock, normalizeStyle,
|
|
2
2
|
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
|
-
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 _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { getBreakpointValue } from "../../_shared/utils/dom.js";
|
4
4
|
import { isArray } 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 { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
10
8
|
const GRID_CONTEXT_KEY = "grid-context";
|
package/es/Image/Image.vue.js
CHANGED
@@ -2,11 +2,10 @@ import { defineComponent, toRefs, ref, watch, createElementBlock, openBlock, nor
|
|
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
|
-
import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
|
8
5
|
import { useI18n } from "../_shared/utils/locale.js";
|
9
6
|
import useControlValue from "../_shared/utils/control.js";
|
7
|
+
/* empty css */
|
8
|
+
import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
|
10
9
|
import useContext from "./hooks/useContext.js";
|
11
10
|
import Spin from "../Spin/index.js";
|
12
11
|
import _sfc_main$1 from "./ImagePreview.vue.js";
|
@@ -52,10 +52,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
52
|
defaultScale,
|
53
53
|
zoomRate,
|
54
54
|
wheelZoom,
|
55
|
-
keyboard
|
56
|
-
popupContainer: _popupContainer
|
55
|
+
keyboard
|
57
56
|
} = toRefs(props);
|
58
|
-
const { zIndex, popupContainer } = getGlobalConfig(props);
|
57
|
+
const { zIndex, popupContainer, isAbsolute } = getGlobalConfig(props);
|
59
58
|
const imageRef = ref();
|
60
59
|
const scale = useControlValue(ref(), defaultScale.value);
|
61
60
|
const rotate = ref(0);
|
@@ -137,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
137
136
|
"yc-image-preview",
|
138
137
|
_ctx.$attrs.class,
|
139
138
|
{
|
140
|
-
"yc-image-preview-absolute": unref(
|
139
|
+
"yc-image-preview-absolute": unref(isAbsolute)
|
141
140
|
}
|
142
141
|
]),
|
143
142
|
style: normalizeStyle({
|
@@ -2,7 +2,6 @@ import { defineComponent, createElementBlock, openBlock, normalizeClass, createV
|
|
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,7 +2,6 @@ import { defineComponent, createElementBlock, createCommentVNode, openBlock, ren
|
|
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 { useI18n } from "../_shared/utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
|
@@ -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 { 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 "../Image.vue.js";
|
package/es/Input/Input.vue.js
CHANGED
@@ -9,7 +9,7 @@ import useLimitedInput from "./hooks/useLimitedInput.js";
|
|
9
9
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
import _sfc_main$3 from "./InputSuffix.vue.js";
|
15
15
|
/* empty css */
|
@@ -2,7 +2,6 @@ import { defineComponent, createBlock, openBlock, unref, withCtx, createElementB
|
|
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$4 from "../_shared/icons/IconEyeClose.vue2.js";
|
@@ -10,7 +9,7 @@ import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue2.js";
|
|
10
9
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
11
10
|
/* empty css */
|
12
11
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
14
13
|
const _hoisted_1 = {
|
15
14
|
key: 0,
|
16
15
|
class: "yc-input-word-limit"
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import { isNumber, isFunction, isUndefined } 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 useCursor from "./useCursor.js";
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { sleep } from "../_shared/utils/dom.js";
|
4
4
|
import { isString, isFunction, 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 useControlValue from "../_shared/utils/control.js";
|
10
8
|
import _sfc_main$1 from "./InputOperaBtn.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 _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
|
package/es/InputTag/index.vue.js
CHANGED
@@ -12,7 +12,7 @@ import Tag from "../Tag/index.js";
|
|
12
12
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
13
13
|
/* empty css */
|
14
14
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
15
|
-
/* empty css
|
15
|
+
/* empty css */
|
16
16
|
/* empty css */
|
17
17
|
const _hoisted_1 = ["disabled", "readonly", "placeholder"];
|
18
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Layout/Layout.vue.js
CHANGED
@@ -3,8 +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
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import _sfc_main$1 from "./LayoutSider.vue.js";
|
10
8
|
/* empty css */
|
@@ -2,10 +2,9 @@ import { defineComponent, toRefs, ref, computed, createBlock, createElementBlock
|
|
2
2
|
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
|
-
import "../
|
5
|
+
import "../_shared/utils/locale.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
8
|
-
import "../_shared/utils/locale.js";
|
9
8
|
import useSiderContext from "./hooks/useSiderContext.js";
|
10
9
|
import ResizeBox from "../ResizeBox/index.js";
|
11
10
|
const _hoisted_1 = { class: "yc-layout-sider-children" };
|
@@ -2,8 +2,6 @@ import { toRefs, computed, provide, inject, ref } 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 LAYOUT_CONTEXT_KEY = "LAYOUT-CONTEXT";
|
package/es/Layout/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-layout{flex:1;width:100%;height:100%;display:flex;flex-direction:column}.yc-layout-has-sider{flex-direction:row}.yc-layout,.yc-layout-header,.yc-layout-footer,.yc-layout-sider,.yc-layout-content{flex-shrink:0}.yc-layout-header,.yc-layout-footer{width:100%}.yc-layout-sider{height:100%}.yc-layout-content{flex:1}.yc-layout-sider{position:relative;flex:none;margin:0;padding:0;transition:width .2s cubic-bezier(.34, .69, .1, 1)}body[yc-design-theme='dark'] .yc-layout-sider{background-color:#232324}.yc-layout-sider .yc-layout-sider-children{height:100%;overflow:auto}.yc-layout-sider .yc-layout-sider-trigger{position:absolute;left:0;bottom:0;cursor:pointer;height:48px;width:100%;display:flex;justify-content:center;align-items:center}.yc-layout-sider-has-trigger{padding-bottom:48px}.yc-layout-sider-translation{transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-layout-sider-light{background-color
|
1
|
+
.yc-layout{flex:1;width:100%;height:100%;display:flex;flex-direction:column}.yc-layout-has-sider{flex-direction:row}.yc-layout,.yc-layout-header,.yc-layout-footer,.yc-layout-sider,.yc-layout-content{flex-shrink:0}.yc-layout-header,.yc-layout-footer{width:100%}.yc-layout-sider{height:100%}.yc-layout-content{flex:1}.yc-layout-sider{position:relative;flex:none;margin:0;padding:0;transition:width .2s cubic-bezier(.34, .69, .1, 1)}body[yc-design-theme='dark'] .yc-layout-sider{background-color:#232324}.yc-layout-sider .yc-layout-sider-children{height:100%;overflow:auto}.yc-layout-sider .yc-layout-sider-trigger{position:absolute;left:0;bottom:0;cursor:pointer;height:48px;width:100%;display:flex;justify-content:center;align-items:center}.yc-layout-sider-has-trigger{padding-bottom:48px}.yc-layout-sider-translation{transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-layout-sider-light{background-color:var(--color-menu-light-bg);box-shadow:0 2px 5px 0 rgba(0,0,0,0.08)}.yc-layout-sider-light .yc-layout-sider-trigger{background-color:unset;border-top:1px solid var(--color-bg-5);color:var(--color-text-1)}.yc-layout-sider-dark{background-color:var(--color-menu-dark-bg);box-shadow:none}.yc-layout-sider-dark .yc-layout-sider-trigger{background-color:rgba(255,255,255,0.2);border-top:none;color:var(--color-white)}
|
package/es/Link/index.d.ts
CHANGED
@@ -13,9 +13,9 @@ declare const Link: {
|
|
13
13
|
dblclick: (event: MouseEvent) => any;
|
14
14
|
}, import('vue').PublicProps, {
|
15
15
|
disabled: boolean;
|
16
|
-
loading: boolean;
|
17
16
|
icon: boolean;
|
18
17
|
hoverable: boolean;
|
18
|
+
loading: boolean;
|
19
19
|
href: string;
|
20
20
|
status: import('./type').LinkStatus;
|
21
21
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
|
@@ -31,9 +31,9 @@ declare const Link: {
|
|
31
31
|
onDblclick?: ((event: MouseEvent) => any) | undefined;
|
32
32
|
}>, {}, {}, {}, {}, {
|
33
33
|
disabled: boolean;
|
34
|
-
loading: boolean;
|
35
34
|
icon: boolean;
|
36
35
|
hoverable: boolean;
|
36
|
+
loading: boolean;
|
37
37
|
href: string;
|
38
38
|
status: import('./type').LinkStatus;
|
39
39
|
}>;
|
@@ -50,9 +50,9 @@ declare const Link: {
|
|
50
50
|
dblclick: (event: MouseEvent) => any;
|
51
51
|
}, string, {
|
52
52
|
disabled: boolean;
|
53
|
-
loading: boolean;
|
54
53
|
icon: boolean;
|
55
54
|
hoverable: boolean;
|
55
|
+
loading: boolean;
|
56
56
|
href: string;
|
57
57
|
status: import('./type').LinkStatus;
|
58
58
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Link/index.vue.d.ts
CHANGED
@@ -16,9 +16,9 @@ declare const __VLS_component: import('vue').DefineComponent<LinkProps, {}, {},
|
|
16
16
|
onDblclick?: ((event: MouseEvent) => any) | undefined;
|
17
17
|
}>, {
|
18
18
|
disabled: boolean;
|
19
|
-
loading: boolean;
|
20
19
|
icon: boolean;
|
21
20
|
hoverable: boolean;
|
21
|
+
loading: boolean;
|
22
22
|
href: string;
|
23
23
|
status: import('./type').LinkStatus;
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
package/es/Link/index.vue.js
CHANGED
@@ -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/IconLink.vue.js";
|
package/es/List/List.vue.d.ts
CHANGED
@@ -150,11 +150,11 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
150
150
|
"onPage-change"?: ((value: number) => any) | undefined;
|
151
151
|
}>, {
|
152
152
|
size: import('./type').ListSize;
|
153
|
-
loading: boolean;
|
154
153
|
scrollbar: boolean;
|
155
154
|
split: boolean;
|
156
155
|
data: import('../_shared/type').ObjectData[];
|
157
156
|
hoverable: boolean;
|
157
|
+
loading: boolean;
|
158
158
|
bordered: boolean;
|
159
159
|
virtualListProps: import('..').VirtualListProps;
|
160
160
|
maxHeight: number | string;
|
package/es/List/List.vue.js
CHANGED
@@ -14,6 +14,7 @@ import _sfc_main$1 from "./ListVirtual.vue.js";
|
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$2 from "./ListItem.vue.js";
|
16
16
|
/* empty css */
|
17
|
+
import Empty from "../Empty/index.js";
|
17
18
|
const _hoisted_1 = { class: "yc-list-content-wrapper" };
|
18
19
|
const _hoisted_2 = {
|
19
20
|
key: 0,
|
@@ -49,11 +50,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
50
|
emits: ["scroll", "reach-bottom", "page-change", "page-size-change"],
|
50
51
|
setup(__props, { emit: __emit }) {
|
51
52
|
var _a, _b;
|
52
|
-
useSlots();
|
53
|
+
const slots = useSlots();
|
53
54
|
const props = __props;
|
54
55
|
const emits = __emit;
|
55
56
|
const { data, paginationProps, virtualListProps, bottomOffset } = toRefs(props);
|
56
|
-
const { size
|
57
|
+
const { size } = getGlobalConfig(props);
|
57
58
|
const isBottomReached = ref(false);
|
58
59
|
const realListRef = ref();
|
59
60
|
const virtualListRef = ref();
|
@@ -172,7 +173,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
172
173
|
});
|
173
174
|
}), 128))
|
174
175
|
])),
|
175
|
-
!_ctx.$slots.default && !curList.value.length ? (openBlock(), createBlock(resolveDynamicComponent(
|
176
|
+
!_ctx.$slots.default && !curList.value.length ? (openBlock(), createBlock(resolveDynamicComponent(slots.empty || unref(Empty)), { key: 3 })) : createCommentVNode("", true),
|
176
177
|
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
177
178
|
renderSlot(_ctx.$slots, "footer")
|
178
179
|
])) : createCommentVNode("", true),
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { debounce } from "../../_shared/utils/dom.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import "vue";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
const useScrollReach = (options) => {
|
10
8
|
const {
|
package/es/List/index.d.ts
CHANGED
@@ -19,11 +19,11 @@ declare const List: {
|
|
19
19
|
"page-change": (value: number) => any;
|
20
20
|
}, import('vue').PublicProps, {
|
21
21
|
size: import('./type').ListSize;
|
22
|
-
loading: boolean;
|
23
22
|
scrollbar: boolean;
|
24
23
|
split: boolean;
|
25
24
|
data: import('../_shared/type').ObjectData[];
|
26
25
|
hoverable: boolean;
|
26
|
+
loading: boolean;
|
27
27
|
bordered: boolean;
|
28
28
|
virtualListProps: import('..').VirtualListProps;
|
29
29
|
maxHeight: number | string;
|
@@ -175,11 +175,11 @@ declare const List: {
|
|
175
175
|
"onPage-change"?: ((value: number) => any) | undefined;
|
176
176
|
}>, {}, {}, {}, {}, {
|
177
177
|
size: import('./type').ListSize;
|
178
|
-
loading: boolean;
|
179
178
|
scrollbar: boolean;
|
180
179
|
split: boolean;
|
181
180
|
data: import('../_shared/type').ObjectData[];
|
182
181
|
hoverable: boolean;
|
182
|
+
loading: boolean;
|
183
183
|
bordered: boolean;
|
184
184
|
virtualListProps: import('..').VirtualListProps;
|
185
185
|
maxHeight: number | string;
|
@@ -201,11 +201,11 @@ declare const List: {
|
|
201
201
|
"page-change": (value: number) => any;
|
202
202
|
}, string, {
|
203
203
|
size: import('./type').ListSize;
|
204
|
-
loading: boolean;
|
205
204
|
scrollbar: boolean;
|
206
205
|
split: boolean;
|
207
206
|
data: import('../_shared/type').ObjectData[];
|
208
207
|
hoverable: boolean;
|
208
|
+
loading: boolean;
|
209
209
|
bordered: boolean;
|
210
210
|
virtualListProps: import('..').VirtualListProps;
|
211
211
|
maxHeight: number | string;
|
package/es/Mention/index.d.ts
CHANGED
@@ -279,6 +279,7 @@ declare const Mention: {
|
|
279
279
|
focusDelay: number;
|
280
280
|
disabled: boolean;
|
281
281
|
scrollToCloseDistance: number;
|
282
|
+
scrollToClose: boolean;
|
282
283
|
autoSetPosition: boolean;
|
283
284
|
alignPoint: boolean;
|
284
285
|
position: import('..').TriggerPostion;
|
@@ -299,7 +300,6 @@ declare const Mention: {
|
|
299
300
|
autoFitPosition: boolean;
|
300
301
|
updateAtScroll: boolean;
|
301
302
|
preventFocus: boolean;
|
302
|
-
scrollToClose: boolean;
|
303
303
|
needTransformOrigin: boolean;
|
304
304
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
305
305
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -333,6 +333,7 @@ declare const Mention: {
|
|
333
333
|
focusDelay: number;
|
334
334
|
disabled: boolean;
|
335
335
|
scrollToCloseDistance: number;
|
336
|
+
scrollToClose: boolean;
|
336
337
|
autoSetPosition: boolean;
|
337
338
|
alignPoint: boolean;
|
338
339
|
position: import('..').TriggerPostion;
|
@@ -353,14 +354,13 @@ declare const Mention: {
|
|
353
354
|
autoFitPosition: boolean;
|
354
355
|
updateAtScroll: boolean;
|
355
356
|
preventFocus: boolean;
|
356
|
-
scrollToClose: boolean;
|
357
357
|
needTransformOrigin: boolean;
|
358
358
|
}> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
|
359
359
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
360
360
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
361
361
|
onShow?: (() => any) | undefined;
|
362
362
|
onHide?: (() => any) | undefined;
|
363
|
-
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "
|
363
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
364
364
|
hide(): void;
|
365
365
|
show(): void;
|
366
366
|
updatePosition(x: number, y: number): void;
|
@@ -555,11 +555,11 @@ declare const Mention: {
|
|
555
555
|
defaultPopupVisible: boolean;
|
556
556
|
disabled: boolean;
|
557
557
|
popupContainer: import('..').PopupContainer;
|
558
|
-
loading: boolean;
|
559
558
|
error: boolean;
|
560
559
|
scrollbar: boolean;
|
561
560
|
multiple: boolean;
|
562
561
|
placeholder: string;
|
562
|
+
loading: boolean;
|
563
563
|
bordered: boolean;
|
564
564
|
modelValue: import('..').SelectValue;
|
565
565
|
defaultValue: import('..').SelectValue;
|
@@ -608,11 +608,11 @@ declare const Mention: {
|
|
608
608
|
defaultPopupVisible: boolean;
|
609
609
|
disabled: boolean;
|
610
610
|
popupContainer: import('..').PopupContainer;
|
611
|
-
loading: boolean;
|
612
611
|
error: boolean;
|
613
612
|
scrollbar: boolean;
|
614
613
|
multiple: boolean;
|
615
614
|
placeholder: string;
|
615
|
+
loading: boolean;
|
616
616
|
bordered: boolean;
|
617
617
|
modelValue: import('..').SelectValue;
|
618
618
|
defaultValue: import('..').SelectValue;
|
@@ -649,7 +649,7 @@ declare const Mention: {
|
|
649
649
|
onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
650
650
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
651
651
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
652
|
-
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "
|
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<{
|
653
653
|
focus(): void;
|
654
654
|
blur(): void;
|
655
655
|
getPopupRef(): import('..').TriggerInstance;
|