yc-design-vue 1.9.4 → 1.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Affix/index.vue.js +0 -2
- package/es/Alert/index.vue.js +2 -3
- package/es/Anchor/Anchor.vue.js +0 -2
- package/es/Anchor/AnchorLink.vue.js +0 -2
- package/es/Anchor/hooks/useContext.js +0 -2
- package/es/AutoComplete/index.d.ts +6 -6
- package/es/AutoComplete/index.vue.d.ts +12 -12
- package/es/AutoComplete/index.vue.js +0 -2
- package/es/Avatar/Avatar.vue.js +0 -1
- package/es/Avatar/AvatarGroup.vue.js +0 -2
- package/es/Badge/index.vue.js +0 -2
- package/es/Breadcrumb/Breadcrumb.vue.js +0 -2
- package/es/Breadcrumb/BreadcrumbItem.vue.js +0 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +0 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -2
- package/es/Button/Button.vue.d.ts +1 -1
- package/es/Button/index.d.ts +3 -3
- package/es/Calendar/Calendar.vue.js +3 -4
- package/es/Calendar/CalendarMonth.vue.js +0 -2
- package/es/Calendar/CalendarYear.vue.js +0 -2
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.js +0 -2
- package/es/Card/index.d.ts +3 -3
- package/es/Carousel/Carousel.vue.js +0 -2
- package/es/Carousel/CarouselArrow.vue.js +0 -1
- package/es/Carousel/CarouselIndicator.vue.js +0 -2
- package/es/Carousel/hooks/useContext.js +0 -2
- package/es/Cascader/Cascader.vue.d.ts +1 -1
- package/es/Cascader/Cascader.vue.js +0 -2
- package/es/Cascader/CascaderIcon.vue.js +1 -2
- package/es/Cascader/CascaderOption.vue.js +0 -1
- package/es/Cascader/CascaderPanel.vue.js +2 -7
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -7
- package/es/Cascader/hooks/useContext.js +0 -2
- package/es/Cascader/index.d.ts +3 -3
- package/es/Checkbox/Checkbox.vue.js +3 -4
- package/es/Checkbox/hooks/useContext.js +0 -2
- package/es/Collapse/CollapseItem.vue.js +2 -3
- package/es/Collapse/hooks/useContext.js +0 -2
- package/es/ColorPicker/ColorControl.vue.js +0 -2
- package/es/ColorPicker/ColorInput.vue.js +0 -2
- package/es/ColorPicker/ColorList.vue.js +0 -2
- package/es/ColorPicker/ColorPalette.vue.js +0 -2
- package/es/ColorPicker/ColorPanel.vue.js +0 -2
- package/es/Comment/index.vue.js +0 -2
- package/es/ConfigProvider/index.d.ts +0 -6
- package/es/ConfigProvider/index.vue.d.ts +0 -2
- package/es/ConfigProvider/index.vue.js +3 -8
- package/es/ConfigProvider/type.d.ts +0 -7
- package/es/Descriptions/ReuseItem.vue.js +0 -2
- package/es/Descriptions/ReuseTd.vue.js +0 -2
- package/es/Divider/index.vue.js +0 -2
- package/es/Drawer/Drawer.vue.js +4 -5
- package/es/Drawer/DrawerService.vue.js +0 -2
- package/es/Dropdown/Doption.vue.js +0 -3
- package/es/Dropdown/Dropdown.vue.js +1 -5
- package/es/Dropdown/DropdownButton.vue.js +0 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +6 -6
- package/es/Dropdown/Dsubmenu.vue.js +9 -13
- package/es/Dropdown/hooks/useContext.js +0 -2
- package/es/Dropdown/index.css +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +1 -2
- package/es/Grid/Grid.vue.js +0 -2
- package/es/Grid/GridCol.vue.js +0 -2
- package/es/Grid/GridItem.vue.js +0 -2
- package/es/Grid/GridRow.vue.js +0 -2
- package/es/Grid/hooks/useContext.js +0 -2
- package/es/Image/Image.vue.js +2 -3
- package/es/Image/ImagePreview.vue.js +3 -4
- package/es/Image/ImagePreviewArrow.vue.js +0 -1
- package/es/Image/ImagePreviewToolbar.vue.js +0 -1
- package/es/Image/hooks/useContext.js +0 -2
- package/es/Input/Input.vue.js +1 -1
- package/es/Input/InputSuffix.vue.js +1 -2
- package/es/Input/hooks/useLimitedInput.js +0 -2
- package/es/InputNumber/InputNumber.vue.js +0 -2
- package/es/InputNumber/InputOperaBtn.vue.js +0 -1
- package/es/InputTag/index.vue.js +1 -1
- package/es/Layout/Layout.vue.js +0 -2
- package/es/Layout/LayoutSider.vue.js +1 -2
- package/es/Layout/hooks/useSiderContext.js +0 -2
- package/es/Layout/index.css +1 -1
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/index.vue.js +0 -1
- package/es/List/List.vue.d.ts +1 -1
- package/es/List/List.vue.js +4 -3
- package/es/List/hooks/useScrollReach.js +0 -2
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +6 -6
- package/es/Mention/index.vue.d.ts +12 -12
- package/es/Mention/index.vue.js +0 -2
- package/es/Menu/Menu.vue.js +1 -2
- package/es/Menu/MenuEllipsis.vue.js +2 -2
- package/es/Menu/MenuItem.vue.js +2 -3
- package/es/Menu/MenuItemGroup.vue.js +0 -2
- package/es/Menu/SubMenu.vue.js +2 -3
- package/es/Menu/hooks/useContext.js +2 -6
- package/es/Menu/index.css +1 -1
- package/es/Message/Message.vue.js +2 -3
- package/es/Message/index.js +0 -2
- package/es/Modal/Modal.vue.js +4 -5
- package/es/Modal/ModalService.vue.js +0 -2
- package/es/Modal/hooks/useModalClose.js +0 -2
- package/es/Modal/hooks/useModalDraggable.js +0 -2
- package/es/Modal/hooks/useOnBeforeClose.js +0 -2
- package/es/Notification/Notification.vue.js +2 -3
- package/es/Notification/index.js +0 -2
- package/es/OverflowList/index.vue.js +0 -2
- package/es/PageHeader/index.vue.js +1 -2
- package/es/Pagination/Pagination.vue.js +0 -2
- package/es/Pagination/PaginationItem.vue.js +0 -1
- package/es/Popconfirm/index.d.ts +3 -3
- package/es/Popconfirm/index.vue.d.ts +6 -6
- package/es/Popconfirm/index.vue.js +0 -2
- package/es/Popover/index.vue.js +0 -2
- package/es/Progress/ProgressCircle.vue.js +2 -3
- package/es/Progress/ProgressLine.vue.js +0 -2
- package/es/Progress/ProgressSteps.vue.js +0 -2
- package/es/Radio/Radio.vue.js +2 -3
- package/es/Rate/index.vue.js +2 -3
- package/es/ResizeBox/index.vue.js +0 -1
- package/es/Scrollbar/Scrollbar.vue.js +0 -2
- package/es/Scrollbar/ScrollbarTrack.vue.js +0 -2
- package/es/Select/Option.vue.js +0 -2
- package/es/Select/Select.vue.d.ts +7 -7
- package/es/Select/Select.vue.js +0 -2
- package/es/Select/SelectIcon.vue.js +1 -2
- package/es/Select/SelectRealList.vue.js +0 -2
- package/es/Select/SelectView.vue.js +2 -7
- package/es/Select/SelectVirtualList.vue.js +0 -2
- package/es/Select/hooks/useContext.js +0 -2
- package/es/Select/hooks/useSelectOptions.js +0 -2
- package/es/Select/index.d.ts +6 -6
- package/es/Skeleton/Skeleton.vue.d.ts +1 -1
- package/es/Skeleton/SkeletonLine.vue.js +0 -2
- package/es/Skeleton/index.d.ts +3 -3
- package/es/Slider/SliderBtn.vue.js +0 -2
- package/es/Slider/hooks/useContext.js +0 -2
- package/es/Slider/hooks/useSliderDraggable.js +0 -2
- package/es/Space/index.vue.js +0 -2
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +4 -4
- package/es/Split/index.vue.js +0 -1
- package/es/Statistic/Countdown.vue.js +0 -2
- package/es/Statistic/Statistic.vue.js +0 -2
- package/es/Steps/Step.vue.js +0 -1
- package/es/Steps/hooks/useContext.js +0 -2
- package/es/Switch/index.d.ts +3 -3
- package/es/Switch/index.vue.d.ts +1 -1
- package/es/Tabs/TabButton.vue.js +2 -3
- package/es/Tabs/TabPane.vue.js +0 -2
- package/es/Tabs/Tabs.vue.js +3 -4
- package/es/Tabs/TabsNavInk.vue.js +0 -2
- package/es/Tabs/TabsTab.vue.js +0 -2
- package/es/Tabs/hooks/useTabsScroll.js +0 -2
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Tag/index.vue.js +1 -1
- package/es/Textarea/hooks/useTextareaHeight.js +0 -2
- package/es/Textarea/index.vue.js +2 -3
- package/es/TimePicker/TimePicker.vue.js +1 -1
- package/es/TimePicker/TimePickerPanel.vue.js +0 -2
- package/es/TimePicker/hooks/useContext.js +0 -2
- package/es/Timeline/TimelineItemPending.vue.js +0 -2
- package/es/Timeline/hooks/useContext.js +0 -2
- package/es/Tooltip/index.vue.js +0 -2
- package/es/Transfer/Transfer.vue.js +0 -1
- package/es/Transfer/TransferPanel.vue.js +3 -4
- package/es/Transfer/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useTriggerPosition.js +2 -2
- package/es/Trigger/hooks/useTriggerVisible.js +1 -2
- package/es/Trigger/index.css +1 -1
- package/es/Trigger/index.d.ts +3 -3
- package/es/Trigger/index.vue.d.ts +1 -1
- package/es/Trigger/index.vue.js +6 -7
- package/es/Typography/TypographyBase.vue.js +2 -3
- package/es/VerificationCode/index.vue.js +3 -5
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +0 -2
- package/es/_shared/components/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +0 -2
- package/es/_shared/components/ExpandTransition.vue3.js +2 -2
- package/es/_shared/components/Icon.vue3.js +0 -2
- package/es/_shared/components/IconButton.vue.js +0 -1
- package/es/_shared/constants/index.js +0 -1
- package/es/_shared/icons/IconExclamation.vue.js +1 -28
- package/es/_shared/icons/IconExclamation.vue2.js +28 -1
- package/es/_shared/icons/IconSeparator.vue.js +17 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -17
- package/es/_shared/utils/control.js +0 -2
- package/es/_shared/utils/dom.js +1 -1
- package/es/_shared/utils/global-config.d.ts +2 -16
- package/es/_shared/utils/global-config.js +10 -29
- package/es/_shared/utils/locale.js +2 -2
- package/es/index.d.ts +3 -3
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +6 -6
- package/lib/AutoComplete/index.vue.d.ts +12 -12
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/Button.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +3 -3
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/index.d.ts +3 -3
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +3 -3
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.d.ts +0 -6
- package/lib/ConfigProvider/index.vue.d.ts +0 -2
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +0 -7
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/Doption.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +6 -6
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.css +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Layout/index.css +1 -1
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.d.ts +1 -1
- package/lib/List/List.vue.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Mention/index.d.ts +6 -6
- package/lib/Mention/index.vue.d.ts +12 -12
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Menu/index.css +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Popconfirm/index.d.ts +3 -3
- package/lib/Popconfirm/index.vue.d.ts +6 -6
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +7 -7
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +6 -6
- package/lib/Skeleton/Skeleton.vue.d.ts +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/index.d.ts +3 -3
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.d.ts +3 -3
- package/lib/Switch/index.vue.d.ts +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.css +1 -1
- package/lib/Trigger/index.d.ts +3 -3
- package/lib/Trigger/index.vue.d.ts +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue.js +1 -0
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +2 -16
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/locale.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Layout/hooks/useTheme.d.ts +0 -4
- package/es/Layout/hooks/useTheme.js +0 -33
- package/lib/Layout/hooks/useTheme.d.ts +0 -4
- package/lib/Layout/hooks/useTheme.js +0 -1
- package/lib/_shared/components/ExpandTransition.vue2.js +0 -1
- /package/es/{public → src/lang}/lang-es/zh-cn.js +0 -0
- /package/lib/{public → src/lang}/lang-es/zh-cn.js +0 -0
@@ -250,6 +250,7 @@ declare function __VLS_template(): {
|
|
250
250
|
focusDelay: number;
|
251
251
|
disabled: boolean;
|
252
252
|
scrollToCloseDistance: number;
|
253
|
+
scrollToClose: boolean;
|
253
254
|
autoSetPosition: boolean;
|
254
255
|
alignPoint: boolean;
|
255
256
|
position: import('..').TriggerPostion;
|
@@ -270,7 +271,6 @@ declare function __VLS_template(): {
|
|
270
271
|
autoFitPosition: boolean;
|
271
272
|
updateAtScroll: boolean;
|
272
273
|
preventFocus: boolean;
|
273
|
-
scrollToClose: boolean;
|
274
274
|
needTransformOrigin: boolean;
|
275
275
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
276
276
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -304,6 +304,7 @@ declare function __VLS_template(): {
|
|
304
304
|
focusDelay: number;
|
305
305
|
disabled: boolean;
|
306
306
|
scrollToCloseDistance: number;
|
307
|
+
scrollToClose: boolean;
|
307
308
|
autoSetPosition: boolean;
|
308
309
|
alignPoint: boolean;
|
309
310
|
position: import('..').TriggerPostion;
|
@@ -324,14 +325,13 @@ declare function __VLS_template(): {
|
|
324
325
|
autoFitPosition: boolean;
|
325
326
|
updateAtScroll: boolean;
|
326
327
|
preventFocus: boolean;
|
327
|
-
scrollToClose: boolean;
|
328
328
|
needTransformOrigin: boolean;
|
329
329
|
}> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
|
330
330
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
331
331
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
332
332
|
onShow?: (() => any) | undefined;
|
333
333
|
onHide?: (() => any) | undefined;
|
334
|
-
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "
|
334
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
335
335
|
hide(): void;
|
336
336
|
show(): void;
|
337
337
|
updatePosition(x: number, y: number): void;
|
@@ -526,11 +526,11 @@ declare function __VLS_template(): {
|
|
526
526
|
defaultPopupVisible: boolean;
|
527
527
|
disabled: boolean;
|
528
528
|
popupContainer: import('../_shared/type').PopupContainer;
|
529
|
-
loading: boolean;
|
530
529
|
error: boolean;
|
531
530
|
scrollbar: boolean;
|
532
531
|
multiple: boolean;
|
533
532
|
placeholder: string;
|
533
|
+
loading: boolean;
|
534
534
|
bordered: boolean;
|
535
535
|
modelValue: SelectValue;
|
536
536
|
defaultValue: SelectValue;
|
@@ -579,11 +579,11 @@ declare function __VLS_template(): {
|
|
579
579
|
defaultPopupVisible: boolean;
|
580
580
|
disabled: boolean;
|
581
581
|
popupContainer: import('../_shared/type').PopupContainer;
|
582
|
-
loading: boolean;
|
583
582
|
error: boolean;
|
584
583
|
scrollbar: boolean;
|
585
584
|
multiple: boolean;
|
586
585
|
placeholder: string;
|
586
|
+
loading: boolean;
|
587
587
|
bordered: boolean;
|
588
588
|
modelValue: SelectValue;
|
589
589
|
defaultValue: SelectValue;
|
@@ -620,7 +620,7 @@ declare function __VLS_template(): {
|
|
620
620
|
onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
621
621
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
622
622
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
623
|
-
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "
|
623
|
+
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
624
624
|
focus(): void;
|
625
625
|
blur(): void;
|
626
626
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -1088,6 +1088,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1088
1088
|
focusDelay: number;
|
1089
1089
|
disabled: boolean;
|
1090
1090
|
scrollToCloseDistance: number;
|
1091
|
+
scrollToClose: boolean;
|
1091
1092
|
autoSetPosition: boolean;
|
1092
1093
|
alignPoint: boolean;
|
1093
1094
|
position: import('..').TriggerPostion;
|
@@ -1108,7 +1109,6 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1108
1109
|
autoFitPosition: boolean;
|
1109
1110
|
updateAtScroll: boolean;
|
1110
1111
|
preventFocus: boolean;
|
1111
|
-
scrollToClose: boolean;
|
1112
1112
|
needTransformOrigin: boolean;
|
1113
1113
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
1114
1114
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -1142,6 +1142,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1142
1142
|
focusDelay: number;
|
1143
1143
|
disabled: boolean;
|
1144
1144
|
scrollToCloseDistance: number;
|
1145
|
+
scrollToClose: boolean;
|
1145
1146
|
autoSetPosition: boolean;
|
1146
1147
|
alignPoint: boolean;
|
1147
1148
|
position: import('..').TriggerPostion;
|
@@ -1162,14 +1163,13 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1162
1163
|
autoFitPosition: boolean;
|
1163
1164
|
updateAtScroll: boolean;
|
1164
1165
|
preventFocus: boolean;
|
1165
|
-
scrollToClose: boolean;
|
1166
1166
|
needTransformOrigin: boolean;
|
1167
1167
|
}> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
|
1168
1168
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1169
1169
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1170
1170
|
onShow?: (() => any) | undefined;
|
1171
1171
|
onHide?: (() => any) | undefined;
|
1172
|
-
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "
|
1172
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
1173
1173
|
hide(): void;
|
1174
1174
|
show(): void;
|
1175
1175
|
updatePosition(x: number, y: number): void;
|
@@ -1364,11 +1364,11 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1364
1364
|
defaultPopupVisible: boolean;
|
1365
1365
|
disabled: boolean;
|
1366
1366
|
popupContainer: import('../_shared/type').PopupContainer;
|
1367
|
-
loading: boolean;
|
1368
1367
|
error: boolean;
|
1369
1368
|
scrollbar: boolean;
|
1370
1369
|
multiple: boolean;
|
1371
1370
|
placeholder: string;
|
1371
|
+
loading: boolean;
|
1372
1372
|
bordered: boolean;
|
1373
1373
|
modelValue: SelectValue;
|
1374
1374
|
defaultValue: SelectValue;
|
@@ -1417,11 +1417,11 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1417
1417
|
defaultPopupVisible: boolean;
|
1418
1418
|
disabled: boolean;
|
1419
1419
|
popupContainer: import('../_shared/type').PopupContainer;
|
1420
|
-
loading: boolean;
|
1421
1420
|
error: boolean;
|
1422
1421
|
scrollbar: boolean;
|
1423
1422
|
multiple: boolean;
|
1424
1423
|
placeholder: string;
|
1424
|
+
loading: boolean;
|
1425
1425
|
bordered: boolean;
|
1426
1426
|
modelValue: SelectValue;
|
1427
1427
|
defaultValue: SelectValue;
|
@@ -1458,7 +1458,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1458
1458
|
onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1459
1459
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1460
1460
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1461
|
-
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "
|
1461
|
+
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
1462
1462
|
focus(): void;
|
1463
1463
|
blur(): void;
|
1464
1464
|
getPopupRef(): import('..').TriggerInstance;
|
package/es/Mention/index.vue.js
CHANGED
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isArray, isNull } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../_shared/utils/control.js";
|
10
8
|
import useCursor from "../Input/hooks/useCursor.js";
|
package/es/Menu/Menu.vue.js
CHANGED
@@ -2,11 +2,10 @@ import { defineComponent, ref, createElementBlock, openBlock, normalizeStyle, no
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { mediaQueryHandler } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../
|
5
|
+
import "../_shared/utils/locale.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$2 from "../_shared/icons/IconMenuFold.vue.js";
|
8
8
|
import _sfc_main$3 from "../_shared/icons/IconMenuUnfold.vue.js";
|
9
|
-
import "../_shared/utils/locale.js";
|
10
9
|
import useMenuContext from "./hooks/useContext.js";
|
11
10
|
import _sfc_main$1 from "./MenuEllipsis.vue.js";
|
12
11
|
/* empty css */
|
@@ -3,7 +3,6 @@ import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
/* empty css */
|
9
8
|
import _sfc_main$1 from "../_shared/icons/IconMore.vue.js";
|
@@ -52,6 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
51
|
showArrow: true,
|
53
52
|
...unref(triggerProps)
|
54
53
|
},
|
54
|
+
class: normalizeClass([`yc-dropdown-popup-${unref(theme)}`]),
|
55
55
|
onSelect: handleSelect
|
56
56
|
}, {
|
57
57
|
content: withCtx(() => [
|
@@ -85,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
85
85
|
], 2)
|
86
86
|
]),
|
87
87
|
_: 1
|
88
|
-
}, 8, ["popup-max-height", "trigger-props"])
|
88
|
+
}, 8, ["popup-max-height", "trigger-props", "class"])
|
89
89
|
]);
|
90
90
|
};
|
91
91
|
}
|
package/es/Menu/MenuItem.vue.js
CHANGED
@@ -4,8 +4,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
8
|
import useMenuContext, { isMenuItemActive, getPopupMaxHeight } from "./hooks/useContext.js";
|
11
9
|
import _sfc_main$1 from "./MenuPopOption.vue.js";
|
@@ -188,6 +186,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
188
186
|
showArrow: true,
|
189
187
|
...unref(triggerProps)
|
190
188
|
},
|
189
|
+
class: normalizeClass([`yc-dropdown-popup-${unref(theme)}`]),
|
191
190
|
onSelect: handleSelect
|
192
191
|
}, {
|
193
192
|
content: withCtx(() => [
|
@@ -205,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
205
204
|
createVNode(unref(ReuseTemplate))
|
206
205
|
]),
|
207
206
|
_: 1
|
208
|
-
}, 8, ["popup-max-height", "trigger-props"])) : !isSubmenu.value && isRoot.value && unref(computedCollapsed) ? (openBlock(), createBlock(unref(Tooltip), {
|
207
|
+
}, 8, ["popup-max-height", "trigger-props", "class"])) : !isSubmenu.value && isRoot.value && unref(computedCollapsed) ? (openBlock(), createBlock(unref(Tooltip), {
|
209
208
|
key: 1,
|
210
209
|
position: "rt",
|
211
210
|
"trigger-props": {
|
@@ -2,8 +2,6 @@ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref,
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../_shared/utils/locale.js";
|
8
6
|
import useMenuContext from "./hooks/useContext.js";
|
9
7
|
const _hoisted_1 = { class: "yc-menu-group-title text-ellipsis" };
|
package/es/Menu/SubMenu.vue.js
CHANGED
@@ -4,12 +4,11 @@ import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
|
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
|
-
import "../Empty/index.js";
|
8
7
|
import "../_shared/utils/locale.js";
|
9
8
|
/* empty css */
|
10
9
|
/* empty css */
|
11
|
-
import _sfc_main$3 from "../_shared/components/ExpandTransition.
|
12
|
-
/* empty css
|
10
|
+
import _sfc_main$3 from "../_shared/components/ExpandTransition.vue.js";
|
11
|
+
/* empty css */
|
13
12
|
import "./index.js";
|
14
13
|
import _sfc_main$1 from "./MenuItem.vue.js";
|
15
14
|
/* empty css */
|
@@ -3,15 +3,12 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { throttle, valueToPx } from "../../_shared/utils/dom.js";
|
4
4
|
import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../../_shared/utils/control.js";
|
10
8
|
import "../index.js";
|
11
9
|
import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
12
10
|
import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
|
13
11
|
import useSiderContext from "../../Layout/hooks/useSiderContext.js";
|
14
|
-
import useTheme from "../../Layout/hooks/useTheme.js";
|
15
12
|
import _sfc_main from "../SubMenu.vue.js";
|
16
13
|
/* empty css */
|
17
14
|
import _sfc_main$1 from "../MenuItem.vue.js";
|
@@ -119,7 +116,6 @@ const getPopupMaxHeight = (popupMaxHeight) => {
|
|
119
116
|
}
|
120
117
|
};
|
121
118
|
const useMenuContext = () => {
|
122
|
-
const { theme: sysTheme } = useTheme();
|
123
119
|
const provide$1 = (props, emits, menuRef) => {
|
124
120
|
const {
|
125
121
|
selectedKeys,
|
@@ -185,7 +181,7 @@ const useMenuContext = () => {
|
|
185
181
|
const menuTree = computed(() => buildMenuTree(menuTreeNodes.value));
|
186
182
|
const max = ref(1e6);
|
187
183
|
const theme = computed(() => {
|
188
|
-
return _theme.value || siderTheme.value ||
|
184
|
+
return _theme.value || siderTheme.value || "light";
|
189
185
|
});
|
190
186
|
if (mode.value == "horizontal") {
|
191
187
|
useResizeObserver(
|
@@ -249,7 +245,7 @@ const useMenuContext = () => {
|
|
249
245
|
triggerProps: ref({}),
|
250
246
|
autoOpenSelected: ref(false),
|
251
247
|
mode: ref("vertical"),
|
252
|
-
theme:
|
248
|
+
theme: ref("light"),
|
253
249
|
popupMaxHeight: ref(),
|
254
250
|
autoScrollIntoView: ref(false),
|
255
251
|
scrollConfig: ref({}),
|
package/es/Menu/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-menu-inline{display:flex;flex-direction:column;gap:4px}.yc-menu-inline .yc-menu-inline-content{display:flex;flex-direction:column;gap:4px}.yc-menu{position:relative;transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-menu .yc-menu-inner{overflow:auto;padding:4px 8px;display:flex}.yc-menu .yc-menu-collapse-button{cursor:pointer;position:absolute;right:12px;bottom:12px;width:24px;height:24px;border-radius:2px;font-size:14px;display:flex;align-items:center;justify-content:center}.yc-menu-mode-vertical .yc-menu-inner{height:100%;flex-direction:column;gap:4px}.yc-menu-mode-horizontal .yc-menu-inner{position:relative;overflow:hidden;min-height:58px;width:100%;padding:14px 20px 14px 32px;display:flex;align-items:center;gap:12px}.yc-menu-mode-horizontal .yc-menu-inner .yc-menu-inline{flex-shrink:0}.yc-menu-collapsed .yc-menu-inner{padding:4px}.yc-menu-light{background-color
|
1
|
+
.yc-menu-inline{display:flex;flex-direction:column;gap:4px}.yc-menu-inline .yc-menu-inline-content{display:flex;flex-direction:column;gap:4px}.yc-menu{position:relative;transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-menu .yc-menu-inner{overflow:auto;padding:4px 8px;display:flex}.yc-menu .yc-menu-collapse-button{cursor:pointer;position:absolute;right:12px;bottom:12px;width:24px;height:24px;border-radius:2px;font-size:14px;display:flex;align-items:center;justify-content:center}.yc-menu-mode-vertical .yc-menu-inner{height:100%;flex-direction:column;gap:4px}.yc-menu-mode-horizontal .yc-menu-inner{position:relative;overflow:hidden;min-height:58px;width:100%;padding:14px 20px 14px 32px;display:flex;align-items:center;gap:12px}.yc-menu-mode-horizontal .yc-menu-inner .yc-menu-inline{flex-shrink:0}.yc-menu-collapsed .yc-menu-inner{padding:4px}.yc-menu-light{background-color:var(--color-menu-light-bg)}.yc-menu-light .yc-menu-collapse-button{color:var(--color-text-3);background-color:var(--color-fill-1)}.yc-menu-light .yc-menu-collapse-button:hover{background-color:var(--color-fill-3)}.yc-menu-dark{background-color:var(--color-menu-dark-bg)}.yc-menu-dark .yc-menu-collapse-button{color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-menu-dark .yc-menu-collapse-button:hover{background-color:rgb(var(--primary-7))}.yc-menu-item{cursor:pointer;flex-shrink:0;padding:0 12px;border-radius:2px;min-height:40px;line-height:40px;font-size:14px;transition:color .2s cubic-bezier(0, 0, 1, 1);display:flex;justify-content:center;align-items:center}.yc-menu-item .yc-menu-icon{line-height:1;margin-right:16px;color:#86909c}.yc-menu-item .yc-menu-item-title{flex-shrink:0;flex:1}.yc-menu-item .yc-menu-suffix-icon{margin-left:16px}.yc-menu-item-collapsed .yc-menu-icon{margin-right:0}.yc-menu-item-mode-horizontal{flex-shrink:0;position:relative}.yc-menu-item-mode-horizontal .yc-menu-item{min-height:30px;line-height:30px}.yc-menu-item-mode-horizontal .yc-menu-item .yc-menu-icon-suffix{margin-left:6px}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-mode-horizontal .yc-menu-item.yc-menu-item-selected::after{content:'';position:absolute;left:12px;right:12px;bottom:-14px;height:3px;background-color:#165dff}.yc-menu-item-ellipsis{position:absolute;top:50%;transform:translateY(-50%)}.yc-menu-item-light .yc-menu-item{color:var(--color-text-2)}.yc-menu-item-light .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:var(--color-fill-2)}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:var(--color-fill-2)}.yc-menu-item-light .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-light .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:var(--color-text-4)}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-menu-item-dark .yc-menu-item{color:var(--color-text-4)}.yc-menu-item-dark .yc-menu-item:not(.yc-menu-item-disabled):hover{background-color:var(--color-menu-dark-hover)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected{font-weight:500;color:rgb(var(--primary-6));background-color:var(--color-menu-dark-hover)}.yc-menu-item-dark .yc-menu-item.yc-menu-item-selected .yc-menu-icon{color:rgb(var(--primary-6))}.yc-menu-item-dark .yc-menu-item.yc-menu-item-disabled{cursor:not-allowed;color:var(--color-text-2)}.yc-menu-inline-header .yc-menu-item.yc-menu-item-selected{background-color:transparent}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option{color:var(--color-text-4)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option:not(.yc-dropdown-option-disabled):hover,.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option:not(.yc-dropdown-option-disabled).yc-dropdown-option-active{background-color:var(--color-menu-dark-hover)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-content .yc-dropdown .yc-dropdown-option:not(.yc-dropdown-option-disabled).yc-dropdown-option-active{color:var(--color-white)}.yc-trigger.yc-dropdown-popup-dark .yc-trigger-arrow{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.yc-menu-group{display:flex;flex-direction:column;gap:4px}.yc-menu-group .yc-menu-group-title{max-width:100%;padding:0 12px;line-height:40px;font-size:14px;color:var(--color-text-3);font-weight:400}
|
@@ -3,13 +3,12 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
10
8
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
9
|
/* empty css */
|
12
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
13
12
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
14
13
|
const _hoisted_1 = {
|
15
14
|
key: 0,
|
package/es/Message/index.js
CHANGED
@@ -7,8 +7,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import { isString } from "../_shared/utils/is.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
import "../Empty/index.js";
|
11
|
-
/* empty css */
|
12
10
|
import "../_shared/utils/locale.js";
|
13
11
|
const container = /* @__PURE__ */ new Map();
|
14
12
|
const messageList = reactive({
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -9,7 +9,7 @@ import useModalDraggable from "./hooks/useModalDraggable.js";
|
|
9
9
|
import Button from "../Button/index.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
@@ -86,11 +86,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
86
86
|
modalStyle: _modalStyle,
|
87
87
|
fullscreen,
|
88
88
|
draggable,
|
89
|
-
renderToBody
|
90
|
-
popupContainer: _popupContainer
|
89
|
+
renderToBody
|
91
90
|
} = toRefs(props);
|
92
91
|
const { onBeforeOk, onBeforeCancel } = props;
|
93
|
-
const { popupContainer, zIndex } = getGlobalConfig(props);
|
92
|
+
const { popupContainer, zIndex, isAbsolute } = getGlobalConfig(props);
|
94
93
|
const { t } = useI18n();
|
95
94
|
const {
|
96
95
|
outerVisible,
|
@@ -137,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
137
136
|
_ctx.$attrs.class,
|
138
137
|
{
|
139
138
|
"yc-modal-simple": _ctx.simple,
|
140
|
-
"yc-modal-position-absolute": unref(
|
139
|
+
"yc-modal-position-absolute": unref(isAbsolute)
|
141
140
|
}
|
142
141
|
]),
|
143
142
|
style: normalizeStyle({
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
10
8
|
import _sfc_main$1 from "./Modal.vue.js";
|
@@ -3,8 +3,6 @@ import { onKeyStroke } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../../_shared/utils/dom.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../../_shared/utils/control.js";
|
10
8
|
import useOnBeforeClose from "./useOnBeforeClose.js";
|
@@ -3,8 +3,6 @@ import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import { valueToPx, sleep } from "../../_shared/utils/dom.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
const useModalDraggable = (params) => {
|
10
8
|
const {
|
@@ -3,8 +3,6 @@ import "../../_shared/utils/dom.js";
|
|
3
3
|
import { isBoolean } from "../../_shared/utils/is.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import "vue";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
const useOnBeforeClose = async (type, asyncLoading, onBeforeOk, onBeforeCancel) => {
|
10
8
|
const handleBeforeOk = () => {
|
@@ -5,12 +5,11 @@ import "../_shared/utils/dom.js";
|
|
5
5
|
import { isUndefined, isFunction } from "../_shared/utils/is.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
8
|
-
import "../Empty/index.js";
|
9
|
-
/* empty css */
|
10
8
|
import "../_shared/utils/locale.js";
|
11
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
12
10
|
/* empty css */
|
13
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
|
+
/* empty css */
|
14
13
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
15
14
|
const _hoisted_1 = { class: "yc-notification-left" };
|
16
15
|
const _hoisted_2 = {
|
package/es/Notification/index.js
CHANGED
@@ -7,8 +7,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import { isString } from "../_shared/utils/is.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
import "../Empty/index.js";
|
11
|
-
/* empty css */
|
12
10
|
import "../_shared/utils/locale.js";
|
13
11
|
const container = /* @__PURE__ */ new Map();
|
14
12
|
const notificationList = reactive({
|
@@ -4,8 +4,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
8
|
import Tag from "../Tag/index.js";
|
11
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -2,14 +2,13 @@ import { defineComponent, createElementBlock, openBlock, createElementVNode, cre
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
5
|
import "../_shared/utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
9
8
|
import Divider from "../Divider/index.js";
|
10
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
10
|
/* empty css */
|
12
|
-
/* empty css
|
11
|
+
/* empty css */
|
13
12
|
const _hoisted_1 = { class: "yc-page-header" };
|
14
13
|
const _hoisted_2 = { class: "yc-page-header-wrapper" };
|
15
14
|
const _hoisted_3 = {
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { sleep } from "../_shared/utils/dom.js";
|
4
4
|
import { isNumber } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
9
7
|
import useContext from "./hooks/useContext.js";
|
10
8
|
import _sfc_main$1 from "./PaginationItem.vue.js";
|
@@ -2,7 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
5
|
import "../_shared/utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
package/es/Popconfirm/index.d.ts
CHANGED
@@ -186,6 +186,7 @@ declare const Popconfirm: {
|
|
186
186
|
focusDelay: number;
|
187
187
|
disabled: boolean;
|
188
188
|
scrollToCloseDistance: number;
|
189
|
+
scrollToClose: boolean;
|
189
190
|
autoSetPosition: boolean;
|
190
191
|
alignPoint: boolean;
|
191
192
|
position: import('..').TriggerPostion;
|
@@ -206,7 +207,6 @@ declare const Popconfirm: {
|
|
206
207
|
autoFitPosition: boolean;
|
207
208
|
updateAtScroll: boolean;
|
208
209
|
preventFocus: boolean;
|
209
|
-
scrollToClose: boolean;
|
210
210
|
needTransformOrigin: boolean;
|
211
211
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
212
212
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -240,6 +240,7 @@ declare const Popconfirm: {
|
|
240
240
|
focusDelay: number;
|
241
241
|
disabled: boolean;
|
242
242
|
scrollToCloseDistance: number;
|
243
|
+
scrollToClose: boolean;
|
243
244
|
autoSetPosition: boolean;
|
244
245
|
alignPoint: boolean;
|
245
246
|
position: import('..').TriggerPostion;
|
@@ -260,14 +261,13 @@ declare const Popconfirm: {
|
|
260
261
|
autoFitPosition: boolean;
|
261
262
|
updateAtScroll: boolean;
|
262
263
|
preventFocus: boolean;
|
263
|
-
scrollToClose: boolean;
|
264
264
|
needTransformOrigin: boolean;
|
265
265
|
}> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
|
266
266
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
267
267
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
268
268
|
onShow?: (() => any) | undefined;
|
269
269
|
onHide?: (() => any) | undefined;
|
270
|
-
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "
|
270
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
271
271
|
hide(): void;
|
272
272
|
show(): void;
|
273
273
|
updatePosition(x: number, y: number): void;
|
@@ -153,6 +153,7 @@ declare function __VLS_template(): {
|
|
153
153
|
focusDelay: number;
|
154
154
|
disabled: boolean;
|
155
155
|
scrollToCloseDistance: number;
|
156
|
+
scrollToClose: boolean;
|
156
157
|
autoSetPosition: boolean;
|
157
158
|
alignPoint: boolean;
|
158
159
|
position: import('../Trigger').TriggerPostion;
|
@@ -173,7 +174,6 @@ declare function __VLS_template(): {
|
|
173
174
|
autoFitPosition: boolean;
|
174
175
|
updateAtScroll: boolean;
|
175
176
|
preventFocus: boolean;
|
176
|
-
scrollToClose: boolean;
|
177
177
|
needTransformOrigin: boolean;
|
178
178
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
179
179
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -207,6 +207,7 @@ declare function __VLS_template(): {
|
|
207
207
|
focusDelay: number;
|
208
208
|
disabled: boolean;
|
209
209
|
scrollToCloseDistance: number;
|
210
|
+
scrollToClose: boolean;
|
210
211
|
autoSetPosition: boolean;
|
211
212
|
alignPoint: boolean;
|
212
213
|
position: import('../Trigger').TriggerPostion;
|
@@ -227,14 +228,13 @@ declare function __VLS_template(): {
|
|
227
228
|
autoFitPosition: boolean;
|
228
229
|
updateAtScroll: boolean;
|
229
230
|
preventFocus: boolean;
|
230
|
-
scrollToClose: boolean;
|
231
231
|
needTransformOrigin: boolean;
|
232
232
|
}> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
|
233
233
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
234
234
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
235
235
|
onShow?: (() => any) | undefined;
|
236
236
|
onHide?: (() => any) | undefined;
|
237
|
-
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "
|
237
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
238
238
|
hide(): void;
|
239
239
|
show(): void;
|
240
240
|
updatePosition(x: number, y: number): void;
|
@@ -428,6 +428,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
428
428
|
focusDelay: number;
|
429
429
|
disabled: boolean;
|
430
430
|
scrollToCloseDistance: number;
|
431
|
+
scrollToClose: boolean;
|
431
432
|
autoSetPosition: boolean;
|
432
433
|
alignPoint: boolean;
|
433
434
|
position: import('../Trigger').TriggerPostion;
|
@@ -448,7 +449,6 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
448
449
|
autoFitPosition: boolean;
|
449
450
|
updateAtScroll: boolean;
|
450
451
|
preventFocus: boolean;
|
451
|
-
scrollToClose: boolean;
|
452
452
|
needTransformOrigin: boolean;
|
453
453
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
454
454
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -482,6 +482,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
482
482
|
focusDelay: number;
|
483
483
|
disabled: boolean;
|
484
484
|
scrollToCloseDistance: number;
|
485
|
+
scrollToClose: boolean;
|
485
486
|
autoSetPosition: boolean;
|
486
487
|
alignPoint: boolean;
|
487
488
|
position: import('../Trigger').TriggerPostion;
|
@@ -502,14 +503,13 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
502
503
|
autoFitPosition: boolean;
|
503
504
|
updateAtScroll: boolean;
|
504
505
|
preventFocus: boolean;
|
505
|
-
scrollToClose: boolean;
|
506
506
|
needTransformOrigin: boolean;
|
507
507
|
}> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
|
508
508
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
509
509
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
510
510
|
onShow?: (() => any) | undefined;
|
511
511
|
onHide?: (() => any) | undefined;
|
512
|
-
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "
|
512
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
513
513
|
hide(): void;
|
514
514
|
show(): void;
|
515
515
|
updatePosition(x: number, y: number): void;
|