@chaoswise/ui 3.0.23 → 3.1.0
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/lib/Antd5/_util/ActionButton.js +4 -2
- package/lib/Antd5/_util/ContextIsolator.js +27 -0
- package/lib/Antd5/_util/easings.js +2 -2
- package/lib/Antd5/_util/getScroll.js +9 -8
- package/lib/Antd5/_util/hooks/useClosable.js +3 -2
- package/lib/Antd5/_util/hooks/useUniqueMemo.js +123 -0
- package/lib/Antd5/_util/hooks/useZIndex.js +31 -15
- package/lib/Antd5/_util/motion.js +3 -2
- package/lib/Antd5/_util/placements.js +2 -2
- package/lib/Antd5/_util/scrollTo.js +1 -1
- package/lib/Antd5/_util/statusUtils.js +1 -1
- package/lib/Antd5/_util/toList.js +5 -0
- package/lib/Antd5/_util/warning.js +0 -1
- package/lib/Antd5/_util/wave/WaveEffect.js +2 -2
- package/lib/Antd5/_util/wave/interface.js +2 -1
- package/lib/Antd5/_util/wave/useWave.js +1 -1
- package/lib/Antd5/_util/wave/util.js +1 -9
- package/lib/Antd5/alert/Alert.js +1 -2
- package/lib/Antd5/alert/ErrorBoundary.js +1 -1
- package/lib/Antd5/alert/design/behavior-pattern.js +3 -3
- package/lib/Antd5/alert/style/index.js +6 -4
- package/lib/Antd5/anchor/Anchor.js +8 -7
- package/lib/Antd5/anchor/AnchorLink.js +4 -4
- package/lib/Antd5/app/index.js +2 -1
- package/lib/Antd5/app/style/index.js +5 -4
- package/lib/Antd5/auto-complete/index.js +1 -1
- package/lib/Antd5/avatar/group.js +35 -17
- package/lib/Antd5/avatar/style/index.js +18 -13
- package/lib/Antd5/back-top/index.js +3 -2
- package/lib/Antd5/badge/ScrollNumber.js +1 -1
- package/lib/Antd5/badge/SingleNumber.js +17 -16
- package/lib/Antd5/badge/style/index.js +6 -7
- package/lib/Antd5/badge/style/ribbon.js +3 -3
- package/lib/Antd5/breadcrumb/design/behavior-pattern.js +4 -4
- package/lib/Antd5/breadcrumb/style/index.js +2 -2
- package/lib/Antd5/button/LoadingIcon.js +5 -10
- package/lib/Antd5/button/button-group.js +0 -1
- package/lib/Antd5/button/button.js +70 -41
- package/lib/Antd5/button/buttonHelpers.js +7 -5
- package/lib/Antd5/button/style/{compactCmp.js → compact.js} +20 -27
- package/lib/Antd5/button/style/group.js +9 -7
- package/lib/Antd5/button/style/index.js +150 -110
- package/lib/Antd5/button/style/token.js +8 -1
- package/lib/Antd5/calendar/generateCalendar.js +25 -28
- package/lib/Antd5/calendar/style/index.js +4 -4
- package/lib/Antd5/card/Card.js +3 -3
- package/lib/Antd5/card/style/index.js +6 -9
- package/lib/Antd5/carousel/index.js +3 -3
- package/lib/Antd5/carousel/style/index.js +1 -1
- package/lib/Antd5/cascader/Panel.js +7 -2
- package/lib/Antd5/cascader/hooks/useBase.js +3 -2
- package/lib/Antd5/cascader/hooks/useColumnIcons.js +6 -3
- package/lib/Antd5/cascader/index.js +1 -1
- package/lib/Antd5/cascader/style/columns.js +6 -4
- package/lib/Antd5/checkbox/Checkbox.js +11 -5
- package/lib/Antd5/checkbox/style/index.js +6 -3
- package/lib/Antd5/collapse/Collapse.js +2 -1
- package/lib/Antd5/collapse/style/index.js +20 -13
- package/lib/Antd5/color-picker/ColorPicker.js +120 -78
- package/lib/Antd5/color-picker/ColorPickerPanel.js +44 -26
- package/lib/Antd5/color-picker/color.js +82 -10
- package/lib/Antd5/color-picker/components/ColorAlphaInput.js +2 -2
- package/lib/Antd5/color-picker/components/ColorClear.js +2 -2
- package/lib/Antd5/color-picker/components/ColorHexInput.js +5 -4
- package/lib/Antd5/color-picker/components/ColorInput.js +4 -3
- package/lib/Antd5/color-picker/components/ColorPresets.js +1 -1
- package/lib/Antd5/color-picker/components/ColorSlider.js +139 -0
- package/lib/Antd5/color-picker/components/ColorTrigger.js +52 -26
- package/lib/Antd5/color-picker/components/PanelPicker/GradientColorBar.js +130 -0
- package/lib/Antd5/color-picker/components/PanelPicker/index.js +194 -0
- package/lib/Antd5/color-picker/context.js +1 -5
- package/lib/Antd5/color-picker/hooks/useModeColor.js +87 -0
- package/lib/Antd5/color-picker/style/color-block.js +3 -2
- package/lib/Antd5/color-picker/style/index.js +33 -15
- package/lib/Antd5/color-picker/style/input.js +1 -1
- package/lib/Antd5/color-picker/style/picker.js +6 -33
- package/lib/Antd5/color-picker/style/slider.js +87 -0
- package/lib/Antd5/color-picker/util.js +53 -7
- package/lib/Antd5/config-provider/context.js +3 -1
- package/lib/Antd5/config-provider/cssVariables.js +0 -1
- package/lib/Antd5/config-provider/defaultRenderEmpty.js +8 -1
- package/lib/Antd5/config-provider/index.js +13 -5
- package/lib/Antd5/config-provider/style/index.js +0 -1
- package/lib/Antd5/date-picker/PickerButton.js +3 -2
- package/lib/Antd5/date-picker/design/behavior-pattern.js +15 -15
- package/lib/Antd5/date-picker/generatePicker/constant.js +15 -0
- package/lib/Antd5/date-picker/generatePicker/generateRangePicker.js +16 -11
- package/lib/Antd5/date-picker/generatePicker/generateSinglePicker.js +19 -15
- package/lib/Antd5/date-picker/generatePicker/index.js +2 -2
- package/lib/Antd5/date-picker/generatePicker/interface.js +1 -1
- package/lib/Antd5/date-picker/index.js +2 -17
- package/lib/Antd5/date-picker/locale/ar_EG.js +9 -1
- package/lib/Antd5/date-picker/locale/az_AZ.js +9 -1
- package/lib/Antd5/date-picker/locale/el_GR.js +9 -1
- package/lib/Antd5/date-picker/locale/ja_JP.js +11 -1
- package/lib/Antd5/date-picker/locale/kn_IN.js +9 -1
- package/lib/Antd5/date-picker/locale/pl_PL.js +9 -1
- package/lib/Antd5/date-picker/locale/uk_UA.js +10 -1
- package/lib/Antd5/date-picker/style/index.js +13 -10
- package/lib/Antd5/date-picker/style/panel.js +36 -32
- package/lib/Antd5/date-picker/style/token.js +1 -1
- package/lib/Antd5/date-picker/util.js +0 -48
- package/lib/Antd5/descriptions/hooks/useItems.js +5 -0
- package/lib/Antd5/descriptions/hooks/useRow.js +42 -34
- package/lib/Antd5/descriptions/style/index.js +20 -8
- package/lib/Antd5/divider/index.js +4 -3
- package/lib/Antd5/divider/style/index.js +19 -4
- package/lib/Antd5/drawer/DrawerPanel.js +11 -20
- package/lib/Antd5/drawer/index.js +39 -42
- package/lib/Antd5/drawer/style/index.js +10 -11
- package/lib/Antd5/dropdown/dropdown.js +5 -7
- package/lib/Antd5/dropdown/style/index.js +27 -11
- package/lib/Antd5/empty/empty.js +9 -3
- package/lib/Antd5/empty/simple.js +9 -3
- package/lib/Antd5/empty/style/index.js +1 -1
- package/lib/Antd5/float-button/BackTop.js +3 -2
- package/lib/Antd5/float-button/FloatButton.js +16 -5
- package/lib/Antd5/float-button/FloatButtonGroup.js +76 -52
- package/lib/Antd5/float-button/style/index.js +117 -76
- package/lib/Antd5/float-button/style/keyframes.js +118 -0
- package/lib/Antd5/form/ErrorList.js +14 -2
- package/lib/Antd5/form/Form.js +11 -3
- package/lib/Antd5/form/FormItem/ItemHolder.js +8 -4
- package/lib/Antd5/form/FormItem/index.js +6 -4
- package/lib/Antd5/form/FormItemInput.js +68 -28
- package/lib/Antd5/form/FormItemLabel.js +3 -3
- package/lib/Antd5/form/hooks/useForm.js +8 -1
- package/lib/Antd5/form/hooks/useVariants.js +10 -4
- package/lib/Antd5/form/style/explain.js +9 -8
- package/lib/Antd5/form/style/index.js +30 -18
- package/lib/Antd5/grid/row.js +2 -2
- package/lib/Antd5/image/index.js +3 -1
- package/lib/Antd5/image/style/index.js +17 -20
- package/lib/Antd5/index.js +2 -1
- package/lib/Antd5/input/Input.js +18 -38
- package/lib/Antd5/input/OTP/OTPInput.js +10 -5
- package/lib/Antd5/input/OTP/index.js +12 -4
- package/lib/Antd5/input/Password.js +6 -2
- package/lib/Antd5/input/Search.js +2 -4
- package/lib/Antd5/input/TextArea.js +1 -1
- package/lib/Antd5/input/style/index.js +72 -63
- package/lib/Antd5/input/style/otp.js +1 -1
- package/lib/Antd5/input/style/variants.js +38 -23
- package/lib/Antd5/input/utils.js +0 -1
- package/lib/Antd5/input-number/index.js +19 -22
- package/lib/Antd5/input-number/style/index.js +26 -16
- package/lib/Antd5/layout/Sider.js +15 -8
- package/lib/Antd5/layout/style/index.js +6 -96
- package/lib/Antd5/layout/style/sider.js +115 -0
- package/lib/Antd5/list/Item.js +18 -5
- package/lib/Antd5/list/index.js +15 -10
- package/lib/Antd5/list/style/index.js +40 -41
- package/lib/Antd5/locale/ar_EG.js +14 -1
- package/lib/Antd5/locale/az_AZ.js +78 -28
- package/lib/Antd5/locale/bn_BD.js +0 -1
- package/lib/Antd5/locale/by_BY.js +0 -1
- package/lib/Antd5/locale/ca_ES.js +0 -1
- package/lib/Antd5/locale/cs_CZ.js +0 -1
- package/lib/Antd5/locale/de_DE.js +0 -1
- package/lib/Antd5/locale/el_GR.js +104 -3
- package/lib/Antd5/locale/en_GB.js +0 -1
- package/lib/Antd5/locale/en_US.js +4 -2
- package/lib/Antd5/locale/es_ES.js +10 -6
- package/lib/Antd5/locale/et_EE.js +0 -1
- package/lib/Antd5/locale/eu_ES.js +4 -2
- package/lib/Antd5/locale/fa_IR.js +0 -1
- package/lib/Antd5/locale/fr_BE.js +5 -1
- package/lib/Antd5/locale/fr_CA.js +0 -1
- package/lib/Antd5/locale/fr_FR.js +5 -6
- package/lib/Antd5/locale/ga_IE.js +0 -1
- package/lib/Antd5/locale/gl_ES.js +0 -1
- package/lib/Antd5/locale/he_IL.js +0 -1
- package/lib/Antd5/locale/hi_IN.js +0 -1
- package/lib/Antd5/locale/hr_HR.js +0 -1
- package/lib/Antd5/locale/id_ID.js +4 -2
- package/lib/Antd5/locale/index.js +1 -1
- package/lib/Antd5/locale/it_IT.js +0 -1
- package/lib/Antd5/locale/ja_JP.js +4 -2
- package/lib/Antd5/locale/ka_GE.js +0 -1
- package/lib/Antd5/locale/kk_KZ.js +0 -1
- package/lib/Antd5/locale/km_KH.js +0 -1
- package/lib/Antd5/locale/kn_IN.js +82 -4
- package/lib/Antd5/locale/ko_KR.js +4 -2
- package/lib/Antd5/locale/lt_LT.js +4 -2
- package/lib/Antd5/locale/ml_IN.js +0 -1
- package/lib/Antd5/locale/mn_MN.js +86 -2
- package/lib/Antd5/locale/ms_MY.js +101 -18
- package/lib/Antd5/locale/my_MM.js +0 -1
- package/lib/Antd5/locale/nb_NO.js +0 -1
- package/lib/Antd5/locale/ne_NP.js +104 -2
- package/lib/Antd5/locale/nl_BE.js +5 -1
- package/lib/Antd5/locale/nl_NL.js +5 -1
- package/lib/Antd5/locale/pl_PL.js +0 -1
- package/lib/Antd5/locale/pt_BR.js +0 -1
- package/lib/Antd5/locale/pt_PT.js +55 -38
- package/lib/Antd5/locale/ro_RO.js +0 -1
- package/lib/Antd5/locale/ru_RU.js +9 -2
- package/lib/Antd5/locale/si_LK.js +0 -1
- package/lib/Antd5/locale/sk_SK.js +0 -1
- package/lib/Antd5/locale/sr_RS.js +0 -1
- package/lib/Antd5/locale/sv_SE.js +0 -1
- package/lib/Antd5/locale/th_TH.js +11 -3
- package/lib/Antd5/locale/tk_TK.js +0 -1
- package/lib/Antd5/locale/tr_TR.js +2 -1
- package/lib/Antd5/locale/uk_UA.js +1 -1
- package/lib/Antd5/locale/ur_PK.js +0 -1
- package/lib/Antd5/locale/uz_UZ.js +6 -7
- package/lib/Antd5/locale/zh_CN.js +4 -2
- package/lib/Antd5/locale/zh_HK.js +0 -1
- package/lib/Antd5/locale/zh_TW.js +0 -1
- package/lib/Antd5/mentions/index.js +4 -4
- package/lib/Antd5/menu/MenuItem.js +6 -5
- package/lib/Antd5/menu/OverrideContext.js +4 -3
- package/lib/Antd5/menu/SubMenu.js +2 -2
- package/lib/Antd5/menu/menu.js +2 -2
- package/lib/Antd5/menu/style/index.js +58 -40
- package/lib/Antd5/menu/style/theme.js +24 -20
- package/lib/Antd5/menu/style/vertical.js +10 -7
- package/lib/Antd5/message/PurePanel.js +22 -40
- package/lib/Antd5/message/style/index.js +8 -47
- package/lib/Antd5/message/useMessage.js +3 -15
- package/lib/Antd5/modal/Modal.js +50 -38
- package/lib/Antd5/modal/PurePanel.js +0 -1
- package/lib/Antd5/modal/confirm.js +4 -5
- package/lib/Antd5/modal/style/confirm.js +1 -2
- package/lib/Antd5/modal/style/index.js +13 -3
- package/lib/Antd5/modal/useModal/HookModal.js +4 -3
- package/lib/Antd5/modal/useModal/index.js +0 -1
- package/lib/Antd5/notification/index.js +6 -3
- package/lib/Antd5/notification/style/index.js +35 -3
- package/lib/Antd5/notification/useNotification.js +6 -1
- package/lib/Antd5/pagination/Pagination.js +10 -5
- package/lib/Antd5/pagination/design/behavior-pattern.js +3 -3
- package/lib/Antd5/pagination/style/bordered.js +1 -1
- package/lib/Antd5/pagination/style/index.js +27 -18
- package/lib/Antd5/popconfirm/PurePanel.js +7 -7
- package/lib/Antd5/popover/PurePanel.js +16 -6
- package/lib/Antd5/popover/index.js +7 -19
- package/lib/Antd5/popover/style/index.js +3 -1
- package/lib/Antd5/progress/Line.js +27 -19
- package/lib/Antd5/progress/design/behavior-pattern.js +3 -3
- package/lib/Antd5/progress/progress.js +37 -11
- package/lib/Antd5/progress/style/index.js +46 -11
- package/lib/Antd5/progress/utils.js +20 -18
- package/lib/Antd5/qr-code/QrcodeStatus.js +42 -0
- package/lib/Antd5/qr-code/index.js +31 -31
- package/lib/Antd5/rate/index.js +8 -2
- package/lib/Antd5/result/noFound.js +3 -1
- package/lib/Antd5/result/serverError.js +3 -1
- package/lib/Antd5/result/unauthorized.js +5 -3
- package/lib/Antd5/segmented/index.js +5 -3
- package/lib/Antd5/segmented/style/index.js +11 -3
- package/lib/Antd5/select/index.js +4 -2
- package/lib/Antd5/select/style/dropdown.js +1 -1
- package/lib/Antd5/select/style/index.js +21 -8
- package/lib/Antd5/select/style/multiple.js +18 -9
- package/lib/Antd5/select/style/single.js +8 -10
- package/lib/Antd5/select/style/token.js +9 -2
- package/lib/Antd5/select/style/variants.js +20 -11
- package/lib/Antd5/skeleton/Image.js +6 -4
- package/lib/Antd5/skeleton/Node.js +1 -3
- package/lib/Antd5/skeleton/Paragraph.js +1 -1
- package/lib/Antd5/skeleton/Title.js +9 -6
- package/lib/Antd5/skeleton/style/index.js +13 -13
- package/lib/Antd5/slider/Context.js +4 -0
- package/lib/Antd5/slider/SliderTooltip.js +9 -5
- package/lib/Antd5/slider/index.js +32 -31
- package/lib/Antd5/slider/style/index.js +60 -44
- package/lib/Antd5/space/Compact.js +1 -1
- package/lib/Antd5/space/index.js +3 -3
- package/lib/Antd5/spin/Indicator/Looper.js +29 -0
- package/lib/Antd5/spin/Indicator/Progress.js +78 -0
- package/lib/Antd5/spin/Indicator/index.js +21 -0
- package/lib/Antd5/spin/index.js +27 -45
- package/lib/Antd5/spin/style/index.js +54 -17
- package/lib/Antd5/spin/usePercent.js +40 -0
- package/lib/Antd5/splitter/Panel.js +36 -0
- package/lib/Antd5/splitter/SplitBar.js +124 -0
- package/lib/Antd5/splitter/Splitter.js +194 -0
- package/lib/Antd5/{_util/transButton.js → splitter/hooks/useItems.js} +28 -54
- package/lib/Antd5/splitter/hooks/useResizable.js +43 -0
- package/lib/Antd5/splitter/hooks/useResize.js +138 -0
- package/lib/Antd5/splitter/hooks/useSizes.js +109 -0
- package/lib/Antd5/splitter/index.js +5 -0
- package/lib/Antd5/splitter/interface.js +1 -0
- package/lib/Antd5/splitter/style/index.js +219 -0
- package/lib/Antd5/statistic/style/index.js +1 -1
- package/lib/Antd5/steps/style/custom-icon.js +1 -1
- package/lib/Antd5/steps/style/index.js +11 -8
- package/lib/Antd5/steps/style/inline.js +5 -4
- package/lib/Antd5/steps/style/progress-dot.js +2 -2
- package/lib/Antd5/steps/style/small.js +3 -3
- package/lib/Antd5/steps/style/vertical.js +2 -2
- package/lib/Antd5/style/index.js +37 -13
- package/lib/Antd5/style/motion/slide.js +6 -5
- package/lib/Antd5/style/placementArrow.js +15 -6
- package/lib/Antd5/switch/style/index.js +1 -1
- package/lib/Antd5/table/Column.js +2 -3
- package/lib/Antd5/table/ColumnGroup.js +2 -3
- package/lib/Antd5/table/ExpandIcon.js +6 -6
- package/lib/Antd5/table/InternalTable.js +6 -6
- package/lib/Antd5/table/RcTable/VirtualTable.js +3 -2
- package/lib/Antd5/table/RcTable/index.js +3 -2
- package/lib/Antd5/table/hooks/useFilter/FilterDropdown.js +82 -61
- package/lib/Antd5/table/hooks/useFilter/FilterSearch.js +7 -7
- package/lib/Antd5/table/hooks/useFilter/index.js +28 -26
- package/lib/Antd5/table/hooks/useLazyKVMap.js +5 -5
- package/lib/Antd5/table/hooks/useSelection.js +21 -11
- package/lib/Antd5/table/hooks/useSorter.js +66 -42
- package/lib/Antd5/table/hooks/useTitleColumns.js +9 -7
- package/lib/Antd5/table/interface.js +1 -1
- package/lib/Antd5/table/style/bordered.js +5 -3
- package/lib/Antd5/table/style/expand.js +44 -38
- package/lib/Antd5/table/style/filter.js +1 -1
- package/lib/Antd5/table/style/index.js +26 -21
- package/lib/Antd5/table/style/selection.js +3 -1
- package/lib/Antd5/table/style/sorter.js +3 -1
- package/lib/Antd5/table/style/virtual.js +2 -2
- package/lib/Antd5/table/util.js +9 -8
- package/lib/Antd5/tabs/style/index.js +2 -2
- package/lib/Antd5/tag/style/index.js +2 -2
- package/lib/Antd5/theme/index.js +12 -5
- package/lib/Antd5/theme/interface/cssinjs-utils.js +1 -0
- package/lib/Antd5/theme/internal.js +10 -5
- package/lib/Antd5/theme/themes/dark/colors.js +3 -0
- package/lib/Antd5/theme/themes/dark/index.js +1 -0
- package/lib/Antd5/theme/themes/default/colors.js +3 -0
- package/lib/Antd5/theme/themes/default/index.js +6 -2
- package/lib/Antd5/theme/themes/seed.js +5 -2
- package/lib/Antd5/theme/themes/shared/genColorMapToken.js +2 -0
- package/lib/Antd5/theme/themes/shared/genFontSizes.js +1 -1
- package/lib/Antd5/theme/useToken.js +2 -1
- package/lib/Antd5/theme/util/alias.js +1 -1
- package/lib/Antd5/theme/util/genStyleUtils.js +61 -0
- package/lib/Antd5/time-picker/index.js +15 -2
- package/lib/Antd5/time-picker/locale/az_AZ.js +2 -1
- package/lib/Antd5/time-picker/locale/it_IT.js +2 -1
- package/lib/Antd5/time-picker/locale/uk_UA.js +2 -1
- package/lib/Antd5/timeline/TimelineItemList.js +0 -1
- package/lib/Antd5/timeline/style/index.js +1 -1
- package/lib/Antd5/tooltip/index.js +3 -2
- package/lib/Antd5/tooltip/style/index.js +3 -1
- package/lib/Antd5/tooltip/util.js +0 -1
- package/lib/Antd5/tour/panelRender.js +7 -13
- package/lib/Antd5/tour/style/index.js +6 -13
- package/lib/Antd5/transfer/ListItem.js +3 -3
- package/lib/Antd5/transfer/hooks/useData.js +1 -1
- package/lib/Antd5/transfer/hooks/useSelection.js +26 -21
- package/lib/Antd5/transfer/style/index.js +12 -22
- package/lib/Antd5/tree/Tree.js +2 -0
- package/lib/Antd5/tree/style/directory.js +39 -0
- package/lib/Antd5/tree/style/index.js +115 -166
- package/lib/Antd5/tree/utils/dropIndicator.js +3 -2
- package/lib/Antd5/tree/utils/iconUtil.js +5 -1
- package/lib/Antd5/tree-select/index.js +47 -43
- package/lib/Antd5/typography/Base/CopyBtn.js +17 -17
- package/lib/Antd5/typography/Base/Ellipsis.js +48 -40
- package/lib/Antd5/typography/Base/index.js +20 -60
- package/lib/Antd5/typography/Base/util.js +31 -1
- package/lib/Antd5/typography/Editable.js +11 -10
- package/lib/Antd5/typography/Title.js +1 -6
- package/lib/Antd5/typography/Typography.js +2 -6
- package/lib/Antd5/typography/hooks/useCopyClick.js +3 -2
- package/lib/Antd5/typography/hooks/usePrevious.js +1 -1
- package/lib/Antd5/{message/assets/Close.js → typography/hooks/useTooltipProps.js} +24 -16
- package/lib/Antd5/typography/style/mixins.js +3 -9
- package/lib/Antd5/upload/Upload.js +55 -83
- package/lib/Antd5/upload/UploadList/ListItem.js +15 -9
- package/lib/Antd5/upload/UploadList/index.js +33 -47
- package/lib/Antd5/upload/style/dragger.js +5 -26
- package/lib/Antd5/upload/style/list.js +2 -7
- package/lib/Antd5/version/version.js +1 -1
- package/lib/Antd5/watermark/context.js +1 -1
- package/lib/Antd5/watermark/index.js +35 -18
- package/lib/Antd5/watermark/useClips.js +2 -1
- package/lib/Antd5/watermark/useRafDebounce.js +1 -1
- package/lib/Antd5/watermark/utils.js +1 -1
- package/lib/CWSelect/index.js +39 -1
- package/lib/CWSelect/index.style.js +39 -0
- package/lib/CWTree/index.js +3 -9
- package/lib/CWTree/index.style.js +2 -0
- package/lib/ConfigProvider/ConfigProvider.js +9 -10
- package/lib/ConfigProvider/customTheme.js +6 -0
- package/lib/ConfigProvider/theme/common.js +140 -0
- package/lib/ConfigProvider/theme/dark.js +2 -0
- package/lib/ConfigProvider/theme/default.js +115 -0
- package/lib/ConfigProvider/theme/utils.js +49 -0
- package/lib/QuickTransfer/index.js +45 -59
- package/lib/Splitter/index.js +2 -0
- package/package.json +37 -35
- package/lib/Antd5/color-picker/components/PanelPicker.js +0 -53
- package/lib/Antd5/color-picker/hooks/useColorState.js +0 -53
- package/lib/Antd5/layout/style/light.js +0 -24
- package/lib/Antd5/style/operationUnit.js +0 -18
- package/lib/Antd5/theme/util/calc/CSSCalculator.js +0 -119
- package/lib/Antd5/theme/util/calc/NumCalculator.js +0 -81
- package/lib/Antd5/theme/util/calc/calculator.js +0 -10
- package/lib/Antd5/theme/util/calc/index.js +0 -9
- package/lib/Antd5/theme/util/genComponentStyleHook.js +0 -243
- package/lib/Antd5/theme/util/maxmin.js +0 -27
- package/lib/Antd5/theme/util/statistic.js +0 -74
- package/lib/Antd5/typography/hooks/useUpdatedEffect.js +0 -13
- package/lib/Antd5/version/token-meta.json +0 -1
- package/lib/Antd5/version/token.json +0 -1
- package/lib/ConfigProvider/customTheme.json +0 -163
package/lib/Antd5/list/index.js
CHANGED
|
@@ -32,8 +32,8 @@ import Spin from '../spin';
|
|
|
32
32
|
import { ListContext } from './context';
|
|
33
33
|
import Item from './Item';
|
|
34
34
|
import useStyle from './style';
|
|
35
|
-
function
|
|
36
|
-
var
|
|
35
|
+
function InternalList(_ref, ref) {
|
|
36
|
+
var _loadingProp;
|
|
37
37
|
var _ref$pagination = _ref.pagination,
|
|
38
38
|
pagination = _ref$pagination === void 0 ? false : _ref$pagination,
|
|
39
39
|
customizePrefixCls = _ref.prefixCls,
|
|
@@ -81,7 +81,7 @@ function List(_ref) {
|
|
|
81
81
|
return function (page, pageSize) {
|
|
82
82
|
setPaginationCurrent(page);
|
|
83
83
|
setPaginationSize(pageSize);
|
|
84
|
-
if (pagination
|
|
84
|
+
if (pagination) {
|
|
85
85
|
var _pagination$eventName;
|
|
86
86
|
pagination === null || pagination === void 0 || (_pagination$eventName = pagination[eventName]) === null || _pagination$eventName === void 0 || _pagination$eventName.call(pagination, page, pageSize);
|
|
87
87
|
}
|
|
@@ -122,7 +122,7 @@ function List(_ref) {
|
|
|
122
122
|
spinning: loadingProp
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
var isLoading = loadingProp &&
|
|
125
|
+
var isLoading = !!((_loadingProp = loadingProp) !== null && _loadingProp !== void 0 && _loadingProp.spinning);
|
|
126
126
|
var mergedSize = useSize(customizeSize);
|
|
127
127
|
// large => lg
|
|
128
128
|
// small => sm
|
|
@@ -147,13 +147,15 @@ function List(_ref) {
|
|
|
147
147
|
if (paginationProps.current > largestPage) {
|
|
148
148
|
paginationProps.current = largestPage;
|
|
149
149
|
}
|
|
150
|
-
var paginationContent = pagination
|
|
151
|
-
className: classNames("".concat(prefixCls, "-pagination")
|
|
152
|
-
children: _jsx(Pagination, _objectSpread(_objectSpread({
|
|
150
|
+
var paginationContent = pagination && _jsx("div", {
|
|
151
|
+
className: classNames("".concat(prefixCls, "-pagination")),
|
|
152
|
+
children: _jsx(Pagination, _objectSpread(_objectSpread({
|
|
153
|
+
align: "end"
|
|
154
|
+
}, paginationProps), {}, {
|
|
153
155
|
onChange: onPaginationChange,
|
|
154
156
|
onShowSizeChange: onPaginationShowSizeChange
|
|
155
157
|
}))
|
|
156
|
-
})
|
|
158
|
+
});
|
|
157
159
|
var splitDataSource = _toConsumableArray(dataSource);
|
|
158
160
|
if (pagination) {
|
|
159
161
|
if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {
|
|
@@ -209,7 +211,7 @@ function List(_ref) {
|
|
|
209
211
|
} else if (!children && !isLoading) {
|
|
210
212
|
childrenContent = _jsx("div", {
|
|
211
213
|
className: "".concat(prefixCls, "-empty-text"),
|
|
212
|
-
children: locale
|
|
214
|
+
children: (locale === null || locale === void 0 ? void 0 : locale.emptyText) || (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('List')) || _jsx(DefaultRenderEmpty, {
|
|
213
215
|
componentName: "List"
|
|
214
216
|
})
|
|
215
217
|
});
|
|
@@ -224,6 +226,7 @@ function List(_ref) {
|
|
|
224
226
|
return wrapCSSVar(_jsx(ListContext.Provider, {
|
|
225
227
|
value: contextValue,
|
|
226
228
|
children: _jsxs("div", _objectSpread(_objectSpread({
|
|
229
|
+
ref: ref,
|
|
227
230
|
style: _objectSpread(_objectSpread({}, list === null || list === void 0 ? void 0 : list.style), style),
|
|
228
231
|
className: classString
|
|
229
232
|
}, rest), {}, {
|
|
@@ -239,8 +242,10 @@ function List(_ref) {
|
|
|
239
242
|
}))
|
|
240
243
|
}));
|
|
241
244
|
}
|
|
245
|
+
var ListWithForwardRef = /*#__PURE__*/React.forwardRef(InternalList);
|
|
242
246
|
if (process.env.NODE_ENV !== 'production') {
|
|
243
|
-
|
|
247
|
+
ListWithForwardRef.displayName = 'List';
|
|
244
248
|
}
|
|
249
|
+
var List = ListWithForwardRef;
|
|
245
250
|
List.Item = Item;
|
|
246
251
|
export default List;
|
|
@@ -16,7 +16,7 @@ var genBorderedStyle = function genBorderedStyle(token) {
|
|
|
16
16
|
itemPaddingLG = token.itemPaddingLG,
|
|
17
17
|
marginLG = token.marginLG,
|
|
18
18
|
borderRadiusLG = token.borderRadiusLG;
|
|
19
|
-
return _defineProperty(_defineProperty(_defineProperty({},
|
|
19
|
+
return _defineProperty(_defineProperty(_defineProperty({}, listBorderedCls, _defineProperty(_defineProperty({
|
|
20
20
|
border: "".concat(unit(token.lineWidth), " ").concat(token.lineType, " ").concat(token.colorBorder),
|
|
21
21
|
borderRadius: borderRadiusLG
|
|
22
22
|
}, "".concat(componentCls, "-header,").concat(componentCls, "-footer,").concat(componentCls, "-item"), {
|
|
@@ -36,11 +36,11 @@ var genResponsiveStyle = function genResponsiveStyle(token) {
|
|
|
36
36
|
marginLG = token.marginLG,
|
|
37
37
|
marginSM = token.marginSM,
|
|
38
38
|
margin = token.margin;
|
|
39
|
-
return _defineProperty(_defineProperty({}, "@media screen and (max-width:".concat(screenMD, "px)"), _defineProperty(_defineProperty({},
|
|
39
|
+
return _defineProperty(_defineProperty({}, "@media screen and (max-width:".concat(screenMD, "px)"), _defineProperty(_defineProperty({}, componentCls, _defineProperty({}, "".concat(componentCls, "-item"), _defineProperty({}, "".concat(componentCls, "-item-action"), {
|
|
40
40
|
marginInlineStart: marginLG
|
|
41
41
|
}))), "".concat(componentCls, "-vertical"), _defineProperty({}, "".concat(componentCls, "-item"), _defineProperty({}, "".concat(componentCls, "-item-extra"), {
|
|
42
42
|
marginInlineStart: marginLG
|
|
43
|
-
})))), "@media screen and (max-width: ".concat(screenSM, "px)"), _defineProperty(_defineProperty({},
|
|
43
|
+
})))), "@media screen and (max-width: ".concat(screenSM, "px)"), _defineProperty(_defineProperty({}, componentCls, _defineProperty({}, "".concat(componentCls, "-item"), _defineProperty({
|
|
44
44
|
flexWrap: 'wrap'
|
|
45
45
|
}, "".concat(componentCls, "-action"), {
|
|
46
46
|
marginInlineStart: marginSM
|
|
@@ -79,13 +79,7 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
79
79
|
avatarMarginRight = token.avatarMarginRight,
|
|
80
80
|
titleMarginBottom = token.titleMarginBottom,
|
|
81
81
|
descriptionFontSize = token.descriptionFontSize;
|
|
82
|
-
|
|
83
|
-
['start', 'center', 'end'].forEach(function (item) {
|
|
84
|
-
alignCls["&-align-".concat(item)] = {
|
|
85
|
-
textAlign: item
|
|
86
|
-
};
|
|
87
|
-
});
|
|
88
|
-
return _ref3 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "".concat(componentCls), _objectSpread(_objectSpread({}, resetComponent(token)), {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
82
|
+
return _ref3 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, componentCls, _objectSpread(_objectSpread({}, resetComponent(token)), {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
89
83
|
position: 'relative',
|
|
90
84
|
'*': {
|
|
91
85
|
outline: 'none'
|
|
@@ -96,11 +90,11 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
96
90
|
background: footerBg
|
|
97
91
|
}), "".concat(componentCls, "-header, ").concat(componentCls, "-footer"), {
|
|
98
92
|
paddingBlock: paddingSM
|
|
99
|
-
}), "".concat(componentCls, "-pagination"),
|
|
93
|
+
}), "".concat(componentCls, "-pagination"), _defineProperty({
|
|
100
94
|
marginBlockStart: marginLG
|
|
101
|
-
},
|
|
95
|
+
}, "".concat(antCls, "-pagination-options"), {
|
|
102
96
|
textAlign: 'start'
|
|
103
|
-
}))
|
|
97
|
+
})), "".concat(componentCls, "-spin"), {
|
|
104
98
|
minHeight: minHeight,
|
|
105
99
|
textAlign: 'center'
|
|
106
100
|
}), "".concat(componentCls, "-items"), {
|
|
@@ -129,33 +123,36 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
129
123
|
color: colorText,
|
|
130
124
|
fontSize: token.fontSize,
|
|
131
125
|
lineHeight: token.lineHeight,
|
|
132
|
-
'> a':
|
|
126
|
+
'> a': {
|
|
133
127
|
color: colorText,
|
|
134
|
-
transition: "all ".concat(motionDurationSlow)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
128
|
+
transition: "all ".concat(motionDurationSlow),
|
|
129
|
+
'&:hover': {
|
|
130
|
+
color: colorPrimary
|
|
131
|
+
}
|
|
132
|
+
}
|
|
138
133
|
}), "".concat(componentCls, "-item-meta-description"), {
|
|
139
134
|
color: colorTextDescription,
|
|
140
135
|
fontSize: descriptionFontSize,
|
|
141
136
|
lineHeight: token.lineHeight
|
|
142
|
-
})), "".concat(componentCls, "-item-action"), _defineProperty(
|
|
137
|
+
})), "".concat(componentCls, "-item-action"), _defineProperty({
|
|
143
138
|
flex: '0 0 auto',
|
|
144
139
|
marginInlineStart: token.marginXXL,
|
|
145
140
|
padding: 0,
|
|
146
141
|
fontSize: 0,
|
|
147
|
-
listStyle: 'none'
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
142
|
+
listStyle: 'none',
|
|
143
|
+
'& > li': {
|
|
144
|
+
position: 'relative',
|
|
145
|
+
display: 'inline-block',
|
|
146
|
+
padding: "0 ".concat(unit(paddingXS)),
|
|
147
|
+
color: colorTextDescription,
|
|
148
|
+
fontSize: token.fontSize,
|
|
149
|
+
lineHeight: token.lineHeight,
|
|
150
|
+
textAlign: 'center',
|
|
151
|
+
'&:first-child': {
|
|
152
|
+
paddingInlineStart: 0
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}, "".concat(componentCls, "-item-action-split"), {
|
|
159
156
|
position: 'absolute',
|
|
160
157
|
insetBlockStart: '50%',
|
|
161
158
|
insetInlineEnd: 0,
|
|
@@ -199,16 +196,18 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
199
196
|
})), "".concat(componentCls, "-item-action"), {
|
|
200
197
|
marginBlockStart: padding,
|
|
201
198
|
marginInlineStart: 'auto',
|
|
202
|
-
'> li':
|
|
203
|
-
padding: "0 ".concat(unit(padding))
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
199
|
+
'> li': {
|
|
200
|
+
padding: "0 ".concat(unit(padding)),
|
|
201
|
+
'&:first-child': {
|
|
202
|
+
paddingInlineStart: 0
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
})), "".concat(componentCls, "-split ").concat(componentCls, "-item"), {
|
|
206
|
+
borderBlockEnd: "".concat(unit(token.lineWidth), " ").concat(token.lineType, " ").concat(token.colorSplit),
|
|
207
|
+
'&:last-child': {
|
|
208
|
+
borderBlockEnd: 'none'
|
|
209
|
+
}
|
|
210
|
+
}), "".concat(componentCls, "-split ").concat(componentCls, "-header"), {
|
|
212
211
|
borderBlockEnd: "".concat(unit(token.lineWidth), " ").concat(token.lineType, " ").concat(token.colorSplit)
|
|
213
212
|
}), "".concat(componentCls, "-split").concat(componentCls, "-empty ").concat(componentCls, "-footer"), {
|
|
214
213
|
borderTop: "".concat(unit(token.lineWidth), " ").concat(token.lineType, " ").concat(token.colorSplit)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/ar_EG';
|
|
3
2
|
import Calendar from '../calendar/locale/ar_EG';
|
|
4
3
|
import DatePicker from '../date-picker/locale/ar_EG';
|
|
@@ -109,6 +108,20 @@ var localeValues = {
|
|
|
109
108
|
mismatch: 'لا يتطابق ${label} مع ${pattern}'
|
|
110
109
|
}
|
|
111
110
|
}
|
|
111
|
+
},
|
|
112
|
+
Image: {
|
|
113
|
+
preview: 'معاينة'
|
|
114
|
+
},
|
|
115
|
+
QRCode: {
|
|
116
|
+
expired: 'انتهت صلاحية رمز الاستجابة السريعة',
|
|
117
|
+
refresh: 'انقر للتحديث',
|
|
118
|
+
scanned: 'تم المسح'
|
|
119
|
+
},
|
|
120
|
+
ColorPicker: {
|
|
121
|
+
presetEmpty: 'لا يوجد',
|
|
122
|
+
transparent: 'شفاف',
|
|
123
|
+
singleColor: 'لون واحد',
|
|
124
|
+
gradientColor: 'تدرج لوني'
|
|
112
125
|
}
|
|
113
126
|
};
|
|
114
127
|
export default localeValues;
|
|
@@ -1,22 +1,40 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/az_AZ';
|
|
3
2
|
import Calendar from '../calendar/locale/az_AZ';
|
|
4
3
|
import DatePicker from '../date-picker/locale/az_AZ';
|
|
5
4
|
import TimePicker from '../time-picker/locale/az_AZ';
|
|
6
|
-
var typeTemplate = '${label}Hökmlü deyil${type}';
|
|
5
|
+
var typeTemplate = '${label} Hökmlü deyil ${type}';
|
|
7
6
|
var localeValues = {
|
|
8
7
|
locale: 'az',
|
|
9
8
|
Pagination: Pagination,
|
|
10
9
|
DatePicker: DatePicker,
|
|
11
10
|
TimePicker: TimePicker,
|
|
12
11
|
Calendar: Calendar,
|
|
12
|
+
global: {
|
|
13
|
+
placeholder: 'Zəhmət olmasa seçin'
|
|
14
|
+
},
|
|
13
15
|
Table: {
|
|
14
16
|
filterTitle: 'Filter menyu',
|
|
15
17
|
filterConfirm: 'Axtar',
|
|
16
18
|
filterReset: 'Sıfırla',
|
|
17
19
|
emptyText: 'Məlumat yoxdur',
|
|
18
20
|
selectAll: 'Cari səhifəni seç',
|
|
19
|
-
selectInvert: '
|
|
21
|
+
selectInvert: 'Mövcud səhifənin elementlərinin sırasını tərs çevir',
|
|
22
|
+
filterEmptyText: 'Filter yoxdur',
|
|
23
|
+
filterCheckall: 'Bütün maddələri seç',
|
|
24
|
+
filterSearchPlaceholder: 'Filterlərdə axtar',
|
|
25
|
+
selectNone: 'Bütün məlumatı sil',
|
|
26
|
+
selectionAll: 'Bütün məlumatı seç',
|
|
27
|
+
sortTitle: 'Sırala',
|
|
28
|
+
expand: 'Sıranı genişləndir',
|
|
29
|
+
collapse: 'Sıranı qapadın',
|
|
30
|
+
triggerDesc: 'Azalan sıralama üçün klik edin',
|
|
31
|
+
triggerAsc: 'Artan sıralama üçün klik edin',
|
|
32
|
+
cancelSort: 'Sıralamayı ləğv edin'
|
|
33
|
+
},
|
|
34
|
+
Tour: {
|
|
35
|
+
Next: 'Növbəti',
|
|
36
|
+
Previous: 'Əvvəlki',
|
|
37
|
+
Finish: 'Bitir'
|
|
20
38
|
},
|
|
21
39
|
Modal: {
|
|
22
40
|
okText: 'Bəli',
|
|
@@ -32,28 +50,46 @@ var localeValues = {
|
|
|
32
50
|
notFoundContent: 'Tapılmadı',
|
|
33
51
|
searchPlaceholder: 'Burada axtar',
|
|
34
52
|
itemUnit: 'item',
|
|
35
|
-
itemsUnit: 'items'
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
53
|
+
itemsUnit: 'items',
|
|
54
|
+
remove: 'Sil',
|
|
55
|
+
selectCurrent: 'Cari səhifəni seç',
|
|
56
|
+
removeCurrent: 'Cari səhifəni sil',
|
|
57
|
+
selectAll: 'Bütün məlumatı seç',
|
|
58
|
+
deselectAll: 'Bütün seçmə nişanlarını sil',
|
|
59
|
+
removeAll: 'Bütün məlumatı sil',
|
|
60
|
+
selectInvert: 'Mövcud səhifənin elementlərinin sırasını tərs çevir'
|
|
39
61
|
},
|
|
40
62
|
Upload: {
|
|
41
63
|
uploading: 'Yüklənir...',
|
|
42
64
|
removeFile: 'Faylı sil',
|
|
43
65
|
uploadError: 'Yükləmə xətası',
|
|
44
|
-
previewFile: 'Fayla önbaxış'
|
|
66
|
+
previewFile: 'Fayla önbaxış',
|
|
67
|
+
downloadFile: 'Faylı yüklə'
|
|
68
|
+
},
|
|
69
|
+
Empty: {
|
|
70
|
+
description: 'Məlumat yoxdur'
|
|
71
|
+
},
|
|
72
|
+
Icon: {
|
|
73
|
+
icon: 'icon'
|
|
74
|
+
},
|
|
75
|
+
Text: {
|
|
76
|
+
edit: 'Dəyişiklik et',
|
|
77
|
+
copy: 'Kopyala',
|
|
78
|
+
copied: 'Kopyalandı',
|
|
79
|
+
expand: 'Genişləndir',
|
|
80
|
+
collapse: 'Yığılma'
|
|
45
81
|
},
|
|
46
82
|
Form: {
|
|
47
83
|
optional: '(Seçimli)',
|
|
48
84
|
defaultValidateMessages: {
|
|
49
|
-
"default": 'Sahə təsdiq
|
|
50
|
-
required: 'Xahiş edirik daxil olun${label}',
|
|
51
|
-
"enum": '${label}Onlardan biri olmalıdır[${enum}]',
|
|
52
|
-
whitespace: '${label}Null xarakter ola bilməz',
|
|
85
|
+
"default": 'Sahə təsdiq xətası ${label}',
|
|
86
|
+
required: 'Xahiş edirik daxil olun ${label}',
|
|
87
|
+
"enum": '${label} Onlardan biri olmalıdır[${enum}]',
|
|
88
|
+
whitespace: '${label} Null xarakter ola bilməz',
|
|
53
89
|
date: {
|
|
54
|
-
format: '${label}Tarix formatı hökmlü deyil',
|
|
55
|
-
parse: '${label}Tarixi döndərmək mümkün deyil',
|
|
56
|
-
invalid: '${label}səhv tarixdir'
|
|
90
|
+
format: '${label} Tarix formatı hökmlü deyil',
|
|
91
|
+
parse: '${label} Tarixi döndərmək mümkün deyil',
|
|
92
|
+
invalid: '${label} səhv tarixdir'
|
|
57
93
|
},
|
|
58
94
|
types: {
|
|
59
95
|
string: typeTemplate,
|
|
@@ -71,27 +107,41 @@ var localeValues = {
|
|
|
71
107
|
hex: typeTemplate
|
|
72
108
|
},
|
|
73
109
|
string: {
|
|
74
|
-
len: '${label}Olmalıdır${len}işarələr',
|
|
75
|
-
min: '${label}ən az${min}işarələr',
|
|
76
|
-
max: '${label}ən çox${max}işarələr',
|
|
77
|
-
range: '${label}Olmalıdır${min}-${max}hərflər arasında'
|
|
110
|
+
len: '${label} Olmalıdır ${len} işarələr',
|
|
111
|
+
min: '${label} ən az ${min} işarələr',
|
|
112
|
+
max: '${label} ən çox ${max} işarələr',
|
|
113
|
+
range: '${label} Olmalıdır ${min}-${max} hərflər arasında'
|
|
78
114
|
},
|
|
79
115
|
number: {
|
|
80
|
-
len: '${label}Bərabər olmalıdır${len}',
|
|
81
|
-
min: '${label}Minimal dəyəri${min}',
|
|
82
|
-
max: '${label}Maksimal qiymət
|
|
83
|
-
range: '${label}Olmalıdır${min}-${max}aralarında'
|
|
116
|
+
len: '${label} Bərabər olmalıdır ${len}',
|
|
117
|
+
min: '${label} Minimal dəyəri ${min}',
|
|
118
|
+
max: '${label} Maksimal qiymət: ${max}',
|
|
119
|
+
range: '${label} Olmalıdır ${min}-${max} aralarında'
|
|
84
120
|
},
|
|
85
121
|
array: {
|
|
86
|
-
len: 'Olmalıdır${len}parça${label}',
|
|
87
|
-
min: 'ən az${min}parça${label}',
|
|
88
|
-
max: 'ən çox${max}parça${label}',
|
|
89
|
-
range: '${label}miqdarıOlmalıdır${min}-${max}aralarında'
|
|
122
|
+
len: 'Olmalıdır ${len} parça ${label}',
|
|
123
|
+
min: 'ən az ${min} parça ${label}',
|
|
124
|
+
max: 'ən çox ${max} parça ${label}',
|
|
125
|
+
range: '${label} miqdarıOlmalıdır ${min}-${max} aralarında'
|
|
90
126
|
},
|
|
91
127
|
pattern: {
|
|
92
|
-
mismatch: '${label}Şablona uyğun gəlmir${pattern}'
|
|
128
|
+
mismatch: '${label} Şablona uyğun gəlmir ${pattern}'
|
|
93
129
|
}
|
|
94
130
|
}
|
|
131
|
+
},
|
|
132
|
+
Image: {
|
|
133
|
+
preview: 'Önbaxış'
|
|
134
|
+
},
|
|
135
|
+
QRCode: {
|
|
136
|
+
expired: 'QR kodunun müddəti bitmişdir',
|
|
137
|
+
refresh: 'Yenilə',
|
|
138
|
+
scanned: 'Gözətildi'
|
|
139
|
+
},
|
|
140
|
+
ColorPicker: {
|
|
141
|
+
presetEmpty: 'Boşdur',
|
|
142
|
+
transparent: 'Şəffaf',
|
|
143
|
+
singleColor: 'Tək rəng',
|
|
144
|
+
gradientColor: 'Gradient rəng'
|
|
95
145
|
}
|
|
96
146
|
};
|
|
97
147
|
export default localeValues;
|
|
@@ -2,23 +2,44 @@ import Pagination from 'rc-pagination/lib/locale/el_GR';
|
|
|
2
2
|
import Calendar from '../calendar/locale/el_GR';
|
|
3
3
|
import DatePicker from '../date-picker/locale/el_GR';
|
|
4
4
|
import TimePicker from '../time-picker/locale/el_GR';
|
|
5
|
+
var typeTemplate = 'Το ${label} δεν είναι έγκυρο ${type}';
|
|
5
6
|
var localeValues = {
|
|
6
7
|
locale: 'el',
|
|
7
8
|
Pagination: Pagination,
|
|
8
9
|
DatePicker: DatePicker,
|
|
9
10
|
TimePicker: TimePicker,
|
|
10
11
|
Calendar: Calendar,
|
|
12
|
+
global: {
|
|
13
|
+
placeholder: 'Παρακαλώ επιλέξτε'
|
|
14
|
+
},
|
|
11
15
|
Table: {
|
|
12
16
|
filterTitle: 'Μενού φίλτρων',
|
|
13
17
|
filterConfirm: 'ΟΚ',
|
|
14
18
|
filterReset: 'Επαναφορά',
|
|
19
|
+
filterEmptyText: 'Χωρίς φίλτρα',
|
|
20
|
+
filterCheckall: 'Επιλογή όλων',
|
|
21
|
+
filterSearchPlaceholder: 'Αναζήτηση στα φίλτρα',
|
|
22
|
+
emptyText: 'Δεν υπάρχουν δεδομένα',
|
|
15
23
|
selectAll: 'Επιλογή τρέχουσας σελίδας',
|
|
16
|
-
selectInvert: 'Αντιστροφή τρέχουσας σελίδας'
|
|
24
|
+
selectInvert: 'Αντιστροφή τρέχουσας σελίδας',
|
|
25
|
+
selectNone: 'Εκκαθάριση όλων των δεδομένων',
|
|
26
|
+
selectionAll: 'Επιλογή όλων των δεδομένων',
|
|
27
|
+
sortTitle: 'Ταξινόμηση',
|
|
28
|
+
expand: 'Ανάπτυξη σειράς',
|
|
29
|
+
collapse: 'Σύμπτυξη σειράς',
|
|
30
|
+
triggerDesc: 'Κλικ για φθίνουσα ταξινόμηση',
|
|
31
|
+
triggerAsc: 'Κλικ για αύξουσα ταξινόμηση',
|
|
32
|
+
cancelSort: 'Κλικ για ακύρωση ταξινόμησης'
|
|
17
33
|
},
|
|
18
34
|
Modal: {
|
|
19
35
|
okText: 'ΟΚ',
|
|
20
36
|
cancelText: 'Άκυρο',
|
|
21
|
-
justOkText: '
|
|
37
|
+
justOkText: 'Εντάξει'
|
|
38
|
+
},
|
|
39
|
+
Tour: {
|
|
40
|
+
Next: 'Επόμενο',
|
|
41
|
+
Previous: 'Προηγούμενο',
|
|
42
|
+
Finish: 'Τέλος'
|
|
22
43
|
},
|
|
23
44
|
Popconfirm: {
|
|
24
45
|
okText: 'ΟΚ',
|
|
@@ -28,7 +49,13 @@ var localeValues = {
|
|
|
28
49
|
titles: ['', ''],
|
|
29
50
|
searchPlaceholder: 'Αναζήτηση',
|
|
30
51
|
itemUnit: 'αντικείμενο',
|
|
31
|
-
itemsUnit: 'αντικείμενα'
|
|
52
|
+
itemsUnit: 'αντικείμενα',
|
|
53
|
+
remove: 'Αφαίρεση',
|
|
54
|
+
selectCurrent: 'Επιλογή τρέχουσας σελίδας',
|
|
55
|
+
removeCurrent: 'Αφαίρεση τρέχουσας σελίδας',
|
|
56
|
+
selectAll: 'Επιλογή όλων των δεδομένων',
|
|
57
|
+
removeAll: 'Αφαίρεση όλων των δεδομένων',
|
|
58
|
+
selectInvert: 'Αντιστροφή τρέχουσας σελίδας'
|
|
32
59
|
},
|
|
33
60
|
Upload: {
|
|
34
61
|
uploading: 'Μεταφόρτωση...',
|
|
@@ -39,6 +66,80 @@ var localeValues = {
|
|
|
39
66
|
},
|
|
40
67
|
Empty: {
|
|
41
68
|
description: 'Δεν υπάρχουν δεδομένα'
|
|
69
|
+
},
|
|
70
|
+
Icon: {
|
|
71
|
+
icon: 'εικονίδιο'
|
|
72
|
+
},
|
|
73
|
+
Text: {
|
|
74
|
+
edit: 'Επεξεργασία',
|
|
75
|
+
copy: 'Αντιγραφή',
|
|
76
|
+
copied: 'Αντιγράφηκε',
|
|
77
|
+
expand: 'Ανάπτυξη',
|
|
78
|
+
collapse: 'Σύμπτυξη'
|
|
79
|
+
},
|
|
80
|
+
Form: {
|
|
81
|
+
optional: '(προαιρετικό)',
|
|
82
|
+
defaultValidateMessages: {
|
|
83
|
+
"default": 'Σφάλμα επικύρωσης πεδίου για ${label}',
|
|
84
|
+
required: 'Παρακαλώ εισάγετε ${label}',
|
|
85
|
+
"enum": 'Το ${label} πρέπει να είναι ένα από [${enum}]',
|
|
86
|
+
whitespace: 'Το ${label} δεν μπορεί να είναι κενός χαρακτήρας',
|
|
87
|
+
date: {
|
|
88
|
+
format: 'Η μορφή ημερομηνίας του ${label} είναι άκυρη',
|
|
89
|
+
parse: 'Το ${label} δεν μπορεί να μετατραπεί σε ημερομηνία',
|
|
90
|
+
invalid: 'Το ${label} είναι μια άκυρη ημερομηνία'
|
|
91
|
+
},
|
|
92
|
+
types: {
|
|
93
|
+
string: typeTemplate,
|
|
94
|
+
method: typeTemplate,
|
|
95
|
+
array: typeTemplate,
|
|
96
|
+
object: typeTemplate,
|
|
97
|
+
number: typeTemplate,
|
|
98
|
+
date: typeTemplate,
|
|
99
|
+
"boolean": typeTemplate,
|
|
100
|
+
integer: typeTemplate,
|
|
101
|
+
"float": typeTemplate,
|
|
102
|
+
regexp: typeTemplate,
|
|
103
|
+
email: typeTemplate,
|
|
104
|
+
url: typeTemplate,
|
|
105
|
+
hex: typeTemplate
|
|
106
|
+
},
|
|
107
|
+
string: {
|
|
108
|
+
len: 'Το ${label} πρέπει να είναι ${len} χαρακτήρες',
|
|
109
|
+
min: 'Το ${label} πρέπει να είναι τουλάχιστον ${min} χαρακτήρες',
|
|
110
|
+
max: 'Το ${label} πρέπει να είναι το πολύ ${max} χαρακτήρες',
|
|
111
|
+
range: 'Το ${label} πρέπει να είναι μεταξύ ${min}-${max} χαρακτήρων'
|
|
112
|
+
},
|
|
113
|
+
number: {
|
|
114
|
+
len: 'Το ${label} πρέπει να είναι ίσο με ${len}',
|
|
115
|
+
min: 'Το ${label} πρέπει να είναι τουλάχιστον ${min}',
|
|
116
|
+
max: 'Το ${label} πρέπει να είναι το πολύ ${max}',
|
|
117
|
+
range: 'Το ${label} πρέπει να είναι μεταξύ ${min}-${max}'
|
|
118
|
+
},
|
|
119
|
+
array: {
|
|
120
|
+
len: 'Πρέπει να είναι ${len} ${label}',
|
|
121
|
+
min: 'Τουλάχιστον ${min} ${label}',
|
|
122
|
+
max: 'Το πολύ ${max} ${label}',
|
|
123
|
+
range: 'Το ποσό του ${label} πρέπει να είναι μεταξύ ${min}-${max}'
|
|
124
|
+
},
|
|
125
|
+
pattern: {
|
|
126
|
+
mismatch: 'Το ${label} δεν ταιριάζει με το μοτίβο ${pattern}'
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
Image: {
|
|
131
|
+
preview: 'Προεπισκόπηση'
|
|
132
|
+
},
|
|
133
|
+
QRCode: {
|
|
134
|
+
expired: 'Ο κωδικός QR έληξε',
|
|
135
|
+
refresh: 'Ανανέωση',
|
|
136
|
+
scanned: 'Σαρώθηκε'
|
|
137
|
+
},
|
|
138
|
+
ColorPicker: {
|
|
139
|
+
presetEmpty: 'Κενό',
|
|
140
|
+
transparent: 'Διαφανές',
|
|
141
|
+
singleColor: 'Μονόχρωμο',
|
|
142
|
+
gradientColor: 'Διαβάθμιση χρώματος'
|
|
42
143
|
}
|
|
43
144
|
};
|
|
44
145
|
export default localeValues;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/en_US';
|
|
3
2
|
import Calendar from '../calendar/locale/en_US';
|
|
4
3
|
import DatePicker from '../date-picker/locale/en_US';
|
|
@@ -138,7 +137,10 @@ var localeValues = {
|
|
|
138
137
|
scanned: 'Scanned'
|
|
139
138
|
},
|
|
140
139
|
ColorPicker: {
|
|
141
|
-
presetEmpty: 'Empty'
|
|
140
|
+
presetEmpty: 'Empty',
|
|
141
|
+
transparent: 'Transparent',
|
|
142
|
+
singleColor: 'Single',
|
|
143
|
+
gradientColor: 'Gradient'
|
|
142
144
|
}
|
|
143
145
|
};
|
|
144
146
|
export default localeValues;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/es_ES';
|
|
3
2
|
import Calendar from '../calendar/locale/es_ES';
|
|
4
3
|
import DatePicker from '../date-picker/locale/es_ES';
|
|
@@ -32,6 +31,11 @@ var localeValues = {
|
|
|
32
31
|
triggerAsc: 'Click para ordenar en orden ascendente',
|
|
33
32
|
cancelSort: 'Click para cancelar ordenamiento'
|
|
34
33
|
},
|
|
34
|
+
Tour: {
|
|
35
|
+
Next: 'Siguiente',
|
|
36
|
+
Previous: 'Anterior',
|
|
37
|
+
Finish: 'Finalizar'
|
|
38
|
+
},
|
|
35
39
|
Modal: {
|
|
36
40
|
okText: 'Aceptar',
|
|
37
41
|
cancelText: 'Cancelar',
|
|
@@ -48,7 +52,7 @@ var localeValues = {
|
|
|
48
52
|
itemsUnit: 'elementos',
|
|
49
53
|
remove: 'Eliminar',
|
|
50
54
|
selectCurrent: 'Seleccionar página actual',
|
|
51
|
-
removeCurrent: '
|
|
55
|
+
removeCurrent: 'Eliminar página actual',
|
|
52
56
|
selectAll: 'Seleccionar todos los datos',
|
|
53
57
|
removeAll: 'Eliminar todos los datos',
|
|
54
58
|
selectInvert: 'Invertir página actual'
|
|
@@ -76,7 +80,7 @@ var localeValues = {
|
|
|
76
80
|
optional: '(opcional)',
|
|
77
81
|
defaultValidateMessages: {
|
|
78
82
|
"default": 'Error de validación del campo ${label}',
|
|
79
|
-
required: 'Por favor
|
|
83
|
+
required: 'Por favor, rellena ${label}',
|
|
80
84
|
"enum": '${label} debe ser uno de [${enum}]',
|
|
81
85
|
whitespace: '${label} no puede ser un carácter en blanco',
|
|
82
86
|
date: {
|
|
@@ -109,13 +113,13 @@ var localeValues = {
|
|
|
109
113
|
len: '${label} debe ser igual a ${len}',
|
|
110
114
|
min: '${label} valor mínimo es ${min}',
|
|
111
115
|
max: '${label} valor máximo es ${max}',
|
|
112
|
-
range: '${label} debe
|
|
116
|
+
range: '${label} debe ser entre ${min}-${max}'
|
|
113
117
|
},
|
|
114
118
|
array: {
|
|
115
119
|
len: 'Debe ser ${len} ${label}',
|
|
116
120
|
min: 'Al menos ${min} ${label}',
|
|
117
|
-
max: '
|
|
118
|
-
range: 'El
|
|
121
|
+
max: 'Como máximo ${max} ${label}',
|
|
122
|
+
range: 'El valor de ${label} debe estar entre ${min}-${max}'
|
|
119
123
|
},
|
|
120
124
|
pattern: {
|
|
121
125
|
mismatch: '${label} no coincide con el patrón ${pattern}'
|