@chaoswise/ui 3.0.23 → 3.1.1
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 +4 -2
- 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 +1 -1
- 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 +44 -10
- package/lib/Antd5/checkbox/Group.js +7 -2
- package/lib/Antd5/checkbox/assets/duigou1.js +29 -0
- package/lib/Antd5/checkbox/assets/duigou2.js +29 -0
- package/lib/Antd5/checkbox/style/index.js +112 -6
- 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/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/radio/radio.js +4 -10
- package/lib/Antd5/radio/style/index.js +65 -80
- 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/typography/hooks/useTooltipProps.js +30 -0
- package/lib/Antd5/typography/style/mixins.js +3 -9
- 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/AppHolder/index.js +2 -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 +11 -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 +122 -0
- package/lib/ConfigProvider/theme/utils.js +49 -0
- package/lib/Header/UserSetting/TenantTree.js +0 -1
- package/lib/Pagination/index.style.js +1 -1
- package/lib/QuickTransfer/index.js +45 -59
- package/lib/SiderMenu/index.style.js +4 -2
- package/lib/Slider/index.style.js +2 -1
- 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
|
@@ -2,18 +2,34 @@ import Pagination from 'rc-pagination/lib/locale/en_US';
|
|
|
2
2
|
import Calendar from '../calendar/locale/en_US';
|
|
3
3
|
import DatePicker from '../date-picker/locale/en_US';
|
|
4
4
|
import TimePicker from '../time-picker/locale/en_US';
|
|
5
|
+
var typeTemplate = '${label} यो एक मान्य ${type} होइन';
|
|
5
6
|
var localeValues = {
|
|
6
7
|
locale: 'ne-np',
|
|
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: 'हो',
|
|
@@ -24,11 +40,23 @@ var localeValues = {
|
|
|
24
40
|
okText: 'हो',
|
|
25
41
|
cancelText: 'होईन'
|
|
26
42
|
},
|
|
43
|
+
Tour: {
|
|
44
|
+
Next: 'अर्को पाइला',
|
|
45
|
+
Previous: 'अघिल्लो',
|
|
46
|
+
Finish: 'भ्रमण अन्त्य गर्नुहोस्'
|
|
47
|
+
},
|
|
27
48
|
Transfer: {
|
|
28
49
|
titles: ['', ''],
|
|
29
50
|
searchPlaceholder: 'यहाँ खोज्नुहोस्',
|
|
30
51
|
itemUnit: 'वस्तु',
|
|
31
|
-
itemsUnit: 'वस्तुहरू'
|
|
52
|
+
itemsUnit: 'वस्तुहरू',
|
|
53
|
+
remove: 'मेटाउन',
|
|
54
|
+
selectCurrent: 'सबै हालको पृष्ठ चयन गर्नुहोस्',
|
|
55
|
+
removeCurrent: 'हालको पृष्ठ मेटाउनुहोस्',
|
|
56
|
+
selectAll: 'सबै छान्नु',
|
|
57
|
+
deselectAll: 'सबै अचयन गर्नुहोस्',
|
|
58
|
+
removeAll: 'सबै मेटाउनुहोस्',
|
|
59
|
+
selectInvert: 'हालको पृष्ठ उल्टाउनुहोस्'
|
|
32
60
|
},
|
|
33
61
|
Upload: {
|
|
34
62
|
uploading: 'अपलोड गर्दै...',
|
|
@@ -39,6 +67,80 @@ var localeValues = {
|
|
|
39
67
|
},
|
|
40
68
|
Empty: {
|
|
41
69
|
description: 'डाटा छैन'
|
|
70
|
+
},
|
|
71
|
+
Icon: {
|
|
72
|
+
icon: 'आइकन'
|
|
73
|
+
},
|
|
74
|
+
Text: {
|
|
75
|
+
edit: 'सम्पादन गर्नुहोस्',
|
|
76
|
+
copy: 'कापी',
|
|
77
|
+
copied: 'सफलतापूर्वक प्रतिलिपि गरियो',
|
|
78
|
+
expand: 'विस्तार गर्नुहोस्',
|
|
79
|
+
collapse: 'बन्द'
|
|
80
|
+
},
|
|
81
|
+
Form: {
|
|
82
|
+
optional: '(ऐच्छिक)',
|
|
83
|
+
defaultValidateMessages: {
|
|
84
|
+
"default": 'क्षेत्र प्रमाणीकरण त्रुटि${label}',
|
|
85
|
+
required: 'कृपया प्रविष्ट गर्नुहोस्${label}',
|
|
86
|
+
"enum": '${label}ती मध्ये एक हुनुपर्छ[${enum}]',
|
|
87
|
+
whitespace: '${label}शून्य वर्ण हुन सक्दैन',
|
|
88
|
+
date: {
|
|
89
|
+
format: '${label}अमान्य मिति ढाँचा',
|
|
90
|
+
parse: '${label}मितिमा रूपान्तरण गर्न सकिँदैन',
|
|
91
|
+
invalid: '${label}अवैध मिति हो'
|
|
92
|
+
},
|
|
93
|
+
types: {
|
|
94
|
+
string: typeTemplate,
|
|
95
|
+
method: typeTemplate,
|
|
96
|
+
array: typeTemplate,
|
|
97
|
+
object: typeTemplate,
|
|
98
|
+
number: typeTemplate,
|
|
99
|
+
date: typeTemplate,
|
|
100
|
+
"boolean": typeTemplate,
|
|
101
|
+
integer: typeTemplate,
|
|
102
|
+
"float": typeTemplate,
|
|
103
|
+
regexp: typeTemplate,
|
|
104
|
+
email: typeTemplate,
|
|
105
|
+
url: typeTemplate,
|
|
106
|
+
hex: typeTemplate
|
|
107
|
+
},
|
|
108
|
+
string: {
|
|
109
|
+
len: '${label}${len}वर्ण हुनुपर्छ',
|
|
110
|
+
min: '${label}कम्तिमा${min}पात्रहरू',
|
|
111
|
+
max: '${label}धेरैजसो${max}पात्रहरू',
|
|
112
|
+
range: '${label}मा हुनुपर्छ${min}-${max}वर्णहरू बीच'
|
|
113
|
+
},
|
|
114
|
+
number: {
|
|
115
|
+
len: '${label}बराबर हुनुपर्छ${len}',
|
|
116
|
+
min: '${label}न्यूनतम मूल्य छ${min}',
|
|
117
|
+
max: '${label}अधिकतम मान हो${max}',
|
|
118
|
+
range: '${label}मा हुनुपर्छ${min}-${max}बीचमा'
|
|
119
|
+
},
|
|
120
|
+
array: {
|
|
121
|
+
len: 'हुनै पर्छ${len}व्यक्तिगत${label}',
|
|
122
|
+
min: 'कम्तिमा${min}व्यक्तिगत${label}',
|
|
123
|
+
max: 'धेरैजसो${max}व्यक्तिगत${label}',
|
|
124
|
+
range: '${label}मात्रा भित्र हुनुपर्छ${min}-${max}बीचमा'
|
|
125
|
+
},
|
|
126
|
+
pattern: {
|
|
127
|
+
mismatch: '${label}ढाँचासँग मेल खाँदैन${pattern}'
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
Image: {
|
|
132
|
+
preview: 'पूर्वावलोकन'
|
|
133
|
+
},
|
|
134
|
+
QRCode: {
|
|
135
|
+
expired: 'QR कोडको म्याद सकियो',
|
|
136
|
+
refresh: 'रिफ्रेस गर्न क्लिक गर्नुहोस्',
|
|
137
|
+
scanned: 'स्क्यान गरियो'
|
|
138
|
+
},
|
|
139
|
+
ColorPicker: {
|
|
140
|
+
presetEmpty: 'अहिलेसम्म कुनै पनि छैन',
|
|
141
|
+
transparent: 'पारदर्शी',
|
|
142
|
+
singleColor: 'एक रंग',
|
|
143
|
+
gradientColor: 'ग्रेडिएण्ट'
|
|
42
144
|
}
|
|
43
145
|
};
|
|
44
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/nl_BE';
|
|
3
2
|
import Calendar from '../calendar/locale/nl_BE';
|
|
4
3
|
import DatePicker from '../date-picker/locale/nl_BE';
|
|
@@ -30,6 +29,11 @@ var localeValues = {
|
|
|
30
29
|
triggerAsc: 'Klik om oplopend te sorteren',
|
|
31
30
|
triggerDesc: 'Klik om aflopend te sorteren'
|
|
32
31
|
},
|
|
32
|
+
Tour: {
|
|
33
|
+
Next: 'Volgende',
|
|
34
|
+
Previous: 'Vorige',
|
|
35
|
+
Finish: 'Voltooien'
|
|
36
|
+
},
|
|
33
37
|
Modal: {
|
|
34
38
|
okText: 'OK',
|
|
35
39
|
cancelText: 'Annuleer',
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/nl_NL';
|
|
3
2
|
import Calendar from '../calendar/locale/nl_NL';
|
|
4
3
|
import DatePicker from '../date-picker/locale/nl_NL';
|
|
@@ -30,6 +29,11 @@ var localeValues = {
|
|
|
30
29
|
triggerAsc: 'Klik om oplopend te sorteren',
|
|
31
30
|
triggerDesc: 'Klik om aflopend te sorteren'
|
|
32
31
|
},
|
|
32
|
+
Tour: {
|
|
33
|
+
Next: 'Volgende',
|
|
34
|
+
Previous: 'Vorige',
|
|
35
|
+
Finish: 'Voltooien'
|
|
36
|
+
},
|
|
33
37
|
Modal: {
|
|
34
38
|
okText: 'OK',
|
|
35
39
|
cancelText: 'Annuleer',
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/pt_PT';
|
|
3
2
|
import Calendar from '../calendar/locale/pt_PT';
|
|
4
3
|
import DatePicker from '../date-picker/locale/pt_PT';
|
|
5
4
|
import TimePicker from '../time-picker/locale/pt_PT';
|
|
6
|
-
var typeTemplate = '${label} não é um ${type} válido';
|
|
5
|
+
var typeTemplate = '${label} não é um(a) ${type} válido(a)';
|
|
7
6
|
var localeValues = {
|
|
8
7
|
locale: 'pt',
|
|
9
8
|
Pagination: Pagination,
|
|
@@ -11,26 +10,31 @@ var localeValues = {
|
|
|
11
10
|
TimePicker: TimePicker,
|
|
12
11
|
Calendar: Calendar,
|
|
13
12
|
global: {
|
|
14
|
-
placeholder: 'Por favor
|
|
13
|
+
placeholder: 'Por favor, selecione'
|
|
15
14
|
},
|
|
16
15
|
Table: {
|
|
17
16
|
filterTitle: 'Filtro',
|
|
18
17
|
filterConfirm: 'Aplicar',
|
|
19
|
-
filterReset: '
|
|
18
|
+
filterReset: 'Repor',
|
|
20
19
|
filterEmptyText: 'Sem filtros',
|
|
21
20
|
filterCheckall: 'Selecionar todos os itens',
|
|
22
21
|
filterSearchPlaceholder: 'Pesquisar nos filtros',
|
|
23
|
-
emptyText: 'Sem
|
|
22
|
+
emptyText: 'Sem dados',
|
|
24
23
|
selectAll: 'Selecionar página atual',
|
|
25
|
-
selectInvert: 'Inverter
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
selectInvert: 'Inverter página atual',
|
|
25
|
+
selectNone: 'Limpar todos os dados',
|
|
26
|
+
selectionAll: 'Selecionar todos os dados',
|
|
27
|
+
sortTitle: 'Ordenar',
|
|
29
28
|
expand: 'Expandir linha',
|
|
30
29
|
collapse: 'Colapsar linha',
|
|
31
|
-
triggerDesc: 'Clique
|
|
32
|
-
triggerAsc: 'Clique
|
|
33
|
-
cancelSort: 'Clique para cancelar
|
|
30
|
+
triggerDesc: 'Clique para ordenar decrescente',
|
|
31
|
+
triggerAsc: 'Clique para ordenar crescente',
|
|
32
|
+
cancelSort: 'Clique para cancelar ordenação'
|
|
33
|
+
},
|
|
34
|
+
Tour: {
|
|
35
|
+
Next: 'Próximo',
|
|
36
|
+
Previous: 'Anterior',
|
|
37
|
+
Finish: 'Terminar'
|
|
34
38
|
},
|
|
35
39
|
Modal: {
|
|
36
40
|
okText: 'OK',
|
|
@@ -50,38 +54,40 @@ var localeValues = {
|
|
|
50
54
|
selectCurrent: 'Selecionar página atual',
|
|
51
55
|
removeCurrent: 'Remover página atual',
|
|
52
56
|
selectAll: 'Selecionar tudo',
|
|
57
|
+
deselectAll: 'Desmarcar tudo',
|
|
53
58
|
removeAll: 'Remover tudo',
|
|
54
|
-
selectInvert: 'Inverter
|
|
59
|
+
selectInvert: 'Inverter página actual'
|
|
55
60
|
},
|
|
56
61
|
Upload: {
|
|
57
62
|
uploading: 'A carregar...',
|
|
58
63
|
removeFile: 'Remover',
|
|
59
64
|
uploadError: 'Erro ao carregar',
|
|
60
65
|
previewFile: 'Pré-visualizar',
|
|
61
|
-
downloadFile: '
|
|
66
|
+
downloadFile: 'Descarregar'
|
|
62
67
|
},
|
|
63
68
|
Empty: {
|
|
64
|
-
description: 'Sem
|
|
69
|
+
description: 'Sem dados'
|
|
65
70
|
},
|
|
66
71
|
Icon: {
|
|
67
72
|
icon: 'ícone'
|
|
68
73
|
},
|
|
69
74
|
Text: {
|
|
70
|
-
edit: '
|
|
71
|
-
copy: '
|
|
72
|
-
copied: '
|
|
73
|
-
expand: '
|
|
75
|
+
edit: 'Editar',
|
|
76
|
+
copy: 'Copiar',
|
|
77
|
+
copied: 'Copiado',
|
|
78
|
+
expand: 'Expandir',
|
|
79
|
+
collapse: 'Colapsar'
|
|
74
80
|
},
|
|
75
81
|
Form: {
|
|
76
82
|
optional: '(opcional)',
|
|
77
83
|
defaultValidateMessages: {
|
|
78
|
-
"default": 'Erro
|
|
79
|
-
required: 'Por favor,
|
|
80
|
-
"enum": '${label} deve ser um dos
|
|
81
|
-
whitespace: '${label} não pode ser um carácter
|
|
84
|
+
"default": 'Erro de validação no campo ${label}',
|
|
85
|
+
required: 'Por favor, introduza ${label}',
|
|
86
|
+
"enum": '${label} deve ser um dos valores [${enum}]',
|
|
87
|
+
whitespace: '${label} não pode ser um carácter em branco',
|
|
82
88
|
date: {
|
|
83
|
-
format: '
|
|
84
|
-
parse: '${label} não pode ser convertido para
|
|
89
|
+
format: 'Formato da data ${label} é inválido',
|
|
90
|
+
parse: '${label} não pode ser convertido para data',
|
|
85
91
|
invalid: '${label} é uma data inválida'
|
|
86
92
|
},
|
|
87
93
|
types: {
|
|
@@ -100,30 +106,41 @@ var localeValues = {
|
|
|
100
106
|
hex: typeTemplate
|
|
101
107
|
},
|
|
102
108
|
string: {
|
|
103
|
-
len: '${label} deve
|
|
104
|
-
min: '${label} deve
|
|
105
|
-
max: '${label} deve
|
|
106
|
-
range: '${label} deve
|
|
109
|
+
len: '${label} deve ter ${len} caracteres',
|
|
110
|
+
min: '${label} deve ter pelo menos ${min} caracteres',
|
|
111
|
+
max: '${label} deve ter até ${max} caracteres',
|
|
112
|
+
range: '${label} deve ter entre ${min}-${max} caracteres'
|
|
107
113
|
},
|
|
108
114
|
number: {
|
|
109
|
-
len: '${label} deve ser igual
|
|
110
|
-
min: '
|
|
111
|
-
max: '
|
|
112
|
-
range: '${label} deve estar entre ${min}
|
|
115
|
+
len: '${label} deve ser igual a ${len}',
|
|
116
|
+
min: '${label} deve ser no mínimo ${min}',
|
|
117
|
+
max: '${label} deve ser no máximo ${max}',
|
|
118
|
+
range: '${label} deve estar entre ${min}-${max}'
|
|
113
119
|
},
|
|
114
120
|
array: {
|
|
115
|
-
len: 'Deve
|
|
116
|
-
min: '
|
|
121
|
+
len: 'Deve ter ${len} ${label}',
|
|
122
|
+
min: 'Pelo menos ${min} ${label}',
|
|
117
123
|
max: 'No máximo ${max} ${label}',
|
|
118
|
-
range: 'A quantidade de ${label} deve estar entre ${min}
|
|
124
|
+
range: 'A quantidade de ${label} deve estar entre ${min}-${max}'
|
|
119
125
|
},
|
|
120
126
|
pattern: {
|
|
121
|
-
mismatch: '${label} não
|
|
127
|
+
mismatch: '${label} não corresponde ao padrão ${pattern}'
|
|
122
128
|
}
|
|
123
129
|
}
|
|
124
130
|
},
|
|
125
131
|
Image: {
|
|
126
|
-
preview: 'Pré-
|
|
132
|
+
preview: 'Pré-visualizar'
|
|
133
|
+
},
|
|
134
|
+
QRCode: {
|
|
135
|
+
expired: 'Código QR expirou',
|
|
136
|
+
refresh: 'Atualizar',
|
|
137
|
+
scanned: 'Digitalizado'
|
|
138
|
+
},
|
|
139
|
+
ColorPicker: {
|
|
140
|
+
presetEmpty: 'Vazio',
|
|
141
|
+
transparent: 'Transparente',
|
|
142
|
+
singleColor: 'Simples',
|
|
143
|
+
gradientColor: 'Gradiente'
|
|
127
144
|
}
|
|
128
145
|
};
|
|
129
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/ru_RU';
|
|
3
2
|
import Calendar from '../calendar/locale/ru_RU';
|
|
4
3
|
import DatePicker from '../date-picker/locale/ru_RU';
|
|
@@ -53,6 +52,7 @@ var localeValues = {
|
|
|
53
52
|
itemsUnit: 'элем.',
|
|
54
53
|
remove: 'Удалить',
|
|
55
54
|
selectAll: 'Выбрать все данные',
|
|
55
|
+
deselectAll: 'Очистить все данные',
|
|
56
56
|
selectCurrent: 'Выбрать текущую страницу',
|
|
57
57
|
selectInvert: 'Инвертировать выбор',
|
|
58
58
|
removeAll: 'Удалить все данные',
|
|
@@ -75,7 +75,8 @@ var localeValues = {
|
|
|
75
75
|
edit: 'Редактировать',
|
|
76
76
|
copy: 'Копировать',
|
|
77
77
|
copied: 'Скопировано',
|
|
78
|
-
expand: 'Раскрыть'
|
|
78
|
+
expand: 'Раскрыть',
|
|
79
|
+
collapse: "Свернуть"
|
|
79
80
|
},
|
|
80
81
|
Form: {
|
|
81
82
|
optional: '(необязательно)',
|
|
@@ -133,6 +134,12 @@ var localeValues = {
|
|
|
133
134
|
QRCode: {
|
|
134
135
|
expired: 'QR-код устарел',
|
|
135
136
|
refresh: 'Обновить'
|
|
137
|
+
},
|
|
138
|
+
ColorPicker: {
|
|
139
|
+
presetEmpty: 'Пустой',
|
|
140
|
+
transparent: 'Прозрачный',
|
|
141
|
+
singleColor: 'Один цвет',
|
|
142
|
+
gradientColor: 'Градиент'
|
|
136
143
|
}
|
|
137
144
|
};
|
|
138
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/th_TH';
|
|
3
2
|
import Calendar from '../calendar/locale/th_TH';
|
|
4
3
|
import DatePicker from '../date-picker/locale/th_TH';
|
|
@@ -55,6 +54,7 @@ var localeValues = {
|
|
|
55
54
|
selectCurrent: 'เลือกทั้งหมดในหน้านี้',
|
|
56
55
|
removeCurrent: 'นำออกทั้งหมดในหน้านี้',
|
|
57
56
|
selectAll: 'เลือกข้อมูลทั้งหมด',
|
|
57
|
+
deselectAll: 'ยกเลิกการเลือกทั้งหมด',
|
|
58
58
|
removeAll: 'นำข้อมูลออกทั้งหมด',
|
|
59
59
|
selectInvert: 'กลับสถานะการเลือกในหน้านี้'
|
|
60
60
|
},
|
|
@@ -75,7 +75,8 @@ var localeValues = {
|
|
|
75
75
|
edit: 'แก้ไข',
|
|
76
76
|
copy: 'คัดลอก',
|
|
77
77
|
copied: 'คัดลอกแล้ว',
|
|
78
|
-
expand: 'ขยาย'
|
|
78
|
+
expand: 'ขยาย',
|
|
79
|
+
collapse: 'ย่อ'
|
|
79
80
|
},
|
|
80
81
|
Form: {
|
|
81
82
|
optional: '(ไม่จำเป็น)',
|
|
@@ -132,7 +133,14 @@ var localeValues = {
|
|
|
132
133
|
},
|
|
133
134
|
QRCode: {
|
|
134
135
|
expired: 'คิวอาร์โค้ดหมดอายุ',
|
|
135
|
-
refresh: 'รีเฟรช'
|
|
136
|
+
refresh: 'รีเฟรช',
|
|
137
|
+
scanned: 'สแกนแล้ว'
|
|
138
|
+
},
|
|
139
|
+
ColorPicker: {
|
|
140
|
+
presetEmpty: 'ไม่มีข้อมูล',
|
|
141
|
+
transparent: 'โปร่งใส',
|
|
142
|
+
singleColor: 'สีเดียว',
|
|
143
|
+
gradientColor: 'สีไล่ระดับ'
|
|
136
144
|
}
|
|
137
145
|
};
|
|
138
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/tr_TR';
|
|
3
2
|
import Calendar from '../calendar/locale/tr_TR';
|
|
4
3
|
import DatePicker from '../date-picker/locale/tr_TR';
|
|
@@ -18,6 +17,7 @@ var localeValues = {
|
|
|
18
17
|
filterConfirm: 'Tamam',
|
|
19
18
|
filterReset: 'Sıfırla',
|
|
20
19
|
filterEmptyText: 'Filtre yok',
|
|
20
|
+
filterCheckall: 'Tümünü seç',
|
|
21
21
|
selectAll: 'Tüm sayfayı seç',
|
|
22
22
|
selectInvert: 'Tersini seç',
|
|
23
23
|
selectionAll: 'Tümünü seç',
|
|
@@ -46,6 +46,7 @@ var localeValues = {
|
|
|
46
46
|
selectCurrent: 'Tüm sayfayı seç',
|
|
47
47
|
removeCurrent: 'Sayfayı kaldır',
|
|
48
48
|
selectAll: 'Tümünü seç',
|
|
49
|
+
deselectAll: 'Tümünün seçimini kaldır',
|
|
49
50
|
removeAll: 'Tümünü kaldır',
|
|
50
51
|
selectInvert: 'Tersini seç'
|
|
51
52
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/uk_UA';
|
|
3
2
|
import Calendar from '../calendar/locale/uk_UA';
|
|
4
3
|
import DatePicker from '../date-picker/locale/uk_UA';
|
|
@@ -55,6 +54,7 @@ var localeValues = {
|
|
|
55
54
|
selectCurrent: 'Вибрати поточну сторінку',
|
|
56
55
|
removeCurrent: 'Скасувати вибір на сторінці',
|
|
57
56
|
selectAll: 'Вибрати всі дані',
|
|
57
|
+
deselectAll: 'Очистити вибір',
|
|
58
58
|
removeAll: 'Скасувати вибір',
|
|
59
59
|
selectInvert: 'Інвертувати поточну сторінку'
|
|
60
60
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/uz_UZ';
|
|
3
2
|
import Calendar from '../calendar/locale/uz_UZ';
|
|
4
3
|
import DatePicker from '../date-picker/locale/uz_UZ';
|
|
@@ -21,7 +20,7 @@ var localeValues = {
|
|
|
21
20
|
Table: {
|
|
22
21
|
filterTitle: 'Filtr',
|
|
23
22
|
filterConfirm: 'OK',
|
|
24
|
-
filterReset: '
|
|
23
|
+
filterReset: 'Bekor qilish',
|
|
25
24
|
filterEmptyText: 'Filtrlarsiz',
|
|
26
25
|
filterCheckall: 'Barcha elementlarni tanlash',
|
|
27
26
|
filterSearchPlaceholder: 'Filtrlarda qidiruv',
|
|
@@ -29,7 +28,7 @@ var localeValues = {
|
|
|
29
28
|
selectAll: 'Barchasini tanlash',
|
|
30
29
|
selectInvert: 'Tanlovni aylantirish',
|
|
31
30
|
selectNone: "Barcha ma'lumotlarni tozalang",
|
|
32
|
-
selectionAll: "
|
|
31
|
+
selectionAll: "Barchasini tanlash",
|
|
33
32
|
sortTitle: 'Tartiblash',
|
|
34
33
|
expand: 'Satirni yozish',
|
|
35
34
|
collapse: "Satirni yig'ish",
|
|
@@ -44,7 +43,7 @@ var localeValues = {
|
|
|
44
43
|
},
|
|
45
44
|
Modal: {
|
|
46
45
|
okText: 'OK',
|
|
47
|
-
cancelText: "
|
|
46
|
+
cancelText: "Yopish",
|
|
48
47
|
justOkText: 'OK'
|
|
49
48
|
},
|
|
50
49
|
Popconfirm: {
|
|
@@ -54,8 +53,8 @@ var localeValues = {
|
|
|
54
53
|
Transfer: {
|
|
55
54
|
titles: ['', ''],
|
|
56
55
|
searchPlaceholder: 'Qidiruv',
|
|
57
|
-
itemUnit: '
|
|
58
|
-
itemsUnit: '
|
|
56
|
+
itemUnit: 'elem.',
|
|
57
|
+
itemsUnit: 'elem.',
|
|
59
58
|
remove: 'Oʻchirish',
|
|
60
59
|
selectAll: "Barch ma'lumotlarni tanlash",
|
|
61
60
|
selectCurrent: 'Joriy sahifani tanlash',
|
|
@@ -64,7 +63,7 @@ var localeValues = {
|
|
|
64
63
|
removeCurrent: "Joriy sahifani o'chirish"
|
|
65
64
|
},
|
|
66
65
|
Upload: {
|
|
67
|
-
uploading: '
|
|
66
|
+
uploading: 'Yuklanmoqda...',
|
|
68
67
|
removeFile: "Faylni o'chirish",
|
|
69
68
|
uploadError: 'Yuklashda xatolik yuz berdi',
|
|
70
69
|
previewFile: "Faylni oldindan ko'rish",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
import Pagination from 'rc-pagination/lib/locale/zh_CN';
|
|
3
2
|
import Calendar from '../calendar/locale/zh_CN';
|
|
4
3
|
import DatePicker from '../date-picker/locale/zh_CN';
|
|
@@ -139,7 +138,10 @@ var localeValues = {
|
|
|
139
138
|
scanned: '已扫描'
|
|
140
139
|
},
|
|
141
140
|
ColorPicker: {
|
|
142
|
-
presetEmpty: '暂无'
|
|
141
|
+
presetEmpty: '暂无',
|
|
142
|
+
transparent: '无色',
|
|
143
|
+
singleColor: '单色',
|
|
144
|
+
gradientColor: '渐变色'
|
|
143
145
|
}
|
|
144
146
|
};
|
|
145
147
|
export default localeValues;
|
|
@@ -14,7 +14,6 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
14
14
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
15
15
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
16
16
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
|
-
// eslint-disable-next-line import/no-named-as-default
|
|
18
17
|
import * as React from 'react';
|
|
19
18
|
import classNames from 'classnames';
|
|
20
19
|
import RcMentions from 'rc-mentions';
|
|
@@ -22,6 +21,7 @@ import { composeRef } from 'rc-util/lib/ref';
|
|
|
22
21
|
import getAllowClear from '../_util/getAllowClear';
|
|
23
22
|
import genPurePanel from '../_util/PurePanel';
|
|
24
23
|
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
|
|
24
|
+
import toList from '../_util/toList';
|
|
25
25
|
import { devUseWarning } from '../_util/warning';
|
|
26
26
|
import { ConfigContext } from '../config-provider';
|
|
27
27
|
import DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';
|
|
@@ -122,16 +122,16 @@ var InternalMentions = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
122
122
|
wrapCSSVar = _useStyle2[0],
|
|
123
123
|
hashId = _useStyle2[1],
|
|
124
124
|
cssVarCls = _useStyle2[2];
|
|
125
|
-
var _useVariant = useVariant(customVariant),
|
|
125
|
+
var _useVariant = useVariant('mentions', customVariant),
|
|
126
126
|
_useVariant2 = _slicedToArray(_useVariant, 2),
|
|
127
127
|
variant = _useVariant2[0],
|
|
128
128
|
enableVariantCls = _useVariant2[1];
|
|
129
|
-
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
130
129
|
var suffixNode = hasFeedback && _jsx(_Fragment, {
|
|
131
130
|
children: feedbackIcon
|
|
132
131
|
});
|
|
133
132
|
var mergedClassName = classNames(contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.className, className, rootClassName, cssVarCls, rootCls);
|
|
134
133
|
var mentions = _jsx(RcMentions, _objectSpread(_objectSpread({
|
|
134
|
+
silent: loading,
|
|
135
135
|
prefixCls: prefixCls,
|
|
136
136
|
notFoundContent: notFoundContentEle,
|
|
137
137
|
className: mergedClassName,
|
|
@@ -172,7 +172,7 @@ Mentions.getMentions = function () {
|
|
|
172
172
|
prefix = _config$prefix === void 0 ? '@' : _config$prefix,
|
|
173
173
|
_config$split = config.split,
|
|
174
174
|
split = _config$split === void 0 ? ' ' : _config$split;
|
|
175
|
-
var prefixList =
|
|
175
|
+
var prefixList = toList(prefix);
|
|
176
176
|
return value.split(split).map(function () {
|
|
177
177
|
var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
178
178
|
var hitPrefix = null;
|