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/lang/zh-cn.js
ADDED
@@ -0,0 +1,204 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
const calendarLang = {
|
4
|
+
formatYear: 'YYYY 年',
|
5
|
+
formatMonth: 'YYYY 年 MM 月',
|
6
|
+
today: '今天',
|
7
|
+
view: {
|
8
|
+
month: '月',
|
9
|
+
year: '年',
|
10
|
+
week: '周',
|
11
|
+
day: '日',
|
12
|
+
},
|
13
|
+
month: {
|
14
|
+
long: {
|
15
|
+
January: '一月',
|
16
|
+
February: '二月',
|
17
|
+
March: '三月',
|
18
|
+
April: '四月',
|
19
|
+
May: '五月',
|
20
|
+
June: '六月',
|
21
|
+
July: '七月',
|
22
|
+
August: '八月',
|
23
|
+
September: '九月',
|
24
|
+
October: '十月',
|
25
|
+
November: '十一月',
|
26
|
+
December: '十二月',
|
27
|
+
},
|
28
|
+
short: {
|
29
|
+
January: '一月',
|
30
|
+
February: '二月',
|
31
|
+
March: '三月',
|
32
|
+
April: '四月',
|
33
|
+
May: '五月',
|
34
|
+
June: '六月',
|
35
|
+
July: '七月',
|
36
|
+
August: '八月',
|
37
|
+
September: '九月',
|
38
|
+
October: '十月',
|
39
|
+
November: '十一月',
|
40
|
+
December: '十二月',
|
41
|
+
},
|
42
|
+
},
|
43
|
+
week: {
|
44
|
+
long: {
|
45
|
+
self: '周',
|
46
|
+
monday: '周一',
|
47
|
+
tuesday: '周二',
|
48
|
+
wednesday: '周三',
|
49
|
+
thursday: '周四',
|
50
|
+
friday: '周五',
|
51
|
+
saturday: '周六',
|
52
|
+
sunday: '周日',
|
53
|
+
},
|
54
|
+
short: {
|
55
|
+
self: '周',
|
56
|
+
monday: '一',
|
57
|
+
tuesday: '二',
|
58
|
+
wednesday: '三',
|
59
|
+
thursday: '四',
|
60
|
+
friday: '五',
|
61
|
+
saturday: '六',
|
62
|
+
sunday: '日',
|
63
|
+
},
|
64
|
+
},
|
65
|
+
};
|
66
|
+
|
67
|
+
const lang = {
|
68
|
+
locale: 'zh-CN',
|
69
|
+
empty: {
|
70
|
+
description: '暂无数据',
|
71
|
+
},
|
72
|
+
drawer: {
|
73
|
+
okText: '确定',
|
74
|
+
cancelText: '取消',
|
75
|
+
},
|
76
|
+
popconfirm: {
|
77
|
+
okText: '确定',
|
78
|
+
cancelText: '取消',
|
79
|
+
},
|
80
|
+
modal: {
|
81
|
+
okText: '确定',
|
82
|
+
cancelText: '取消',
|
83
|
+
},
|
84
|
+
pagination: {
|
85
|
+
goto: '前往',
|
86
|
+
page: '页',
|
87
|
+
countPerPage: '条/页',
|
88
|
+
total: '共 {0} 条',
|
89
|
+
},
|
90
|
+
table: {
|
91
|
+
okText: '确定',
|
92
|
+
resetText: '重置',
|
93
|
+
},
|
94
|
+
upload: {
|
95
|
+
start: '开始',
|
96
|
+
cancel: '取消',
|
97
|
+
delete: '删除',
|
98
|
+
retry: '点击重试',
|
99
|
+
buttonText: '点击上传',
|
100
|
+
preview: '预览',
|
101
|
+
drag: '点击或拖拽文件到此处上传',
|
102
|
+
dragHover: '释放文件并开始上传',
|
103
|
+
error: '上传失败',
|
104
|
+
},
|
105
|
+
calendar: calendarLang,
|
106
|
+
datePicker: {
|
107
|
+
view: calendarLang.view,
|
108
|
+
month: calendarLang.month,
|
109
|
+
week: calendarLang.week,
|
110
|
+
placeholder: {
|
111
|
+
date: '请选择日期',
|
112
|
+
week: '请选择周',
|
113
|
+
month: '请选择月份',
|
114
|
+
year: '请选择年份',
|
115
|
+
quarter: '请选择季度',
|
116
|
+
time: '请选择时间',
|
117
|
+
},
|
118
|
+
rangePlaceholder: {
|
119
|
+
date: ['开始日期', '结束日期'],
|
120
|
+
week: ['开始周', '结束周'],
|
121
|
+
month: ['开始月份', '结束月份'],
|
122
|
+
year: ['开始年份', '结束年份'],
|
123
|
+
quarter: ['开始季度', '结束季度'],
|
124
|
+
time: ['开始时间', '结束时间'],
|
125
|
+
},
|
126
|
+
selectTime: '选择时间',
|
127
|
+
today: '今天',
|
128
|
+
now: '此刻',
|
129
|
+
ok: '确定',
|
130
|
+
},
|
131
|
+
image: {
|
132
|
+
loading: '加载中',
|
133
|
+
},
|
134
|
+
imagePreview: {
|
135
|
+
fullScreen: '全屏',
|
136
|
+
rotateRight: '向右旋转',
|
137
|
+
rotateLeft: '向左旋转',
|
138
|
+
zoomIn: '放大',
|
139
|
+
zoomOut: '缩小',
|
140
|
+
originalSize: '原始尺寸',
|
141
|
+
},
|
142
|
+
typography: {
|
143
|
+
copied: '已复制',
|
144
|
+
copy: '复制',
|
145
|
+
expand: '展开',
|
146
|
+
collapse: '折叠',
|
147
|
+
edit: '编辑',
|
148
|
+
},
|
149
|
+
form: {
|
150
|
+
validateMessages: {
|
151
|
+
required: '#{field} 是必填项',
|
152
|
+
type: {
|
153
|
+
string: '#{field} 不是合法的文本类型',
|
154
|
+
number: '#{field} 不是合法的数字类型',
|
155
|
+
boolean: '#{field} 不是合法的布尔类型',
|
156
|
+
array: '#{field} 不是合法的数组类型',
|
157
|
+
object: '#{field} 不是合法的对象类型',
|
158
|
+
url: '#{field} 不是合法的 url 地址',
|
159
|
+
email: '#{field} 不是合法的邮箱地址',
|
160
|
+
ip: '#{field} 不是合法的 IP 地址',
|
161
|
+
},
|
162
|
+
number: {
|
163
|
+
min: '`#{value}` 小于最小值 `#{min}`',
|
164
|
+
max: '`#{value}` 大于最大值 `#{max}`',
|
165
|
+
equal: '`#{value}` 不等于 `#{equal}`',
|
166
|
+
range: '`#{value}` 不在 `#{min} ~ #{max}` 范围内',
|
167
|
+
positive: '`#{value}` 不是正数',
|
168
|
+
negative: '`#{value}` 不是负数',
|
169
|
+
},
|
170
|
+
array: {
|
171
|
+
length: '`#{field}` 个数不等于 #{length}',
|
172
|
+
minLength: '`#{field}` 个数最少为 #{minLength}',
|
173
|
+
maxLength: '`#{field}` 个数最多为 #{maxLength}',
|
174
|
+
includes: '#{field} 不包含 #{includes}',
|
175
|
+
deepEqual: '#{field} 不等于 #{deepEqual}',
|
176
|
+
empty: '`#{field}` 不是空数组',
|
177
|
+
},
|
178
|
+
string: {
|
179
|
+
minLength: '字符数最少为 #{minLength}',
|
180
|
+
maxLength: '字符数最多为 #{maxLength}',
|
181
|
+
length: '字符数必须是 #{length}',
|
182
|
+
match: '`#{value}` 不符合模式 #{pattern}',
|
183
|
+
uppercase: '`#{value}` 必须全大写',
|
184
|
+
lowercase: '`#{value}` 必须全小写',
|
185
|
+
},
|
186
|
+
object: {
|
187
|
+
deepEqual: '`#{field}` 不等于期望值',
|
188
|
+
hasKeys: '`#{field}` 不包含必须字段',
|
189
|
+
empty: '`#{field}` 不是对象',
|
190
|
+
},
|
191
|
+
boolean: {
|
192
|
+
true: '期望是 `true`',
|
193
|
+
false: '期望是 `false`',
|
194
|
+
},
|
195
|
+
},
|
196
|
+
},
|
197
|
+
colorPicker: {
|
198
|
+
history: '最近使用颜色',
|
199
|
+
preset: '系统预设颜色',
|
200
|
+
empty: '暂无',
|
201
|
+
},
|
202
|
+
};
|
203
|
+
|
204
|
+
export default lang;
|
package/es/lang/zh-tw.js
ADDED
@@ -0,0 +1,204 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
const calendarLang = {
|
4
|
+
formatYear: 'YYYY 年',
|
5
|
+
formatMonth: 'YYYY 年 MM 月',
|
6
|
+
today: '今天',
|
7
|
+
view: {
|
8
|
+
month: '月',
|
9
|
+
year: '年',
|
10
|
+
week: '周',
|
11
|
+
day: '日',
|
12
|
+
},
|
13
|
+
month: {
|
14
|
+
long: {
|
15
|
+
January: '一月',
|
16
|
+
February: '二月',
|
17
|
+
March: '三月',
|
18
|
+
April: '四月',
|
19
|
+
May: '五月',
|
20
|
+
June: '六月',
|
21
|
+
July: '七月',
|
22
|
+
August: '八月',
|
23
|
+
September: '九月',
|
24
|
+
October: '十月',
|
25
|
+
November: '十一月',
|
26
|
+
December: '十二月',
|
27
|
+
},
|
28
|
+
short: {
|
29
|
+
January: '一月',
|
30
|
+
February: '二月',
|
31
|
+
March: '三月',
|
32
|
+
April: '四月',
|
33
|
+
May: '五月',
|
34
|
+
June: '六月',
|
35
|
+
July: '七月',
|
36
|
+
August: '八月',
|
37
|
+
September: '九月',
|
38
|
+
October: '十月',
|
39
|
+
November: '十一月',
|
40
|
+
December: '十二月',
|
41
|
+
},
|
42
|
+
},
|
43
|
+
week: {
|
44
|
+
long: {
|
45
|
+
self: '周',
|
46
|
+
monday: '周一',
|
47
|
+
tuesday: '周二',
|
48
|
+
wednesday: '周三',
|
49
|
+
thursday: '周四',
|
50
|
+
friday: '周五',
|
51
|
+
saturday: '周六',
|
52
|
+
sunday: '周日',
|
53
|
+
},
|
54
|
+
short: {
|
55
|
+
self: '周',
|
56
|
+
monday: '一',
|
57
|
+
tuesday: '二',
|
58
|
+
wednesday: '三',
|
59
|
+
thursday: '四',
|
60
|
+
friday: '五',
|
61
|
+
saturday: '六',
|
62
|
+
sunday: '日',
|
63
|
+
},
|
64
|
+
},
|
65
|
+
};
|
66
|
+
|
67
|
+
const lang = {
|
68
|
+
locale: 'zh-TW',
|
69
|
+
empty: {
|
70
|
+
description: '無資料',
|
71
|
+
},
|
72
|
+
drawer: {
|
73
|
+
okText: '確認',
|
74
|
+
cancelText: '取消',
|
75
|
+
},
|
76
|
+
popconfirm: {
|
77
|
+
okText: '確認',
|
78
|
+
cancelText: '取消',
|
79
|
+
},
|
80
|
+
modal: {
|
81
|
+
okText: '確認',
|
82
|
+
cancelText: '取消',
|
83
|
+
},
|
84
|
+
pagination: {
|
85
|
+
goto: '前往',
|
86
|
+
page: '頁',
|
87
|
+
countPerPage: '項/頁',
|
88
|
+
total: '共 {0} 項',
|
89
|
+
},
|
90
|
+
table: {
|
91
|
+
okText: '確認',
|
92
|
+
resetText: '重置',
|
93
|
+
},
|
94
|
+
upload: {
|
95
|
+
start: '開始',
|
96
|
+
cancel: '取消',
|
97
|
+
delete: '删除',
|
98
|
+
retry: '點擊重試',
|
99
|
+
buttonText: '點擊上傳',
|
100
|
+
preview: '預覽',
|
101
|
+
drag: '點擊或拖拽文件到此處上傳',
|
102
|
+
dragHover: '釋放文件並開始上傳',
|
103
|
+
error: '上傳失敗',
|
104
|
+
},
|
105
|
+
calendar: calendarLang,
|
106
|
+
datePicker: {
|
107
|
+
view: calendarLang.view,
|
108
|
+
month: calendarLang.month,
|
109
|
+
week: calendarLang.week,
|
110
|
+
placeholder: {
|
111
|
+
date: '請選擇日期',
|
112
|
+
week: '請選擇周',
|
113
|
+
month: '請選擇月份',
|
114
|
+
year: '請選擇年份',
|
115
|
+
quarter: '請選擇季度',
|
116
|
+
time: '請選擇時間',
|
117
|
+
},
|
118
|
+
rangePlaceholder: {
|
119
|
+
date: ['開始日期', '結束日期'],
|
120
|
+
week: ['開始周', '結束周'],
|
121
|
+
month: ['開始月份', '結束月份'],
|
122
|
+
year: ['開始年份', '結束年份'],
|
123
|
+
quarter: ['開始季度', '結束季度'],
|
124
|
+
time: ['開始時間', '結束時間'],
|
125
|
+
},
|
126
|
+
selectTime: '選擇時間',
|
127
|
+
today: '今天',
|
128
|
+
now: '此刻',
|
129
|
+
ok: '確認',
|
130
|
+
},
|
131
|
+
image: {
|
132
|
+
loading: '載入中',
|
133
|
+
},
|
134
|
+
imagePreview: {
|
135
|
+
fullScreen: '全屏',
|
136
|
+
rotateRight: '向右旋轉',
|
137
|
+
rotateLeft: '向左旋轉',
|
138
|
+
zoomIn: '放大',
|
139
|
+
zoomOut: '縮小',
|
140
|
+
originalSize: '原始尺寸',
|
141
|
+
},
|
142
|
+
typography: {
|
143
|
+
copied: '已複製',
|
144
|
+
copy: '複製',
|
145
|
+
expand: '展開',
|
146
|
+
collapse: '折疊',
|
147
|
+
edit: '編輯',
|
148
|
+
},
|
149
|
+
form: {
|
150
|
+
validateMessages: {
|
151
|
+
required: '#{field} 是必填項',
|
152
|
+
type: {
|
153
|
+
string: '#{value} 不是合法的文本類型',
|
154
|
+
number: '#{value} 不是合法的數字類型',
|
155
|
+
boolean: '#{value} 不是合法的布爾類型',
|
156
|
+
array: '#{value} 不是合法的數組類型',
|
157
|
+
object: '#{value} 不是合法的對像類型',
|
158
|
+
url: '#{value} 不是合法的 url 地址',
|
159
|
+
email: '#{value} 不是合法的郵箱地址',
|
160
|
+
ip: '#{value} 不是合法的 IP 地址',
|
161
|
+
},
|
162
|
+
number: {
|
163
|
+
min: '`#{value}` 小於最小值 `#{min}`',
|
164
|
+
max: '`#{value}` 大於最大值 `#{max}`',
|
165
|
+
equal: '`#{value}` 不等於 `#{equal}`',
|
166
|
+
range: '`#{value}` 不在 `#{min} ~ #{max}` 範圍內',
|
167
|
+
positive: '`#{value}` 不是正數',
|
168
|
+
negative: '`#{value}` 不是負數',
|
169
|
+
},
|
170
|
+
array: {
|
171
|
+
length: '`#{value}` 個數不等於 #{length}',
|
172
|
+
minLength: '`#{value}` 個數最少為 #{minLength}',
|
173
|
+
maxLength: '`#{value}` 個數最多為 #{maxLength}',
|
174
|
+
includes: '#{value} 不包含 #{includes}',
|
175
|
+
deepEqual: '#{value} 不等於 #{deepEqual}',
|
176
|
+
empty: '`#{value}` 不是空數組',
|
177
|
+
},
|
178
|
+
string: {
|
179
|
+
minLength: '字符數最少為 #{minLength}',
|
180
|
+
maxLength: '字符數最多為 #{maxLength}',
|
181
|
+
length: '`#{value}` 字符數不等於 #{length}',
|
182
|
+
match: '`#{value}` 不符合模式 #{pattern}',
|
183
|
+
uppercase: '`#{value}` 不是全大寫',
|
184
|
+
lowercase: '`#{value}` 不是全小寫',
|
185
|
+
},
|
186
|
+
object: {
|
187
|
+
deepEqual: '`#{value}` 不等於 #{deepEqual}',
|
188
|
+
hasKeys: '`#{value}` 不包含字段 #{keys}',
|
189
|
+
empty: '`#{value}` 不是對象',
|
190
|
+
},
|
191
|
+
boolean: {
|
192
|
+
true: '期望是 `true`',
|
193
|
+
false: '期望是 `false`',
|
194
|
+
},
|
195
|
+
},
|
196
|
+
},
|
197
|
+
colorPicker: {
|
198
|
+
history: '最近使用顏色',
|
199
|
+
preset: '系統預設顏色',
|
200
|
+
empty: '暫無',
|
201
|
+
},
|
202
|
+
};
|
203
|
+
|
204
|
+
export default lang;
|
@@ -0,0 +1,202 @@
|
|
1
|
+
const calendarLang = {
|
2
|
+
formatYear: "YYYY 年",
|
3
|
+
formatMonth: "YYYY 年 MM 月",
|
4
|
+
today: "今天",
|
5
|
+
view: {
|
6
|
+
month: "月",
|
7
|
+
year: "年",
|
8
|
+
week: "周",
|
9
|
+
day: "日"
|
10
|
+
},
|
11
|
+
month: {
|
12
|
+
long: {
|
13
|
+
January: "一月",
|
14
|
+
February: "二月",
|
15
|
+
March: "三月",
|
16
|
+
April: "四月",
|
17
|
+
May: "五月",
|
18
|
+
June: "六月",
|
19
|
+
July: "七月",
|
20
|
+
August: "八月",
|
21
|
+
September: "九月",
|
22
|
+
October: "十月",
|
23
|
+
November: "十一月",
|
24
|
+
December: "十二月"
|
25
|
+
},
|
26
|
+
short: {
|
27
|
+
January: "一月",
|
28
|
+
February: "二月",
|
29
|
+
March: "三月",
|
30
|
+
April: "四月",
|
31
|
+
May: "五月",
|
32
|
+
June: "六月",
|
33
|
+
July: "七月",
|
34
|
+
August: "八月",
|
35
|
+
September: "九月",
|
36
|
+
October: "十月",
|
37
|
+
November: "十一月",
|
38
|
+
December: "十二月"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
week: {
|
42
|
+
long: {
|
43
|
+
self: "周",
|
44
|
+
monday: "周一",
|
45
|
+
tuesday: "周二",
|
46
|
+
wednesday: "周三",
|
47
|
+
thursday: "周四",
|
48
|
+
friday: "周五",
|
49
|
+
saturday: "周六",
|
50
|
+
sunday: "周日"
|
51
|
+
},
|
52
|
+
short: {
|
53
|
+
self: "周",
|
54
|
+
monday: "一",
|
55
|
+
tuesday: "二",
|
56
|
+
wednesday: "三",
|
57
|
+
thursday: "四",
|
58
|
+
friday: "五",
|
59
|
+
saturday: "六",
|
60
|
+
sunday: "日"
|
61
|
+
}
|
62
|
+
}
|
63
|
+
};
|
64
|
+
const lang = {
|
65
|
+
locale: "zh-CN",
|
66
|
+
empty: {
|
67
|
+
description: "暂无数据"
|
68
|
+
},
|
69
|
+
drawer: {
|
70
|
+
okText: "确定",
|
71
|
+
cancelText: "取消"
|
72
|
+
},
|
73
|
+
popconfirm: {
|
74
|
+
okText: "确定",
|
75
|
+
cancelText: "取消"
|
76
|
+
},
|
77
|
+
modal: {
|
78
|
+
okText: "确定",
|
79
|
+
cancelText: "取消"
|
80
|
+
},
|
81
|
+
pagination: {
|
82
|
+
goto: "前往",
|
83
|
+
page: "页",
|
84
|
+
countPerPage: "条/页",
|
85
|
+
total: "共 {0} 条"
|
86
|
+
},
|
87
|
+
table: {
|
88
|
+
okText: "确定",
|
89
|
+
resetText: "重置"
|
90
|
+
},
|
91
|
+
upload: {
|
92
|
+
start: "开始",
|
93
|
+
cancel: "取消",
|
94
|
+
delete: "删除",
|
95
|
+
retry: "点击重试",
|
96
|
+
buttonText: "点击上传",
|
97
|
+
preview: "预览",
|
98
|
+
drag: "点击或拖拽文件到此处上传",
|
99
|
+
dragHover: "释放文件并开始上传",
|
100
|
+
error: "上传失败"
|
101
|
+
},
|
102
|
+
calendar: calendarLang,
|
103
|
+
datePicker: {
|
104
|
+
view: calendarLang.view,
|
105
|
+
month: calendarLang.month,
|
106
|
+
week: calendarLang.week,
|
107
|
+
placeholder: {
|
108
|
+
date: "请选择日期",
|
109
|
+
week: "请选择周",
|
110
|
+
month: "请选择月份",
|
111
|
+
year: "请选择年份",
|
112
|
+
quarter: "请选择季度",
|
113
|
+
time: "请选择时间"
|
114
|
+
},
|
115
|
+
rangePlaceholder: {
|
116
|
+
date: ["开始日期", "结束日期"],
|
117
|
+
week: ["开始周", "结束周"],
|
118
|
+
month: ["开始月份", "结束月份"],
|
119
|
+
year: ["开始年份", "结束年份"],
|
120
|
+
quarter: ["开始季度", "结束季度"],
|
121
|
+
time: ["开始时间", "结束时间"]
|
122
|
+
},
|
123
|
+
selectTime: "选择时间",
|
124
|
+
today: "今天",
|
125
|
+
now: "此刻",
|
126
|
+
ok: "确定"
|
127
|
+
},
|
128
|
+
image: {
|
129
|
+
loading: "加载中"
|
130
|
+
},
|
131
|
+
imagePreview: {
|
132
|
+
fullScreen: "全屏",
|
133
|
+
rotateRight: "向右旋转",
|
134
|
+
rotateLeft: "向左旋转",
|
135
|
+
zoomIn: "放大",
|
136
|
+
zoomOut: "缩小",
|
137
|
+
originalSize: "原始尺寸"
|
138
|
+
},
|
139
|
+
typography: {
|
140
|
+
copied: "已复制",
|
141
|
+
copy: "复制",
|
142
|
+
expand: "展开",
|
143
|
+
collapse: "折叠",
|
144
|
+
edit: "编辑"
|
145
|
+
},
|
146
|
+
form: {
|
147
|
+
validateMessages: {
|
148
|
+
required: "#{field} 是必填项",
|
149
|
+
type: {
|
150
|
+
string: "#{field} 不是合法的文本类型",
|
151
|
+
number: "#{field} 不是合法的数字类型",
|
152
|
+
boolean: "#{field} 不是合法的布尔类型",
|
153
|
+
array: "#{field} 不是合法的数组类型",
|
154
|
+
object: "#{field} 不是合法的对象类型",
|
155
|
+
url: "#{field} 不是合法的 url 地址",
|
156
|
+
email: "#{field} 不是合法的邮箱地址",
|
157
|
+
ip: "#{field} 不是合法的 IP 地址"
|
158
|
+
},
|
159
|
+
number: {
|
160
|
+
min: "`#{value}` 小于最小值 `#{min}`",
|
161
|
+
max: "`#{value}` 大于最大值 `#{max}`",
|
162
|
+
equal: "`#{value}` 不等于 `#{equal}`",
|
163
|
+
range: "`#{value}` 不在 `#{min} ~ #{max}` 范围内",
|
164
|
+
positive: "`#{value}` 不是正数",
|
165
|
+
negative: "`#{value}` 不是负数"
|
166
|
+
},
|
167
|
+
array: {
|
168
|
+
length: "`#{field}` 个数不等于 #{length}",
|
169
|
+
minLength: "`#{field}` 个数最少为 #{minLength}",
|
170
|
+
maxLength: "`#{field}` 个数最多为 #{maxLength}",
|
171
|
+
includes: "#{field} 不包含 #{includes}",
|
172
|
+
deepEqual: "#{field} 不等于 #{deepEqual}",
|
173
|
+
empty: "`#{field}` 不是空数组"
|
174
|
+
},
|
175
|
+
string: {
|
176
|
+
minLength: "字符数最少为 #{minLength}",
|
177
|
+
maxLength: "字符数最多为 #{maxLength}",
|
178
|
+
length: "字符数必须是 #{length}",
|
179
|
+
match: "`#{value}` 不符合模式 #{pattern}",
|
180
|
+
uppercase: "`#{value}` 必须全大写",
|
181
|
+
lowercase: "`#{value}` 必须全小写"
|
182
|
+
},
|
183
|
+
object: {
|
184
|
+
deepEqual: "`#{field}` 不等于期望值",
|
185
|
+
hasKeys: "`#{field}` 不包含必须字段",
|
186
|
+
empty: "`#{field}` 不是对象"
|
187
|
+
},
|
188
|
+
boolean: {
|
189
|
+
true: "期望是 `true`",
|
190
|
+
false: "期望是 `false`"
|
191
|
+
}
|
192
|
+
}
|
193
|
+
},
|
194
|
+
colorPicker: {
|
195
|
+
history: "最近使用颜色",
|
196
|
+
preset: "系统预设颜色",
|
197
|
+
empty: "暂无"
|
198
|
+
}
|
199
|
+
};
|
200
|
+
export {
|
201
|
+
lang as default
|
202
|
+
};
|
package/lib/Affix/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const r=e.defineComponent({name:"Affix",inheritAttrs:!1,__name:"index",props:{offsetTop:{default:0},offsetBottom:{default:void 0},target:{default:void 0},targetContainer:{default:void 0}},emits:["change"],setup(r,{expose:a,emit:u}){const i=r,n=u,{target:s,targetContainer:d,offsetTop:f,offsetBottom:v}=e.toRefs(i),c=e.ref(),m=e.ref(),p=e.computed(()=>l.isUndefined(s.value)?o.findFirstScrollableParent(c.value):o.getElement(s.value)),g=e.computed(()=>l.isUndefined(d.value)?o.findFirstScrollableParent(c.value):o.getElement(d.value)),h=e.ref(!1),x=e.ref({}),y=e.ref(0),_=e.ref(0);t.useResizeObserver(c,()=>{const{width:e,height:t}=c.value.getBoundingClientRect();y.value=e,_.value=t,B()},{box:"border-box"}),e.watch(()=>h.value,e=>{n("change",e)});const B=o.throttleByRaf(()=>{if(!p.value||!g.value||!m.value)return;const{top:e,bottom:t}=m.value.getBoundingClientRect(),{top:r,bottom:a}=g.value.getBoundingClientRect();h.value=l.isUndefined(v.value)?e-r<=f.value:a-t<=v.value,h.value?x.value=l.isUndefined(v.value)?{position:"fixed",top:o.valueToPx(r+f.value)}:{position:"fixed",bottom:o.valueToPx(v.value)}:x.value={}});return t.useEventListener(p,"scroll",B),a({updatePosition(){B()}}),(t,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:m},[h.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:e.unref(o.valueToPx)(y.value),height:e.unref(o.valueToPx)(_.value)})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"yc-affix":h.value},t.$attrs.class]),style:e.normalizeStyle({...x.value,...t.$attrs.style||{}}),ref_key:"affixRef",ref:c},[e.renderSlot(t.$slots,"default")],6)],512))}});module.exports=r;
|
package/lib/Alert/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../_shared/constants/index.js"),o=require("../_shared/components/IconButton.vue.js");,/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue"),t=require("../_shared/constants/index.js"),o=require("../_shared/components/IconButton.vue.js");,/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");/* empty css */const l={key:0,class:"yc-alert-icon"},n={class:"yc-alert-body"},r={key:0,class:"yc-alert-title"},s={class:"yc-alert-content"},a={key:1,class:"yc-alert-action"},c=e.defineComponent({name:"Alert",__name:"index",props:{type:{default:"info"},showIcon:{type:Boolean,default:!0},closable:{type:Boolean,default:!1},title:{default:""},banner:{type:Boolean,default:!1},center:{type:Boolean,default:!1}},emits:["close","after-close"],setup(c,{emit:i}){const d=i,m=e.ref(!0),u=e=>{m.value=!1,d("close",e)};return(c,i)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-dynamic-origin",onAfterLeave:i[0]||(i[0]=e=>c.$emit("after-close"))},{default:e.withCtx(()=>[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-alert",`yc-alert-${c.type}`,{"yc-alert-has-title":c.title||c.$slots.title,"yc-alert-center":c.center||c.banner,"yc-alert-banner":c.banner}])},[c.showIcon?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(c.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t.TYPE_ICON_MAP)[c.type])))])])):e.createCommentVNode("",!0),e.createElementVNode("div",n,[c.$slots.title||c.title?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(c.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(c.title),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",s,[e.renderSlot(c.$slots,"default")])]),c.$slots.action?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(c.$slots,"action")])):e.createCommentVNode("",!0),c.closable?(e.openBlock(),e.createElementBlock("div",{key:2,class:"yc-alert-close-btn",role:"button","aria-label":"Close",onClick:u},[e.renderSlot(c.$slots,"close-element",{},()=>[e.createVNode(e.unref(o))])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)]),_:3}))}});module.exports=c;
|
package/lib/Anchor/Anchor.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const l=require("./hooks/useContext.js"),r={class:"yc-anchor"},t={key:0,class:"yc-anchor-line-track"},n=e.defineComponent({name:"Anchor",__name:"Anchor",props:{boundary:{default:"start"},lineLess:{type:Boolean,default:!1},scrollContainer:{default:void 0},changeHash:{type:Boolean,default:!0},smooth:{type:Boolean,default:!0}},setup(n){const s=n,a=e.ref(),c=e.ref([]),{curHref:u,hrefs:i}=l().provide(s,a),d=e.computed(()=>{const e=i.value.findIndex(e=>e==u.value);return c.value.slice(0,e+1).map(e=>e.offsetHeight).reduce((o,l,r)=>r==e?o+(l-12)/2:o+l,0)+2*e});return e.onMounted(()=>{i.value.length&&(u.value=i.value[0],c.value=[...a.value.querySelectorAll(".yc-anchor-link")])}),(l,n)=>(e.openBlock(),e.createElementBlock("div",r,[l.lineLess?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",t,[e.createElementVNode("div",{class:"yc-anchor-line-slider",style:e.normalizeStyle({top:e.unref(o.valueToPx)(d.value)})},null,4)])),e.createElementVNode("div",{class:"yc-anchor-list",ref_key:"listRef",ref:a},[e.renderSlot(l.$slots,"default")],512)]))}});module.exports=n;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const r=require("./hooks/useContext.js"),l=["href"],s={key:0,class:"yc-anchor-sublist"},n=e.defineComponent({name:"AnchorLink",__name:"AnchorLink",props:{title:{default:""},href:{default:""}},setup(n){const i=n,{href:u}=e.toRefs(i),{smooth:a,boundary:c,changeHash:d,curHref:h,lineLess:f,scrollContainer:m}=r().inject(),v=e=>{if(h.value=u.value,d.value)return;e.preventDefault();const r=o.getElement(u.value);if(r)if(t.isNumber(c.value)&&m.value){const{top:e}=r.getBoundingClientRect(),{top:o}=m.value.getBoundingClientRect(),{scrollTop:t}=m.value;m.value.scrollTo({top:e-o+t-c.value,behavior:a.value?"smooth":"auto"})}else r.scrollIntoView({block:c.value,behavior:a.value?"smooth":"auto"})};return(o,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-anchor-link-item",{"yc-anchor-link-active":e.unref(h)==e.unref(u)&&!e.unref(f),"yc-anchor-link-lineless-active":e.unref(h)==e.unref(u)&&e.unref(f)}])},[e.createElementVNode("a",{href:e.unref(u),class:"yc-anchor-link",onClick:v,ref:"linkRef"},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])],8,l),o.$slots.sublist?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(o.$slots,"sublist")])):e.createCommentVNode("",!0)],2))}});module.exports=n;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../../_shared/utils/dom.js"),s=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js");const
|
1
|
+
"use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../../_shared/utils/dom.js"),s=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js");const o=require("../../_shared/utils/vue-utils.js");require("../../Empty/index.js"),/* empty css */require("../../_shared/utils/locale.js");const n=require("../AnchorLink.vue.js");;/* empty css */const t="anchor-context";module.exports=()=>({provide:(i,u)=>{const{changeHash:l,smooth:a,boundary:c,lineLess:d,scrollContainer:h}=e.toRefs(i),m=e.useSlots(),f=e.ref(""),v=e.computed(()=>{var e;return o.findComponentsFromVnodes((null==(e=m.default)?void 0:e.call(m))||[],n.name).map(e=>{var r;return null==(r=e.props)?void 0:r.href})}),j=e.computed(()=>s.isUndefined(h.value)?r.findFirstScrollableParent(u.value):r.getElement(h.value));return e.provide(t,{changeHash:l,smooth:a,boundary:c,lineLess:d,curHref:f,scrollContainer:j}),{hrefs:v,curHref:f,changeHash:l,smooth:a,boundary:c,lineLess:d,scrollContainer:j}},inject:()=>e.inject(t,{changeHash:e.ref(!0),smooth:e.ref(!0),boundary:e.ref("start"),curHref:e.ref(""),lineLess:e.ref(!1),scrollContainer:e.ref()})});
|