yc-design-vue 1.8.7 → 1.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/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 +2 -1
- 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/_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/IconSeparator.vue.js +17 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -17
- 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/es/lang/ar-eg.js +156 -0
- package/es/lang/de-de.js +157 -0
- package/es/lang/en-us.js +161 -0
- package/es/lang/es-es.js +156 -0
- package/es/lang/fr-fr.js +158 -0
- package/es/lang/id-id.js +157 -0
- package/es/lang/it-it.js +157 -0
- package/es/lang/ja-jp.js +204 -0
- package/es/lang/km-kh.js +156 -0
- package/es/lang/ko-kr.js +156 -0
- package/es/lang/ms-my.js +156 -0
- package/es/lang/nl-nl.js +204 -0
- package/es/lang/pt-pt.js +156 -0
- package/es/lang/ru-ru.js +204 -0
- package/es/lang/th-th.js +156 -0
- package/es/lang/vi-vn.js +156 -0
- package/es/lang/zh-cn.js +204 -0
- package/es/lang/zh-tw.js +204 -0
- package/es/public/lang/zh-cn.js +202 -0
- 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/_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/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.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/lib/lang/ar-eg.js +156 -0
- package/lib/lang/de-de.js +157 -0
- package/lib/lang/en-us.js +161 -0
- package/lib/lang/es-es.js +156 -0
- package/lib/lang/fr-fr.js +158 -0
- package/lib/lang/id-id.js +157 -0
- package/lib/lang/it-it.js +157 -0
- package/lib/lang/ja-jp.js +204 -0
- package/lib/lang/km-kh.js +156 -0
- package/lib/lang/ko-kr.js +156 -0
- package/lib/lang/ms-my.js +156 -0
- package/lib/lang/nl-nl.js +204 -0
- package/lib/lang/pt-pt.js +156 -0
- package/lib/lang/ru-ru.js +204 -0
- package/lib/lang/th-th.js +156 -0
- package/lib/lang/vi-vn.js +156 -0
- package/lib/lang/zh-cn.js +204 -0
- package/lib/lang/zh-tw.js +204 -0
- package/lib/public/lang/zh-cn.js +1 -0
- package/package.json +2 -4
- 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.d.ts +0 -253
- 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.d.ts +0 -253
- 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,10 +1,10 @@
|
|
1
1
|
import { NotificationProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<NotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
|
3
|
-
type: import('./type').NotificationType;
|
4
3
|
duration: number;
|
5
4
|
content: import('../_shared/type').RenderContent;
|
6
5
|
style: import('vue').CSSProperties;
|
7
6
|
icon: import('vue').RenderFunction;
|
7
|
+
type: import('./type').NotificationType;
|
8
8
|
footer: import('vue').RenderFunction;
|
9
9
|
title: import('../_shared/type').RenderContent;
|
10
10
|
class: import('../_shared/type').ClassName;
|
@@ -7,6 +7,7 @@ import "../_shared/utils/time.js";
|
|
7
7
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
8
8
|
import "../Empty/index.js";
|
9
9
|
/* empty css */
|
10
|
+
import "../_shared/utils/locale.js";
|
10
11
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
12
|
/* empty css */
|
12
13
|
/* empty css */
|
@@ -5,11 +5,11 @@ export type NotificationInstance = InstanceType<typeof _Notification>;
|
|
5
5
|
export * from './type';
|
6
6
|
declare const Notification: {
|
7
7
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
8
|
-
type: NotificationType;
|
9
8
|
duration: number;
|
10
9
|
content: import('../_shared/type').RenderContent;
|
11
10
|
style: import('vue').CSSProperties;
|
12
11
|
icon: import('vue').RenderFunction;
|
12
|
+
type: NotificationType;
|
13
13
|
footer: import('vue').RenderFunction;
|
14
14
|
title: import('../_shared/type').RenderContent;
|
15
15
|
class: import('../_shared/type').ClassName;
|
@@ -28,11 +28,11 @@ declare const Notification: {
|
|
28
28
|
M: {};
|
29
29
|
Defaults: {};
|
30
30
|
}, Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, {
|
31
|
-
type: NotificationType;
|
32
31
|
duration: number;
|
33
32
|
content: import('../_shared/type').RenderContent;
|
34
33
|
style: import('vue').CSSProperties;
|
35
34
|
icon: import('vue').RenderFunction;
|
35
|
+
type: NotificationType;
|
36
36
|
footer: import('vue').RenderFunction;
|
37
37
|
title: import('../_shared/type').RenderContent;
|
38
38
|
class: import('../_shared/type').ClassName;
|
@@ -48,11 +48,11 @@ declare const Notification: {
|
|
48
48
|
__isTeleport?: never;
|
49
49
|
__isSuspense?: never;
|
50
50
|
} & import('vue').ComponentOptionsBase<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
51
|
-
type: NotificationType;
|
52
51
|
duration: number;
|
53
52
|
content: import('../_shared/type').RenderContent;
|
54
53
|
style: import('vue').CSSProperties;
|
55
54
|
icon: import('vue').RenderFunction;
|
55
|
+
type: NotificationType;
|
56
56
|
footer: import('vue').RenderFunction;
|
57
57
|
title: import('../_shared/type').RenderContent;
|
58
58
|
class: import('../_shared/type').ClassName;
|
package/es/Notification/index.js
CHANGED
@@ -9,6 +9,7 @@ import { isString } from "../_shared/utils/is.js";
|
|
9
9
|
import "../_shared/utils/time.js";
|
10
10
|
import "../Empty/index.js";
|
11
11
|
/* empty css */
|
12
|
+
import "../_shared/utils/locale.js";
|
12
13
|
const container = /* @__PURE__ */ new Map();
|
13
14
|
const notificationList = reactive({
|
14
15
|
topLeft: [],
|
@@ -8,8 +8,8 @@ declare const OverflowList: {
|
|
8
8
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
9
9
|
change: (value: number) => any;
|
10
10
|
}, import('vue').PublicProps, {
|
11
|
-
min: number;
|
12
11
|
margin: number;
|
12
|
+
min: number;
|
13
13
|
from: import('./type').OverflowListFrom;
|
14
14
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
15
15
|
listRef: HTMLDivElement;
|
@@ -24,8 +24,8 @@ declare const OverflowList: {
|
|
24
24
|
}, Readonly<import('./type').OverflowListProps> & Readonly<{
|
25
25
|
onChange?: ((value: number) => any) | undefined;
|
26
26
|
}>, {}, {}, {}, {}, {
|
27
|
-
min: number;
|
28
27
|
margin: number;
|
28
|
+
min: number;
|
29
29
|
from: import('./type').OverflowListFrom;
|
30
30
|
}>;
|
31
31
|
__isFragment?: never;
|
@@ -36,8 +36,8 @@ declare const OverflowList: {
|
|
36
36
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
37
37
|
change: (value: number) => any;
|
38
38
|
}, string, {
|
39
|
-
min: number;
|
40
39
|
margin: number;
|
40
|
+
min: number;
|
41
41
|
from: import('./type').OverflowListFrom;
|
42
42
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
43
43
|
$slots: Readonly<import('./type').OverflowListSlots> & import('./type').OverflowListSlots;
|
@@ -14,8 +14,8 @@ declare const __VLS_component: import('vue').DefineComponent<OverflowListProps,
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<OverflowListProps> & Readonly<{
|
15
15
|
onChange?: ((value: number) => any) | undefined;
|
16
16
|
}>, {
|
17
|
-
min: number;
|
18
17
|
margin: number;
|
18
|
+
min: number;
|
19
19
|
from: import('./type').OverflowListFrom;
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
21
21
|
listRef: HTMLDivElement;
|
@@ -6,6 +6,7 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
+
import "../_shared/utils/locale.js";
|
9
10
|
import Tag from "../Tag/index.js";
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
12
|
...{
|
@@ -3,6 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
|
+
import "../_shared/utils/locale.js";
|
6
7
|
/* empty css */
|
7
8
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
8
9
|
import Divider from "../Divider/index.js";
|
@@ -5,8 +5,8 @@ import { isNumber } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
8
9
|
import useContext from "./hooks/useContext.js";
|
9
|
-
import { t } from "../_shared/locale/i18n.js";
|
10
10
|
import _sfc_main$1 from "./PaginationItem.vue.js";
|
11
11
|
/* empty css */
|
12
12
|
import Select from "../Select/index.js";
|
@@ -75,6 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
75
|
total,
|
76
76
|
sizeOptions
|
77
77
|
} = useContext().provide(props, emits);
|
78
|
+
const { t } = useI18n();
|
78
79
|
const tempCurrent = ref(computedCurrent.value);
|
79
80
|
watch(
|
80
81
|
() => computedCurrent.value,
|
@@ -169,7 +170,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
169
170
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(computedPageSize) ? computedPageSize.value = $event : null),
|
170
171
|
options: unref(sizeOptions),
|
171
172
|
size: unref(size)
|
172
|
-
}, _ctx.pageSizeProps, {
|
173
|
+
}, _ctx.pageSizeProps, {
|
174
|
+
"format-label": (option) => `${option.value}${unref(t)("pagination.countPerPage")}`,
|
175
|
+
disabled: _ctx.disabled
|
176
|
+
}), null, 16, ["modelValue", "options", "size", "format-label", "disabled"])
|
173
177
|
])) : createCommentVNode("", true),
|
174
178
|
_ctx.showJumper ? (openBlock(), createElementBlock("span", _hoisted_5, [
|
175
179
|
createElementVNode("span", _hoisted_6, toDisplayString(unref(t)("pagination.goto")), 1),
|
@@ -3,6 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
|
+
import "../_shared/utils/locale.js";
|
6
7
|
/* empty css */
|
7
8
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
8
9
|
import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
|
@@ -23,262 +23,7 @@ declare const _default: () => {
|
|
23
23
|
label: string;
|
24
24
|
value: number;
|
25
25
|
}[]>;
|
26
|
-
t:
|
27
|
-
'zh-CN': {
|
28
|
-
empty: {
|
29
|
-
description: string;
|
30
|
-
};
|
31
|
-
drawer: {
|
32
|
-
okText: string;
|
33
|
-
cancelText: string;
|
34
|
-
};
|
35
|
-
popconfirm: {
|
36
|
-
okText: string;
|
37
|
-
cancelText: string;
|
38
|
-
};
|
39
|
-
modal: {
|
40
|
-
okText: string;
|
41
|
-
cancelText: string;
|
42
|
-
};
|
43
|
-
pagination: {
|
44
|
-
goto: string;
|
45
|
-
page: string;
|
46
|
-
countPerPage: string;
|
47
|
-
total: string;
|
48
|
-
};
|
49
|
-
calendar: {
|
50
|
-
formatYear: string;
|
51
|
-
formatMonth: string;
|
52
|
-
today: string;
|
53
|
-
view: {
|
54
|
-
month: string;
|
55
|
-
year: string;
|
56
|
-
week: string;
|
57
|
-
day: string;
|
58
|
-
};
|
59
|
-
month: {
|
60
|
-
long: {
|
61
|
-
January: string;
|
62
|
-
February: string;
|
63
|
-
March: string;
|
64
|
-
April: string;
|
65
|
-
May: string;
|
66
|
-
June: string;
|
67
|
-
July: string;
|
68
|
-
August: string;
|
69
|
-
September: string;
|
70
|
-
October: string;
|
71
|
-
November: string;
|
72
|
-
December: string;
|
73
|
-
};
|
74
|
-
short: {
|
75
|
-
January: string;
|
76
|
-
February: string;
|
77
|
-
March: string;
|
78
|
-
April: string;
|
79
|
-
May: string;
|
80
|
-
June: string;
|
81
|
-
July: string;
|
82
|
-
August: string;
|
83
|
-
September: string;
|
84
|
-
October: string;
|
85
|
-
November: string;
|
86
|
-
December: string;
|
87
|
-
};
|
88
|
-
};
|
89
|
-
week: {
|
90
|
-
long: {
|
91
|
-
self: string;
|
92
|
-
monday: string;
|
93
|
-
tuesday: string;
|
94
|
-
wednesday: string;
|
95
|
-
thursday: string;
|
96
|
-
friday: string;
|
97
|
-
saturday: string;
|
98
|
-
sunday: string;
|
99
|
-
};
|
100
|
-
short: {
|
101
|
-
self: string;
|
102
|
-
monday: string;
|
103
|
-
tuesday: string;
|
104
|
-
wednesday: string;
|
105
|
-
thursday: string;
|
106
|
-
friday: string;
|
107
|
-
saturday: string;
|
108
|
-
sunday: string;
|
109
|
-
};
|
110
|
-
};
|
111
|
-
};
|
112
|
-
image: {
|
113
|
-
loading: string;
|
114
|
-
};
|
115
|
-
imagePreview: {
|
116
|
-
fullScreen: string;
|
117
|
-
rotateRight: string;
|
118
|
-
rotateLeft: string;
|
119
|
-
zoomIn: string;
|
120
|
-
zoomOut: string;
|
121
|
-
originalSize: string;
|
122
|
-
};
|
123
|
-
typography: {
|
124
|
-
copied: string;
|
125
|
-
copy: string;
|
126
|
-
expand: string;
|
127
|
-
collapse: string;
|
128
|
-
edit: string;
|
129
|
-
};
|
130
|
-
colorPicker: {
|
131
|
-
history: string;
|
132
|
-
preset: string;
|
133
|
-
empty: string;
|
134
|
-
};
|
135
|
-
table: {
|
136
|
-
okText: string;
|
137
|
-
resetText: string;
|
138
|
-
};
|
139
|
-
upload: {
|
140
|
-
start: string;
|
141
|
-
cancel: string;
|
142
|
-
delete: string;
|
143
|
-
retry: string;
|
144
|
-
buttonText: string;
|
145
|
-
preview: string;
|
146
|
-
drag: string;
|
147
|
-
dragHover: string;
|
148
|
-
error: string;
|
149
|
-
};
|
150
|
-
datePicker: {
|
151
|
-
view: {
|
152
|
-
month: string;
|
153
|
-
year: string;
|
154
|
-
week: string;
|
155
|
-
day: string;
|
156
|
-
};
|
157
|
-
month: {
|
158
|
-
long: {
|
159
|
-
January: string;
|
160
|
-
February: string;
|
161
|
-
March: string;
|
162
|
-
April: string;
|
163
|
-
May: string;
|
164
|
-
June: string;
|
165
|
-
July: string;
|
166
|
-
August: string;
|
167
|
-
September: string;
|
168
|
-
October: string;
|
169
|
-
November: string;
|
170
|
-
December: string;
|
171
|
-
};
|
172
|
-
short: {
|
173
|
-
January: string;
|
174
|
-
February: string;
|
175
|
-
March: string;
|
176
|
-
April: string;
|
177
|
-
May: string;
|
178
|
-
June: string;
|
179
|
-
July: string;
|
180
|
-
August: string;
|
181
|
-
September: string;
|
182
|
-
October: string;
|
183
|
-
November: string;
|
184
|
-
December: string;
|
185
|
-
};
|
186
|
-
};
|
187
|
-
week: {
|
188
|
-
long: {
|
189
|
-
self: string;
|
190
|
-
monday: string;
|
191
|
-
tuesday: string;
|
192
|
-
wednesday: string;
|
193
|
-
thursday: string;
|
194
|
-
friday: string;
|
195
|
-
saturday: string;
|
196
|
-
sunday: string;
|
197
|
-
};
|
198
|
-
short: {
|
199
|
-
self: string;
|
200
|
-
monday: string;
|
201
|
-
tuesday: string;
|
202
|
-
wednesday: string;
|
203
|
-
thursday: string;
|
204
|
-
friday: string;
|
205
|
-
saturday: string;
|
206
|
-
sunday: string;
|
207
|
-
};
|
208
|
-
};
|
209
|
-
placeholder: {
|
210
|
-
date: string;
|
211
|
-
week: string;
|
212
|
-
month: string;
|
213
|
-
year: string;
|
214
|
-
quarter: string;
|
215
|
-
time: string;
|
216
|
-
};
|
217
|
-
rangePlaceholder: {
|
218
|
-
date: string[];
|
219
|
-
week: string[];
|
220
|
-
month: string[];
|
221
|
-
year: string[];
|
222
|
-
quarter: string[];
|
223
|
-
time: string[];
|
224
|
-
};
|
225
|
-
selectTime: string;
|
226
|
-
today: string;
|
227
|
-
now: string;
|
228
|
-
ok: string;
|
229
|
-
};
|
230
|
-
form: {
|
231
|
-
validateMessages: {
|
232
|
-
required: string;
|
233
|
-
type: {
|
234
|
-
string: string;
|
235
|
-
number: string;
|
236
|
-
boolean: string;
|
237
|
-
array: string;
|
238
|
-
object: string;
|
239
|
-
url: string;
|
240
|
-
email: string;
|
241
|
-
ip: string;
|
242
|
-
};
|
243
|
-
number: {
|
244
|
-
min: string;
|
245
|
-
max: string;
|
246
|
-
equal: string;
|
247
|
-
range: string;
|
248
|
-
positive: string;
|
249
|
-
negative: string;
|
250
|
-
};
|
251
|
-
array: {
|
252
|
-
length: string;
|
253
|
-
minLength: string;
|
254
|
-
maxLength: string;
|
255
|
-
includes: string;
|
256
|
-
deepEqual: string;
|
257
|
-
empty: string;
|
258
|
-
};
|
259
|
-
string: {
|
260
|
-
minLength: string;
|
261
|
-
maxLength: string;
|
262
|
-
length: string;
|
263
|
-
match: string;
|
264
|
-
uppercase: string;
|
265
|
-
lowercase: string;
|
266
|
-
};
|
267
|
-
object: {
|
268
|
-
deepEqual: string;
|
269
|
-
hasKeys: string;
|
270
|
-
empty: string;
|
271
|
-
};
|
272
|
-
boolean: {
|
273
|
-
true: string;
|
274
|
-
false: string;
|
275
|
-
};
|
276
|
-
};
|
277
|
-
};
|
278
|
-
};
|
279
|
-
}, "zh-CN", import('@intlify/core-base').RemoveIndexSignature<{
|
280
|
-
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
281
|
-
}>, never, "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual", "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual">;
|
26
|
+
t: (key: string, ...args: any[]) => string;
|
282
27
|
};
|
283
28
|
inject: () => PaginationContext;
|
284
29
|
};
|
@@ -3,8 +3,8 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
6
|
+
import { useI18n } from "../../_shared/utils/locale.js";
|
6
7
|
import useControlValue from "../../_shared/utils/control.js";
|
7
|
-
import { t } from "../../_shared/locale/i18n.js";
|
8
8
|
const PAGINATION_CONTEXT_KEY = "pagination-context";
|
9
9
|
const useContext = () => {
|
10
10
|
const provide$1 = (props, emits) => {
|
@@ -23,6 +23,7 @@ const useContext = () => {
|
|
23
23
|
total: _total
|
24
24
|
} = toRefs(props);
|
25
25
|
const { size } = getGlobalConfig(props);
|
26
|
+
const { t } = useI18n();
|
26
27
|
const total = useControlValue(
|
27
28
|
autoAdjust.value ? _total : ref(),
|
28
29
|
autoAdjust.value ? 0 : _total.value
|
package/es/Popconfirm/index.d.ts
CHANGED
@@ -4,22 +4,19 @@ export type PopconfirmInstance = InstanceType<typeof _Popconfirm>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Popconfirm: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').PopconfirmProps> & Readonly<{
|
7
|
-
onCancel?: (() => any) | undefined;
|
8
|
-
onOk?: (() => any) | undefined;
|
9
7
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
10
8
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
9
|
+
onCancel?: (() => any) | undefined;
|
10
|
+
onOk?: (() => any) | undefined;
|
11
11
|
}>, {
|
12
12
|
hide(): void;
|
13
13
|
show(): void;
|
14
14
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
15
|
-
cancel: () => any;
|
16
|
-
ok: () => any;
|
17
15
|
"update:popupVisible": (value: boolean) => any;
|
18
16
|
"popup-visible-change": (value: boolean) => any;
|
17
|
+
cancel: () => any;
|
18
|
+
ok: () => any;
|
19
19
|
}, import('vue').PublicProps, {
|
20
|
-
okText: string;
|
21
|
-
cancelText: string;
|
22
|
-
type: import('./type').PopconfirmType;
|
23
20
|
popupVisible: boolean;
|
24
21
|
defaultPopupVisible: boolean;
|
25
22
|
position: import('..').TriggerPostion;
|
@@ -29,7 +26,10 @@ declare const Popconfirm: {
|
|
29
26
|
arrowStyle: import('vue').CSSProperties;
|
30
27
|
popupContainer: import('..').PopupContainer;
|
31
28
|
content: string;
|
29
|
+
type: import('./type').PopconfirmType;
|
32
30
|
triggerProps: import('..').TriggerProps;
|
31
|
+
okText: string;
|
32
|
+
cancelText: string;
|
33
33
|
okLoading: boolean;
|
34
34
|
okButtonProps: import('..').ButtonProps;
|
35
35
|
cancelButtonProps: import('..').ButtonProps;
|
@@ -282,17 +282,14 @@ declare const Popconfirm: {
|
|
282
282
|
M: {};
|
283
283
|
Defaults: {};
|
284
284
|
}, Readonly<import('./type').PopconfirmProps> & Readonly<{
|
285
|
-
onCancel?: (() => any) | undefined;
|
286
|
-
onOk?: (() => any) | undefined;
|
287
285
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
288
286
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
287
|
+
onCancel?: (() => any) | undefined;
|
288
|
+
onOk?: (() => any) | undefined;
|
289
289
|
}>, {
|
290
290
|
hide(): void;
|
291
291
|
show(): void;
|
292
292
|
}, {}, {}, {}, {
|
293
|
-
okText: string;
|
294
|
-
cancelText: string;
|
295
|
-
type: import('./type').PopconfirmType;
|
296
293
|
popupVisible: boolean;
|
297
294
|
defaultPopupVisible: boolean;
|
298
295
|
position: import('..').TriggerPostion;
|
@@ -302,7 +299,10 @@ declare const Popconfirm: {
|
|
302
299
|
arrowStyle: import('vue').CSSProperties;
|
303
300
|
popupContainer: import('..').PopupContainer;
|
304
301
|
content: string;
|
302
|
+
type: import('./type').PopconfirmType;
|
305
303
|
triggerProps: import('..').TriggerProps;
|
304
|
+
okText: string;
|
305
|
+
cancelText: string;
|
306
306
|
okLoading: boolean;
|
307
307
|
okButtonProps: import('..').ButtonProps;
|
308
308
|
cancelButtonProps: import('..').ButtonProps;
|
@@ -313,22 +313,19 @@ declare const Popconfirm: {
|
|
313
313
|
__isTeleport?: never;
|
314
314
|
__isSuspense?: never;
|
315
315
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').PopconfirmProps> & Readonly<{
|
316
|
-
onCancel?: (() => any) | undefined;
|
317
|
-
onOk?: (() => any) | undefined;
|
318
316
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
319
317
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
318
|
+
onCancel?: (() => any) | undefined;
|
319
|
+
onOk?: (() => any) | undefined;
|
320
320
|
}>, {
|
321
321
|
hide(): void;
|
322
322
|
show(): void;
|
323
323
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
324
|
-
cancel: () => any;
|
325
|
-
ok: () => any;
|
326
324
|
"update:popupVisible": (value: boolean) => any;
|
327
325
|
"popup-visible-change": (value: boolean) => any;
|
326
|
+
cancel: () => any;
|
327
|
+
ok: () => any;
|
328
328
|
}, string, {
|
329
|
-
okText: string;
|
330
|
-
cancelText: string;
|
331
|
-
type: import('./type').PopconfirmType;
|
332
329
|
popupVisible: boolean;
|
333
330
|
defaultPopupVisible: boolean;
|
334
331
|
position: import('..').TriggerPostion;
|
@@ -338,7 +335,10 @@ declare const Popconfirm: {
|
|
338
335
|
arrowStyle: import('vue').CSSProperties;
|
339
336
|
popupContainer: import('..').PopupContainer;
|
340
337
|
content: string;
|
338
|
+
type: import('./type').PopconfirmType;
|
341
339
|
triggerProps: import('..').TriggerProps;
|
340
|
+
okText: string;
|
341
|
+
cancelText: string;
|
342
342
|
okLoading: boolean;
|
343
343
|
okButtonProps: import('..').ButtonProps;
|
344
344
|
cancelButtonProps: import('..').ButtonProps;
|
@@ -249,19 +249,16 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
249
249
|
hide(): void;
|
250
250
|
show(): void;
|
251
251
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
252
|
-
cancel: () => any;
|
253
|
-
ok: () => any;
|
254
252
|
"update:popupVisible": (value: boolean) => any;
|
255
253
|
"popup-visible-change": (value: boolean) => any;
|
254
|
+
cancel: () => any;
|
255
|
+
ok: () => any;
|
256
256
|
}, string, import('vue').PublicProps, Readonly<PopconfirmProps> & Readonly<{
|
257
|
-
onCancel?: (() => any) | undefined;
|
258
|
-
onOk?: (() => any) | undefined;
|
259
257
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
260
258
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
259
|
+
onCancel?: (() => any) | undefined;
|
260
|
+
onOk?: (() => any) | undefined;
|
261
261
|
}>, {
|
262
|
-
okText: string;
|
263
|
-
cancelText: string;
|
264
|
-
type: import('./type').PopconfirmType;
|
265
262
|
popupVisible: boolean;
|
266
263
|
defaultPopupVisible: boolean;
|
267
264
|
position: import('../Trigger').TriggerPostion;
|
@@ -271,7 +268,10 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
271
268
|
arrowStyle: import('vue').CSSProperties;
|
272
269
|
popupContainer: import('..').PopupContainer;
|
273
270
|
content: string;
|
271
|
+
type: import('./type').PopconfirmType;
|
274
272
|
triggerProps: import('../Trigger').TriggerProps;
|
273
|
+
okText: string;
|
274
|
+
cancelText: string;
|
275
275
|
okLoading: boolean;
|
276
276
|
okButtonProps: import('../Button').ButtonProps;
|
277
277
|
cancelButtonProps: import('../Button').ButtonProps;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, createBlock, openBlock, unref, mergeProps, isRef, withCtx, renderSlot, createElementVNode, resolveDynamicComponent, createTextVNode, toDisplayString, createVNode } from "vue";
|
2
2
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
3
|
-
import { t } from "../_shared/locale/i18n.js";
|
4
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
4
|
import "../_shared/utils/dom.js";
|
6
5
|
import "../_shared/utils/time.js";
|
7
6
|
import "../Empty/index.js";
|
8
7
|
/* empty css */
|
8
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
9
9
|
import useControlValue from "../_shared/utils/control.js";
|
10
10
|
import useOnBeforeClose from "../Modal/hooks/useOnBeforeClose.js";
|
11
11
|
import Trigger from "../Trigger/index.js";
|
@@ -55,6 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
55
|
const emits = __emit;
|
56
56
|
const { popupVisible, defaultPopupVisible, type } = toRefs(props);
|
57
57
|
const { onBeforeOk, onBeforeCancel } = props;
|
58
|
+
const { t } = useI18n();
|
58
59
|
const asyncLoading = ref(false);
|
59
60
|
const triggerRef = ref();
|
60
61
|
const computedVisible = useControlValue(
|
package/es/Popover/index.vue.js
CHANGED
@@ -4,6 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
6
|
/* empty css */
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useControlValue from "../_shared/utils/control.js";
|
8
9
|
import Trigger from "../Trigger/index.js";
|
9
10
|
const _hoisted_1 = {
|
@@ -17,8 +17,8 @@ declare function __VLS_template(): {
|
|
17
17
|
};
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
19
19
|
declare const __VLS_component: import('vue').DefineComponent<ProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
20
|
-
type: import('./type').ProgressType;
|
21
20
|
size: import('..').Size;
|
21
|
+
type: import('./type').ProgressType;
|
22
22
|
animation: boolean;
|
23
23
|
status: import('./type').ProgressStatus;
|
24
24
|
showText: boolean;
|