yc-design-vue 1.9.6 → 1.9.8
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.css +1 -1
- package/es/Alert/index.vue.js +4 -4
- package/es/Anchor/index.css +1 -1
- package/es/Avatar/Avatar.vue.js +3 -1
- package/es/Avatar/index.css +1 -1
- package/es/BackTop/index.vue.js +3 -1
- package/es/Badge/index.css +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +4 -2
- package/es/Breadcrumb/index.css +1 -1
- package/es/Button/index.css +1 -1
- package/es/Calendar/Calendar.vue.js +4 -4
- package/es/Calendar/index.css +1 -1
- package/es/Card/index.css +1 -1
- package/es/Carousel/CarouselArrow.vue.js +3 -1
- package/es/Carousel/index.css +1 -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/Cascader/index.css +1 -1
- package/es/Checkbox/Checkbox.vue.js +4 -4
- package/es/Checkbox/index.css +1 -1
- package/es/Collapse/CollapseItem.vue.js +5 -5
- package/es/Collapse/index.css +1 -1
- package/es/ColorPicker/index.css +1 -1
- package/es/Descriptions/index.css +1 -1
- package/es/Drawer/Drawer.vue.js +4 -4
- package/es/Dropdown/DropdownButton.vue.js +3 -1
- package/es/Dropdown/Dsubmenu.vue.js +3 -1
- package/es/Dropdown/index.css +1 -1
- package/es/Empty/index.vue.js +3 -1
- package/es/Image/Image.vue.js +3 -1
- package/es/Image/ImagePreview.vue.js +3 -1
- package/es/Image/ImagePreviewArrow.vue.js +3 -1
- package/es/Image/ImagePreviewToolbar.vue.js +3 -1
- package/es/Image/index.css +1 -1
- package/es/Input/Input.vue.js +5 -5
- package/es/Input/InputSuffix.vue.js +5 -5
- package/es/Input/index.css +1 -1
- package/es/InputNumber/InputOperaBtn.vue.js +4 -2
- package/es/InputTag/index.css +1 -1
- package/es/InputTag/index.vue.js +5 -5
- 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.css +1 -1
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +3 -3
- package/es/Mention/index.vue.d.ts +1 -1
- package/es/Menu/Menu.vue.js +3 -1
- package/es/Menu/MenuEllipsis.vue.js +3 -1
- package/es/Menu/SubMenu.vue.js +4 -4
- package/es/Menu/index.css +1 -1
- package/es/Message/Message.vue.js +4 -4
- package/es/Modal/Modal.vue.js +4 -4
- package/es/Notification/Notification.vue.js +4 -4
- package/es/PageHeader/index.vue.js +4 -4
- package/es/Pagination/PaginationItem.vue.js +3 -1
- package/es/Pagination/index.css +1 -1
- package/es/Popconfirm/index.css +1 -1
- package/es/Popover/index.css +1 -1
- package/es/Progress/ProgressCircle.vue.js +3 -1
- package/es/Radio/Radio.vue.js +4 -4
- package/es/Radio/index.css +1 -1
- package/es/Rate/index.vue.js +3 -1
- package/es/ResizeBox/index.vue.js +3 -1
- package/es/Result/index.css +1 -1
- package/es/Select/SelectIcon.vue.js +4 -4
- package/es/Select/index.css +1 -1
- package/es/Skeleton/index.css +1 -1
- package/es/Slider/index.css +1 -1
- package/es/Spin/index.css +1 -1
- 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/Steps/index.css +1 -1
- package/es/Switch/index.css +1 -1
- package/es/Tabs/TabButton.vue.js +4 -4
- package/es/Tabs/Tabs.vue.js +3 -1
- package/es/Tabs/index.css +1 -1
- package/es/Tag/index.css +1 -1
- package/es/Tag/index.vue.js +4 -4
- package/es/Textarea/index.css +1 -1
- package/es/Textarea/index.vue.js +5 -5
- package/es/TimePicker/TimePicker.vue.js +4 -4
- package/es/TimePicker/index.css +1 -1
- package/es/Timeline/index.css +1 -1
- package/es/Tooltip/index.css +1 -1
- 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.css +1 -1
- package/es/Transfer/index.d.ts +5 -5
- package/es/Trigger/index.vue.js +4 -4
- package/es/Typography/TypographyBase.vue.js +3 -1
- package/es/_shared/components/{ExpandTransition.vue.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.vue.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.vue.js +23 -1
- package/es/_shared/icons/IconMinus.vue2.js +1 -17
- 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.vue.js +10 -4
- package/es/_shared/icons/IconSeparator.vue.js +1 -17
- package/es/_shared/icons/IconSeparator.vue2.js +23 -1
- 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.css +1 -1
- package/es/style.css +1 -1
- package/lib/Alert/index.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/Anchor/index.css +1 -1
- package/lib/AutoComplete/index.js +1 -1
- package/lib/AutoComplete/index.vue3.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/index.css +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.css +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/Breadcrumb/index.css +1 -1
- package/lib/Button/index.css +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/index.css +1 -1
- package/lib/Card/index.css +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/index.css +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/Cascader/index.css +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/index.css +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/index.css +1 -1
- package/lib/ColorPicker/index.css +1 -1
- package/lib/Comment/index.js +1 -1
- package/lib/Comment/index.vue3.js +1 -1
- package/lib/Descriptions/index.css +1 -1
- 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/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/index.css +1 -1
- 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/Image/index.css +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/index.css +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.css +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.css +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Mention/index.d.ts +3 -3
- package/lib/Mention/index.vue.d.ts +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/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/Pagination/index.css +1 -1
- package/lib/Popconfirm/index.css +1 -1
- package/lib/Popconfirm/index.js +1 -1
- package/lib/Popconfirm/index.vue3.js +1 -1
- package/lib/Popover/index.css +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/Radio/index.css +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.css +1 -1
- package/lib/Result/index.js +1 -1
- package/lib/Result/index.vue3.js +1 -1
- 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.css +1 -1
- package/lib/Skeleton/index.css +1 -1
- package/lib/Slider/index.css +1 -1
- package/lib/Space/index.js +1 -1
- package/lib/Space/index.vue3.js +1 -1
- package/lib/Spin/index.css +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/Steps/index.css +1 -1
- package/lib/Switch/index.css +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/Tabs/index.css +1 -1
- package/lib/Tag/index.css +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.css +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/TimePicker/index.css +1 -1
- package/lib/Timeline/index.css +1 -1
- package/lib/Tooltip/index.css +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.css +1 -1
- package/lib/Transfer/index.d.ts +5 -5
- package/lib/Trigger/index.js +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.js +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.vue.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.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/shared.css +1 -1
- package/lib/style.css +1 -1
- package/package.json +2 -3
- package/es/Drawer/index.css +0 -1
- 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/Message/index.css +0 -1
- package/lib/Modal/index.css +0 -1
- package/lib/Notification/index.css +0 -1
- package/lib/_shared/components/ExpandTransition.vue.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/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
@@ -1 +1 @@
|
|
1
|
-
.yc-color-picker-panel{overflow:hidden;width:260px;background-color:var(--color-bg-1);border-radius:
|
1
|
+
.yc-color-picker-panel{overflow:hidden;width:260px;background-color:var(--color-bg-1);border-radius:var(--border-radius-small);box-shadow:0 8px 20px 0 rgba(0,0,0,0.1)}.yc-color-picker-panel .yc-color-picker-palette{overflow:hidden;position:relative;cursor:pointer;width:100%;height:178px;background-image:linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, rgba(255,255,255,0));border:1px solid var(--color-border-2);border-bottom:0}.yc-color-picker-panel .yc-color-picker-palette .yc-color-picker-handler{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:var(--border-radius-circle);background-color:transparent;transform:translate(-50%, -50%)}.yc-color-picker-panel .yc-color-picker-panel-control{padding:12px;display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper{display:flex;justify-content:space-between;align-items:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper:not(.yc-color-picker-preview)>div{display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:pointer;position:relative;width:182px;height:14px;border-radius:10px;border:1px solid var(--color-border-2);background-image:linear-gradient(90deg, #f00 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler{user-select:none;position:absolute;top:50%;transform:translate(-50%, -50%);width:16px;height:16px;border-radius:var(--border-radius-circle);border:1px solid var(--color-border-2)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::before{display:block;content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:8px;height:8px;background:currentColor;border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::after{display:block;content:'';width:100%;height:100%;background:var(--color-bg-white);border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar-bg{width:fit-content;height:fit-content;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:10px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-preview{width:40px;height:40px;border:1px solid var(--color-border-2);border-radius:var(--border-radius-medium)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper{display:flex;align-items:center;gap:20px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper{padding:0 6px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper .yc-input-suffix{padding-left:0}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-format .yc-select{width:58px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color{flex:1;overflow:hidden;display:flex;align-items:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer:first-child .yc-input-wrapper{border-top-left-radius:2px;border-bottom-left-radius:2px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer:last-child .yc-input-wrapper{border-right-color:var(--color-border-2);border-top-right-radius:2px;border-bottom-right-radius:2px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper{border-radius:var(--border-radius-none);border-color:var(--color-border-2);border-right-color:transparent}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper:not(.yc-input-disabled):focus-within{border-radius:var(--border-radius-small);border-color:rgb(var(--primary-6))}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper .yc-input-prefix{padding-right:6px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-number .yc-input{text-align:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .rgb-input,.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .hex-input{flex:1}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .alpha-input{width:52px}.yc-color-picker-panel .yc-color-picker-panel-colors{padding:12px;border-top:1px solid var(--color-border-2);display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section{display:flex;flex-direction:column;gap:6px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-text{color:var(--color-text-1);font-weight:400;font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-empty{margin:6px 0 0 0;color:var(--color-text-3);font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list{display:flex;flex-wrap:wrap;gap:6px 4px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block{cursor:pointer;width:16px;height:16px;overflow:hidden;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:var(--border-radius-small);transition:transform ease-out 60ms}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block:hover{transform:scale(1.1)}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block .yc-color-picker-block{height:100%;width:100%}.yc-color-picker-panel-disabled{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-palette{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:not-allowed}.yc-color-picker{cursor:pointer;background-color:var(--color-fill-2);border-radius:var(--border-radius-small);display:inline-flex;align-items:center;gap:4px}.yc-color-picker:not(.yc-color-picker-disabled):hover{background-color:var(--color-fill-3)}.yc-color-picker .yc-color-picker-value{color:var(--color-text-1);font-weight:400}.yc-color-picker.yc-color-picker-disabled{cursor:not-allowed;background-color:var(--color-fill-2)}.yc-color-picker.yc-color-picker-disabled .yc-color-picker-value{color:var(--color-text-4)}.yc-color-picker-size-mini{height:24px;padding:4px;font-size:12px}.yc-color-picker-size-mini .yc-color-picker-preview{height:100%;width:calc(24px - 8px)}.yc-color-picker-size-small{height:28px;padding:3px 4px;font-size:14px}.yc-color-picker-size-small .yc-color-picker-preview{height:100%;width:calc(28px - 8px)}.yc-color-picker-size-medium{height:32px;padding:4px;font-size:14px}.yc-color-picker-size-medium .yc-color-picker-preview{height:100%;width:calc(32px - 8px)}.yc-color-picker-size-large{height:36px;padding:5px;font-size:14px}.yc-color-picker-size-large .yc-color-picker-preview{height:100%;width:calc(36px - 10px)}.yc-color-picker-format-popup-content .yc-select-option{font-size:12px;line-height:24px}
|
package/lib/Comment/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */,/* empty css */module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
.yc-descriptions{display:flex;flex-direction:column}.yc-descriptions .yc-descriptions-title{color:var(--color-text-1);font-weight:500;font-size:16px;line-height:1.5715}.yc-descriptions .yc-descriptions-body .yc-descriptions-table{width:100%;border-collapse:collapse}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody{display:table-row-group;vertical-align:middle;unicode-bidi:isolate;border-color:inherit}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody tr{display:table-row;vertical-align:inherit;unicode-bidi:isolate;border-color:inherit}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table{table-layout:fixed}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table .yc-descriptions-item-label{width:auto}.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-layout-vertical .yc-descriptions-item-label{width:1px;white-space:nowrap}.yc-descriptions-layout-horizontal .yc-descriptions-item-value,.yc-descriptions-layout-vertical .yc-descriptions-item-value{white-space:pre-wrap;word-break:break-word}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item{padding:7px 20px}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div{display:inline-block}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div:last-child{margin-left:4px}.yc-descriptions-layout-inline-vertical .yc-descriptions-item>div:last-child{margin-top:2px}.yc-descriptions-bordered .yc-descriptions-body{overflow:hidden;border:1px solid var(--color-border);border-radius:
|
1
|
+
.yc-descriptions{display:flex;flex-direction:column}.yc-descriptions .yc-descriptions-title{color:var(--color-text-1);font-weight:500;font-size:16px;line-height:1.5715}.yc-descriptions .yc-descriptions-body .yc-descriptions-table{width:100%;border-collapse:collapse}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody{display:table-row-group;vertical-align:middle;unicode-bidi:isolate;border-color:inherit}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody tr{display:table-row;vertical-align:inherit;unicode-bidi:isolate;border-color:inherit}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table{table-layout:fixed}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table .yc-descriptions-item-label{width:auto}.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-layout-vertical .yc-descriptions-item-label{width:1px;white-space:nowrap}.yc-descriptions-layout-horizontal .yc-descriptions-item-value,.yc-descriptions-layout-vertical .yc-descriptions-item-value{white-space:pre-wrap;word-break:break-word}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item{padding:7px 20px}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div{display:inline-block}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div:last-child{margin-left:4px}.yc-descriptions-layout-inline-vertical .yc-descriptions-item>div:last-child{margin-top:2px}.yc-descriptions-bordered .yc-descriptions-body{overflow:hidden;border:1px solid var(--color-border);border-radius:var(--border-radius-medium)}.yc-descriptions-bordered .yc-descriptions-body .yc-descriptions-row:not(:last-child){border-bottom:1px solid var(--color-border)}.yc-descriptions-bordered .yc-descriptions-item{border-right:1px solid var(--color-border)}.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-value:last-child{border-right:none}.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-label:last-child,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-value:last-child{border-right:none}.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-label,.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-value,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-value{border-right:1px solid var(--color-border)}.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-label{background-color:var(--color-fill-1)}.yc-descriptions-bordered.yc-descriptions-layout-inline-vertical .yc-descriptions-item:last-child,.yc-descriptions-bordered.yc-descriptions-layout-inline-horizontal .yc-descriptions-item:last-child{border-right:none}.yc-descriptions-size-mini{gap:6px}.yc-descriptions-size-mini.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:8px 20px}.yc-descriptions-size-small{gap:8px}.yc-descriptions-size-small.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:8px 20px}.yc-descriptions-size-medium{gap:10px}.yc-descriptions-size-medium.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:10px 20px}.yc-descriptions-size-large{gap:12px}.yc-descriptions-size-large.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:14px 20px}.yc-descriptions-item-label,.yc-descriptions-item-value{line-height:1.5715}.yc-descriptions-item-label{color:var(--color-text-3);font-weight:500}.yc-descriptions-item-value{color:var(--color-text-1);font-weight:400}.yc-descriptions-item-cell-size-mini{font-size:12px;padding:0 20px 2px 0}.yc-descriptions-item-cell-size-mini.yc-descriptions-item-cell-bordered{padding:3px 20px}.yc-descriptions-item-cell-size-small{font-size:14px;padding:0 20px 4px 0}.yc-descriptions-item-cell-size-small.yc-descriptions-item-cell-bordered{padding:3px 20px}.yc-descriptions-item-cell-size-medium{font-size:14px;padding:0 20px 8px 0}.yc-descriptions-item-cell-size-medium.yc-descriptions-item-cell-bordered{padding:5px 20px}.yc-descriptions-item-cell-size-large{font-size:14px;padding:0 20px 16px 0}.yc-descriptions-item-cell-size-large.yc-descriptions-item-cell-bordered{padding:9px 20px}
|
package/lib/Divider/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */,/* empty css */module.exports=e;
|
package/lib/Drawer/Drawer.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const t=require("../_shared/utils/global-config.js"),l=require("../_shared/utils/locale.js"),r=require("../Modal/hooks/useModalClose.js"),a=require("../Button/index.js"),n
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const t=require("../_shared/utils/global-config.js"),l=require("../_shared/utils/locale.js"),r=require("../Modal/hooks/useModalClose.js"),a=require("../Button/index.js"),n=;/* empty css */,/* empty css */,/* empty css */;/* empty css */const s={key:0,class:"yc-drawer-header"},i={class:"yc-drawer-title text-ellipsis"},d={class:"yc-drawer-body"},c={key:0,class:"yc-drawer-footer"},u=e.defineComponent({name:"Drawer",inheritAttrs:!1,__name:"Drawer",props:{visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},placement:{default:"right"},title:{default:""},mask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},okText:{default:""},cancelText:{default:""},okLoading:{type:Boolean,default:!1},okButtonProps:{default:()=>({})},cancelButtonProps:{default:()=>({})},unmountOnClose:{type:Boolean,default:!1},width:{default:250},height:{default:250},popupContainer:{default:void 0},drawerStyle:{default:()=>({})},escToClose:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},header:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},hideCancel:{type:Boolean,default:!1},onBeforeCancel:{type:Function,default:()=>!0},onBeforeOk:{type:Function,default:()=>!0}},emits:["update:visible","ok","cancel","before-open","open","before-close","close"],setup(u,{emit:f}){const p=u,m=f,{visible:y,defaultVisible:B,width:k,height:h,placement:v,maskClosable:C,escToClose:w,drawerStyle:b,renderToBody:x}=e.toRefs(p),{onBeforeOk:g,onBeforeCancel:T}=p,{zIndex:V,popupContainer:N,isAbsolute:_}=t.getGlobalConfig(p),{t:S}=l.useI18n(),q=e.computed(()=>({height:"left"==v.value||"right"==v.value?"":o.valueToPx(h.value),width:"left"==v.value||"right"==v.value?o.valueToPx(k.value):"",...b.value})),{outerVisible:j,innerVisible:$,asyncLoading:E,handleClose:D,handleAfterLeave:P}=r({visible:y,defaultVisible:B,escToClose:w,maskClosable:C,onBeforeCancel:T,onBeforeOk:g,emits:m});return(o,t)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(N),disabled:!e.unref(x)},[!o.unmountOnClose||e.unref(j)?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-drawer-wrapper",`yc-drawer-placement-${e.unref(v)}`,o.$attrs.class,{"yc-drawer-position-absolute":e.unref(_)}]),style:e.normalizeStyle({zIndex:e.unref(V),...o.$attrs.style??{}})},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.mask?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-drawer-mask",onClick:t[0]||(t[0]=o=>e.unref(D)("mask",o))},null,512)),[[e.vShow,e.unref($)]]):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:`slide-drawer-${e.unref(v)}`,onBeforeEnter:t[4]||(t[4]=e=>o.$emit("before-open")),onBeforeLeave:t[5]||(t[5]=e=>o.$emit("before-close")),onAfterEnter:t[6]||(t[6]=e=>o.$emit("open")),onAfterLeave:e.unref(P)},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"yc-drawer-container",style:e.normalizeStyle(q.value)},[e.renderSlot(o.$slots,"header",{},()=>[o.header?(e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("div",i,[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])]),o.closable?(e.openBlock(),e.createBlock(e.unref(n),{key:0,class:"yc-modal-close-button",onClick:t[1]||(t[1]=o=>e.unref(D)("closeBtn",o))})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",d,[e.renderSlot(o.$slots,"default")]),e.renderSlot(o.$slots,"footer",{},()=>[o.footer?(e.openBlock(),e.createElementBlock("div",c,[o.hideCancel?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(a.default),e.mergeProps({key:0},o.cancelButtonProps,{onClick:t[2]||(t[2]=o=>e.unref(D)("cancelBtn",o))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.cancelText||e.unref(S)("drawer.cancelText")),1)]),_:1},16)),e.createVNode(e.unref(a.default),e.mergeProps({type:"primary",loading:o.okLoading||e.unref(E)},o.okButtonProps,{onClick:t[3]||(t[3]=o=>e.unref(D)("confirmBtn",o))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.okText||e.unref(S)("drawer.okText")),1)]),_:1},16,["loading"])])):e.createCommentVNode("",!0)])],4),[[e.vShow,e.unref($)]])]),_:3},8,["name","onAfterLeave"])],6)),[[e.vShow,e.unref(j)]]):e.createCommentVNode("",!0)],8,["to","disabled"]))}});module.exports=u;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const t=require("../_shared/icons/IconMore.vue.js"),o=require("./Dropdown.vue.js");;/* empty css */const i=require("../Button/index.js"),r=require("../Button/ButtonGroup.vue.js");;/* empty css */const n=e.defineComponent({name:"DropdownButton",__name:"DropdownButton",props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},trigger:{default:"click"},position:{default:"br"},popupContainer:{default:void 0},disabled:{type:Boolean,default:!1},type:{default:"secondary"},size:{default:void 0},buttonProps:{default:()=>({})},hideOnSelect:{type:Boolean,default:!0}},emits:["popup-visible-change","click","select"],setup:n=>(n,s)=>(e.openBlock(),e.createBlock(e.unref(r),{disabled:n.disabled,type:n.type,size:n.size},{default:e.withCtx(()=>[e.createVNode(e.unref(i.default),e.mergeProps(n.buttonProps,{onClick:s[0]||(s[0]=e=>n.$emit("click",e))}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16),e.createVNode(o,e.mergeProps({"popup-visible":n.popupVisible,"default-popup-visible":n.defaultPopupVisible,trigger:n.trigger,position:n.position,"popup-container":n.popupContainer,"hide-on-select":n.hideOnSelect,disabled:n.disabled},n.$attrs,{onSelect:s[1]||(s[1]=e=>n.$emit("select",e)),onPopupVisibleChange:s[2]||(s[2]=e=>n.$emit("popup-visible-change",e))}),{content:e.withCtx(()=>[e.renderSlot(n.$slots,"content")]),default:e.withCtx(()=>[e.createVNode(e.unref(i.default),e.normalizeProps(e.guardReactiveProps(n.buttonProps)),{icon:e.withCtx(()=>[e.renderSlot(n.$slots,"icon",{},()=>[e.createVNode(e.unref(t))])]),_:3},16)]),_:3},16,["popup-visible","default-popup-visible","trigger","position","popup-container","hide-on-select","disabled"])]),_:3},8,["disabled","type","size"]))});module.exports=n;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),i=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js");const s=require("../_shared/utils/control.js")
|
1
|
+
"use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),i=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js");const s=require("../_shared/utils/control.js");,/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconArrowRight.vue.js");require("./index.js");const l=require("../Trigger/index.js"),u=require("../Scrollbar/index.js"),n=require("./Doption.vue.js");;/* empty css */const a={class:"yc-dropdown"},d={class:"yc-dropdown-list"},p={key:0,class:"yc-dropdown-footer"},c=e.defineComponent({name:"Dsubmenu",__name:"Dsubmenu",props:{disabled:{type:Boolean,default:!1},trigger:{default:"click"},position:{default:"rt"},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},triggerProps:{default:()=>({})},popupMaxHeight:{default:200}},emits:["update:popupVisible","popup-visible-change"],setup(c,{expose:f,emit:v}){const m=c,g=v,{defaultPopupVisible:h,popupVisible:b,trigger:x,position:y,popupMaxHeight:_}=e.toRefs(m),q=s(b,h.value,e=>{g("update:popupVisible",e),g("popup-visible-change",e)}),j=e.ref(),w=e.ref(),V=e.computed(()=>["rt","lt"].includes(y.value)?y.value:"rt"),k=e.computed(()=>["hover","click"].includes(x.value)?x.value:"hover"),B=e.computed(()=>i.isBoolean(_.value)&&!_.value||i.isUndefined(_)?"":o.valueToPx(i.isBoolean(_.value)?200:_.value)),C=async()=>{var o;await e.nextTick();const i=t.unrefElement(j);if(!i)return;const{left:s,top:r,right:l,width:u}=i.getBoundingClientRect(),n="rt"==V.value?l:s-u,a=r-5;null==(o=w.value)||o.updatePosition(n,a)};return f({show(){q.value=!0},hide(){q.value=!1}}),(t,o)=>(e.openBlock(),e.createBlock(e.unref(l),e.mergeProps({"popup-visible":e.unref(q),"onUpdate:popupVisible":o[0]||(o[0]=t=>e.isRef(q)?q.value=t:null),trigger:k.value,position:V.value,"popup-offset":4,disabled:t.disabled,"mouse-enter-delay":150,"mouse-leave-delay":150,"on-trigger-mouseenter":C,"on-trigger-mouseclick":C,"need-transform-origin":"","auto-set-position":"","auto-fit-popup-min-width":"",ref_key:"triggerRef",ref:w},t.triggerProps),{content:e.withCtx(()=>[e.createElementVNode("div",a,[e.createVNode(e.unref(u),{style:e.normalizeStyle({maxHeight:B.value})},{default:e.withCtx(()=>[e.createElementVNode("div",d,[e.renderSlot(t.$slots,"content")])]),_:3},8,["style"]),t.$slots.footer?(e.openBlock(),e.createElementBlock("div",p,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(e.unref(n),{disabled:t.disabled,class:e.normalizeClass(t.$attrs.class),style:e.normalizeStyle(t.$attrs.style),"is-submenu":"",ref_key:"optionRef",ref:j},{suffix:e.withCtx(()=>[e.createVNode(e.unref(r))]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["disabled","class","style"])]),_:3},16,["popup-visible","trigger","position","disabled"]))}});module.exports=c;
|
package/lib/Dropdown/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-dropdown-popup .yc-dropdown{padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:
|
1
|
+
.yc-dropdown-popup .yc-dropdown{padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.yc-dropdown-popup .yc-dropdown .yc-dropdown-list{display:flex;flex-direction:column}.yc-dropdown-popup .yc-dropdown .yc-dropdown-footer{border-top:1px solid var(--color-fill-3)}.yc-dropdown-popup .yc-trigger-arrow{z-index:0;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3)}.yc-dropdown-option{position:relative;z-index:1;padding:0 12px;line-height:36px;font-size:14px;color:var(--color-text-1);text-align:left;display:flex;align-items:center;transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-dropdown-option:not(.yc-dropdown-option-disabled).yc-dropdown-option-active,.yc-dropdown-option:not(.yc-dropdown-option-disabled):hover{background-color:var(--color-fill-2)}.yc-dropdown-option.yc-dropdown-option-disabled{cursor:not-allowed;background-color:transparent;color:var(--color-text-4)}.yc-dropdown-option .yc-dropdown-option-icon,.yc-dropdown-option .yc-dropdown-option-content,.yc-dropdown-option .yc-dropdown-option-suffix{flex-shrink:0;display:flex;align-items:center}.yc-dropdown-option .yc-dropdown-option-icon{margin-right:8px;color:inherit}.yc-dropdown-option .yc-dropdown-option-suffix{color:inherit;margin-left:12px}.yc-dropdown-option .yc-dropdown-option-content{flex:1;overflow:hidden}.yc-dropdown-group-title{margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px}
|
package/lib/Empty/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
|
package/lib/Empty/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const t=require("../_shared/utils/locale.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const t=require("../_shared/utils/locale.js");,/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconEmpty.vue.js"),s={class:"yc-empty"},o={class:"yc-empty-image"},n=["src"],i={class:"yc-empty-description"},c=e.defineComponent({name:"Empty",__name:"index",props:{description:{default:""},imgSrc:{default:""}},setup(c){const d=c,{description:l}=e.toRefs(d),{t:u}=t.useI18n();return(t,c)=>(e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("div",o,[e.renderSlot(t.$slots,"image",{},()=>[t.imgSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.imgSrc,alt:"图片加载失败"},null,8,n)):e.createCommentVNode("",!0),e.createVNode(e.unref(r))])]),e.createElementVNode("div",i,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.description||e.unref(u)("empty.description")),1)])])]))}});module.exports=c;
|
package/lib/Empty/index.vue3.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */,/* empty css */module.exports=e;
|
package/lib/Image/Image.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/locale.js"),i=require("../_shared/utils/control.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/locale.js"),i=require("../_shared/utils/control.js");,/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconImageClose.vue.js"),l=require("./hooks/useContext.js"),a=require("../Spin/index.js"),s=require("./ImagePreview.vue.js");;/* empty css */const n=["src","title","alt"],c={key:1,class:"yc-image-overlay"},d={class:"yc-image-loader"},u={key:2,class:"yc-image-overlay"},m={class:"yc-image-error"},v={class:"yc-image-error-icon"},p={class:"yc-image-error-alt"},f={class:"yc-image-footer-caption"},y=["title"],g=["title"],h={key:0,class:"yc-image-footer-extra"},w=e.defineComponent({name:"Image",__name:"Image",props:{src:{default:""},width:{},height:{},title:{default:""},description:{default:""},fit:{},alt:{},hideFooter:{type:[Boolean,String],default:!1},footerPosition:{default:"inner"},showLoader:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},previewVisible:{type:Boolean,default:void 0},defaultPreviewVisible:{type:Boolean,default:!1},previewProps:{default:()=>({})},footerClass:{default:""}},emits:["update:previewVisible","preview-visible-change"],setup(w,{emit:k}){const V=w,B=k,{src:x,preview:j,previewVisible:E,defaultPreviewVisible:N}=e.toRefs(V),{hasGroupFather:q,handleClick:C}=l().inject(),{t:P}=o.useI18n(),S=i(E,N.value,e=>{B("update:previewVisible",e),B("preview-visible-change",e)}),b=e.ref(!1),_=e.ref(!1),I=()=>{_.value=!1,b.value=!1},$=()=>{_.value=!1,b.value=!0},z=()=>{if(q.value)return C(x.value);j.value&&(S.value=!0)};return e.watch(()=>x.value,()=>{_.value=!0,b.value=!1},{immediate:!0}),(o,i)=>(e.openBlock(),e.createElementBlock("div",{class:"yc-image",style:e.normalizeStyle({width:e.unref(t.valueToPx)(o.width),height:e.unref(t.valueToPx)(o.height)})},[e.createElementVNode("img",{src:e.unref(x),title:o.title,alt:o.alt??o.description,style:e.normalizeStyle({width:e.unref(t.valueToPx)(o.width),height:e.unref(t.valueToPx)(o.height),objectFit:o.fit}),class:"yc-image-img",onLoad:I,onError:$,onClick:z},null,44,n),e.unref(j)?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0,visible:e.unref(S),"onUpdate:visible":i[0]||(i[0]=t=>e.isRef(S)?S.value=t:null),src:e.unref(x)},o.previewProps),e.createSlots({_:2},[o.$slots["preview-actions"]?{name:"actions",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"preview-actions")]),key:"0"}:void 0]),1040,["visible","src"])):e.createCommentVNode("",!0),(o.showLoader||o.$slots.loader)&&_.value?(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",d,[e.renderSlot(o.$slots,"loader",{},()=>[e.createVNode(e.unref(a),{size:30,tip:e.unref(P)("image.loading")},null,8,["tip"])])])])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("div",u,[e.renderSlot(o.$slots,"error",{},()=>[e.createElementVNode("div",m,[e.renderSlot(o.$slots,"error-icon",{},()=>[e.createElementVNode("div",v,[e.createVNode(e.unref(r),{size:60})])]),e.createElementVNode("div",p,e.toDisplayString(o.alt??o.description),1)])])])):e.createCommentVNode("",!0),!o.hideFooter&&(o.title||o.description||o.$slots.extra)?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["yc-image-footer","inner"==o.footerPosition?"yc-image-footer-inner":"yc-image-footer-outer",o.footerClass])},[e.createElementVNode("div",f,[e.createElementVNode("div",{class:"yc-image-footer-caption-title",title:o.title},e.toDisplayString(o.title),9,y),e.createElementVNode("div",{class:"yc-image-footer-caption-description",title:o.description},e.toDisplayString(o.description),9,g)]),o.$slots.extra?(e.openBlock(),e.createElementBlock("div",h,[e.renderSlot(o.$slots,"extra")])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],4))}});module.exports=w;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const t=require("../_shared/utils/control.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const t=require("../_shared/utils/control.js");,/* empty css */,/* empty css */;/* empty css */const a=require("../_shared/icons/IconClose.vue.js"),r=require("../node_modules/@vueuse/core/index.js"),l=require("../Modal/hooks/useModalClose.js"),s=require("./ImagePreviewToolbar.vue.js");;/* empty css */const i={class:"yc-image-preview-mask"},n=["src"],u=e.defineComponent({name:"ImagePreview",inheritAttrs:!1,__name:"ImagePreview",props:{src:{default:""},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},actionsLayout:{default:()=>["fullScreen","rotateRight","rotateLeft","zoomIn","zoomOut","originalSize"]},popupContainer:{default:void 0},escToClose:{type:Boolean,default:!0},wheelZoom:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},defaultScale:{default:1},zoomRate:{default:1.1}},emits:["update:visible","close"],setup(u,{emit:c}){const d=u,f=c,{visible:m,defaultVisible:v,maskClosable:p,escToClose:w,defaultScale:y,zoomRate:h,wheelZoom:k,keyboard:g}=e.toRefs(d),{zIndex:b,popupContainer:C,isAbsolute:z}=o.getGlobalConfig(d),B=e.ref(),_=t(e.ref(),y.value),S=e.ref(0),{outerVisible:q,innerVisible:V,handleClose:j,handleAfterLeave:I}=l({visible:m,defaultVisible:v,escToClose:w,maskClosable:p,onBeforeOk:()=>!0,onBeforeCancel:()=>!0,emits:f}),x=e=>{switch(e){case"rotateRight":S.value+=90;break;case"rotateLeft":S.value-=90;break;case"zoomIn":_.value*=h.value;break;case"zoomOut":_.value/=h.value;break;case"originalSize":_.value=y.value,S.value=0;break;case"fullScreen":{const{offsetWidth:e,offsetHeight:o}=B.value;_.value=e>o?window.innerHeight/o:window.innerHeight/e}}};return(()=>{if(k.value&&r.useEventListener("wheel",e=>{e.preventDefault(),e.stopPropagation();const o=e.deltaY<0?1:-1;_.value*=Math.pow(h.value,o)}),g.value){const e={ArrowUp:"zoomIn",ArrowDown:"zoomOut"," ":"originalSize"};r.onKeyStroke(["ArrowUp","ArrowDown"," "],o=>{x(e[o.key])})}})(),(o,t)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(C)},[e.unref(q)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-image-preview",o.$attrs.class,{"yc-image-preview-absolute":e.unref(z)}]),style:e.normalizeStyle({zIndex:e.unref(b),...o.$attrs.style??{}})},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",i,null,512),[[e.vShow,e.unref(V)]])]),_:1}),e.createVNode(e.Transition,{name:"fade",onAfterLeave:e.unref(I)},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"yc-image-preview-wrapper",onClick:t[2]||(t[2]=e.withModifiers(o=>e.unref(j)("mask",o,!1),["self"]))},[e.createElementVNode("div",{style:e.normalizeStyle({transform:`scale(${e.unref(_)}, ${e.unref(_)})`}),class:"yc-image-preview-img-container",onClick:t[0]||(t[0]=e.withModifiers(o=>e.unref(j)("mask",o,!1),["self"]))},[e.createElementVNode("img",{src:o.src,style:e.normalizeStyle({transform:`translate(-50%, -50%) rotate(${S.value}deg)`}),class:"yc-image-preview-img",ref_key:"imageRef",ref:B},null,12,n)],4),e.createVNode(s,{actionsLayout:o.actionsLayout,onClick:x},e.createSlots({_:2},[o.$slots.actions?{name:"actions",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"actions")]),key:"0"}:void 0]),1032,["actionsLayout"]),e.renderSlot(o.$slots,"arrow"),o.closable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-image-preview-close-btn",onClick:t[1]||(t[1]=o=>e.unref(j)("closeBtn",o))},[e.createVNode(e.unref(a))])):e.createCommentVNode("",!0)],512),[[e.vShow,e.unref(V)]])]),_:3},8,["onAfterLeave"])],6)):e.createCommentVNode("",!0)],8,["to"]))}});module.exports=u;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconArrowRight.vue.js"),o=e.defineComponent({__name:"ImagePreviewArrow",props:{type:{}},setup:o=>(o,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([`yc-image-preview-arrow-${o.type}`])},[e.createVNode(e.unref(r),{rotate:"left"==o.type?180:0},null,8,["rotate"])],2))});module.exports=o;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const o=require("../_shared/utils/locale.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const o=require("../_shared/utils/locale.js");,/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconFullScreen.vue2.js"),n=require("../_shared/icons/IconOriginSize.vue2.js"),t=require("../_shared/icons/IconRotateLeft.vue2.js"),i=require("../_shared/icons/IconRotateRight.vue2.js"),s=require("../_shared/icons/IconZoomIn.vue2.js"),c=require("../_shared/icons/IconZoomOut.vue2.js"),a=require("./ImagePreviewAction.vue.js");;/* empty css */const u={key:0,class:"yc-image-preview-toolbar"},l=e.defineComponent({__name:"ImagePreviewToolbar",props:{actionsLayout:{default:()=>[]}},emits:["click"],setup(l){const{t:m}=o.useI18n(),d={fullScreen:r,rotateRight:i,rotateLeft:t,zoomIn:s,zoomOut:c,originalSize:n};return(o,r)=>o.actionsLayout.length?(e.openBlock(),e.createElementBlock("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.actionsLayout,r=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[d[r]?(e.openBlock(),e.createBlock(a,{key:0,name:e.unref(m)(`imagePreview.${r}`),onClick:e=>o.$emit("click",r,e)},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[r])))]),_:2},1032,["name","onClick"])):e.createCommentVNode("",!0)],64))),128)),e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0)}});module.exports=l;
|
package/lib/Image/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-image{position:relative;display:inline-block;border-radius:
|
1
|
+
.yc-image{position:relative;display:inline-block;border-radius:var(--border-radius-small)}.yc-image .yc-image-img{vertical-align:middle;border-radius:inherit;border-style:none}.yc-image .yc-image-overlay{z-index:11;position:absolute;left:0;top:0;height:100%;width:100%}.yc-image .yc-image-overlay .yc-image-error{width:100%;height:100%;background-color:var(--color-neutral-1);color:var(--color-neutral-4);display:flex;flex-direction:column;align-items:center;justify-content:center}.yc-image .yc-image-overlay .yc-image-error .yc-image-error-icon{width:60px;height:60px;max-width:100%;max-height:100%}.yc-image .yc-image-overlay .yc-image-error .yc-image-error-alt{padding:8px 16px;font-size:12px;line-height:1.6667}.yc-image .yc-image-overlay .yc-image-loader{height:100%;width:100%;background-color:rgba(255,255,255,0.6);display:flex;justify-content:center;align-items:center}.yc-image .yc-image-footer{width:100%;display:flex;justify-content:space-between;gap:12px}.yc-image .yc-image-footer .yc-image-footer-caption{flex:1}.yc-image .yc-image-footer .yc-image-footer-caption .yc-image-footer-caption-title{font-weight:500;font-size:16px;line-height:24px}.yc-image .yc-image-footer .yc-image-footer-caption .yc-image-footer-caption-description{font-size:14px;line-height:21px}.yc-image .yc-image-footer .yc-image-footer-extra{flex-shrink:0}.yc-image .yc-image-footer-inner{padding:9px 16px;position:absolute;bottom:0;left:0;color:#fff;background:linear-gradient(360deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);border-bottom-right-radius:2px;border-bottom-left-radius:2px;align-items:center}.yc-image .yc-image-footer-outer{margin-top:4px;color:var(--color-text-2)}.yc-image .yc-image-footer-outer .yc-image-footer-caption .yc-image-footer-caption-title{color:var(--color-text-1)}.yc-image-preview{position:fixed;height:100%;width:100%;left:0;top:0}.yc-image-preview .yc-image-preview-mask{position:absolute;height:100%;width:100%;background-color:var(--color-mask-bg)}.yc-image-preview .yc-image-preview-wrapper{position:absolute;height:100%;width:100%}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-img-container{height:100%;width:100%;position:absolute}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-img-container .yc-image-preview-img{left:50%;top:50%;position:absolute;display:inline-block;max-width:100%;max-height:100%;vertical-align:middle;cursor:grab;user-select:none}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-toolbar{position:absolute;bottom:46px;left:50%;transform:translate(-50%);padding:4px 16px;background-color:var(--color-bg-2);border-radius:var(--border-radius-medium);display:flex;align-items:flex-start}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-toolbar .yc-image-preview-toolbar-action{cursor:pointer;border-radius:var(--border-radius-small);background-color:transparent;color:var(--color-text-2);font-size:14px;display:flex;align-items:center;justify-content:center}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-toolbar .yc-image-preview-toolbar-action .yc-image-preview-toolbar-action-content{padding:13px;line-height:1}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-toolbar .yc-image-preview-toolbar-action:not(.yc-image-preview-toolbar-action-disabled):hover{color:rgb(var(--primary-6));background-color:var(--color-neutral-2)}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-toolbar .yc-image-preview-toolbar-action-disabled{color:var(--color-text-disabled);background-color:transparent;cursor:not-allowed}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-close-btn{cursor:pointer;position:absolute;top:36px;right:36px;width:32px;height:32px;background:rgba(0,0,0,0.5);border-radius:var(--border-radius-circle);color:var(--color-white);font-size:14px;text-align:center;display:flex;align-items:center;justify-content:center}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-arrow-right,.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-arrow-left{cursor:pointer;position:absolute;z-index:2;width:32px;height:32px;color:var(--color-white);background-color:#ffffff4d;border-radius:var(--border-radius-circle);display:flex;align-items:center;justify-content:center}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-arrow-right:hover,.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-arrow-left:hover{background-color:#ffffff80}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-arrow-left{top:50%;left:20px;transform:translateY(-50%)}.yc-image-preview .yc-image-preview-wrapper .yc-image-preview-arrow-right{top:50%;right:20px;transform:translateY(-50%)}.yc-image-preview-absolute{position:absolute}
|
package/lib/Input/Input.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const t=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const o=require("../_shared/utils/control.js"),n=require("./hooks/useLimitedInput.js"),l
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const t=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const o=require("../_shared/utils/control.js"),n=require("./hooks/useLimitedInput.js"),l=;/* empty css */;/* empty css */const s=;/* empty css */,/* empty css */;/* empty css */const i=require("./InputSuffix.vue.js");;/* empty css */const r=["value","type","disabled","readonly","placeholder"],u=e.defineComponent({name:"Input",__name:"Input",props:{modelValue:{default:void 0},defaultValue:{default:""},size:{default:void 0},allowClear:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},error:{type:Boolean,default:void 0},placeholder:{default:""},maxLength:{default:void 0},wordLength:{type:Function,default:e=>e.length},wordSlice:{type:Function,default:(e,t)=>e.slice(0,t)},showWordLimit:{type:Boolean,default:!1},inputAttrs:{default:()=>({})},isPassword:{type:Boolean,default:!1},visibility:{type:Boolean,default:void 0},defaultVisibility:{type:Boolean,default:!1},invisibleButton:{type:Boolean,default:!0},showInput:{type:Boolean,default:!1}},emits:["update:modelValue","update:visibility","input","change","visibility-change","pressEnter","keydown","clear","focus","blur"],setup(u,{expose:a,emit:d}){const c=u,p=d,{visibility:f,defaultVisibility:y}=e.toRefs(c),{size:m}=t.getGlobalConfig(c),h=e.ref(),v=o(f,y.value,e=>{p("update:visibility",e),p("visibility-change",e)}),b=e.computed(()=>v.value?"password":"text"),{computedValue:w,showWordLimit:k,showClearBtn:B,curLength:x,maxLength:C,error:g,handleInput:_,handleComposition:$}=n({props:c,emits:p,inputRef:h}),q=async(e,t)=>{switch(e){case"input":_(t);break;case"change":p("change",w.value,t);break;case"focus":case"blur":p(e,t);break;case"clear":w.value="",p("clear",t);break;case"keydown":{const e=t;p("keydown",e),"Enter"==e.key&&p("pressEnter",e)}}};return a({focus(){var e;null==(e=h.value)||e.focus()},blur(){var e;null==(e=h.value)||e.blur()},getInputRef:()=>h.value}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-input-outer",`yc-input-size-${e.unref(m)}`,{"yc-input-disabled":t.disabled,"yc-input-error":e.unref(g),"yc-input-has-prepend":t.$slots.prepend,"yc-input-has-append":t.$slots.append}])},[t.$slots.prepend?(e.openBlock(),e.createBlock(e.unref(s),{key:0,class:"yc-input-prepend"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"prepend")]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["yc-input-wrapper",{"yc-input-wrapper-disabled":t.disabled}])},[t.$slots.prefix?(e.openBlock(),e.createBlock(e.unref(s),{key:0,class:"yc-input-prefix"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"prefix")]),_:3})):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",e.mergeProps({value:e.unref(w),type:b.value,disabled:t.disabled,readonly:t.readonly,placeholder:t.placeholder},t.inputAttrs,{class:"yc-input",ref_key:"inputRef",ref:h,onInput:o[0]||(o[0]=e=>q("input",e)),onChange:o[1]||(o[1]=e=>q("change",e)),onCompositionstart:o[2]||(o[2]=(...t)=>e.unref($)&&e.unref($)(...t)),onCompositionupdate:o[3]||(o[3]=(...t)=>e.unref($)&&e.unref($)(...t)),onCompositionend:o[4]||(o[4]=(...t)=>e.unref($)&&e.unref($)(...t)),onFocus:o[5]||(o[5]=e=>q("focus",e)),onBlur:o[6]||(o[6]=e=>q("blur",e)),onKeydown:o[7]||(o[7]=e.withKeys(e=>q("keydown",e),["enter"]))}),null,16,r),[[e.vShow,!t.$slots.label||t.$slots.label&&t.showInput]]),t.$slots.label?e.withDirectives((e.openBlock(),e.createBlock(e.unref(s),{key:1,class:"yc-input text-ellipsis"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"label")]),_:3},512)),[[e.vShow,!t.showInput]]):e.createCommentVNode("",!0),e.unref(B)?(e.openBlock(),e.createBlock(e.unref(l),{key:2,class:"yc-input-clear-button",onClick:o[8]||(o[8]=e=>q("clear",e))})):e.createCommentVNode("",!0),t.$slots.suffix||e.unref(k)||t.isPassword&&t.invisibleButton?(e.openBlock(),e.createBlock(i,{key:3,"cur-length":e.unref(x),"max-length":e.unref(C),"computed-value":e.unref(w),"show-word-limit":e.unref(k),"computed-visibility":e.unref(v),"invisible-button":t.invisibleButton,"is-password":t.isPassword,onVisibilityChange:o[9]||(o[9]=e=>v.value=e)},e.createSlots({_:2},[t.$slots.suffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"suffix")]),key:"0"}:void 0]),1032,["cur-length","max-length","computed-value","show-word-limit","computed-visibility","invisible-button","is-password"])):e.createCommentVNode("",!0)],2),t.$slots.append?(e.openBlock(),e.createBlock(e.unref(s),{key:1,class:"yc-input-append"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"append")]),_:3})):e.createCommentVNode("",!0)],2))}});module.exports=u;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue")
|
1
|
+
"use strict";const e=require("vue"),o=;/* empty css */;/* empty css */const i=;/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */;/* empty css */const t=require("../_shared/icons/IconEyeClose.vue2.js"),s=require("../_shared/icons/IconEyeOpen.vue2.js"),n={key:0,class:"yc-input-word-limit"},r=e.defineComponent({__name:"InputSuffix",props:{curLength:{},maxLength:{},showWordLimit:{type:Boolean},computedVisibility:{type:Boolean},isPassword:{type:Boolean},invisibleButton:{type:Boolean}},emits:["clear","visibilityChange"],setup:r=>(r,u)=>(e.openBlock(),e.createBlock(e.unref(i),{class:"yc-input-suffix"},{default:e.withCtx(()=>[r.showWordLimit?(e.openBlock(),e.createElementBlock("div",n,e.toDisplayString(r.curLength)+"/"+e.toDisplayString(r.maxLength),1)):e.createCommentVNode("",!0),r.isPassword&&r.invisibleButton?(e.openBlock(),e.createBlock(e.unref(o),{key:1,size:14,onClick:u[0]||(u[0]=e=>r.$emit("visibilityChange",!r.computedVisibility))},{default:e.withCtx(()=>[r.computedVisibility?(e.openBlock(),e.createBlock(e.unref(s),{key:0})):(e.openBlock(),e.createBlock(e.unref(t),{key:1}))]),_:1})):e.createCommentVNode("",!0),r.$slots.suffix?e.renderSlot(r.$slots,"suffix",{key:2}):e.createCommentVNode("",!0)]),_:3}))});module.exports=r;
|
package/lib/Input/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-input-outer{width:100%;display:inline-flex;align-items:center}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append,.yc-input-outer .yc-input-wrapper{flex-shrink:0;font-size:inherit}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append{overflow:hidden;height:100%;padding:0 12px;color:var(--color-text-1);font-weight:400;white-space:nowrap;background-color:var(--color-fill-2);display:flex;align-items:center}.yc-input-outer .yc-input-prepend.yc-input-prepend,.yc-input-outer .yc-input-append.yc-input-prepend{border-right:1px solid var(--color-neutral-3);border-top-left-radius:2px;border-bottom-left-radius:2px}.yc-input-outer .yc-input-prepend.yc-input-append,.yc-input-outer .yc-input-append.yc-input-append{border-left:1px solid var(--color-neutral-3);border-top-right-radius:2px;border-bottom-right-radius:2px}.yc-input-has-prepend .yc-input-wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.yc-input-has-append .yc-input-wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.yc-input-error .yc-input-wrapper{background-color:var(--color-danger-light-1)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):hover{border-color:transparent;background-color:var(--color-danger-light-2)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):focus-within{background:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-input-disabled{cursor:not-allowed}.yc-input-disabled .yc-input-wrapper{cursor:not-allowed;border-color:transparent;background-color:var(--color-fill-2);color:var(--color-text-4)}.yc-input-disabled .yc-input-wrapper .yc-input-prefix,.yc-input-disabled .yc-input-wrapper .yc-input-suffix{color:inherit}.yc-input-disabled .yc-input-wrapper .yc-input::placeholder{color:var(--color-text-4)}.yc-input-wrapper{flex:1;height:100%;width:100%;cursor:text;padding:0 12px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:
|
1
|
+
.yc-input-outer{width:100%;display:inline-flex;align-items:center}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append,.yc-input-outer .yc-input-wrapper{flex-shrink:0;font-size:inherit}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append{overflow:hidden;height:100%;padding:0 12px;color:var(--color-text-1);font-weight:400;white-space:nowrap;background-color:var(--color-fill-2);display:flex;align-items:center}.yc-input-outer .yc-input-prepend.yc-input-prepend,.yc-input-outer .yc-input-append.yc-input-prepend{border-right:1px solid var(--color-neutral-3);border-top-left-radius:2px;border-bottom-left-radius:2px}.yc-input-outer .yc-input-prepend.yc-input-append,.yc-input-outer .yc-input-append.yc-input-append{border-left:1px solid var(--color-neutral-3);border-top-right-radius:2px;border-bottom-right-radius:2px}.yc-input-has-prepend .yc-input-wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.yc-input-has-append .yc-input-wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.yc-input-error .yc-input-wrapper{background-color:var(--color-danger-light-1)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):hover{border-color:transparent;background-color:var(--color-danger-light-2)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):focus-within{background:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-input-disabled{cursor:not-allowed}.yc-input-disabled .yc-input-wrapper{cursor:not-allowed;border-color:transparent;background-color:var(--color-fill-2);color:var(--color-text-4)}.yc-input-disabled .yc-input-wrapper .yc-input-prefix,.yc-input-disabled .yc-input-wrapper .yc-input-suffix{color:inherit}.yc-input-disabled .yc-input-wrapper .yc-input::placeholder{color:var(--color-text-4)}.yc-input-wrapper{flex:1;height:100%;width:100%;cursor:text;padding:0 12px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:color .1s cubic-bezier(0, 0, 1, 1),border-color .1s cubic-bezier(0, 0, 1, 1),background-color .1s cubic-bezier(0, 0, 1, 1);color:var(--color-text-1);font-size:inherit;font-weight:400;display:flex;align-items:center}.yc-input-wrapper:not(.yc-input-wrapper-disabled):hover{border-color:transparent;background-color:var(--color-fill-3)}.yc-input-wrapper:not(.yc-input-wrapper-disabled):hover .yc-input-clear-button{visibility:visible}.yc-input-wrapper:not(.yc-input-wrapper-disabled):focus-within{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-input-wrapper .yc-input-prefix,.yc-input-wrapper .yc-input-suffix,.yc-input-wrapper .yc-input{flex-shrink:0;color:inherit}.yc-input-wrapper .yc-input-prefix,.yc-input-wrapper .yc-input-suffix{height:100%;color:var(--color-text-2);display:flex;justify-content:center;align-items:center}.yc-input-wrapper .yc-input-prefix .yc-input-word-limit,.yc-input-wrapper .yc-input-suffix .yc-input-word-limit{color:var(--color-text-3);font-size:12px}.yc-input-wrapper .yc-input-prefix .yc-icon-button,.yc-input-wrapper .yc-input-suffix .yc-icon-button{color:inherit}.yc-input-wrapper .yc-input-prefix.yc-input-prefix,.yc-input-wrapper .yc-input-suffix.yc-input-prefix{padding-right:12px}.yc-input-wrapper .yc-input-prefix.yc-input-suffix,.yc-input-wrapper .yc-input-suffix.yc-input-suffix{padding-left:12px}.yc-input-wrapper .yc-input-clear-button{visibility:hidden}.yc-input-wrapper .yc-input{flex:1;cursor:inherit;outline:none;border:none;border-radius:var(--border-radius-none);background-color:transparent;color:inherit}.yc-input-wrapper .yc-input::placeholder{color:var(--color-text-3)}.yc-input-size-mini{font-size:12px;height:24px}.yc-input-size-mini .yc-input-wrapper .yc-input{padding:1px 0;line-height:1.667}.yc-input-size-small{font-size:14px;height:28px}.yc-input-size-small .yc-input-wrapper .yc-input{padding:2px 0;line-height:1.5715}.yc-input-size-medium{font-size:14px;height:32px}.yc-input-size-medium .yc-input-wrapper .yc-input{padding:4px 0;line-height:1.5715}.yc-input-size-large{font-size:14px;height:36px}.yc-input-size-large .yc-input-wrapper .yc-input{padding:6px 0;line-height:1.5715}
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js")
|
1
|
+
"use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const n=require("../_shared/icons/IconMinus.vue.js"),s=require("../_shared/icons/IconPlus.vue.js"),r=require("../Button/index.js"),u=e.defineComponent({__name:"InputOperaBtn",props:{mode:{},type:{},disabled:{type:Boolean},computedValue:{},min:{},max:{},size:{}},emits:["click"],setup(u){const i=u,{disabled:t,computedValue:l,min:c,max:a,type:d}=e.toRefs(i),m=e.computed(()=>t.value?t.value:"minus"==d.value?+l.value<=c.value:+l.value>=a.value);return(u,i)=>(e.openBlock(),e.createBlock(e.unref(r.default),{size:u.size,disabled:m.value,class:e.normalizeClass([{"yc-input-number-plus-embed":"embed"==u.mode}]),onClick:i[0]||(i[0]=o=>u.$emit("click",e.unref(d)))},{icon:e.withCtx(()=>[e.renderSlot(u.$slots,"icon",{},()=>["embed"==u.mode?(e.openBlock(),e.createBlock(e.unref(o),{key:0,rotate:"plus"==e.unref(d)?180:0},null,8,["rotate"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["minus"==e.unref(d)?(e.openBlock(),e.createBlock(e.unref(n),{key:0})):(e.openBlock(),e.createBlock(e.unref(s),{key:1}))],64))])]),_:3},8,["size","disabled","class"]))}});module.exports=u;
|
package/lib/InputTag/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-input-tag{cursor:text;position:relative;width:100%;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:
|
1
|
+
.yc-input-tag{cursor:text;position:relative;width:100%;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:color .1s cubic-bezier(0, 0, 1, 1),border-color .1s cubic-bezier(0, 0, 1, 1),background-color .1s cubic-bezier(0, 0, 1, 1);color:var(--color-text-1);font-weight:400;display:inline-flex;align-items:center}.yc-input-tag:not(.yc-input-tag-disabled):hover .yc-input-tag-clear-button{visibility:visible}.yc-input-tag:not(.yc-input-tag-disabled):hover{border-color:transparent;background-color:var(--color-fill-3)}.yc-input-tag:not(.yc-input-tag-disabled):focus-within{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-input-tag:not(.yc-input-tag-disabled):focus-within .yc-input-tag-inner .yc-tag{border-color:var(--color-fill-2);background-color:var(--color-fill-2)}.yc-input-tag .yc-input-tag-prefix,.yc-input-tag .yc-input-tag-suffix{height:100%;display:flex;justify-content:center;align-items:center;font-size:inherit;color:var(--color-text-2)}.yc-input-tag .yc-input-tag-prefix.yc-input-tag-prefix,.yc-input-tag .yc-input-tag-suffix.yc-input-tag-prefix{padding-right:12px}.yc-input-tag .yc-input-tag-prefix.yc-input-tag-suffix,.yc-input-tag .yc-input-tag-suffix.yc-input-tag-suffix{padding-left:12px}.yc-input-tag .yc-input-tag-clear-button{visibility:hidden}.yc-input-tag .yc-input-tag-mirror{min-width:12px;position:absolute;top:0;left:0;visibility:hidden;font-variant:normal;letter-spacing:normal;text-indent:0;text-rendering:auto;text-transform:none;white-space:pre-wrap;overflow-wrap:break-word}.yc-input-tag .yc-input-tag-inner{overflow:hidden;flex:1;flex-shrink:0;display:flex;align-items:center;flex-wrap:wrap;gap:2px 4px}.yc-input-tag .yc-input-tag-inner .yc-tag{max-width:100%}.yc-input-tag .yc-input-tag-inner .yc-tag:hover{background-color:var(--color-bg-2)}.yc-input-tag .yc-input-tag-inner .yc-input-tag-input{max-width:100%;cursor:inherit;outline:none;border:none;border-radius:var(--border-radius-none);background-color:transparent;color:inherit}.yc-input-tag .yc-input-tag-inner .yc-input-tag-input::placeholder{color:var(--color-text-3)}.yc-input-tag-error{background-color:var(--color-danger-light-1)}.yc-input-tag-error:not(.yc-input-tag-disabled):hover{border-color:transparent;background-color:var(--color-danger-light-2)}.yc-input-tag-error:not(.yc-input-tag-disabled):focus-within{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-input-tag.yc-input-tag-no-value{padding:0 12px}.yc-input-tag.yc-input-tag-has-suffix{padding-right:12px}.yc-input-tag-disabled{cursor:not-allowed;border-color:transparent;background-color:var(--color-fill-2);color:var(--color-text-4)}.yc-input-tag-disabled .yc-input-tag-prefix,.yc-input-tag-disabled .yc-input-tag-suffix{color:inherit}.yc-input-tag-disabled .yc-input-tag-inner .yc-tag{cursor:not-allowed;color:var(--color-text-4);background-color:var(--color-fill-2);border-color:var(--color-fill-3)}.yc-input-tag-disabled .yc-input-tag-inner .yc-tag:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:var(--color-fill-3)}.yc-input-tag-size-mini{min-height:24px;font-size:12px;padding:0 4px}.yc-input-tag-size-mini .yc-input-tag-inner{padding:1px 0}.yc-input-tag-size-small{min-height:28px;font-size:14px;padding:0 4px}.yc-input-tag-size-small .yc-input-tag-inner{padding:2px 0}.yc-input-tag-size-medium{min-height:32px;font-size:14px;padding:0 4px}.yc-input-tag-size-medium .yc-input-tag-inner{padding:2px 0}.yc-input-tag-size-large{min-height:36px;font-size:14px;padding:0 6px}.yc-input-tag-size-large .yc-input-tag-inner{padding:2px 0}.yc-input-tag-size-large .yc-input-tag-inner .yc-tag-size-large{min-height:28px;line-height:26px}
|
package/lib/InputTag/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),l=require("../node_modules/nanoid/index.browser.js"),a=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),u=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const r=require("../_shared/utils/control.js"),n=require("../Tag/index.js"),s
|
1
|
+
"use strict";const e=require("vue"),l=require("../node_modules/nanoid/index.browser.js"),a=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),u=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const r=require("../_shared/utils/control.js"),n=require("../Tag/index.js"),s=;/* empty css */;/* empty css */const i=;/* empty css */,/* empty css */;/* empty css */const d=["disabled","readonly","placeholder"],c=e.defineComponent({name:"InputTag",__name:"index",props:{modelValue:{default:void 0},defaultValue:{default:()=>[]},inputValue:{default:void 0},defaultInputValue:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},size:{default:void 0},maxTagCount:{default:0},retainInputValue:{type:[Boolean,Object],default:!1},formatTag:{},uniqueValue:{type:Boolean,default:!1},tagNowrap:{type:Boolean,default:!1},fieldNames:{default:()=>({id:"id",label:"label",value:"value",closeable:"closeable",tagProps:"tagProps"})},allowCreate:{type:Boolean,default:!0}},emits:["update:modelValue","update:inputValue","input","input-value-change","focus","blur","press-enter","remove","clear"],setup(c,{expose:v,emit:p}){const f=c,m=p,{modelValue:g,defaultValue:b,inputValue:h,defaultInputValue:y,allowClear:x,disabled:k,readonly:w,uniqueValue:V,retainInputValue:B,allowCreate:C,maxTagCount:_,fieldNames:j,tagNowrap:q}=e.toRefs(f),{size:N}=o.getGlobalConfig(f),T=e.ref(),E=e.ref(),I=e.computed(()=>Object.fromEntries(["id","label","value","closable","tagProps"].map(e=>[e,j.value[e]??e]))),{width:P}=a.useElementSize(E,void 0,{box:"border-box"}),S=r(g,b.value,e=>m("update:modelValue",e),e=>{const{id:a,label:t,value:o,closable:r,tagProps:n}=I.value;return e.map(e=>{if(u.isObject(e)){const t=e;return t[a]=t[a]??l.nanoid(),t[r]=t[r]??!0,t[n]=t[n]??{bordered:!0,nowrap:q.value},e}const s={};return s[a]=l.nanoid(),s[t]=e,s[o]=e,s[r]=!0,s[n]={bordered:!0,nowrap:q.value},s})}),z=r(h,y.value,e=>{m("update:inputValue",e)}),$=e.computed(()=>({visibleList:_.value>0?S.value.slice(0,_.value):S.value,hideList:S.value.slice(_.value)})),D=e.computed(()=>x.value&&!k.value&&!w.value&&S.value.length),L=()=>{u.isBoolean(B.value)&&B.value||u.isObject(B.value)&&B.value.create||(z.value="")},O=(e,a,t)=>{var u,o;const r=null==(u=z.value)?void 0:u.trim();switch(e){case"input":case"input-value-change":{const{value:l}=a.target;m(e,l,a)}break;case"focus":case"blur":m(e,a),"blur"==e&&L();break;case"pressEnter":{const{label:e,value:t,id:u}=I.value,o=!V.value||V.value&&!S.value.find(e=>((null==e?void 0:e[t])??e)==r);if(!r||!C.value||!o)return;const n={};n[u]=l.nanoid(),n[e]=z.value,n[t]=z.value,S.value=[...S.value,n],m("press-enter",a),L()}break;case"close":{const e=S.value,l=e.find(e=>e.id==t);S.value=e.filter(e=>e.id!=t),m("remove",null==l?void 0:l.value,a)}break;case"remove":{if(r||!(null==(o=S.value)?void 0:o.length))return;const e=S.value[S.value.length-1];S.value=S.value.slice(0,S.value.length-1),m("remove",e.value,a)}break;case"clear":S.value=[],m("clear",a)}};return v({focus(){var e;null==(e=T.value)||e.focus()},blur(){var e;null==(e=T.value)||e.blur()}}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-input-tag",`yc-input-tag-size-${e.unref(N)}`,{"yc-input-tag-no-value":!e.unref(S).length,"yc-input-tag-disabled":e.unref(k),"yc-input-tag-error":l.error,"yc-input-tag-has-suffix":l.$slots.suffix||D.value}]),onMousedown:a[8]||(a[8]=e=>e.preventDefault()),onClick:a[9]||(a[9]=e=>{var l;return null==(l=T.value)?void 0:l.focus()})},[l.$slots.prefix?(e.openBlock(),e.createBlock(e.unref(i),{key:0,class:"yc-input-tag-prefix"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"prefix")]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"yc-input-tag-mirror",ref_key:"mirrorRef",ref:E},e.toDisplayString(e.unref(z)||(e.unref(S).length?"":l.placeholder)),513),e.createVNode(e.TransitionGroup,{name:"input-tag-zoom",tag:"div",class:"yc-input-tag-inner"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value.visibleList,a=>e.renderSlot(l.$slots,"tag",{key:null==a?void 0:a[I.value.id],tag:a},()=>[e.createVNode(e.unref(n),{closable:a[I.value.closable],bordered:a[I.value.tagProps].bordered,nowrap:a[I.value.tagProps].nowrap,checked:!1,onClose:e=>O("close",e,null==a?void 0:a[I.value.id])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.formatTag?l.formatTag(a):a[I.value.label]),1)]),_:2},1032,["closable","bordered","nowrap","onClose"])])),128)),e.unref(_)>0&&e.unref(S).length>e.unref(_)?(e.openBlock(),e.createBlock(e.unref(n),{nowrap:e.unref(q),checked:!1,bordered:"",key:"yc-select-value-tag"},{default:e.withCtx(()=>[e.createTextVNode(" +"+e.toDisplayString($.value.hideList.length)+"... ",1)]),_:1},8,["nowrap"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":a[0]||(a[0]=l=>e.isRef(z)?z.value=l:null),key:"yc-input-tag-input",disabled:e.unref(k),readonly:e.unref(w),placeholder:e.unref(S).length?"":l.placeholder,style:e.normalizeStyle({width:e.unref(t.valueToPx)(e.unref(P))}),class:"yc-input-tag-input",ref_key:"inputRef",ref:T,onInput:a[1]||(a[1]=e=>O("input",e)),onChange:a[2]||(a[2]=e=>O("input-value-change",e)),onFocus:a[3]||(a[3]=e=>O("focus",e)),onBlur:a[4]||(a[4]=e=>O("blur",e)),onKeydown:[a[5]||(a[5]=e.withKeys(e=>O("pressEnter",e),["enter"])),a[6]||(a[6]=e.withKeys(e=>O("remove",e),["delete"]))]},null,44,d),[[e.vModelText,e.unref(z)]])]),_:3}),l.$slots.suffix||D.value?(e.openBlock(),e.createBlock(e.unref(i),{key:1,class:"yc-input-tag-suffix"},{default:e.withCtx(()=>[D.value?(e.openBlock(),e.createBlock(e.unref(s),{key:0,class:"yc-input-tag-clear-button",onClick:a[7]||(a[7]=e=>O("clear",e))})):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"suffix")]),_:3})):e.createCommentVNode("",!0)],34))}});module.exports=c;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */,/* empty css */module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const t=require("../_shared/icons/IconArrowRight.vue.js"),l=require("./hooks/useSiderContext.js"),o=require("../ResizeBox/index.js"),a={class:"yc-layout-sider-children"},s={class:"yc-layout-sider-children"},i=e.defineComponent({name:"LayoutSider",inheritAttrs:!1,__name:"LayoutSider",props:{theme:{default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:!1},collapsible:{type:Boolean,default:!1},width:{default:200},collapsedWidth:{default:48},reverseArrow:{type:Boolean,default:!1},breakpoint:{default:void 0},hideTrigger:{type:Boolean,default:!1},resizeDirections:{default:()=>[]}},emits:["update:collapsed","collapse","breakpoint"],setup(i,{emit:u}){const n=i,d=u,{collapsible:c,breakpoint:v,hideTrigger:p,collapsedWidth:y,width:f}=e.toRefs(n),{theme:m,computedCollapsed:h}=l.default().provide(n,d),g=e.ref(f.value),k=e.computed(()=>!p.value&&c.value),B=()=>{if(!c.value)return;const e=!h.value;h.value=e,g.value=e?y.value:f.value,d("collapse",e,"clickTrigger")};return r.mediaQueryHandler((e,r,t)=>{if(!c.value||!v.value)return;const l=t<=r[v.value];h.value=l,g.value=l?y.value:f.value,d("collapse",l,"responsive"),d("breakpoint",l)}),(l,i)=>{var u;return l.resizeDirections.length?(e.openBlock(),e.createBlock(e.unref(o),{key:0,width:g.value,"onUpdate:width":i[0]||(i[0]=e=>g.value=e),directions:l.resizeDirections,class:e.normalizeClass(["yc-layout-sider",`yc-layout-sider-${e.unref(m)}`,l.$attrs.class,{"yc-layout-sider-has-trigger":k.value}])},{default:e.withCtx(()=>[e.createElementVNode("div",a,[e.renderSlot(l.$slots,"default")]),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-layout-sider-trigger",onClick:B},[e.renderSlot(l.$slots,"trigger",{collapsed:e.unref(h)},()=>[e.createVNode(e.unref(t),{rotate:e.unref(h)&&!l.reverseArrow?0:180},null,8,["rotate"])])])):e.createCommentVNode("",!0)]),_:3},8,["width","directions","class"])):(e.openBlock(),e.createElementBlock("aside",{key:1,class:e.normalizeClass(["yc-layout-sider","yc-layout-sider-translation",`yc-layout-sider-${e.unref(m)}`,l.$attrs.class,{"yc-layout-sider-has-trigger":k.value}]),style:e.normalizeStyle({...l.$attrs.style||{},width:e.unref(h)?e.unref(r.valueToPx)(e.unref(y)):(null==(u=l.$attrs.style)?void 0:u.width)||e.unref(r.valueToPx)(g.value)})},[e.createElementVNode("div",s,[e.renderSlot(l.$slots,"default")]),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-layout-sider-trigger",onClick:B},[e.renderSlot(l.$slots,"trigger",{collapsed:e.unref(h)},()=>[e.createVNode(e.unref(t),{rotate:e.unref(h)&&!l.reverseArrow?0:180},null,8,["rotate"])])])):e.createCommentVNode("",!0)],6))}}});module.exports=i;
|
package/lib/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)}
|
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)}.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/lib/Link/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
|
package/lib/Link/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const n=require("../_shared/icons/IconLink.vue.js"),o=require("../Spin/index.js"),l=["href"],t={key:0,class:"yc-link-icon"},r=e.defineComponent({name:"Link",__name:"index",props:{href:{default:""},icon:{type:Boolean,default:!1},status:{default:"normal"},hoverable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["click","dblclick","contextmenu"],setup(r,{emit:i}){const s=r,a=i,{disabled:c,loading:u,href:d}=e.toRefs(s),k=e.computed(()=>u.value||c.value?"javascript:void(0)":d.value||"javascript:void(0)"),m=(e,n)=>{c.value||u.value||a(e,n)};return(r,i)=>(e.openBlock(),e.createElementBlock("a",{href:k.value,class:e.normalizeClass(["yc-link",`yc-link-status-${r.status}`,{"yc-link-hoverable":r.hoverable&&!e.unref(c)&&!e.unref(u),"yc-link-loading":e.unref(u),"yc-link-disabled":e.unref(c)}]),onClick:i[0]||(i[0]=e=>m("click",e)),onDblclick:i[1]||(i[1]=e=>m("dblclick",e)),onContextmenu:i[2]||(i[2]=e=>m("contextmenu",e))},[r.$slots.icon||r.icon||e.unref(u)?(e.openBlock(),e.createElementBlock("span",t,[e.unref(u)?(e.openBlock(),e.createBlock(e.unref(o),{key:1,"is-size-inherit":""})):e.renderSlot(r.$slots,"icon",{key:0},()=>[r.icon?(e.openBlock(),e.createBlock(e.unref(n),{key:0})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default")],42,l))}});module.exports=r;
|
package/lib/Link/index.vue3.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e
|
1
|
+
"use strict";const e=;/* empty css */,/* empty css */module.exports=e;
|
package/lib/List/List.vue.d.ts
CHANGED
@@ -151,9 +151,9 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
151
151
|
}>, {
|
152
152
|
size: import('./type').ListSize;
|
153
153
|
scrollbar: boolean;
|
154
|
-
split: boolean;
|
155
154
|
data: import('../_shared/type').ObjectData[];
|
156
155
|
hoverable: boolean;
|
156
|
+
split: boolean;
|
157
157
|
loading: boolean;
|
158
158
|
bordered: boolean;
|
159
159
|
virtualListProps: import('..').VirtualListProps;
|
package/lib/List/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-list-wrapper{position:relative;width:100%}.yc-list-wrapper .yc-list-spin{width:100%;display:flex;flex-direction:column;align-items:flex-end;gap:24px}.yc-list-wrapper .yc-list-spin .yc-scrollbar{width:100%}.yc-list-wrapper .yc-list-spin .yc-scrollbar .yc-scrollbar-container .yc-scrollbar-content{border-radius:
|
1
|
+
.yc-list-wrapper{position:relative;width:100%}.yc-list-wrapper .yc-list-spin{width:100%;display:flex;flex-direction:column;align-items:flex-end;gap:24px}.yc-list-wrapper .yc-list-spin .yc-scrollbar{width:100%}.yc-list-wrapper .yc-list-spin .yc-scrollbar .yc-scrollbar-container .yc-scrollbar-content{border-radius:var(--border-radius-medium)}.yc-list-wrapper .yc-list-spin .yc-list-content-wrapper{display:flex;flex-direction:column;color:var(--color-text-1);font-size:14px;line-height:1.5715}.yc-list-wrapper .yc-list-spin .yc-list-content-wrapper .yc-list-header{font-weight:500;font-size:16px;line-height:1.5;color:var(--color-text-1)}.yc-list-wrapper .yc-list-spin .yc-list-content-wrapper .yc-list-content{display:flex;flex-direction:column}.yc-list-wrapper .yc-list-spin .yc-list-content-wrapper .yc-list-scroll-loading{background-color:var(--color-bg-1)}.yc-list-wrapper .yc-list-spin .yc-list-content-wrapper .yc-list-scroll-loading .yc-list-item-content{display:flex;justify-content:center;align-items:center}.yc-list-bordered .yc-scrollbar .yc-scrollbar-container{border:1px solid var(--color-border)}.yc-list-split .yc-list-header{border-bottom:1px solid var(--color-border)}.yc-list-split .yc-list-content .yc-list-item:not(:last-child){border-bottom:1px solid var(--color-border)}.yc-list-split .yc-list-scroll-loading{border-top:1px solid var(--color-border)}.yc-list-split .yc-list-footer{border-top:1px solid var(--color-border)}.yc-list-hoverable .yc-list-item:hover{background-color:var(--color-fill-1)}.yc-list-size-small .yc-list-header,.yc-list-size-small .yc-list-footer,.yc-list-size-small .yc-list-scroll-loading{padding:8px 20px}.yc-list-size-small .yc-list-item{padding:9px 20px}.yc-list-size-medium .yc-list-header,.yc-list-size-medium .yc-list-footer,.yc-list-size-medium .yc-list-scroll-loading{padding:12px 20px}.yc-list-size-medium .yc-list-item{padding:13px 20px}.yc-list-size-large .yc-list-header,.yc-list-size-large .yc-list-footer,.yc-list-size-large .yc-list-scroll-loading{padding:16px 20px}.yc-list-size-large .yc-list-item{padding:17px 20px}.yc-list-item{overflow:hidden;width:100%;display:flex;justify-content:space-between}.yc-list-item .yc-list-item-main{flex:1}.yc-list-item .yc-list-item-action{display:flex;align-items:center;gap:20px}.yc-list-item-meta{overflow:hidden;width:100%;padding:4px 0;display:flex;align-items:center;gap:16px}.yc-list-item-meta .yc-list-item-avatar{flex-shrink:0}.yc-list-item-meta .yc-list-item-meta-content{flex:1;display:flex;flex-direction:column;gap:2px}.yc-list-item-meta .yc-list-item-meta-content .yc-list-item-meta-title{color:var(--color-text-1);font-weight:500}.yc-list-item-meta .yc-list-item-meta-content .yc-list-item-meta-description{color:var(--color-text-2)}
|
package/lib/List/index.d.ts
CHANGED
@@ -20,9 +20,9 @@ declare const List: {
|
|
20
20
|
}, import('vue').PublicProps, {
|
21
21
|
size: import('./type').ListSize;
|
22
22
|
scrollbar: boolean;
|
23
|
-
split: boolean;
|
24
23
|
data: import('../_shared/type').ObjectData[];
|
25
24
|
hoverable: boolean;
|
25
|
+
split: boolean;
|
26
26
|
loading: boolean;
|
27
27
|
bordered: boolean;
|
28
28
|
virtualListProps: import('..').VirtualListProps;
|
@@ -176,9 +176,9 @@ declare const List: {
|
|
176
176
|
}>, {}, {}, {}, {}, {
|
177
177
|
size: import('./type').ListSize;
|
178
178
|
scrollbar: boolean;
|
179
|
-
split: boolean;
|
180
179
|
data: import('../_shared/type').ObjectData[];
|
181
180
|
hoverable: boolean;
|
181
|
+
split: boolean;
|
182
182
|
loading: boolean;
|
183
183
|
bordered: boolean;
|
184
184
|
virtualListProps: import('..').VirtualListProps;
|
@@ -202,9 +202,9 @@ declare const List: {
|
|
202
202
|
}, string, {
|
203
203
|
size: import('./type').ListSize;
|
204
204
|
scrollbar: boolean;
|
205
|
-
split: boolean;
|
206
205
|
data: import('../_shared/type').ObjectData[];
|
207
206
|
hoverable: boolean;
|
207
|
+
split: boolean;
|
208
208
|
loading: boolean;
|
209
209
|
bordered: boolean;
|
210
210
|
virtualListProps: import('..').VirtualListProps;
|
package/lib/Mention/index.d.ts
CHANGED
@@ -26,9 +26,9 @@ declare const Mention: {
|
|
26
26
|
"update:modelValue": (value: string) => any;
|
27
27
|
}, import('vue').PublicProps, {
|
28
28
|
disabled: boolean;
|
29
|
-
split: string;
|
30
29
|
type: "input" | "textarea";
|
31
30
|
data: import('..').SelectOptions;
|
31
|
+
split: string;
|
32
32
|
modelValue: string;
|
33
33
|
defaultValue: string;
|
34
34
|
allowClear: boolean;
|
@@ -858,9 +858,9 @@ declare const Mention: {
|
|
858
858
|
blur(): void;
|
859
859
|
}, {}, {}, {}, {
|
860
860
|
disabled: boolean;
|
861
|
-
split: string;
|
862
861
|
type: "input" | "textarea";
|
863
862
|
data: import('..').SelectOptions;
|
863
|
+
split: string;
|
864
864
|
modelValue: string;
|
865
865
|
defaultValue: string;
|
866
866
|
allowClear: boolean;
|
@@ -892,9 +892,9 @@ declare const Mention: {
|
|
892
892
|
"update:modelValue": (value: string) => any;
|
893
893
|
}, string, {
|
894
894
|
disabled: boolean;
|
895
|
-
split: string;
|
896
895
|
type: "input" | "textarea";
|
897
896
|
data: import('..').SelectOptions;
|
897
|
+
split: string;
|
898
898
|
modelValue: string;
|
899
899
|
defaultValue: string;
|
900
900
|
allowClear: boolean;
|