yc-design-vue 1.8.7 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Affix/index.vue.js +1 -0
- package/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/Alert/index.vue.js +1 -0
- package/es/Anchor/Anchor.vue.js +1 -0
- package/es/Anchor/AnchorLink.vue.js +1 -0
- package/es/Anchor/hooks/useContext.js +1 -0
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +33 -33
- package/es/AutoComplete/index.vue.js +1 -0
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/Avatar.vue.js +1 -0
- package/es/Avatar/AvatarGroup.vue.js +1 -0
- package/es/Avatar/index.d.ts +5 -5
- package/es/BackTop/index.vue.js +1 -0
- package/es/Badge/index.vue.js +1 -0
- package/es/Breadcrumb/Breadcrumb.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -0
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/hooks/useContext.js +1 -0
- package/es/Button/index.d.ts +12 -12
- package/es/Calendar/Calendar.vue.js +2 -1
- package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/es/Calendar/CalendarMonth.vue.js +1 -1
- package/es/Calendar/CalendarYear.vue.js +1 -1
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/Card.vue.js +1 -0
- package/es/Card/CardMeta.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.js +1 -0
- package/es/Card/index.d.ts +6 -6
- package/es/Carousel/Carousel.vue.js +1 -0
- package/es/Carousel/CarouselArrow.vue.js +1 -0
- package/es/Carousel/CarouselIndicator.vue.js +1 -0
- package/es/Carousel/hooks/useContext.js +1 -0
- package/es/Cascader/Cascader.vue.d.ts +17 -17
- package/es/Cascader/Cascader.vue.js +1 -0
- package/es/Cascader/CascaderIcon.vue.js +1 -0
- package/es/Cascader/CascaderOption.vue.js +1 -0
- package/es/Cascader/CascaderPanel.vue.js +1 -0
- package/es/Cascader/CascaderSearchPanel.vue.js +1 -0
- package/es/Cascader/hooks/useContext.js +1 -0
- package/es/Cascader/index.d.ts +16 -16
- package/es/Checkbox/Checkbox.vue.js +1 -0
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/hooks/useContext.js +1 -0
- package/es/Checkbox/index.d.ts +3 -3
- package/es/Collapse/CollapseItem.vue.js +1 -0
- package/es/Collapse/hooks/useContext.js +1 -0
- package/es/ColorPicker/ColorControl.vue.js +1 -0
- package/es/ColorPicker/ColorInput.vue.js +1 -0
- package/es/ColorPicker/ColorList.vue.js +7 -1
- package/es/ColorPicker/ColorPalette.vue.js +1 -0
- package/es/ColorPicker/ColorPanel.vue.js +7 -1
- package/es/ColorPicker/hooks/useContext.js +1 -0
- package/es/Comment/index.vue.js +1 -0
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/ConfigProvider/index.vue.js +4 -12
- package/es/ConfigProvider/type.d.ts +3 -2
- package/es/Descriptions/ReuseItem.vue.js +1 -0
- package/es/Descriptions/ReuseTd.vue.js +1 -0
- package/es/Descriptions/hooks/useContext.js +1 -0
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Divider/index.vue.js +1 -0
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +2 -1
- package/es/Drawer/DrawerService.vue.d.ts +2 -2
- package/es/Drawer/DrawerService.vue.js +1 -0
- package/es/Drawer/index.d.ts +11 -11
- package/es/Dropdown/Dropdown.vue.js +1 -0
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/DropdownButton.vue.js +1 -0
- package/es/Dropdown/Dsubmenu.vue.js +1 -0
- package/es/Dropdown/hooks/useContext.js +1 -0
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -1
- package/es/Grid/Grid.vue.js +1 -0
- package/es/Grid/GridCol.vue.js +1 -0
- package/es/Grid/GridItem.vue.js +1 -0
- package/es/Grid/GridRow.vue.js +1 -0
- package/es/Grid/hooks/useContext.js +1 -0
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -1
- package/es/Image/ImagePreview.vue.js +1 -0
- package/es/Image/ImagePreviewArrow.vue.js +1 -0
- package/es/Image/ImagePreviewToolbar.vue.js +8 -7
- package/es/Image/hooks/useContext.js +1 -0
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/Input.vue.js +1 -0
- package/es/Input/InputSuffix.vue.js +1 -0
- package/es/Input/hooks/useLimitedInput.js +1 -0
- package/es/Input/index.d.ts +9 -9
- package/es/InputNumber/InputNumber.vue.d.ts +18 -18
- package/es/InputNumber/InputNumber.vue.js +1 -0
- package/es/InputNumber/InputOperaBtn.vue.js +1 -0
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputTag/index.d.ts +6 -6
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue.js +1 -0
- package/es/Layout/Layout.vue.js +1 -0
- package/es/Layout/LayoutSider.vue.js +1 -0
- package/es/Layout/hooks/useSiderContext.js +1 -0
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/index.vue.js +1 -0
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/List.vue.js +1 -0
- package/es/List/ListItemMeta.vue.d.ts +1 -1
- package/es/List/hooks/useScrollReach.js +1 -0
- package/es/List/index.d.ts +9 -9
- package/es/Mention/index.d.ts +22 -22
- package/es/Mention/index.vue.d.ts +39 -39
- package/es/Mention/index.vue.js +1 -0
- package/es/Menu/Menu.vue.js +1 -0
- package/es/Menu/MenuEllipsis.vue.js +1 -0
- package/es/Menu/MenuItem.vue.js +1 -0
- package/es/Menu/MenuItemGroup.vue.js +1 -0
- package/es/Menu/SubMenu.vue.js +1 -0
- package/es/Menu/hooks/useContext.js +1 -0
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/Message.vue.js +1 -0
- package/es/Message/index.d.ts +3 -3
- package/es/Message/index.js +1 -0
- package/es/Modal/Modal.vue.d.ts +4 -4
- package/es/Modal/Modal.vue.js +2 -1
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/ModalService.vue.js +1 -0
- package/es/Modal/hooks/useModalClose.js +1 -0
- package/es/Modal/hooks/useModalDraggable.js +1 -0
- package/es/Modal/hooks/useOnBeforeClose.js +1 -0
- package/es/Modal/index.d.ts +11 -11
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/Notification.vue.js +1 -0
- package/es/Notification/index.d.ts +3 -3
- package/es/Notification/index.js +1 -0
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/OverflowList/index.vue.js +1 -0
- package/es/PageHeader/index.vue.js +1 -0
- package/es/Pagination/Pagination.vue.js +6 -2
- package/es/Pagination/PaginationItem.vue.js +1 -0
- package/es/Pagination/hooks/useContext.d.ts +1 -256
- package/es/Pagination/hooks/useContext.js +2 -1
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +7 -7
- package/es/Popconfirm/index.vue.js +2 -1
- package/es/Popover/index.vue.js +1 -0
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/Progress.vue.js +1 -0
- package/es/Progress/ProgressCircle.vue.js +1 -0
- package/es/Progress/ProgressLine.vue.js +1 -0
- package/es/Progress/ProgressSteps.vue.js +1 -0
- package/es/Progress/index.d.ts +3 -3
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/Radio.vue.js +1 -0
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/hooks/useContext.js +1 -0
- package/es/Radio/index.d.ts +6 -6
- package/es/Rate/index.vue.js +1 -0
- package/es/ResizeBox/index.vue.js +1 -0
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.js +1 -0
- package/es/Scrollbar/ScrollbarTrack.vue.js +1 -0
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Option.vue.js +1 -0
- package/es/Select/Select.vue.d.ts +26 -26
- package/es/Select/Select.vue.js +1 -0
- package/es/Select/SelectIcon.vue.js +1 -0
- package/es/Select/SelectRealList.vue.js +1 -0
- package/es/Select/SelectView.vue.js +1 -0
- package/es/Select/SelectVirtualList.vue.js +1 -0
- package/es/Select/hooks/useContext.js +1 -0
- package/es/Select/hooks/useSelectOptions.js +1 -0
- package/es/Select/index.d.ts +14 -14
- package/es/Skeleton/SkeletonLine.vue.js +1 -0
- package/es/Skeleton/SkeletonShape.vue.js +1 -0
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/SliderBtn.vue.js +1 -0
- package/es/Slider/hooks/useContext.js +1 -0
- package/es/Slider/hooks/useSliderDraggable.js +1 -0
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Space/index.vue.js +1 -0
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +1 -0
- package/es/Split/index.d.ts +6 -6
- package/es/Split/index.vue.d.ts +2 -2
- package/es/Split/index.vue.js +1 -0
- package/es/Statistic/Countdown.vue.d.ts +2 -2
- package/es/Statistic/Countdown.vue.js +1 -0
- package/es/Statistic/Statistic.vue.d.ts +2 -2
- package/es/Statistic/Statistic.vue.js +1 -0
- package/es/Statistic/index.d.ts +12 -12
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Step.vue.js +1 -0
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/hooks/useContext.js +1 -0
- package/es/Steps/index.d.ts +6 -6
- package/es/Switch/index.d.ts +6 -6
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Switch/index.vue.js +1 -0
- package/es/Tabs/TabButton.vue.js +1 -0
- package/es/Tabs/TabPane.vue.js +1 -0
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/Tabs.vue.js +1 -0
- package/es/Tabs/TabsNavInk.vue.js +1 -0
- package/es/Tabs/TabsTab.vue.js +1 -0
- package/es/Tabs/hooks/useContext.js +1 -0
- package/es/Tabs/hooks/useTabsScroll.js +1 -0
- package/es/Tabs/index.d.ts +8 -8
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Tag/index.vue.js +1 -0
- package/es/Textarea/hooks/useTextareaHeight.js +1 -0
- package/es/Textarea/index.d.ts +6 -6
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/Textarea/index.vue.js +1 -0
- package/es/TimePicker/TimePicker.vue.d.ts +3 -3
- package/es/TimePicker/TimePicker.vue.js +6 -6
- package/es/TimePicker/TimePickerPanel.vue.js +10 -10
- package/es/TimePicker/hooks/useContext.d.ts +1 -0
- package/es/TimePicker/hooks/useContext.js +11 -2
- package/es/TimePicker/index.d.ts +9 -9
- package/es/Timeline/TimelineItemPending.vue.js +1 -0
- package/es/Timeline/hooks/useContext.js +1 -0
- package/es/Tooltip/index.vue.js +1 -0
- package/es/Transfer/Transfer.vue.js +1 -0
- package/es/Transfer/TransferPanel.vue.js +1 -0
- package/es/Transfer/hooks/useContext.js +1 -0
- package/es/Trigger/hooks/useContext.js +1 -0
- package/es/Trigger/hooks/useTriggerPosition.js +1 -0
- package/es/Trigger/hooks/useTriggerVisible.js +1 -0
- package/es/Trigger/index.vue.js +1 -0
- package/es/Typography/TypographyBase.vue.d.ts +19 -19
- package/es/Typography/TypographyBase.vue.js +2 -1
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/VerificationCode/index.vue.js +1 -0
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +1 -0
- package/es/_lang/ar-eg.d.ts +206 -0
- package/es/_lang/de-de.d.ts +206 -0
- package/es/_lang/en-us.d.ts +254 -0
- package/es/_lang/es-es.d.ts +206 -0
- package/es/_lang/fr-fr.d.ts +206 -0
- package/es/_lang/id-id.d.ts +206 -0
- package/es/_lang/index.css +0 -0
- package/es/_lang/interface.d.ts +151 -0
- package/es/_lang/it-it.d.ts +206 -0
- package/es/_lang/ja-jp.d.ts +254 -0
- package/es/_lang/km-kh.d.ts +206 -0
- package/es/_lang/ko-kr.d.ts +206 -0
- package/es/_lang/ms-my.d.ts +206 -0
- package/es/_lang/nl-nl.d.ts +254 -0
- package/es/_lang/pt-pt.d.ts +206 -0
- package/es/_lang/ru-ru.d.ts +254 -0
- package/es/_lang/th-th.d.ts +206 -0
- package/es/_lang/vi-vn.d.ts +206 -0
- package/es/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
- package/es/_lang/zh-cn.js +202 -0
- package/es/_lang/zh-tw.d.ts +254 -0
- package/es/_shared/components/ExpandTransition.vue2.js +1 -0
- package/es/_shared/components/Icon.vue3.js +1 -0
- package/es/_shared/components/IconButton.vue.js +1 -0
- package/es/_shared/constants/index.js +1 -0
- package/es/_shared/icons/IconFullScreen.vue.js +1 -17
- package/es/_shared/icons/IconFullScreen.vue2.js +17 -1
- package/es/_shared/icons/IconOriginSize.vue.js +1 -23
- package/es/_shared/icons/IconOriginSize.vue2.js +23 -1
- package/es/_shared/icons/IconRotateLeft.vue.js +1 -17
- package/es/_shared/icons/IconRotateLeft.vue2.js +17 -1
- package/es/_shared/icons/IconRotateRight.vue.js +1 -17
- package/es/_shared/icons/IconRotateRight.vue2.js +17 -1
- package/es/_shared/icons/IconZoomIn.vue.js +1 -17
- package/es/_shared/icons/IconZoomIn.vue2.js +17 -1
- package/es/_shared/icons/IconZoomOut.vue.js +1 -17
- package/es/_shared/icons/IconZoomOut.vue2.js +17 -1
- package/es/_shared/utils/control.js +1 -0
- package/es/_shared/utils/global-config.d.ts +3 -1
- package/es/_shared/utils/global-config.js +4 -0
- package/es/_shared/utils/index.d.ts +1 -0
- package/es/_shared/utils/locale.d.ts +22 -0
- package/es/_shared/utils/locale.js +39 -0
- package/es/index.d.ts +27 -27
- package/es/index.js +0 -2
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +33 -33
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/index.d.ts +5 -5
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/Button.vue.d.ts +3 -3
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.d.ts +12 -12
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/Card.vue.js +1 -1
- package/lib/Card/CardMeta.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/index.d.ts +6 -6
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +17 -17
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +16 -16
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +3 -2
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +2 -2
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Input/Input.vue.d.ts +3 -3
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/Input/index.d.ts +9 -9
- package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputTag/index.d.ts +6 -6
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/List.vue.js +1 -1
- package/lib/List/ListItemMeta.vue.d.ts +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +9 -9
- package/lib/Mention/index.d.ts +22 -22
- package/lib/Mention/index.vue.d.ts +39 -39
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.d.ts +4 -4
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Modal/index.d.ts +11 -11
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.d.ts +3 -3
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +1 -256
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.vue.d.ts +7 -7
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/Progress.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Progress/index.d.ts +3 -3
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +26 -26
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +14 -14
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.d.ts +6 -6
- package/lib/Split/index.vue.d.ts +2 -2
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.d.ts +2 -2
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Statistic/index.d.ts +12 -12
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Steps/index.d.ts +6 -6
- package/lib/Switch/index.d.ts +6 -6
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tabs/index.d.ts +8 -8
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +6 -6
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +1 -0
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +9 -9
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +19 -19
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_lang/ar-eg.d.ts +206 -0
- package/lib/_lang/de-de.d.ts +206 -0
- package/lib/_lang/en-us.d.ts +254 -0
- package/lib/_lang/es-es.d.ts +206 -0
- package/lib/_lang/fr-fr.d.ts +206 -0
- package/lib/_lang/id-id.d.ts +206 -0
- package/lib/_lang/index.css +0 -0
- package/lib/_lang/interface.d.ts +151 -0
- package/lib/_lang/it-it.d.ts +206 -0
- package/lib/_lang/ja-jp.d.ts +254 -0
- package/lib/_lang/km-kh.d.ts +206 -0
- package/lib/_lang/ko-kr.d.ts +206 -0
- package/lib/_lang/ms-my.d.ts +206 -0
- package/lib/_lang/nl-nl.d.ts +254 -0
- package/lib/_lang/pt-pt.d.ts +206 -0
- package/lib/_lang/ru-ru.d.ts +254 -0
- package/lib/_lang/th-th.d.ts +206 -0
- package/lib/_lang/vi-vn.d.ts +206 -0
- package/lib/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
- package/lib/_lang/zh-cn.js +1 -0
- package/lib/_lang/zh-tw.d.ts +254 -0
- package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +3 -1
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/index.d.ts +1 -0
- package/lib/_shared/utils/locale.d.ts +22 -0
- package/lib/_shared/utils/locale.js +1 -0
- package/lib/index.d.ts +27 -27
- package/lib/index.js +1 -1
- package/package.json +10 -22
- package/es/_shared/locale/i18n.d.ts +0 -512
- package/es/_shared/locale/i18n.js +0 -43
- package/es/_shared/locale/lang/ar-eg.json.js +0 -251
- package/es/_shared/locale/lang/de-de.json.d.ts +0 -207
- package/es/_shared/locale/lang/de-de.json.js +0 -251
- package/es/_shared/locale/lang/en-us.json.d.ts +0 -210
- package/es/_shared/locale/lang/en-us.json.js +0 -256
- package/es/_shared/locale/lang/es-es.json.d.ts +0 -207
- package/es/_shared/locale/lang/es-es.json.js +0 -251
- package/es/_shared/locale/lang/fr-fr.json.d.ts +0 -207
- package/es/_shared/locale/lang/fr-fr.json.js +0 -251
- package/es/_shared/locale/lang/id-id.json.d.ts +0 -207
- package/es/_shared/locale/lang/id-id.json.js +0 -251
- package/es/_shared/locale/lang/it-it.json.d.ts +0 -207
- package/es/_shared/locale/lang/it-it.json.js +0 -251
- package/es/_shared/locale/lang/ja-jp.json.d.ts +0 -255
- package/es/_shared/locale/lang/ja-jp.json.js +0 -301
- package/es/_shared/locale/lang/km-kh.json.d.ts +0 -207
- package/es/_shared/locale/lang/km-kh.json.js +0 -251
- package/es/_shared/locale/lang/ko-kr.json.d.ts +0 -207
- package/es/_shared/locale/lang/ko-kr.json.js +0 -251
- package/es/_shared/locale/lang/ms-my.json.d.ts +0 -207
- package/es/_shared/locale/lang/ms-my.json.js +0 -251
- package/es/_shared/locale/lang/nl-nl.json.d.ts +0 -255
- package/es/_shared/locale/lang/nl-nl.json.js +0 -301
- package/es/_shared/locale/lang/pt-pt.json.d.ts +0 -207
- package/es/_shared/locale/lang/pt-pt.json.js +0 -251
- package/es/_shared/locale/lang/ru-ru.json.d.ts +0 -255
- package/es/_shared/locale/lang/ru-ru.json.js +0 -301
- package/es/_shared/locale/lang/th-th.json.d.ts +0 -207
- package/es/_shared/locale/lang/th-th.json.js +0 -251
- package/es/_shared/locale/lang/vi-vn.json.d.ts +0 -207
- package/es/_shared/locale/lang/vi-vn.json.js +0 -251
- package/es/_shared/locale/lang/zh-cn.json.d.ts +0 -255
- package/es/_shared/locale/lang/zh-cn.json.js +0 -301
- package/es/_shared/locale/lang/zh-tw.json.d.ts +0 -255
- package/es/_shared/locale/lang/zh-tw.json.js +0 -301
- package/es/node_modules/@intlify/core-base/dist/core-base.js +0 -1126
- package/es/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -65
- package/es/node_modules/@intlify/shared/dist/shared.js +0 -199
- package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1375
- package/es/node_modules/@vue/devtools-api/lib/esm/const.js +0 -6
- package/es/node_modules/@vue/devtools-api/lib/esm/env.js +0 -12
- package/es/node_modules/@vue/devtools-api/lib/esm/index.js +0 -26
- package/es/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -103
- package/es/node_modules/@vue/devtools-api/lib/esm/time.js +0 -25
- package/lib/_shared/locale/i18n.d.ts +0 -512
- package/lib/_shared/locale/i18n.js +0 -1
- package/lib/_shared/locale/lang/ar-eg.json.js +0 -1
- package/lib/_shared/locale/lang/de-de.json.d.ts +0 -207
- package/lib/_shared/locale/lang/de-de.json.js +0 -1
- package/lib/_shared/locale/lang/en-us.json.d.ts +0 -210
- package/lib/_shared/locale/lang/en-us.json.js +0 -1
- package/lib/_shared/locale/lang/es-es.json.d.ts +0 -207
- package/lib/_shared/locale/lang/es-es.json.js +0 -1
- package/lib/_shared/locale/lang/fr-fr.json.d.ts +0 -207
- package/lib/_shared/locale/lang/fr-fr.json.js +0 -1
- package/lib/_shared/locale/lang/id-id.json.d.ts +0 -207
- package/lib/_shared/locale/lang/id-id.json.js +0 -1
- package/lib/_shared/locale/lang/it-it.json.d.ts +0 -207
- package/lib/_shared/locale/lang/it-it.json.js +0 -1
- package/lib/_shared/locale/lang/ja-jp.json.d.ts +0 -255
- package/lib/_shared/locale/lang/ja-jp.json.js +0 -1
- package/lib/_shared/locale/lang/km-kh.json.d.ts +0 -207
- package/lib/_shared/locale/lang/km-kh.json.js +0 -1
- package/lib/_shared/locale/lang/ko-kr.json.d.ts +0 -207
- package/lib/_shared/locale/lang/ko-kr.json.js +0 -1
- package/lib/_shared/locale/lang/ms-my.json.d.ts +0 -207
- package/lib/_shared/locale/lang/ms-my.json.js +0 -1
- package/lib/_shared/locale/lang/nl-nl.json.d.ts +0 -255
- package/lib/_shared/locale/lang/nl-nl.json.js +0 -1
- package/lib/_shared/locale/lang/pt-pt.json.d.ts +0 -207
- package/lib/_shared/locale/lang/pt-pt.json.js +0 -1
- package/lib/_shared/locale/lang/ru-ru.json.d.ts +0 -255
- package/lib/_shared/locale/lang/ru-ru.json.js +0 -1
- package/lib/_shared/locale/lang/th-th.json.d.ts +0 -207
- package/lib/_shared/locale/lang/th-th.json.js +0 -1
- package/lib/_shared/locale/lang/vi-vn.json.d.ts +0 -207
- package/lib/_shared/locale/lang/vi-vn.json.js +0 -1
- package/lib/_shared/locale/lang/zh-cn.json.d.ts +0 -255
- package/lib/_shared/locale/lang/zh-cn.json.js +0 -1
- package/lib/_shared/locale/lang/zh-tw.json.d.ts +0 -255
- package/lib/_shared/locale/lang/zh-tw.json.js +0 -1
- package/lib/node_modules/@intlify/core-base/dist/core-base.js +0 -1
- package/lib/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -6
- package/lib/node_modules/@intlify/shared/dist/shared.js +0 -7
- package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/const.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/env.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/index.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/time.js +0 -1
@@ -1,255 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
"empty": {
|
3
|
-
"description": "暂无数据"
|
4
|
-
},
|
5
|
-
"drawer": {
|
6
|
-
"okText": "确定",
|
7
|
-
"cancelText": "取消"
|
8
|
-
},
|
9
|
-
"popconfirm": {
|
10
|
-
"okText": "确定",
|
11
|
-
"cancelText": "取消"
|
12
|
-
},
|
13
|
-
"modal": {
|
14
|
-
"okText": "确定",
|
15
|
-
"cancelText": "取消"
|
16
|
-
},
|
17
|
-
"pagination": {
|
18
|
-
"goto": "前往",
|
19
|
-
"page": "页",
|
20
|
-
"countPerPage": "条/页",
|
21
|
-
"total": "共 {0} 条"
|
22
|
-
},
|
23
|
-
"calendar": {
|
24
|
-
"formatYear": "YYYY 年",
|
25
|
-
"formatMonth": "YYYY 年 MM 月",
|
26
|
-
"today": "今天",
|
27
|
-
"view": {
|
28
|
-
"month": "月",
|
29
|
-
"year": "年",
|
30
|
-
"week": "周",
|
31
|
-
"day": "日"
|
32
|
-
},
|
33
|
-
"month": {
|
34
|
-
"long": {
|
35
|
-
"January": "一月",
|
36
|
-
"February": "二月",
|
37
|
-
"March": "三月",
|
38
|
-
"April": "四月",
|
39
|
-
"May": "五月",
|
40
|
-
"June": "六月",
|
41
|
-
"July": "七月",
|
42
|
-
"August": "八月",
|
43
|
-
"September": "九月",
|
44
|
-
"October": "十月",
|
45
|
-
"November": "十一月",
|
46
|
-
"December": "十二月"
|
47
|
-
},
|
48
|
-
"short": {
|
49
|
-
"January": "一月",
|
50
|
-
"February": "二月",
|
51
|
-
"March": "三月",
|
52
|
-
"April": "四月",
|
53
|
-
"May": "五月",
|
54
|
-
"June": "六月",
|
55
|
-
"July": "七月",
|
56
|
-
"August": "八月",
|
57
|
-
"September": "九月",
|
58
|
-
"October": "十月",
|
59
|
-
"November": "十一月",
|
60
|
-
"December": "十二月"
|
61
|
-
}
|
62
|
-
},
|
63
|
-
"week": {
|
64
|
-
"long": {
|
65
|
-
"self": "周",
|
66
|
-
"monday": "周一",
|
67
|
-
"tuesday": "周二",
|
68
|
-
"wednesday": "周三",
|
69
|
-
"thursday": "周四",
|
70
|
-
"friday": "周五",
|
71
|
-
"saturday": "周六",
|
72
|
-
"sunday": "周日"
|
73
|
-
},
|
74
|
-
"short": {
|
75
|
-
"self": "周",
|
76
|
-
"monday": "一",
|
77
|
-
"tuesday": "二",
|
78
|
-
"wednesday": "三",
|
79
|
-
"thursday": "四",
|
80
|
-
"friday": "五",
|
81
|
-
"saturday": "六",
|
82
|
-
"sunday": "日"
|
83
|
-
}
|
84
|
-
}
|
85
|
-
},
|
86
|
-
"image": {
|
87
|
-
"loading": "加载中"
|
88
|
-
},
|
89
|
-
"imagePreview": {
|
90
|
-
"fullScreen": "全屏",
|
91
|
-
"rotateRight": "向右旋转",
|
92
|
-
"rotateLeft": "向左旋转",
|
93
|
-
"zoomIn": "放大",
|
94
|
-
"zoomOut": "缩小",
|
95
|
-
"originalSize": "原始尺寸"
|
96
|
-
},
|
97
|
-
"typography": {
|
98
|
-
"copied": "已复制",
|
99
|
-
"copy": "复制",
|
100
|
-
"expand": "展开",
|
101
|
-
"collapse": "折叠",
|
102
|
-
"edit": "编辑"
|
103
|
-
},
|
104
|
-
"colorPicker": {
|
105
|
-
"history": "最近使用颜色",
|
106
|
-
"preset": "系统预设颜色",
|
107
|
-
"empty": "暂无"
|
108
|
-
},
|
109
|
-
"table": {
|
110
|
-
"okText": "确定",
|
111
|
-
"resetText": "重置"
|
112
|
-
},
|
113
|
-
"upload": {
|
114
|
-
"start": "开始",
|
115
|
-
"cancel": "取消",
|
116
|
-
"delete": "删除",
|
117
|
-
"retry": "点击重试",
|
118
|
-
"buttonText": "点击上传",
|
119
|
-
"preview": "预览",
|
120
|
-
"drag": "点击或拖拽文件到此处上传",
|
121
|
-
"dragHover": "释放文件并开始上传",
|
122
|
-
"error": "上传失败"
|
123
|
-
},
|
124
|
-
"datePicker": {
|
125
|
-
"view": {
|
126
|
-
"month": "月",
|
127
|
-
"year": "年",
|
128
|
-
"week": "周",
|
129
|
-
"day": "日"
|
130
|
-
},
|
131
|
-
"month": {
|
132
|
-
"long": {
|
133
|
-
"January": "一月",
|
134
|
-
"February": "二月",
|
135
|
-
"March": "三月",
|
136
|
-
"April": "四月",
|
137
|
-
"May": "五月",
|
138
|
-
"June": "六月",
|
139
|
-
"July": "七月",
|
140
|
-
"August": "八月",
|
141
|
-
"September": "九月",
|
142
|
-
"October": "十月",
|
143
|
-
"November": "十一月",
|
144
|
-
"December": "十二月"
|
145
|
-
},
|
146
|
-
"short": {
|
147
|
-
"January": "一月",
|
148
|
-
"February": "二月",
|
149
|
-
"March": "三月",
|
150
|
-
"April": "四月",
|
151
|
-
"May": "五月",
|
152
|
-
"June": "六月",
|
153
|
-
"July": "七月",
|
154
|
-
"August": "八月",
|
155
|
-
"September": "九月",
|
156
|
-
"October": "十月",
|
157
|
-
"November": "十一月",
|
158
|
-
"December": "十二月"
|
159
|
-
}
|
160
|
-
},
|
161
|
-
"week": {
|
162
|
-
"long": {
|
163
|
-
"self": "周",
|
164
|
-
"monday": "周一",
|
165
|
-
"tuesday": "周二",
|
166
|
-
"wednesday": "周三",
|
167
|
-
"thursday": "周四",
|
168
|
-
"friday": "周五",
|
169
|
-
"saturday": "周六",
|
170
|
-
"sunday": "周日"
|
171
|
-
},
|
172
|
-
"short": {
|
173
|
-
"self": "周",
|
174
|
-
"monday": "一",
|
175
|
-
"tuesday": "二",
|
176
|
-
"wednesday": "三",
|
177
|
-
"thursday": "四",
|
178
|
-
"friday": "五",
|
179
|
-
"saturday": "六",
|
180
|
-
"sunday": "日"
|
181
|
-
}
|
182
|
-
},
|
183
|
-
"placeholder": {
|
184
|
-
"date": "请选择日期",
|
185
|
-
"week": "请选择周",
|
186
|
-
"month": "请选择月份",
|
187
|
-
"year": "请选择年份",
|
188
|
-
"quarter": "请选择季度",
|
189
|
-
"time": "请选择时间"
|
190
|
-
},
|
191
|
-
"rangePlaceholder": {
|
192
|
-
"date": ["开始日期", "结束日期"],
|
193
|
-
"week": ["开始周", "结束周"],
|
194
|
-
"month": ["开始月份", "结束月份"],
|
195
|
-
"year": ["开始年份", "结束年份"],
|
196
|
-
"quarter": ["开始季度", "结束季度"],
|
197
|
-
"time": ["开始时间", "结束时间"]
|
198
|
-
},
|
199
|
-
"selectTime": "选择时间",
|
200
|
-
"today": "今天",
|
201
|
-
"now": "此刻",
|
202
|
-
"ok": "确定"
|
203
|
-
},
|
204
|
-
"form": {
|
205
|
-
"validateMessages": {
|
206
|
-
"required": "#{field} 是必填项",
|
207
|
-
"type": {
|
208
|
-
"string": "#{field} 不是合法的文本类型",
|
209
|
-
"number": "#{field} 不是合法的数字类型",
|
210
|
-
"boolean": "#{field} 不是合法的布尔类型",
|
211
|
-
"array": "#{field} 不是合法的数组类型",
|
212
|
-
"object": "#{field} 不是合法的对象类型",
|
213
|
-
"url": "#{field} 不是合法的 url 地址",
|
214
|
-
"email": "#{field} 不是合法的邮箱地址",
|
215
|
-
"ip": "#{field} 不是合法的 IP 地址"
|
216
|
-
},
|
217
|
-
"number": {
|
218
|
-
"min": "`#{value}` 小于最小值 `#{min}`",
|
219
|
-
"max": "`#{value}` 大于最大值 `#{max}`",
|
220
|
-
"equal": "`#{value}` 不等于 `#{equal}`",
|
221
|
-
"range": "`#{value}` 不在 `#{min} ~ #{max}` 范围内",
|
222
|
-
"positive": "`#{value}` 不是正数",
|
223
|
-
"negative": "`#{value}` 不是负数"
|
224
|
-
},
|
225
|
-
"array": {
|
226
|
-
"length": "`#{field}` 个数不等于 #{length}",
|
227
|
-
"minLength": "`#{field}` 个数最少为 #{minLength}",
|
228
|
-
"maxLength": "`#{field}` 个数最多为 #{maxLength}",
|
229
|
-
"includes": "#{field} 不包含 #{includes}",
|
230
|
-
"deepEqual": "#{field} 不等于 #{deepEqual}",
|
231
|
-
"empty": "`#{field}` 不是空数组"
|
232
|
-
},
|
233
|
-
"string": {
|
234
|
-
"minLength": "字符数最少为 #{minLength}",
|
235
|
-
"maxLength": "字符数最多为 #{maxLength}",
|
236
|
-
"length": "字符数必须是 #{length}",
|
237
|
-
"match": "`#{value}` 不符合模式 #{pattern}",
|
238
|
-
"uppercase": "`#{value}` 必须全大写",
|
239
|
-
"lowercase": "`#{value}` 必须全小写"
|
240
|
-
},
|
241
|
-
"object": {
|
242
|
-
"deepEqual": "`#{field}` 不等于期望值",
|
243
|
-
"hasKeys": "`#{field}` 不包含必须字段",
|
244
|
-
"empty": "`#{field}` 不是对象"
|
245
|
-
},
|
246
|
-
"boolean": {
|
247
|
-
"true": "期望是 `true`",
|
248
|
-
"false": "期望是 `false`"
|
249
|
-
}
|
250
|
-
}
|
251
|
-
}
|
252
|
-
}
|
253
|
-
;
|
254
|
-
|
255
|
-
export default _default;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={description:"暂无数据"},a={okText:"确定",cancelText:"取消"},r={okText:"确定",cancelText:"取消"},t={okText:"确定",cancelText:"取消"},o={goto:"前往",page:"页",countPerPage:"条/页",total:"共 {0} 条"},l={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}},d={loading:"加载中"},n={fullScreen:"全屏",rotateRight:"向右旋转",rotateLeft:"向左旋转",zoomIn:"放大",zoomOut:"缩小",originalSize:"原始尺寸"},i={copied:"已复制",copy:"复制",expand:"展开",collapse:"折叠",edit:"编辑"},u={history:"最近使用颜色",preset:"系统预设颜色",empty:"暂无"},s={okText:"确定",resetText:"重置"},y={start:"开始",cancel:"取消",delete:"删除",retry:"点击重试",buttonText:"点击上传",preview:"预览",drag:"点击或拖拽文件到此处上传",dragHover:"释放文件并开始上传",error:"上传失败"},m={view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}},placeholder:{date:"请选择日期",week:"请选择周",month:"请选择月份",year:"请选择年份",quarter:"请选择季度",time:"请选择时间"},rangePlaceholder:{date:["开始日期","结束日期"],week:["开始周","结束周"],month:["开始月份","结束月份"],year:["开始年份","结束年份"],quarter:["开始季度","结束季度"],time:["开始时间","结束时间"]},selectTime:"选择时间",today:"今天",now:"此刻",ok:"确定"},p={validateMessages:{required:"#{field} 是必填项",type:{string:"#{field} 不是合法的文本类型",number:"#{field} 不是合法的数字类型",boolean:"#{field} 不是合法的布尔类型",array:"#{field} 不是合法的数组类型",object:"#{field} 不是合法的对象类型",url:"#{field} 不是合法的 url 地址",email:"#{field} 不是合法的邮箱地址",ip:"#{field} 不是合法的 IP 地址"},number:{min:"`#{value}` 小于最小值 `#{min}`",max:"`#{value}` 大于最大值 `#{max}`",equal:"`#{value}` 不等于 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 范围内",positive:"`#{value}` 不是正数",negative:"`#{value}` 不是负数"},array:{length:"`#{field}` 个数不等于 #{length}",minLength:"`#{field}` 个数最少为 #{minLength}",maxLength:"`#{field}` 个数最多为 #{maxLength}",includes:"#{field} 不包含 #{includes}",deepEqual:"#{field} 不等于 #{deepEqual}",empty:"`#{field}` 不是空数组"},string:{minLength:"字符数最少为 #{minLength}",maxLength:"字符数最多为 #{maxLength}",length:"字符数必须是 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 必须全大写",lowercase:"`#{value}` 必须全小写"},object:{deepEqual:"`#{field}` 不等于期望值",hasKeys:"`#{field}` 不包含必须字段",empty:"`#{field}` 不是对象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}},c={empty:e,drawer:a,popconfirm:r,modal:t,pagination:o,calendar:l,image:d,imagePreview:n,typography:i,colorPicker:u,table:s,upload:y,datePicker:m,form:p};exports.calendar=l,exports.colorPicker=u,exports.datePicker=m,exports.default=c,exports.drawer=a,exports.empty=e,exports.form=p,exports.image=d,exports.imagePreview=n,exports.modal=t,exports.pagination=o,exports.popconfirm=r,exports.table=s,exports.typography=i,exports.upload=y;
|
@@ -1,255 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
"empty": {
|
3
|
-
"description": "無資料"
|
4
|
-
},
|
5
|
-
"drawer": {
|
6
|
-
"okText": "確認",
|
7
|
-
"cancelText": "取消"
|
8
|
-
},
|
9
|
-
"popconfirm": {
|
10
|
-
"okText": "確認",
|
11
|
-
"cancelText": "取消"
|
12
|
-
},
|
13
|
-
"modal": {
|
14
|
-
"okText": "確認",
|
15
|
-
"cancelText": "取消"
|
16
|
-
},
|
17
|
-
"pagination": {
|
18
|
-
"goto": "前往",
|
19
|
-
"page": "頁",
|
20
|
-
"countPerPage": "項/頁",
|
21
|
-
"total": "共 {0} 項"
|
22
|
-
},
|
23
|
-
"table": {
|
24
|
-
"okText": "確認",
|
25
|
-
"resetText": "重置"
|
26
|
-
},
|
27
|
-
"upload": {
|
28
|
-
"start": "開始",
|
29
|
-
"cancel": "取消",
|
30
|
-
"delete": "删除",
|
31
|
-
"retry": "點擊重試",
|
32
|
-
"buttonText": "點擊上傳",
|
33
|
-
"preview": "預覽",
|
34
|
-
"drag": "點擊或拖拽文件到此處上傳",
|
35
|
-
"dragHover": "釋放文件並開始上傳",
|
36
|
-
"error": "上傳失敗"
|
37
|
-
},
|
38
|
-
"calendar": {
|
39
|
-
"formatYear": "YYYY 年",
|
40
|
-
"formatMonth": "YYYY 年 MM 月",
|
41
|
-
"today": "今天",
|
42
|
-
"view": {
|
43
|
-
"month": "月",
|
44
|
-
"year": "年",
|
45
|
-
"week": "周",
|
46
|
-
"day": "日"
|
47
|
-
},
|
48
|
-
"month": {
|
49
|
-
"long": {
|
50
|
-
"January": "一月",
|
51
|
-
"February": "二月",
|
52
|
-
"March": "三月",
|
53
|
-
"April": "四月",
|
54
|
-
"May": "五月",
|
55
|
-
"June": "六月",
|
56
|
-
"July": "七月",
|
57
|
-
"August": "八月",
|
58
|
-
"September": "九月",
|
59
|
-
"October": "十月",
|
60
|
-
"November": "十一月",
|
61
|
-
"December": "十二月"
|
62
|
-
},
|
63
|
-
"short": {
|
64
|
-
"January": "一月",
|
65
|
-
"February": "二月",
|
66
|
-
"March": "三月",
|
67
|
-
"April": "四月",
|
68
|
-
"May": "五月",
|
69
|
-
"June": "六月",
|
70
|
-
"July": "七月",
|
71
|
-
"August": "八月",
|
72
|
-
"September": "九月",
|
73
|
-
"October": "十月",
|
74
|
-
"November": "十一月",
|
75
|
-
"December": "十二月"
|
76
|
-
}
|
77
|
-
},
|
78
|
-
"week": {
|
79
|
-
"long": {
|
80
|
-
"self": "周",
|
81
|
-
"monday": "周一",
|
82
|
-
"tuesday": "周二",
|
83
|
-
"wednesday": "周三",
|
84
|
-
"thursday": "周四",
|
85
|
-
"friday": "周五",
|
86
|
-
"saturday": "周六",
|
87
|
-
"sunday": "周日"
|
88
|
-
},
|
89
|
-
"short": {
|
90
|
-
"self": "周",
|
91
|
-
"monday": "一",
|
92
|
-
"tuesday": "二",
|
93
|
-
"wednesday": "三",
|
94
|
-
"thursday": "四",
|
95
|
-
"friday": "五",
|
96
|
-
"saturday": "六",
|
97
|
-
"sunday": "日"
|
98
|
-
}
|
99
|
-
}
|
100
|
-
},
|
101
|
-
"datePicker": {
|
102
|
-
"view": {
|
103
|
-
"month": "月",
|
104
|
-
"year": "年",
|
105
|
-
"week": "周",
|
106
|
-
"day": "日"
|
107
|
-
},
|
108
|
-
"month": {
|
109
|
-
"long": {
|
110
|
-
"January": "一月",
|
111
|
-
"February": "二月",
|
112
|
-
"March": "三月",
|
113
|
-
"April": "四月",
|
114
|
-
"May": "五月",
|
115
|
-
"June": "六月",
|
116
|
-
"July": "七月",
|
117
|
-
"August": "八月",
|
118
|
-
"September": "九月",
|
119
|
-
"October": "十月",
|
120
|
-
"November": "十一月",
|
121
|
-
"December": "十二月"
|
122
|
-
},
|
123
|
-
"short": {
|
124
|
-
"January": "一月",
|
125
|
-
"February": "二月",
|
126
|
-
"March": "三月",
|
127
|
-
"April": "四月",
|
128
|
-
"May": "五月",
|
129
|
-
"June": "六月",
|
130
|
-
"July": "七月",
|
131
|
-
"August": "八月",
|
132
|
-
"September": "九月",
|
133
|
-
"October": "十月",
|
134
|
-
"November": "十一月",
|
135
|
-
"December": "十二月"
|
136
|
-
}
|
137
|
-
},
|
138
|
-
"week": {
|
139
|
-
"long": {
|
140
|
-
"self": "周",
|
141
|
-
"monday": "周一",
|
142
|
-
"tuesday": "周二",
|
143
|
-
"wednesday": "周三",
|
144
|
-
"thursday": "周四",
|
145
|
-
"friday": "周五",
|
146
|
-
"saturday": "周六",
|
147
|
-
"sunday": "周日"
|
148
|
-
},
|
149
|
-
"short": {
|
150
|
-
"self": "周",
|
151
|
-
"monday": "一",
|
152
|
-
"tuesday": "二",
|
153
|
-
"wednesday": "三",
|
154
|
-
"thursday": "四",
|
155
|
-
"friday": "五",
|
156
|
-
"saturday": "六",
|
157
|
-
"sunday": "日"
|
158
|
-
}
|
159
|
-
},
|
160
|
-
"placeholder": {
|
161
|
-
"date": "請選擇日期",
|
162
|
-
"week": "請選擇周",
|
163
|
-
"month": "請選擇月份",
|
164
|
-
"year": "請選擇年份",
|
165
|
-
"quarter": "請選擇季度",
|
166
|
-
"time": "請選擇時間"
|
167
|
-
},
|
168
|
-
"rangePlaceholder": {
|
169
|
-
"date": ["開始日期", "結束日期"],
|
170
|
-
"week": ["開始周", "結束周"],
|
171
|
-
"month": ["開始月份", "結束月份"],
|
172
|
-
"year": ["開始年份", "結束年份"],
|
173
|
-
"quarter": ["開始季度", "結束季度"],
|
174
|
-
"time": ["開始時間", "結束時間"]
|
175
|
-
},
|
176
|
-
"selectTime": "選擇時間",
|
177
|
-
"today": "今天",
|
178
|
-
"now": "此刻",
|
179
|
-
"ok": "確認"
|
180
|
-
},
|
181
|
-
"image": {
|
182
|
-
"loading": "載入中"
|
183
|
-
},
|
184
|
-
"imagePreview": {
|
185
|
-
"fullScreen": "全屏",
|
186
|
-
"rotateRight": "向右旋轉",
|
187
|
-
"rotateLeft": "向左旋轉",
|
188
|
-
"zoomIn": "放大",
|
189
|
-
"zoomOut": "縮小",
|
190
|
-
"originalSize": "原始尺寸"
|
191
|
-
},
|
192
|
-
"typography": {
|
193
|
-
"copied": "已複製",
|
194
|
-
"copy": "複製",
|
195
|
-
"expand": "展開",
|
196
|
-
"collapse": "折疊",
|
197
|
-
"edit": "編輯"
|
198
|
-
},
|
199
|
-
"form": {
|
200
|
-
"validateMessages": {
|
201
|
-
"required": "#{field} 是必填項",
|
202
|
-
"type": {
|
203
|
-
"string": "#{value} 不是合法的文本類型",
|
204
|
-
"number": "#{value} 不是合法的數字類型",
|
205
|
-
"boolean": "#{value} 不是合法的布爾類型",
|
206
|
-
"array": "#{value} 不是合法的數組類型",
|
207
|
-
"object": "#{value} 不是合法的對像類型",
|
208
|
-
"url": "#{value} 不是合法的 url 地址",
|
209
|
-
"email": "#{value} 不是合法的郵箱地址",
|
210
|
-
"ip": "#{value} 不是合法的 IP 地址"
|
211
|
-
},
|
212
|
-
"number": {
|
213
|
-
"min": "`#{value}` 小於最小值 `#{min}`",
|
214
|
-
"max": "`#{value}` 大於最大值 `#{max}`",
|
215
|
-
"equal": "`#{value}` 不等於 `#{equal}`",
|
216
|
-
"range": "`#{value}` 不在 `#{min} ~ #{max}` 範圍內",
|
217
|
-
"positive": "`#{value}` 不是正數",
|
218
|
-
"negative": "`#{value}` 不是負數"
|
219
|
-
},
|
220
|
-
"array": {
|
221
|
-
"length": "`#{value}` 個數不等於 #{length}",
|
222
|
-
"minLength": "`#{value}` 個數最少為 #{minLength}",
|
223
|
-
"maxLength": "`#{value}` 個數最多為 #{maxLength}",
|
224
|
-
"includes": "#{value} 不包含 #{includes}",
|
225
|
-
"deepEqual": "#{value} 不等於 #{deepEqual}",
|
226
|
-
"empty": "`#{value}` 不是空數組"
|
227
|
-
},
|
228
|
-
"string": {
|
229
|
-
"minLength": "字符數最少為 #{minLength}",
|
230
|
-
"maxLength": "字符數最多為 #{maxLength}",
|
231
|
-
"length": "`#{value}` 字符數不等於 #{length}",
|
232
|
-
"match": "`#{value}` 不符合模式 #{pattern}",
|
233
|
-
"uppercase": "`#{value}` 不是全大寫",
|
234
|
-
"lowercase": "`#{value}` 不是全小寫"
|
235
|
-
},
|
236
|
-
"object": {
|
237
|
-
"deepEqual": "`#{value}` 不等於 #{deepEqual}",
|
238
|
-
"hasKeys": "`#{value}` 不包含字段 #{keys}",
|
239
|
-
"empty": "`#{value}` 不是對象"
|
240
|
-
},
|
241
|
-
"boolean": {
|
242
|
-
"true": "期望是 `true`",
|
243
|
-
"false": "期望是 `false`"
|
244
|
-
}
|
245
|
-
}
|
246
|
-
},
|
247
|
-
"colorPicker": {
|
248
|
-
"history": "最近使用顏色",
|
249
|
-
"preset": "系統預設顏色",
|
250
|
-
"empty": "暫無"
|
251
|
-
}
|
252
|
-
}
|
253
|
-
;
|
254
|
-
|
255
|
-
export default _default;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={description:"無資料"},a={okText:"確認",cancelText:"取消"},r={okText:"確認",cancelText:"取消"},t={okText:"確認",cancelText:"取消"},o={goto:"前往",page:"頁",countPerPage:"項/頁",total:"共 {0} 項"},l={okText:"確認",resetText:"重置"},u={start:"開始",cancel:"取消",delete:"删除",retry:"點擊重試",buttonText:"點擊上傳",preview:"預覽",drag:"點擊或拖拽文件到此處上傳",dragHover:"釋放文件並開始上傳",error:"上傳失敗"},n={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}},s={view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}},placeholder:{date:"請選擇日期",week:"請選擇周",month:"請選擇月份",year:"請選擇年份",quarter:"請選擇季度",time:"請選擇時間"},rangePlaceholder:{date:["開始日期","結束日期"],week:["開始周","結束周"],month:["開始月份","結束月份"],year:["開始年份","結束年份"],quarter:["開始季度","結束季度"],time:["開始時間","結束時間"]},selectTime:"選擇時間",today:"今天",now:"此刻",ok:"確認"},d={loading:"載入中"},y={fullScreen:"全屏",rotateRight:"向右旋轉",rotateLeft:"向左旋轉",zoomIn:"放大",zoomOut:"縮小",originalSize:"原始尺寸"},i={copied:"已複製",copy:"複製",expand:"展開",collapse:"折疊",edit:"編輯"},m={validateMessages:{required:"#{field} 是必填項",type:{string:"#{value} 不是合法的文本類型",number:"#{value} 不是合法的數字類型",boolean:"#{value} 不是合法的布爾類型",array:"#{value} 不是合法的數組類型",object:"#{value} 不是合法的對像類型",url:"#{value} 不是合法的 url 地址",email:"#{value} 不是合法的郵箱地址",ip:"#{value} 不是合法的 IP 地址"},number:{min:"`#{value}` 小於最小值 `#{min}`",max:"`#{value}` 大於最大值 `#{max}`",equal:"`#{value}` 不等於 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 範圍內",positive:"`#{value}` 不是正數",negative:"`#{value}` 不是負數"},array:{length:"`#{value}` 個數不等於 #{length}",minLength:"`#{value}` 個數最少為 #{minLength}",maxLength:"`#{value}` 個數最多為 #{maxLength}",includes:"#{value} 不包含 #{includes}",deepEqual:"#{value} 不等於 #{deepEqual}",empty:"`#{value}` 不是空數組"},string:{minLength:"字符數最少為 #{minLength}",maxLength:"字符數最多為 #{maxLength}",length:"`#{value}` 字符數不等於 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 不是全大寫",lowercase:"`#{value}` 不是全小寫"},object:{deepEqual:"`#{value}` 不等於 #{deepEqual}",hasKeys:"`#{value}` 不包含字段 #{keys}",empty:"`#{value}` 不是對象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}},p={history:"最近使用顏色",preset:"系統預設顏色",empty:"暫無"},c={empty:e,drawer:a,popconfirm:r,modal:t,pagination:o,table:l,upload:u,calendar:n,datePicker:s,image:d,imagePreview:y,typography:i,form:m,colorPicker:p};exports.calendar=n,exports.colorPicker=p,exports.datePicker=s,exports.default=c,exports.drawer=a,exports.empty=e,exports.form=m,exports.image=d,exports.imagePreview=y,exports.modal=t,exports.pagination=o,exports.popconfirm=r,exports.table=l,exports.typography=i,exports.upload=u;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../shared/dist/shared.js"),t=require("../../message-compiler/dist/message-compiler.js");function n(t){return e.isObject(t)&&0===function(t,n,r){for(let s=0;s<n.length;s++){const r=n[s];if(e.hasOwn(t,r)&&null!=t[r])return t[r]}return r}(t,r)&&(e.hasOwn(t,"b")||e.hasOwn(t,"body"))}const r=["t","type"];const s=["b","body","c","cases","s","static","i","items","k","key","m","modifier","v","value",...r];let o=null;function a(e,t,n){o&&o.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const i=l("function:translate");function l(e){return t=>o&&o.emit(e,t)}const c={INVALID_ARGUMENT:t.COMPILE_ERROR_CODES_EXTEND_POINT,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function m(e){return t.createCompileError(e,null,"production"!==process.env.NODE_ENV?{messages:u}:void 0)}const u={[c.INVALID_ARGUMENT]:"Invalid arguments",[c.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[c.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[c.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[c.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[c.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[c.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function _(e,t){return null!=t.locale?g(t.locale):g(e.locale)}let p;function g(t){if(e.isString(t))return t;if(e.isFunction(t)){if(t.resolvedOnce&&null!=p)return p;if("Function"===t.constructor.name){const n=t();if(e.isPromise(n))throw m(c.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return p=n}throw m(c.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw m(c.NOT_SUPPORT_LOCALE_TYPE)}function f(t,n,r){return[...new Set([r,...e.isArray(n)?n:e.isObject(n)?Object.keys(n):e.isString(n)?[n]:[r]])]}function O(t,n,r){let s=!0;for(let o=0;o<n.length&&e.isBoolean(s);o++){const a=n[o];e.isString(a)&&(s=d(t,n[o],r))}return s}function d(e,t,n){let r;const s=t.split("-");do{r=E(e,s.join("-"),n),s.splice(-1,1)}while(s.length&&!0===r);return r}function E(t,n,r){let s=!1;if(!t.includes(n)&&(s=!0,n)){s="!"!==n[n.length-1];const o=n.replace(/!/g,"");t.push(o),(e.isArray(r)||e.isPlainObject(r))&&r[o]&&(s=r[o])}return s}function N(t,n){return e.isObject(t)?t[n]:null}const T={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},b={[T.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[T.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[T.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[T.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[T.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[T.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[T.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function A(t,...n){return e.format(b[t],...n)}const S="12.0.0-alpha.3",k="en-US",F=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let y=null;const D=()=>y;let v=null;let L=0;const R=t=>({[t]:e.create()});function C(e,t){return e instanceof RegExp?e.test(t):e}function I(e,t){return e instanceof RegExp?e.test(t):e}function h(t,n,r,s,o){const{missing:a,onWarn:i}=t;if("production"!==process.env.NODE_ENV){const e=t.__v_emitter;e&&e.emit("missing",{locale:r,key:n,type:o,groupId:`${o}:${n}`})}if(null!==a){const s=a(t,r,n,o);return e.isString(s)?s:n}return"production"!==process.env.NODE_ENV&&I(s,n)&&i(A(T.NOT_FOUND_KEY,{key:n,locale:r})),n}function M(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function P(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let r=n+1;r<t.length;r++)if(M(e,t[r]))return!0;return!1}const x="undefined"!=typeof Intl,w=x&&void 0!==Intl.DateTimeFormat,j=x&&void 0!==Intl.NumberFormat;const V=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function U(...t){const[n,r,s,o]=t,a=e.create();let i,l=e.create();if(e.isString(n)){const e=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw m(c.INVALID_ISO_DATE_ARGUMENT);const t=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();i=new Date(t);try{i.toISOString()}catch{throw m(c.INVALID_ISO_DATE_ARGUMENT)}}else if(e.isDate(n)){if(isNaN(n.getTime()))throw m(c.INVALID_DATE_ARGUMENT);i=n}else{if(!e.isNumber(n))throw m(c.INVALID_ARGUMENT);i=n}return e.isString(r)?a.key=r:e.isPlainObject(r)&&Object.keys(r).forEach(e=>{V.includes(e)?l[e]=r[e]:a[e]=r[e]}),e.isString(s)?a.locale=s:e.isPlainObject(s)&&(l=s),e.isPlainObject(o)&&(l=o),[a.key||"",i,a,l]}const W=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function B(...t){const[n,r,s,o]=t,a=e.create();let i=e.create();if(!e.isNumber(n))throw m(c.INVALID_ARGUMENT);const l=n;return e.isString(r)?a.key=r:e.isPlainObject(r)&&Object.keys(r).forEach(e=>{W.includes(e)?i[e]=r[e]:a[e]=r[e]}),e.isString(s)?a.locale=s:e.isPlainObject(s)&&(i=s),e.isPlainObject(o)&&(i=o),[a.key||"",l,a,i]}const $=e=>e,G=e=>"",K="text",Y=t=>0===t.length?"":e.join(t),H=e.toDisplayString;function X(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function z(t={}){const n=t.locale,r=function(t){const n=e.isNumber(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(e.isNumber(t.named.count)||e.isNumber(t.named.n))?e.isNumber(t.named.count)?t.named.count:e.isNumber(t.named.n)?t.named.n:n:n}(t),s=e.isObject(t.pluralRules)&&e.isString(n)&&e.isFunction(t.pluralRules[n])?t.pluralRules[n]:X,o=e.isObject(t.pluralRules)&&e.isString(n)&&e.isFunction(t.pluralRules[n])?X:void 0,a=t.list||[],i=t.named||e.create();e.isNumber(t.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(r,i);function l(n,r){const s=e.isFunction(t.messages)?t.messages(n,!!r):!!e.isObject(t.messages)&&t.messages[n];return s||(t.parent?t.parent.message(n):G)}const c=e.isPlainObject(t.processor)&&e.isFunction(t.processor.normalize)?t.processor.normalize:Y,m=e.isPlainObject(t.processor)&&e.isFunction(t.processor.interpolate)?t.processor.interpolate:H,u={list:e=>a[e],named:e=>i[e],plural:e=>e[s(r,e.length,o)],linked:(n,...r)=>{const[s,o]=r;let a="text",i="";1===r.length?e.isObject(s)?(i=s.modifier||i,a=s.type||a):e.isString(s)&&(i=s||i):2===r.length&&(e.isString(s)&&(i=s||i),e.isString(o)&&(a=o||a));const c=l(n,!0)(u),m="vnode"===a&&e.isArray(c)&&i?c[0]:c;return i?(_=i,t.modifiers?t.modifiers[_]:$)(m,a):m;var _},message:l,type:e.isPlainObject(t.processor)&&e.isString(t.processor.type)?t.processor.type:K,interpolate:m,normalize:c,values:e.assign(e.create(),a,i)};return u}const Z=()=>"",q=t=>e.isFunction(t);function J(t,r,s,o,a,i){const{messages:l,onWarn:c,messageResolver:m,localeFallbacker:u}=t,_=u(t,o,s);let p,g=e.create(),f=null,O=s,d=null;const E="translate";for(let N=0;N<_.length;N++){if(p=d=_[N],"production"!==process.env.NODE_ENV&&s!==p&&!M(s,p)&&C(a,r)&&c(A(T.FALLBACK_TO_TRANSLATE,{key:r,target:p})),"production"!==process.env.NODE_ENV&&s!==p){const e=t.__v_emitter;e&&e.emit("fallback",{type:E,key:r,from:O,to:d,groupId:`${E}:${r}`})}g=l[p]||e.create();let o,u,b=null;if("production"!==process.env.NODE_ENV&&e.inBrowser&&(b=window.performance.now(),o="intlify-message-resolve-start",u="intlify-message-resolve-end",e.mark&&e.mark(o)),null===(f=m(g,r))&&(f=g[r]),"production"!==process.env.NODE_ENV&&e.inBrowser){const n=window.performance.now(),s=t.__v_emitter;s&&b&&f&&s.emit("message-resolve",{type:"message-resolve",key:r,message:f,time:n-b,groupId:`${E}:${r}`}),o&&u&&e.mark&&e.measure&&(e.mark(u),e.measure("intlify message resolve",o,u))}if(e.isString(f)||n(f)||q(f))break;if(!P(p,_)){const e=h(t,r,p,i,E);e!==r&&(f=e)}O=d}return[f,p,g]}function Q(t,n,r,s,o,a){const{messageCompiler:i,warnHtmlMessage:l}=t;if(q(s)){const e=s;return e.locale=e.locale||r,e.key=e.key||n,e}if(null==i){const e=()=>s;return e.locale=r,e.key=n,e}let c,m,u=null;"production"!==process.env.NODE_ENV&&e.inBrowser&&(u=window.performance.now(),c="intlify-message-compilation-start",m="intlify-message-compilation-end",e.mark&&e.mark(c));const _=i(s,function(t,n,r,s,o,a){return{locale:n,key:r,warnHtmlMessage:o,onError:n=>{if(a&&a(n),"production"===process.env.NODE_ENV)throw n;{const o=function(t){if(e.isString(t))return t;if(t.loc&&t.loc.source)return t.loc.source}(s),a=(n.message,n.location&&o&&e.generateCodeFrame(o,n.location.start.offset,n.location.end.offset),t.__v_emitter);a&&o&&a.emit("compile-error",{message:o,error:n.message,start:n.location&&n.location.start.offset,end:n.location&&n.location.end.offset,groupId:`translate:${r}`})}},onCacheKey:t=>e.generateFormatCacheKey(n,r,t)}}(t,r,o,s,l,a));if("production"!==process.env.NODE_ENV&&e.inBrowser){const r=window.performance.now(),o=t.__v_emitter;o&&u&&o.emit("message-compilation",{type:"message-compilation",message:s,time:r-u,groupId:`translate:${n}`}),c&&m&&e.mark&&e.measure&&(e.mark(m),e.measure("intlify message compilation",c,m))}return _.locale=r,_.key=n,_.source=s,_}function ee(...t){const[r,s,o]=t,a=e.create();if(!(e.isString(r)||e.isNumber(r)||q(r)||n(r)))throw m(c.INVALID_ARGUMENT);const i=e.isNumber(r)?String(r):(q(r),r);return e.isNumber(s)?a.plural=s:e.isString(s)?a.default=s:e.isPlainObject(s)&&!e.isEmptyObject(s)?a.named=s:e.isArray(s)&&(a.list=s),e.isNumber(o)?a.plural=o:e.isString(o)?a.default=o:e.isPlainObject(o)&&e.assign(a,o),[i,a]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(e.getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),exports.createCompileError=t.createCompileError,exports.AST_NODE_PROPS_KEYS=s,exports.CORE_ERROR_CODES_EXTEND_POINT=24,exports.CORE_WARN_CODES_EXTEND_POINT=8,exports.CoreWarnCodes=T,exports.DATETIME_FORMAT_OPTIONS_KEYS=V,exports.DEFAULT_LOCALE=k,exports.DEFAULT_MESSAGE_DATA_TYPE=K,exports.MISSING_RESOLVE_VALUE="",exports.NOT_RESOLVED=-1,exports.NUMBER_FORMAT_OPTIONS_KEYS=W,exports.VERSION=S,exports.clearDateTimeFormat=function(e,t,n){const r=e;for(const s in n){const e=`${t}__${s}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}},exports.clearNumberFormat=function(e,t,n){const r=e;for(const s in n){const e=`${t}__${s}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}},exports.createCoreContext=function(t={}){const n=e.isFunction(t.onWarn)?t.onWarn:e.warn,r=e.isString(t.version)?t.version:S,s=e.isString(t.locale)||e.isFunction(t.locale)?t.locale:k,o=e.isFunction(s)?k:s,i=e.isArray(t.fallbackLocale)||e.isPlainObject(t.fallbackLocale)||e.isString(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:o,l=e.isPlainObject(t.messages)?t.messages:R(o),c=e.isPlainObject(t.datetimeFormats)?t.datetimeFormats:R(o),m=e.isPlainObject(t.numberFormats)?t.numberFormats:R(o),u=e.assign(e.create(),t.modifiers,{upper:(t,n)=>"text"===n&&e.isString(t)?t.toUpperCase():"vnode"===n&&e.isObject(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,n)=>"text"===n&&e.isString(t)?t.toLowerCase():"vnode"===n&&e.isObject(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,n)=>"text"===n&&e.isString(t)?F(t):"vnode"===n&&e.isObject(t)&&"__v_isVNode"in t?F(t.children):t}),_=t.pluralRules||e.create(),p=e.isFunction(t.missing)?t.missing:null,g=!e.isBoolean(t.missingWarn)&&!e.isRegExp(t.missingWarn)||t.missingWarn,O=!e.isBoolean(t.fallbackWarn)&&!e.isRegExp(t.fallbackWarn)||t.fallbackWarn,d=!!t.fallbackFormat,E=!!t.unresolving,b=e.isFunction(t.postTranslation)?t.postTranslation:null,y=e.isPlainObject(t.processor)?t.processor:null,D=!e.isBoolean(t.warnHtmlMessage)||t.warnHtmlMessage,v=!!t.escapeParameter,C=e.isFunction(t.messageCompiler)?t.messageCompiler:undefined;"production"!==process.env.NODE_ENV&&e.isFunction(t.messageCompiler)&&e.warnOnce(A(T.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const I=e.isFunction(t.messageResolver)?t.messageResolver:N,h=e.isFunction(t.localeFallbacker)?t.localeFallbacker:f,M=e.isObject(t.fallbackContext)?t.fallbackContext:void 0,P=t,x=e.isObject(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,w=e.isObject(P.__numberFormatters)?P.__numberFormatters:new Map,j=e.isObject(P.__meta)?P.__meta:{};L++;const V={version:r,cid:L,locale:s,fallbackLocale:i,messages:l,modifiers:u,pluralRules:_,missing:p,missingWarn:g,fallbackWarn:O,fallbackFormat:d,unresolving:E,postTranslation:b,processor:y,warnHtmlMessage:D,escapeParameter:v,messageCompiler:C,messageResolver:I,localeFallbacker:h,fallbackContext:M,onWarn:n,__meta:j};return V.datetimeFormats=c,V.numberFormats=m,V.__datetimeFormatters=x,V.__numberFormatters=w,"production"!==process.env.NODE_ENV&&(V.__v_emitter=null!=P.__v_emitter?P.__v_emitter:void 0),("production"!==process.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__)&&a(V,r,j),V},exports.createCoreError=m,exports.createMessageContext=z,exports.datetime=function(t,...n){const{datetimeFormats:r,unresolving:s,fallbackLocale:o,onWarn:a,localeFallbacker:i}=t,{__datetimeFormatters:l}=t;if("production"!==process.env.NODE_ENV&&!w)return a(A(T.CANNOT_FORMAT_DATE)),"";const[c,m,u,p]=U(...n),g=e.isBoolean(u.missingWarn)?u.missingWarn:t.missingWarn,f=e.isBoolean(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,O=!!u.part,d=_(t,u),E=i(t,o,d);if(!e.isString(c)||""===c)return new Intl.DateTimeFormat(d,p).format(m);let N,b={},S=null,k=d,F=null;const y="datetime format";for(let _=0;_<E.length;_++){if(N=F=E[_],"production"!==process.env.NODE_ENV&&d!==N&&C(f,c)&&a(A(T.FALLBACK_TO_DATE_FORMAT,{key:c,target:N})),"production"!==process.env.NODE_ENV&&d!==N){const e=t.__v_emitter;e&&e.emit("fallback",{type:y,key:c,from:k,to:F,groupId:`${y}:${c}`})}if(b=r[N]||{},S=b[c],e.isPlainObject(S))break;h(t,c,N,g,y),k=F}if(!e.isPlainObject(S)||!e.isString(N))return s?-1:c;let D=`${N}__${c}`;e.isEmptyObject(p)||(D=`${D}__${JSON.stringify(p)}`);let v=l.get(D);return v||(v=new Intl.DateTimeFormat(N,e.assign({},S,p)),l.set(D,v)),O?v.formatToParts(m):v.format(m)},exports.fallbackWithLocaleChain=function(t,n,r){const s=e.isString(r)?r:k,o=t;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(s);if(!a){a=[];let t=[r];for(;e.isArray(t);)t=O(a,t,n);const i=e.isArray(n)||!e.isPlainObject(n)?n:n.default?n.default:null;t=e.isString(i)?[i]:i,e.isArray(t)&&O(a,t,!1),o.__localeChainCache.set(s,a)}return a},exports.fallbackWithSimple=f,exports.getAdditionalMeta=D,exports.getFallbackContext=()=>v,exports.getLocale=_,exports.getWarnMessage=A,exports.handleMissing=h,exports.initI18nDevTools=a,exports.isAlmostSameLocale=M,exports.isImplicitFallback=P,exports.isMessageAST=n,exports.isMessageFunction=q,exports.isTranslateFallbackWarn=C,exports.isTranslateMissingWarn=I,exports.number=function(t,...n){const{numberFormats:r,unresolving:s,fallbackLocale:o,onWarn:a,localeFallbacker:i}=t,{__numberFormatters:l}=t;if("production"!==process.env.NODE_ENV&&!j)return a(A(T.CANNOT_FORMAT_NUMBER)),"";const[c,m,u,p]=B(...n),g=e.isBoolean(u.missingWarn)?u.missingWarn:t.missingWarn,f=e.isBoolean(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,O=!!u.part,d=_(t,u),E=i(t,o,d);if(!e.isString(c)||""===c)return new Intl.NumberFormat(d,p).format(m);let N,b={},S=null,k=d,F=null;const y="number format";for(let _=0;_<E.length;_++){if(N=F=E[_],"production"!==process.env.NODE_ENV&&d!==N&&C(f,c)&&a(A(T.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:N})),"production"!==process.env.NODE_ENV&&d!==N){const e=t.__v_emitter;e&&e.emit("fallback",{type:y,key:c,from:k,to:F,groupId:`${y}:${c}`})}if(b=r[N]||{},S=b[c],e.isPlainObject(S))break;h(t,c,N,g,y),k=F}if(!e.isPlainObject(S)||!e.isString(N))return s?-1:c;let D=`${N}__${c}`;e.isEmptyObject(p)||(D=`${D}__${JSON.stringify(p)}`);let v=l.get(D);return v||(v=new Intl.NumberFormat(N,e.assign({},S,p)),l.set(D,v)),O?v.formatToParts(m):v.format(m)},exports.parseDateTimeArgs=U,exports.parseNumberArgs=B,exports.parseTranslateArgs=ee,exports.resolveLocale=g,exports.resolveWithKeyValue=N,exports.setAdditionalMeta=e=>{y=e},exports.setDevToolsHook=function(e){o=e},exports.setFallbackContext=e=>{v=e},exports.translate=function(t,...r){const{fallbackFormat:s,postTranslation:o,unresolving:a,messageCompiler:l,fallbackLocale:c,messages:m}=t,[u,p]=ee(...r),g=e.isBoolean(p.missingWarn)?p.missingWarn:t.missingWarn,f=e.isBoolean(p.fallbackWarn)?p.fallbackWarn:t.fallbackWarn,O=e.isBoolean(p.escapeParameter)?p.escapeParameter:t.escapeParameter,d=!!p.resolvedMessage,E=e.isString(p.default)||e.isBoolean(p.default)?e.isBoolean(p.default)?l?u:()=>u:p.default:s?l?u:()=>u:null,N=s||null!=E&&(e.isString(E)||e.isFunction(E)),T=_(t,p);O&&function(t){e.isArray(t.list)?t.list=t.list.map(t=>e.isString(t)?e.escapeHtml(t):t):e.isObject(t.named)&&Object.keys(t.named).forEach(n=>{e.isString(t.named[n])&&(t.named[n]=e.escapeHtml(t.named[n]))})}(p);let[b,A,S]=d?[u,T,m[T]||e.create()]:J(t,u,T,c,f,g),k=b,F=u;if(d||e.isString(k)||n(k)||q(k)||N&&(k=E,F=k),!(d||(e.isString(k)||n(k)||q(k))&&e.isString(A)))return a?-1:u;if("production"!==process.env.NODE_ENV&&e.isString(k)&&null==t.messageCompiler)return e.warn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let y=!1;const v=q(k)?k:Q(t,u,A,k,F,()=>{y=!0});if(y)return k;const L=function(t,r,s,o){const{modifiers:a,pluralRules:i,messageResolver:l,fallbackLocale:c,fallbackWarn:m,missingWarn:u,fallbackContext:_}=t,p=(o,a)=>{let i=l(s,o);if(null==i&&(_||a)){const[,,e]=J(_||t,o,r,c,m,u);i=l(e,o)}if(e.isString(i)||n(i)){let e=!1;const n=Q(t,o,r,i,o,()=>{e=!0});return e?Z:n}return q(i)?i:Z},g={locale:r,modifiers:a,pluralRules:i,messages:p};t.processor&&(g.processor=t.processor);o.list&&(g.list=o.list);o.named&&(g.named=o.named);e.isNumber(o.plural)&&(g.pluralIndex=o.plural);return g}(t,A,S,p),R=function(t,n,r){let s,o,a=null;"production"!==process.env.NODE_ENV&&e.inBrowser&&(a=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",e.mark&&e.mark(s));const i=n(r);if("production"!==process.env.NODE_ENV&&e.inBrowser){const r=window.performance.now(),l=t.__v_emitter;l&&a&&l.emit("message-evaluation",{type:"message-evaluation",value:i,time:r-a,groupId:`translate:${n.key}`}),s&&o&&e.mark&&e.measure&&(e.mark(o),e.measure("intlify message evaluation",s,o))}return i}(t,v,z(L)),C=o?o(R,u):R;if("production"!==process.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__){const n={timestamp:Date.now(),key:e.isString(u)?u:q(k)?k.key:"",locale:A||(q(k)?k.locale:""),format:e.isString(k)?k:q(k)?k.source:"",message:C};n.meta=e.assign({},t.__meta,D()||{}),i(n)}return C},exports.translateDevTools=i,exports.updateFallbackLocale=function(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../shared/dist/shared.js"),e={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},_={[e.EXPECTED_TOKEN]:"Expected token: '{0}'",[e.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[e.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[e.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[e.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[e.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[e.EMPTY_PLACEHOLDER]:"Empty placeholder",[e.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[e.INVALID_LINKED_FORMAT]:"Invalid linked format",[e.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[e.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[e.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[e.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[e.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[e.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};
|
2
|
-
/*!
|
3
|
-
* message-compiler v12.0.0-alpha.3
|
4
|
-
* (c) 2016-present kazuya kawaguchi and contributors
|
5
|
-
* Released under the MIT License.
|
6
|
-
*/exports.COMPILE_ERROR_CODES_EXTEND_POINT=17,exports.CompileErrorCodes=e,exports.createCompileError=function(e,N,D={}){const{domain:I,messages:L,args:n}=D,A="production"!==process.env.NODE_ENV?E.format((L||_)[e]||"",...n||[]):e,o=new SyntaxError(String(A));return o.code=e,o.domain=I,o},exports.errorMessages=_;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
2
|
-
/*!
|
3
|
-
* shared v12.0.0-alpha.3
|
4
|
-
* (c) 2016-present kazuya kawaguchi and contributors
|
5
|
-
* Released under the MIT License.
|
6
|
-
*/
|
7
|
-
const e="undefined"!=typeof window;if(exports.mark=void 0,exports.measure=void 0,"production"!==process.env.NODE_ENV){const t=e&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(exports.mark=e=>{t.mark(e)},exports.measure=(e,r,o)=>{t.measure(e,r,o),t.clearMarks(r),t.clearMarks(o)})}const t=/\{([0-9a-zA-Z]+)\}/g;const r=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),o=Object.assign,s=Object.create,n=(e=null)=>s(e);let p;const i=Object.prototype.hasOwnProperty;const a=Array.isArray,c=e=>"function"==typeof e,l=e=>null!==e&&"object"==typeof e,u=Object.prototype.toString,f=e=>u.call(e),g=e=>"[object Object]"===f(e);function x(e,t){}const y={};const b=e=>!l(e)||a(e);exports.assign=o,exports.create=n,exports.createEmitter=function(){const e=new Map;return{events:e,on(t,r){const o=e.get(t);o&&o.push(r)||e.set(t,[r])},off(t,r){const o=e.get(t);o&&o.splice(o.indexOf(r)>>>0,1)},emit(t,r){(e.get(t)||[]).slice().map(e=>e(r)),(e.get("*")||[]).slice().map(e=>e(t,r))}}},exports.deepCopy=function(e,t){if(b(e)||b(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:e,des:t}=r.pop();Object.keys(e).forEach(o=>{"__proto__"!==o&&(l(e[o])&&!l(t[o])&&(t[o]=Array.isArray(e[o])?[]:n()),b(t[o])||b(e[o])?t[o]=e[o]:r.push({src:e[o],des:t[o]}))})}},exports.escapeHtml=function(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},exports.format=function(e,...r){return 1===r.length&&l(r[0])&&(r=r[0]),r&&r.hasOwnProperty||(r={}),e.replace(t,(e,t)=>r.hasOwnProperty(t)?r[t]:"")},exports.friendlyJSONstringify=r,exports.generateCodeFrame=function(e,t=0,r=e.length){const o=e.split(/\r?\n/);let s=0;const n=[];for(let p=0;p<o.length;p++)if(s+=o[p].length+1,s>=t){for(let e=p-2;e<=p+2||r>s;e++){if(e<0||e>=o.length)continue;const i=e+1;n.push(`${i}${" ".repeat(3-String(i).length)}| ${o[e]}`);const a=o[e].length;if(e===p){const e=t-(s-a)+1,o=Math.max(1,r>s?a-e:r-t);n.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>p){if(r>s){const e=Math.max(Math.min(r-s,a),1);n.push(" | "+"^".repeat(e))}s+=a+1}}break}return n.join("\n")},exports.generateFormatCacheKey=(e,t,o)=>r({l:e,k:t,s:o}),exports.getGlobalThis=()=>p||(p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:n()),exports.hasOwn=function(e,t){return i.call(e,t)},exports.inBrowser=e,exports.isArray=a,exports.isBoolean=e=>"boolean"==typeof e,exports.isDate=e=>"[object Date]"===f(e),exports.isEmptyObject=e=>g(e)&&0===Object.keys(e).length,exports.isFunction=c,exports.isNumber=e=>"number"==typeof e&&isFinite(e),exports.isObject=l,exports.isPlainObject=g,exports.isPromise=e=>l(e)&&c(e.then)&&c(e.catch),exports.isRegExp=e=>"[object RegExp]"===f(e),exports.isString=e=>"string"==typeof e,exports.join=function(e,t=""){return e.reduce((e,r,o)=>0===o?e+r:e+t+r,"")},exports.makeSymbol=(e,t=!1)=>t?Symbol.for(e):Symbol(e),exports.objectToString=u,exports.toDisplayString=e=>null==e?"":a(e)||g(e)&&e.toString===u?JSON.stringify(e,null,2):String(e),exports.toTypeString=f,exports.warn=x,exports.warnOnce=function(e){y[e]||(y[e]=!0)};
|