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
@@ -4,6 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
/* empty css */
|
8
9
|
import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
|
9
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
@@ -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
|
const COLLAPSE_CONTEXT_KEY = "collapse-context";
|
9
10
|
const useContext = () => {
|
@@ -5,6 +5,7 @@ import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
10
|
__name: "ColorControl",
|
10
11
|
props: {
|
@@ -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 { COLOR_PICKER_FORMAT_OPTIONS } from "../_shared/constants/index.js";
|
8
9
|
import Select from "../Select/index.js";
|
9
10
|
import Input from "../Input/index.js";
|
@@ -1,5 +1,10 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, toDisplayString, unref, Fragment, renderList, normalizeStyle } from "vue";
|
2
|
-
import
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import "../_shared/utils/time.js";
|
5
|
+
import "../Empty/index.js";
|
6
|
+
/* empty css */
|
7
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
3
8
|
const _hoisted_1 = { class: "yc-color-picker-colors-section" };
|
4
9
|
const _hoisted_2 = { class: "yc-color-picker-colors-text" };
|
5
10
|
const _hoisted_3 = {
|
@@ -16,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
21
|
},
|
17
22
|
emits: ["colorClick"],
|
18
23
|
setup(__props) {
|
24
|
+
const { t } = useI18n();
|
19
25
|
return (_ctx, _cache) => {
|
20
26
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
21
27
|
createElementVNode("div", _hoisted_2, toDisplayString(_ctx.label), 1),
|
@@ -5,6 +5,7 @@ import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
10
|
__name: "ColorPalette",
|
10
11
|
props: {
|
@@ -1,5 +1,10 @@
|
|
1
1
|
import { defineComponent, ref, createElementBlock, openBlock, normalizeClass, unref, createVNode, createElementVNode, createCommentVNode, isRef, normalizeStyle, createBlock } from "vue";
|
2
|
-
import
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import "../_shared/utils/time.js";
|
5
|
+
import "../Empty/index.js";
|
6
|
+
/* empty css */
|
7
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
3
8
|
import useContext from "./hooks/useContext.js";
|
4
9
|
import _sfc_main$1 from "./ColorPalette.vue.js";
|
5
10
|
/* empty css */
|
@@ -32,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
37
|
presetColors,
|
33
38
|
historyColors
|
34
39
|
} = useContext().inject();
|
40
|
+
const { t } = useI18n();
|
35
41
|
const colorBarRef = ref();
|
36
42
|
const alphaBarRef = ref();
|
37
43
|
const paletteRef = ref();
|
@@ -3,6 +3,7 @@ import { parseColor } from "../../_shared/utils/color.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 "../../_shared/utils/locale.js";
|
6
7
|
import useControlValue from "../../_shared/utils/control.js";
|
7
8
|
const COLOR_PICKER_CONTEXT_KEY = "color-picker-context";
|
8
9
|
const useContext = () => {
|
package/es/Comment/index.vue.js
CHANGED
@@ -5,6 +5,7 @@ import { isObject } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
import useContext from "./hooks/useContext.js";
|
9
10
|
import Avatar from "../Avatar/index.js";
|
10
11
|
const _hoisted_1 = {
|
@@ -4,12 +4,12 @@ export type ConfigProviderInstance = InstanceType<typeof _ConfigProvider>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const ConfigProvider: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
8
7
|
size: import('..').Size;
|
9
8
|
popupContainer: import('..').PopupContainer;
|
10
9
|
updateAtScroll: boolean;
|
11
10
|
scrollToClose: boolean;
|
12
11
|
zIndex: number;
|
12
|
+
locale: import('../_shared/type').ObjectData;
|
13
13
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
14
14
|
P: {};
|
15
15
|
B: {};
|
@@ -18,23 +18,23 @@ declare const ConfigProvider: {
|
|
18
18
|
M: {};
|
19
19
|
Defaults: {};
|
20
20
|
}, Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, {
|
21
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
22
21
|
size: import('..').Size;
|
23
22
|
popupContainer: import('..').PopupContainer;
|
24
23
|
updateAtScroll: boolean;
|
25
24
|
scrollToClose: boolean;
|
26
25
|
zIndex: number;
|
26
|
+
locale: import('../_shared/type').ObjectData;
|
27
27
|
}>;
|
28
28
|
__isFragment?: never;
|
29
29
|
__isTeleport?: never;
|
30
30
|
__isSuspense?: never;
|
31
31
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
32
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
33
32
|
size: import('..').Size;
|
34
33
|
popupContainer: import('..').PopupContainer;
|
35
34
|
updateAtScroll: boolean;
|
36
35
|
scrollToClose: boolean;
|
37
36
|
zIndex: number;
|
37
|
+
locale: import('../_shared/type').ObjectData;
|
38
38
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
39
39
|
$slots: Readonly<import('./type').ConfigconfigSlots> & import('./type').ConfigconfigSlots;
|
40
40
|
}) & {
|
@@ -7,12 +7,12 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<ConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
|
10
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
11
10
|
size: import('..').Size;
|
12
11
|
popupContainer: import('..').PopupContainer;
|
13
12
|
updateAtScroll: boolean;
|
14
13
|
scrollToClose: boolean;
|
15
14
|
zIndex: number;
|
15
|
+
locale: import('../_shared/type').ObjectData;
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
18
18
|
export default _default;
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { defineComponent, useSlots, toRefs, provide,
|
1
|
+
import { defineComponent, useSlots, toRefs, provide, renderSlot } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { CONFIG_PROVIDER_PROVIDE_KEY } from "../_shared/utils/global-config.js";
|
6
|
-
import
|
6
|
+
import "../_shared/utils/locale.js";
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
8
|
...{
|
9
9
|
name: "ConfigProvider"
|
10
10
|
},
|
11
11
|
__name: "index",
|
12
12
|
props: {
|
13
|
-
locale: { default:
|
13
|
+
locale: { default: void 0 },
|
14
14
|
zIndex: { default: 1001 },
|
15
15
|
size: { default: "medium" },
|
16
16
|
popupContainer: { default: "body" },
|
@@ -23,21 +23,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
23
|
const { locale, zIndex, size, updateAtScroll, scrollToClose, popupContainer } = toRefs(props);
|
24
24
|
provide(CONFIG_PROVIDER_PROVIDE_KEY, {
|
25
25
|
slots,
|
26
|
+
locale,
|
26
27
|
zIndex,
|
27
28
|
size,
|
28
29
|
updateAtScroll,
|
29
30
|
scrollToClose,
|
30
31
|
popupContainer
|
31
32
|
});
|
32
|
-
watch(
|
33
|
-
() => locale.value,
|
34
|
-
(v) => {
|
35
|
-
loadLanguageAsync(v);
|
36
|
-
},
|
37
|
-
{
|
38
|
-
immediate: true
|
39
|
-
}
|
40
|
-
);
|
41
33
|
return (_ctx, _cache) => {
|
42
34
|
return renderSlot(_ctx.$slots, "default");
|
43
35
|
};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Size, PopupContainer } from '../_shared/type';
|
1
|
+
import { Size, PopupContainer, ObjectData } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface ConfigProviderProps {
|
4
|
-
locale?:
|
4
|
+
locale?: ObjectData;
|
5
5
|
zIndex?: number;
|
6
6
|
size?: Size;
|
7
7
|
popupContainer?: PopupContainer;
|
@@ -16,3 +16,4 @@ export interface ConfigconfigSlots {
|
|
16
16
|
}) => VNode[];
|
17
17
|
}
|
18
18
|
export type EmptyComponent = 'Select' | 'List' | 'Transfer';
|
19
|
+
export type YcLang = 'ar-EG' | 'de-DE' | 'en-US' | 'es-ES' | 'fr-FR' | 'id-ID' | 'it-it' | 'ja-JP' | 'km-KH' | 'ko-KR' | 'ms-MY' | 'nl-NL' | 'pt-PT' | 'ru-RU' | 'th-TH' | 'vi-VN' | 'zh-CN' | 'zh-TW';
|
@@ -6,6 +6,7 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import { getSlotFunction } 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 useContext from "./hooks/useContext.js";
|
10
11
|
const _hoisted_1 = { class: "yc-descriptions-item" };
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -6,6 +6,7 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import { getSlotFunction } 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 useContext from "./hooks/useContext.js";
|
10
11
|
const _hoisted_1 = ["colspan"];
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -4,6 +4,7 @@ import { getBreakpointValue, mediaQueryHandler } from "../../_shared/utils/dom.j
|
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
|
6
6
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
7
|
+
import "../../_shared/utils/locale.js";
|
7
8
|
import _sfc_main from "../DescriptionsItem.vue.js";
|
8
9
|
const DESCRIPTIONS_CONTEXT_KEY = "radio-group-context";
|
9
10
|
const useContext = () => {
|
package/es/Divider/index.d.ts
CHANGED
@@ -4,8 +4,8 @@ export type DividerInstance = InstanceType<typeof _Divider>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Divider: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
-
type: import('./type').DividerType;
|
8
7
|
size: number;
|
8
|
+
type: import('./type').DividerType;
|
9
9
|
direction: import('..').Direction;
|
10
10
|
margin: number | string;
|
11
11
|
orientation: import('./type').Orientation;
|
@@ -17,8 +17,8 @@ declare const Divider: {
|
|
17
17
|
M: {};
|
18
18
|
Defaults: {};
|
19
19
|
}, Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, {
|
20
|
-
type: import('./type').DividerType;
|
21
20
|
size: number;
|
21
|
+
type: import('./type').DividerType;
|
22
22
|
direction: import('..').Direction;
|
23
23
|
margin: number | string;
|
24
24
|
orientation: import('./type').Orientation;
|
@@ -27,8 +27,8 @@ declare const Divider: {
|
|
27
27
|
__isTeleport?: never;
|
28
28
|
__isSuspense?: never;
|
29
29
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
30
|
-
type: import('./type').DividerType;
|
31
30
|
size: number;
|
31
|
+
type: import('./type').DividerType;
|
32
32
|
direction: import('..').Direction;
|
33
33
|
margin: number | string;
|
34
34
|
orientation: import('./type').Orientation;
|
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<DividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
10
|
-
type: import('./type').DividerType;
|
11
10
|
size: number;
|
11
|
+
type: import('./type').DividerType;
|
12
12
|
direction: import('..').Direction;
|
13
13
|
margin: number | string;
|
14
14
|
orientation: import('./type').Orientation;
|
package/es/Divider/index.vue.js
CHANGED
@@ -9,23 +9,21 @@ declare function __VLS_template(): {
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
10
10
|
declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
11
11
|
cancel: (event: MouseEvent | KeyboardEvent) => any;
|
12
|
-
ok: () => any;
|
13
12
|
close: () => any;
|
14
13
|
open: () => any;
|
15
14
|
"update:visible": (value: boolean) => any;
|
15
|
+
ok: () => any;
|
16
16
|
"before-open": () => any;
|
17
17
|
"before-close": () => any;
|
18
18
|
}, string, import('vue').PublicProps, Readonly<DrawerProps> & Readonly<{
|
19
19
|
onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
20
|
-
onOk?: (() => any) | undefined;
|
21
20
|
onClose?: (() => any) | undefined;
|
22
21
|
onOpen?: (() => any) | undefined;
|
23
22
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
23
|
+
onOk?: (() => any) | undefined;
|
24
24
|
"onBefore-open"?: (() => any) | undefined;
|
25
25
|
"onBefore-close"?: (() => any) | undefined;
|
26
26
|
}>, {
|
27
|
-
okText: string;
|
28
|
-
cancelText: string;
|
29
27
|
unmountOnClose: boolean;
|
30
28
|
popupContainer: import('..').PopupContainer;
|
31
29
|
renderToBody: boolean;
|
@@ -40,6 +38,8 @@ declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}
|
|
40
38
|
closable: boolean;
|
41
39
|
maskClosable: boolean;
|
42
40
|
hideCancel: boolean;
|
41
|
+
okText: string;
|
42
|
+
cancelText: string;
|
43
43
|
okLoading: boolean;
|
44
44
|
okButtonProps: import('../Button').ButtonProps;
|
45
45
|
cancelButtonProps: import('../Button').ButtonProps;
|
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createBlock, openBlock, Teleport, unref, withDirectives, createCommentVNode, createElementBlock, normalizeStyle, normalizeClass, createVNode, Transition, withCtx, vShow, createElementVNode, renderSlot, createTextVNode, toDisplayString, mergeProps } from "vue";
|
2
|
-
import { t } from "../_shared/locale/i18n.js";
|
3
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
4
|
import "../_shared/utils/time.js";
|
6
5
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
7
7
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
8
8
|
import Button from "../Button/index.js";
|
9
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
@@ -80,6 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
80
80
|
} = toRefs(props);
|
81
81
|
const { onBeforeOk, onBeforeCancel } = props;
|
82
82
|
const { zIndex, popupContainer } = getGlobalConfig(props);
|
83
|
+
const { t } = useI18n();
|
83
84
|
const drawerStyle = computed(() => {
|
84
85
|
return {
|
85
86
|
height: placement.value == "left" || placement.value == "right" ? "" : valueToPx(height.value),
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import { DrawerServiceProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerServiceProps> & Readonly<{}>, {
|
3
|
-
okText: string;
|
4
|
-
cancelText: string;
|
5
3
|
unmountOnClose: boolean;
|
6
4
|
renderToBody: boolean;
|
7
5
|
width: number | string;
|
@@ -13,6 +11,8 @@ declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}
|
|
13
11
|
closable: boolean;
|
14
12
|
maskClosable: boolean;
|
15
13
|
hideCancel: boolean;
|
14
|
+
okText: string;
|
15
|
+
cancelText: string;
|
16
16
|
okLoading: boolean;
|
17
17
|
okButtonProps: import('..').ButtonProps;
|
18
18
|
cancelButtonProps: import('..').ButtonProps;
|
@@ -5,6 +5,7 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
import _sfc_main$1 from "./Drawer.vue.js";
|
9
10
|
/* empty css */
|
10
11
|
const _hoisted_1 = { class: "yc-drawer-body-content" };
|
package/es/Drawer/index.d.ts
CHANGED
@@ -6,23 +6,21 @@ export * from './type';
|
|
6
6
|
declare const Drawer: {
|
7
7
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DrawerProps> & Readonly<{
|
8
8
|
onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
9
|
-
onOk?: (() => any) | undefined;
|
10
9
|
onClose?: (() => any) | undefined;
|
11
10
|
onOpen?: (() => any) | undefined;
|
12
11
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
12
|
+
onOk?: (() => any) | undefined;
|
13
13
|
"onBefore-open"?: (() => any) | undefined;
|
14
14
|
"onBefore-close"?: (() => any) | undefined;
|
15
15
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
16
16
|
cancel: (event: MouseEvent | KeyboardEvent) => any;
|
17
|
-
ok: () => any;
|
18
17
|
close: () => any;
|
19
18
|
open: () => any;
|
20
19
|
"update:visible": (value: boolean) => any;
|
20
|
+
ok: () => any;
|
21
21
|
"before-open": () => any;
|
22
22
|
"before-close": () => any;
|
23
23
|
}, import('vue').PublicProps, {
|
24
|
-
okText: string;
|
25
|
-
cancelText: string;
|
26
24
|
unmountOnClose: boolean;
|
27
25
|
popupContainer: import('..').PopupContainer;
|
28
26
|
renderToBody: boolean;
|
@@ -37,6 +35,8 @@ declare const Drawer: {
|
|
37
35
|
closable: boolean;
|
38
36
|
maskClosable: boolean;
|
39
37
|
hideCancel: boolean;
|
38
|
+
okText: string;
|
39
|
+
cancelText: string;
|
40
40
|
okLoading: boolean;
|
41
41
|
okButtonProps: import('..').ButtonProps;
|
42
42
|
cancelButtonProps: import('..').ButtonProps;
|
@@ -54,15 +54,13 @@ declare const Drawer: {
|
|
54
54
|
Defaults: {};
|
55
55
|
}, Readonly<import('./type').DrawerProps> & Readonly<{
|
56
56
|
onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
57
|
-
onOk?: (() => any) | undefined;
|
58
57
|
onClose?: (() => any) | undefined;
|
59
58
|
onOpen?: (() => any) | undefined;
|
60
59
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
60
|
+
onOk?: (() => any) | undefined;
|
61
61
|
"onBefore-open"?: (() => any) | undefined;
|
62
62
|
"onBefore-close"?: (() => any) | undefined;
|
63
63
|
}>, {}, {}, {}, {}, {
|
64
|
-
okText: string;
|
65
|
-
cancelText: string;
|
66
64
|
unmountOnClose: boolean;
|
67
65
|
popupContainer: import('..').PopupContainer;
|
68
66
|
renderToBody: boolean;
|
@@ -77,6 +75,8 @@ declare const Drawer: {
|
|
77
75
|
closable: boolean;
|
78
76
|
maskClosable: boolean;
|
79
77
|
hideCancel: boolean;
|
78
|
+
okText: string;
|
79
|
+
cancelText: string;
|
80
80
|
okLoading: boolean;
|
81
81
|
okButtonProps: import('..').ButtonProps;
|
82
82
|
cancelButtonProps: import('..').ButtonProps;
|
@@ -91,23 +91,21 @@ declare const Drawer: {
|
|
91
91
|
__isSuspense?: never;
|
92
92
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').DrawerProps> & Readonly<{
|
93
93
|
onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
94
|
-
onOk?: (() => any) | undefined;
|
95
94
|
onClose?: (() => any) | undefined;
|
96
95
|
onOpen?: (() => any) | undefined;
|
97
96
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
97
|
+
onOk?: (() => any) | undefined;
|
98
98
|
"onBefore-open"?: (() => any) | undefined;
|
99
99
|
"onBefore-close"?: (() => any) | undefined;
|
100
100
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
101
101
|
cancel: (event: MouseEvent | KeyboardEvent) => any;
|
102
|
-
ok: () => any;
|
103
102
|
close: () => any;
|
104
103
|
open: () => any;
|
105
104
|
"update:visible": (value: boolean) => any;
|
105
|
+
ok: () => any;
|
106
106
|
"before-open": () => any;
|
107
107
|
"before-close": () => any;
|
108
108
|
}, string, {
|
109
|
-
okText: string;
|
110
|
-
cancelText: string;
|
111
109
|
unmountOnClose: boolean;
|
112
110
|
popupContainer: import('..').PopupContainer;
|
113
111
|
renderToBody: boolean;
|
@@ -122,6 +120,8 @@ declare const Drawer: {
|
|
122
120
|
closable: boolean;
|
123
121
|
maskClosable: boolean;
|
124
122
|
hideCancel: boolean;
|
123
|
+
okText: string;
|
124
|
+
cancelText: string;
|
125
125
|
okLoading: boolean;
|
126
126
|
okButtonProps: import('..').ButtonProps;
|
127
127
|
cancelButtonProps: import('..').ButtonProps;
|
@@ -5,6 +5,7 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
import useContext from "./hooks/useContext.js";
|
9
10
|
import useMenuContext from "../Menu/hooks/useContext.js";
|
10
11
|
import Trigger from "../Trigger/index.js";
|
@@ -15,7 +15,6 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
|
|
15
15
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
16
16
|
onSelect?: ((value: DoptionValue) => any) | undefined;
|
17
17
|
}>, {
|
18
|
-
type: import('../Button').ButtonType;
|
19
18
|
size: import('..').Size;
|
20
19
|
trigger: import('..').TriggerType;
|
21
20
|
popupVisible: boolean;
|
@@ -23,6 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
|
|
23
22
|
disabled: boolean;
|
24
23
|
position: import('./type').DropdownPosition;
|
25
24
|
popupContainer: import('..').PopupContainer;
|
25
|
+
type: import('../Button').ButtonType;
|
26
26
|
hideOnSelect: boolean;
|
27
27
|
buttonProps: import('../Button').ButtonProps;
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
@@ -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$3 from "../_shared/icons/IconMore.vue.js";
|
8
9
|
import _sfc_main$2 from "./Dropdown.vue.js";
|
@@ -7,6 +7,7 @@ import "../_shared/utils/time.js";
|
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
10
|
+
import "../_shared/utils/locale.js";
|
10
11
|
import useControlValue from "../_shared/utils/control.js";
|
11
12
|
import useMenuContext from "../Menu/hooks/useContext.js";
|
12
13
|
import "./index.js";
|
@@ -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
|
const DROPDOWN_CONTEXT_KEY = "dropdown-context";
|
9
10
|
const useContext = () => {
|
package/es/Dropdown/index.d.ts
CHANGED
@@ -146,7 +146,6 @@ declare const Dropdown: {
|
|
146
146
|
"popup-visible-change": (value: boolean) => any;
|
147
147
|
select: (value: import('./type').DoptionValue) => any;
|
148
148
|
}, import('vue').PublicProps, {
|
149
|
-
type: import('..').ButtonType;
|
150
149
|
size: import('..').Size;
|
151
150
|
trigger: import('..').TriggerType;
|
152
151
|
popupVisible: boolean;
|
@@ -154,6 +153,7 @@ declare const Dropdown: {
|
|
154
153
|
disabled: boolean;
|
155
154
|
position: import('./type').DropdownPosition;
|
156
155
|
popupContainer: import('..').PopupContainer;
|
156
|
+
type: import('..').ButtonType;
|
157
157
|
hideOnSelect: boolean;
|
158
158
|
buttonProps: import('..').ButtonProps;
|
159
159
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -168,7 +168,6 @@ declare const Dropdown: {
|
|
168
168
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
169
169
|
onSelect?: ((value: import('./type').DoptionValue) => any) | undefined;
|
170
170
|
}>, {}, {}, {}, {}, {
|
171
|
-
type: import('..').ButtonType;
|
172
171
|
size: import('..').Size;
|
173
172
|
trigger: import('..').TriggerType;
|
174
173
|
popupVisible: boolean;
|
@@ -176,6 +175,7 @@ declare const Dropdown: {
|
|
176
175
|
disabled: boolean;
|
177
176
|
position: import('./type').DropdownPosition;
|
178
177
|
popupContainer: import('..').PopupContainer;
|
178
|
+
type: import('..').ButtonType;
|
179
179
|
hideOnSelect: boolean;
|
180
180
|
buttonProps: import('..').ButtonProps;
|
181
181
|
}>;
|
@@ -191,7 +191,6 @@ declare const Dropdown: {
|
|
191
191
|
"popup-visible-change": (value: boolean) => any;
|
192
192
|
select: (value: import('./type').DoptionValue) => any;
|
193
193
|
}, string, {
|
194
|
-
type: import('..').ButtonType;
|
195
194
|
size: import('..').Size;
|
196
195
|
trigger: import('..').TriggerType;
|
197
196
|
popupVisible: boolean;
|
@@ -199,6 +198,7 @@ declare const Dropdown: {
|
|
199
198
|
disabled: boolean;
|
200
199
|
position: import('./type').DropdownPosition;
|
201
200
|
popupContainer: import('..').PopupContainer;
|
201
|
+
type: import('..').ButtonType;
|
202
202
|
hideOnSelect: boolean;
|
203
203
|
buttonProps: import('..').ButtonProps;
|
204
204
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Empty/index.vue.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, createElementVNode, renderSlot, createCommentVNode, createVNode, unref, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import { t } from "../_shared/locale/i18n.js";
|
3
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
3
|
import "../_shared/utils/dom.js";
|
5
4
|
import "../_shared/utils/time.js";
|
6
5
|
import "./index.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
|
8
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
9
9
|
const _hoisted_1 = { class: "yc-empty" };
|
10
10
|
const _hoisted_2 = { class: "yc-empty-image" };
|
11
11
|
const _hoisted_3 = ["src"];
|
@@ -22,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
22
|
setup(__props) {
|
23
23
|
const props = __props;
|
24
24
|
const { description: _description } = toRefs(props);
|
25
|
+
const { t } = useI18n();
|
25
26
|
return (_ctx, _cache) => {
|
26
27
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
27
28
|
createElementVNode("div", _hoisted_2, [
|
package/es/Grid/Grid.vue.js
CHANGED
@@ -4,6 +4,7 @@ import { mediaQueryHandler, valueToPx } from "../_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 useContext from "./hooks/useContext.js";
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
10
|
...{
|
package/es/Grid/GridCol.vue.js
CHANGED
@@ -5,6 +5,7 @@ import { isString } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
import useContext from "./hooks/useContext.js";
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
11
|
...{
|
package/es/Grid/GridItem.vue.js
CHANGED
@@ -4,6 +4,7 @@ import { getBreakpointValue, valueToPx } from "../_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 useContext from "./hooks/useContext.js";
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
10
|
...{
|
package/es/Grid/GridRow.vue.js
CHANGED
@@ -4,6 +4,7 @@ import { mediaQueryHandler, valueToPx } from "../_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 useContext from "./hooks/useContext.js";
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
10
|
...{
|