yc-design-vue 1.8.6 → 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.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.vue.js +1 -0
- package/es/Avatar/Avatar.vue.js +1 -0
- package/es/Avatar/AvatarGroup.vue.js +1 -0
- 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/hooks/useContext.js +1 -0
- package/es/Calendar/Calendar.vue.js +3 -3
- 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.js +1 -0
- package/es/Card/CardMeta.vue.js +1 -0
- 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.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/Checkbox/Checkbox.vue.js +1 -0
- package/es/Checkbox/hooks/useContext.js +1 -0
- 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 +9 -2
- package/es/ColorPicker/ColorPalette.vue.js +1 -0
- package/es/ColorPicker/ColorPanel.vue.js +9 -2
- 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.vue.js +1 -0
- package/es/Drawer/Drawer.vue.js +4 -2
- package/es/Drawer/DrawerService.vue.js +1 -0
- package/es/Dropdown/Dropdown.vue.js +1 -0
- 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/Empty/index.vue.js +3 -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.js +3 -1
- package/es/Image/ImagePreview.vue.js +1 -0
- package/es/Image/ImagePreviewArrow.vue.js +1 -0
- package/es/Image/ImagePreviewToolbar.vue.js +4 -2
- package/es/Image/hooks/useContext.js +1 -0
- 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/InputNumber/InputNumber.vue.js +1 -0
- package/es/InputNumber/InputOperaBtn.vue.js +1 -0
- 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.vue.js +1 -0
- package/es/List/List.vue.js +1 -0
- package/es/List/hooks/useScrollReach.js +1 -0
- 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.js +1 -0
- package/es/Message/index.js +1 -0
- package/es/Modal/Modal.vue.js +4 -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/Notification/Notification.vue.js +1 -0
- package/es/Notification/index.js +1 -0
- package/es/OverflowList/index.vue.js +1 -0
- package/es/PageHeader/index.vue.js +1 -0
- package/es/Pagination/Pagination.vue.js +8 -3
- package/es/Pagination/PaginationItem.vue.js +1 -0
- package/es/Pagination/hooks/useContext.d.ts +1 -5
- package/es/Pagination/hooks/useContext.js +1 -1
- package/es/Popconfirm/index.vue.js +4 -2
- package/es/Popover/index.vue.js +1 -0
- 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/Radio/Radio.vue.js +1 -0
- package/es/Radio/hooks/useContext.js +1 -0
- package/es/Rate/index.vue.js +1 -0
- package/es/ResizeBox/index.vue.js +1 -0
- package/es/Scrollbar/Scrollbar.vue.js +1 -0
- package/es/Scrollbar/ScrollbarTrack.vue.js +1 -0
- package/es/Select/Option.vue.js +1 -0
- package/es/Select/Select.vue.d.ts +13 -13
- 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/Skeleton/SkeletonLine.vue.js +1 -0
- package/es/Skeleton/SkeletonShape.vue.js +1 -0
- 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/Space/index.vue.js +1 -0
- package/es/Spin/index.vue.js +1 -0
- package/es/Split/index.vue.js +1 -0
- package/es/Statistic/Countdown.vue.js +1 -0
- package/es/Statistic/Statistic.vue.js +1 -0
- package/es/Steps/Step.vue.js +1 -0
- package/es/Steps/hooks/useContext.js +1 -0
- 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.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/Tag/index.vue.js +1 -0
- package/es/Textarea/hooks/useTextareaHeight.js +1 -0
- package/es/Textarea/index.vue.js +1 -0
- 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/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.js +4 -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/IconSeparator.vue.js +17 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -17
- 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.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.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.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- 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/hooks/useContext.js +1 -1
- 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.js +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- 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.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/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/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.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- 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.js +1 -1
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +1 -5
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +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/Radio/Radio.vue.js +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +13 -13
- 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/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.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.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/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +1 -0
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition.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/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +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.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 -256
- package/es/_shared/locale/i18n.js +0 -41
- 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 -256
- 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
package/es/Divider/index.vue.js
CHANGED
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -3,6 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { valueToPx } from "../_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 useModalClose from "../Modal/hooks/useModalClose.js";
|
7
8
|
import Button from "../Button/index.js";
|
8
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
@@ -79,6 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
79
80
|
} = toRefs(props);
|
80
81
|
const { onBeforeOk, onBeforeCancel } = props;
|
81
82
|
const { zIndex, popupContainer } = getGlobalConfig(props);
|
83
|
+
const { t } = useI18n();
|
82
84
|
const drawerStyle = computed(() => {
|
83
85
|
return {
|
84
86
|
height: placement.value == "left" || placement.value == "right" ? "" : valueToPx(height.value),
|
@@ -169,7 +171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
169
171
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(handleClose)("cancelBtn", $event))
|
170
172
|
}), {
|
171
173
|
default: withCtx(() => [
|
172
|
-
createTextVNode(toDisplayString(_ctx.cancelText ||
|
174
|
+
createTextVNode(toDisplayString(_ctx.cancelText || unref(t)("drawer.cancelText")), 1)
|
173
175
|
]),
|
174
176
|
_: 1
|
175
177
|
}, 16)) : createCommentVNode("", true),
|
@@ -180,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
180
182
|
onClick: _cache[3] || (_cache[3] = ($event) => unref(handleClose)("confirmBtn", $event))
|
181
183
|
}), {
|
182
184
|
default: withCtx(() => [
|
183
|
-
createTextVNode(toDisplayString(_ctx.okText ||
|
185
|
+
createTextVNode(toDisplayString(_ctx.okText || unref(t)("drawer.okText")), 1)
|
184
186
|
]),
|
185
187
|
_: 1
|
186
188
|
}, 16, ["loading"])
|
@@ -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" };
|
@@ -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";
|
@@ -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/Empty/index.vue.js
CHANGED
@@ -5,6 +5,7 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import "./index.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
|
8
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
8
9
|
const _hoisted_1 = { class: "yc-empty" };
|
9
10
|
const _hoisted_2 = { class: "yc-empty-image" };
|
10
11
|
const _hoisted_3 = ["src"];
|
@@ -21,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
22
|
setup(__props) {
|
22
23
|
const props = __props;
|
23
24
|
const { description: _description } = toRefs(props);
|
25
|
+
const { t } = useI18n();
|
24
26
|
return (_ctx, _cache) => {
|
25
27
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
26
28
|
createElementVNode("div", _hoisted_2, [
|
@@ -35,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
37
|
]),
|
36
38
|
createElementVNode("div", _hoisted_4, [
|
37
39
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
38
|
-
createTextVNode(toDisplayString(_ctx.description ||
|
40
|
+
createTextVNode(toDisplayString(_ctx.description || unref(t)("empty.description")), 1)
|
39
41
|
])
|
40
42
|
])
|
41
43
|
]);
|
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
|
...{
|
@@ -5,6 +5,7 @@ import { isArray } 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 { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
9
10
|
const GRID_CONTEXT_KEY = "grid-context";
|
10
11
|
const useContext = () => {
|
package/es/Image/Image.vue.js
CHANGED
@@ -5,6 +5,7 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import "../Empty/index.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
|
8
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
8
9
|
import useControlValue from "../_shared/utils/control.js";
|
9
10
|
import useContext from "./hooks/useContext.js";
|
10
11
|
import Spin from "../Spin/index.js";
|
@@ -60,6 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
60
61
|
const emits = __emit;
|
61
62
|
const { src, preview, previewVisible, defaultPreviewVisible } = toRefs(props);
|
62
63
|
const { hasGroupFather, handleClick: previewImage } = useContext().inject();
|
64
|
+
const { t } = useI18n();
|
63
65
|
const computedVisible = useControlValue(
|
64
66
|
previewVisible,
|
65
67
|
defaultPreviewVisible.value,
|
@@ -136,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
136
138
|
renderSlot(_ctx.$slots, "loader", {}, () => [
|
137
139
|
createVNode(unref(Spin), {
|
138
140
|
size: 30,
|
139
|
-
tip:
|
141
|
+
tip: unref(t)("image.loading")
|
140
142
|
}, null, 8, ["tip"])
|
141
143
|
])
|
142
144
|
])
|
@@ -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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
|
+
import "../_shared/utils/locale.js";
|
6
7
|
import useControlValue from "../_shared/utils/control.js";
|
7
8
|
/* empty css */
|
8
9
|
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
@@ -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
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { defineComponent, createElementBlock, createCommentVNode, openBlock, renderSlot, Fragment, renderList, createBlock, withCtx, resolveDynamicComponent } from "vue";
|
1
|
+
import { defineComponent, createElementBlock, createCommentVNode, openBlock, renderSlot, Fragment, renderList, createBlock, unref, withCtx, resolveDynamicComponent } 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 "../Empty/index.js";
|
6
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
6
7
|
/* empty css */
|
7
8
|
import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
|
8
9
|
import _sfc_main$1 from "../_shared/icons/IconOriginSize.vue2.js";
|
@@ -23,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
24
|
},
|
24
25
|
emits: ["click"],
|
25
26
|
setup(__props) {
|
27
|
+
const { t } = useI18n();
|
26
28
|
const iconMap = {
|
27
29
|
fullScreen: _sfc_main$6,
|
28
30
|
rotateRight: _sfc_main$5,
|
@@ -37,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
37
39
|
return openBlock(), createElementBlock(Fragment, { key: action }, [
|
38
40
|
iconMap[action] ? (openBlock(), createBlock(_sfc_main$7, {
|
39
41
|
key: 0,
|
40
|
-
name:
|
42
|
+
name: unref(t)(`imagePreview.${action}`),
|
41
43
|
onClick: (ev) => _ctx.$emit("click", action, ev)
|
42
44
|
}, {
|
43
45
|
default: withCtx(() => [
|
@@ -5,6 +5,7 @@ import "../../_shared/utils/time.js";
|
|
5
5
|
import { findComponentsFromVnodes } 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 useControlValue from "../../_shared/utils/control.js";
|
9
10
|
import _sfc_main from "../Image.vue.js";
|
10
11
|
/* empty css */
|
package/es/Input/Input.vue.js
CHANGED
@@ -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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
|
+
import "../_shared/utils/locale.js";
|
6
7
|
import useControlValue from "../_shared/utils/control.js";
|
7
8
|
import useLimitedInput from "./hooks/useLimitedInput.js";
|
8
9
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
@@ -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$4 from "../_shared/icons/IconEyeClose.vue2.js";
|
8
9
|
import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue2.js";
|
@@ -5,6 +5,7 @@ import { isNumber, isFunction, 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 useControlValue from "../../_shared/utils/control.js";
|
9
10
|
import useCursor from "./useCursor.js";
|
10
11
|
const useLimitedInput = (params) => {
|
@@ -5,6 +5,7 @@ import { isString, isFunction, 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 "../_shared/utils/locale.js";
|
8
9
|
import useControlValue from "../_shared/utils/control.js";
|
9
10
|
import _sfc_main$1 from "./InputOperaBtn.vue.js";
|
10
11
|
/* empty css */
|
@@ -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/IconMinus.vue2.js";
|
9
10
|
import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
|
package/es/InputTag/index.vue.js
CHANGED
@@ -6,6 +6,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
6
6
|
import { isObject, isBoolean } from "../_shared/utils/is.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
8
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
9
|
+
import "../_shared/utils/locale.js";
|
9
10
|
import useControlValue from "../_shared/utils/control.js";
|
10
11
|
import Tag from "../Tag/index.js";
|
11
12
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
package/es/Layout/Layout.vue.js
CHANGED
@@ -5,6 +5,7 @@ import { 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 _sfc_main$1 from "./LayoutSider.vue.js";
|
9
10
|
/* empty css */
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -5,6 +5,7 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import "../Empty/index.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
import useSiderContext from "./hooks/useSiderContext.js";
|
9
10
|
import ResizeBox from "../ResizeBox/index.js";
|
10
11
|
const _hoisted_1 = { class: "yc-layout-sider-children" };
|
@@ -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 LAYOUT_CONTEXT_KEY = "LAYOUT-CONTEXT";
|
9
10
|
const useSiderContext = () => {
|
package/es/Link/index.vue.js
CHANGED
@@ -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/IconLink.vue.js";
|
8
9
|
import Spin from "../Spin/index.js";
|
package/es/List/List.vue.js
CHANGED
@@ -4,6 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useControlValue from "../_shared/utils/control.js";
|
8
9
|
import useScrollReach from "./hooks/useScrollReach.js";
|
9
10
|
import Spin from "../Spin/index.js";
|
package/es/Mention/index.vue.js
CHANGED
@@ -5,6 +5,7 @@ import { isArray, isNull } 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 useControlValue from "../_shared/utils/control.js";
|
9
10
|
import useCursor from "../Input/hooks/useCursor.js";
|
10
11
|
import AutoComplete from "../AutoComplete/index.js";
|
package/es/Menu/Menu.vue.js
CHANGED
@@ -6,6 +6,7 @@ import "../Empty/index.js";
|
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$2 from "../_shared/icons/IconMenuFold.vue.js";
|
8
8
|
import _sfc_main$3 from "../_shared/icons/IconMenuUnfold.vue.js";
|
9
|
+
import "../_shared/utils/locale.js";
|
9
10
|
import useMenuContext from "./hooks/useContext.js";
|
10
11
|
import _sfc_main$1 from "./MenuEllipsis.vue.js";
|
11
12
|
/* empty css */
|
@@ -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$1 from "../_shared/icons/IconMore.vue.js";
|
9
10
|
import useMenuContext, { isMenuItemActive } from "./hooks/useContext.js";
|
package/es/Menu/MenuItem.vue.js
CHANGED
@@ -6,6 +6,7 @@ import { isUndefined } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
+
import "../_shared/utils/locale.js";
|
9
10
|
import useMenuContext, { isMenuItemActive, getPopupMaxHeight } from "./hooks/useContext.js";
|
10
11
|
import _sfc_main$1 from "./MenuPopOption.vue.js";
|
11
12
|
import Dropdown from "../Dropdown/index.js";
|
@@ -4,6 +4,7 @@ import { 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 useMenuContext from "./hooks/useContext.js";
|
8
9
|
const _hoisted_1 = { class: "yc-menu-group-title text-ellipsis" };
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Menu/SubMenu.vue.js
CHANGED
@@ -5,6 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
/* empty css */
|
9
10
|
/* empty css */
|
10
11
|
import _sfc_main$3 from "../_shared/components/ExpandTransition.vue2.js";
|
@@ -5,6 +5,7 @@ import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_s
|
|
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 useControlValue from "../../_shared/utils/control.js";
|
9
10
|
import "../index.js";
|
10
11
|
import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
@@ -5,6 +5,7 @@ import { 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 { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
9
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
10
11
|
/* empty css */
|
package/es/Message/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 messageList = reactive({
|
14
15
|
top: [],
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -3,6 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { valueToPx } from "../_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 useModalClose from "./hooks/useModalClose.js";
|
7
8
|
import useModalDraggable from "./hooks/useModalDraggable.js";
|
8
9
|
import Button from "../Button/index.js";
|
@@ -90,6 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
90
91
|
} = toRefs(props);
|
91
92
|
const { onBeforeOk, onBeforeCancel } = props;
|
92
93
|
const { popupContainer, zIndex } = getGlobalConfig(props);
|
94
|
+
const { t } = useI18n();
|
93
95
|
const {
|
94
96
|
outerVisible,
|
95
97
|
innerVisible,
|
@@ -221,7 +223,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
221
223
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(handleClose)("cancelBtn", $event))
|
222
224
|
}), {
|
223
225
|
default: withCtx(() => [
|
224
|
-
createTextVNode(toDisplayString(_ctx.cancelText ||
|
226
|
+
createTextVNode(toDisplayString(_ctx.cancelText || unref(t)("modal.cancelText")), 1)
|
225
227
|
]),
|
226
228
|
_: 1
|
227
229
|
}, 16)) : createCommentVNode("", true),
|
@@ -232,7 +234,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
232
234
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(handleClose)("confirmBtn", $event))
|
233
235
|
}), {
|
234
236
|
default: withCtx(() => [
|
235
|
-
createTextVNode(toDisplayString(_ctx.okText ||
|
237
|
+
createTextVNode(toDisplayString(_ctx.okText || unref(t)("modal.okText")), 1)
|
236
238
|
]),
|
237
239
|
_: 1
|
238
240
|
}, 16, ["loading"])
|
@@ -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 { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
9
10
|
import _sfc_main$1 from "./Modal.vue.js";
|
10
11
|
/* empty css */
|
@@ -5,6 +5,7 @@ import "../../_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
|
import useControlValue from "../../_shared/utils/control.js";
|
9
10
|
import useOnBeforeClose from "./useOnBeforeClose.js";
|
10
11
|
const useModalClose = (params) => {
|
@@ -5,6 +5,7 @@ import "../../_shared/utils/time.js";
|
|
5
5
|
import "vue";
|
6
6
|
import "../../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../../_shared/utils/locale.js";
|
8
9
|
const useOnBeforeClose = async (type, asyncLoading, onBeforeOk, onBeforeCancel) => {
|
9
10
|
const handleBeforeOk = () => {
|
10
11
|
return new Promise(async (resolve) => {
|
@@ -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 */
|
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: [],
|
@@ -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,6 +5,7 @@ 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
10
|
import _sfc_main$1 from "./PaginationItem.vue.js";
|
10
11
|
/* empty css */
|
@@ -74,6 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
74
75
|
total,
|
75
76
|
sizeOptions
|
76
77
|
} = useContext().provide(props, emits);
|
78
|
+
const { t } = useI18n();
|
77
79
|
const tempCurrent = ref(computedCurrent.value);
|
78
80
|
watch(
|
79
81
|
() => computedCurrent.value,
|
@@ -99,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
99
101
|
}, [
|
100
102
|
_ctx.showTotal ? (openBlock(), createElementBlock("span", _hoisted_1, [
|
101
103
|
renderSlot(_ctx.$slots, "total", { total: unref(total) }, () => [
|
102
|
-
createTextVNode(toDisplayString(
|
104
|
+
createTextVNode(toDisplayString(unref(t)("pagination.total", [unref(total)])), 1)
|
103
105
|
])
|
104
106
|
])) : createCommentVNode("", true),
|
105
107
|
createElementVNode("ul", {
|
@@ -168,10 +170,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
168
170
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(computedPageSize) ? computedPageSize.value = $event : null),
|
169
171
|
options: unref(sizeOptions),
|
170
172
|
size: unref(size)
|
171
|
-
}, _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"])
|
172
177
|
])) : createCommentVNode("", true),
|
173
178
|
_ctx.showJumper ? (openBlock(), createElementBlock("span", _hoisted_5, [
|
174
|
-
createElementVNode("span", _hoisted_6, toDisplayString(
|
179
|
+
createElementVNode("span", _hoisted_6, toDisplayString(unref(t)("pagination.goto")), 1),
|
175
180
|
createVNode(unref(InputNumber), {
|
176
181
|
modelValue: tempCurrent.value,
|
177
182
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => tempCurrent.value = $event),
|
@@ -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,11 +23,7 @@ declare const _default: () => {
|
|
23
23
|
label: string;
|
24
24
|
value: number;
|
25
25
|
}[]>;
|
26
|
-
t:
|
27
|
-
[x: string]: import('@intlify/core-base').LocaleMessage<import('vue-i18n').VueMessageType>;
|
28
|
-
}, string, import('@intlify/core-base').RemoveIndexSignature<{
|
29
|
-
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
30
|
-
}>, never, never, never>;
|
26
|
+
t: (key: string, ...args: any[]) => string;
|
31
27
|
};
|
32
28
|
inject: () => PaginationContext;
|
33
29
|
};
|