yc-design-vue 1.9.5 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Alert/index.vue.js +4 -4
- package/es/AutoComplete/index.d.ts +3 -3
- package/es/AutoComplete/index.vue.d.ts +6 -6
- package/es/Avatar/Avatar.vue.js +3 -1
- package/es/BackTop/index.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +3 -1
- package/es/Calendar/Calendar.vue.js +4 -4
- package/es/Carousel/CarouselArrow.vue.js +3 -1
- package/es/Cascader/CascaderIcon.vue.js +4 -4
- package/es/Cascader/CascaderOption.vue.d.ts +2 -2
- package/es/Cascader/CascaderOption.vue.js +3 -1
- package/es/Checkbox/Checkbox.vue.js +4 -4
- package/es/Collapse/CollapseItem.vue.js +5 -5
- 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 -2
- package/es/Drawer/Drawer.vue.js +6 -7
- package/es/Dropdown/Doption.vue.js +0 -3
- package/es/Dropdown/Dropdown.vue.js +1 -3
- package/es/Dropdown/DropdownButton.vue.js +3 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +6 -6
- package/es/Dropdown/Dsubmenu.vue.js +10 -11
- package/es/Dropdown/index.css +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +3 -1
- package/es/Image/Image.vue.js +3 -1
- package/es/Image/ImagePreview.vue.js +6 -5
- package/es/Image/ImagePreviewArrow.vue.js +3 -1
- package/es/Image/ImagePreviewToolbar.vue.js +3 -1
- package/es/Input/Input.vue.js +4 -4
- package/es/Input/InputSuffix.vue.js +5 -5
- package/es/InputNumber/InputOperaBtn.vue.js +3 -1
- package/es/InputTag/index.vue.js +4 -4
- package/es/Layout/LayoutSider.vue.js +3 -1
- package/es/Layout/index.css +1 -1
- package/es/Link/index.vue.js +3 -1
- package/es/List/List.vue.d.ts +1 -1
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +6 -6
- package/es/Mention/index.vue.d.ts +7 -7
- package/es/Menu/Menu.vue.js +3 -1
- package/es/Menu/MenuEllipsis.vue.js +5 -2
- package/es/Menu/MenuItem.vue.js +2 -1
- package/es/Menu/SubMenu.vue.js +3 -3
- package/es/Menu/hooks/useContext.js +2 -4
- package/es/Menu/index.css +1 -1
- package/es/Message/Message.vue.js +3 -3
- package/es/Modal/Modal.vue.js +6 -7
- package/es/Notification/Notification.vue.js +3 -3
- package/es/PageHeader/index.vue.js +4 -4
- package/es/Pagination/PaginationItem.vue.js +3 -1
- package/es/Popconfirm/index.d.ts +3 -3
- package/es/Popconfirm/index.vue.d.ts +6 -6
- package/es/Progress/ProgressCircle.vue.js +3 -1
- package/es/Radio/Radio.vue.js +3 -3
- package/es/Rate/index.vue.js +3 -1
- package/es/ResizeBox/index.vue.js +3 -1
- package/es/Select/Select.vue.d.ts +6 -6
- package/es/Select/SelectIcon.vue.js +4 -4
- package/es/Select/index.d.ts +3 -3
- package/es/Spin/index.vue.js +3 -1
- package/es/Split/index.vue.js +3 -1
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/index.d.ts +3 -3
- package/es/Steps/Step.vue.js +3 -1
- package/es/Tabs/TabButton.vue.js +4 -4
- package/es/Tabs/Tabs.vue.js +3 -1
- package/es/Tag/index.vue.js +3 -3
- package/es/Textarea/index.vue.js +5 -5
- package/es/TimePicker/TimePicker.vue.js +3 -3
- package/es/Transfer/Transfer.vue.d.ts +2 -2
- package/es/Transfer/Transfer.vue.js +3 -1
- package/es/Transfer/TransferPanel.vue.js +4 -4
- package/es/Transfer/index.d.ts +5 -5
- package/es/Trigger/hooks/useTriggerPosition.js +2 -1
- 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 +8 -9
- package/es/Typography/TypographyBase.vue.js +3 -1
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/_shared/components/{ExpandTransition.vue2.js → ExpandTransition/index.vue2.js} +5 -5
- package/es/_shared/components/ExpandTransition/index.vue3.js +5 -0
- package/es/_shared/components/Icon/index.vue2.js +5 -0
- package/es/_shared/components/{Icon.vue3.js → Icon/index.vue3.js} +5 -5
- package/es/_shared/components/{IconButton.vue.js → IconButton/index.vue2.js} +9 -7
- package/es/_shared/components/IconButton/index.vue3.js +5 -0
- package/es/_shared/components/{PreventFocus.vue.js → PreventFocus/index.vue.js} +1 -1
- package/es/_shared/components/PreventFocus/index.vue2.js +4 -0
- package/es/_shared/components/index.d.ts +4 -4
- package/es/_shared/constants/index.js +3 -1
- package/es/_shared/icons/IconArrowDown.vue.js +10 -4
- package/es/_shared/icons/IconArrowRight.vue.js +10 -4
- package/es/_shared/icons/IconCheck.vue.js +10 -4
- package/es/_shared/icons/IconCheckboxChecked.vue.js +10 -4
- package/es/_shared/icons/IconClose.vue.js +10 -4
- package/es/_shared/icons/IconCopy.vue2.js +10 -4
- package/es/_shared/icons/IconDelete.vue2.js +10 -4
- package/es/_shared/icons/IconDragDot.vue.js +10 -4
- package/es/_shared/icons/IconEdit.vue2.js +10 -4
- package/es/_shared/icons/IconEmpty.vue.js +10 -4
- package/es/_shared/icons/IconError.vue.js +10 -4
- package/es/_shared/icons/IconExclamation.vue2.js +10 -4
- package/es/_shared/icons/IconEyeClose.vue2.js +10 -4
- package/es/_shared/icons/IconEyeOpen.vue2.js +10 -4
- package/es/_shared/icons/IconFaceSmile.vue.js +10 -4
- package/es/_shared/icons/IconFullScreen.vue2.js +10 -4
- package/es/_shared/icons/IconImageClose.vue.js +10 -4
- package/es/_shared/icons/IconInfo.vue.js +10 -4
- package/es/_shared/icons/IconInfoLine.vue.js +10 -4
- package/es/_shared/icons/IconLink.vue.js +10 -4
- package/es/_shared/icons/IconLoading.vue.js +10 -4
- package/es/_shared/icons/IconMenuFold.vue.js +10 -4
- package/es/_shared/icons/IconMenuUnfold.vue.js +10 -4
- package/es/_shared/icons/IconMinus.vue2.js +10 -4
- package/es/_shared/icons/IconMore.vue.js +10 -4
- package/es/_shared/icons/IconOriginSize.vue2.js +10 -4
- package/es/_shared/icons/IconPlus.vue.js +10 -4
- package/es/_shared/icons/IconRight.vue.js +10 -4
- package/es/_shared/icons/IconRotateLeft.vue2.js +10 -4
- package/es/_shared/icons/IconRotateRight.vue2.js +10 -4
- package/es/_shared/icons/IconSearch.vue2.js +10 -4
- package/es/_shared/icons/IconSeparator.vue2.js +10 -4
- package/es/_shared/icons/IconStar.vue.js +10 -4
- package/es/_shared/icons/IconSuccess.vue.js +10 -4
- package/es/_shared/icons/IconTime.vue.js +10 -4
- package/es/_shared/icons/IconToTop.vue.js +10 -4
- package/es/_shared/icons/IconWarning.vue.js +10 -4
- package/es/_shared/icons/IconZoomIn.vue2.js +10 -4
- package/es/_shared/icons/IconZoomOut.vue2.js +10 -4
- package/es/_shared/utils/global-config.d.ts +1 -6
- package/es/_shared/utils/global-config.js +7 -10
- package/es/_shared/utils/locale.js +1 -1
- package/es/index.d.ts +3 -3
- package/es/shared.css +1 -1
- package/es/style.css +1 -1
- package/lib/Alert/index.js +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Alert/index.vue3.js +1 -1
- package/lib/AutoComplete/index.d.ts +3 -3
- package/lib/AutoComplete/index.js +1 -1
- package/lib/AutoComplete/index.vue.d.ts +6 -6
- package/lib/AutoComplete/index.vue3.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/BackTop/index.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/BackTop/index.vue3.js +1 -1
- package/lib/Badge/index.js +1 -1
- package/lib/Badge/index.vue3.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue3.js +1 -1
- package/lib/Cascader/CascaderOption.vue.d.ts +2 -2
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Comment/index.js +1 -1
- package/lib/Comment/index.vue3.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 -2
- package/lib/Divider/index.js +1 -1
- package/lib/Divider/index.vue3.js +1 -1
- package/lib/Drawer/Drawer.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/index.css +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Empty/index.vue3.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/index.vue3.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/index.css +1 -1
- package/lib/Link/index.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/Link/index.vue3.js +1 -1
- package/lib/List/List.vue.d.ts +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 +7 -7
- 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/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/Modal/Modal.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/OverflowList/index.js +1 -1
- package/lib/OverflowList/index.vue3.js +1 -1
- package/lib/PageHeader/index.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/PageHeader/index.vue3.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Popconfirm/index.d.ts +3 -3
- package/lib/Popconfirm/index.js +1 -1
- package/lib/Popconfirm/index.vue.d.ts +6 -6
- package/lib/Popconfirm/index.vue3.js +1 -1
- package/lib/Popover/index.js +1 -1
- package/lib/Popover/index.vue3.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Rate/index.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/Rate/index.vue3.js +1 -1
- package/lib/ResizeBox/index.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue3.js +1 -1
- package/lib/Result/index.js +1 -1
- package/lib/Result/index.vue3.js +1 -1
- package/lib/Select/Select.vue.d.ts +6 -6
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectIcon.vue3.js +1 -1
- package/lib/Select/index.d.ts +3 -3
- package/lib/Space/index.js +1 -1
- package/lib/Space/index.vue3.js +1 -1
- package/lib/Spin/index.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Spin/index.vue3.js +1 -1
- package/lib/Split/index.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Split/index.vue3.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/index.d.ts +3 -3
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Switch/index.js +1 -1
- package/lib/Switch/index.vue3.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tag/index.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Tag/index.vue3.js +1 -1
- package/lib/Textarea/index.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/Textarea/index.vue3.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/Tooltip/index.js +1 -1
- package/lib/Tooltip/index.vue3.js +1 -1
- package/lib/Transfer/Transfer.vue.d.ts +2 -2
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/index.d.ts +5 -5
- 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.js +1 -1
- package/lib/Trigger/index.vue.d.ts +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/index.vue3.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.js +1 -1
- package/lib/VerificationCode/index.vue3.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.js +1 -1
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue3.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -0
- package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -0
- package/lib/_shared/components/Icon/index.vue2.js +1 -0
- package/lib/_shared/components/Icon/index.vue3.js +1 -0
- package/lib/_shared/components/IconButton/index.vue2.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -0
- package/lib/_shared/components/PreventFocus/index.vue.js +1 -0
- package/lib/_shared/components/PreventFocus/index.vue2.js +1 -0
- package/lib/_shared/components/index.d.ts +4 -4
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +1 -6
- 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/shared.css +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Drawer/index.css +0 -1
- package/es/Layout/hooks/useTheme.d.ts +0 -4
- package/es/Layout/hooks/useTheme.js +0 -33
- package/es/Message/index.css +0 -1
- package/es/Modal/index.css +0 -1
- package/es/Notification/index.css +0 -1
- package/es/_shared/components/ExpandTransition.vue3.js +0 -5
- package/es/_shared/components/Icon.vue2.js +0 -5
- package/es/_shared/components/IconButton.vue3.js +0 -5
- package/es/_shared/components/PreventFocus.vue2.js +0 -4
- package/lib/Drawer/index.css +0 -1
- package/lib/Layout/hooks/useTheme.d.ts +0 -4
- package/lib/Layout/hooks/useTheme.js +0 -1
- package/lib/Message/index.css +0 -1
- package/lib/Modal/index.css +0 -1
- package/lib/Notification/index.css +0 -1
- package/lib/_shared/components/ExpandTransition.vue2.js +0 -1
- package/lib/_shared/components/ExpandTransition.vue3.js +0 -1
- package/lib/_shared/components/Icon.vue2.js +0 -1
- package/lib/_shared/components/Icon.vue3.js +0 -1
- package/lib/_shared/components/IconButton.vue.js +0 -1
- package/lib/_shared/components/IconButton.vue3.js +0 -1
- package/lib/_shared/components/PreventFocus.vue.js +0 -1
- package/lib/_shared/components/PreventFocus.vue2.js +0 -1
- /package/es/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
- /package/es/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
- /package/es/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
- /package/es/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
- /package/es/{public → src/lang}/lang-es/zh-cn.js +0 -0
- /package/lib/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
- /package/lib/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
- /package/lib/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
- /package/lib/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
- /package/lib/{public → src/lang}/lang-es/zh-cn.js +0 -0
package/es/Menu/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-menu-inline{display:flex;flex-direction:column;gap:4px}.yc-menu-inline .yc-menu-inline-content{display:flex;flex-direction:column;gap:4px}.yc-menu{position:relative;transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-menu .yc-menu-inner{overflow:auto;padding:4px 8px;display:flex}.yc-menu .yc-menu-collapse-button{cursor:pointer;position:absolute;right:12px;bottom:12px;width:24px;height:24px;border-radius:2px;font-size:14px;display:flex;align-items:center;justify-content:center}.yc-menu-mode-vertical .yc-menu-inner{height:100%;flex-direction:column;gap:4px}.yc-menu-mode-horizontal .yc-menu-inner{position:relative;overflow:hidden;min-height:58px;width:100%;padding:14px 20px 14px 32px;display:flex;align-items:center;gap:12px}.yc-menu-mode-horizontal .yc-menu-inner .yc-menu-inline{flex-shrink:0}.yc-menu-collapsed .yc-menu-inner{padding:4px}.yc-menu-light{background-color
|
1
|
+
.yc-menu-inline{display:flex;flex-direction:column;gap:4px}.yc-menu-inline .yc-menu-inline-content{display:flex;flex-direction:column;gap:4px}.yc-menu{position:relative;transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-menu .yc-menu-inner{overflow:auto;padding:4px 8px;display:flex}.yc-menu .yc-menu-collapse-button{cursor:pointer;position:absolute;right:12px;bottom:12px;width:24px;height:24px;border-radius:2px;font-size:14px;display:flex;align-items:center;justify-content:center}.yc-menu-mode-vertical .yc-menu-inner{height:100%;flex-direction:column;gap:4px}.yc-menu-mode-horizontal .yc-menu-inner{position:relative;overflow:hidden;min-height:58px;width:100%;padding:14px 20px 14px 32px;display:flex;align-items:center;gap:12px}.yc-menu-mode-horizontal .yc-menu-inner .yc-menu-inline{flex-shrink:0}.yc-menu-collapsed .yc-menu-inner{padding:4px}.yc-menu-light{background-color:var(--color-menu-light-bg)}.yc-menu-light .yc-menu-collapse-button{color:var(--color-text-3);background-color:var(--color-fill-1)}.yc-menu-light .yc-menu-collapse-button:hover{background-color:var(--color-fill-3)}.yc-menu-dark{background-color:var(--color-menu-dark-bg)}.yc-menu-dark .yc-menu-collapse-button{color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-menu-dark .yc-menu-collapse-button:hover{background-color:rgb(var(--primary-7))}.yc-menu-item{cursor:pointer;flex-shrink:0;padding:0 12px;border-radius:2px;min-height:40px;line-height:40px;font-size:14px;transition:color .2s cubic-bezier(0, 0, 1, 1);display:flex;justify-content:center;align-items:center}.yc-menu-item .yc-menu-icon{line-height:1;margin-right:16px;color:#86909c}.yc-menu-item .yc-menu-item-title{flex-shrink:0;flex:1}.yc-menu-item .yc-menu-suffix-icon{margin-left:16px}.yc-menu-item-collapsed .yc-menu-icon{margin-right:0}.yc-menu-item-mode-horizontal{flex-shrink:0;position:relative}.yc-menu-item-mode-horizontal .yc-menu-item{min-height:30px;line-height:30px}.yc-menu-item-mode-horizontal .yc-menu-item .yc-menu-icon-suffix{margin-left:6px}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected::after{content:'';position:absolute;left:12px;right:12px;bottom:-14px;height:3px;background-color:#165dff}.yc-menu-item-ellipsis{position:absolute;top:50%;transform:translateY(-50%)}.yc-menu-item-light .yc-menu-item{color:var(--color-text-2)}.yc-menu-item-light .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:var(--color-fill-2)}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:var(--color-fill-2)}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-light .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:var(--color-text-4)}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-dark .yc-menu-item{color:var(--color-text-4)}.yc-menu-item-dark .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:var(--color-menu-dark-hover)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:var(--color-menu-dark-hover)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-dark .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:var(--color-text-2)}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option{color:var(--color-text-4)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option:not(.yc-dropdown-option-disabled):hover,.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option:not(.yc-dropdown-option-disabled).yc-dropdown-option-active{background-color:var(--color-menu-dark-hover)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option:not(.yc-dropdown-option-disabled).yc-dropdown-option-active{color:var(--color-white)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-arrow{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.yc-menu-group{display:flex;flex-direction:column;gap:4px}.yc-menu-group .yc-menu-group-title{max-width:100%;padding:0 12px;line-height:40px;font-size:14px;color:var(--color-text-3);font-weight:400}
|
@@ -5,10 +5,10 @@ import { isUndefined } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
8
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
9
|
-
/* empty css */
|
8
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
10
9
|
/* empty css */
|
11
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
12
12
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
13
13
|
const _hoisted_1 = {
|
14
14
|
key: 0,
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -7,10 +7,10 @@ import { useI18n } from "../_shared/utils/locale.js";
|
|
7
7
|
import useModalClose from "./hooks/useModalClose.js";
|
8
8
|
import useModalDraggable from "./hooks/useModalDraggable.js";
|
9
9
|
import Button from "../Button/index.js";
|
10
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
11
|
-
/* empty css */
|
10
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
12
11
|
/* empty css */
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
16
16
|
class: "yc-modal-footer"
|
@@ -86,11 +86,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
86
86
|
modalStyle: _modalStyle,
|
87
87
|
fullscreen,
|
88
88
|
draggable,
|
89
|
-
renderToBody
|
90
|
-
popupContainer: _popupContainer
|
89
|
+
renderToBody
|
91
90
|
} = toRefs(props);
|
92
91
|
const { onBeforeOk, onBeforeCancel } = props;
|
93
|
-
const { popupContainer, zIndex } = getGlobalConfig(props);
|
92
|
+
const { popupContainer, zIndex, isAbsolute } = getGlobalConfig(props);
|
94
93
|
const { t } = useI18n();
|
95
94
|
const {
|
96
95
|
outerVisible,
|
@@ -137,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
137
136
|
_ctx.$attrs.class,
|
138
137
|
{
|
139
138
|
"yc-modal-simple": _ctx.simple,
|
140
|
-
"yc-modal-position-absolute": unref(
|
139
|
+
"yc-modal-position-absolute": unref(isAbsolute)
|
141
140
|
}
|
142
141
|
]),
|
143
142
|
style: normalizeStyle({
|
@@ -6,10 +6,10 @@ import { isUndefined, isFunction } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
8
8
|
import "../_shared/utils/locale.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
10
|
-
/* empty css */
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
11
10
|
/* empty css */
|
12
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
|
+
/* empty css */
|
13
13
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
14
14
|
const _hoisted_1 = { class: "yc-notification-left" };
|
15
15
|
const _hoisted_2 = {
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
2
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
5
|
import "../_shared/utils/dom.js";
|
4
6
|
import "../_shared/utils/time.js";
|
5
7
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
7
10
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
8
11
|
import Divider from "../Divider/index.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
10
|
-
/* empty css */
|
11
|
-
/* empty css */
|
12
12
|
const _hoisted_1 = { class: "yc-page-header" };
|
13
13
|
const _hoisted_2 = { class: "yc-page-header-wrapper" };
|
14
14
|
const _hoisted_3 = {
|
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
7
9
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
8
10
|
import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
|
9
11
|
import useContext from "./hooks/useContext.js";
|
package/es/Popconfirm/index.d.ts
CHANGED
@@ -186,6 +186,7 @@ declare const Popconfirm: {
|
|
186
186
|
focusDelay: number;
|
187
187
|
disabled: boolean;
|
188
188
|
scrollToCloseDistance: number;
|
189
|
+
scrollToClose: boolean;
|
189
190
|
autoSetPosition: boolean;
|
190
191
|
alignPoint: boolean;
|
191
192
|
position: import('..').TriggerPostion;
|
@@ -206,7 +207,6 @@ declare const Popconfirm: {
|
|
206
207
|
autoFitPosition: boolean;
|
207
208
|
updateAtScroll: boolean;
|
208
209
|
preventFocus: boolean;
|
209
|
-
scrollToClose: boolean;
|
210
210
|
needTransformOrigin: boolean;
|
211
211
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
212
212
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -240,6 +240,7 @@ declare const Popconfirm: {
|
|
240
240
|
focusDelay: number;
|
241
241
|
disabled: boolean;
|
242
242
|
scrollToCloseDistance: number;
|
243
|
+
scrollToClose: boolean;
|
243
244
|
autoSetPosition: boolean;
|
244
245
|
alignPoint: boolean;
|
245
246
|
position: import('..').TriggerPostion;
|
@@ -260,14 +261,13 @@ declare const Popconfirm: {
|
|
260
261
|
autoFitPosition: boolean;
|
261
262
|
updateAtScroll: boolean;
|
262
263
|
preventFocus: boolean;
|
263
|
-
scrollToClose: boolean;
|
264
264
|
needTransformOrigin: boolean;
|
265
265
|
}> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
|
266
266
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
267
267
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
268
268
|
onShow?: (() => any) | undefined;
|
269
269
|
onHide?: (() => any) | undefined;
|
270
|
-
}>, "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" | "
|
270
|
+
}>, "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<{
|
271
271
|
hide(): void;
|
272
272
|
show(): void;
|
273
273
|
updatePosition(x: number, y: number): void;
|
@@ -153,6 +153,7 @@ declare function __VLS_template(): {
|
|
153
153
|
focusDelay: number;
|
154
154
|
disabled: boolean;
|
155
155
|
scrollToCloseDistance: number;
|
156
|
+
scrollToClose: boolean;
|
156
157
|
autoSetPosition: boolean;
|
157
158
|
alignPoint: boolean;
|
158
159
|
position: import('../Trigger').TriggerPostion;
|
@@ -173,7 +174,6 @@ declare function __VLS_template(): {
|
|
173
174
|
autoFitPosition: boolean;
|
174
175
|
updateAtScroll: boolean;
|
175
176
|
preventFocus: boolean;
|
176
|
-
scrollToClose: boolean;
|
177
177
|
needTransformOrigin: boolean;
|
178
178
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
179
179
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -207,6 +207,7 @@ declare function __VLS_template(): {
|
|
207
207
|
focusDelay: number;
|
208
208
|
disabled: boolean;
|
209
209
|
scrollToCloseDistance: number;
|
210
|
+
scrollToClose: boolean;
|
210
211
|
autoSetPosition: boolean;
|
211
212
|
alignPoint: boolean;
|
212
213
|
position: import('../Trigger').TriggerPostion;
|
@@ -227,14 +228,13 @@ declare function __VLS_template(): {
|
|
227
228
|
autoFitPosition: boolean;
|
228
229
|
updateAtScroll: boolean;
|
229
230
|
preventFocus: boolean;
|
230
|
-
scrollToClose: boolean;
|
231
231
|
needTransformOrigin: boolean;
|
232
232
|
}> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
|
233
233
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
234
234
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
235
235
|
onShow?: (() => any) | undefined;
|
236
236
|
onHide?: (() => any) | undefined;
|
237
|
-
}>, "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" | "
|
237
|
+
}>, "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<{
|
238
238
|
hide(): void;
|
239
239
|
show(): void;
|
240
240
|
updatePosition(x: number, y: number): void;
|
@@ -428,6 +428,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
428
428
|
focusDelay: number;
|
429
429
|
disabled: boolean;
|
430
430
|
scrollToCloseDistance: number;
|
431
|
+
scrollToClose: boolean;
|
431
432
|
autoSetPosition: boolean;
|
432
433
|
alignPoint: boolean;
|
433
434
|
position: import('../Trigger').TriggerPostion;
|
@@ -448,7 +449,6 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
448
449
|
autoFitPosition: boolean;
|
449
450
|
updateAtScroll: boolean;
|
450
451
|
preventFocus: boolean;
|
451
|
-
scrollToClose: boolean;
|
452
452
|
needTransformOrigin: boolean;
|
453
453
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
454
454
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -482,6 +482,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
482
482
|
focusDelay: number;
|
483
483
|
disabled: boolean;
|
484
484
|
scrollToCloseDistance: number;
|
485
|
+
scrollToClose: boolean;
|
485
486
|
autoSetPosition: boolean;
|
486
487
|
alignPoint: boolean;
|
487
488
|
position: import('../Trigger').TriggerPostion;
|
@@ -502,14 +503,13 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
502
503
|
autoFitPosition: boolean;
|
503
504
|
updateAtScroll: boolean;
|
504
505
|
preventFocus: boolean;
|
505
|
-
scrollToClose: boolean;
|
506
506
|
needTransformOrigin: boolean;
|
507
507
|
}> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
|
508
508
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
509
509
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
510
510
|
onShow?: (() => any) | undefined;
|
511
511
|
onHide?: (() => any) | undefined;
|
512
|
-
}>, "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" | "
|
512
|
+
}>, "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<{
|
513
513
|
hide(): void;
|
514
514
|
show(): void;
|
515
515
|
updatePosition(x: number, y: number): void;
|
@@ -4,7 +4,9 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isObject } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
8
10
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
9
11
|
import _sfc_main$2 from "../_shared/icons/IconExclamation.vue2.js";
|
10
12
|
import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -5,10 +5,10 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import "../_shared/utils/locale.js";
|
6
6
|
import useControlValue from "../_shared/utils/control.js";
|
7
7
|
import useContext from "./hooks/useContext.js";
|
8
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
9
|
-
/* empty css */
|
8
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
10
9
|
/* empty css */
|
11
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
12
12
|
const _hoisted_1 = ["value", "checked", "disabled"];
|
13
13
|
const _hoisted_2 = {
|
14
14
|
key: 0,
|
package/es/Rate/index.vue.js
CHANGED
@@ -5,7 +5,9 @@ import { isObject } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
9
11
|
import _sfc_main$1 from "../_shared/icons/IconFaceSmile.vue.js";
|
10
12
|
import _sfc_main$2 from "../_shared/icons/IconStar.vue.js";
|
11
13
|
const _hoisted_1 = ["onClick", "onMouseenter"];
|
@@ -5,7 +5,9 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
9
11
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
10
12
|
const _hoisted_1 = ["dir", "onMousedown"];
|
11
13
|
const _hoisted_2 = { class: "yc-resizebox-trigger-icon-wrapper" };
|
@@ -155,6 +155,7 @@ declare function __VLS_template(): {
|
|
155
155
|
focusDelay: number;
|
156
156
|
disabled: boolean;
|
157
157
|
scrollToCloseDistance: number;
|
158
|
+
scrollToClose: boolean;
|
158
159
|
autoSetPosition: boolean;
|
159
160
|
alignPoint: boolean;
|
160
161
|
position: import('../Trigger').TriggerPostion;
|
@@ -175,7 +176,6 @@ declare function __VLS_template(): {
|
|
175
176
|
autoFitPosition: boolean;
|
176
177
|
updateAtScroll: boolean;
|
177
178
|
preventFocus: boolean;
|
178
|
-
scrollToClose: boolean;
|
179
179
|
needTransformOrigin: boolean;
|
180
180
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
181
181
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -209,6 +209,7 @@ declare function __VLS_template(): {
|
|
209
209
|
focusDelay: number;
|
210
210
|
disabled: boolean;
|
211
211
|
scrollToCloseDistance: number;
|
212
|
+
scrollToClose: boolean;
|
212
213
|
autoSetPosition: boolean;
|
213
214
|
alignPoint: boolean;
|
214
215
|
position: import('../Trigger').TriggerPostion;
|
@@ -229,14 +230,13 @@ declare function __VLS_template(): {
|
|
229
230
|
autoFitPosition: boolean;
|
230
231
|
updateAtScroll: boolean;
|
231
232
|
preventFocus: boolean;
|
232
|
-
scrollToClose: boolean;
|
233
233
|
needTransformOrigin: boolean;
|
234
234
|
}> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
|
235
235
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
236
236
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
237
237
|
onShow?: (() => any) | undefined;
|
238
238
|
onHide?: (() => any) | undefined;
|
239
|
-
}>, "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" | "
|
239
|
+
}>, "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<{
|
240
240
|
hide(): void;
|
241
241
|
show(): void;
|
242
242
|
updatePosition(x: number, y: number): void;
|
@@ -604,6 +604,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
604
604
|
focusDelay: number;
|
605
605
|
disabled: boolean;
|
606
606
|
scrollToCloseDistance: number;
|
607
|
+
scrollToClose: boolean;
|
607
608
|
autoSetPosition: boolean;
|
608
609
|
alignPoint: boolean;
|
609
610
|
position: import('../Trigger').TriggerPostion;
|
@@ -624,7 +625,6 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
624
625
|
autoFitPosition: boolean;
|
625
626
|
updateAtScroll: boolean;
|
626
627
|
preventFocus: boolean;
|
627
|
-
scrollToClose: boolean;
|
628
628
|
needTransformOrigin: boolean;
|
629
629
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
630
630
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -658,6 +658,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
658
658
|
focusDelay: number;
|
659
659
|
disabled: boolean;
|
660
660
|
scrollToCloseDistance: number;
|
661
|
+
scrollToClose: boolean;
|
661
662
|
autoSetPosition: boolean;
|
662
663
|
alignPoint: boolean;
|
663
664
|
position: import('../Trigger').TriggerPostion;
|
@@ -678,14 +679,13 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
678
679
|
autoFitPosition: boolean;
|
679
680
|
updateAtScroll: boolean;
|
680
681
|
preventFocus: boolean;
|
681
|
-
scrollToClose: boolean;
|
682
682
|
needTransformOrigin: boolean;
|
683
683
|
}> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
|
684
684
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
685
685
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
686
686
|
onShow?: (() => any) | undefined;
|
687
687
|
onHide?: (() => any) | undefined;
|
688
|
-
}>, "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" | "
|
688
|
+
}>, "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<{
|
689
689
|
hide(): void;
|
690
690
|
show(): void;
|
691
691
|
updatePosition(x: number, y: number): void;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
5
|
+
/* empty css */
|
4
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
7
|
import "../_shared/utils/dom.js";
|
6
8
|
import "../_shared/utils/time.js";
|
7
9
|
import "../_shared/utils/locale.js";
|
8
|
-
/* empty css
|
9
|
-
|
10
|
-
/* empty css */
|
11
|
-
/* empty css */
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
12
12
|
import Spin from "../Spin/index.js";
|
13
13
|
const _hoisted_1 = { class: "yc-select-suffix-icon" };
|
14
14
|
const _hoisted_2 = {
|
package/es/Select/index.d.ts
CHANGED
@@ -223,6 +223,7 @@ declare const Select: {
|
|
223
223
|
focusDelay: number;
|
224
224
|
disabled: boolean;
|
225
225
|
scrollToCloseDistance: number;
|
226
|
+
scrollToClose: boolean;
|
226
227
|
autoSetPosition: boolean;
|
227
228
|
alignPoint: boolean;
|
228
229
|
position: import('..').TriggerPostion;
|
@@ -243,7 +244,6 @@ declare const Select: {
|
|
243
244
|
autoFitPosition: boolean;
|
244
245
|
updateAtScroll: boolean;
|
245
246
|
preventFocus: boolean;
|
246
|
-
scrollToClose: boolean;
|
247
247
|
needTransformOrigin: boolean;
|
248
248
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
249
249
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -277,6 +277,7 @@ declare const Select: {
|
|
277
277
|
focusDelay: number;
|
278
278
|
disabled: boolean;
|
279
279
|
scrollToCloseDistance: number;
|
280
|
+
scrollToClose: boolean;
|
280
281
|
autoSetPosition: boolean;
|
281
282
|
alignPoint: boolean;
|
282
283
|
position: import('..').TriggerPostion;
|
@@ -297,14 +298,13 @@ declare const Select: {
|
|
297
298
|
autoFitPosition: boolean;
|
298
299
|
updateAtScroll: boolean;
|
299
300
|
preventFocus: boolean;
|
300
|
-
scrollToClose: boolean;
|
301
301
|
needTransformOrigin: boolean;
|
302
302
|
}> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
|
303
303
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
304
304
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
305
305
|
onShow?: (() => any) | undefined;
|
306
306
|
onHide?: (() => any) | undefined;
|
307
|
-
}>, "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" | "
|
307
|
+
}>, "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<{
|
308
308
|
hide(): void;
|
309
309
|
show(): void;
|
310
310
|
updatePosition(x: number, y: number): void;
|
package/es/Spin/index.vue.js
CHANGED
@@ -4,7 +4,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
8
10
|
import _sfc_main$1 from "../_shared/icons/IconLoading.vue.js";
|
9
11
|
const _hoisted_1 = { class: "yc-spin" };
|
10
12
|
const _hoisted_2 = {
|
package/es/Split/index.vue.js
CHANGED
@@ -5,7 +5,9 @@ import { isNumber } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
9
11
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
10
12
|
import { useDraggable } from "../node_modules/@vueuse/core/index.js";
|
11
13
|
const _hoisted_1 = { class: "yc-split-trigger-icon-wrapper" };
|
@@ -16,8 +16,8 @@ declare const __VLS_component: import('vue').DefineComponent<StatisticProps, {},
|
|
16
16
|
value: import('./type').StatisticValue;
|
17
17
|
start: boolean;
|
18
18
|
separator: string;
|
19
|
-
title: string;
|
20
19
|
placeholder: string;
|
20
|
+
title: string;
|
21
21
|
animation: boolean;
|
22
22
|
animationDuration: number;
|
23
23
|
easeing: string;
|
package/es/Statistic/index.d.ts
CHANGED
@@ -13,8 +13,8 @@ declare const Statistic: {
|
|
13
13
|
value: import('./type').StatisticValue;
|
14
14
|
start: boolean;
|
15
15
|
separator: string;
|
16
|
-
title: string;
|
17
16
|
placeholder: string;
|
17
|
+
title: string;
|
18
18
|
animation: boolean;
|
19
19
|
animationDuration: number;
|
20
20
|
easeing: string;
|
@@ -40,8 +40,8 @@ declare const Statistic: {
|
|
40
40
|
value: import('./type').StatisticValue;
|
41
41
|
start: boolean;
|
42
42
|
separator: string;
|
43
|
-
title: string;
|
44
43
|
placeholder: string;
|
44
|
+
title: string;
|
45
45
|
animation: boolean;
|
46
46
|
animationDuration: number;
|
47
47
|
easeing: string;
|
@@ -64,8 +64,8 @@ declare const Statistic: {
|
|
64
64
|
value: import('./type').StatisticValue;
|
65
65
|
start: boolean;
|
66
66
|
separator: string;
|
67
|
-
title: string;
|
68
67
|
placeholder: string;
|
68
|
+
title: string;
|
69
69
|
animation: boolean;
|
70
70
|
animationDuration: number;
|
71
71
|
easeing: string;
|
package/es/Steps/Step.vue.js
CHANGED
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
7
9
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
8
10
|
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
9
11
|
import useContext from "./hooks/useContext.js";
|
package/es/Tabs/TabButton.vue.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
|
2
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
|
-
/* empty css
|
9
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
11
|
__name: "TabButton",
|
12
12
|
props: {
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -6,7 +6,9 @@ import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useContext from "./hooks/useContext.js";
|
8
8
|
import useTabsScroll from "./hooks/useTabsScroll.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
10
12
|
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
11
13
|
import _sfc_main$6 from "../_shared/icons/IconPlus.vue.js";
|
12
14
|
import _sfc_main$1 from "./TabPane.vue.js";
|
package/es/Tag/index.vue.js
CHANGED
@@ -7,10 +7,10 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useControlValue from "../_shared/utils/control.js";
|
9
9
|
import Spin from "../Spin/index.js";
|
10
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
11
|
-
/* empty css */
|
10
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
12
11
|
/* empty css */
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
16
16
|
class: "yc-tag-icon"
|
package/es/Textarea/index.vue.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
|
2
2
|
import useTextareaHeight from "./hooks/useTextareaHeight.js";
|
3
3
|
import useLimitedInput from "../Input/hooks/useLimitedInput.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton.
|
5
|
-
/* empty css
|
6
|
-
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
5
|
+
/* empty css */
|
6
|
+
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
7
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
8
8
|
import "../_shared/utils/dom.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
|
-
/* empty css
|
12
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
|
+
/* empty css */
|
13
13
|
const _hoisted_1 = ["value", "disabled", "readonly", "placeholder"];
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
15
|
...{
|
@@ -6,10 +6,10 @@ import { isValidTimeRange } from "../_shared/utils/time.js";
|
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
10
|
-
/* empty css */
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
11
10
|
/* empty css */
|
12
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
|
+
/* empty css */
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
|
14
14
|
import Trigger from "../Trigger/index.js";
|
15
15
|
import _sfc_main$3 from "./TimePickerPanel.vue.js";
|