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
@@ -3,8 +3,8 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
6
|
+
import { useI18n } from "../../_shared/utils/locale.js";
|
6
7
|
import useControlValue from "../../_shared/utils/control.js";
|
7
|
-
import { useI18n } from "../../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js";
|
8
8
|
const PAGINATION_CONTEXT_KEY = "pagination-context";
|
9
9
|
const useContext = () => {
|
10
10
|
const provide$1 = (props, emits) => {
|
@@ -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 { useI18n } from "../_shared/utils/locale.js";
|
8
9
|
import useControlValue from "../_shared/utils/control.js";
|
9
10
|
import useOnBeforeClose from "../Modal/hooks/useOnBeforeClose.js";
|
10
11
|
import Trigger from "../Trigger/index.js";
|
@@ -54,6 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
54
55
|
const emits = __emit;
|
55
56
|
const { popupVisible, defaultPopupVisible, type } = toRefs(props);
|
56
57
|
const { onBeforeOk, onBeforeCancel } = props;
|
58
|
+
const { t } = useI18n();
|
57
59
|
const asyncLoading = ref(false);
|
58
60
|
const triggerRef = ref();
|
59
61
|
const computedVisible = useControlValue(
|
@@ -132,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
132
134
|
createElementVNode("div", _hoisted_4, [
|
133
135
|
createVNode(unref(Button), mergeProps({ size: "mini" }, _ctx.cancelButtonProps, { onClick: handleCancel }), {
|
134
136
|
default: withCtx(() => [
|
135
|
-
createTextVNode(toDisplayString(_ctx.cancelText ||
|
137
|
+
createTextVNode(toDisplayString(_ctx.cancelText || unref(t)("popconfirm.cancelText")), 1)
|
136
138
|
]),
|
137
139
|
_: 1
|
138
140
|
}, 16),
|
@@ -142,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
142
144
|
loading: _ctx.okLoading || asyncLoading.value
|
143
145
|
}, _ctx.okButtonProps, { onClick: handleOk }), {
|
144
146
|
default: withCtx(() => [
|
145
|
-
createTextVNode(toDisplayString(_ctx.okText ||
|
147
|
+
createTextVNode(toDisplayString(_ctx.okText || unref(t)("popconfirm.okText")), 1)
|
146
148
|
]),
|
147
149
|
_: 1
|
148
150
|
}, 16, ["loading"])
|
package/es/Popover/index.vue.js
CHANGED
@@ -4,6 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
6
|
/* empty css */
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useControlValue from "../_shared/utils/control.js";
|
8
9
|
import Trigger from "../Trigger/index.js";
|
9
10
|
const _hoisted_1 = {
|
@@ -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 _sfc_main$2 from "./ProgressLine.vue.js";
|
7
8
|
/* empty css */
|
8
9
|
import _sfc_main$1 from "./ProgressSteps.vue.js";
|
@@ -7,6 +7,7 @@ import "../Empty/index.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
9
9
|
import _sfc_main$2 from "../_shared/icons/IconExclamation.vue2.js";
|
10
|
+
import "../_shared/utils/locale.js";
|
10
11
|
import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
|
11
12
|
const _hoisted_1 = ["aria-valuenow"];
|
12
13
|
const _hoisted_2 = ["viewBox"];
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -4,6 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
6
|
/* empty css */
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useControlValue from "../_shared/utils/control.js";
|
8
9
|
import useContext from "./hooks/useContext.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 { isObject } from "../../_shared/utils/is.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
|
const RADIO_GROUP_CONTEXT_KEY = "radio-group-context";
|
9
10
|
const useContext = () => {
|
package/es/Rate/index.vue.js
CHANGED
@@ -7,6 +7,7 @@ import "../Empty/index.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconFaceSmile.vue.js";
|
9
9
|
import _sfc_main$2 from "../_shared/icons/IconStar.vue.js";
|
10
|
+
import "../_shared/utils/locale.js";
|
10
11
|
import useControlValue from "../_shared/utils/control.js";
|
11
12
|
const _hoisted_1 = ["onClick", "onMouseenter"];
|
12
13
|
const _hoisted_2 = ["onClick", "onMouseenter"];
|
@@ -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 "../Empty/index.js";
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useControlValue from "../_shared/utils/control.js";
|
8
9
|
/* empty css */
|
9
10
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
@@ -5,6 +5,7 @@ import { isVerticallyScrollable, isHorizontallyScrollable } from "../_shared/uti
|
|
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 "./ScrollbarTrack.vue.js";
|
9
10
|
/* empty css */
|
10
11
|
import useContext from "./hooks/useContext.js";
|
@@ -5,6 +5,7 @@ import { 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
|
import useContext from "./hooks/useContext.js";
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
11
|
__name: "ScrollbarTrack",
|
package/es/Select/Option.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 useContext from "./hooks/useContext.js";
|
9
10
|
import Checkbox from "../Checkbox/index.js";
|
10
11
|
const _hoisted_1 = {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SelectProps, SelectSlots } from './type';
|
1
|
+
import { SelectProps, SelectSlots, SelectValue } from './type';
|
2
2
|
import { InputTagValue } from '../InputTag';
|
3
3
|
import { TriggerInstance } from '../Trigger';
|
4
4
|
declare function __VLS_template(): {
|
@@ -393,31 +393,31 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
393
393
|
blur(): void;
|
394
394
|
getPopupRef(): TriggerInstance;
|
395
395
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
396
|
-
change: (value:
|
396
|
+
change: (value: SelectValue) => any;
|
397
397
|
"update:popupVisible": (value: boolean) => any;
|
398
398
|
"popup-visible-change": (value: boolean) => any;
|
399
399
|
clear: () => any;
|
400
|
-
select: (value:
|
400
|
+
select: (value: SelectValue) => any;
|
401
401
|
search: (value: string) => any;
|
402
|
-
"update:modelValue": (value:
|
403
|
-
"update:inputValue": (value:
|
402
|
+
"update:modelValue": (value: SelectValue) => any;
|
403
|
+
"update:inputValue": (value: SelectValue) => any;
|
404
404
|
"input-value-change": (value: string) => any;
|
405
405
|
remove: (index: string | number, ev: Event) => any;
|
406
|
-
exceedLimit: (value:
|
406
|
+
exceedLimit: (value: SelectValue, ev?: MouseEvent | undefined) => any;
|
407
407
|
"dropdown-scroll": (ev: Event) => any;
|
408
408
|
"dropdown-reach-bottom": (ev: Event) => any;
|
409
409
|
}, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
|
410
|
-
onChange?: ((value:
|
410
|
+
onChange?: ((value: SelectValue) => any) | undefined;
|
411
411
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
412
412
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
413
413
|
onClear?: (() => any) | undefined;
|
414
|
-
onSelect?: ((value:
|
414
|
+
onSelect?: ((value: SelectValue) => any) | undefined;
|
415
415
|
onSearch?: ((value: string) => any) | undefined;
|
416
|
-
"onUpdate:modelValue"?: ((value:
|
417
|
-
"onUpdate:inputValue"?: ((value:
|
416
|
+
"onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
417
|
+
"onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
|
418
418
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
419
419
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
420
|
-
onExceedLimit?: ((value:
|
420
|
+
onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
421
421
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
422
422
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
423
423
|
}>, {
|
@@ -432,8 +432,8 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
432
432
|
multiple: boolean;
|
433
433
|
placeholder: string;
|
434
434
|
bordered: boolean;
|
435
|
-
modelValue:
|
436
|
-
defaultValue:
|
435
|
+
modelValue: SelectValue;
|
436
|
+
defaultValue: SelectValue;
|
437
437
|
allowClear: boolean;
|
438
438
|
showExtraOptions: boolean;
|
439
439
|
options: import('./type').SelectOptions;
|
package/es/Select/Select.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 useContext from "./hooks/useContext.js";
|
9
10
|
import _sfc_main$1 from "./SelectIcon.vue.js";
|
10
11
|
/* empty css */
|
@@ -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
|
import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
|
10
11
|
/* empty css */
|
@@ -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 useContext from "./hooks/useContext.js";
|
9
10
|
import _sfc_main$2 from "./Option.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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useContext from "./hooks/useContext.js";
|
8
9
|
import useScrollReach from "../List/hooks/useScrollReach.js";
|
9
10
|
import _sfc_main$1 from "./SelectVirtualList.vue.js";
|
@@ -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
|
import "./index.js";
|
11
12
|
import _sfc_main$1 from "./Option.vue.js";
|
@@ -5,6 +5,7 @@ import { isBoolean, isFunction } 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 useSelectOptions from "./useSelectOptions.js";
|
10
11
|
import useSelectHotkeys from "./useSelectHotkeys.js";
|
@@ -6,6 +6,7 @@ import { isUndefined, isNull, isString, isObject } from "../../_shared/utils/is.
|
|
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
|
const useSelectOptions = (params) => {
|
10
11
|
const {
|
11
12
|
computedValue,
|
@@ -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
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
8
|
...{
|
8
9
|
name: "SkeletonShape"
|
@@ -7,6 +7,7 @@ import "../_shared/utils/dom.js";
|
|
7
7
|
import "../_shared/utils/time.js";
|
8
8
|
import "../Empty/index.js";
|
9
9
|
/* empty css */
|
10
|
+
import "../_shared/utils/locale.js";
|
10
11
|
import useControlValue from "../_shared/utils/control.js";
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
13
|
__name: "SliderBtn",
|
@@ -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 useControlValue from "../../_shared/utils/control.js";
|
9
10
|
const SLIDER_CONTEXT_KEY = "slider-context";
|
10
11
|
const useContext = () => {
|
package/es/Space/index.vue.js
CHANGED
@@ -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
|
const _hoisted_1 = { class: "yc-space-item" };
|
10
11
|
const _hoisted_2 = {
|
11
12
|
key: 0,
|
package/es/Spin/index.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
|
const _hoisted_1 = { class: "yc-spin" };
|
8
9
|
const _hoisted_2 = {
|
9
10
|
key: 0,
|
package/es/Split/index.vue.js
CHANGED
@@ -4,6 +4,7 @@ import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isNumber } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useControlValue from "../_shared/utils/control.js";
|
8
9
|
/* empty css */
|
9
10
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
@@ -5,6 +5,7 @@ import { isUndefined } from "../_shared/utils/is.js";
|
|
5
5
|
import { formatSeconds } from "../_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 "./Statistic.vue.js";
|
9
10
|
/* empty css */
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -5,6 +5,7 @@ import { isUndefined, isNumber } from "../_shared/utils/is.js";
|
|
5
5
|
import { formatSeconds, formatDate } from "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
+
import "../_shared/utils/locale.js";
|
8
9
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
9
10
|
const _hoisted_1 = { class: "yc-statistic yc-statistic-countdown" };
|
10
11
|
const _hoisted_2 = {
|
package/es/Steps/Step.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/IconCheck.vue.js";
|
8
9
|
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
@@ -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 useControlValue from "../../_shared/utils/control.js";
|
10
11
|
const STEPS_CONTEXT_KEY = "card-context";
|
11
12
|
const useContext = () => {
|
package/es/Switch/index.vue.js
CHANGED
@@ -4,6 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isBoolean } from "../_shared/utils/is.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 Spin from "../Spin/index.js";
|
9
10
|
const _hoisted_1 = ["aria-checked"];
|
package/es/Tabs/TabButton.vue.js
CHANGED
package/es/Tabs/TabPane.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 useContext from "./hooks/useContext.js";
|
9
10
|
const _hoisted_1 = { class: "yc-tabs-content-item" };
|
10
11
|
const _hoisted_2 = {
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -7,6 +7,7 @@ import "../Empty/index.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
9
9
|
import _sfc_main$6 from "../_shared/icons/IconPlus.vue.js";
|
10
|
+
import "../_shared/utils/locale.js";
|
10
11
|
import useContext from "./hooks/useContext.js";
|
11
12
|
import useTabsScroll from "./hooks/useTabsScroll.js";
|
12
13
|
import _sfc_main$1 from "./TabPane.vue.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 useContext from "./hooks/useContext.js";
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
11
|
__name: "TabsNavInk",
|
package/es/Tabs/TabsTab.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 _sfc_main$1 from "./TabButton.vue.js";
|
10
11
|
/* empty css */
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -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
|
const TABS_CONTEXT_KEY = "tabs-context";
|
8
9
|
const useContext = () => {
|
@@ -5,6 +5,7 @@ import { sleep } 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 useTabsScroll = (params) => {
|
9
10
|
const { direction, panes, listRef } = params;
|
10
11
|
const isScrollable = ref(false);
|
package/es/Tag/index.vue.js
CHANGED
@@ -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 { 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 Spin from "../Spin/index.js";
|
9
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
@@ -5,6 +5,7 @@ import { 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 useTextareaHeight = (mirrorRef, autoSize) => {
|
9
10
|
if (!autoSize) {
|
10
11
|
return {};
|
package/es/Textarea/index.vue.js
CHANGED
@@ -9,6 +9,7 @@ import "../_shared/utils/dom.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
|
/* empty css */
|
13
14
|
const _hoisted_1 = ["value", "disabled", "readonly", "placeholder"];
|
14
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -4,6 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isArray } from "../_shared/utils/is.js";
|
5
5
|
import { isValidTimeRange } from "../_shared/utils/time.js";
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
|
+
import "../_shared/utils/locale.js";
|
7
8
|
import useContext from "./hooks/useContext.js";
|
8
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
9
10
|
/* empty css */
|
@@ -38,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
39
|
readonly: { type: Boolean, default: false },
|
39
40
|
error: { type: Boolean, default: false },
|
40
41
|
format: { default: "HH:mm:ss" },
|
41
|
-
placeholder: { default:
|
42
|
-
return props.type == "time-range" ? ["开始时间", "结束时间"] : "请选择时间";
|
43
|
-
} },
|
42
|
+
placeholder: { default: void 0 },
|
44
43
|
size: { default: void 0 },
|
45
44
|
popupContainer: { default: void 0 },
|
46
45
|
step: {},
|
@@ -71,7 +70,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
70
|
disabled,
|
72
71
|
curIndex,
|
73
72
|
inputRefs,
|
74
|
-
format
|
73
|
+
format,
|
74
|
+
placeholder
|
75
75
|
} = useContext().provide(props, emits);
|
76
76
|
const panelRef = ref();
|
77
77
|
const handleClear = () => {
|
@@ -163,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
163
163
|
}, [
|
164
164
|
createElementVNode("input", {
|
165
165
|
value: unref(isArray)(unref(computedValue)) ? unref(computedValue)[0] : unref(computedValue),
|
166
|
-
placeholder: unref(isArray)(
|
166
|
+
placeholder: unref(isArray)(unref(placeholder)) ? unref(placeholder)[0] : unref(placeholder),
|
167
167
|
disabled: unref(disabled),
|
168
168
|
readonly: unref(readonly),
|
169
169
|
ref: (el) => unref(inputRefs)[0] = el,
|
@@ -183,7 +183,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
183
183
|
}, [
|
184
184
|
createElementVNode("input", {
|
185
185
|
value: unref(isArray)(unref(computedValue)) ? unref(computedValue)[1] : unref(computedValue),
|
186
|
-
placeholder: unref(isArray)(
|
186
|
+
placeholder: unref(isArray)(unref(placeholder)) ? unref(placeholder)[1] : unref(placeholder),
|
187
187
|
disabled: unref(disabled),
|
188
188
|
readonly: unref(readonly),
|
189
189
|
ref: (el) => unref(inputRefs)[1] = el,
|
@@ -7,6 +7,7 @@ import { isUndefined, isArray } from "../_shared/utils/is.js";
|
|
7
7
|
import "../_shared/utils/time.js";
|
8
8
|
import "../Empty/index.js";
|
9
9
|
/* empty css */
|
10
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
10
11
|
import useContext from "./hooks/useContext.js";
|
11
12
|
import Button from "../Button/index.js";
|
12
13
|
import Scrollbar from "../Scrollbar/index.js";
|
@@ -40,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
41
|
disabledMinutes,
|
41
42
|
disabledSeconds
|
42
43
|
} = useContext().inject();
|
44
|
+
const { t } = useI18n();
|
43
45
|
const scrollRefs = ref([]);
|
44
46
|
const disabled = computed(() => {
|
45
47
|
return !curValue.value.length || curValue.value.some((val) => !`${val}`);
|
@@ -189,11 +191,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
189
191
|
});
|
190
192
|
})
|
191
193
|
}, {
|
192
|
-
default: withCtx(() =>
|
193
|
-
createTextVNode("
|
194
|
-
])
|
195
|
-
_: 1
|
196
|
-
__: [1]
|
194
|
+
default: withCtx(() => [
|
195
|
+
createTextVNode(toDisplayString(unref(t)("datePicker.now")), 1)
|
196
|
+
]),
|
197
|
+
_: 1
|
197
198
|
}),
|
198
199
|
createVNode(unref(Button), {
|
199
200
|
type: "primary",
|
@@ -201,11 +202,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
201
202
|
disabled: disabled.value,
|
202
203
|
onClick: handleConfirm
|
203
204
|
}, {
|
204
|
-
default: withCtx(() =>
|
205
|
-
createTextVNode("
|
206
|
-
])
|
207
|
-
_: 1
|
208
|
-
__: [2]
|
205
|
+
default: withCtx(() => [
|
206
|
+
createTextVNode(toDisplayString(unref(t)("datePicker.ok")), 1)
|
207
|
+
]),
|
208
|
+
_: 1
|
209
209
|
}, 8, ["disabled"])
|
210
210
|
])) : createCommentVNode("", true)
|
211
211
|
]);
|
@@ -36,6 +36,7 @@ declare const _default: () => {
|
|
36
36
|
curIndex: Ref<number, number>;
|
37
37
|
inputRefs: Ref<HTMLInputElement[], HTMLInputElement[]>;
|
38
38
|
format: Ref<string, string>;
|
39
|
+
placeholder: import('vue').ComputedRef<string | string[]>;
|
39
40
|
};
|
40
41
|
inject: () => TimePickerContext;
|
41
42
|
};
|