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
@@ -1,31 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import _sfc_main$1 from "../components/Icon.vue3.js";
|
3
|
-
/* empty css */
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
-
__name: "IconExclamation",
|
6
|
-
setup(__props) {
|
7
|
-
return (_ctx, _cache) => {
|
8
|
-
return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
9
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
10
|
-
createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
|
11
|
-
createElementVNode("path", {
|
12
|
-
fill: "currentColor",
|
13
|
-
stroke: "none",
|
14
|
-
d: "M23 9h2v21h-2z"
|
15
|
-
}, null, -1),
|
16
|
-
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
17
|
-
createElementVNode("path", {
|
18
|
-
fill: "currentColor",
|
19
|
-
stroke: "none",
|
20
|
-
d: "M23 37h2v2h-2z"
|
21
|
-
}, null, -1)
|
22
|
-
])),
|
23
|
-
_: 1,
|
24
|
-
__: [0]
|
25
|
-
}, 16);
|
26
|
-
};
|
27
|
-
}
|
28
|
-
});
|
1
|
+
import _sfc_main from "./IconExclamation.vue2.js";
|
29
2
|
export {
|
30
3
|
_sfc_main as default
|
31
4
|
};
|
@@ -1,4 +1,31 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import _sfc_main$1 from "../components/Icon.vue3.js";
|
3
|
+
/* empty css */
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
__name: "IconExclamation",
|
6
|
+
setup(__props) {
|
7
|
+
return (_ctx, _cache) => {
|
8
|
+
return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
9
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
10
|
+
createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
|
11
|
+
createElementVNode("path", {
|
12
|
+
fill: "currentColor",
|
13
|
+
stroke: "none",
|
14
|
+
d: "M23 9h2v21h-2z"
|
15
|
+
}, null, -1),
|
16
|
+
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
17
|
+
createElementVNode("path", {
|
18
|
+
fill: "currentColor",
|
19
|
+
stroke: "none",
|
20
|
+
d: "M23 37h2v2h-2z"
|
21
|
+
}, null, -1)
|
22
|
+
])),
|
23
|
+
_: 1,
|
24
|
+
__: [0]
|
25
|
+
}, 16);
|
26
|
+
};
|
27
|
+
}
|
28
|
+
});
|
2
29
|
export {
|
3
30
|
_sfc_main as default
|
4
31
|
};
|
@@ -1,4 +1,20 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import _sfc_main$1 from "../components/Icon.vue3.js";
|
3
|
+
/* empty css */
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
__name: "IconSeparator",
|
6
|
+
setup(__props) {
|
7
|
+
return (_ctx, _cache) => {
|
8
|
+
return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
9
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
10
|
+
createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
|
11
|
+
])),
|
12
|
+
_: 1,
|
13
|
+
__: [0]
|
14
|
+
}, 16);
|
15
|
+
};
|
16
|
+
}
|
17
|
+
});
|
2
18
|
export {
|
3
19
|
_sfc_main as default
|
4
20
|
};
|
@@ -1,20 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import _sfc_main$1 from "../components/Icon.vue3.js";
|
3
|
-
/* empty css */
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
-
__name: "IconSeparator",
|
6
|
-
setup(__props) {
|
7
|
-
return (_ctx, _cache) => {
|
8
|
-
return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
9
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
10
|
-
createElementVNode("path", { d: "M29.506 6.502 18.493 41.498" }, null, -1)
|
11
|
-
])),
|
12
|
-
_: 1,
|
13
|
-
__: [0]
|
14
|
-
}, 16);
|
15
|
-
};
|
16
|
-
}
|
17
|
-
});
|
1
|
+
import _sfc_main from "./IconSeparator.vue.js";
|
18
2
|
export {
|
19
3
|
_sfc_main as default
|
20
4
|
};
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "./dom.js";
|
4
4
|
import { isUndefined } from "./is.js";
|
5
5
|
import "./time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "./locale.js";
|
9
7
|
const useControlValue = (modelValue, defaultValue, onSet = (data) => data, onGet = (data) => data) => {
|
10
8
|
const controlValue = ref(defaultValue);
|
package/es/_shared/utils/dom.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { watch } from "vue";
|
2
2
|
import { MEDICA_QUERY_QUERUES } from "../constants/index.js";
|
3
3
|
import { unrefElement, useMediaQuery } from "../../node_modules/@vueuse/core/index.js";
|
4
|
-
import {
|
4
|
+
import { isString, isNumber, isObject, isUndefined } from "./is.js";
|
5
5
|
const isServerRendering = (() => {
|
6
6
|
try {
|
7
7
|
return !(typeof window !== "undefined" && document !== void 0);
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { Ref
|
2
|
-
import { ConfigconfigSlots, EmptyComponent } from '../../ConfigProvider';
|
1
|
+
import { Ref } from 'vue';
|
3
2
|
import { ObjectData, PopupContainer, Props, Size } from '../type';
|
4
3
|
export declare const CONFIG_PROVIDER_PROVIDE_KEY = "config-props";
|
5
4
|
export interface ConfigProviderProvide {
|
@@ -7,24 +6,11 @@ export interface ConfigProviderProvide {
|
|
7
6
|
size: Ref<Size>;
|
8
7
|
locale: Ref<ObjectData | undefined>;
|
9
8
|
popupContainer: Ref<PopupContainer>;
|
10
|
-
updateAtScroll: Ref<boolean>;
|
11
|
-
scrollToClose: Ref<boolean>;
|
12
|
-
slots: Partial<ConfigconfigSlots>;
|
13
9
|
}
|
14
10
|
export declare const getGlobalConfig: (props?: Props) => {
|
15
|
-
slots: Partial<ConfigconfigSlots>;
|
16
11
|
zIndex: Ref<number, number>;
|
17
12
|
locale: Ref<ObjectData | undefined, ObjectData | undefined>;
|
18
13
|
size: import('vue').ComputedRef<any>;
|
19
|
-
|
20
|
-
scrollToClose: import('vue').ComputedRef<any>;
|
14
|
+
isAbsolute: import('vue').ComputedRef<any>;
|
21
15
|
popupContainer: import('vue').ComputedRef<any>;
|
22
|
-
renderEmpty: (name: EmptyComponent) => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
23
|
-
[key: string]: any;
|
24
|
-
}> | (() => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
25
|
-
[key: string]: any;
|
26
|
-
}>[] | undefined);
|
27
|
-
renderLoading: () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
28
|
-
[key: string]: any;
|
29
|
-
}> | (() => VNode[]);
|
30
16
|
};
|
@@ -1,11 +1,8 @@
|
|
1
1
|
import { inject, ref, toRefs, reactive, isReactive, computed } from "vue";
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "./dom.js";
|
4
|
-
import { isUndefined, isString } from "./is.js";
|
4
|
+
import { isBoolean, isUndefined, isString } from "./is.js";
|
5
5
|
import "./time.js";
|
6
|
-
import Empty from "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
|
-
import _sfc_main from "../icons/IconLoading.vue.js";
|
9
6
|
import "./locale.js";
|
10
7
|
const CONFIG_PROVIDER_PROVIDE_KEY = "config-props";
|
11
8
|
const getVar = (value, _value) => {
|
@@ -15,44 +12,28 @@ const getVar = (value, _value) => {
|
|
15
12
|
};
|
16
13
|
const getGlobalConfig = (props = {}) => {
|
17
14
|
const {
|
18
|
-
slots,
|
19
15
|
zIndex,
|
20
16
|
locale,
|
21
17
|
size: _size,
|
22
|
-
updateAtScroll: _updateAtScroll,
|
23
|
-
scrollToClose: _scrollToClose,
|
24
18
|
popupContainer: _popupContainer
|
25
19
|
} = inject(CONFIG_PROVIDER_PROVIDE_KEY, {
|
26
20
|
locale: ref(),
|
27
21
|
zIndex: ref(1001),
|
28
22
|
size: ref("medium"),
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
23
|
+
popupContainer: ref("body")
|
24
|
+
});
|
25
|
+
const { size, popupContainer, renderToBody } = toRefs(
|
26
|
+
isReactive(props) ? props : reactive(props)
|
27
|
+
);
|
28
|
+
const isAbsolute = computed(() => {
|
29
|
+
return popupContainer.value || isBoolean(renderToBody == null ? void 0 : renderToBody.value) && !renderToBody.value;
|
33
30
|
});
|
34
|
-
const renderEmpty = (name) => {
|
35
|
-
return slots.empty ? () => {
|
36
|
-
var _a;
|
37
|
-
return (_a = slots.empty) == null ? void 0 : _a.call(slots, {
|
38
|
-
component: name
|
39
|
-
});
|
40
|
-
} : Empty;
|
41
|
-
};
|
42
|
-
const renderLoading = () => {
|
43
|
-
return slots.loading ? slots.loading : _sfc_main;
|
44
|
-
};
|
45
|
-
const { size, updateAtScroll, scrollToClose, exchangeTime, popupContainer } = toRefs(isReactive(props) ? props : reactive(props));
|
46
31
|
return {
|
47
|
-
slots,
|
48
32
|
zIndex,
|
49
33
|
locale,
|
50
34
|
size: getVar(size, _size),
|
51
|
-
|
52
|
-
|
53
|
-
popupContainer: getVar(popupContainer, _popupContainer),
|
54
|
-
renderEmpty,
|
55
|
-
renderLoading
|
35
|
+
isAbsolute,
|
36
|
+
popupContainer: getVar(popupContainer, _popupContainer)
|
56
37
|
};
|
57
38
|
};
|
58
39
|
export {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { ref, reactive, computed } from "vue";
|
2
2
|
import { isString } from "./is.js";
|
3
3
|
import { getGlobalConfig } from "./global-config.js";
|
4
|
-
import lang from "../../
|
4
|
+
import lang from "../../src/lang/lang-es/zh-cn.js";
|
5
5
|
const LOCALE = ref("zh-CN");
|
6
6
|
const I18N_MESSAGES = reactive({
|
7
7
|
"zh-CN": lang
|
package/es/index.d.ts
CHANGED
@@ -774,6 +774,7 @@ declare const _default: {
|
|
774
774
|
focusDelay: number;
|
775
775
|
disabled: boolean;
|
776
776
|
scrollToCloseDistance: number;
|
777
|
+
scrollToClose: boolean;
|
777
778
|
autoSetPosition: boolean;
|
778
779
|
alignPoint: boolean;
|
779
780
|
position: import('./Trigger').TriggerPostion;
|
@@ -794,7 +795,6 @@ declare const _default: {
|
|
794
795
|
autoFitPosition: boolean;
|
795
796
|
updateAtScroll: boolean;
|
796
797
|
preventFocus: boolean;
|
797
|
-
scrollToClose: boolean;
|
798
798
|
needTransformOrigin: boolean;
|
799
799
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
800
800
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -828,6 +828,7 @@ declare const _default: {
|
|
828
828
|
focusDelay: number;
|
829
829
|
disabled: boolean;
|
830
830
|
scrollToCloseDistance: number;
|
831
|
+
scrollToClose: boolean;
|
831
832
|
autoSetPosition: boolean;
|
832
833
|
alignPoint: boolean;
|
833
834
|
position: import('./Trigger').TriggerPostion;
|
@@ -848,14 +849,13 @@ declare const _default: {
|
|
848
849
|
autoFitPosition: boolean;
|
849
850
|
updateAtScroll: boolean;
|
850
851
|
preventFocus: boolean;
|
851
|
-
scrollToClose: boolean;
|
852
852
|
needTransformOrigin: boolean;
|
853
853
|
}> & Omit<Readonly<import('./Trigger').TriggerProps> & Readonly<{
|
854
854
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
855
855
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
856
856
|
onShow?: (() => any) | undefined;
|
857
857
|
onHide?: (() => any) | undefined;
|
858
|
-
}>, "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" | "
|
858
|
+
}>, "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<{
|
859
859
|
hide(): void;
|
860
860
|
show(): void;
|
861
861
|
updatePosition(x: number, y: number): void;
|