yc-design-vue 1.8.7 → 1.8.9
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 +1 -0
- package/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/Alert/index.vue.js +1 -0
- package/es/Anchor/Anchor.vue.js +1 -0
- package/es/Anchor/AnchorLink.vue.js +1 -0
- package/es/Anchor/hooks/useContext.js +1 -0
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +33 -33
- package/es/AutoComplete/index.vue.js +1 -0
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/Avatar.vue.js +1 -0
- package/es/Avatar/AvatarGroup.vue.js +1 -0
- package/es/Avatar/index.d.ts +5 -5
- package/es/BackTop/index.vue.js +1 -0
- package/es/Badge/index.vue.js +1 -0
- package/es/Breadcrumb/Breadcrumb.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -0
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/hooks/useContext.js +1 -0
- package/es/Button/index.d.ts +12 -12
- package/es/Calendar/Calendar.vue.js +2 -1
- package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/es/Calendar/CalendarMonth.vue.js +1 -1
- package/es/Calendar/CalendarYear.vue.js +1 -1
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/Card.vue.js +1 -0
- package/es/Card/CardMeta.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.js +1 -0
- package/es/Card/index.d.ts +6 -6
- package/es/Carousel/Carousel.vue.js +1 -0
- package/es/Carousel/CarouselArrow.vue.js +1 -0
- package/es/Carousel/CarouselIndicator.vue.js +1 -0
- package/es/Carousel/hooks/useContext.js +1 -0
- package/es/Cascader/Cascader.vue.d.ts +17 -17
- package/es/Cascader/Cascader.vue.js +1 -0
- package/es/Cascader/CascaderIcon.vue.js +1 -0
- package/es/Cascader/CascaderOption.vue.js +1 -0
- package/es/Cascader/CascaderPanel.vue.js +1 -0
- package/es/Cascader/CascaderSearchPanel.vue.js +1 -0
- package/es/Cascader/hooks/useContext.js +1 -0
- package/es/Cascader/index.d.ts +16 -16
- package/es/Checkbox/Checkbox.vue.js +1 -0
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/hooks/useContext.js +1 -0
- package/es/Checkbox/index.d.ts +3 -3
- package/es/Collapse/CollapseItem.vue.js +1 -0
- package/es/Collapse/hooks/useContext.js +1 -0
- package/es/ColorPicker/ColorControl.vue.js +1 -0
- package/es/ColorPicker/ColorInput.vue.js +1 -0
- package/es/ColorPicker/ColorList.vue.js +7 -1
- package/es/ColorPicker/ColorPalette.vue.js +1 -0
- package/es/ColorPicker/ColorPanel.vue.js +7 -1
- package/es/ColorPicker/hooks/useContext.js +1 -0
- package/es/Comment/index.vue.js +1 -0
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/ConfigProvider/index.vue.js +4 -12
- package/es/ConfigProvider/type.d.ts +3 -2
- package/es/Descriptions/ReuseItem.vue.js +1 -0
- package/es/Descriptions/ReuseTd.vue.js +1 -0
- package/es/Descriptions/hooks/useContext.js +1 -0
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Divider/index.vue.js +1 -0
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +2 -1
- package/es/Drawer/DrawerService.vue.d.ts +2 -2
- package/es/Drawer/DrawerService.vue.js +1 -0
- package/es/Drawer/index.d.ts +11 -11
- package/es/Dropdown/Dropdown.vue.js +1 -0
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/DropdownButton.vue.js +1 -0
- package/es/Dropdown/Dsubmenu.vue.js +1 -0
- package/es/Dropdown/hooks/useContext.js +1 -0
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -1
- package/es/Grid/Grid.vue.js +1 -0
- package/es/Grid/GridCol.vue.js +1 -0
- package/es/Grid/GridItem.vue.js +1 -0
- package/es/Grid/GridRow.vue.js +1 -0
- package/es/Grid/hooks/useContext.js +1 -0
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -1
- package/es/Image/ImagePreview.vue.js +1 -0
- package/es/Image/ImagePreviewArrow.vue.js +1 -0
- package/es/Image/ImagePreviewToolbar.vue.js +8 -7
- package/es/Image/hooks/useContext.js +1 -0
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/Input.vue.js +1 -0
- package/es/Input/InputSuffix.vue.js +1 -0
- package/es/Input/hooks/useLimitedInput.js +1 -0
- package/es/Input/index.d.ts +9 -9
- package/es/InputNumber/InputNumber.vue.d.ts +18 -18
- package/es/InputNumber/InputNumber.vue.js +1 -0
- package/es/InputNumber/InputOperaBtn.vue.js +1 -0
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputTag/index.d.ts +6 -6
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue.js +1 -0
- package/es/Layout/Layout.vue.js +1 -0
- package/es/Layout/LayoutSider.vue.js +1 -0
- package/es/Layout/hooks/useSiderContext.js +1 -0
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/index.vue.js +1 -0
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/List.vue.js +1 -0
- package/es/List/ListItemMeta.vue.d.ts +1 -1
- package/es/List/hooks/useScrollReach.js +1 -0
- package/es/List/index.d.ts +9 -9
- package/es/Mention/index.d.ts +22 -22
- package/es/Mention/index.vue.d.ts +39 -39
- package/es/Mention/index.vue.js +1 -0
- package/es/Menu/Menu.vue.js +1 -0
- package/es/Menu/MenuEllipsis.vue.js +1 -0
- package/es/Menu/MenuItem.vue.js +1 -0
- package/es/Menu/MenuItemGroup.vue.js +1 -0
- package/es/Menu/SubMenu.vue.js +1 -0
- package/es/Menu/hooks/useContext.js +1 -0
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/Message.vue.js +1 -0
- package/es/Message/index.d.ts +3 -3
- package/es/Message/index.js +1 -0
- package/es/Modal/Modal.vue.d.ts +4 -4
- package/es/Modal/Modal.vue.js +2 -1
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/ModalService.vue.js +1 -0
- package/es/Modal/hooks/useModalClose.js +1 -0
- package/es/Modal/hooks/useModalDraggable.js +1 -0
- package/es/Modal/hooks/useOnBeforeClose.js +1 -0
- package/es/Modal/index.d.ts +11 -11
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/Notification.vue.js +1 -0
- package/es/Notification/index.d.ts +3 -3
- package/es/Notification/index.js +1 -0
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/OverflowList/index.vue.js +1 -0
- package/es/PageHeader/index.vue.js +1 -0
- package/es/Pagination/Pagination.vue.js +6 -2
- package/es/Pagination/PaginationItem.vue.js +1 -0
- package/es/Pagination/hooks/useContext.d.ts +1 -256
- package/es/Pagination/hooks/useContext.js +2 -1
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +7 -7
- package/es/Popconfirm/index.vue.js +2 -1
- package/es/Popover/index.vue.js +1 -0
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/Progress.vue.js +1 -0
- package/es/Progress/ProgressCircle.vue.js +1 -0
- package/es/Progress/ProgressLine.vue.js +1 -0
- package/es/Progress/ProgressSteps.vue.js +1 -0
- package/es/Progress/index.d.ts +3 -3
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/Radio.vue.js +1 -0
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/hooks/useContext.js +1 -0
- package/es/Radio/index.d.ts +6 -6
- package/es/Rate/index.vue.js +1 -0
- package/es/ResizeBox/index.vue.js +1 -0
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.js +1 -0
- package/es/Scrollbar/ScrollbarTrack.vue.js +1 -0
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Option.vue.js +1 -0
- package/es/Select/Select.vue.d.ts +26 -26
- package/es/Select/Select.vue.js +1 -0
- package/es/Select/SelectIcon.vue.js +1 -0
- package/es/Select/SelectRealList.vue.js +1 -0
- package/es/Select/SelectView.vue.js +1 -0
- package/es/Select/SelectVirtualList.vue.js +1 -0
- package/es/Select/hooks/useContext.js +1 -0
- package/es/Select/hooks/useSelectOptions.js +1 -0
- package/es/Select/index.d.ts +14 -14
- package/es/Skeleton/SkeletonLine.vue.js +1 -0
- package/es/Skeleton/SkeletonShape.vue.js +1 -0
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/SliderBtn.vue.js +1 -0
- package/es/Slider/hooks/useContext.js +1 -0
- package/es/Slider/hooks/useSliderDraggable.js +1 -0
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Space/index.vue.js +1 -0
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +1 -0
- package/es/Split/index.d.ts +6 -6
- package/es/Split/index.vue.d.ts +2 -2
- package/es/Split/index.vue.js +1 -0
- package/es/Statistic/Countdown.vue.d.ts +2 -2
- package/es/Statistic/Countdown.vue.js +1 -0
- package/es/Statistic/Statistic.vue.d.ts +2 -2
- package/es/Statistic/Statistic.vue.js +1 -0
- package/es/Statistic/index.d.ts +12 -12
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Step.vue.js +1 -0
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/hooks/useContext.js +1 -0
- package/es/Steps/index.d.ts +6 -6
- package/es/Switch/index.d.ts +6 -6
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Switch/index.vue.js +1 -0
- package/es/Tabs/TabButton.vue.js +1 -0
- package/es/Tabs/TabPane.vue.js +1 -0
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/Tabs.vue.js +1 -0
- package/es/Tabs/TabsNavInk.vue.js +1 -0
- package/es/Tabs/TabsTab.vue.js +1 -0
- package/es/Tabs/hooks/useContext.js +1 -0
- package/es/Tabs/hooks/useTabsScroll.js +1 -0
- package/es/Tabs/index.d.ts +8 -8
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Tag/index.vue.js +1 -0
- package/es/Textarea/hooks/useTextareaHeight.js +1 -0
- package/es/Textarea/index.d.ts +6 -6
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/Textarea/index.vue.js +1 -0
- package/es/TimePicker/TimePicker.vue.d.ts +3 -3
- package/es/TimePicker/TimePicker.vue.js +6 -6
- package/es/TimePicker/TimePickerPanel.vue.js +10 -10
- package/es/TimePicker/hooks/useContext.d.ts +1 -0
- package/es/TimePicker/hooks/useContext.js +11 -2
- package/es/TimePicker/index.d.ts +9 -9
- package/es/Timeline/TimelineItemPending.vue.js +1 -0
- package/es/Timeline/hooks/useContext.js +1 -0
- package/es/Tooltip/index.vue.js +1 -0
- package/es/Transfer/Transfer.vue.js +1 -0
- package/es/Transfer/TransferPanel.vue.js +1 -0
- package/es/Transfer/hooks/useContext.js +1 -0
- package/es/Trigger/hooks/useContext.js +1 -0
- package/es/Trigger/hooks/useTriggerPosition.js +1 -0
- package/es/Trigger/hooks/useTriggerVisible.js +1 -0
- package/es/Trigger/index.vue.js +1 -0
- package/es/Typography/TypographyBase.vue.d.ts +19 -19
- package/es/Typography/TypographyBase.vue.js +2 -1
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/VerificationCode/index.vue.js +1 -0
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +1 -0
- package/es/_lang/ar-eg.d.ts +206 -0
- package/es/_lang/de-de.d.ts +206 -0
- package/es/_lang/en-us.d.ts +254 -0
- package/es/_lang/es-es.d.ts +206 -0
- package/es/_lang/fr-fr.d.ts +206 -0
- package/es/_lang/id-id.d.ts +206 -0
- package/es/_lang/index.css +0 -0
- package/es/_lang/interface.d.ts +151 -0
- package/es/_lang/it-it.d.ts +206 -0
- package/es/_lang/ja-jp.d.ts +254 -0
- package/es/_lang/km-kh.d.ts +206 -0
- package/es/_lang/ko-kr.d.ts +206 -0
- package/es/_lang/ms-my.d.ts +206 -0
- package/es/_lang/nl-nl.d.ts +254 -0
- package/es/_lang/pt-pt.d.ts +206 -0
- package/es/_lang/ru-ru.d.ts +254 -0
- package/es/_lang/th-th.d.ts +206 -0
- package/es/_lang/vi-vn.d.ts +206 -0
- package/es/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
- package/es/_lang/zh-cn.js +202 -0
- package/es/_lang/zh-tw.d.ts +254 -0
- package/es/_shared/components/ExpandTransition.vue2.js +1 -0
- package/es/_shared/components/Icon.vue3.js +1 -0
- package/es/_shared/components/IconButton.vue.js +1 -0
- package/es/_shared/constants/index.js +1 -0
- package/es/_shared/icons/IconFullScreen.vue.js +1 -17
- package/es/_shared/icons/IconFullScreen.vue2.js +17 -1
- package/es/_shared/icons/IconOriginSize.vue.js +1 -23
- package/es/_shared/icons/IconOriginSize.vue2.js +23 -1
- package/es/_shared/icons/IconRotateLeft.vue.js +1 -17
- package/es/_shared/icons/IconRotateLeft.vue2.js +17 -1
- package/es/_shared/icons/IconRotateRight.vue.js +1 -17
- package/es/_shared/icons/IconRotateRight.vue2.js +17 -1
- package/es/_shared/icons/IconZoomIn.vue.js +1 -17
- package/es/_shared/icons/IconZoomIn.vue2.js +17 -1
- package/es/_shared/icons/IconZoomOut.vue.js +1 -17
- package/es/_shared/icons/IconZoomOut.vue2.js +17 -1
- package/es/_shared/utils/control.js +1 -0
- package/es/_shared/utils/global-config.d.ts +3 -1
- package/es/_shared/utils/global-config.js +4 -0
- package/es/_shared/utils/index.d.ts +1 -0
- package/es/_shared/utils/locale.d.ts +22 -0
- package/es/_shared/utils/locale.js +39 -0
- package/es/index.d.ts +27 -27
- package/es/index.js +0 -2
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +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 +19 -19
- package/lib/AutoComplete/index.vue.d.ts +33 -33
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/index.d.ts +5 -5
- package/lib/BackTop/index.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 +3 -3
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.d.ts +12 -12
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.d.ts +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/Card.vue.js +1 -1
- package/lib/Card/CardMeta.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/index.d.ts +6 -6
- 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 +17 -17
- 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 +16 -16
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- 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/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +3 -2
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +2 -2
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +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.d.ts +2 -2
- 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/Image/index.d.ts +6 -6
- package/lib/Input/Input.vue.d.ts +3 -3
- 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/Input/index.d.ts +9 -9
- package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputTag/index.d.ts +6 -6
- package/lib/InputTag/index.vue.d.ts +2 -2
- 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/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 +7 -7
- package/lib/List/List.vue.js +1 -1
- package/lib/List/ListItemMeta.vue.d.ts +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +9 -9
- package/lib/Mention/index.d.ts +22 -22
- package/lib/Mention/index.vue.d.ts +39 -39
- 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/Message/Message.vue.d.ts +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.d.ts +4 -4
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- 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/Modal/index.d.ts +11 -11
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.d.ts +3 -3
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +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/Pagination/hooks/useContext.d.ts +1 -256
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.vue.d.ts +7 -7
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/Progress.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/Progress/index.d.ts +3 -3
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +26 -26
- 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 +14 -14
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Slider/Slider.vue.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/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +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.d.ts +6 -6
- package/lib/Split/index.vue.d.ts +2 -2
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.d.ts +2 -2
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Statistic/index.d.ts +12 -12
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Steps/index.d.ts +6 -6
- package/lib/Switch/index.d.ts +6 -6
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- 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/useContext.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tabs/index.d.ts +8 -8
- 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.d.ts +6 -6
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +1 -0
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +9 -9
- 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.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +19 -19
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- 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/_lang/ar-eg.d.ts +206 -0
- package/lib/_lang/de-de.d.ts +206 -0
- package/lib/_lang/en-us.d.ts +254 -0
- package/lib/_lang/es-es.d.ts +206 -0
- package/lib/_lang/fr-fr.d.ts +206 -0
- package/lib/_lang/id-id.d.ts +206 -0
- package/lib/_lang/index.css +0 -0
- package/lib/_lang/interface.d.ts +151 -0
- package/lib/_lang/it-it.d.ts +206 -0
- package/lib/_lang/ja-jp.d.ts +254 -0
- package/lib/_lang/km-kh.d.ts +206 -0
- package/lib/_lang/ko-kr.d.ts +206 -0
- package/lib/_lang/ms-my.d.ts +206 -0
- package/lib/_lang/nl-nl.d.ts +254 -0
- package/lib/_lang/pt-pt.d.ts +206 -0
- package/lib/_lang/ru-ru.d.ts +254 -0
- package/lib/_lang/th-th.d.ts +206 -0
- package/lib/_lang/vi-vn.d.ts +206 -0
- package/lib/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
- package/lib/_lang/zh-cn.js +1 -0
- package/lib/_lang/zh-tw.d.ts +254 -0
- package/lib/_shared/components/ExpandTransition.vue2.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/IconFullScreen.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +3 -1
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/index.d.ts +1 -0
- package/lib/_shared/utils/locale.d.ts +22 -0
- package/lib/_shared/utils/locale.js +1 -0
- package/lib/index.d.ts +27 -27
- package/lib/index.js +1 -1
- package/package.json +10 -22
- package/es/_shared/locale/i18n.d.ts +0 -512
- package/es/_shared/locale/i18n.js +0 -43
- package/es/_shared/locale/lang/ar-eg.json.js +0 -251
- package/es/_shared/locale/lang/de-de.json.d.ts +0 -207
- package/es/_shared/locale/lang/de-de.json.js +0 -251
- package/es/_shared/locale/lang/en-us.json.d.ts +0 -210
- package/es/_shared/locale/lang/en-us.json.js +0 -256
- package/es/_shared/locale/lang/es-es.json.d.ts +0 -207
- package/es/_shared/locale/lang/es-es.json.js +0 -251
- package/es/_shared/locale/lang/fr-fr.json.d.ts +0 -207
- package/es/_shared/locale/lang/fr-fr.json.js +0 -251
- package/es/_shared/locale/lang/id-id.json.d.ts +0 -207
- package/es/_shared/locale/lang/id-id.json.js +0 -251
- package/es/_shared/locale/lang/it-it.json.d.ts +0 -207
- package/es/_shared/locale/lang/it-it.json.js +0 -251
- package/es/_shared/locale/lang/ja-jp.json.d.ts +0 -255
- package/es/_shared/locale/lang/ja-jp.json.js +0 -301
- package/es/_shared/locale/lang/km-kh.json.d.ts +0 -207
- package/es/_shared/locale/lang/km-kh.json.js +0 -251
- package/es/_shared/locale/lang/ko-kr.json.d.ts +0 -207
- package/es/_shared/locale/lang/ko-kr.json.js +0 -251
- package/es/_shared/locale/lang/ms-my.json.d.ts +0 -207
- package/es/_shared/locale/lang/ms-my.json.js +0 -251
- package/es/_shared/locale/lang/nl-nl.json.d.ts +0 -255
- package/es/_shared/locale/lang/nl-nl.json.js +0 -301
- package/es/_shared/locale/lang/pt-pt.json.d.ts +0 -207
- package/es/_shared/locale/lang/pt-pt.json.js +0 -251
- package/es/_shared/locale/lang/ru-ru.json.d.ts +0 -255
- package/es/_shared/locale/lang/ru-ru.json.js +0 -301
- package/es/_shared/locale/lang/th-th.json.d.ts +0 -207
- package/es/_shared/locale/lang/th-th.json.js +0 -251
- package/es/_shared/locale/lang/vi-vn.json.d.ts +0 -207
- package/es/_shared/locale/lang/vi-vn.json.js +0 -251
- package/es/_shared/locale/lang/zh-cn.json.d.ts +0 -255
- package/es/_shared/locale/lang/zh-cn.json.js +0 -301
- package/es/_shared/locale/lang/zh-tw.json.d.ts +0 -255
- package/es/_shared/locale/lang/zh-tw.json.js +0 -301
- package/es/node_modules/@intlify/core-base/dist/core-base.js +0 -1126
- package/es/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -65
- package/es/node_modules/@intlify/shared/dist/shared.js +0 -199
- package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1375
- package/es/node_modules/@vue/devtools-api/lib/esm/const.js +0 -6
- package/es/node_modules/@vue/devtools-api/lib/esm/env.js +0 -12
- package/es/node_modules/@vue/devtools-api/lib/esm/index.js +0 -26
- package/es/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -103
- package/es/node_modules/@vue/devtools-api/lib/esm/time.js +0 -25
- package/lib/_shared/locale/i18n.d.ts +0 -512
- package/lib/_shared/locale/i18n.js +0 -1
- package/lib/_shared/locale/lang/ar-eg.json.js +0 -1
- package/lib/_shared/locale/lang/de-de.json.d.ts +0 -207
- package/lib/_shared/locale/lang/de-de.json.js +0 -1
- package/lib/_shared/locale/lang/en-us.json.d.ts +0 -210
- package/lib/_shared/locale/lang/en-us.json.js +0 -1
- package/lib/_shared/locale/lang/es-es.json.d.ts +0 -207
- package/lib/_shared/locale/lang/es-es.json.js +0 -1
- package/lib/_shared/locale/lang/fr-fr.json.d.ts +0 -207
- package/lib/_shared/locale/lang/fr-fr.json.js +0 -1
- package/lib/_shared/locale/lang/id-id.json.d.ts +0 -207
- package/lib/_shared/locale/lang/id-id.json.js +0 -1
- package/lib/_shared/locale/lang/it-it.json.d.ts +0 -207
- package/lib/_shared/locale/lang/it-it.json.js +0 -1
- package/lib/_shared/locale/lang/ja-jp.json.d.ts +0 -255
- package/lib/_shared/locale/lang/ja-jp.json.js +0 -1
- package/lib/_shared/locale/lang/km-kh.json.d.ts +0 -207
- package/lib/_shared/locale/lang/km-kh.json.js +0 -1
- package/lib/_shared/locale/lang/ko-kr.json.d.ts +0 -207
- package/lib/_shared/locale/lang/ko-kr.json.js +0 -1
- package/lib/_shared/locale/lang/ms-my.json.d.ts +0 -207
- package/lib/_shared/locale/lang/ms-my.json.js +0 -1
- package/lib/_shared/locale/lang/nl-nl.json.d.ts +0 -255
- package/lib/_shared/locale/lang/nl-nl.json.js +0 -1
- package/lib/_shared/locale/lang/pt-pt.json.d.ts +0 -207
- package/lib/_shared/locale/lang/pt-pt.json.js +0 -1
- package/lib/_shared/locale/lang/ru-ru.json.d.ts +0 -255
- package/lib/_shared/locale/lang/ru-ru.json.js +0 -1
- package/lib/_shared/locale/lang/th-th.json.d.ts +0 -207
- package/lib/_shared/locale/lang/th-th.json.js +0 -1
- package/lib/_shared/locale/lang/vi-vn.json.d.ts +0 -207
- package/lib/_shared/locale/lang/vi-vn.json.js +0 -1
- package/lib/_shared/locale/lang/zh-cn.json.d.ts +0 -255
- package/lib/_shared/locale/lang/zh-cn.json.js +0 -1
- package/lib/_shared/locale/lang/zh-tw.json.d.ts +0 -255
- package/lib/_shared/locale/lang/zh-tw.json.js +0 -1
- package/lib/node_modules/@intlify/core-base/dist/core-base.js +0 -1
- package/lib/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -6
- package/lib/node_modules/@intlify/shared/dist/shared.js +0 -7
- package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/const.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/env.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/index.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/time.js +0 -1
@@ -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: "IconRotateLeft",
|
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: "M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z" }, null, -1)
|
11
|
-
])),
|
12
|
-
_: 1,
|
13
|
-
__: [0]
|
14
|
-
}, 16);
|
15
|
-
};
|
16
|
-
}
|
17
|
-
});
|
1
|
+
import _sfc_main from "./IconRotateLeft.vue2.js";
|
18
2
|
export {
|
19
3
|
_sfc_main as default
|
20
4
|
};
|
@@ -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: "IconRotateLeft",
|
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: "M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z" }, 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: "IconRotateRight",
|
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: "M38 22a1 1 0 0 0-1-1H17a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V22ZM25 11H14a6 6 0 0 0-6 6v6M25.5 12.893 28.413 11 25.5 9.107v3.786Z" }, null, -1)
|
11
|
-
])),
|
12
|
-
_: 1,
|
13
|
-
__: [0]
|
14
|
-
}, 16);
|
15
|
-
};
|
16
|
-
}
|
17
|
-
});
|
1
|
+
import _sfc_main from "./IconRotateRight.vue2.js";
|
18
2
|
export {
|
19
3
|
_sfc_main as default
|
20
4
|
};
|
@@ -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: "IconRotateRight",
|
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: "M38 22a1 1 0 0 0-1-1H17a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V22ZM25 11H14a6 6 0 0 0-6 6v6M25.5 12.893 28.413 11 25.5 9.107v3.786Z" }, 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: "IconZoomIn",
|
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: "M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15m7 7V15" }, null, -1)
|
11
|
-
])),
|
12
|
-
_: 1,
|
13
|
-
__: [0]
|
14
|
-
}, 16);
|
15
|
-
};
|
16
|
-
}
|
17
|
-
});
|
1
|
+
import _sfc_main from "./IconZoomIn.vue2.js";
|
18
2
|
export {
|
19
3
|
_sfc_main as default
|
20
4
|
};
|
@@ -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: "IconZoomIn",
|
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: "M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15m7 7V15" }, 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: "IconZoomOut",
|
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: "M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15" }, null, -1)
|
11
|
-
])),
|
12
|
-
_: 1,
|
13
|
-
__: [0]
|
14
|
-
}, 16);
|
15
|
-
};
|
16
|
-
}
|
17
|
-
});
|
1
|
+
import _sfc_main from "./IconZoomOut.vue2.js";
|
18
2
|
export {
|
19
3
|
_sfc_main as default
|
20
4
|
};
|
@@ -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: "IconZoomOut",
|
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: "M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15" }, null, -1)
|
11
|
+
])),
|
12
|
+
_: 1,
|
13
|
+
__: [0]
|
14
|
+
}, 16);
|
15
|
+
};
|
16
|
+
}
|
17
|
+
});
|
2
18
|
export {
|
3
19
|
_sfc_main as default
|
4
20
|
};
|
@@ -5,6 +5,7 @@ import { isUndefined } from "./is.js";
|
|
5
5
|
import "./time.js";
|
6
6
|
import "../../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "./locale.js";
|
8
9
|
const useControlValue = (modelValue, defaultValue, onSet = (data) => data, onGet = (data) => data) => {
|
9
10
|
const controlValue = ref(defaultValue);
|
10
11
|
return computed({
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { Ref, VNode } from 'vue';
|
2
2
|
import { ConfigconfigSlots, EmptyComponent } from '../../ConfigProvider';
|
3
|
-
import { PopupContainer, Props, Size } from '../type';
|
3
|
+
import { ObjectData, PopupContainer, Props, Size } from '../type';
|
4
4
|
export declare const CONFIG_PROVIDER_PROVIDE_KEY = "config-props";
|
5
5
|
export interface ConfigProviderProvide {
|
6
6
|
zIndex: Ref<number>;
|
7
7
|
size: Ref<Size>;
|
8
|
+
locale: Ref<ObjectData | undefined>;
|
8
9
|
popupContainer: Ref<PopupContainer>;
|
9
10
|
updateAtScroll: Ref<boolean>;
|
10
11
|
scrollToClose: Ref<boolean>;
|
@@ -13,6 +14,7 @@ export interface ConfigProviderProvide {
|
|
13
14
|
export declare const getGlobalConfig: (props?: Props) => {
|
14
15
|
slots: Partial<ConfigconfigSlots>;
|
15
16
|
zIndex: Ref<number, number>;
|
17
|
+
locale: Ref<ObjectData | undefined, ObjectData | undefined>;
|
16
18
|
size: import('vue').ComputedRef<any>;
|
17
19
|
updateAtScroll: import('vue').ComputedRef<any>;
|
18
20
|
scrollToClose: import('vue').ComputedRef<any>;
|
@@ -6,6 +6,7 @@ import "./time.js";
|
|
6
6
|
import Empty from "../../Empty/index.js";
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main from "../icons/IconLoading.vue.js";
|
9
|
+
import "./locale.js";
|
9
10
|
const CONFIG_PROVIDER_PROVIDE_KEY = "config-props";
|
10
11
|
const getVar = (value, _value) => {
|
11
12
|
return computed(() => {
|
@@ -16,11 +17,13 @@ const getGlobalConfig = (props = {}) => {
|
|
16
17
|
const {
|
17
18
|
slots,
|
18
19
|
zIndex,
|
20
|
+
locale,
|
19
21
|
size: _size,
|
20
22
|
updateAtScroll: _updateAtScroll,
|
21
23
|
scrollToClose: _scrollToClose,
|
22
24
|
popupContainer: _popupContainer
|
23
25
|
} = inject(CONFIG_PROVIDER_PROVIDE_KEY, {
|
26
|
+
locale: ref(),
|
24
27
|
zIndex: ref(1001),
|
25
28
|
size: ref("medium"),
|
26
29
|
updateAtScroll: ref(true),
|
@@ -43,6 +46,7 @@ const getGlobalConfig = (props = {}) => {
|
|
43
46
|
return {
|
44
47
|
slots,
|
45
48
|
zIndex,
|
49
|
+
locale,
|
46
50
|
size: getVar(size, _size),
|
47
51
|
updateAtScroll: getVar(updateAtScroll, _updateAtScroll),
|
48
52
|
scrollToClose: getVar(scrollToClose, _scrollToClose),
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* 添加地区语言包。添加过后的语言包可以通过 `useLocale` 使用
|
3
|
+
* @param messages 需要添加的地区语言数据
|
4
|
+
* @param options
|
5
|
+
*/
|
6
|
+
export declare const addI18nMessages: (messages: Record<string, any>, options?: {
|
7
|
+
overwrite?: boolean;
|
8
|
+
}) => void;
|
9
|
+
/**
|
10
|
+
* 切换地区语言。仅在未提供ConfigProvider时生效。
|
11
|
+
* @param locale
|
12
|
+
*/
|
13
|
+
export declare const useLocale: (locale: string) => void;
|
14
|
+
/**
|
15
|
+
* 获取当前的地区语言
|
16
|
+
*/
|
17
|
+
export declare const getLocale: () => string;
|
18
|
+
export declare const useI18n: () => {
|
19
|
+
i18nMessage: import('vue').ComputedRef<Record<string, any>>;
|
20
|
+
locale: import('vue').ComputedRef<any>;
|
21
|
+
t: (key: string, ...args: any[]) => string;
|
22
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { computed, reactive, ref } from "vue";
|
2
|
+
import { isString } from "./is.js";
|
3
|
+
import { getGlobalConfig } from "./global-config.js";
|
4
|
+
import lang from "../../_lang/zh-cn.js";
|
5
|
+
const LOCALE = ref("zh-CN");
|
6
|
+
const I18N_MESSAGES = reactive({
|
7
|
+
"zh-CN": lang
|
8
|
+
});
|
9
|
+
const useI18n = () => {
|
10
|
+
const { locale } = getGlobalConfig();
|
11
|
+
const i18nMessage = computed(
|
12
|
+
() => locale.value ?? I18N_MESSAGES[LOCALE.value]
|
13
|
+
);
|
14
|
+
const transform = (key, ...args) => {
|
15
|
+
const keyArray = key.split(".");
|
16
|
+
let temp = i18nMessage.value;
|
17
|
+
for (const keyItem of keyArray) {
|
18
|
+
if (!temp[keyItem]) {
|
19
|
+
return key;
|
20
|
+
}
|
21
|
+
temp = temp[keyItem];
|
22
|
+
}
|
23
|
+
if (isString(temp)) {
|
24
|
+
if (args.length > 0) {
|
25
|
+
return temp.replace(/{(\d+)}/g, (sub, index) => args[index] ?? sub);
|
26
|
+
}
|
27
|
+
return temp;
|
28
|
+
}
|
29
|
+
return temp;
|
30
|
+
};
|
31
|
+
return {
|
32
|
+
i18nMessage,
|
33
|
+
locale: computed(() => i18nMessage.value.locale),
|
34
|
+
t: transform
|
35
|
+
};
|
36
|
+
};
|
37
|
+
export {
|
38
|
+
useI18n
|
39
|
+
};
|
package/es/index.d.ts
CHANGED
@@ -204,9 +204,9 @@ declare const _default: {
|
|
204
204
|
});
|
205
205
|
ButtonGroup: {
|
206
206
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Button').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
207
|
-
type: import('./Button').ButtonType;
|
208
207
|
size: import('./_shared/type').Size;
|
209
208
|
disabled: boolean;
|
209
|
+
type: import('./Button').ButtonType;
|
210
210
|
shape: import('./Button').ButtonShape;
|
211
211
|
status: import('./Button').ButtonStatus;
|
212
212
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -217,9 +217,9 @@ declare const _default: {
|
|
217
217
|
M: {};
|
218
218
|
Defaults: {};
|
219
219
|
}, Readonly<import('./Button').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
|
220
|
-
type: import('./Button').ButtonType;
|
221
220
|
size: import('./_shared/type').Size;
|
222
221
|
disabled: boolean;
|
222
|
+
type: import('./Button').ButtonType;
|
223
223
|
shape: import('./Button').ButtonShape;
|
224
224
|
status: import('./Button').ButtonStatus;
|
225
225
|
}>;
|
@@ -227,9 +227,9 @@ declare const _default: {
|
|
227
227
|
__isTeleport?: never;
|
228
228
|
__isSuspense?: never;
|
229
229
|
} & import('vue').ComponentOptionsBase<Readonly<import('./Button').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
230
|
-
type: import('./Button').ButtonType;
|
231
230
|
size: import('./_shared/type').Size;
|
232
231
|
disabled: boolean;
|
232
|
+
type: import('./Button').ButtonType;
|
233
233
|
shape: import('./Button').ButtonShape;
|
234
234
|
status: import('./Button').ButtonStatus;
|
235
235
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
@@ -291,8 +291,8 @@ declare const _default: {
|
|
291
291
|
});
|
292
292
|
CardMeta: {
|
293
293
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Card').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
294
|
-
description: string;
|
295
294
|
title: string;
|
295
|
+
description: string;
|
296
296
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
297
297
|
P: {};
|
298
298
|
B: {};
|
@@ -301,15 +301,15 @@ declare const _default: {
|
|
301
301
|
M: {};
|
302
302
|
Defaults: {};
|
303
303
|
}, Readonly<import('./Card').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, {
|
304
|
-
description: string;
|
305
304
|
title: string;
|
305
|
+
description: string;
|
306
306
|
}>;
|
307
307
|
__isFragment?: never;
|
308
308
|
__isTeleport?: never;
|
309
309
|
__isSuspense?: never;
|
310
310
|
} & import('vue').ComponentOptionsBase<Readonly<import('./Card').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
311
|
-
description: string;
|
312
311
|
title: string;
|
312
|
+
description: string;
|
313
313
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
314
314
|
$slots: Readonly<import('./Card').CardMetaSlots> & import('./Card').CardMetaSlots;
|
315
315
|
});
|
@@ -336,11 +336,11 @@ declare const _default: {
|
|
336
336
|
change: (value: import('./Checkbox').CheckboxValue[]) => any;
|
337
337
|
"update:modelValue": (value: import('./Checkbox').CheckboxValue[]) => any;
|
338
338
|
}, import('vue').PublicProps, {
|
339
|
-
max: number;
|
340
339
|
disabled: boolean;
|
341
340
|
modelValue: import('./Checkbox').CheckboxValue[];
|
342
341
|
defaultValue: import('./Checkbox').CheckboxValue[];
|
343
342
|
options: (import('./Checkbox').CheckboxOption | import('./Checkbox').CheckboxValue)[];
|
343
|
+
max: number;
|
344
344
|
direction: import('./_shared/type').Direction;
|
345
345
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
346
346
|
P: {};
|
@@ -353,11 +353,11 @@ declare const _default: {
|
|
353
353
|
onChange?: ((value: import('./Checkbox').CheckboxValue[]) => any) | undefined;
|
354
354
|
"onUpdate:modelValue"?: ((value: import('./Checkbox').CheckboxValue[]) => any) | undefined;
|
355
355
|
}>, {}, {}, {}, {}, {
|
356
|
-
max: number;
|
357
356
|
disabled: boolean;
|
358
357
|
modelValue: import('./Checkbox').CheckboxValue[];
|
359
358
|
defaultValue: import('./Checkbox').CheckboxValue[];
|
360
359
|
options: (import('./Checkbox').CheckboxOption | import('./Checkbox').CheckboxValue)[];
|
360
|
+
max: number;
|
361
361
|
direction: import('./_shared/type').Direction;
|
362
362
|
}>;
|
363
363
|
__isFragment?: never;
|
@@ -370,11 +370,11 @@ declare const _default: {
|
|
370
370
|
change: (value: import('./Checkbox').CheckboxValue[]) => any;
|
371
371
|
"update:modelValue": (value: import('./Checkbox').CheckboxValue[]) => any;
|
372
372
|
}, string, {
|
373
|
-
max: number;
|
374
373
|
disabled: boolean;
|
375
374
|
modelValue: import('./Checkbox').CheckboxValue[];
|
376
375
|
defaultValue: import('./Checkbox').CheckboxValue[];
|
377
376
|
options: (import('./Checkbox').CheckboxOption | import('./Checkbox').CheckboxValue)[];
|
377
|
+
max: number;
|
378
378
|
direction: import('./_shared/type').Direction;
|
379
379
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
380
380
|
$slots: Readonly<import('./Checkbox').CheckboxGroupSlots> & import('./Checkbox').CheckboxGroupSlots;
|
@@ -418,13 +418,13 @@ declare const _default: {
|
|
418
418
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
419
419
|
finish: () => any;
|
420
420
|
}, import('vue').PublicProps, {
|
421
|
-
start: boolean;
|
422
|
-
now: number;
|
423
421
|
value: number;
|
422
|
+
start: boolean;
|
424
423
|
title: string;
|
425
424
|
easeing: string;
|
426
425
|
format: string;
|
427
426
|
valueStyle: import('vue').CSSProperties;
|
427
|
+
now: number;
|
428
428
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
429
429
|
P: {};
|
430
430
|
B: {};
|
@@ -435,13 +435,13 @@ declare const _default: {
|
|
435
435
|
}, Readonly<import('./Statistic').CountdownProps> & Readonly<{
|
436
436
|
onFinish?: (() => any) | undefined;
|
437
437
|
}>, {}, {}, {}, {}, {
|
438
|
-
start: boolean;
|
439
|
-
now: number;
|
440
438
|
value: number;
|
439
|
+
start: boolean;
|
441
440
|
title: string;
|
442
441
|
easeing: string;
|
443
442
|
format: string;
|
444
443
|
valueStyle: import('vue').CSSProperties;
|
444
|
+
now: number;
|
445
445
|
}>;
|
446
446
|
__isFragment?: never;
|
447
447
|
__isTeleport?: never;
|
@@ -451,13 +451,13 @@ declare const _default: {
|
|
451
451
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
452
452
|
finish: () => any;
|
453
453
|
}, string, {
|
454
|
-
start: boolean;
|
455
|
-
now: number;
|
456
454
|
value: number;
|
455
|
+
start: boolean;
|
457
456
|
title: string;
|
458
457
|
easeing: string;
|
459
458
|
format: string;
|
460
459
|
valueStyle: import('vue').CSSProperties;
|
460
|
+
now: number;
|
461
461
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
462
462
|
$slots: Readonly<import('./Statistic').CountdownSlots> & import('./Statistic').CountdownSlots;
|
463
463
|
});
|
@@ -495,7 +495,6 @@ declare const _default: {
|
|
495
495
|
"popup-visible-change": (value: boolean) => any;
|
496
496
|
select: (value: import('./Dropdown').DoptionValue) => any;
|
497
497
|
}, import('vue').PublicProps, {
|
498
|
-
type: import('./Button').ButtonType;
|
499
498
|
size: import('./_shared/type').Size;
|
500
499
|
trigger: import('./Trigger').TriggerType;
|
501
500
|
popupVisible: boolean;
|
@@ -503,6 +502,7 @@ declare const _default: {
|
|
503
502
|
disabled: boolean;
|
504
503
|
position: import('./Dropdown').DropdownPosition;
|
505
504
|
popupContainer: import('./_shared/type').PopupContainer;
|
505
|
+
type: import('./Button').ButtonType;
|
506
506
|
hideOnSelect: boolean;
|
507
507
|
buttonProps: import('./Button').ButtonProps;
|
508
508
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -517,7 +517,6 @@ declare const _default: {
|
|
517
517
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
518
518
|
onSelect?: ((value: import('./Dropdown').DoptionValue) => any) | undefined;
|
519
519
|
}>, {}, {}, {}, {}, {
|
520
|
-
type: import('./Button').ButtonType;
|
521
520
|
size: import('./_shared/type').Size;
|
522
521
|
trigger: import('./Trigger').TriggerType;
|
523
522
|
popupVisible: boolean;
|
@@ -525,6 +524,7 @@ declare const _default: {
|
|
525
524
|
disabled: boolean;
|
526
525
|
position: import('./Dropdown').DropdownPosition;
|
527
526
|
popupContainer: import('./_shared/type').PopupContainer;
|
527
|
+
type: import('./Button').ButtonType;
|
528
528
|
hideOnSelect: boolean;
|
529
529
|
buttonProps: import('./Button').ButtonProps;
|
530
530
|
}>;
|
@@ -540,7 +540,6 @@ declare const _default: {
|
|
540
540
|
"popup-visible-change": (value: boolean) => any;
|
541
541
|
select: (value: import('./Dropdown').DoptionValue) => any;
|
542
542
|
}, string, {
|
543
|
-
type: import('./Button').ButtonType;
|
544
543
|
size: import('./_shared/type').Size;
|
545
544
|
trigger: import('./Trigger').TriggerType;
|
546
545
|
popupVisible: boolean;
|
@@ -548,6 +547,7 @@ declare const _default: {
|
|
548
547
|
disabled: boolean;
|
549
548
|
position: import('./Dropdown').DropdownPosition;
|
550
549
|
popupContainer: import('./_shared/type').PopupContainer;
|
550
|
+
type: import('./Button').ButtonType;
|
551
551
|
hideOnSelect: boolean;
|
552
552
|
buttonProps: import('./Button').ButtonProps;
|
553
553
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
@@ -1391,8 +1391,8 @@ declare const _default: {
|
|
1391
1391
|
});
|
1392
1392
|
ListItemMeta: {
|
1393
1393
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./List').ListItemMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
1394
|
-
description: string;
|
1395
1394
|
title: string;
|
1395
|
+
description: string;
|
1396
1396
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
1397
1397
|
P: {};
|
1398
1398
|
B: {};
|
@@ -1401,15 +1401,15 @@ declare const _default: {
|
|
1401
1401
|
M: {};
|
1402
1402
|
Defaults: {};
|
1403
1403
|
}, Readonly<import('./List').ListItemMetaProps> & Readonly<{}>, {}, {}, {}, {}, {
|
1404
|
-
description: string;
|
1405
1404
|
title: string;
|
1405
|
+
description: string;
|
1406
1406
|
}>;
|
1407
1407
|
__isFragment?: never;
|
1408
1408
|
__isTeleport?: never;
|
1409
1409
|
__isSuspense?: never;
|
1410
1410
|
} & import('vue').ComponentOptionsBase<Readonly<import('./List').ListItemMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
1411
|
-
description: string;
|
1412
1411
|
title: string;
|
1412
|
+
description: string;
|
1413
1413
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
1414
1414
|
$slots: Readonly<import('./List').ListItemMetaSlots> & import('./List').ListItemMetaSlots;
|
1415
1415
|
});
|
@@ -1515,9 +1515,9 @@ declare const _default: {
|
|
1515
1515
|
change: (value: import('./Radio').RadioValue) => any;
|
1516
1516
|
"update:modelValue": (value: import('./Radio').RadioValue) => any;
|
1517
1517
|
}, import('vue').PublicProps, {
|
1518
|
-
type: import('./Radio').RadioType;
|
1519
1518
|
size: import('./_shared/type').Size;
|
1520
1519
|
disabled: boolean;
|
1520
|
+
type: import('./Radio').RadioType;
|
1521
1521
|
modelValue: import('./Radio').RadioValue;
|
1522
1522
|
defaultValue: import('./Radio').RadioValue;
|
1523
1523
|
options: import('./Radio').RadioOption[];
|
@@ -1533,9 +1533,9 @@ declare const _default: {
|
|
1533
1533
|
onChange?: ((value: import('./Radio').RadioValue) => any) | undefined;
|
1534
1534
|
"onUpdate:modelValue"?: ((value: import('./Radio').RadioValue) => any) | undefined;
|
1535
1535
|
}>, {}, {}, {}, {}, {
|
1536
|
-
type: import('./Radio').RadioType;
|
1537
1536
|
size: import('./_shared/type').Size;
|
1538
1537
|
disabled: boolean;
|
1538
|
+
type: import('./Radio').RadioType;
|
1539
1539
|
modelValue: import('./Radio').RadioValue;
|
1540
1540
|
defaultValue: import('./Radio').RadioValue;
|
1541
1541
|
options: import('./Radio').RadioOption[];
|
@@ -1551,9 +1551,9 @@ declare const _default: {
|
|
1551
1551
|
change: (value: import('./Radio').RadioValue) => any;
|
1552
1552
|
"update:modelValue": (value: import('./Radio').RadioValue) => any;
|
1553
1553
|
}, string, {
|
1554
|
-
type: import('./Radio').RadioType;
|
1555
1554
|
size: import('./_shared/type').Size;
|
1556
1555
|
disabled: boolean;
|
1556
|
+
type: import('./Radio').RadioType;
|
1557
1557
|
modelValue: import('./Radio').RadioValue;
|
1558
1558
|
defaultValue: import('./Radio').RadioValue;
|
1559
1559
|
options: import('./Radio').RadioOption[];
|
@@ -1573,9 +1573,9 @@ declare const _default: {
|
|
1573
1573
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
1574
1574
|
Step: {
|
1575
1575
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Steps').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
1576
|
-
description: string;
|
1577
1576
|
disabled: boolean;
|
1578
1577
|
title: string;
|
1578
|
+
description: string;
|
1579
1579
|
status: import('./Steps').StepStatus;
|
1580
1580
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
1581
1581
|
P: {};
|
@@ -1585,18 +1585,18 @@ declare const _default: {
|
|
1585
1585
|
M: {};
|
1586
1586
|
Defaults: {};
|
1587
1587
|
}, Readonly<import('./Steps').StepProps> & Readonly<{}>, {}, {}, {}, {}, {
|
1588
|
-
description: string;
|
1589
1588
|
disabled: boolean;
|
1590
1589
|
title: string;
|
1590
|
+
description: string;
|
1591
1591
|
status: import('./Steps').StepStatus;
|
1592
1592
|
}>;
|
1593
1593
|
__isFragment?: never;
|
1594
1594
|
__isTeleport?: never;
|
1595
1595
|
__isSuspense?: never;
|
1596
1596
|
} & import('vue').ComponentOptionsBase<Readonly<import('./Steps').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
1597
|
-
description: string;
|
1598
1597
|
disabled: boolean;
|
1599
1598
|
title: string;
|
1599
|
+
description: string;
|
1600
1600
|
status: import('./Steps').StepStatus;
|
1601
1601
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
1602
1602
|
$slots: Readonly<import('./Steps').StepSlots> & import('./Steps').StepSlots;
|
package/es/index.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import i18n from "./_shared/locale/i18n.js";
|
2
1
|
/* empty css */
|
3
2
|
import Affix from "./Affix/index.js";
|
4
3
|
import Alert from "./Alert/index.js";
|
@@ -255,7 +254,6 @@ const index = {
|
|
255
254
|
TypographyTitle: _sfc_main$1,
|
256
255
|
TypographyParagraph: _sfc_main,
|
257
256
|
install: (app) => {
|
258
|
-
app.use(i18n);
|
259
257
|
for (const key of Object.keys(components)) {
|
260
258
|
app.use(components[key]);
|
261
259
|
}
|
package/lib/Affix/index.vue.js
CHANGED
@@ -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"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.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"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const r=e.defineComponent({name:"Affix",inheritAttrs:!1,__name:"index",props:{offsetTop:{default:0},offsetBottom:{default:void 0},target:{default:void 0},targetContainer:{default:void 0}},emits:["change"],setup(r,{expose:a,emit:u}){const i=r,n=u,{target:s,targetContainer:d,offsetTop:f,offsetBottom:v}=e.toRefs(i),c=e.ref(),m=e.ref(),p=e.computed(()=>l.isUndefined(s.value)?o.findFirstScrollableParent(c.value):o.getElement(s.value)),g=e.computed(()=>l.isUndefined(d.value)?o.findFirstScrollableParent(c.value):o.getElement(d.value)),h=e.ref(!1),x=e.ref({}),y=e.ref(0),_=e.ref(0);t.useResizeObserver(c,()=>{const{width:e,height:t}=c.value.getBoundingClientRect();y.value=e,_.value=t,B()},{box:"border-box"}),e.watch(()=>h.value,e=>{n("change",e)});const B=o.throttleByRaf(()=>{if(!p.value||!g.value||!m.value)return;const{top:e,bottom:t}=m.value.getBoundingClientRect(),{top:r,bottom:a}=g.value.getBoundingClientRect();h.value=l.isUndefined(v.value)?e-r<=f.value:a-t<=v.value,h.value?x.value=l.isUndefined(v.value)?{position:"fixed",top:o.valueToPx(r+f.value)}:{position:"fixed",bottom:o.valueToPx(v.value)}:x.value={}});return t.useEventListener(p,"scroll",B),a({updatePosition(){B()}}),(t,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:m},[h.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:e.unref(o.valueToPx)(y.value),height:e.unref(o.valueToPx)(_.value)})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"yc-affix":h.value},t.$attrs.class]),style:e.normalizeStyle({...x.value,...t.$attrs.style||{}}),ref_key:"affixRef",ref:c},[e.renderSlot(t.$slots,"default")],6)],512))}});module.exports=r;
|
package/lib/Alert/index.d.ts
CHANGED
@@ -10,8 +10,8 @@ declare const Alert: {
|
|
10
10
|
close: (ev: MouseEvent) => any;
|
11
11
|
"after-close": () => any;
|
12
12
|
}, import('vue').PublicProps, {
|
13
|
-
type: import('./type').AlertType;
|
14
13
|
center: boolean;
|
14
|
+
type: import('./type').AlertType;
|
15
15
|
title: string;
|
16
16
|
closable: boolean;
|
17
17
|
showIcon: boolean;
|
@@ -27,8 +27,8 @@ declare const Alert: {
|
|
27
27
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
28
28
|
"onAfter-close"?: (() => any) | undefined;
|
29
29
|
}>, {}, {}, {}, {}, {
|
30
|
-
type: import('./type').AlertType;
|
31
30
|
center: boolean;
|
31
|
+
type: import('./type').AlertType;
|
32
32
|
title: string;
|
33
33
|
closable: boolean;
|
34
34
|
showIcon: boolean;
|
@@ -44,8 +44,8 @@ declare const Alert: {
|
|
44
44
|
close: (ev: MouseEvent) => any;
|
45
45
|
"after-close": () => any;
|
46
46
|
}, string, {
|
47
|
-
type: import('./type').AlertType;
|
48
47
|
center: boolean;
|
48
|
+
type: import('./type').AlertType;
|
49
49
|
title: string;
|
50
50
|
closable: boolean;
|
51
51
|
showIcon: boolean;
|