@chaoswise/ui 3.1.6 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Antd5/_util/PurePanel.js +9 -1
- package/lib/Antd5/_util/convertToTooltipProps.js +15 -0
- package/lib/Antd5/_util/extendsObject.js +14 -23
- package/lib/Antd5/_util/hooks/useClosable.js +25 -31
- package/lib/Antd5/_util/hooks/useMergeSemantic/index.js +89 -0
- package/lib/Antd5/_util/hooks/useMergeSemantic/interface.js +1 -0
- package/lib/Antd5/_util/isPrimitive.js +5 -0
- package/lib/Antd5/_util/mediaQueryUtil.js +16 -0
- package/lib/Antd5/_util/responsiveObserver.js +41 -33
- package/lib/Antd5/_util/toList.js +6 -3
- package/lib/Antd5/_util/warning.js +0 -1
- package/lib/Antd5/_util/wave/WaveEffect.js +29 -16
- package/lib/Antd5/_util/wave/index.js +2 -2
- package/lib/Antd5/_util/wave/useWave.js +1 -1
- package/lib/Antd5/affix/index.js +13 -11
- package/lib/Antd5/alert/Alert.js +19 -18
- package/lib/Antd5/anchor/Anchor.js +9 -7
- package/lib/Antd5/anchor/AnchorLink.js +16 -3
- package/lib/Antd5/app/App.js +90 -0
- package/lib/Antd5/app/index.js +3 -92
- package/lib/Antd5/app/useApp.js +6 -0
- package/lib/Antd5/auto-complete/AutoComplete.js +142 -0
- package/lib/Antd5/auto-complete/index.js +8 -106
- package/lib/Antd5/avatar/{avatar.js → Avatar.js} +25 -29
- package/lib/Antd5/avatar/{group.js → AvatarGroup.js} +14 -9
- package/lib/Antd5/avatar/index.js +3 -4
- package/lib/Antd5/breadcrumb/Breadcrumb.js +1 -0
- package/lib/Antd5/breadcrumb/style/index.js +1 -1
- package/lib/Antd5/button/{LoadingIcon.js → DefaultLoadingIcon.js} +12 -9
- package/lib/Antd5/button/button-group.js +11 -11
- package/lib/Antd5/button/button.js +60 -26
- package/lib/Antd5/button/buttonHelpers.js +8 -1
- package/lib/Antd5/button/style/compact.js +9 -10
- package/lib/Antd5/button/style/index.js +127 -41
- package/lib/Antd5/button/style/token.js +19 -8
- package/lib/Antd5/calendar/Header.js +4 -4
- package/lib/Antd5/calendar/generateCalendar.js +17 -12
- package/lib/Antd5/calendar/style/index.js +8 -2
- package/lib/Antd5/card/Card.js +9 -5
- package/lib/Antd5/card/style/index.js +22 -15
- package/lib/Antd5/carousel/index.js +21 -11
- package/lib/Antd5/carousel/style/index.js +39 -12
- package/lib/Antd5/cascader/index.js +54 -18
- package/lib/Antd5/cascader/style/columns.js +4 -2
- package/lib/Antd5/cascader/style/index.js +2 -1
- package/lib/Antd5/collapse/Collapse.js +32 -25
- package/lib/Antd5/collapse/style/index.js +14 -10
- package/lib/Antd5/color-picker/ColorPicker.js +13 -8
- package/lib/Antd5/color-picker/components/ColorAlphaInput.js +8 -13
- package/lib/Antd5/color-picker/components/ColorHexInput.js +1 -1
- package/lib/Antd5/color-picker/components/ColorHsbInput.js +8 -13
- package/lib/Antd5/color-picker/components/ColorInput.js +7 -7
- package/lib/Antd5/color-picker/components/ColorPresets.js +15 -12
- package/lib/Antd5/color-picker/components/ColorRgbInput.js +8 -13
- package/lib/Antd5/color-picker/components/ColorSteppers.js +6 -13
- package/lib/Antd5/color-picker/interface.js +3 -6
- package/lib/Antd5/color-picker/style/color-block.js +2 -1
- package/lib/Antd5/config-provider/MotionWrapper.js +12 -4
- package/lib/Antd5/config-provider/UnstableContext.js +29 -0
- package/lib/Antd5/config-provider/context.js +32 -2
- package/lib/Antd5/config-provider/cssVariables.js +7 -7
- package/lib/Antd5/config-provider/hooks/useSize.js +1 -1
- package/lib/Antd5/config-provider/index.js +12 -3
- package/lib/Antd5/date-picker/generatePicker/generateRangePicker.js +33 -12
- package/lib/Antd5/date-picker/generatePicker/generateSinglePicker.js +32 -13
- package/lib/Antd5/date-picker/hooks/useMergedPickerSemantic.js +47 -0
- package/lib/Antd5/date-picker/index.js +2 -2
- package/lib/Antd5/date-picker/locale/ar_EG.js +1 -8
- package/lib/Antd5/date-picker/locale/example.json +5 -8
- package/lib/Antd5/date-picker/locale/ko_KR.js +11 -1
- package/lib/Antd5/date-picker/locale/pl_PL.js +0 -3
- package/lib/Antd5/date-picker/locale/pt_PT.js +0 -3
- package/lib/Antd5/date-picker/locale/sl_SI.js +1 -3
- package/lib/Antd5/date-picker/style/index.js +9 -6
- package/lib/Antd5/date-picker/style/panel.js +12 -8
- package/lib/Antd5/date-picker/style/token.js +3 -3
- package/lib/Antd5/date-picker/style/variants.js +6 -2
- package/lib/Antd5/descriptions/Cell.js +14 -8
- package/lib/Antd5/descriptions/Item.js +2 -0
- package/lib/Antd5/descriptions/Row.js +10 -6
- package/lib/Antd5/descriptions/hooks/useRow.js +1 -1
- package/lib/Antd5/descriptions/index.js +45 -18
- package/lib/Antd5/descriptions/style/index.js +11 -2
- package/lib/Antd5/divider/index.js +32 -15
- package/lib/Antd5/divider/style/index.js +20 -7
- package/lib/Antd5/drawer/DrawerPanel.js +8 -10
- package/lib/Antd5/drawer/index.js +20 -17
- package/lib/Antd5/dropdown/dropdown-button.js +9 -3
- package/lib/Antd5/dropdown/dropdown.js +33 -35
- package/lib/Antd5/dropdown/style/index.js +1 -1
- package/lib/Antd5/empty/empty.js +2 -2
- package/lib/Antd5/empty/index.js +41 -23
- package/lib/Antd5/empty/simple.js +4 -4
- package/lib/Antd5/flex/style/index.js +2 -0
- package/lib/Antd5/float-button/FloatButton.js +12 -15
- package/lib/Antd5/float-button/FloatButtonContent.js +13 -7
- package/lib/Antd5/float-button/FloatButtonGroup.js +6 -6
- package/lib/Antd5/float-button/style/keyframes.js +4 -4
- package/lib/Antd5/form/ErrorList.js +1 -3
- package/lib/Antd5/form/Form.js +19 -19
- package/lib/Antd5/form/FormItem/index.js +1 -1
- package/lib/Antd5/form/FormItemLabel.js +12 -14
- package/lib/Antd5/form/context.js +3 -4
- package/lib/Antd5/form/hooks/useForm.js +16 -5
- package/lib/Antd5/form/hooks/useFormInstance.js +3 -3
- package/lib/Antd5/form/hooks/useFormItemStatus.js +7 -7
- package/lib/Antd5/form/hooks/useFormWarning.js +2 -2
- package/lib/Antd5/form/hooks/useFrameState.js +3 -4
- package/lib/Antd5/form/hooks/useItemRef.js +3 -2
- package/lib/Antd5/form/hooks/useVariants.js +5 -5
- package/lib/Antd5/form/style/index.js +22 -15
- package/lib/Antd5/grid/hooks/useBreakpoint.js +2 -1
- package/lib/Antd5/grid/hooks/useGutter.js +29 -0
- package/lib/Antd5/grid/row.js +8 -63
- package/lib/Antd5/grid/style/index.js +14 -8
- package/lib/Antd5/image/PreviewGroup.js +9 -2
- package/lib/Antd5/image/index.js +26 -17
- package/lib/Antd5/image/style/index.js +10 -10
- package/lib/Antd5/index.js +3 -1
- package/lib/Antd5/input/Group.js +5 -3
- package/lib/Antd5/input/Input.js +27 -20
- package/lib/Antd5/input/OTP/OTPInput.js +36 -19
- package/lib/Antd5/input/OTP/index.js +40 -19
- package/lib/Antd5/input/Password.js +7 -9
- package/lib/Antd5/input/Search.js +16 -9
- package/lib/Antd5/input/TextArea.js +90 -33
- package/lib/Antd5/input/style/index.js +31 -82
- package/lib/Antd5/input/style/otp.js +22 -6
- package/lib/Antd5/input/style/textarea.js +80 -0
- package/lib/Antd5/input/style/token.js +16 -7
- package/lib/Antd5/input/style/variants.js +67 -12
- package/lib/Antd5/input-number/index.js +1 -1
- package/lib/Antd5/input-number/style/index.js +10 -7
- package/lib/Antd5/input-number/style/token.js +6 -4
- package/lib/Antd5/layout/Sider.js +58 -68
- package/lib/Antd5/layout/layout.js +7 -5
- package/lib/Antd5/layout/style/sider.js +33 -42
- package/lib/Antd5/list/index.js +45 -45
- package/lib/Antd5/locale/ar_EG.js +7 -1
- package/lib/Antd5/locale/az_AZ.js +3 -2
- package/lib/Antd5/locale/bg_BG.js +8 -0
- package/lib/Antd5/locale/bn_BD.js +7 -1
- package/lib/Antd5/locale/by_BY.js +8 -2
- package/lib/Antd5/locale/ca_ES.js +7 -1
- package/lib/Antd5/locale/cs_CZ.js +19 -2
- package/lib/Antd5/locale/da_DK.js +8 -0
- package/lib/Antd5/locale/de_DE.js +4 -2
- package/lib/Antd5/locale/el_GR.js +3 -2
- package/lib/Antd5/locale/en_GB.js +8 -2
- package/lib/Antd5/locale/en_US.js +3 -2
- package/lib/Antd5/locale/es_ES.js +3 -2
- package/lib/Antd5/locale/et_EE.js +8 -2
- package/lib/Antd5/locale/eu_ES.js +3 -2
- package/lib/Antd5/locale/fa_IR.js +17 -7
- package/lib/Antd5/locale/fi_FI.js +8 -0
- package/lib/Antd5/locale/fr_BE.js +4 -1
- package/lib/Antd5/locale/fr_CA.js +9 -1
- package/lib/Antd5/locale/fr_FR.js +4 -1
- package/lib/Antd5/locale/ga_IE.js +7 -1
- package/lib/Antd5/locale/gl_ES.js +7 -1
- package/lib/Antd5/locale/he_IL.js +10 -1
- package/lib/Antd5/locale/hi_IN.js +7 -1
- package/lib/Antd5/locale/hr_HR.js +7 -1
- package/lib/Antd5/locale/hu_HU.js +8 -0
- package/lib/Antd5/locale/hy_AM.js +8 -3
- package/lib/Antd5/locale/id_ID.js +3 -2
- package/lib/Antd5/locale/is_IS.js +8 -0
- package/lib/Antd5/locale/it_IT.js +3 -2
- package/lib/Antd5/locale/ja_JP.js +3 -2
- package/lib/Antd5/locale/ka_GE.js +7 -1
- package/lib/Antd5/locale/kk_KZ.js +7 -1
- package/lib/Antd5/locale/km_KH.js +3 -0
- package/lib/Antd5/locale/kmr_IQ.js +8 -0
- package/lib/Antd5/locale/kn_IN.js +8 -2
- package/lib/Antd5/locale/ko_KR.js +3 -2
- package/lib/Antd5/locale/ku_IQ.js +8 -0
- package/lib/Antd5/locale/lt_LT.js +3 -2
- package/lib/Antd5/locale/lv_LV.js +8 -0
- package/lib/Antd5/locale/mk_MK.js +7 -1
- package/lib/Antd5/locale/ml_IN.js +7 -1
- package/lib/Antd5/locale/mn_MN.js +8 -2
- package/lib/Antd5/locale/ms_MY.js +3 -2
- package/lib/Antd5/locale/my_MM.js +3 -2
- package/lib/Antd5/locale/nb_NO.js +7 -1
- package/lib/Antd5/locale/ne_NP.js +3 -2
- package/lib/Antd5/locale/nl_BE.js +2 -1
- package/lib/Antd5/locale/nl_NL.js +2 -1
- package/lib/Antd5/locale/pl_PL.js +3 -2
- package/lib/Antd5/locale/pt_BR.js +3 -2
- package/lib/Antd5/locale/pt_PT.js +3 -2
- package/lib/Antd5/locale/ro_RO.js +7 -1
- package/lib/Antd5/locale/ru_RU.js +4 -3
- package/lib/Antd5/locale/si_LK.js +8 -2
- package/lib/Antd5/locale/sk_SK.js +8 -2
- package/lib/Antd5/locale/sl_SI.js +8 -0
- package/lib/Antd5/locale/sr_RS.js +7 -1
- package/lib/Antd5/locale/sv_SE.js +3 -2
- package/lib/Antd5/locale/ta_IN.js +8 -2
- package/lib/Antd5/locale/th_TH.js +3 -2
- package/lib/Antd5/locale/tk_TK.js +7 -1
- package/lib/Antd5/locale/tr_TR.js +8 -2
- package/lib/Antd5/locale/uk_UA.js +3 -2
- package/lib/Antd5/locale/ur_PK.js +7 -1
- package/lib/Antd5/locale/uz_UZ.js +5 -4
- package/lib/Antd5/locale/vi_VN.js +3 -2
- package/lib/Antd5/locale/zh_CN.js +3 -2
- package/lib/Antd5/locale/zh_HK.js +11 -3
- package/lib/Antd5/locale/zh_TW.js +11 -3
- package/lib/Antd5/mentions/index.js +1 -1
- package/lib/Antd5/mentions/style/index.js +12 -7
- package/lib/Antd5/menu/MenuItem.js +3 -1
- package/lib/Antd5/menu/OverrideContext.js +2 -2
- package/lib/Antd5/menu/menu.js +1 -7
- package/lib/Antd5/menu/style/index.js +9 -6
- package/lib/Antd5/menu/style/theme.js +4 -3
- package/lib/Antd5/menu/style/vertical.js +1 -1
- package/lib/Antd5/message/style/index.js +4 -3
- package/lib/Antd5/modal/ConfirmDialog.js +2 -19
- package/lib/Antd5/modal/Modal.js +67 -35
- package/lib/Antd5/modal/confirm.js +5 -3
- package/lib/Antd5/modal/style/confirm.js +3 -1
- package/lib/Antd5/modal/style/index.js +21 -1
- package/lib/Antd5/modal/useModal/HookModal.js +2 -1
- package/lib/Antd5/notification/PurePanel.js +13 -6
- package/lib/Antd5/notification/index.js +3 -4
- package/lib/Antd5/notification/style/index.js +4 -3
- package/lib/Antd5/notification/style/stack.js +2 -1
- package/lib/Antd5/notification/useNotification.js +9 -4
- package/lib/Antd5/notification/util.js +9 -0
- package/lib/Antd5/pagination/Pagination.js +87 -20
- package/lib/Antd5/pagination/style/index.js +2 -10
- package/lib/Antd5/pagination/useShowSizeChanger.js +13 -0
- package/lib/Antd5/popconfirm/index.js +21 -6
- package/lib/Antd5/popover/index.js +21 -8
- package/lib/Antd5/progress/Steps.js +6 -2
- package/lib/Antd5/progress/progress.js +2 -2
- package/lib/Antd5/progress/utils.js +3 -3
- package/lib/Antd5/qr-code/style/index.js +2 -2
- package/lib/Antd5/segmented/index.js +16 -8
- package/lib/Antd5/segmented/style/index.js +14 -6
- package/lib/Antd5/select/index.js +45 -16
- package/lib/Antd5/select/style/dropdown.js +10 -9
- package/lib/Antd5/select/style/index.js +14 -10
- package/lib/Antd5/select/style/single.js +6 -3
- package/lib/Antd5/select/style/variants.js +55 -1
- package/lib/Antd5/skeleton/Paragraph.js +5 -8
- package/lib/Antd5/skeleton/Skeleton.js +8 -7
- package/lib/Antd5/slider/SliderTooltip.js +3 -2
- package/lib/Antd5/slider/index.js +43 -17
- package/lib/Antd5/slider/style/index.js +3 -3
- package/lib/Antd5/slider/useRafLock.js +1 -1
- package/lib/Antd5/space/Compact.js +8 -6
- package/lib/Antd5/space/index.js +16 -12
- package/lib/Antd5/spin/index.js +11 -9
- package/lib/Antd5/spin/style/index.js +1 -3
- package/lib/Antd5/spin/usePercent.js +1 -1
- package/lib/Antd5/splitter/SplitBar.js +56 -7
- package/lib/Antd5/splitter/Splitter.js +27 -17
- package/lib/Antd5/splitter/hooks/useResizable.js +3 -3
- package/lib/Antd5/splitter/hooks/useResize.js +17 -6
- package/lib/Antd5/splitter/style/index.js +32 -6
- package/lib/Antd5/statistic/Countdown.js +8 -61
- package/lib/Antd5/statistic/Statistic.js +17 -9
- package/lib/Antd5/statistic/Timer.js +91 -0
- package/lib/Antd5/statistic/index.js +2 -0
- package/lib/Antd5/statistic/utils.js +2 -2
- package/lib/Antd5/steps/index.js +8 -7
- package/lib/Antd5/steps/style/index.js +1 -1
- package/lib/Antd5/style/index.js +9 -4
- package/lib/Antd5/switch/style/index.js +2 -2
- package/lib/Antd5/table/InternalTable.js +6 -5
- package/lib/Antd5/table/hooks/useFilter/FilterDropdown.js +15 -11
- package/lib/Antd5/table/hooks/useFilter/FilterSearch.js +1 -1
- package/lib/Antd5/table/hooks/useFilter/index.js +3 -2
- package/lib/Antd5/table/hooks/useSelection.js +11 -3
- package/lib/Antd5/table/hooks/useSorter.js +4 -3
- package/lib/Antd5/table/style/filter.js +2 -2
- package/lib/Antd5/table/style/index.js +9 -9
- package/lib/Antd5/table/style/sorter.js +2 -1
- package/lib/Antd5/table/style/sticky.js +1 -1
- package/lib/Antd5/tabs/hooks/useLegacyItems.js +11 -4
- package/lib/Antd5/tabs/index.js +9 -2
- package/lib/Antd5/tabs/style/index.js +44 -23
- package/lib/Antd5/tag/style/index.js +3 -3
- package/lib/Antd5/theme/context.js +1 -3
- package/lib/Antd5/theme/getDesignToken.js +2 -2
- package/lib/Antd5/theme/themes/dark/colorAlgorithm.js +3 -3
- package/lib/Antd5/theme/themes/dark/index.js +13 -3
- package/lib/Antd5/theme/themes/default/colorAlgorithm.js +3 -3
- package/lib/Antd5/theme/themes/default/index.js +5 -1
- package/lib/Antd5/theme/themes/default/theme.js +4 -0
- package/lib/Antd5/theme/themes/shared/genColorMapToken.js +3 -3
- package/lib/Antd5/theme/themes/shared/genFontSizes.js +3 -1
- package/lib/Antd5/theme/util/alias.js +2 -2
- package/lib/Antd5/theme/util/genStyleUtils.js +9 -11
- package/lib/Antd5/theme/util/getAlphaColor.js +12 -12
- package/lib/Antd5/theme/util/useResetIconStyle.js +2 -10
- package/lib/Antd5/time-picker/index.js +1 -1
- package/lib/Antd5/timeline/TimelineItemList.js +1 -1
- package/lib/Antd5/tooltip/index.js +46 -31
- package/lib/Antd5/tooltip/style/index.js +13 -4
- package/lib/Antd5/tour/index.js +4 -2
- package/lib/Antd5/tour/panelRender.js +42 -27
- package/lib/Antd5/tour/style/index.js +3 -3
- package/lib/Antd5/transfer/ListItem.js +1 -1
- package/lib/Antd5/transfer/hooks/useData.js +8 -4
- package/lib/Antd5/transfer/hooks/useSelection.js +5 -4
- package/lib/Antd5/transfer/index.js +6 -2
- package/lib/Antd5/transfer/list.js +32 -13
- package/lib/Antd5/transfer/search.js +1 -1
- package/lib/Antd5/transfer/style/index.js +3 -1
- package/lib/Antd5/tree/DirectoryTree.js +2 -2
- package/lib/Antd5/tree/style/index.js +9 -3
- package/lib/Antd5/tree-select/index.js +61 -18
- package/lib/Antd5/tree-select/style/index.js +1 -1
- package/lib/Antd5/typography/Base/Ellipsis.js +3 -3
- package/lib/Antd5/typography/Base/index.js +20 -13
- package/lib/Antd5/typography/Editable.js +1 -1
- package/lib/Antd5/typography/Typography.js +8 -7
- package/lib/Antd5/typography/hooks/useCopyClick.js +24 -25
- package/lib/Antd5/typography/hooks/usePrevious.js +1 -1
- package/lib/Antd5/typography/style/index.js +5 -5
- package/lib/Antd5/typography/style/mixins.js +1 -1
- package/lib/Antd5/upload/Upload.js +22 -24
- package/lib/Antd5/version/index.js +0 -1
- package/lib/Antd5/version/token-meta.json +1 -0
- package/lib/Antd5/version/token.json +1 -0
- package/lib/Antd5/version/version.js +1 -1
- package/lib/Antd5/watermark/context.js +1 -1
- package/lib/Antd5/watermark/index.js +20 -13
- package/lib/Antd5/watermark/useClips.js +18 -16
- package/lib/Antd5/watermark/useRafDebounce.js +1 -1
- package/lib/Antd5/watermark/useSingletonCache.js +19 -0
- package/lib/Antd5/watermark/useWatermark.js +9 -18
- package/lib/CWCascader/rc-cascader/OptionList/Column.js +17 -18
- package/lib/CWMessage/MessageContent/TabList/index.js +10 -10
- package/lib/CWMessage/MessageContent/index.js +26 -28
- package/lib/CWMessage/index.js +42 -46
- package/lib/CWRangePicker/index.js +15 -15
- package/lib/CWRangePicker/utils/generate/dayjs.js +112 -23
- package/lib/CWRangePicker/utils/generate/moment.js +109 -21
- package/lib/CWSelect/index.js +423 -150
- package/lib/CWTable/CWTable.js +11 -11
- package/lib/Joyride/index.js +3 -3
- package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +38 -39
- package/lib/ModuleFederation/react-dynamic-remote-component/load-module.js +22 -23
- package/lib/QuickTransfer/index.js +13 -13
- package/lib/SearchBar/index.js +7 -7
- package/lib/SingleSpa/index.js +22 -24
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/hooks/useMouse.js +3 -3
- package/lib/TimeRangeSlider/index.js +6 -6
- package/lib/TimeRangeSlider/utils/generate/dayjs.js +109 -20
- package/lib/TimeRangeSlider/utils/generate/moment.js +109 -20
- package/lib/TimeZoneSelect/index.js +21 -22
- package/package.json +35 -34
- package/lib/Antd5/_util/isNumeric.js +0 -4
- package/lib/Antd5/pagination/Select.js +0 -24
package/lib/Antd5/list/index.js
CHANGED
|
@@ -23,6 +23,7 @@ import classNames from 'classnames';
|
|
|
23
23
|
import extendsObject from '../_util/extendsObject';
|
|
24
24
|
import { responsiveArray } from '../_util/responsiveObserver';
|
|
25
25
|
import { ConfigContext } from '../config-provider';
|
|
26
|
+
import { useComponentConfig } from '../config-provider/context';
|
|
26
27
|
import DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';
|
|
27
28
|
import useSize from '../config-provider/hooks/useSize';
|
|
28
29
|
import { Row } from '../grid';
|
|
@@ -32,33 +33,33 @@ import Spin from '../spin';
|
|
|
32
33
|
import { ListContext } from './context';
|
|
33
34
|
import Item from './Item';
|
|
34
35
|
import useStyle from './style';
|
|
35
|
-
function InternalList(
|
|
36
|
+
function InternalList(props, ref) {
|
|
36
37
|
var _loadingProp;
|
|
37
|
-
var
|
|
38
|
-
pagination =
|
|
39
|
-
customizePrefixCls =
|
|
40
|
-
|
|
41
|
-
bordered =
|
|
42
|
-
|
|
43
|
-
split =
|
|
44
|
-
className =
|
|
45
|
-
rootClassName =
|
|
46
|
-
style =
|
|
47
|
-
children =
|
|
48
|
-
itemLayout =
|
|
49
|
-
loadMore =
|
|
50
|
-
grid =
|
|
51
|
-
|
|
52
|
-
dataSource =
|
|
53
|
-
customizeSize =
|
|
54
|
-
header =
|
|
55
|
-
footer =
|
|
56
|
-
|
|
57
|
-
loading =
|
|
58
|
-
rowKey =
|
|
59
|
-
renderItem =
|
|
60
|
-
locale =
|
|
61
|
-
rest = _objectWithoutProperties(
|
|
38
|
+
var _props$pagination = props.pagination,
|
|
39
|
+
pagination = _props$pagination === void 0 ? false : _props$pagination,
|
|
40
|
+
customizePrefixCls = props.prefixCls,
|
|
41
|
+
_props$bordered = props.bordered,
|
|
42
|
+
bordered = _props$bordered === void 0 ? false : _props$bordered,
|
|
43
|
+
_props$split = props.split,
|
|
44
|
+
split = _props$split === void 0 ? true : _props$split,
|
|
45
|
+
className = props.className,
|
|
46
|
+
rootClassName = props.rootClassName,
|
|
47
|
+
style = props.style,
|
|
48
|
+
children = props.children,
|
|
49
|
+
itemLayout = props.itemLayout,
|
|
50
|
+
loadMore = props.loadMore,
|
|
51
|
+
grid = props.grid,
|
|
52
|
+
_props$dataSource = props.dataSource,
|
|
53
|
+
dataSource = _props$dataSource === void 0 ? [] : _props$dataSource,
|
|
54
|
+
customizeSize = props.size,
|
|
55
|
+
header = props.header,
|
|
56
|
+
footer = props.footer,
|
|
57
|
+
_props$loading = props.loading,
|
|
58
|
+
loading = _props$loading === void 0 ? false : _props$loading,
|
|
59
|
+
rowKey = props.rowKey,
|
|
60
|
+
renderItem = props.renderItem,
|
|
61
|
+
locale = props.locale,
|
|
62
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
62
63
|
var paginationObj = pagination && _typeof(pagination) === 'object' ? pagination : {};
|
|
63
64
|
var _React$useState = React.useState(paginationObj.defaultCurrent || 1),
|
|
64
65
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -68,14 +69,17 @@ function InternalList(_ref, ref) {
|
|
|
68
69
|
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
69
70
|
paginationSize = _React$useState4[0],
|
|
70
71
|
setPaginationSize = _React$useState4[1];
|
|
72
|
+
var _useComponentConfig = useComponentConfig('list'),
|
|
73
|
+
getPrefixCls = _useComponentConfig.getPrefixCls,
|
|
74
|
+
direction = _useComponentConfig.direction,
|
|
75
|
+
contextClassName = _useComponentConfig.className,
|
|
76
|
+
contextStyle = _useComponentConfig.style;
|
|
71
77
|
var _React$useContext = React.useContext(ConfigContext),
|
|
72
|
-
|
|
73
|
-
renderEmpty = _React$useContext.renderEmpty,
|
|
74
|
-
direction = _React$useContext.direction,
|
|
75
|
-
list = _React$useContext.list;
|
|
78
|
+
renderEmpty = _React$useContext.renderEmpty;
|
|
76
79
|
var defaultPaginationProps = {
|
|
77
80
|
current: 1,
|
|
78
|
-
total: 0
|
|
81
|
+
total: 0,
|
|
82
|
+
position: 'bottom'
|
|
79
83
|
};
|
|
80
84
|
var triggerPaginationEvent = function triggerPaginationEvent(eventName) {
|
|
81
85
|
return function (page, pageSize) {
|
|
@@ -89,8 +93,10 @@ function InternalList(_ref, ref) {
|
|
|
89
93
|
};
|
|
90
94
|
var onPaginationChange = triggerPaginationEvent('onChange');
|
|
91
95
|
var onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');
|
|
92
|
-
var
|
|
93
|
-
if (!renderItem)
|
|
96
|
+
var renderInternalItem = function renderInternalItem(item, index) {
|
|
97
|
+
if (!renderItem) {
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
94
100
|
var key;
|
|
95
101
|
if (typeof rowKey === 'function') {
|
|
96
102
|
key = rowKey(item);
|
|
@@ -106,9 +112,7 @@ function InternalList(_ref, ref) {
|
|
|
106
112
|
children: renderItem(item, index)
|
|
107
113
|
}, key);
|
|
108
114
|
};
|
|
109
|
-
var isSomethingAfterLastItem =
|
|
110
|
-
return !!(loadMore || pagination || footer);
|
|
111
|
-
};
|
|
115
|
+
var isSomethingAfterLastItem = !!(loadMore || pagination || footer);
|
|
112
116
|
var prefixCls = getPrefixCls('list', customizePrefixCls);
|
|
113
117
|
// Style
|
|
114
118
|
var _useStyle = useStyle(prefixCls),
|
|
@@ -137,16 +141,14 @@ function InternalList(_ref, ref) {
|
|
|
137
141
|
default:
|
|
138
142
|
break;
|
|
139
143
|
}
|
|
140
|
-
var classString = classNames(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-vertical"), itemLayout === 'vertical'), "".concat(prefixCls, "-").concat(sizeCls), sizeCls), "".concat(prefixCls, "-split"), split), "".concat(prefixCls, "-bordered"), bordered), "".concat(prefixCls, "-loading"), isLoading), "".concat(prefixCls, "-grid"), !!grid), "".concat(prefixCls, "-something-after-last-item"), isSomethingAfterLastItem
|
|
144
|
+
var classString = classNames(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-vertical"), itemLayout === 'vertical'), "".concat(prefixCls, "-").concat(sizeCls), sizeCls), "".concat(prefixCls, "-split"), split), "".concat(prefixCls, "-bordered"), bordered), "".concat(prefixCls, "-loading"), isLoading), "".concat(prefixCls, "-grid"), !!grid), "".concat(prefixCls, "-something-after-last-item"), isSomethingAfterLastItem), "".concat(prefixCls, "-rtl"), direction === 'rtl'), contextClassName, className, rootClassName, hashId, cssVarCls);
|
|
141
145
|
var paginationProps = extendsObject(defaultPaginationProps, {
|
|
142
146
|
total: dataSource.length,
|
|
143
147
|
current: paginationCurrent,
|
|
144
148
|
pageSize: paginationSize
|
|
145
149
|
}, pagination || {});
|
|
146
150
|
var largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);
|
|
147
|
-
|
|
148
|
-
paginationProps.current = largestPage;
|
|
149
|
-
}
|
|
151
|
+
paginationProps.current = Math.min(paginationProps.current, largestPage);
|
|
150
152
|
var paginationContent = pagination && _jsx("div", {
|
|
151
153
|
className: classNames("".concat(prefixCls, "-pagination")),
|
|
152
154
|
children: _jsx(Pagination, _objectSpread(_objectSpread({
|
|
@@ -193,9 +195,7 @@ function InternalList(_ref, ref) {
|
|
|
193
195
|
}
|
|
194
196
|
});
|
|
195
197
|
if (splitDataSource.length > 0) {
|
|
196
|
-
var items = splitDataSource.map(
|
|
197
|
-
return renderInnerItem(item, index);
|
|
198
|
-
});
|
|
198
|
+
var items = splitDataSource.map(renderInternalItem);
|
|
199
199
|
childrenContent = grid ? _jsx(Row, {
|
|
200
200
|
gutter: grid.gutter,
|
|
201
201
|
children: React.Children.map(items, function (child) {
|
|
@@ -216,7 +216,7 @@ function InternalList(_ref, ref) {
|
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
var paginationPosition = paginationProps.position
|
|
219
|
+
var paginationPosition = paginationProps.position;
|
|
220
220
|
var contextValue = React.useMemo(function () {
|
|
221
221
|
return {
|
|
222
222
|
grid: grid,
|
|
@@ -227,7 +227,7 @@ function InternalList(_ref, ref) {
|
|
|
227
227
|
value: contextValue,
|
|
228
228
|
children: _jsxs("div", _objectSpread(_objectSpread({
|
|
229
229
|
ref: ref,
|
|
230
|
-
style: _objectSpread(_objectSpread({},
|
|
230
|
+
style: _objectSpread(_objectSpread({}, contextStyle), style),
|
|
231
231
|
className: classString
|
|
232
232
|
}, rest), {}, {
|
|
233
233
|
children: [(paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && _jsx("div", {
|
|
@@ -10,7 +10,8 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'يرجى التحديد'
|
|
13
|
+
placeholder: 'يرجى التحديد',
|
|
14
|
+
close: 'إغلاق'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'الفلاتر',
|
|
@@ -26,6 +27,11 @@ var localeValues = {
|
|
|
26
27
|
triggerAsc: 'ترتيب تصاعدي',
|
|
27
28
|
cancelSort: 'إلغاء الترتيب'
|
|
28
29
|
},
|
|
30
|
+
Tour: {
|
|
31
|
+
Next: 'التالي',
|
|
32
|
+
Previous: 'السابق',
|
|
33
|
+
Finish: 'إنهاء'
|
|
34
|
+
},
|
|
29
35
|
Modal: {
|
|
30
36
|
okText: 'تأكيد',
|
|
31
37
|
cancelText: 'إلغاء',
|
|
@@ -10,7 +10,8 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Zəhmət olmasa seçin'
|
|
13
|
+
placeholder: 'Zəhmət olmasa seçin',
|
|
14
|
+
close: 'Bağla'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filter menyu',
|
|
@@ -20,7 +21,7 @@ var localeValues = {
|
|
|
20
21
|
selectAll: 'Cari səhifəni seç',
|
|
21
22
|
selectInvert: 'Mövcud səhifənin elementlərinin sırasını tərs çevir',
|
|
22
23
|
filterEmptyText: 'Filter yoxdur',
|
|
23
|
-
|
|
24
|
+
filterCheckAll: 'Bütün maddələri seç',
|
|
24
25
|
filterSearchPlaceholder: 'Filterlərdə axtar',
|
|
25
26
|
selectNone: 'Bütün məlumatı sil',
|
|
26
27
|
selectionAll: 'Bütün məlumatı seç',
|
|
@@ -9,6 +9,9 @@ var localeValues = {
|
|
|
9
9
|
DatePicker: DatePicker,
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
|
+
global: {
|
|
13
|
+
close: 'Затвори'
|
|
14
|
+
},
|
|
12
15
|
Table: {
|
|
13
16
|
filterTitle: 'Филтриране',
|
|
14
17
|
filterConfirm: 'Добре',
|
|
@@ -16,6 +19,11 @@ var localeValues = {
|
|
|
16
19
|
selectAll: 'Избор на текуща страница',
|
|
17
20
|
selectInvert: 'Обръщане'
|
|
18
21
|
},
|
|
22
|
+
Tour: {
|
|
23
|
+
Next: 'Следващ',
|
|
24
|
+
Previous: 'Предишен',
|
|
25
|
+
Finish: 'Завърши'
|
|
26
|
+
},
|
|
19
27
|
Modal: {
|
|
20
28
|
okText: 'Добре',
|
|
21
29
|
cancelText: 'Отказ',
|
|
@@ -10,7 +10,8 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'অনুগ্রহ করে নির্বাচন করুন'
|
|
13
|
+
placeholder: 'অনুগ্রহ করে নির্বাচন করুন',
|
|
14
|
+
close: 'বন্ধ'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'ফিল্টার মেনু',
|
|
@@ -29,6 +30,11 @@ var localeValues = {
|
|
|
29
30
|
triggerAsc: 'আরোহী বাছাই করতে ক্লিক করুন',
|
|
30
31
|
cancelSort: 'বাছাই বাতিল করতে ক্লিক করুন'
|
|
31
32
|
},
|
|
33
|
+
Tour: {
|
|
34
|
+
Next: 'পরবর্তী',
|
|
35
|
+
Previous: 'পূর্ববর্তী',
|
|
36
|
+
Finish: 'সমাপ্ত'
|
|
37
|
+
},
|
|
32
38
|
Modal: {
|
|
33
39
|
okText: 'ঠিক',
|
|
34
40
|
cancelText: 'বাতিল',
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Калі ласка, выберыце'
|
|
13
|
+
placeholder: 'Калі ласка, выберыце',
|
|
14
|
+
close: 'Закрыць'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Фільтр',
|
|
17
18
|
filterConfirm: 'OK',
|
|
18
19
|
filterReset: 'Скінуць',
|
|
19
20
|
filterEmptyText: 'Без фільтраў',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Выбраць усё',
|
|
21
22
|
filterSearchPlaceholder: 'Пошук фільтраў',
|
|
22
23
|
emptyText: 'Няма даных',
|
|
23
24
|
selectAll: 'Выбраць усё',
|
|
@@ -31,6 +32,11 @@ var localeValues = {
|
|
|
31
32
|
triggerAsc: 'Націсніце для сартавання па ўзрастанні',
|
|
32
33
|
cancelSort: 'Націсніце, каб адмяніць сартаванне'
|
|
33
34
|
},
|
|
35
|
+
Tour: {
|
|
36
|
+
Next: 'Наступны',
|
|
37
|
+
Previous: 'Папярэдняя',
|
|
38
|
+
Finish: 'Завяршыць'
|
|
39
|
+
},
|
|
34
40
|
Modal: {
|
|
35
41
|
okText: 'OK',
|
|
36
42
|
cancelText: 'Адмена',
|
|
@@ -10,7 +10,8 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Seleccionar'
|
|
13
|
+
placeholder: 'Seleccionar',
|
|
14
|
+
close: 'Tancar'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filtrar el menú',
|
|
@@ -27,6 +28,11 @@ var localeValues = {
|
|
|
27
28
|
triggerAsc: 'Ordre ascendent',
|
|
28
29
|
cancelSort: 'Desactivar l’ordre'
|
|
29
30
|
},
|
|
31
|
+
Tour: {
|
|
32
|
+
Next: 'Següent',
|
|
33
|
+
Previous: 'Anterior',
|
|
34
|
+
Finish: 'Finalitzar'
|
|
35
|
+
},
|
|
30
36
|
Modal: {
|
|
31
37
|
okText: 'D’acord',
|
|
32
38
|
cancelText: 'Cancel·lar',
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Prosím vyber'
|
|
13
|
+
placeholder: 'Prosím vyber',
|
|
14
|
+
close: 'Zavřít'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filtr',
|
|
17
18
|
filterConfirm: 'Potvrdit',
|
|
18
19
|
filterReset: 'Obnovit',
|
|
19
20
|
filterEmptyText: 'Žádné filtry',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Vybrat všechny položky',
|
|
21
22
|
filterSearchPlaceholder: 'Vyhledat ve filtrech',
|
|
22
23
|
emptyText: 'Žádná data',
|
|
23
24
|
selectAll: 'Vybrat všechny řádky na současné stránce',
|
|
@@ -31,6 +32,11 @@ var localeValues = {
|
|
|
31
32
|
triggerAsc: 'Klikni pro vzestupné řazení',
|
|
32
33
|
cancelSort: 'Klikni pro zrušení řazení'
|
|
33
34
|
},
|
|
35
|
+
Tour: {
|
|
36
|
+
Next: 'Další',
|
|
37
|
+
Previous: 'Předchozí',
|
|
38
|
+
Finish: 'Dokončit'
|
|
39
|
+
},
|
|
34
40
|
Modal: {
|
|
35
41
|
okText: 'OK',
|
|
36
42
|
cancelText: 'Zrušit',
|
|
@@ -123,6 +129,17 @@ var localeValues = {
|
|
|
123
129
|
},
|
|
124
130
|
Image: {
|
|
125
131
|
preview: 'Náhled'
|
|
132
|
+
},
|
|
133
|
+
QRCode: {
|
|
134
|
+
expired: 'QR kód vypršel',
|
|
135
|
+
refresh: 'Obnovit',
|
|
136
|
+
scanned: 'Naskenováno'
|
|
137
|
+
},
|
|
138
|
+
ColorPicker: {
|
|
139
|
+
presetEmpty: 'Prázdné',
|
|
140
|
+
transparent: 'Průhledné',
|
|
141
|
+
singleColor: 'Jednobarevné',
|
|
142
|
+
gradientColor: 'Přechodové'
|
|
126
143
|
}
|
|
127
144
|
};
|
|
128
145
|
export default localeValues;
|
|
@@ -9,6 +9,9 @@ var localeValues = {
|
|
|
9
9
|
TimePicker: TimePicker,
|
|
10
10
|
Calendar: Calendar,
|
|
11
11
|
Pagination: Pagination,
|
|
12
|
+
global: {
|
|
13
|
+
close: 'Luk'
|
|
14
|
+
},
|
|
12
15
|
Table: {
|
|
13
16
|
filterTitle: 'Filtermenu',
|
|
14
17
|
filterConfirm: 'OK',
|
|
@@ -26,6 +29,11 @@ var localeValues = {
|
|
|
26
29
|
triggerAsc: 'Klik for at sortere stigende',
|
|
27
30
|
cancelSort: 'Klik for at annullere sortering'
|
|
28
31
|
},
|
|
32
|
+
Tour: {
|
|
33
|
+
Next: 'Næste',
|
|
34
|
+
Previous: 'Forrige',
|
|
35
|
+
Finish: 'Færdiggørelse'
|
|
36
|
+
},
|
|
29
37
|
Modal: {
|
|
30
38
|
okText: 'OK',
|
|
31
39
|
cancelText: 'Afbryd',
|
|
@@ -10,7 +10,8 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Bitte auswählen'
|
|
13
|
+
placeholder: 'Bitte auswählen',
|
|
14
|
+
close: 'Schließen'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filter-Menü',
|
|
@@ -18,7 +19,7 @@ var localeValues = {
|
|
|
18
19
|
filterReset: 'Zurücksetzen',
|
|
19
20
|
filterEmptyText: 'Keine Filter',
|
|
20
21
|
filterSearchPlaceholder: 'Suche in Filtern',
|
|
21
|
-
|
|
22
|
+
filterCheckAll: 'Alle auswählen',
|
|
22
23
|
selectAll: 'Selektiere Alle',
|
|
23
24
|
selectInvert: 'Selektion Invertieren',
|
|
24
25
|
selectionAll: 'Wählen Sie alle Daten aus',
|
|
@@ -53,6 +54,7 @@ var localeValues = {
|
|
|
53
54
|
selectCurrent: 'Alle auf aktueller Seite auswählen',
|
|
54
55
|
removeCurrent: 'Auswahl auf aktueller Seite aufheben',
|
|
55
56
|
selectAll: 'Alle auswählen',
|
|
57
|
+
deselectAll: 'Alle abwählen',
|
|
56
58
|
removeAll: 'Auswahl aufheben',
|
|
57
59
|
selectInvert: 'Auswahl umkehren'
|
|
58
60
|
},
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Παρακαλώ επιλέξτε'
|
|
13
|
+
placeholder: 'Παρακαλώ επιλέξτε',
|
|
14
|
+
close: 'Κλείσιμο'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Μενού φίλτρων',
|
|
17
18
|
filterConfirm: 'ΟΚ',
|
|
18
19
|
filterReset: 'Επαναφορά',
|
|
19
20
|
filterEmptyText: 'Χωρίς φίλτρα',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Επιλογή όλων',
|
|
21
22
|
filterSearchPlaceholder: 'Αναζήτηση στα φίλτρα',
|
|
22
23
|
emptyText: 'Δεν υπάρχουν δεδομένα',
|
|
23
24
|
selectAll: 'Επιλογή τρέχουσας σελίδας',
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Please select'
|
|
13
|
+
placeholder: 'Please select',
|
|
14
|
+
close: 'Close'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filter menu',
|
|
17
18
|
filterConfirm: 'OK',
|
|
18
19
|
filterReset: 'Reset',
|
|
19
20
|
filterEmptyText: 'No filters',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Select all items',
|
|
21
22
|
filterSearchPlaceholder: 'Search in filters',
|
|
22
23
|
emptyText: 'No data',
|
|
23
24
|
selectAll: 'Select current page',
|
|
@@ -31,6 +32,11 @@ var localeValues = {
|
|
|
31
32
|
triggerAsc: 'Click to sort ascending',
|
|
32
33
|
cancelSort: 'Click to cancel sorting'
|
|
33
34
|
},
|
|
35
|
+
Tour: {
|
|
36
|
+
Next: 'Next',
|
|
37
|
+
Previous: 'Previous',
|
|
38
|
+
Finish: 'Finish'
|
|
39
|
+
},
|
|
34
40
|
Modal: {
|
|
35
41
|
okText: 'OK',
|
|
36
42
|
cancelText: 'Cancel',
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Please select'
|
|
13
|
+
placeholder: 'Please select',
|
|
14
|
+
close: 'Close'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filter menu',
|
|
17
18
|
filterConfirm: 'OK',
|
|
18
19
|
filterReset: 'Reset',
|
|
19
20
|
filterEmptyText: 'No filters',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Select all items',
|
|
21
22
|
filterSearchPlaceholder: 'Search in filters',
|
|
22
23
|
emptyText: 'No data',
|
|
23
24
|
selectAll: 'Select current page',
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Seleccione'
|
|
13
|
+
placeholder: 'Seleccione',
|
|
14
|
+
close: 'Cerrar'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filtrar menú',
|
|
17
18
|
filterConfirm: 'Aceptar',
|
|
18
19
|
filterReset: 'Reiniciar',
|
|
19
20
|
filterEmptyText: 'Sin filtros',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Seleccionar todo',
|
|
21
22
|
filterSearchPlaceholder: 'Buscar en filtros',
|
|
22
23
|
emptyText: 'Sin datos',
|
|
23
24
|
selectAll: 'Seleccionar todo',
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Palun vali'
|
|
13
|
+
placeholder: 'Palun vali',
|
|
14
|
+
close: 'Sulge'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Filtri menüü',
|
|
17
18
|
filterConfirm: 'OK',
|
|
18
19
|
filterReset: 'Nulli',
|
|
19
20
|
filterEmptyText: 'Filtreid pole',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Vali kõik',
|
|
21
22
|
filterSearchPlaceholder: 'Otsi filtritest',
|
|
22
23
|
emptyText: 'Andmed puuduvad',
|
|
23
24
|
selectAll: 'Vali kõik',
|
|
@@ -31,6 +32,11 @@ var localeValues = {
|
|
|
31
32
|
triggerAsc: 'Klõpsa kasvavalt sortimiseks',
|
|
32
33
|
cancelSort: 'Klõpsa sortimise tühistamiseks'
|
|
33
34
|
},
|
|
35
|
+
Tour: {
|
|
36
|
+
Next: 'Järgmine',
|
|
37
|
+
Previous: 'Eelmine',
|
|
38
|
+
Finish: 'Lõpetada'
|
|
39
|
+
},
|
|
34
40
|
Modal: {
|
|
35
41
|
okText: 'OK',
|
|
36
42
|
cancelText: 'Tühista',
|
|
@@ -10,14 +10,15 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'Aukeratu'
|
|
13
|
+
placeholder: 'Aukeratu',
|
|
14
|
+
close: 'Itxi'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'Iragazi menua',
|
|
17
18
|
filterConfirm: 'Onartu',
|
|
18
19
|
filterReset: 'Garbitu',
|
|
19
20
|
filterEmptyText: 'Iragazkirik gabe',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'Hautatu dena',
|
|
21
22
|
filterSearchPlaceholder: 'Bilatu iragazkietan',
|
|
22
23
|
emptyText: 'Daturik gabe',
|
|
23
24
|
selectAll: 'Hautatu dena',
|
|
@@ -10,18 +10,19 @@ var localeValues = {
|
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
12
|
global: {
|
|
13
|
-
placeholder: 'لطفاً انتخاب کنید'
|
|
13
|
+
placeholder: 'لطفاً انتخاب کنید',
|
|
14
|
+
close: 'بستن'
|
|
14
15
|
},
|
|
15
16
|
Table: {
|
|
16
17
|
filterTitle: 'منوی فیلتر',
|
|
17
18
|
filterConfirm: 'تایید',
|
|
18
19
|
filterReset: 'پاک کردن',
|
|
19
20
|
filterEmptyText: 'بدون فیلتر',
|
|
20
|
-
|
|
21
|
+
filterCheckAll: 'انتخاب همهی موارد',
|
|
21
22
|
filterSearchPlaceholder: 'جستجو در فیلترها',
|
|
22
23
|
emptyText: 'بدون داده',
|
|
23
24
|
selectAll: 'انتخاب صفحهی کنونی',
|
|
24
|
-
selectInvert: 'معکوس کردن انتخابها در
|
|
25
|
+
selectInvert: 'معکوس کردن انتخابها در صفحهی کنونی',
|
|
25
26
|
selectNone: 'انتخاب هیچکدام',
|
|
26
27
|
selectionAll: 'انتخاب همهی دادهها',
|
|
27
28
|
sortTitle: 'مرتب سازی',
|
|
@@ -54,8 +55,9 @@ var localeValues = {
|
|
|
54
55
|
selectCurrent: 'انتخاب صفحه فعلی',
|
|
55
56
|
removeCurrent: 'پاک کردن انتخابهای صفحه فعلی',
|
|
56
57
|
selectAll: 'انتخاب همه',
|
|
58
|
+
deselectAll: 'لغو انتخاب همه',
|
|
57
59
|
removeAll: 'پاک کردن همه انتخابها',
|
|
58
|
-
selectInvert: 'معکوس کردن انتخابها در
|
|
60
|
+
selectInvert: 'معکوس کردن انتخابها در صفحهی کنونی'
|
|
59
61
|
},
|
|
60
62
|
Upload: {
|
|
61
63
|
uploading: 'در حال آپلود...',
|
|
@@ -74,7 +76,8 @@ var localeValues = {
|
|
|
74
76
|
edit: 'ویرایش',
|
|
75
77
|
copy: 'کپی',
|
|
76
78
|
copied: 'کپی شد',
|
|
77
|
-
expand: 'توسعه'
|
|
79
|
+
expand: 'توسعه',
|
|
80
|
+
collapse: 'بستن'
|
|
78
81
|
},
|
|
79
82
|
Form: {
|
|
80
83
|
optional: '(اختیاری)',
|
|
@@ -130,8 +133,15 @@ var localeValues = {
|
|
|
130
133
|
preview: 'پیشنمایش'
|
|
131
134
|
},
|
|
132
135
|
QRCode: {
|
|
133
|
-
expired: 'QR
|
|
134
|
-
refresh: 'بهروزرسانی'
|
|
136
|
+
expired: 'کد QR منقضی شد',
|
|
137
|
+
refresh: 'بهروزرسانی',
|
|
138
|
+
scanned: 'اسکن شد'
|
|
139
|
+
},
|
|
140
|
+
ColorPicker: {
|
|
141
|
+
presetEmpty: 'خالی',
|
|
142
|
+
transparent: 'شفاف',
|
|
143
|
+
singleColor: 'تکرنگ',
|
|
144
|
+
gradientColor: 'گرادینت'
|
|
135
145
|
}
|
|
136
146
|
};
|
|
137
147
|
export default localeValues;
|
|
@@ -8,6 +8,9 @@ var localeValues = {
|
|
|
8
8
|
DatePicker: DatePicker,
|
|
9
9
|
TimePicker: TimePicker,
|
|
10
10
|
Calendar: Calendar,
|
|
11
|
+
global: {
|
|
12
|
+
close: 'Sulje'
|
|
13
|
+
},
|
|
11
14
|
Table: {
|
|
12
15
|
filterTitle: 'Suodatus valikko',
|
|
13
16
|
filterConfirm: 'OK',
|
|
@@ -19,6 +22,11 @@ var localeValues = {
|
|
|
19
22
|
triggerAsc: 'Lajittele nousevasti',
|
|
20
23
|
cancelSort: 'Peruuta lajittelu'
|
|
21
24
|
},
|
|
25
|
+
Tour: {
|
|
26
|
+
Next: 'Seuraava',
|
|
27
|
+
Previous: 'Edellinen',
|
|
28
|
+
Finish: 'Valmis'
|
|
29
|
+
},
|
|
22
30
|
Modal: {
|
|
23
31
|
okText: 'OK',
|
|
24
32
|
cancelText: 'Peruuta',
|
|
@@ -9,12 +9,15 @@ var localeValues = {
|
|
|
9
9
|
DatePicker: DatePicker,
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
|
+
global: {
|
|
13
|
+
close: 'Fermer'
|
|
14
|
+
},
|
|
12
15
|
Table: {
|
|
13
16
|
filterTitle: 'Filtrer',
|
|
14
17
|
filterConfirm: 'OK',
|
|
15
18
|
filterReset: 'Réinitialiser',
|
|
16
19
|
filterEmptyText: 'Aucun filtre',
|
|
17
|
-
|
|
20
|
+
filterCheckAll: 'Tout sélectionner',
|
|
18
21
|
filterSearchPlaceholder: 'Chercher dans les filtres',
|
|
19
22
|
emptyText: 'Aucune donnée',
|
|
20
23
|
selectAll: 'Sélectionner la page actuelle',
|
|
@@ -9,12 +9,15 @@ var localeValues = {
|
|
|
9
9
|
DatePicker: DatePicker,
|
|
10
10
|
TimePicker: TimePicker,
|
|
11
11
|
Calendar: Calendar,
|
|
12
|
+
global: {
|
|
13
|
+
close: 'Fermer'
|
|
14
|
+
},
|
|
12
15
|
Table: {
|
|
13
16
|
filterTitle: 'Filtrer',
|
|
14
17
|
filterConfirm: 'OK',
|
|
15
18
|
filterReset: 'Réinitialiser',
|
|
16
19
|
filterEmptyText: 'Aucun filtre',
|
|
17
|
-
|
|
20
|
+
filterCheckAll: 'Tout sélectionner',
|
|
18
21
|
filterSearchPlaceholder: 'Chercher dans les filtres',
|
|
19
22
|
emptyText: 'Aucune donnée',
|
|
20
23
|
selectAll: 'Sélectionner la page actuelle',
|
|
@@ -28,6 +31,11 @@ var localeValues = {
|
|
|
28
31
|
triggerAsc: 'Trier par ordre croissant',
|
|
29
32
|
cancelSort: 'Annuler le tri'
|
|
30
33
|
},
|
|
34
|
+
Tour: {
|
|
35
|
+
Next: 'Suivant',
|
|
36
|
+
Previous: 'Précédent',
|
|
37
|
+
Finish: 'Terminer'
|
|
38
|
+
},
|
|
31
39
|
Modal: {
|
|
32
40
|
okText: 'OK',
|
|
33
41
|
cancelText: 'Annuler',
|