@chaoswise/ui 2.5.9 → 3.0.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/README.md +16 -108
- package/lib/AbreastLayout/CollapsedBtn.js +19 -15
- package/lib/AbreastLayout/CollapsedIcon.js +1 -1
- package/lib/AbreastLayout/NavTreeContainer.js +8 -8
- package/lib/AbreastLayout/index.js +50 -49
- package/lib/AbreastLayout/index.style.js +91 -0
- package/lib/Ace/ace.js +8 -8
- package/lib/Ace/diff.js +8 -8
- package/lib/Ace/index.js +4 -4
- package/lib/Ace/split.js +8 -8
- package/lib/AdaptiveLayout/index.js +31 -29
- package/lib/Affix/index.js +2 -3
- package/lib/Alert/index.js +2 -48
- package/lib/Anchor/index.js +2 -3
- package/lib/Antd5/_util/ActionButton.js +117 -0
- package/lib/Antd5/_util/PurePanel.js +103 -0
- package/lib/Antd5/_util/capitalize.js +7 -0
- package/lib/Antd5/_util/colors.js +26 -0
- package/lib/Antd5/_util/easings.js +10 -0
- package/lib/Antd5/_util/extendsObject.js +26 -0
- package/lib/Antd5/_util/gapSize.js +10 -0
- package/lib/Antd5/_util/getAllowClear.js +16 -0
- package/lib/Antd5/_util/getRenderPropValue.js +6 -0
- package/lib/Antd5/_util/getScroll.js +29 -0
- package/lib/Antd5/_util/hooks/useClosable.js +119 -0
- package/lib/Antd5/_util/hooks/useForceUpdate.js +15 -0
- package/lib/Antd5/_util/hooks/useMultipleSelect.js +47 -0
- package/lib/Antd5/_util/hooks/usePatchElement.js +33 -0
- package/lib/Antd5/_util/hooks/useProxyImperativeHandle.js +32 -0
- package/lib/Antd5/_util/hooks/useSyncState.js +13 -0
- package/lib/Antd5/_util/hooks/useZIndex.js +56 -0
- package/lib/Antd5/_util/motion.js +47 -0
- package/lib/Antd5/_util/placements.js +182 -0
- package/lib/Antd5/_util/reactNode.js +13 -0
- package/lib/Antd5/_util/responsiveObserver.js +123 -0
- package/lib/Antd5/_util/scrollTo.js +34 -0
- package/lib/Antd5/_util/statusUtils.js +12 -0
- package/lib/Antd5/_util/styleChecker.js +6 -0
- package/lib/Antd5/_util/throttleByAnimationFrame.js +30 -0
- package/lib/Antd5/_util/transButton.js +63 -0
- package/lib/Antd5/_util/transKeys.js +18 -0
- package/lib/Antd5/_util/warning.js +59 -0
- package/lib/Antd5/_util/wave/WaveEffect.js +160 -0
- package/lib/Antd5/_util/wave/index.js +63 -0
- package/lib/Antd5/_util/wave/interface.js +1 -0
- package/lib/Antd5/_util/wave/style.js +32 -0
- package/lib/Antd5/_util/wave/useWave.js +48 -0
- package/lib/Antd5/_util/wave/util.js +29 -0
- package/lib/Antd5/_util/zindexContext.js +6 -0
- package/lib/Antd5/affix/index.js +228 -0
- package/lib/Antd5/affix/style/index.js +20 -0
- package/lib/Antd5/affix/utils.js +19 -0
- package/lib/Antd5/alert/Alert.js +233 -0
- package/lib/Antd5/alert/ErrorBoundary.js +76 -0
- package/lib/Antd5/alert/design/behavior-pattern.js +31 -0
- package/lib/Antd5/alert/index.js +5 -0
- package/lib/Antd5/alert/style/index.js +153 -0
- package/lib/Antd5/anchor/Anchor.js +278 -0
- package/lib/Antd5/anchor/AnchorLink.js +67 -0
- package/lib/Antd5/anchor/context.js +3 -0
- package/lib/Antd5/anchor/index.js +5 -0
- package/lib/Antd5/anchor/style/index.js +124 -0
- package/lib/Antd5/app/context.js +8 -0
- package/lib/Antd5/app/index.js +93 -0
- package/lib/Antd5/app/style/index.js +24 -0
- package/lib/Antd5/auto-complete/index.js +112 -0
- package/lib/Antd5/avatar/AvatarContext.js +3 -0
- package/lib/Antd5/avatar/avatar.js +189 -0
- package/lib/Antd5/avatar/group.js +103 -0
- package/lib/Antd5/avatar/index.js +6 -0
- package/lib/Antd5/avatar/style/index.js +110 -0
- package/lib/Antd5/back-top/index.js +113 -0
- package/lib/Antd5/back-top/style/index.js +82 -0
- package/lib/Antd5/badge/Ribbon.js +65 -0
- package/lib/Antd5/badge/ScrollNumber.js +72 -0
- package/lib/Antd5/badge/SingleNumber.js +122 -0
- package/lib/Antd5/badge/index.js +189 -0
- package/lib/Antd5/badge/style/index.js +291 -0
- package/lib/Antd5/badge/style/ribbon.js +72 -0
- package/lib/Antd5/breadcrumb/Breadcrumb.js +157 -0
- package/lib/Antd5/breadcrumb/BreadcrumbItem.js +103 -0
- package/lib/Antd5/breadcrumb/BreadcrumbSeparator.js +16 -0
- package/lib/Antd5/breadcrumb/design/behavior-pattern.js +36 -0
- package/lib/Antd5/breadcrumb/style/index.js +82 -0
- package/lib/Antd5/breadcrumb/useItemRender.js +57 -0
- package/lib/Antd5/breadcrumb/useItems.js +42 -0
- package/lib/Antd5/button/IconWrapper.js +17 -0
- package/lib/Antd5/button/LoadingIcon.js +87 -0
- package/lib/Antd5/button/button-group.js +59 -0
- package/lib/Antd5/button/button.js +230 -0
- package/lib/Antd5/button/buttonHelpers.js +68 -0
- package/lib/Antd5/button/index.js +3 -0
- package/lib/Antd5/button/style/compactCmp.js +46 -0
- package/lib/Antd5/button/style/group.js +52 -0
- package/lib/Antd5/button/style/index.js +322 -0
- package/lib/Antd5/button/style/token.js +61 -0
- package/lib/Antd5/calendar/Header.js +176 -0
- package/lib/Antd5/calendar/generateCalendar.js +225 -0
- package/lib/Antd5/calendar/index.js +5 -0
- package/lib/Antd5/calendar/locale/eu_ES.js +2 -0
- package/lib/Antd5/calendar/locale/my_MM.js +2 -0
- package/lib/Antd5/calendar/locale/si_LK.js +2 -0
- package/lib/Antd5/calendar/locale/tk_TK.js +2 -0
- package/lib/Antd5/calendar/locale/uz_UZ.js +2 -0
- package/lib/Antd5/calendar/style/index.js +153 -0
- package/lib/Antd5/card/Card.js +201 -0
- package/lib/Antd5/card/Grid.js +28 -0
- package/lib/Antd5/card/Meta.js +46 -0
- package/lib/Antd5/card/index.js +10 -0
- package/lib/Antd5/card/style/index.js +287 -0
- package/lib/Antd5/carousel/index.js +120 -0
- package/lib/Antd5/carousel/style/index.js +310 -0
- package/lib/Antd5/cascader/Panel.js +68 -0
- package/lib/Antd5/cascader/hooks/useBase.js +12 -0
- package/lib/Antd5/cascader/hooks/useCheckable.js +9 -0
- package/lib/Antd5/cascader/hooks/useColumnIcons.js +18 -0
- package/lib/Antd5/cascader/index.js +264 -0
- package/lib/Antd5/cascader/style/columns.js +87 -0
- package/lib/Antd5/cascader/style/index.js +48 -0
- package/lib/Antd5/cascader/style/panel.js +29 -0
- package/lib/Antd5/checkbox/Checkbox.js +125 -0
- package/lib/Antd5/checkbox/Group.js +148 -0
- package/lib/Antd5/checkbox/GroupContext.js +3 -0
- package/lib/Antd5/checkbox/index.js +9 -0
- package/lib/Antd5/checkbox/style/index.js +159 -0
- package/lib/Antd5/col/style/index.js +3 -0
- package/lib/Antd5/collapse/Collapse.js +121 -0
- package/lib/Antd5/collapse/CollapsePanel.js +33 -0
- package/lib/Antd5/collapse/style/index.js +183 -0
- package/lib/Antd5/color-picker/ColorPicker.js +233 -0
- package/lib/Antd5/color-picker/ColorPickerPanel.js +64 -0
- package/lib/Antd5/color-picker/color.js +67 -0
- package/lib/Antd5/color-picker/components/ColorAlphaInput.js +45 -0
- package/lib/Antd5/color-picker/components/ColorClear.js +22 -0
- package/lib/Antd5/color-picker/components/ColorHexInput.js +47 -0
- package/lib/Antd5/color-picker/components/ColorHsbInput.js +76 -0
- package/lib/Antd5/color-picker/components/ColorInput.js +86 -0
- package/lib/Antd5/color-picker/components/ColorPresets.js +109 -0
- package/lib/Antd5/color-picker/components/ColorRgbInput.js +67 -0
- package/lib/Antd5/color-picker/components/ColorSteppers.js +47 -0
- package/lib/Antd5/color-picker/components/ColorTrigger.js +65 -0
- package/lib/Antd5/color-picker/components/PanelPicker.js +53 -0
- package/lib/Antd5/color-picker/components/PanelPresets.js +18 -0
- package/lib/Antd5/color-picker/context.js +7 -0
- package/lib/Antd5/color-picker/hooks/useColorState.js +53 -0
- package/lib/Antd5/color-picker/index.js +2 -0
- package/lib/Antd5/color-picker/interface.js +6 -0
- package/lib/Antd5/color-picker/style/color-block.js +36 -0
- package/lib/Antd5/color-picker/style/index.js +203 -0
- package/lib/Antd5/color-picker/style/input.js +74 -0
- package/lib/Antd5/color-picker/style/picker.js +64 -0
- package/lib/Antd5/color-picker/style/presets.js +94 -0
- package/lib/Antd5/color-picker/util.js +18 -0
- package/lib/Antd5/config-provider/DisabledContext.js +13 -0
- package/lib/Antd5/config-provider/MotionWrapper.js +26 -0
- package/lib/Antd5/config-provider/PropWarning.js +18 -0
- package/lib/Antd5/config-provider/SizeContext.js +13 -0
- package/lib/Antd5/config-provider/context.js +16 -0
- package/lib/Antd5/config-provider/cssVariables.js +88 -0
- package/lib/Antd5/config-provider/defaultRenderEmpty.js +31 -0
- package/lib/Antd5/config-provider/hooks/useCSSVarCls.js +19 -0
- package/lib/Antd5/config-provider/hooks/useConfig.js +12 -0
- package/lib/Antd5/config-provider/hooks/useSize.js +19 -0
- package/lib/Antd5/config-provider/hooks/useTheme.js +55 -0
- package/lib/Antd5/config-provider/hooks/useThemeKey.js +14 -0
- package/lib/Antd5/config-provider/index.js +432 -0
- package/lib/Antd5/config-provider/style/index.js +2 -0
- package/lib/Antd5/date-picker/PickerButton.js +15 -0
- package/lib/Antd5/date-picker/design/behavior-pattern.js +89 -0
- package/lib/Antd5/date-picker/generatePicker/generateRangePicker.js +170 -0
- package/lib/Antd5/date-picker/generatePicker/generateSinglePicker.js +200 -0
- package/lib/Antd5/date-picker/generatePicker/index.js +26 -0
- package/lib/Antd5/date-picker/generatePicker/interface.js +2 -0
- package/lib/Antd5/date-picker/generatePicker/useComponents.js +15 -0
- package/lib/Antd5/date-picker/index.js +27 -0
- package/lib/Antd5/date-picker/locale/ar_EG.js +23 -0
- package/lib/Antd5/date-picker/locale/az_AZ.js +16 -0
- package/lib/Antd5/date-picker/locale/bg_BG.js +19 -0
- package/lib/Antd5/date-picker/locale/bn_BD.js +26 -0
- package/lib/Antd5/date-picker/locale/by_BY.js +24 -0
- package/lib/Antd5/date-picker/locale/ca_ES.js +19 -0
- package/lib/Antd5/date-picker/locale/cs_CZ.js +19 -0
- package/lib/Antd5/date-picker/locale/da_DK.js +19 -0
- package/lib/Antd5/date-picker/locale/de_DE.js +21 -0
- package/lib/Antd5/date-picker/locale/el_GR.js +19 -0
- package/lib/Antd5/date-picker/locale/en_GB.js +27 -0
- package/lib/Antd5/date-picker/locale/en_US.js +27 -0
- package/lib/Antd5/date-picker/locale/es_ES.js +21 -0
- package/lib/Antd5/date-picker/locale/et_EE.js +19 -0
- package/lib/Antd5/date-picker/locale/eu_ES.js +19 -0
- package/lib/Antd5/date-picker/locale/example.json +55 -0
- package/lib/Antd5/date-picker/locale/fa_IR.js +27 -0
- package/lib/Antd5/date-picker/locale/fi_FI.js +19 -0
- package/lib/Antd5/date-picker/locale/fr_BE.js +26 -0
- package/lib/Antd5/date-picker/locale/fr_CA.js +26 -0
- package/lib/Antd5/date-picker/locale/fr_FR.js +26 -0
- package/lib/Antd5/date-picker/locale/ga_IE.js +26 -0
- package/lib/Antd5/date-picker/locale/gl_ES.js +19 -0
- package/lib/Antd5/date-picker/locale/he_IL.js +19 -0
- package/lib/Antd5/date-picker/locale/hi_IN.js +26 -0
- package/lib/Antd5/date-picker/locale/hr_HR.js +26 -0
- package/lib/Antd5/date-picker/locale/hu_HU.js +19 -0
- package/lib/Antd5/date-picker/locale/id_ID.js +27 -0
- package/lib/Antd5/date-picker/locale/is_IS.js +19 -0
- package/lib/Antd5/date-picker/locale/it_IT.js +19 -0
- package/lib/Antd5/date-picker/locale/ja_JP.js +19 -0
- package/lib/Antd5/date-picker/locale/ka_GE.js +23 -0
- package/lib/Antd5/date-picker/locale/kk_KZ.js +26 -0
- package/lib/Antd5/date-picker/locale/km_KH.js +26 -0
- package/lib/Antd5/date-picker/locale/kmr_IQ.js +19 -0
- package/lib/Antd5/date-picker/locale/kn_IN.js +19 -0
- package/lib/Antd5/date-picker/locale/ko_KR.js +19 -0
- package/lib/Antd5/date-picker/locale/lt_LT.js +27 -0
- package/lib/Antd5/date-picker/locale/lv_LV.js +19 -0
- package/lib/Antd5/date-picker/locale/mk_MK.js +19 -0
- package/lib/Antd5/date-picker/locale/ml_IN.js +26 -0
- package/lib/Antd5/date-picker/locale/mn_MN.js +19 -0
- package/lib/Antd5/date-picker/locale/ms_MY.js +19 -0
- package/lib/Antd5/date-picker/locale/my_MM.js +27 -0
- package/lib/Antd5/date-picker/locale/nb_NO.js +26 -0
- package/lib/Antd5/date-picker/locale/nl_BE.js +26 -0
- package/lib/Antd5/date-picker/locale/nl_NL.js +26 -0
- package/lib/Antd5/date-picker/locale/pl_PL.js +19 -0
- package/lib/Antd5/date-picker/locale/pt_BR.js +19 -0
- package/lib/Antd5/date-picker/locale/pt_PT.js +47 -0
- package/lib/Antd5/date-picker/locale/ro_RO.js +19 -0
- package/lib/Antd5/date-picker/locale/ru_RU.js +29 -0
- package/lib/Antd5/date-picker/locale/si_LK.js +27 -0
- package/lib/Antd5/date-picker/locale/sk_SK.js +19 -0
- package/lib/Antd5/date-picker/locale/sl_SI.js +45 -0
- package/lib/Antd5/date-picker/locale/sr_RS.js +26 -0
- package/lib/Antd5/date-picker/locale/sv_SE.js +26 -0
- package/lib/Antd5/date-picker/locale/ta_IN.js +27 -0
- package/lib/Antd5/date-picker/locale/th_TH.js +26 -0
- package/lib/Antd5/date-picker/locale/tk_TK.js +24 -0
- package/lib/Antd5/date-picker/locale/tr_TR.js +26 -0
- package/lib/Antd5/date-picker/locale/uk_UA.js +19 -0
- package/lib/Antd5/date-picker/locale/ur_PK.js +26 -0
- package/lib/Antd5/date-picker/locale/uz_UZ.js +26 -0
- package/lib/Antd5/date-picker/locale/vi_VN.js +27 -0
- package/lib/Antd5/date-picker/locale/zh_CN.js +29 -0
- package/lib/Antd5/date-picker/locale/zh_TW.js +28 -0
- package/lib/Antd5/date-picker/style/index.js +328 -0
- package/lib/Antd5/date-picker/style/multiple.js +81 -0
- package/lib/Antd5/date-picker/style/panel.js +448 -0
- package/lib/Antd5/date-picker/style/token.js +77 -0
- package/lib/Antd5/date-picker/style/variants.js +28 -0
- package/lib/Antd5/date-picker/util.js +118 -0
- package/lib/Antd5/descriptions/Cell.js +57 -0
- package/lib/Antd5/descriptions/DescriptionsContext.js +3 -0
- package/lib/Antd5/descriptions/Row.js +107 -0
- package/lib/Antd5/descriptions/constant.js +9 -0
- package/lib/Antd5/descriptions/hooks/useItems.js +38 -0
- package/lib/Antd5/descriptions/hooks/useRow.js +78 -0
- package/lib/Antd5/descriptions/index.js +119 -0
- package/lib/Antd5/descriptions/style/index.js +146 -0
- package/lib/Antd5/divider/index.js +85 -0
- package/lib/Antd5/divider/style/index.js +136 -0
- package/lib/Antd5/drawer/DrawerPanel.js +107 -0
- package/lib/Antd5/drawer/index.js +206 -0
- package/lib/Antd5/drawer/style/index.js +192 -0
- package/lib/Antd5/drawer/style/motion.js +56 -0
- package/lib/Antd5/dropdown/dropdown-button.js +129 -0
- package/lib/Antd5/dropdown/dropdown.js +255 -0
- package/lib/Antd5/dropdown/index.js +5 -0
- package/lib/Antd5/dropdown/style/index.js +220 -0
- package/lib/Antd5/dropdown/style/status.js +19 -0
- package/lib/Antd5/empty/empty.js +73 -0
- package/lib/Antd5/empty/index.js +83 -0
- package/lib/Antd5/empty/simple.js +61 -0
- package/lib/Antd5/empty/style/index.js +61 -0
- package/lib/Antd5/flex/index.js +67 -0
- package/lib/Antd5/flex/style/index.js +83 -0
- package/lib/Antd5/flex/utils.js +33 -0
- package/lib/Antd5/float-button/BackTop.js +109 -0
- package/lib/Antd5/float-button/FloatButton.js +105 -0
- package/lib/Antd5/float-button/FloatButtonContent.js +31 -0
- package/lib/Antd5/float-button/FloatButtonGroup.js +144 -0
- package/lib/Antd5/float-button/PurePanel.js +49 -0
- package/lib/Antd5/float-button/context.js +5 -0
- package/lib/Antd5/float-button/index.js +8 -0
- package/lib/Antd5/float-button/style/index.js +294 -0
- package/lib/Antd5/float-button/util.js +9 -0
- package/lib/Antd5/form/ErrorList.js +110 -0
- package/lib/Antd5/form/Form.js +166 -0
- package/lib/Antd5/form/FormItem/ItemHolder.js +128 -0
- package/lib/Antd5/form/FormItem/StatusProvider.js +73 -0
- package/lib/Antd5/form/FormItem/index.js +310 -0
- package/lib/Antd5/form/FormItemInput.js +100 -0
- package/lib/Antd5/form/FormItemLabel.js +120 -0
- package/lib/Antd5/form/FormList.js +49 -0
- package/lib/Antd5/form/context.js +51 -0
- package/lib/Antd5/form/hooks/useChildren.js +8 -0
- package/lib/Antd5/form/hooks/useDebounce.js +22 -0
- package/lib/Antd5/form/hooks/useForm.js +69 -0
- package/lib/Antd5/form/hooks/useFormItemStatus.js +23 -0
- package/lib/Antd5/form/hooks/useFormWarning.js +16 -0
- package/lib/Antd5/form/hooks/useFrameState.js +46 -0
- package/lib/Antd5/form/hooks/useItemRef.js +20 -0
- package/lib/Antd5/form/hooks/useVariants.js +21 -0
- package/lib/Antd5/form/index.js +19 -0
- package/lib/Antd5/form/style/explain.js +37 -0
- package/lib/Antd5/form/style/fallbackCmp.js +26 -0
- package/lib/Antd5/form/style/index.js +318 -0
- package/lib/Antd5/form/util.js +39 -0
- package/lib/Antd5/form/validateMessagesContext.js +5 -0
- package/lib/Antd5/grid/col.js +103 -0
- package/lib/Antd5/grid/hooks/useBreakpoint.js +23 -0
- package/lib/Antd5/grid/index.js +11 -0
- package/lib/Antd5/grid/row.js +169 -0
- package/lib/Antd5/grid/style/index.js +153 -0
- package/lib/Antd5/icon/index.js +9 -0
- package/lib/Antd5/image/PreviewGroup.js +84 -0
- package/lib/Antd5/image/index.js +94 -0
- package/lib/Antd5/image/style/index.js +264 -0
- package/lib/Antd5/index.js +72 -0
- package/lib/Antd5/input/Group.js +57 -0
- package/lib/Antd5/input/Input.js +188 -0
- package/lib/Antd5/input/OTP/OTPInput.js +69 -0
- package/lib/Antd5/input/OTP/index.js +210 -0
- package/lib/Antd5/input/Password.js +116 -0
- package/lib/Antd5/input/Search.js +143 -0
- package/lib/Antd5/input/TextArea.js +118 -0
- package/lib/Antd5/input/hooks/useRemovePasswordTimeout.js +26 -0
- package/lib/Antd5/input/index.js +13 -0
- package/lib/Antd5/input/style/index.js +532 -0
- package/lib/Antd5/input/style/otp.js +32 -0
- package/lib/Antd5/input/style/token.js +46 -0
- package/lib/Antd5/input/style/variants.js +213 -0
- package/lib/Antd5/input/utils.js +4 -0
- package/lib/Antd5/input-number/index.js +163 -0
- package/lib/Antd5/input-number/style/index.js +299 -0
- package/lib/Antd5/input-number/style/token.js +24 -0
- package/lib/Antd5/layout/Sider.js +198 -0
- package/lib/Antd5/layout/context.js +11 -0
- package/lib/Antd5/layout/hooks/useHasSider.js +14 -0
- package/lib/Antd5/layout/index.js +9 -0
- package/lib/Antd5/layout/layout.js +143 -0
- package/lib/Antd5/layout/style/index.js +187 -0
- package/lib/Antd5/layout/style/light.js +24 -0
- package/lib/Antd5/list/Item.js +113 -0
- package/lib/Antd5/list/context.js +3 -0
- package/lib/Antd5/list/index.js +246 -0
- package/lib/Antd5/list/style/index.js +249 -0
- package/lib/Antd5/locale/ar_EG.js +114 -0
- package/lib/Antd5/locale/az_AZ.js +97 -0
- package/lib/Antd5/locale/bg_BG.js +95 -0
- package/lib/Antd5/locale/bn_BD.js +127 -0
- package/lib/Antd5/locale/by_BY.js +129 -0
- package/lib/Antd5/locale/ca_ES.js +122 -0
- package/lib/Antd5/locale/cs_CZ.js +129 -0
- package/lib/Antd5/locale/da_DK.js +105 -0
- package/lib/Antd5/locale/de_DE.js +133 -0
- package/lib/Antd5/locale/el_GR.js +44 -0
- package/lib/Antd5/locale/en_GB.js +129 -0
- package/lib/Antd5/locale/en_US.js +144 -0
- package/lib/Antd5/locale/es_ES.js +129 -0
- package/lib/Antd5/locale/et_EE.js +129 -0
- package/lib/Antd5/locale/eu_ES.js +141 -0
- package/lib/Antd5/locale/fa_IR.js +138 -0
- package/lib/Antd5/locale/fi_FI.js +54 -0
- package/lib/Antd5/locale/fr_BE.js +126 -0
- package/lib/Antd5/locale/fr_CA.js +126 -0
- package/lib/Antd5/locale/fr_FR.js +131 -0
- package/lib/Antd5/locale/ga_IE.js +120 -0
- package/lib/Antd5/locale/gl_ES.js +108 -0
- package/lib/Antd5/locale/he_IL.js +114 -0
- package/lib/Antd5/locale/hi_IN.js +127 -0
- package/lib/Antd5/locale/hr_HR.js +126 -0
- package/lib/Antd5/locale/hu_HU.js +45 -0
- package/lib/Antd5/locale/hy_AM.js +106 -0
- package/lib/Antd5/locale/id_ID.js +144 -0
- package/lib/Antd5/locale/index.js +40 -0
- package/lib/Antd5/locale/is_IS.js +95 -0
- package/lib/Antd5/locale/it_IT.js +134 -0
- package/lib/Antd5/locale/ja_JP.js +144 -0
- package/lib/Antd5/locale/ka_GE.js +127 -0
- package/lib/Antd5/locale/kk_KZ.js +121 -0
- package/lib/Antd5/locale/km_KH.js +105 -0
- package/lib/Antd5/locale/kmr_IQ.js +44 -0
- package/lib/Antd5/locale/kn_IN.js +51 -0
- package/lib/Antd5/locale/ko_KR.js +141 -0
- package/lib/Antd5/locale/ku_IQ.js +47 -0
- package/lib/Antd5/locale/lt_LT.js +141 -0
- package/lib/Antd5/locale/lv_LV.js +44 -0
- package/lib/Antd5/locale/mk_MK.js +56 -0
- package/lib/Antd5/locale/ml_IN.js +127 -0
- package/lib/Antd5/locale/mn_MN.js +44 -0
- package/lib/Antd5/locale/ms_MY.js +61 -0
- package/lib/Antd5/locale/my_MM.js +136 -0
- package/lib/Antd5/locale/nb_NO.js +121 -0
- package/lib/Antd5/locale/ne_NP.js +44 -0
- package/lib/Antd5/locale/nl_BE.js +127 -0
- package/lib/Antd5/locale/nl_NL.js +127 -0
- package/lib/Antd5/locale/pl_PL.js +134 -0
- package/lib/Antd5/locale/pt_BR.js +134 -0
- package/lib/Antd5/locale/pt_PT.js +129 -0
- package/lib/Antd5/locale/ro_RO.js +127 -0
- package/lib/Antd5/locale/ru_RU.js +138 -0
- package/lib/Antd5/locale/si_LK.js +129 -0
- package/lib/Antd5/locale/sk_SK.js +129 -0
- package/lib/Antd5/locale/sl_SI.js +44 -0
- package/lib/Antd5/locale/sr_RS.js +127 -0
- package/lib/Antd5/locale/sv_SE.js +138 -0
- package/lib/Antd5/locale/ta_IN.js +126 -0
- package/lib/Antd5/locale/th_TH.js +138 -0
- package/lib/Antd5/locale/tk_TK.js +125 -0
- package/lib/Antd5/locale/tr_TR.js +125 -0
- package/lib/Antd5/locale/uk_UA.js +138 -0
- package/lib/Antd5/locale/ur_PK.js +127 -0
- package/lib/Antd5/locale/useLocale.js +28 -0
- package/lib/Antd5/locale/uz_UZ.js +143 -0
- package/lib/Antd5/locale/vi_VN.js +137 -0
- package/lib/Antd5/locale/zh_CN.js +145 -0
- package/lib/Antd5/locale/zh_HK.js +138 -0
- package/lib/Antd5/locale/zh_TW.js +139 -0
- package/lib/Antd5/mentions/index.js +198 -0
- package/lib/Antd5/mentions/style/index.js +205 -0
- package/lib/Antd5/menu/MenuDivider.js +28 -0
- package/lib/Antd5/menu/MenuItem.js +82 -0
- package/lib/Antd5/menu/OverrideContext.js +39 -0
- package/lib/Antd5/menu/SubMenu.js +74 -0
- package/lib/Antd5/menu/index.js +39 -0
- package/lib/Antd5/menu/menu.js +174 -0
- package/lib/Antd5/menu/style/horizontal.js +38 -0
- package/lib/Antd5/menu/style/index.js +441 -0
- package/lib/Antd5/menu/style/rtl.js +23 -0
- package/lib/Antd5/menu/style/theme.js +158 -0
- package/lib/Antd5/menu/style/vertical.js +131 -0
- package/lib/Antd5/message/PurePanel.js +77 -0
- package/lib/Antd5/message/index.js +281 -0
- package/lib/Antd5/message/style/index.js +128 -0
- package/lib/Antd5/message/useMessage.js +235 -0
- package/lib/Antd5/message/util.js +23 -0
- package/lib/Antd5/modal/ConfirmDialog.js +228 -0
- package/lib/Antd5/modal/Modal.js +162 -0
- package/lib/Antd5/modal/PurePanel.js +78 -0
- package/lib/Antd5/modal/components/ConfirmCancelBtn.js +32 -0
- package/lib/Antd5/modal/components/ConfirmOkBtn.js +33 -0
- package/lib/Antd5/modal/components/NormalCancelBtn.js +22 -0
- package/lib/Antd5/modal/components/NormalOkBtn.js +26 -0
- package/lib/Antd5/modal/confirm.js +169 -0
- package/lib/Antd5/modal/context.js +4 -0
- package/lib/Antd5/modal/index.js +38 -0
- package/lib/Antd5/modal/interface.js +1 -0
- package/lib/Antd5/modal/locale.js +31 -0
- package/lib/Antd5/modal/shared.js +81 -0
- package/lib/Antd5/modal/style/confirm.js +83 -0
- package/lib/Antd5/modal/style/index.js +221 -0
- package/lib/Antd5/modal/useModal/HookModal.js +87 -0
- package/lib/Antd5/modal/useModal/index.js +128 -0
- package/lib/Antd5/notification/PurePanel.js +134 -0
- package/lib/Antd5/notification/index.js +215 -0
- package/lib/Antd5/notification/interface.js +1 -0
- package/lib/Antd5/notification/style/index.js +184 -0
- package/lib/Antd5/notification/style/placement.js +77 -0
- package/lib/Antd5/notification/style/pure-panel.js +18 -0
- package/lib/Antd5/notification/style/stack.js +81 -0
- package/lib/Antd5/notification/useNotification.js +201 -0
- package/lib/Antd5/notification/util.js +57 -0
- package/lib/Antd5/pagination/Pagination.js +135 -0
- package/lib/Antd5/pagination/Select.js +24 -0
- package/lib/Antd5/pagination/design/behavior-pattern.js +32 -0
- package/lib/Antd5/pagination/style/bordered.js +68 -0
- package/lib/Antd5/pagination/style/index.js +411 -0
- package/lib/Antd5/popconfirm/PurePanel.js +114 -0
- package/lib/Antd5/popconfirm/index.js +109 -0
- package/lib/Antd5/popconfirm/style/index.js +61 -0
- package/lib/Antd5/popover/PurePanel.js +77 -0
- package/lib/Antd5/popover/index.js +126 -0
- package/lib/Antd5/popover/style/index.js +137 -0
- package/lib/Antd5/progress/Circle.js +95 -0
- package/lib/Antd5/progress/Line.js +149 -0
- package/lib/Antd5/progress/Steps.js +55 -0
- package/lib/Antd5/progress/design/behavior-pattern.js +31 -0
- package/lib/Antd5/progress/progress.js +144 -0
- package/lib/Antd5/progress/style/index.js +201 -0
- package/lib/Antd5/progress/utils.js +97 -0
- package/lib/Antd5/qr-code/index.js +125 -0
- package/lib/Antd5/qr-code/interface.js +1 -0
- package/lib/Antd5/qr-code/style/index.js +66 -0
- package/lib/Antd5/qrcode/index.js +4 -0
- package/lib/Antd5/qrcode/interface.js +3 -0
- package/lib/Antd5/qrcode/style/index.js +3 -0
- package/lib/Antd5/radio/context.js +6 -0
- package/lib/Antd5/radio/group.js +131 -0
- package/lib/Antd5/radio/index.js +9 -0
- package/lib/Antd5/radio/interface.js +1 -0
- package/lib/Antd5/radio/radio.js +137 -0
- package/lib/Antd5/radio/radioButton.js +31 -0
- package/lib/Antd5/radio/style/index.js +533 -0
- package/lib/Antd5/rate/index.js +69 -0
- package/lib/Antd5/rate/style/index.js +88 -0
- package/lib/Antd5/result/index.js +128 -0
- package/lib/Antd5/result/noFound.js +243 -0
- package/lib/Antd5/result/serverError.js +283 -0
- package/lib/Antd5/result/style/index.js +101 -0
- package/lib/Antd5/result/unauthorized.js +230 -0
- package/lib/Antd5/row/style/index.js +3 -0
- package/lib/Antd5/segmented/index.js +87 -0
- package/lib/Antd5/segmented/style/index.js +162 -0
- package/lib/Antd5/select/index.js +222 -0
- package/lib/Antd5/select/mergedBuiltinPlacements.js +40 -0
- package/lib/Antd5/select/style/dropdown.js +109 -0
- package/lib/Antd5/select/style/index.js +183 -0
- package/lib/Antd5/select/style/multiple.js +217 -0
- package/lib/Antd5/select/style/single.js +101 -0
- package/lib/Antd5/select/style/token.js +53 -0
- package/lib/Antd5/select/style/variants.js +126 -0
- package/lib/Antd5/select/useIcons.js +82 -0
- package/lib/Antd5/select/useShowArrow.js +9 -0
- package/lib/Antd5/skeleton/Avatar.js +48 -0
- package/lib/Antd5/skeleton/Button.js +47 -0
- package/lib/Antd5/skeleton/Element.js +30 -0
- package/lib/Antd5/skeleton/Image.js +49 -0
- package/lib/Antd5/skeleton/Input.js +46 -0
- package/lib/Antd5/skeleton/Node.js +43 -0
- package/lib/Antd5/skeleton/Paragraph.js +44 -0
- package/lib/Antd5/skeleton/Skeleton.js +153 -0
- package/lib/Antd5/skeleton/Title.js +23 -0
- package/lib/Antd5/skeleton/style/index.js +247 -0
- package/lib/Antd5/slider/SliderTooltip.js +43 -0
- package/lib/Antd5/slider/index.js +236 -0
- package/lib/Antd5/slider/style/index.js +246 -0
- package/lib/Antd5/slider/useRafLock.js +32 -0
- package/lib/Antd5/space/Compact.js +103 -0
- package/lib/Antd5/space/Item.js +26 -0
- package/lib/Antd5/space/context.js +5 -0
- package/lib/Antd5/space/index.js +120 -0
- package/lib/Antd5/space/style/compact.js +18 -0
- package/lib/Antd5/space/style/index.js +79 -0
- package/lib/Antd5/spin/index.js +149 -0
- package/lib/Antd5/spin/style/index.js +206 -0
- package/lib/Antd5/statistic/Countdown.js +73 -0
- package/lib/Antd5/statistic/Number.js +47 -0
- package/lib/Antd5/statistic/Statistic.js +99 -0
- package/lib/Antd5/statistic/index.js +4 -0
- package/lib/Antd5/statistic/interface.js +1 -0
- package/lib/Antd5/statistic/style/index.js +51 -0
- package/lib/Antd5/statistic/utils.js +57 -0
- package/lib/Antd5/steps/index.js +120 -0
- package/lib/Antd5/steps/style/custom-icon.js +26 -0
- package/lib/Antd5/steps/style/horizontal.js +12 -0
- package/lib/Antd5/steps/style/index.js +249 -0
- package/lib/Antd5/steps/style/inline.js +95 -0
- package/lib/Antd5/steps/style/label-placement.js +46 -0
- package/lib/Antd5/steps/style/nav.js +109 -0
- package/lib/Antd5/steps/style/progress-dot.js +100 -0
- package/lib/Antd5/steps/style/progress.js +52 -0
- package/lib/Antd5/steps/style/rtl.js +25 -0
- package/lib/Antd5/steps/style/small.js +53 -0
- package/lib/Antd5/steps/style/vertical.js +55 -0
- package/lib/Antd5/steps/useLegacyItems.js +32 -0
- package/lib/Antd5/style/compact-item-vertical.js +33 -0
- package/lib/Antd5/style/compact-item.js +47 -0
- package/lib/Antd5/style/index.js +126 -0
- package/lib/Antd5/style/motion/collapse.js +16 -0
- package/lib/Antd5/style/motion/fade.js +34 -0
- package/lib/Antd5/style/motion/index.js +6 -0
- package/lib/Antd5/style/motion/motion.js +35 -0
- package/lib/Antd5/style/motion/move.js +133 -0
- package/lib/Antd5/style/motion/slide.js +137 -0
- package/lib/Antd5/style/motion/zoom.js +179 -0
- package/lib/Antd5/style/operationUnit.js +18 -0
- package/lib/Antd5/style/placementArrow.js +120 -0
- package/lib/Antd5/style/reset.css +253 -0
- package/lib/Antd5/style/roundedArrow.js +72 -0
- package/lib/Antd5/switch/index.js +97 -0
- package/lib/Antd5/switch/style/index.js +245 -0
- package/lib/Antd5/table/Column.js +7 -0
- package/lib/Antd5/table/ColumnGroup.js +7 -0
- package/lib/Antd5/table/ExpandIcon.js +28 -0
- package/lib/Antd5/table/InternalTable.js +451 -0
- package/lib/Antd5/table/RcTable/VirtualTable.js +9 -0
- package/lib/Antd5/table/RcTable/index.js +9 -0
- package/lib/Antd5/table/Table.js +34 -0
- package/lib/Antd5/table/hooks/useContainerWidth.js +14 -0
- package/lib/Antd5/table/hooks/useFilter/FilterDropdown.js +497 -0
- package/lib/Antd5/table/hooks/useFilter/FilterSearch.js +27 -0
- package/lib/Antd5/table/hooks/useFilter/FilterWrapper.js +24 -0
- package/lib/Antd5/table/hooks/useFilter/index.js +234 -0
- package/lib/Antd5/table/hooks/useLazyKVMap.js +30 -0
- package/lib/Antd5/table/hooks/usePagination.js +78 -0
- package/lib/Antd5/table/hooks/useSelection.js +578 -0
- package/lib/Antd5/table/hooks/useSorter.js +362 -0
- package/lib/Antd5/table/hooks/useTitleColumns.js +24 -0
- package/lib/Antd5/table/interface.js +3 -0
- package/lib/Antd5/table/style/bordered.js +68 -0
- package/lib/Antd5/table/style/ellipsis.js +24 -0
- package/lib/Antd5/table/style/empty.js +15 -0
- package/lib/Antd5/table/style/expand.js +106 -0
- package/lib/Antd5/table/style/filter.js +127 -0
- package/lib/Antd5/table/style/fixed.js +82 -0
- package/lib/Antd5/table/style/index.js +273 -0
- package/lib/Antd5/table/style/pagination.js +30 -0
- package/lib/Antd5/table/style/radius.js +35 -0
- package/lib/Antd5/table/style/rtl.js +40 -0
- package/lib/Antd5/table/style/selection.js +67 -0
- package/lib/Antd5/table/style/size.js +30 -0
- package/lib/Antd5/table/style/sorter.js +75 -0
- package/lib/Antd5/table/style/sticky.js +53 -0
- package/lib/Antd5/table/style/summary.js +25 -0
- package/lib/Antd5/table/style/virtual.js +49 -0
- package/lib/Antd5/table/util.js +31 -0
- package/lib/Antd5/tabs/TabPane.js +7 -0
- package/lib/Antd5/tabs/hooks/useAnimateConfig.js +40 -0
- package/lib/Antd5/tabs/hooks/useLegacyItems.js +43 -0
- package/lib/Antd5/tabs/index.js +115 -0
- package/lib/Antd5/tabs/style/index.js +633 -0
- package/lib/Antd5/tabs/style/motion.js +36 -0
- package/lib/Antd5/tag/CheckableTag.js +51 -0
- package/lib/Antd5/tag/index.js +133 -0
- package/lib/Antd5/tag/style/index.js +104 -0
- package/lib/Antd5/tag/style/presetCmp.js +34 -0
- package/lib/Antd5/tag/style/statusCmp.js +22 -0
- package/lib/Antd5/theme/context.js +15 -0
- package/lib/Antd5/theme/getDesignToken.js +18 -0
- package/lib/Antd5/theme/index.js +39 -0
- package/lib/Antd5/theme/interface/alias.js +1 -0
- package/lib/Antd5/theme/interface/components.js +1 -0
- package/lib/Antd5/theme/interface/index.js +1 -0
- package/lib/Antd5/theme/interface/maps/colors.js +1 -0
- package/lib/Antd5/theme/interface/maps/font.js +1 -0
- package/lib/Antd5/theme/interface/maps/index.js +4 -0
- package/lib/Antd5/theme/interface/maps/size.js +1 -0
- package/lib/Antd5/theme/interface/maps/style.js +1 -0
- package/lib/Antd5/theme/interface/presetColors.js +1 -0
- package/lib/Antd5/theme/interface/seeds.js +1 -0
- package/lib/Antd5/theme/internal.js +13 -0
- package/lib/Antd5/theme/themes/ColorMap.js +1 -0
- package/lib/Antd5/theme/themes/compact/genCompactSizeMapToken.js +16 -0
- package/lib/Antd5/theme/themes/compact/index.js +22 -0
- package/lib/Antd5/theme/themes/dark/colorAlgorithm.js +8 -0
- package/lib/Antd5/theme/themes/dark/colors.js +45 -0
- package/lib/Antd5/theme/themes/dark/index.js +32 -0
- package/lib/Antd5/theme/themes/default/colorAlgorithm.js +8 -0
- package/lib/Antd5/theme/themes/default/colors.js +43 -0
- package/lib/Antd5/theme/themes/default/index.js +31 -0
- package/lib/Antd5/theme/themes/seed.js +68 -0
- package/lib/Antd5/theme/themes/shared/genColorMapToken.js +85 -0
- package/lib/Antd5/theme/themes/shared/genCommonMapToken.js +21 -0
- package/lib/Antd5/theme/themes/shared/genControlHeight.js +9 -0
- package/lib/Antd5/theme/themes/shared/genFontMapToken.js +39 -0
- package/lib/Antd5/theme/themes/shared/genFontSizes.js +20 -0
- package/lib/Antd5/theme/themes/shared/genRadius.js +46 -0
- package/lib/Antd5/theme/themes/shared/genSizeMapToken.js +23 -0
- package/lib/Antd5/theme/useToken.js +129 -0
- package/lib/Antd5/theme/util/alias.js +143 -0
- package/lib/Antd5/theme/util/calc/CSSCalculator.js +119 -0
- package/lib/Antd5/theme/util/calc/NumCalculator.js +81 -0
- package/lib/Antd5/theme/util/calc/calculator.js +10 -0
- package/lib/Antd5/theme/util/calc/index.js +9 -0
- package/lib/Antd5/theme/util/genComponentStyleHook.js +243 -0
- package/lib/Antd5/theme/util/genPresetColor.js +21 -0
- package/lib/Antd5/theme/util/getAlphaColor.js +40 -0
- package/lib/Antd5/theme/util/maxmin.js +27 -0
- package/lib/Antd5/theme/util/statistic.js +74 -0
- package/lib/Antd5/theme/util/useResetIconStyle.js +39 -0
- package/lib/Antd5/time-picker/index.js +56 -0
- package/lib/Antd5/time-picker/locale/de_DE.js +5 -0
- package/lib/Antd5/time-picker/locale/eu_ES.js +4 -0
- package/lib/Antd5/time-picker/locale/fr_FR.js +5 -0
- package/lib/Antd5/time-picker/locale/id_ID.js +5 -0
- package/lib/Antd5/time-picker/locale/my_MM.js +5 -0
- package/lib/Antd5/time-picker/locale/si_LK.js +5 -0
- package/lib/Antd5/time-picker/locale/tk_TK.js +5 -0
- package/lib/Antd5/time-picker/locale/uz_UZ.js +5 -0
- package/lib/Antd5/time-picker/locale/vi_VN.js +5 -0
- package/lib/Antd5/timeline/Timeline.js +65 -0
- package/lib/Antd5/timeline/TimelineItem.js +52 -0
- package/lib/Antd5/timeline/TimelineItemList.js +87 -0
- package/lib/Antd5/timeline/style/index.js +157 -0
- package/lib/Antd5/timeline/useItems.js +19 -0
- package/lib/Antd5/tooltip/PurePanel.js +55 -0
- package/lib/Antd5/tooltip/index.js +211 -0
- package/lib/Antd5/tooltip/style/index.js +104 -0
- package/lib/Antd5/tooltip/util.js +23 -0
- package/lib/Antd5/tour/PurePanel.js +78 -0
- package/lib/Antd5/tour/index.js +99 -0
- package/lib/Antd5/tour/interface.js +1 -0
- package/lib/Antd5/tour/panelRender.js +143 -0
- package/lib/Antd5/tour/style/index.js +187 -0
- package/lib/Antd5/transfer/ListBody.js +123 -0
- package/lib/Antd5/transfer/ListItem.js +72 -0
- package/lib/Antd5/transfer/hooks/useData.js +46 -0
- package/lib/Antd5/transfer/hooks/useSelection.js +59 -0
- package/lib/Antd5/transfer/index.js +361 -0
- package/lib/Antd5/transfer/interface.js +1 -0
- package/lib/Antd5/transfer/list.js +316 -0
- package/lib/Antd5/transfer/operation.js +43 -0
- package/lib/Antd5/transfer/search.js +32 -0
- package/lib/Antd5/transfer/style/index.js +264 -0
- package/lib/Antd5/tree/DirectoryTree.js +173 -0
- package/lib/Antd5/tree/Tree.js +123 -0
- package/lib/Antd5/tree/index.js +7 -0
- package/lib/Antd5/tree/style/index.js +348 -0
- package/lib/Antd5/tree/utils/dictUtil.js +74 -0
- package/lib/Antd5/tree/utils/dropIndicator.js +35 -0
- package/lib/Antd5/tree/utils/iconUtil.js +69 -0
- package/lib/Antd5/tree-select/index.js +228 -0
- package/lib/Antd5/tree-select/style/index.js +51 -0
- package/lib/Antd5/typography/Base/CopyBtn.js +43 -0
- package/lib/Antd5/typography/Base/Ellipsis.js +245 -0
- package/lib/Antd5/typography/Base/EllipsisTooltip.js +27 -0
- package/lib/Antd5/typography/Base/index.js +444 -0
- package/lib/Antd5/typography/Base/util.js +12 -0
- package/lib/Antd5/typography/Editable.js +119 -0
- package/lib/Antd5/typography/Link.js +33 -0
- package/lib/Antd5/typography/Paragraph.js +17 -0
- package/lib/Antd5/typography/Text.js +35 -0
- package/lib/Antd5/typography/Title.js +35 -0
- package/lib/Antd5/typography/Typography.js +70 -0
- package/lib/Antd5/typography/hooks/useCopyClick.js +95 -0
- package/lib/Antd5/typography/hooks/useMergedConfig.js +13 -0
- package/lib/Antd5/typography/hooks/usePrevious.js +9 -0
- package/lib/Antd5/typography/hooks/useUpdatedEffect.js +13 -0
- package/lib/Antd5/typography/index.js +11 -0
- package/lib/Antd5/typography/style/index.js +58 -0
- package/lib/Antd5/typography/style/mixins.js +216 -0
- package/lib/Antd5/upload/Dragger.js +32 -0
- package/lib/Antd5/upload/Upload.js +458 -0
- package/lib/Antd5/upload/UploadList/ListItem.js +197 -0
- package/lib/Antd5/upload/UploadList/index.js +250 -0
- package/lib/Antd5/upload/index.js +6 -0
- package/lib/Antd5/upload/interface.js +1 -0
- package/lib/Antd5/upload/style/dragger.js +51 -0
- package/lib/Antd5/upload/style/index.js +48 -0
- package/lib/Antd5/upload/style/list.js +86 -0
- package/lib/Antd5/upload/style/motion.js +39 -0
- package/lib/Antd5/upload/style/picture.js +175 -0
- package/lib/Antd5/upload/style/rtl.js +12 -0
- package/lib/Antd5/upload/utils.js +140 -0
- package/lib/Antd5/version/token-meta.json +1 -0
- package/lib/Antd5/version/token.json +1 -0
- package/lib/Antd5/version/version.js +1 -0
- package/lib/Antd5/watermark/context.js +22 -0
- package/lib/Antd5/watermark/index.js +253 -0
- package/lib/Antd5/watermark/useClips.js +118 -0
- package/lib/Antd5/watermark/useRafDebounce.js +21 -0
- package/lib/Antd5/watermark/useWatermark.js +61 -0
- package/lib/Antd5/watermark/utils.js +28 -0
- package/lib/App/index.js +2 -0
- package/lib/AutoComplete/index.js +2 -3
- package/lib/Avatar/index.js +2 -3
- package/lib/BackTop/index.js +2 -3
- package/lib/Badge/index.js +33 -18
- package/lib/Badge/index.style.js +65 -0
- package/lib/BasicLayout/Breadcrumb.js +4 -4
- package/lib/BasicLayout/Nav.js +1 -5
- package/lib/BasicLayout/Sider.js +65 -32
- package/lib/BasicLayout/index.js +55 -179
- package/lib/BasicLayout/style/index.js +101 -0
- package/lib/BasicLayout/style/sider.js +73 -0
- package/lib/BasicLayout/utils.js +7 -0
- package/lib/Breadcrumb/index.js +2 -4
- package/lib/Button/index.js +34 -19
- package/lib/Button/index.style.js +41 -0
- package/lib/CWCascader/Cascader/index.js +153 -78
- package/lib/CWCascader/Cascader/utils/iconUtil.js +81 -0
- package/lib/CWCascader/Cascader/utils/motion.js +13 -0
- package/lib/CWCascader/index.js +19 -6
- package/lib/CWCascader/index.style.js +42 -0
- package/lib/CWCascader/rc-cascader/Cascader.js +10 -10
- package/lib/CWCascader/rc-cascader/OptionList/Checkbox.js +1 -1
- package/lib/CWCascader/rc-cascader/OptionList/Column.js +10 -11
- package/lib/CWCascader/rc-cascader/OptionList/index.js +9 -9
- package/lib/CWCascader/rc-cascader/OptionList/useActive.js +4 -4
- package/lib/CWCascader/rc-cascader/OptionList/useKeyboard.js +7 -7
- package/lib/CWCascader/rc-cascader/hooks/useDisplayValues.js +5 -5
- package/lib/CWCascader/rc-cascader/hooks/useEntities.js +1 -1
- package/lib/CWCascader/rc-cascader/hooks/useSearchConfig.js +1 -1
- package/lib/CWCascader/rc-cascader/hooks/useSearchOptions.js +6 -6
- package/lib/CWColorPicker/SketchPicker/components/common/Alpha.js +132 -0
- package/lib/CWColorPicker/SketchPicker/components/common/Checkboard.js +40 -0
- package/lib/CWColorPicker/SketchPicker/components/common/ColorWrap.js +79 -0
- package/lib/CWColorPicker/SketchPicker/components/common/EditableInput.js +171 -0
- package/lib/CWColorPicker/SketchPicker/components/common/Hue.js +117 -0
- package/lib/CWColorPicker/SketchPicker/components/common/Saturation.js +138 -0
- package/lib/CWColorPicker/SketchPicker/components/common/Swatch.js +62 -0
- package/lib/CWColorPicker/SketchPicker/components/sketch/SketchPresetColors.js +72 -0
- package/lib/CWColorPicker/SketchPicker/components/sketch/index.js +160 -0
- package/lib/CWColorPicker/SketchPicker/helpers/interaction.js +54 -0
- package/lib/CWColorPicker/index.js +296 -0
- package/lib/CWColorPicker/index.style.js +81 -0
- package/lib/CWMessage/MessageContent/TabList/index.js +15 -19
- package/lib/CWMessage/MessageContent/index.js +46 -53
- package/lib/CWMessage/index.js +121 -98
- package/lib/CWMessage/index.style.js +132 -0
- package/lib/CWRadioTabs/index.js +44 -41
- package/lib/CWRadioTabs/index.style.js +33 -0
- package/lib/CWRangePicker/DropdownMenu/MoreHistoryList/index.js +6 -13
- package/lib/CWRangePicker/DropdownMenu/MoreTimeList/index.js +10 -8
- package/lib/CWRangePicker/DropdownMenu/index.js +61 -59
- package/lib/CWRangePicker/DropdownMenu/index.style.js +159 -0
- package/lib/CWRangePicker/Refresh/index.js +19 -19
- package/lib/CWRangePicker/Refresh/index.style.js +37 -0
- package/lib/CWRangePicker/TimeSpan/index.js +25 -18
- package/lib/CWRangePicker/TimeSpan/index.style.js +25 -0
- package/lib/CWRangePicker/assets/Calendar.js +1 -1
- package/lib/CWRangePicker/assets/Calendar2.js +1 -1
- package/lib/CWRangePicker/assets/Recover.js +1 -1
- package/lib/CWRangePicker/assets/Refresh1.js +1 -1
- package/lib/CWRangePicker/assets/Refresh2.js +1 -1
- package/lib/CWRangePicker/assets/Refresh3.js +1 -1
- package/lib/CWRangePicker/assets/live.js +1 -1
- package/lib/CWRangePicker/assets/more.js +1 -1
- package/lib/CWRangePicker/index.js +56 -95
- package/lib/CWRangePicker/index.style.js +78 -0
- package/lib/CWRangePicker/utils/index.js +27 -33
- package/lib/CWSelect/index.js +2 -667
- package/lib/CWTable/CWTable.js +120 -358
- package/lib/CWTable/header.js +45 -208
- package/lib/CWTable/index.js +40 -137
- package/lib/CWTable/index.style.js +96 -0
- package/lib/CWTree/assets/Drag.js +1 -1
- package/lib/CWTree/index.js +44 -76
- package/lib/CWTree/index.style.js +127 -0
- package/lib/CWTree/utils/index.js +47 -2
- package/lib/Calendar/index.js +2 -3
- package/lib/Card/index.js +2 -3
- package/lib/CardSelect/index.js +41 -30
- package/lib/CardSelect/index.style.js +76 -0
- package/lib/Carousel/index.js +2 -3
- package/lib/Cascader/index.js +2 -15
- package/lib/ChangeIcon/index.js +36 -24
- package/lib/ChangeIcon/index.style.js +89 -0
- package/lib/Checkbox/index.js +2 -13
- package/lib/CitySelect/index.js +12 -15
- package/lib/Col/index.js +2 -3
- package/lib/Collapse/index.js +37 -20
- package/lib/Collapse/index.style.js +120 -0
- package/lib/ColorPicker/index.js +1 -298
- package/lib/ConfigProvider/ConfigProvider.js +76 -87
- package/lib/ConfigProvider/Switch.js +20 -24
- package/lib/ConfigProvider/customTheme.js +267 -0
- package/lib/ConfigProvider/customTheme.json +163 -0
- package/lib/ConfigProvider/customToken.js +41 -0
- package/lib/ConfigProvider/index.js +3 -6
- package/lib/ConfigProvider/intlContext.js +8 -0
- package/lib/ConfigProvider/useLocale.js +2 -2
- package/lib/CustomScrollBar/index.js +4 -4
- package/lib/DataView/index.js +27 -14
- package/lib/DataView/index.style.js +34 -0
- package/lib/DatePicker/index.js +1 -14
- package/lib/Descriptions/index.js +2 -3
- package/lib/Divider/index.js +2 -3
- package/lib/Documentation/Tocify.js +35 -18
- package/lib/Documentation/index.js +48 -41
- package/lib/Documentation/index.style.js +180 -0
- package/lib/Drawer/index.js +57 -70
- package/lib/Drawer/index.style.js +93 -0
- package/lib/Dropdown/DropdownButton.js +20 -0
- package/lib/Dropdown/index.js +39 -4
- package/lib/Dropdown/index.style.js +22 -0
- package/lib/EchartsArea/index.js +15 -15
- package/lib/EchartsBar/index.js +28 -28
- package/lib/EchartsBarRow/index.js +10 -10
- package/lib/EchartsBase/index.js +31 -33
- package/lib/EchartsLine/index.js +24 -24
- package/lib/EchartsPie/index.js +20 -20
- package/lib/EchartsRing/index.js +18 -18
- package/lib/Empty/index.js +36 -27
- package/lib/Empty/index.style.js +36 -0
- package/lib/ErrorBoundary/ErrorPage.js +35 -0
- package/lib/ErrorBoundary/history.js +54 -54
- package/lib/ErrorBoundary/index.js +25 -47
- package/lib/ErrorBoundary/index.styles.js +48 -0
- package/lib/Exception/index.js +30 -18
- package/lib/Exception/index.style.js +37 -0
- package/lib/FilterDropDown/DragList.js +19 -26
- package/lib/FilterDropDown/assets/ShowSvgIcon.js +1 -1
- package/lib/FilterDropDown/index.js +39 -46
- package/lib/FilterDropDown/index.style.js +83 -0
- package/lib/Flex/index.js +2 -0
- package/lib/FloatButton/index.js +2 -0
- package/lib/Flow/BasicLayout/Chain.js +21 -19
- package/lib/Flow/BasicLayout/util.js +12 -4
- package/lib/Flow/Flow.js +29 -25
- package/lib/Flow/commons/initCommands.js +10 -4
- package/lib/Flow/components/PluginWrapper.js +13 -9
- package/lib/Flow/layouts/callChain.js +8 -3
- package/lib/Flow/plugins/CommandLifeCycle.js +41 -8
- package/lib/Flow/plugins/InitSideBarPlugin.js +15 -3
- package/lib/Flow/plugins/InitToolBarPlugin.js +15 -3
- package/lib/Form/FormItem.js +26 -29
- package/lib/Form/hook/useForm3.js +117 -0
- package/lib/Form/index.js +73 -11
- package/lib/Form/index.style.js +56 -0
- package/lib/FormItemWrapper/index.js +22 -11
- package/lib/FormItemWrapper/index.style.js +32 -0
- package/lib/GlobalTabs/index.js +30 -18
- package/lib/GlobalTabs/index.style.js +31 -0
- package/lib/Grid/index.js +2 -0
- package/lib/Header/CommonDropMenu.js +11 -12
- package/lib/Header/CommonIcon.js +1 -1
- package/lib/Header/Document/index.js +6 -13
- package/lib/Header/LocaleSwitcher.js +3 -3
- package/lib/Header/Message/index.js +2 -2
- package/lib/Header/TopNavigationMenu/index.js +26 -12
- package/lib/Header/TopNavigationMenu/index.style.js +47 -0
- package/lib/Header/UserSetting/TenantList.js +3 -3
- package/lib/Header/UserSetting/TenantTree.js +7 -8
- package/lib/Header/UserSetting/index.js +63 -55
- package/lib/Header/UserSetting/index.style.js +60 -0
- package/lib/Header/UserSetting/utils.js +1 -1
- package/lib/Header/index.js +85 -81
- package/lib/Header/index.style.js +153 -0
- package/lib/Icon/index.js +23 -3
- package/lib/Icon/utils.js +20 -0
- package/lib/IconSelect/components/CustomImg/index.js +8 -15
- package/lib/IconSelect/components/SearchIcon/index.js +23 -25
- package/lib/IconSelect/index.js +49 -42
- package/lib/IconSelect/index.style.js +75 -0
- package/lib/Image/index.js +2 -0
- package/lib/Input/InputComponent.js +47 -150
- package/lib/Input/index.js +58 -71
- package/lib/Input/index.style.js +23 -0
- package/lib/InputNumber/index.js +15 -42
- package/lib/Joyride/List.js +35 -23
- package/lib/Joyride/index.js +74 -74
- package/lib/Joyride/style/index.style.js +67 -0
- package/lib/Joyride/style/list.style.js +115 -0
- package/lib/Layout/index.js +2 -4
- package/lib/LayoutWrapper/Footer.js +20 -8
- package/lib/LayoutWrapper/Header.js +27 -15
- package/lib/LayoutWrapper/LeftArrow.js +1 -1
- package/lib/LayoutWrapper/index.js +113 -20
- package/lib/LayoutWrapper/style/footer.js +25 -0
- package/lib/LayoutWrapper/style/header.js +46 -0
- package/lib/LayoutWrapper/style/index.js +58 -0
- package/lib/LeftNavigation/index.js +27 -12
- package/lib/LeftNavigation/index.style.js +34 -0
- package/lib/List/index.js +2 -3
- package/lib/Mentions/index.js +2 -3
- package/lib/Menu/index.js +2 -26
- package/lib/Message/index.js +2 -0
- package/lib/Modal/Modal.js +29 -27
- package/lib/Modal/assets/Close.js +1 -1
- package/lib/Modal/confirmGlobalStyle.js +37 -0
- package/lib/Modal/custom-backup/entiretyDrag.js +2 -2
- package/lib/Modal/index.js +57 -41
- package/lib/Modal/index.style.js +53 -0
- package/lib/ModuleFederation/ErrorBoundary/index.js +8 -8
- package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +10 -10
- package/lib/ModuleFederation/react-dynamic-remote-component/load-module.js +2 -2
- package/lib/ModuleTitle/index.js +26 -12
- package/lib/ModuleTitle/index.style.js +34 -0
- package/lib/Notification/index.js +2 -0
- package/lib/Overview/index.js +2 -0
- package/lib/Pagination/index.js +66 -89
- package/lib/Pagination/index.style.js +137 -0
- package/lib/Popconfirm/index.js +2 -56
- package/lib/Popover/index.js +2 -3
- package/lib/Progress/index.js +2 -108
- package/lib/QrCode/index.js +2 -0
- package/lib/QuickRangePicker/index.js +26 -26
- package/lib/QuickRangePicker/index.style.js +45 -0
- package/lib/QuickTransfer/Drag.js +5 -5
- package/lib/QuickTransfer/DragList.js +11 -17
- package/lib/QuickTransfer/NotDragList.js +2 -3
- package/lib/QuickTransfer/assets/DragSvg.js +1 -1
- package/lib/QuickTransfer/assets/LockSvg.js +1 -1
- package/lib/QuickTransfer/index.js +38 -40
- package/lib/QuickTransfer/index.style.js +185 -0
- package/lib/QuickTransfer/utils.js +19 -19
- package/lib/Radio/index.js +2 -9
- package/lib/RangePicker/index.js +2 -428
- package/lib/Rate/index.js +2 -3
- package/lib/Result/index.js +2 -3
- package/lib/Row/index.js +2 -3
- package/lib/ScrollLoad/index.js +15 -17
- package/lib/SearchBar/OutSearch.js +19 -16
- package/lib/SearchBar/index.js +54 -67
- package/lib/SearchBar/index.style.js +91 -0
- package/lib/Segmented/index.js +2 -0
- package/lib/Select/index.js +2 -3
- package/lib/SiderMenu/index.js +89 -155
- package/lib/SiderMenu/index.style.js +23 -0
- package/lib/SimpleCard/index.js +40 -34
- package/lib/SimpleCard/index.style.js +76 -0
- package/lib/SimplePagination/index.js +43 -62
- package/lib/SimplePagination/index.style.js +105 -0
- package/lib/SingleSpa/import-html/process-tpl.js +4 -4
- package/lib/SingleSpa/import-html/utils.js +15 -18
- package/lib/SingleSpa/index.js +19 -41
- package/lib/SingleSpa/singleSpa/single-spa.dev.js +7 -12
- package/lib/SingleSpa/system/amd.js +0 -1
- package/lib/SingleSpa/system/system.js +16 -23
- package/lib/SingleSpa/utils.js +2 -15
- package/lib/Skeleton/index.js +2 -3
- package/lib/Slider/index.js +32 -4
- package/lib/Slider/index.style.js +116 -0
- package/lib/Space/index.js +1 -2
- package/lib/Spin/index.js +2 -4
- package/lib/Statistic/index.js +2 -3
- package/lib/Steps/index.js +2 -4
- package/lib/Switch/index.js +2 -4
- package/lib/Table/index.js +1 -30
- package/lib/Tabs/index.js +29 -23
- package/lib/Tabs/index.style.js +58 -0
- package/lib/Tag/CheckableTag.js +28 -11
- package/lib/Tag/assets/LeftBottomCorner.js +1 -1
- package/lib/Tag/assets/LeftTopCorner.js +1 -1
- package/lib/Tag/assets/RightBottomCorner.js +1 -1
- package/lib/Tag/assets/RightTopCorner.js +1 -1
- package/lib/Tag/index.js +48 -45
- package/lib/Tag/index.style.js +156 -0
- package/lib/Theme/index.js +2 -0
- package/lib/ThemeProvider/Switcher.js +4 -5
- package/lib/ThemeProvider/main.js +26 -26
- package/lib/ThemeProvider/utils.js +4 -4
- package/lib/TimePicker/index.js +2 -3
- package/lib/Timeline/index.js +1 -3
- package/lib/Tooltip/index.js +36 -16
- package/lib/Tooltip/index.style.js +23 -0
- package/lib/TooltipText/ResizeObserverManager.js +3 -3
- package/lib/TooltipText/index.js +36 -26
- package/lib/TooltipText/index.style.js +46 -0
- package/lib/Tour/index.js +2 -0
- package/lib/Transfer/index.js +2 -3
- package/lib/Tree/index.js +2 -3
- package/lib/TreeSelect/index.js +2 -4
- package/lib/Typography/index.js +2 -3
- package/lib/Upload/index.js +2 -4
- package/lib/WangEditor/editor4.js +2 -2
- package/lib/WangEditor/index.js +33 -15
- package/lib/WangEditor/index.style.js +203 -0
- package/lib/WangEditor/usePreview.js +17 -14
- package/lib/WangEditor/wangEditor.js +502 -503
- package/lib/Watermark/index.js +1 -305
- package/lib/antd-style/context/ThemeModeContext.js +11 -0
- package/lib/antd-style/context/index.js +1 -0
- package/lib/antd-style/core/CacheManager.js +56 -0
- package/lib/antd-style/core/createCSS.js +42 -0
- package/lib/antd-style/core/createEmotion.js +1 -0
- package/lib/antd-style/core/createSerializeStyles.js +11 -0
- package/lib/antd-style/core/index.js +5 -0
- package/lib/antd-style/core/insertStyles.js +35 -0
- package/lib/antd-style/factories/createEmotionContext.js +4 -0
- package/lib/antd-style/factories/createGlobalStyle.js +28 -0
- package/lib/antd-style/factories/createStyish.js +14 -0
- package/lib/antd-style/factories/createStyleProvider/index.js +69 -0
- package/lib/antd-style/factories/createStyledThemeProvider.js +16 -0
- package/lib/antd-style/factories/createStyles/index.js +114 -0
- package/lib/antd-style/factories/createStyles/response.js +43 -0
- package/lib/antd-style/factories/createStyles/types.js +1 -0
- package/lib/antd-style/factories/createThemeProvider/AntdProvider.js +78 -0
- package/lib/antd-style/factories/createThemeProvider/ThemeSwitcher.js +130 -0
- package/lib/antd-style/factories/createThemeProvider/TokenContainer.js +75 -0
- package/lib/antd-style/factories/createThemeProvider/index.js +77 -0
- package/lib/antd-style/factories/createThemeProvider/type.js +1 -0
- package/lib/antd-style/factories/createUseTheme.js +33 -0
- package/lib/antd-style/functions/createInstance.js +95 -0
- package/lib/antd-style/functions/extractStaticStyle.js +63 -0
- package/lib/antd-style/functions/index.js +21 -0
- package/lib/antd-style/functions/setupStyled.js +11 -0
- package/lib/antd-style/hooks/index.js +5 -0
- package/lib/antd-style/hooks/useAntdStylish.js +20 -0
- package/lib/antd-style/hooks/useAntdTheme.js +18 -0
- package/lib/antd-style/hooks/useAntdToken.js +6 -0
- package/lib/antd-style/hooks/useResponsive.js +9 -0
- package/lib/antd-style/hooks/useThemeMode.js +5 -0
- package/lib/antd-style/index.js +5 -0
- package/lib/antd-style/stylish/button.js +19 -0
- package/lib/antd-style/types/appearance.js +1 -0
- package/lib/antd-style/types/css.js +1 -0
- package/lib/antd-style/types/function.js +1 -0
- package/lib/antd-style/types/genericUtils.js +1 -0
- package/lib/antd-style/types/index.js +8 -0
- package/lib/antd-style/types/response.js +1 -0
- package/lib/antd-style/types/styleManager.js +1 -0
- package/lib/antd-style/types/styled.js +1 -0
- package/lib/antd-style/types/theme.js +1 -0
- package/lib/antd-style/utils/convertStylish.js +18 -0
- package/lib/antd-style/utils/css.js +59 -0
- package/lib/antd-style/utils/css.test.js +20 -0
- package/lib/antd-style/utils/index.js +1 -0
- package/lib/antd-style/utils/matchBrowserPrefers.js +9 -0
- package/lib/antd-style/utils/responsive.js +14 -0
- package/lib/antd-style/utils/safeStartTransition.js +8 -0
- package/lib/configHoc/index.js +6 -6
- package/lib/index.js +5 -145
- package/lib/locales/en_US.json +78 -0
- package/lib/locales/index.js +57 -0
- package/lib/locales/intl.js +46 -0
- package/lib/locales/zh_CN.json +78 -0
- package/lib/locales/zh_TW.json +78 -0
- package/lib/noticeManager/globalState.js +4 -4
- package/lib/portalNoticeManager/usePortalDispatchNotice.js +5 -5
- package/lib/portalNoticeManager/withPortalDispatchNotice.js +1 -1
- package/lib/treeLoad/index.js +2 -5
- package/lib/useChartTheme/index.js +30 -23
- package/lib/useConfigContext/index.js +1 -1
- package/lib/utils/index.js +1 -0
- package/package.json +114 -115
- package/LICENSE +0 -21
- package/config/babel/antdComs-nouse.js +0 -51
- package/config/babel/formily.js +0 -22
- package/config/babel/index.js +0 -9
- package/config/city/citys.js +0 -1964
- package/config/swc.js +0 -5
- package/config/theme/CWTheme.js +0 -427
- package/config/theme/chart.dark.js +0 -394
- package/config/theme/chart.light.js +0 -3
- package/config/theme/common.less +0 -161
- package/config/theme/dark.js +0 -784
- package/config/theme/dark.less +0 -80
- package/config/theme/default.js +0 -717
- package/config/theme/default.less +0 -144
- package/config/theme/style/color/bezierEasing.less +0 -110
- package/config/theme/style/color/colorPalette.less +0 -85
- package/config/theme/style/color/colors.less +0 -162
- package/config/theme/style/color/tinyColor.less +0 -1184
- package/config/theme/style/compact.less +0 -4
- package/config/theme/style/components.less +0 -65
- package/config/theme/style/core/base.less +0 -10
- package/config/theme/style/core/global.less +0 -491
- package/config/theme/style/core/iconfont.less +0 -22
- package/config/theme/style/core/index.less +0 -5
- package/config/theme/style/core/motion/fade.less +0 -34
- package/config/theme/style/core/motion/move.less +0 -129
- package/config/theme/style/core/motion/other.less +0 -51
- package/config/theme/style/core/motion/slide.less +0 -129
- package/config/theme/style/core/motion/zoom.less +0 -179
- package/config/theme/style/core/motion.less +0 -22
- package/config/theme/style/css.js +0 -3
- package/config/theme/style/dark.less +0 -4
- package/config/theme/style/default.css +0 -1784
- package/config/theme/style/default.less +0 -4
- package/config/theme/style/index-pure.less +0 -2
- package/config/theme/style/index.css +0 -1784
- package/config/theme/style/index.d.ts +0 -1
- package/config/theme/style/index.js +0 -3
- package/config/theme/style/index.less +0 -3
- package/config/theme/style/mixins/box.less +0 -7
- package/config/theme/style/mixins/clearfix.less +0 -16
- package/config/theme/style/mixins/compatibility.less +0 -13
- package/config/theme/style/mixins/customize.less +0 -181
- package/config/theme/style/mixins/iconfont.less +0 -28
- package/config/theme/style/mixins/index.less +0 -14
- package/config/theme/style/mixins/modal-mask.less +0 -30
- package/config/theme/style/mixins/motion.less +0 -33
- package/config/theme/style/mixins/operation-unit.less +0 -16
- package/config/theme/style/mixins/reset.less +0 -11
- package/config/theme/style/mixins/rounded-arrow.less +0 -44
- package/config/theme/style/mixins/size.less +0 -10
- package/config/theme/style/mixins/typography.less +0 -58
- package/config/theme/style/themes/compact.less +0 -295
- package/config/theme/style/themes/dark.less +0 -457
- package/config/theme/style/themes/default.less +0 -1080
- package/config/theme/style/themes/index.less +0 -7
- package/config/theme/style/themes/variable.less +0 -1135
- package/config/theme/style/variable.less +0 -4
- package/lib/AbreastLayout/index.less +0 -98
- package/lib/AdaptiveLayout/index.less +0 -0
- package/lib/Alert/index.less +0 -214
- package/lib/AlgorithmChart/common/chart.option.js +0 -369
- package/lib/AlgorithmChart/common/images/blue.png +0 -0
- package/lib/AlgorithmChart/common/images/blue.svg +0 -54
- package/lib/AlgorithmChart/common/images/green.png +0 -0
- package/lib/AlgorithmChart/common/images/green.svg +0 -54
- package/lib/AlgorithmChart/common/images/lightBlue.svg +0 -54
- package/lib/AlgorithmChart/common/images/lightGreen.svg +0 -55
- package/lib/AlgorithmChart/common/images/origin.png +0 -0
- package/lib/AlgorithmChart/common/images/purple.png +0 -0
- package/lib/AlgorithmChart/common/images/red.png +0 -0
- package/lib/AlgorithmChart/common/images/restart.png +0 -0
- package/lib/AlgorithmChart/common/images/stop.png +0 -0
- package/lib/AlgorithmChart/common/images/yellow.png +0 -0
- package/lib/AlgorithmChart/common/images/yellow.svg +0 -54
- package/lib/AlgorithmChart/index.js +0 -276
- package/lib/Antd/Affix.js +0 -3
- package/lib/Antd/Alert.js +0 -3
- package/lib/Antd/Anchor.js +0 -3
- package/lib/Antd/AutoComplete.js +0 -3
- package/lib/Antd/Avatar.js +0 -3
- package/lib/Antd/BackTop.js +0 -3
- package/lib/Antd/Badge.js +0 -4
- package/lib/Antd/Badge.less +0 -25
- package/lib/Antd/Beadcrumb.less +0 -34
- package/lib/Antd/Breadcrumb.js +0 -4
- package/lib/Antd/Button.js +0 -3
- package/lib/Antd/Calendar.js +0 -3
- package/lib/Antd/Card.js +0 -3
- package/lib/Antd/Carousel.js +0 -3
- package/lib/Antd/Cascader.js +0 -3
- package/lib/Antd/Checkbox.js +0 -4
- package/lib/Antd/Checkbox.less +0 -8
- package/lib/Antd/Col.js +0 -3
- package/lib/Antd/Collapse.js +0 -4
- package/lib/Antd/Collapse.less +0 -129
- package/lib/Antd/Comment.js +0 -3
- package/lib/Antd/ConfigProvider.js +0 -3
- package/lib/Antd/DatePicker.js +0 -3
- package/lib/Antd/Descriptions.js +0 -3
- package/lib/Antd/Divider.js +0 -3
- package/lib/Antd/Drawer.js +0 -120
- package/lib/Antd/Drawer.less +0 -305
- package/lib/Antd/Dropdown.js +0 -4
- package/lib/Antd/Dropdown.less +0 -124
- package/lib/Antd/Empty.js +0 -3
- package/lib/Antd/Form.js +0 -4
- package/lib/Antd/Form.less +0 -363
- package/lib/Antd/Icon.js +0 -3
- package/lib/Antd/Input.js +0 -3
- package/lib/Antd/InputNumber.js +0 -3
- package/lib/Antd/Layout.js +0 -4
- package/lib/Antd/Layout.less +0 -6
- package/lib/Antd/List.js +0 -3
- package/lib/Antd/LocaleProvider.js +0 -3
- package/lib/Antd/Mention.js +0 -3
- package/lib/Antd/Mentions.js +0 -3
- package/lib/Antd/Menu.js +0 -3
- package/lib/Antd/Modal.js +0 -3
- package/lib/Antd/PageHeader.js +0 -3
- package/lib/Antd/Pagination.js +0 -3
- package/lib/Antd/Popconfirm.js +0 -3
- package/lib/Antd/Popover.js +0 -3
- package/lib/Antd/Progress.js +0 -3
- package/lib/Antd/Radio.js +0 -4
- package/lib/Antd/Radio.less +0 -5
- package/lib/Antd/Rate.js +0 -3
- package/lib/Antd/Result.js +0 -3
- package/lib/Antd/Row.js +0 -3
- package/lib/Antd/Select.js +0 -3
- package/lib/Antd/Skeleton.js +0 -3
- package/lib/Antd/Slider.js +0 -3
- package/lib/Antd/Spin.js +0 -4
- package/lib/Antd/Spin.less +0 -16
- package/lib/Antd/Statistic.js +0 -3
- package/lib/Antd/Steps.js +0 -4
- package/lib/Antd/Steps.less +0 -502
- package/lib/Antd/Switch.js +0 -4
- package/lib/Antd/Switch.less +0 -62
- package/lib/Antd/Table.js +0 -4
- package/lib/Antd/Table.less +0 -306
- package/lib/Antd/Tabs.js +0 -3
- package/lib/Antd/Tag.js +0 -4
- package/lib/Antd/Tag.less +0 -12
- package/lib/Antd/TimePicker.js +0 -3
- package/lib/Antd/Timeline.js +0 -3
- package/lib/Antd/Tooltip.js +0 -3
- package/lib/Antd/Transfer.js +0 -3
- package/lib/Antd/Tree.js +0 -3
- package/lib/Antd/TreeSelect.js +0 -4
- package/lib/Antd/TreeSelect.less +0 -10
- package/lib/Antd/Typography.js +0 -3
- package/lib/Antd/Upload.js +0 -3
- package/lib/Antd/message.js +0 -6
- package/lib/Antd/notification.js +0 -3
- package/lib/Antd/version.js +0 -3
- package/lib/Antd3/es/_util/colors.js +0 -3
- package/lib/Antd3/es/_util/easings.js +0 -9
- package/lib/Antd3/es/_util/getDataOrAriaProps.js +0 -8
- package/lib/Antd3/es/_util/getScroll.js +0 -14
- package/lib/Antd3/es/_util/interopDefault.js +0 -5
- package/lib/Antd3/es/_util/motion.js +0 -28
- package/lib/Antd3/es/_util/openAnimation.js +0 -51
- package/lib/Antd3/es/_util/raf.js +0 -26
- package/lib/Antd3/es/_util/reactNode.js +0 -9
- package/lib/Antd3/es/_util/ref.js +0 -31
- package/lib/Antd3/es/_util/responsiveObserve.js +0 -113
- package/lib/Antd3/es/_util/scrollTo.js +0 -32
- package/lib/Antd3/es/_util/styleChecker.js +0 -12
- package/lib/Antd3/es/_util/throttleByAnimationFrame.js +0 -74
- package/lib/Antd3/es/_util/transButton.js +0 -194
- package/lib/Antd3/es/_util/triggerEvent.js +0 -8
- package/lib/Antd3/es/_util/type.js +0 -13
- package/lib/Antd3/es/_util/warning.js +0 -5
- package/lib/Antd3/es/_util/wave.js +0 -267
- package/lib/Antd3/es/affix/index.js +0 -382
- package/lib/Antd3/es/affix/style/css.js +0 -2
- package/lib/Antd3/es/affix/style/index.js +0 -2
- package/lib/Antd3/es/affix/style/index.less +0 -6
- package/lib/Antd3/es/affix/utils.js +0 -76
- package/lib/Antd3/es/alert/index.js +0 -263
- package/lib/Antd3/es/alert/style/css.js +0 -2
- package/lib/Antd3/es/alert/style/index.js +0 -2
- package/lib/Antd3/es/alert/style/index.less +0 -188
- package/lib/Antd3/es/anchor/Anchor.js +0 -373
- package/lib/Antd3/es/anchor/AnchorLink.js +0 -197
- package/lib/Antd3/es/anchor/index.js +0 -4
- package/lib/Antd3/es/anchor/style/css.js +0 -4
- package/lib/Antd3/es/anchor/style/index.js +0 -4
- package/lib/Antd3/es/anchor/style/index.less +0 -82
- package/lib/Antd3/es/auto-complete/InputElement.js +0 -137
- package/lib/Antd3/es/auto-complete/index.js +0 -227
- package/lib/Antd3/es/auto-complete/style/css.js +0 -5
- package/lib/Antd3/es/auto-complete/style/index.js +0 -5
- package/lib/Antd3/es/auto-complete/style/index.less +0 -92
- package/lib/Antd3/es/avatar/index.js +0 -295
- package/lib/Antd3/es/avatar/style/css.js +0 -2
- package/lib/Antd3/es/avatar/style/index.js +0 -2
- package/lib/Antd3/es/avatar/style/index.less +0 -59
- package/lib/Antd3/es/back-top/index.js +0 -207
- package/lib/Antd3/es/back-top/style/css.js +0 -2
- package/lib/Antd3/es/back-top/style/index.js +0 -2
- package/lib/Antd3/es/back-top/style/index.less +0 -42
- package/lib/Antd3/es/back-top/style/responsive.less +0 -11
- package/lib/Antd3/es/badge/ScrollNumber.js +0 -310
- package/lib/Antd3/es/badge/index.js +0 -353
- package/lib/Antd3/es/badge/style/css.js +0 -2
- package/lib/Antd3/es/badge/style/index.js +0 -2
- package/lib/Antd3/es/badge/style/index.less +0 -190
- package/lib/Antd3/es/breadcrumb/Breadcrumb.js +0 -293
- package/lib/Antd3/es/breadcrumb/BreadcrumbItem.js +0 -199
- package/lib/Antd3/es/breadcrumb/BreadcrumbSeparator.js +0 -125
- package/lib/Antd3/es/breadcrumb/index.js +0 -6
- package/lib/Antd3/es/breadcrumb/style/css.js +0 -4
- package/lib/Antd3/es/breadcrumb/style/index.js +0 -4
- package/lib/Antd3/es/breadcrumb/style/index.less +0 -51
- package/lib/Antd3/es/button/button-group.js +0 -68
- package/lib/Antd3/es/button/button.js +0 -372
- package/lib/Antd3/es/button/index.js +0 -4
- package/lib/Antd3/es/button/style/css.js +0 -2
- package/lib/Antd3/es/button/style/index.js +0 -2
- package/lib/Antd3/es/button/style/index.less +0 -224
- package/lib/Antd3/es/button/style/mixin.less +0 -357
- package/lib/Antd3/es/calendar/Header.js +0 -355
- package/lib/Antd3/es/calendar/index.js +0 -391
- package/lib/Antd3/es/calendar/locale/ar_EG.js +0 -2
- package/lib/Antd3/es/calendar/locale/bg_BG.js +0 -2
- package/lib/Antd3/es/calendar/locale/ca_ES.js +0 -2
- package/lib/Antd3/es/calendar/locale/cs_CZ.js +0 -2
- package/lib/Antd3/es/calendar/locale/da_DK.js +0 -2
- package/lib/Antd3/es/calendar/locale/de_DE.js +0 -2
- package/lib/Antd3/es/calendar/locale/el_GR.js +0 -2
- package/lib/Antd3/es/calendar/locale/en_GB.js +0 -2
- package/lib/Antd3/es/calendar/locale/en_US.js +0 -2
- package/lib/Antd3/es/calendar/locale/es_ES.js +0 -2
- package/lib/Antd3/es/calendar/locale/et_EE.js +0 -2
- package/lib/Antd3/es/calendar/locale/fa_IR.js +0 -2
- package/lib/Antd3/es/calendar/locale/fi_FI.js +0 -2
- package/lib/Antd3/es/calendar/locale/fr_BE.js +0 -2
- package/lib/Antd3/es/calendar/locale/fr_FR.js +0 -2
- package/lib/Antd3/es/calendar/locale/ga_IE.js +0 -2
- package/lib/Antd3/es/calendar/locale/he_IL.js +0 -2
- package/lib/Antd3/es/calendar/locale/hi_IN.js +0 -2
- package/lib/Antd3/es/calendar/locale/hr_HR.js +0 -2
- package/lib/Antd3/es/calendar/locale/hu_HU.js +0 -2
- package/lib/Antd3/es/calendar/locale/id_ID.js +0 -2
- package/lib/Antd3/es/calendar/locale/is_IS.js +0 -2
- package/lib/Antd3/es/calendar/locale/it_IT.js +0 -2
- package/lib/Antd3/es/calendar/locale/ja_JP.js +0 -2
- package/lib/Antd3/es/calendar/locale/kn_IN.js +0 -2
- package/lib/Antd3/es/calendar/locale/ko_KR.js +0 -2
- package/lib/Antd3/es/calendar/locale/ku_IQ.js +0 -2
- package/lib/Antd3/es/calendar/locale/lv_LV.js +0 -2
- package/lib/Antd3/es/calendar/locale/mk_MK.js +0 -2
- package/lib/Antd3/es/calendar/locale/mn_MN.js +0 -2
- package/lib/Antd3/es/calendar/locale/ms_MY.js +0 -2
- package/lib/Antd3/es/calendar/locale/nb_NO.js +0 -2
- package/lib/Antd3/es/calendar/locale/nl_BE.js +0 -2
- package/lib/Antd3/es/calendar/locale/nl_NL.js +0 -2
- package/lib/Antd3/es/calendar/locale/pl_PL.js +0 -2
- package/lib/Antd3/es/calendar/locale/pt_BR.js +0 -2
- package/lib/Antd3/es/calendar/locale/pt_PT.js +0 -2
- package/lib/Antd3/es/calendar/locale/ro_RO.js +0 -2
- package/lib/Antd3/es/calendar/locale/ru_RU.js +0 -2
- package/lib/Antd3/es/calendar/locale/sk_SK.js +0 -2
- package/lib/Antd3/es/calendar/locale/sl_SI.js +0 -2
- package/lib/Antd3/es/calendar/locale/sr_RS.js +0 -2
- package/lib/Antd3/es/calendar/locale/sv_SE.js +0 -2
- package/lib/Antd3/es/calendar/locale/ta_IN.js +0 -2
- package/lib/Antd3/es/calendar/locale/th_TH.js +0 -2
- package/lib/Antd3/es/calendar/locale/tr_TR.js +0 -2
- package/lib/Antd3/es/calendar/locale/uk_UA.js +0 -2
- package/lib/Antd3/es/calendar/locale/vi_VN.js +0 -2
- package/lib/Antd3/es/calendar/locale/zh_CN.js +0 -2
- package/lib/Antd3/es/calendar/locale/zh_TW.js +0 -2
- package/lib/Antd3/es/calendar/style/css.js +0 -5
- package/lib/Antd3/es/calendar/style/index.js +0 -5
- package/lib/Antd3/es/calendar/style/index.less +0 -278
- package/lib/Antd3/es/card/Grid.js +0 -56
- package/lib/Antd3/es/card/Meta.js +0 -56
- package/lib/Antd3/es/card/index.js +0 -338
- package/lib/Antd3/es/card/style/css.js +0 -6
- package/lib/Antd3/es/card/style/index.js +0 -6
- package/lib/Antd3/es/card/style/index.less +0 -263
- package/lib/Antd3/es/card/style/size.less +0 -25
- package/lib/Antd3/es/carousel/index.js +0 -246
- package/lib/Antd3/es/carousel/style/css.js +0 -2
- package/lib/Antd3/es/carousel/style/index.js +0 -2
- package/lib/Antd3/es/carousel/style/index.less +0 -238
- package/lib/Antd3/es/cascader/index.js +0 -567
- package/lib/Antd3/es/cascader/style/css.js +0 -5
- package/lib/Antd3/es/cascader/style/index.js +0 -5
- package/lib/Antd3/es/cascader/style/index.less +0 -227
- package/lib/Antd3/es/checkbox/Checkbox.js +0 -268
- package/lib/Antd3/es/checkbox/Group.js +0 -316
- package/lib/Antd3/es/checkbox/index.js +0 -4
- package/lib/Antd3/es/checkbox/style/css.js +0 -2
- package/lib/Antd3/es/checkbox/style/index.js +0 -2
- package/lib/Antd3/es/checkbox/style/index.less +0 -4
- package/lib/Antd3/es/checkbox/style/mixin.less +0 -220
- package/lib/Antd3/es/col/style/css.js +0 -4
- package/lib/Antd3/es/col/style/index.js +0 -4
- package/lib/Antd3/es/collapse/Collapse.js +0 -187
- package/lib/Antd3/es/collapse/CollapsePanel.js +0 -160
- package/lib/Antd3/es/collapse/style/css.js +0 -2
- package/lib/Antd3/es/collapse/style/index.js +0 -2
- package/lib/Antd3/es/collapse/style/index.less +0 -134
- package/lib/Antd3/es/comment/index.js +0 -201
- package/lib/Antd3/es/comment/style/css.js +0 -2
- package/lib/Antd3/es/comment/style/index.js +0 -2
- package/lib/Antd3/es/comment/style/index.less +0 -93
- package/lib/Antd3/es/config-provider/context.js +0 -46
- package/lib/Antd3/es/config-provider/index.js +0 -180
- package/lib/Antd3/es/config-provider/renderEmpty.js +0 -28
- package/lib/Antd3/es/config-provider/style/css.js +0 -1
- package/lib/Antd3/es/config-provider/style/index.js +0 -1
- package/lib/Antd3/es/config-provider/style/index.less +0 -2
- package/lib/Antd3/es/date-picker/InputIcon.js +0 -29
- package/lib/Antd3/es/date-picker/RangePicker.js +0 -596
- package/lib/Antd3/es/date-picker/WeekPicker.js +0 -324
- package/lib/Antd3/es/date-picker/createPicker.js +0 -352
- package/lib/Antd3/es/date-picker/index.js +0 -28
- package/lib/Antd3/es/date-picker/interface.js +0 -2
- package/lib/Antd3/es/date-picker/locale/ar_EG.js +0 -31
- package/lib/Antd3/es/date-picker/locale/bg_BG.js +0 -27
- package/lib/Antd3/es/date-picker/locale/ca_ES.js +0 -27
- package/lib/Antd3/es/date-picker/locale/cs_CZ.js +0 -27
- package/lib/Antd3/es/date-picker/locale/da_DK.js +0 -27
- package/lib/Antd3/es/date-picker/locale/de_DE.js +0 -27
- package/lib/Antd3/es/date-picker/locale/el_GR.js +0 -27
- package/lib/Antd3/es/date-picker/locale/en_GB.js +0 -27
- package/lib/Antd3/es/date-picker/locale/en_US.js +0 -27
- package/lib/Antd3/es/date-picker/locale/es_ES.js +0 -27
- package/lib/Antd3/es/date-picker/locale/et_EE.js +0 -27
- package/lib/Antd3/es/date-picker/locale/fa_IR.js +0 -27
- package/lib/Antd3/es/date-picker/locale/fi_FI.js +0 -27
- package/lib/Antd3/es/date-picker/locale/fr_BE.js +0 -27
- package/lib/Antd3/es/date-picker/locale/fr_FR.js +0 -27
- package/lib/Antd3/es/date-picker/locale/ga_IE.js +0 -27
- package/lib/Antd3/es/date-picker/locale/he_IL.js +0 -27
- package/lib/Antd3/es/date-picker/locale/hi_IN.js +0 -27
- package/lib/Antd3/es/date-picker/locale/hr_HR.js +0 -27
- package/lib/Antd3/es/date-picker/locale/hu_HU.js +0 -27
- package/lib/Antd3/es/date-picker/locale/id_ID.js +0 -27
- package/lib/Antd3/es/date-picker/locale/is_IS.js +0 -27
- package/lib/Antd3/es/date-picker/locale/it_IT.js +0 -27
- package/lib/Antd3/es/date-picker/locale/ja_JP.js +0 -26
- package/lib/Antd3/es/date-picker/locale/kn_IN.js +0 -27
- package/lib/Antd3/es/date-picker/locale/ko_KR.js +0 -27
- package/lib/Antd3/es/date-picker/locale/ku_IQ.js +0 -27
- package/lib/Antd3/es/date-picker/locale/lv_LV.js +0 -27
- package/lib/Antd3/es/date-picker/locale/mk_MK.js +0 -27
- package/lib/Antd3/es/date-picker/locale/mn_MN.js +0 -27
- package/lib/Antd3/es/date-picker/locale/ms_MY.js +0 -27
- package/lib/Antd3/es/date-picker/locale/nb_NO.js +0 -27
- package/lib/Antd3/es/date-picker/locale/nl_BE.js +0 -27
- package/lib/Antd3/es/date-picker/locale/nl_NL.js +0 -27
- package/lib/Antd3/es/date-picker/locale/pl_PL.js +0 -27
- package/lib/Antd3/es/date-picker/locale/pt_BR.js +0 -27
- package/lib/Antd3/es/date-picker/locale/pt_PT.js +0 -55
- package/lib/Antd3/es/date-picker/locale/ro_RO.js +0 -27
- package/lib/Antd3/es/date-picker/locale/ru_RU.js +0 -30
- package/lib/Antd3/es/date-picker/locale/sk_SK.js +0 -27
- package/lib/Antd3/es/date-picker/locale/sl_SI.js +0 -52
- package/lib/Antd3/es/date-picker/locale/sr_RS.js +0 -27
- package/lib/Antd3/es/date-picker/locale/sv_SE.js +0 -26
- package/lib/Antd3/es/date-picker/locale/ta_IN.js +0 -29
- package/lib/Antd3/es/date-picker/locale/th_TH.js +0 -27
- package/lib/Antd3/es/date-picker/locale/tr_TR.js +0 -27
- package/lib/Antd3/es/date-picker/locale/uk_UA.js +0 -26
- package/lib/Antd3/es/date-picker/locale/vi_VN.js +0 -27
- package/lib/Antd3/es/date-picker/locale/zh_CN.js +0 -28
- package/lib/Antd3/es/date-picker/locale/zh_TW.js +0 -27
- package/lib/Antd3/es/date-picker/style/Calendar.less +0 -402
- package/lib/Antd3/es/date-picker/style/DecadePanel.less +0 -81
- package/lib/Antd3/es/date-picker/style/MonthPanel.less +0 -86
- package/lib/Antd3/es/date-picker/style/MonthPicker.less +0 -11
- package/lib/Antd3/es/date-picker/style/Picker.less +0 -113
- package/lib/Antd3/es/date-picker/style/RangePicker.less +0 -248
- package/lib/Antd3/es/date-picker/style/TimePicker.less +0 -151
- package/lib/Antd3/es/date-picker/style/WeekPicker.less +0 -21
- package/lib/Antd3/es/date-picker/style/YearPanel.less +0 -85
- package/lib/Antd3/es/date-picker/style/css.js +0 -7
- package/lib/Antd3/es/date-picker/style/index.js +0 -7
- package/lib/Antd3/es/date-picker/style/index.less +0 -17
- package/lib/Antd3/es/date-picker/utils.js +0 -10
- package/lib/Antd3/es/date-picker/wrapPicker.js +0 -324
- package/lib/Antd3/es/descriptions/Col.js +0 -73
- package/lib/Antd3/es/descriptions/index.js +0 -323
- package/lib/Antd3/es/descriptions/style/css.js +0 -2
- package/lib/Antd3/es/descriptions/style/index.js +0 -2
- package/lib/Antd3/es/descriptions/style/index.less +0 -144
- package/lib/Antd3/es/divider/index.js +0 -66
- package/lib/Antd3/es/divider/style/css.js +0 -2
- package/lib/Antd3/es/divider/style/index.js +0 -2
- package/lib/Antd3/es/divider/style/index.less +0 -109
- package/lib/Antd3/es/drawer/index.js +0 -334
- package/lib/Antd3/es/drawer/style/css.js +0 -3
- package/lib/Antd3/es/drawer/style/drawer.less +0 -230
- package/lib/Antd3/es/drawer/style/index.js +0 -3
- package/lib/Antd3/es/drawer/style/index.less +0 -3
- package/lib/Antd3/es/dropdown/dropdown-button.js +0 -200
- package/lib/Antd3/es/dropdown/dropdown.js +0 -222
- package/lib/Antd3/es/dropdown/index.js +0 -4
- package/lib/Antd3/es/dropdown/style/css.js +0 -4
- package/lib/Antd3/es/dropdown/style/index.js +0 -4
- package/lib/Antd3/es/dropdown/style/index.less +0 -282
- package/lib/Antd3/es/empty/empty.js +0 -48
- package/lib/Antd3/es/empty/index.js +0 -87
- package/lib/Antd3/es/empty/simple.js +0 -28
- package/lib/Antd3/es/empty/style/css.js +0 -2
- package/lib/Antd3/es/empty/style/index.js +0 -2
- package/lib/Antd3/es/empty/style/index.less +0 -52
- package/lib/Antd3/es/form/Form.js +0 -212
- package/lib/Antd3/es/form/FormItem.js +0 -525
- package/lib/Antd3/es/form/context.js +0 -6
- package/lib/Antd3/es/form/index.js +0 -2
- package/lib/Antd3/es/form/interface.js +0 -0
- package/lib/Antd3/es/form/style/css.js +0 -4
- package/lib/Antd3/es/form/style/index.js +0 -4
- package/lib/Antd3/es/form/style/index.less +0 -653
- package/lib/Antd3/es/form/style/mixin.less +0 -126
- package/lib/Antd3/es/grid/RowContext.js +0 -3
- package/lib/Antd3/es/grid/col.js +0 -219
- package/lib/Antd3/es/grid/index.js +0 -3
- package/lib/Antd3/es/grid/row.js +0 -248
- package/lib/Antd3/es/grid/style/css.js +0 -2
- package/lib/Antd3/es/grid/style/index.js +0 -2
- package/lib/Antd3/es/grid/style/index.less +0 -122
- package/lib/Antd3/es/grid/style/mixin.less +0 -101
- package/lib/Antd3/es/icon/IconFont.js +0 -65
- package/lib/Antd3/es/icon/__tests__/logo.svg +0 -0
- package/lib/Antd3/es/icon/index.js +0 -165
- package/lib/Antd3/es/icon/style/css.js +0 -2
- package/lib/Antd3/es/icon/style/index.js +0 -2
- package/lib/Antd3/es/icon/style/index.less +0 -4
- package/lib/Antd3/es/icon/twoTonePrimaryColor.js +0 -10
- package/lib/Antd3/es/icon/utils.js +0 -67
- package/lib/Antd3/es/input/ClearableLabeledInput.js +0 -264
- package/lib/Antd3/es/input/Group.js +0 -36
- package/lib/Antd3/es/input/Input.js +0 -335
- package/lib/Antd3/es/input/Password.js +0 -232
- package/lib/Antd3/es/input/ResizableTextArea.js +0 -246
- package/lib/Antd3/es/input/Search.js +0 -318
- package/lib/Antd3/es/input/TextArea.js +0 -220
- package/lib/Antd3/es/input/calculateNodeHeight.js +0 -98
- package/lib/Antd3/es/input/index.js +0 -10
- package/lib/Antd3/es/input/style/css.js +0 -4
- package/lib/Antd3/es/input/style/index.js +0 -4
- package/lib/Antd3/es/input/style/index.less +0 -57
- package/lib/Antd3/es/input/style/mixin.less +0 -449
- package/lib/Antd3/es/input/style/search-input.less +0 -34
- package/lib/Antd3/es/input-number/index.js +0 -198
- package/lib/Antd3/es/input-number/style/css.js +0 -2
- package/lib/Antd3/es/input-number/style/index.js +0 -2
- package/lib/Antd3/es/input-number/style/index.less +0 -179
- package/lib/Antd3/es/layout/Sider.js +0 -376
- package/lib/Antd3/es/layout/index.js +0 -4
- package/lib/Antd3/es/layout/layout.js +0 -300
- package/lib/Antd3/es/layout/style/css.js +0 -2
- package/lib/Antd3/es/layout/style/index.js +0 -2
- package/lib/Antd3/es/layout/style/index.less +0 -124
- package/lib/Antd3/es/layout/style/light.less +0 -15
- package/lib/Antd3/es/list/Item.js +0 -261
- package/lib/Antd3/es/list/index.js +0 -369
- package/lib/Antd3/es/list/style/bordered.less +0 -41
- package/lib/Antd3/es/list/style/css.js +0 -7
- package/lib/Antd3/es/list/style/index.js +0 -7
- package/lib/Antd3/es/list/style/index.less +0 -234
- package/lib/Antd3/es/list/style/responsive.less +0 -40
- package/lib/Antd3/es/locale/ar_EG.js +0 -42
- package/lib/Antd3/es/locale/bg_BG.js +0 -42
- package/lib/Antd3/es/locale/ca_ES.js +0 -40
- package/lib/Antd3/es/locale/cs_CZ.js +0 -40
- package/lib/Antd3/es/locale/da_DK.js +0 -42
- package/lib/Antd3/es/locale/de_DE.js +0 -42
- package/lib/Antd3/es/locale/default.js +0 -61
- package/lib/Antd3/es/locale/el_GR.js +0 -42
- package/lib/Antd3/es/locale/en_GB.js +0 -42
- package/lib/Antd3/es/locale/en_US.js +0 -2
- package/lib/Antd3/es/locale/es_ES.js +0 -58
- package/lib/Antd3/es/locale/et_EE.js +0 -42
- package/lib/Antd3/es/locale/fa_IR.js +0 -42
- package/lib/Antd3/es/locale/fi_FI.js +0 -43
- package/lib/Antd3/es/locale/fr_BE.js +0 -46
- package/lib/Antd3/es/locale/fr_FR.js +0 -46
- package/lib/Antd3/es/locale/ga_IE.js +0 -42
- package/lib/Antd3/es/locale/he_IL.js +0 -42
- package/lib/Antd3/es/locale/hi_IN.js +0 -50
- package/lib/Antd3/es/locale/hr_HR.js +0 -56
- package/lib/Antd3/es/locale/hu_HU.js +0 -43
- package/lib/Antd3/es/locale/hy_AM.js +0 -107
- package/lib/Antd3/es/locale/id_ID.js +0 -44
- package/lib/Antd3/es/locale/is_IS.js +0 -42
- package/lib/Antd3/es/locale/it_IT.js +0 -55
- package/lib/Antd3/es/locale/ja_JP.js +0 -42
- package/lib/Antd3/es/locale/kn_IN.js +0 -50
- package/lib/Antd3/es/locale/ko_KR.js +0 -42
- package/lib/Antd3/es/locale/ku_IQ.js +0 -42
- package/lib/Antd3/es/locale/lv_LV.js +0 -42
- package/lib/Antd3/es/locale/mk_MK.js +0 -57
- package/lib/Antd3/es/locale/mn_MN.js +0 -42
- package/lib/Antd3/es/locale/ms_MY.js +0 -62
- package/lib/Antd3/es/locale/nb_NO.js +0 -42
- package/lib/Antd3/es/locale/ne_NP.js +0 -43
- package/lib/Antd3/es/locale/nl_BE.js +0 -42
- package/lib/Antd3/es/locale/nl_NL.js +0 -61
- package/lib/Antd3/es/locale/pl_PL.js +0 -42
- package/lib/Antd3/es/locale/pt_BR.js +0 -48
- package/lib/Antd3/es/locale/pt_PT.js +0 -43
- package/lib/Antd3/es/locale/ro_RO.js +0 -61
- package/lib/Antd3/es/locale/ru_RU.js +0 -52
- package/lib/Antd3/es/locale/sk_SK.js +0 -61
- package/lib/Antd3/es/locale/sl_SI.js +0 -42
- package/lib/Antd3/es/locale/sr_RS.js +0 -42
- package/lib/Antd3/es/locale/sv_SE.js +0 -46
- package/lib/Antd3/es/locale/ta_IN.js +0 -62
- package/lib/Antd3/es/locale/th_TH.js +0 -61
- package/lib/Antd3/es/locale/tr_TR.js +0 -56
- package/lib/Antd3/es/locale/uk_UA.js +0 -42
- package/lib/Antd3/es/locale/vi_VN.js +0 -42
- package/lib/Antd3/es/locale/zh_CN.js +0 -61
- package/lib/Antd3/es/locale/zh_TW.js +0 -45
- package/lib/Antd3/es/locale-provider/LocaleReceiver.js +0 -157
- package/lib/Antd3/es/locale-provider/ar_EG.js +0 -2
- package/lib/Antd3/es/locale-provider/bg_BG.js +0 -2
- package/lib/Antd3/es/locale-provider/ca_ES.js +0 -2
- package/lib/Antd3/es/locale-provider/cs_CZ.js +0 -2
- package/lib/Antd3/es/locale-provider/da_DK.js +0 -2
- package/lib/Antd3/es/locale-provider/de_DE.js +0 -2
- package/lib/Antd3/es/locale-provider/default.js +0 -2
- package/lib/Antd3/es/locale-provider/el_GR.js +0 -2
- package/lib/Antd3/es/locale-provider/en_GB.js +0 -2
- package/lib/Antd3/es/locale-provider/en_US.js +0 -2
- package/lib/Antd3/es/locale-provider/es_ES.js +0 -2
- package/lib/Antd3/es/locale-provider/et_EE.js +0 -2
- package/lib/Antd3/es/locale-provider/fa_IR.js +0 -2
- package/lib/Antd3/es/locale-provider/fi_FI.js +0 -2
- package/lib/Antd3/es/locale-provider/fr_BE.js +0 -2
- package/lib/Antd3/es/locale-provider/fr_FR.js +0 -2
- package/lib/Antd3/es/locale-provider/ga_IE.js +0 -2
- package/lib/Antd3/es/locale-provider/he_IL.js +0 -2
- package/lib/Antd3/es/locale-provider/hi_IN.js +0 -2
- package/lib/Antd3/es/locale-provider/hr_HR.js +0 -2
- package/lib/Antd3/es/locale-provider/hu_HU.js +0 -2
- package/lib/Antd3/es/locale-provider/hy_AM.js +0 -2
- package/lib/Antd3/es/locale-provider/id_ID.js +0 -2
- package/lib/Antd3/es/locale-provider/index.js +0 -177
- package/lib/Antd3/es/locale-provider/is_IS.js +0 -2
- package/lib/Antd3/es/locale-provider/it_IT.js +0 -2
- package/lib/Antd3/es/locale-provider/ja_JP.js +0 -2
- package/lib/Antd3/es/locale-provider/kn_IN.js +0 -2
- package/lib/Antd3/es/locale-provider/ko_KR.js +0 -2
- package/lib/Antd3/es/locale-provider/ku_IQ.js +0 -2
- package/lib/Antd3/es/locale-provider/lv_LV.js +0 -2
- package/lib/Antd3/es/locale-provider/mk_MK.js +0 -2
- package/lib/Antd3/es/locale-provider/mn_MN.js +0 -2
- package/lib/Antd3/es/locale-provider/ms_MY.js +0 -2
- package/lib/Antd3/es/locale-provider/nb_NO.js +0 -2
- package/lib/Antd3/es/locale-provider/ne-NP.js +0 -2
- package/lib/Antd3/es/locale-provider/ne_NP.js +0 -2
- package/lib/Antd3/es/locale-provider/nl_BE.js +0 -2
- package/lib/Antd3/es/locale-provider/nl_NL.js +0 -2
- package/lib/Antd3/es/locale-provider/pl_PL.js +0 -2
- package/lib/Antd3/es/locale-provider/pt_BR.js +0 -2
- package/lib/Antd3/es/locale-provider/pt_PT.js +0 -2
- package/lib/Antd3/es/locale-provider/ro_RO.js +0 -2
- package/lib/Antd3/es/locale-provider/ru_RU.js +0 -2
- package/lib/Antd3/es/locale-provider/sk_SK.js +0 -2
- package/lib/Antd3/es/locale-provider/sl_SI.js +0 -2
- package/lib/Antd3/es/locale-provider/sr_RS.js +0 -2
- package/lib/Antd3/es/locale-provider/style/css.js +0 -1
- package/lib/Antd3/es/locale-provider/style/index.js +0 -1
- package/lib/Antd3/es/locale-provider/style/index.less +0 -2
- package/lib/Antd3/es/locale-provider/sv_SE.js +0 -2
- package/lib/Antd3/es/locale-provider/ta_IN.js +0 -61
- package/lib/Antd3/es/locale-provider/th_TH.js +0 -2
- package/lib/Antd3/es/locale-provider/tr_TR.js +0 -2
- package/lib/Antd3/es/locale-provider/uk_UA.js +0 -2
- package/lib/Antd3/es/locale-provider/vi_VN.js +0 -2
- package/lib/Antd3/es/locale-provider/zh_CN.js +0 -2
- package/lib/Antd3/es/locale-provider/zh_TW.js +0 -2
- package/lib/Antd3/es/mention/index.js +0 -244
- package/lib/Antd3/es/mention/style/css.js +0 -1
- package/lib/Antd3/es/mention/style/index.js +0 -1
- package/lib/Antd3/es/mention/style/index.less +0 -133
- package/lib/Antd3/es/mentions/index.js +0 -286
- package/lib/Antd3/es/mentions/style/css.js +0 -4
- package/lib/Antd3/es/mentions/style/index.js +0 -4
- package/lib/Antd3/es/mentions/style/index.less +0 -164
- package/lib/Antd3/es/menu/MenuContext.js +0 -5
- package/lib/Antd3/es/menu/MenuItem.js +0 -179
- package/lib/Antd3/es/menu/SubMenu.js +0 -154
- package/lib/Antd3/es/menu/index.js +0 -394
- package/lib/Antd3/es/menu/style/css.js +0 -5
- package/lib/Antd3/es/menu/style/dark.less +0 -139
- package/lib/Antd3/es/menu/style/index.js +0 -5
- package/lib/Antd3/es/menu/style/index.less +0 -515
- package/lib/Antd3/es/message/index.js +0 -148
- package/lib/Antd3/es/message/style/css.js +0 -2
- package/lib/Antd3/es/message/style/index.js +0 -2
- package/lib/Antd3/es/message/style/index.less +0 -75
- package/lib/Antd3/es/modal/ActionButton.js +0 -194
- package/lib/Antd3/es/modal/Modal.js +0 -263
- package/lib/Antd3/es/modal/confirm.js +0 -181
- package/lib/Antd3/es/modal/index.js +0 -76
- package/lib/Antd3/es/modal/locale.js +0 -26
- package/lib/Antd3/es/modal/style/confirm.less +0 -78
- package/lib/Antd3/es/modal/style/css.js +0 -4
- package/lib/Antd3/es/modal/style/index.js +0 -4
- package/lib/Antd3/es/modal/style/index.less +0 -4
- package/lib/Antd3/es/modal/style/modal.less +0 -165
- package/lib/Antd3/es/notification/index.js +0 -200
- package/lib/Antd3/es/notification/style/css.js +0 -2
- package/lib/Antd3/es/notification/style/index.js +0 -2
- package/lib/Antd3/es/notification/style/index.less +0 -199
- package/lib/Antd3/es/page-header/index.js +0 -118
- package/lib/Antd3/es/page-header/style/css.js +0 -4
- package/lib/Antd3/es/page-header/style/index.js +0 -4
- package/lib/Antd3/es/page-header/style/index.less +0 -119
- package/lib/Antd3/es/pagination/MiniSelect.js +0 -131
- package/lib/Antd3/es/pagination/Pagination.js +0 -214
- package/lib/Antd3/es/pagination/style/css.js +0 -4
- package/lib/Antd3/es/pagination/style/index.js +0 -4
- package/lib/Antd3/es/pagination/style/index.less +0 -400
- package/lib/Antd3/es/popconfirm/index.js +0 -267
- package/lib/Antd3/es/popconfirm/style/css.js +0 -5
- package/lib/Antd3/es/popconfirm/style/index.js +0 -5
- package/lib/Antd3/es/popover/index.js +0 -184
- package/lib/Antd3/es/popover/style/css.js +0 -3
- package/lib/Antd3/es/popover/style/index.js +0 -3
- package/lib/Antd3/es/popover/style/index.less +0 -205
- package/lib/Antd3/es/progress/Circle.js +0 -80
- package/lib/Antd3/es/progress/Line.js +0 -183
- package/lib/Antd3/es/progress/progress.js +0 -267
- package/lib/Antd3/es/progress/style/css.js +0 -2
- package/lib/Antd3/es/progress/style/index.js +0 -2
- package/lib/Antd3/es/progress/style/index.less +0 -182
- package/lib/Antd3/es/progress/utils.js +0 -10
- package/lib/Antd3/es/radio/group.js +0 -256
- package/lib/Antd3/es/radio/index.js +0 -7
- package/lib/Antd3/es/radio/interface.js +0 -0
- package/lib/Antd3/es/radio/radio.js +0 -223
- package/lib/Antd3/es/radio/radioButton.js +0 -159
- package/lib/Antd3/es/radio/style/css.js +0 -2
- package/lib/Antd3/es/radio/style/index.js +0 -2
- package/lib/Antd3/es/radio/style/index.less +0 -327
- package/lib/Antd3/es/rate/index.js +0 -189
- package/lib/Antd3/es/rate/style/css.js +0 -4
- package/lib/Antd3/es/rate/style/index.js +0 -4
- package/lib/Antd3/es/rate/style/index.less +0 -85
- package/lib/Antd3/es/result/index.js +0 -84
- package/lib/Antd3/es/result/noFound.js +0 -237
- package/lib/Antd3/es/result/serverError.js +0 -277
- package/lib/Antd3/es/result/style/css.js +0 -2
- package/lib/Antd3/es/result/style/index.js +0 -2
- package/lib/Antd3/es/result/style/index.less +0 -71
- package/lib/Antd3/es/result/unauthorized.js +0 -227
- package/lib/Antd3/es/row/style/css.js +0 -4
- package/lib/Antd3/es/row/style/index.js +0 -4
- package/lib/Antd3/es/select/index.js +0 -299
- package/lib/Antd3/es/select/style/css.js +0 -4
- package/lib/Antd3/es/select/style/index.js +0 -4
- package/lib/Antd3/es/select/style/index.less +0 -604
- package/lib/Antd3/es/skeleton/Avatar.js +0 -162
- package/lib/Antd3/es/skeleton/Paragraph.js +0 -177
- package/lib/Antd3/es/skeleton/Title.js +0 -31
- package/lib/Antd3/es/skeleton/index.js +0 -251
- package/lib/Antd3/es/skeleton/style/css.js +0 -2
- package/lib/Antd3/es/skeleton/style/index.js +0 -2
- package/lib/Antd3/es/skeleton/style/index.less +0 -130
- package/lib/Antd3/es/slider/index.js +0 -259
- package/lib/Antd3/es/slider/style/css.js +0 -4
- package/lib/Antd3/es/slider/style/index.js +0 -4
- package/lib/Antd3/es/slider/style/index.less +0 -197
- package/lib/Antd3/es/spin/index.js +0 -300
- package/lib/Antd3/es/spin/style/css.js +0 -2
- package/lib/Antd3/es/spin/style/index.js +0 -2
- package/lib/Antd3/es/spin/style/index.less +0 -214
- package/lib/Antd3/es/statistic/Countdown.js +0 -201
- package/lib/Antd3/es/statistic/Number.js +0 -46
- package/lib/Antd3/es/statistic/Statistic.js +0 -57
- package/lib/Antd3/es/statistic/index.js +0 -4
- package/lib/Antd3/es/statistic/style/css.js +0 -2
- package/lib/Antd3/es/statistic/style/index.js +0 -2
- package/lib/Antd3/es/statistic/style/index.less +0 -40
- package/lib/Antd3/es/statistic/utils.js +0 -88
- package/lib/Antd3/es/steps/index.js +0 -163
- package/lib/Antd3/es/steps/style/compatibility.less +0 -50
- package/lib/Antd3/es/steps/style/css.js +0 -2
- package/lib/Antd3/es/steps/style/custom-icon.less +0 -31
- package/lib/Antd3/es/steps/style/index.js +0 -2
- package/lib/Antd3/es/steps/style/index.less +0 -246
- package/lib/Antd3/es/steps/style/label-placement.less +0 -38
- package/lib/Antd3/es/steps/style/nav.less +0 -124
- package/lib/Antd3/es/steps/style/progress-dot.less +0 -80
- package/lib/Antd3/es/steps/style/small.less +0 -45
- package/lib/Antd3/es/steps/style/vertical.less +0 -74
- package/lib/Antd3/es/style/color/bezierEasing.less +0 -110
- package/lib/Antd3/es/style/color/colorPalette.less +0 -75
- package/lib/Antd3/es/style/color/colors.less +0 -149
- package/lib/Antd3/es/style/color/tinyColor.less +0 -1184
- package/lib/Antd3/es/style/core/base.less +0 -510
- package/lib/Antd3/es/style/core/iconfont.less +0 -19
- package/lib/Antd3/es/style/core/index.less +0 -4
- package/lib/Antd3/es/style/core/motion/fade.less +0 -31
- package/lib/Antd3/es/style/core/motion/move.less +0 -120
- package/lib/Antd3/es/style/core/motion/other.less +0 -45
- package/lib/Antd3/es/style/core/motion/slide.less +0 -120
- package/lib/Antd3/es/style/core/motion/swing.less +0 -34
- package/lib/Antd3/es/style/core/motion/zoom.less +0 -162
- package/lib/Antd3/es/style/core/motion.less +0 -20
- package/lib/Antd3/es/style/css.js +0 -1
- package/lib/Antd3/es/style/index.js +0 -1
- package/lib/Antd3/es/style/index.less +0 -2
- package/lib/Antd3/es/style/mixins/clearfix.less +0 -13
- package/lib/Antd3/es/style/mixins/compatibility.less +0 -22
- package/lib/Antd3/es/style/mixins/iconfont.less +0 -43
- package/lib/Antd3/es/style/mixins/index.less +0 -10
- package/lib/Antd3/es/style/mixins/motion.less +0 -35
- package/lib/Antd3/es/style/mixins/operation-unit.less +0 -18
- package/lib/Antd3/es/style/mixins/reset.less +0 -13
- package/lib/Antd3/es/style/mixins/size.less +0 -10
- package/lib/Antd3/es/style/mixins/typography.less +0 -49
- package/lib/Antd3/es/style/themes/default.less +0 -699
- package/lib/Antd3/es/style/themes/index.less +0 -1
- package/lib/Antd3/es/style/v2-compatible-reset.js +0 -1
- package/lib/Antd3/es/style/v2-compatible-reset.less +0 -51
- package/lib/Antd3/es/switch/index.js +0 -198
- package/lib/Antd3/es/switch/style/css.js +0 -2
- package/lib/Antd3/es/switch/style/index.js +0 -2
- package/lib/Antd3/es/switch/style/index.less +0 -178
- package/lib/Antd3/es/table/Column.js +0 -95
- package/lib/Antd3/es/table/ColumnGroup.js +0 -94
- package/lib/Antd3/es/table/FilterDropdownMenuWrapper.js +0 -10
- package/lib/Antd3/es/table/SelectionBox.js +0 -195
- package/lib/Antd3/es/table/SelectionCheckboxAll.js +0 -327
- package/lib/Antd3/es/table/Table.js +0 -1380
- package/lib/Antd3/es/table/createBodyRow.js +0 -187
- package/lib/Antd3/es/table/createStore.js +0 -39
- package/lib/Antd3/es/table/filterDropdown.js +0 -430
- package/lib/Antd3/es/table/interface.js +0 -2
- package/lib/Antd3/es/table/style/css.js +0 -10
- package/lib/Antd3/es/table/style/index.js +0 -10
- package/lib/Antd3/es/table/style/index.less +0 -800
- package/lib/Antd3/es/table/style/size.less +0 -179
- package/lib/Antd3/es/table/util.js +0 -112
- package/lib/Antd3/es/tabs/TabBar.js +0 -191
- package/lib/Antd3/es/tabs/index.js +0 -277
- package/lib/Antd3/es/tabs/style/card-style.less +0 -186
- package/lib/Antd3/es/tabs/style/css.js +0 -2
- package/lib/Antd3/es/tabs/style/index.js +0 -2
- package/lib/Antd3/es/tabs/style/index.less +0 -436
- package/lib/Antd3/es/tag/CheckableTag.js +0 -179
- package/lib/Antd3/es/tag/index.js +0 -264
- package/lib/Antd3/es/tag/style/css.js +0 -2
- package/lib/Antd3/es/tag/style/index.js +0 -2
- package/lib/Antd3/es/tag/style/index.less +0 -106
- package/lib/Antd3/es/time-picker/index.js +0 -337
- package/lib/Antd3/es/time-picker/locale/da_DK.js +0 -4
- package/lib/Antd3/es/time-picker/locale/de_DE.js +0 -4
- package/lib/Antd3/es/time-picker/locale/en_US.js +0 -4
- package/lib/Antd3/es/time-picker/locale/fa_IR.js +0 -4
- package/lib/Antd3/es/time-picker/locale/fr_BE.js +0 -4
- package/lib/Antd3/es/time-picker/locale/fr_FR.js +0 -4
- package/lib/Antd3/es/time-picker/locale/ga_IE.js +0 -4
- package/lib/Antd3/es/time-picker/locale/hi_IN.js +0 -4
- package/lib/Antd3/es/time-picker/locale/hr_HR.js +0 -4
- package/lib/Antd3/es/time-picker/locale/id_ID.js +0 -4
- package/lib/Antd3/es/time-picker/locale/ja_JP.js +0 -4
- package/lib/Antd3/es/time-picker/locale/ko_KR.js +0 -4
- package/lib/Antd3/es/time-picker/locale/ku_IQ.js +0 -4
- package/lib/Antd3/es/time-picker/locale/nb_NO.js +0 -4
- package/lib/Antd3/es/time-picker/locale/nl_BE.js +0 -4
- package/lib/Antd3/es/time-picker/locale/nl_NL.js +0 -4
- package/lib/Antd3/es/time-picker/locale/ru_RU.js +0 -7
- package/lib/Antd3/es/time-picker/locale/sr_RS.js +0 -4
- package/lib/Antd3/es/time-picker/locale/tr_TR.js +0 -4
- package/lib/Antd3/es/time-picker/locale/vi_VN.js +0 -4
- package/lib/Antd3/es/time-picker/locale/zh_CN.js +0 -4
- package/lib/Antd3/es/time-picker/style/css.js +0 -2
- package/lib/Antd3/es/time-picker/style/index.js +0 -2
- package/lib/Antd3/es/time-picker/style/index.less +0 -246
- package/lib/Antd3/es/timeline/Timeline.js +0 -239
- package/lib/Antd3/es/timeline/TimelineItem.js +0 -76
- package/lib/Antd3/es/timeline/style/css.js +0 -2
- package/lib/Antd3/es/timeline/style/index.js +0 -2
- package/lib/Antd3/es/timeline/style/index.less +0 -167
- package/lib/Antd3/es/tooltip/index.js +0 -326
- package/lib/Antd3/es/tooltip/placements.js +0 -101
- package/lib/Antd3/es/tooltip/style/css.js +0 -2
- package/lib/Antd3/es/tooltip/style/index.js +0 -2
- package/lib/Antd3/es/tooltip/style/index.less +0 -187
- package/lib/Antd3/es/transfer/ListItem.js +0 -191
- package/lib/Antd3/es/transfer/index.js +0 -573
- package/lib/Antd3/es/transfer/list.js +0 -374
- package/lib/Antd3/es/transfer/operation.js +0 -32
- package/lib/Antd3/es/transfer/renderListBody.js +0 -204
- package/lib/Antd3/es/transfer/search.js +0 -158
- package/lib/Antd3/es/transfer/style/css.js +0 -7
- package/lib/Antd3/es/transfer/style/customize.less +0 -62
- package/lib/Antd3/es/transfer/style/index.js +0 -7
- package/lib/Antd3/es/transfer/style/index.less +0 -191
- package/lib/Antd3/es/tree/DirectoryTree.js +0 -354
- package/lib/Antd3/es/tree/Tree.js +0 -220
- package/lib/Antd3/es/tree/index.js +0 -2
- package/lib/Antd3/es/tree/style/css.js +0 -2
- package/lib/Antd3/es/tree/style/directory.less +0 -95
- package/lib/Antd3/es/tree/style/index.js +0 -2
- package/lib/Antd3/es/tree/style/index.less +0 -280
- package/lib/Antd3/es/tree/style/mixin.less +0 -29
- package/lib/Antd3/es/tree/util.js +0 -112
- package/lib/Antd3/es/tree-select/index.js +0 -264
- package/lib/Antd3/es/tree-select/interface.js +0 -0
- package/lib/Antd3/es/tree-select/style/css.js +0 -6
- package/lib/Antd3/es/tree-select/style/index.js +0 -6
- package/lib/Antd3/es/tree-select/style/index.less +0 -191
- package/lib/Antd3/es/typography/Base.js +0 -564
- package/lib/Antd3/es/typography/Editable.js +0 -216
- package/lib/Antd3/es/typography/Paragraph.js +0 -22
- package/lib/Antd3/es/typography/Text.js +0 -51
- package/lib/Antd3/es/typography/Title.js +0 -45
- package/lib/Antd3/es/typography/Typography.js +0 -178
- package/lib/Antd3/es/typography/index.js +0 -9
- package/lib/Antd3/es/typography/style/css.js +0 -5
- package/lib/Antd3/es/typography/style/index.js +0 -5
- package/lib/Antd3/es/typography/style/index.less +0 -204
- package/lib/Antd3/es/typography/util.js +0 -183
- package/lib/Antd3/es/upload/Dragger.js +0 -150
- package/lib/Antd3/es/upload/Upload.js +0 -444
- package/lib/Antd3/es/upload/UploadList.js +0 -367
- package/lib/Antd3/es/upload/index.js +0 -4
- package/lib/Antd3/es/upload/interface.js +0 -0
- package/lib/Antd3/es/upload/style/css.js +0 -5
- package/lib/Antd3/es/upload/style/index.js +0 -5
- package/lib/Antd3/es/upload/style/index.less +0 -542
- package/lib/Antd3/es/upload/utils.js +0 -135
- package/lib/Antd3/es/version/index.js +0 -1
- package/lib/Antd3/es/version/style/css.js +0 -2
- package/lib/Antd3/es/version/style/index.js +0 -2
- package/lib/Antd4/_util/ActionButton.js +0 -94
- package/lib/Antd4/_util/colors.js +0 -4
- package/lib/Antd4/_util/devWarning.js +0 -5
- package/lib/Antd4/_util/easings.js +0 -10
- package/lib/Antd4/_util/getDataOrAriaProps.js +0 -8
- package/lib/Antd4/_util/getRenderPropValue.js +0 -10
- package/lib/Antd4/_util/getScroll.js +0 -22
- package/lib/Antd4/_util/hooks/useFlexGapSupport.js +0 -13
- package/lib/Antd4/_util/hooks/useForceUpdate.js +0 -10
- package/lib/Antd4/_util/hooks/usePatchElement.js +0 -25
- package/lib/Antd4/_util/hooks/useSyncState.js +0 -13
- package/lib/Antd4/_util/isNumeric.js +0 -4
- package/lib/Antd4/_util/motion.js +0 -51
- package/lib/Antd4/_util/placements.js +0 -87
- package/lib/Antd4/_util/raf.js +0 -26
- package/lib/Antd4/_util/reactNode.js +0 -10
- package/lib/Antd4/_util/responsiveObserve.js +0 -62
- package/lib/Antd4/_util/scrollTo.js +0 -34
- package/lib/Antd4/_util/statusUtils.js +0 -28
- package/lib/Antd4/_util/styleChecker.js +0 -29
- package/lib/Antd4/_util/throttleByAnimationFrame.js +0 -51
- package/lib/Antd4/_util/transButton.js +0 -63
- package/lib/Antd4/_util/type.js +0 -13
- package/lib/Antd4/_util/unreachableException.js +0 -7
- package/lib/Antd4/_util/warning.js +0 -15
- package/lib/Antd4/_util/wave.js +0 -193
- package/lib/Antd4/affix/index.js +0 -268
- package/lib/Antd4/affix/style/css.js +0 -2
- package/lib/Antd4/affix/style/index-pure.less +0 -6
- package/lib/Antd4/affix/style/index.js +0 -2
- package/lib/Antd4/affix/style/index.less +0 -3
- package/lib/Antd4/affix/utils.js +0 -76
- package/lib/Antd4/alert/ErrorBoundary.js +0 -55
- package/lib/Antd4/alert/index.js +0 -153
- package/lib/Antd4/alert/style/css.js +0 -2
- package/lib/Antd4/alert/style/index-pure.less +0 -155
- package/lib/Antd4/alert/style/index.js +0 -2
- package/lib/Antd4/alert/style/index.less +0 -3
- package/lib/Antd4/alert/style/rtl.less +0 -40
- package/lib/Antd4/anchor/Anchor.js +0 -257
- package/lib/Antd4/anchor/AnchorLink.js +0 -87
- package/lib/Antd4/anchor/context.js +0 -3
- package/lib/Antd4/anchor/index.js +0 -4
- package/lib/Antd4/anchor/style/css.js +0 -4
- package/lib/Antd4/anchor/style/index-pure.less +0 -87
- package/lib/Antd4/anchor/style/index.js +0 -4
- package/lib/Antd4/anchor/style/index.less +0 -3
- package/lib/Antd4/anchor/style/rtl.less +0 -35
- package/lib/Antd4/auto-complete/index.js +0 -89
- package/lib/Antd4/auto-complete/style/css.js +0 -4
- package/lib/Antd4/auto-complete/style/index-pure.less +0 -16
- package/lib/Antd4/auto-complete/style/index.js +0 -4
- package/lib/Antd4/auto-complete/style/index.less +0 -3
- package/lib/Antd4/avatar/SizeContext.js +0 -12
- package/lib/Antd4/avatar/avatar.js +0 -180
- package/lib/Antd4/avatar/group.js +0 -59
- package/lib/Antd4/avatar/index.js +0 -6
- package/lib/Antd4/avatar/style/css.js +0 -5
- package/lib/Antd4/avatar/style/group.less +0 -17
- package/lib/Antd4/avatar/style/index-pure.less +0 -70
- package/lib/Antd4/avatar/style/index.js +0 -5
- package/lib/Antd4/avatar/style/index.less +0 -3
- package/lib/Antd4/avatar/style/rtl.less +0 -15
- package/lib/Antd4/back-top/index.js +0 -111
- package/lib/Antd4/back-top/style/css.js +0 -2
- package/lib/Antd4/back-top/style/index-pure.less +0 -49
- package/lib/Antd4/back-top/style/index.js +0 -2
- package/lib/Antd4/back-top/style/index.less +0 -3
- package/lib/Antd4/back-top/style/responsive.less +0 -21
- package/lib/Antd4/badge/Ribbon.js +0 -41
- package/lib/Antd4/badge/ScrollNumber.js +0 -71
- package/lib/Antd4/badge/SingleNumber.js +0 -108
- package/lib/Antd4/badge/index.js +0 -160
- package/lib/Antd4/badge/style/css.js +0 -2
- package/lib/Antd4/badge/style/index-pure.less +0 -281
- package/lib/Antd4/badge/style/index.js +0 -2
- package/lib/Antd4/badge/style/index.less +0 -3
- package/lib/Antd4/badge/style/ribbon.less +0 -81
- package/lib/Antd4/badge/style/rtl.less +0 -103
- package/lib/Antd4/badge/utils.js +0 -5
- package/lib/Antd4/breadcrumb/Breadcrumb.js +0 -116
- package/lib/Antd4/breadcrumb/BreadcrumbItem.js +0 -60
- package/lib/Antd4/breadcrumb/BreadcrumbSeparator.js +0 -13
- package/lib/Antd4/breadcrumb/style/css.js +0 -5
- package/lib/Antd4/breadcrumb/style/index-pure.less +0 -56
- package/lib/Antd4/breadcrumb/style/index.js +0 -5
- package/lib/Antd4/breadcrumb/style/index.less +0 -3
- package/lib/Antd4/breadcrumb/style/rtl.less +0 -29
- package/lib/Antd4/button/LoadingIcon.js +0 -52
- package/lib/Antd4/button/button-group.js +0 -50
- package/lib/Antd4/button/button.js +0 -221
- package/lib/Antd4/button/index.js +0 -2
- package/lib/Antd4/button/style/css.js +0 -2
- package/lib/Antd4/button/style/index-pure.less +0 -290
- package/lib/Antd4/button/style/index.js +0 -2
- package/lib/Antd4/button/style/index.less +0 -3
- package/lib/Antd4/button/style/mixin.less +0 -593
- package/lib/Antd4/button/style/rtl.less +0 -97
- package/lib/Antd4/calendar/Header.js +0 -143
- package/lib/Antd4/calendar/generateCalendar.js +0 -171
- package/lib/Antd4/calendar/index.js +0 -4
- package/lib/Antd4/calendar/style/css.js +0 -7
- package/lib/Antd4/calendar/style/index-pure.less +0 -196
- package/lib/Antd4/calendar/style/index.js +0 -7
- package/lib/Antd4/calendar/style/index.less +0 -3
- package/lib/Antd4/calendar/style/rtl.less +0 -46
- package/lib/Antd4/card/Grid.js +0 -31
- package/lib/Antd4/card/Meta.js +0 -43
- package/lib/Antd4/card/index.js +0 -169
- package/lib/Antd4/card/style/css.js +0 -6
- package/lib/Antd4/card/style/index-pure.less +0 -308
- package/lib/Antd4/card/style/index.js +0 -6
- package/lib/Antd4/card/style/index.less +0 -3
- package/lib/Antd4/card/style/size.less +0 -20
- package/lib/Antd4/carousel/index.js +0 -73
- package/lib/Antd4/carousel/style/css.js +0 -2
- package/lib/Antd4/carousel/style/index-pure.less +0 -294
- package/lib/Antd4/carousel/style/index.js +0 -2
- package/lib/Antd4/carousel/style/index.less +0 -3
- package/lib/Antd4/carousel/style/rtl.less +0 -54
- package/lib/Antd4/cascader/index.js +0 -196
- package/lib/Antd4/cascader/style/css.js +0 -5
- package/lib/Antd4/cascader/style/index-pure.less +0 -104
- package/lib/Antd4/cascader/style/index.js +0 -5
- package/lib/Antd4/cascader/style/index.less +0 -3
- package/lib/Antd4/cascader/style/rtl.less +0 -19
- package/lib/Antd4/checkbox/Checkbox.js +0 -90
- package/lib/Antd4/checkbox/Group.js +0 -132
- package/lib/Antd4/checkbox/index.js +0 -6
- package/lib/Antd4/checkbox/style/css.js +0 -2
- package/lib/Antd4/checkbox/style/index-pure.less +0 -6
- package/lib/Antd4/checkbox/style/index.js +0 -2
- package/lib/Antd4/checkbox/style/index.less +0 -3
- package/lib/Antd4/checkbox/style/mixin.less +0 -234
- package/lib/Antd4/checkbox/style/rtl.less +0 -28
- package/lib/Antd4/col/index.js +0 -2
- package/lib/Antd4/col/style/css.js +0 -4
- package/lib/Antd4/col/style/index.js +0 -4
- package/lib/Antd4/collapse/Collapse.js +0 -80
- package/lib/Antd4/collapse/CollapsePanel.js +0 -24
- package/lib/Antd4/collapse/index.js +0 -2
- package/lib/Antd4/collapse/style/css.js +0 -2
- package/lib/Antd4/collapse/style/index-pure.less +0 -162
- package/lib/Antd4/collapse/style/index.js +0 -2
- package/lib/Antd4/collapse/style/index.less +0 -3
- package/lib/Antd4/collapse/style/rtl.less +0 -48
- package/lib/Antd4/comment/index.js +0 -68
- package/lib/Antd4/comment/style/css.js +0 -2
- package/lib/Antd4/comment/style/index-pure.less +0 -105
- package/lib/Antd4/comment/style/index.js +0 -2
- package/lib/Antd4/comment/style/index.less +0 -3
- package/lib/Antd4/comment/style/rtl.less +0 -51
- package/lib/Antd4/config-provider/DisabledContext.js +0 -11
- package/lib/Antd4/config-provider/SizeContext.js +0 -12
- package/lib/Antd4/config-provider/context.js +0 -35
- package/lib/Antd4/config-provider/cssVariables.js +0 -88
- package/lib/Antd4/config-provider/index.js +0 -181
- package/lib/Antd4/config-provider/renderEmpty.js +0 -28
- package/lib/Antd4/config-provider/style/css.js +0 -1
- package/lib/Antd4/config-provider/style/index-pure.less +0 -2
- package/lib/Antd4/config-provider/style/index.js +0 -1
- package/lib/Antd4/config-provider/style/index.less +0 -3
- package/lib/Antd4/date-picker/PickerButton.js +0 -9
- package/lib/Antd4/date-picker/PickerTag.js +0 -8
- package/lib/Antd4/date-picker/generatePicker/generateRangePicker.js +0 -152
- package/lib/Antd4/date-picker/generatePicker/generateSinglePicker.js +0 -174
- package/lib/Antd4/date-picker/generatePicker/index.js +0 -72
- package/lib/Antd4/date-picker/index.js +0 -4
- package/lib/Antd4/date-picker/locale/ar_EG.js +0 -18
- package/lib/Antd4/date-picker/locale/az_AZ.js +0 -11
- package/lib/Antd4/date-picker/locale/bg_BG.js +0 -14
- package/lib/Antd4/date-picker/locale/bn_BD.js +0 -21
- package/lib/Antd4/date-picker/locale/by_BY.js +0 -18
- package/lib/Antd4/date-picker/locale/ca_ES.js +0 -14
- package/lib/Antd4/date-picker/locale/cs_CZ.js +0 -14
- package/lib/Antd4/date-picker/locale/da_DK.js +0 -14
- package/lib/Antd4/date-picker/locale/de_DE.js +0 -14
- package/lib/Antd4/date-picker/locale/el_GR.js +0 -14
- package/lib/Antd4/date-picker/locale/en_GB.js +0 -22
- package/lib/Antd4/date-picker/locale/en_US.js +0 -22
- package/lib/Antd4/date-picker/locale/es_ES.js +0 -14
- package/lib/Antd4/date-picker/locale/et_EE.js +0 -14
- package/lib/Antd4/date-picker/locale/fa_IR.js +0 -21
- package/lib/Antd4/date-picker/locale/fi_FI.js +0 -14
- package/lib/Antd4/date-picker/locale/fr_BE.js +0 -14
- package/lib/Antd4/date-picker/locale/fr_CA.js +0 -21
- package/lib/Antd4/date-picker/locale/fr_FR.js +0 -21
- package/lib/Antd4/date-picker/locale/ga_IE.js +0 -21
- package/lib/Antd4/date-picker/locale/gl_ES.js +0 -14
- package/lib/Antd4/date-picker/locale/he_IL.js +0 -14
- package/lib/Antd4/date-picker/locale/hi_IN.js +0 -21
- package/lib/Antd4/date-picker/locale/hr_HR.js +0 -21
- package/lib/Antd4/date-picker/locale/hu_HU.js +0 -14
- package/lib/Antd4/date-picker/locale/id_ID.js +0 -14
- package/lib/Antd4/date-picker/locale/is_IS.js +0 -14
- package/lib/Antd4/date-picker/locale/it_IT.js +0 -14
- package/lib/Antd4/date-picker/locale/ja_JP.js +0 -14
- package/lib/Antd4/date-picker/locale/ka_GE.js +0 -18
- package/lib/Antd4/date-picker/locale/kk_KZ.js +0 -21
- package/lib/Antd4/date-picker/locale/km_KH.js +0 -21
- package/lib/Antd4/date-picker/locale/kmr_IQ.js +0 -14
- package/lib/Antd4/date-picker/locale/kn_IN.js +0 -14
- package/lib/Antd4/date-picker/locale/ko_KR.js +0 -14
- package/lib/Antd4/date-picker/locale/lt_LT.js +0 -21
- package/lib/Antd4/date-picker/locale/lv_LV.js +0 -14
- package/lib/Antd4/date-picker/locale/mk_MK.js +0 -14
- package/lib/Antd4/date-picker/locale/ml_IN.js +0 -21
- package/lib/Antd4/date-picker/locale/mn_MN.js +0 -14
- package/lib/Antd4/date-picker/locale/ms_MY.js +0 -14
- package/lib/Antd4/date-picker/locale/nb_NO.js +0 -21
- package/lib/Antd4/date-picker/locale/nl_BE.js +0 -21
- package/lib/Antd4/date-picker/locale/nl_NL.js +0 -21
- package/lib/Antd4/date-picker/locale/pl_PL.js +0 -14
- package/lib/Antd4/date-picker/locale/pt_BR.js +0 -14
- package/lib/Antd4/date-picker/locale/pt_PT.js +0 -42
- package/lib/Antd4/date-picker/locale/ro_RO.js +0 -14
- package/lib/Antd4/date-picker/locale/ru_RU.js +0 -23
- package/lib/Antd4/date-picker/locale/sk_SK.js +0 -14
- package/lib/Antd4/date-picker/locale/sl_SI.js +0 -40
- package/lib/Antd4/date-picker/locale/sr_RS.js +0 -21
- package/lib/Antd4/date-picker/locale/sv_SE.js +0 -21
- package/lib/Antd4/date-picker/locale/ta_IN.js +0 -15
- package/lib/Antd4/date-picker/locale/th_TH.js +0 -21
- package/lib/Antd4/date-picker/locale/tr_TR.js +0 -21
- package/lib/Antd4/date-picker/locale/uk_UA.js +0 -14
- package/lib/Antd4/date-picker/locale/ur_PK.js +0 -21
- package/lib/Antd4/date-picker/locale/vi_VN.js +0 -14
- package/lib/Antd4/date-picker/locale/zh_CN.js +0 -24
- package/lib/Antd4/date-picker/locale/zh_TW.js +0 -23
- package/lib/Antd4/date-picker/style/css.js +0 -4
- package/lib/Antd4/date-picker/style/index-pure.less +0 -364
- package/lib/Antd4/date-picker/style/index.js +0 -4
- package/lib/Antd4/date-picker/style/index.less +0 -3
- package/lib/Antd4/date-picker/style/panel.less +0 -677
- package/lib/Antd4/date-picker/style/rtl.less +0 -246
- package/lib/Antd4/date-picker/style/status.less +0 -52
- package/lib/Antd4/date-picker/util.js +0 -94
- package/lib/Antd4/descriptions/Cell.js +0 -46
- package/lib/Antd4/descriptions/Row.js +0 -100
- package/lib/Antd4/descriptions/index.js +0 -149
- package/lib/Antd4/descriptions/style/css.js +0 -2
- package/lib/Antd4/descriptions/style/index-pure.less +0 -179
- package/lib/Antd4/descriptions/style/index.js +0 -2
- package/lib/Antd4/descriptions/style/index.less +0 -3
- package/lib/Antd4/descriptions/style/rtl.less +0 -33
- package/lib/Antd4/divider/index.js +0 -52
- package/lib/Antd4/divider/style/css.js +0 -2
- package/lib/Antd4/divider/style/index-pure.less +0 -137
- package/lib/Antd4/divider/style/index.js +0 -2
- package/lib/Antd4/divider/style/index.less +0 -3
- package/lib/Antd4/divider/style/rtl.less +0 -38
- package/lib/Antd4/drawer/index.js +0 -247
- package/lib/Antd4/drawer/style/css.js +0 -3
- package/lib/Antd4/drawer/style/drawer.less +0 -249
- package/lib/Antd4/drawer/style/index-pure.less +0 -6
- package/lib/Antd4/drawer/style/index.js +0 -3
- package/lib/Antd4/drawer/style/index.less +0 -3
- package/lib/Antd4/drawer/style/rtl.less +0 -16
- package/lib/Antd4/dropdown/dropdown-button.js +0 -99
- package/lib/Antd4/dropdown/dropdown.js +0 -119
- package/lib/Antd4/dropdown/index.js +0 -2
- package/lib/Antd4/dropdown/style/css.js +0 -4
- package/lib/Antd4/dropdown/style/index-pure.less +0 -393
- package/lib/Antd4/dropdown/style/index.js +0 -4
- package/lib/Antd4/dropdown/style/index.less +0 -3
- package/lib/Antd4/dropdown/style/rtl.less +0 -90
- package/lib/Antd4/dropdown/style/status.less +0 -14
- package/lib/Antd4/empty/empty.js +0 -52
- package/lib/Antd4/empty/index.js +0 -63
- package/lib/Antd4/empty/simple.js +0 -33
- package/lib/Antd4/empty/style/css.js +0 -2
- package/lib/Antd4/empty/style/index-pure.less +0 -151
- package/lib/Antd4/empty/style/index.js +0 -2
- package/lib/Antd4/empty/style/index.less +0 -3
- package/lib/Antd4/empty/style/rtl.less +0 -10
- package/lib/Antd4/form/ErrorList.js +0 -80
- package/lib/Antd4/form/Form.js +0 -112
- package/lib/Antd4/form/FormItem.js +0 -295
- package/lib/Antd4/form/FormItemInput.js +0 -63
- package/lib/Antd4/form/FormItemLabel.js +0 -99
- package/lib/Antd4/form/FormList.js +0 -44
- package/lib/Antd4/form/context.js +0 -27
- package/lib/Antd4/form/hooks/useDebounce.js +0 -17
- package/lib/Antd4/form/hooks/useForm.js +0 -49
- package/lib/Antd4/form/hooks/useFrameState.js +0 -39
- package/lib/Antd4/form/hooks/useItemRef.js +0 -20
- package/lib/Antd4/form/index.js +0 -16
- package/lib/Antd4/form/style/components.less +0 -72
- package/lib/Antd4/form/style/css.js +0 -5
- package/lib/Antd4/form/style/horizontal.less +0 -20
- package/lib/Antd4/form/style/index-pure.less +0 -304
- package/lib/Antd4/form/style/index.js +0 -5
- package/lib/Antd4/form/style/index.less +0 -3
- package/lib/Antd4/form/style/inline.less +0 -38
- package/lib/Antd4/form/style/mixin.less +0 -82
- package/lib/Antd4/form/style/rtl.less +0 -204
- package/lib/Antd4/form/style/status.less +0 -42
- package/lib/Antd4/form/style/vertical.less +0 -87
- package/lib/Antd4/form/util.js +0 -18
- package/lib/Antd4/form4-24-7/ErrorList.js +0 -84
- package/lib/Antd4/form4-24-7/Form.js +0 -117
- package/lib/Antd4/form4-24-7/FormItem/ItemHolder.js +0 -132
- package/lib/Antd4/form4-24-7/FormItem/index.js +0 -262
- package/lib/Antd4/form4-24-7/FormItemInput.js +0 -85
- package/lib/Antd4/form4-24-7/FormItemLabel.js +0 -97
- package/lib/Antd4/form4-24-7/FormList.js +0 -42
- package/lib/Antd4/form4-24-7/context.js +0 -40
- package/lib/Antd4/form4-24-7/hooks/useDebounce.js +0 -17
- package/lib/Antd4/form4-24-7/hooks/useForm.js +0 -49
- package/lib/Antd4/form4-24-7/hooks/useFormItemStatus.js +0 -12
- package/lib/Antd4/form4-24-7/hooks/useFrameState.js +0 -41
- package/lib/Antd4/form4-24-7/hooks/useItemRef.js +0 -20
- package/lib/Antd4/form4-24-7/index.js +0 -19
- package/lib/Antd4/form4-24-7/style/components.less +0 -16
- package/lib/Antd4/form4-24-7/style/css.js +0 -5
- package/lib/Antd4/form4-24-7/style/horizontal.less +0 -22
- package/lib/Antd4/form4-24-7/style/index-pure.less +0 -332
- package/lib/Antd4/form4-24-7/style/index.js +0 -5
- package/lib/Antd4/form4-24-7/style/index.less +0 -3
- package/lib/Antd4/form4-24-7/style/inline.less +0 -38
- package/lib/Antd4/form4-24-7/style/mixin.less +0 -78
- package/lib/Antd4/form4-24-7/style/rtl.less +0 -204
- package/lib/Antd4/form4-24-7/style/status.less +0 -42
- package/lib/Antd4/form4-24-7/style/vertical.less +0 -93
- package/lib/Antd4/form4-24-7/util.js +0 -18
- package/lib/Antd4/grid/col.js +0 -91
- package/lib/Antd4/grid/hooks/useBreakpoint.js +0 -21
- package/lib/Antd4/grid/index.js +0 -11
- package/lib/Antd4/grid/row.js +0 -123
- package/lib/Antd4/grid/style/css.js +0 -2
- package/lib/Antd4/grid/style/index-pure.less +0 -118
- package/lib/Antd4/grid/style/index.js +0 -2
- package/lib/Antd4/grid/style/index.less +0 -3
- package/lib/Antd4/grid/style/mixin.less +0 -56
- package/lib/Antd4/grid/style/rtl.less +0 -69
- package/lib/Antd4/icon/__tests__/logo.svg +0 -0
- package/lib/Antd4/icon/index.js +0 -6
- package/lib/Antd4/icon/style/css.js +0 -2
- package/lib/Antd4/icon/style/index-pure.less +0 -4
- package/lib/Antd4/icon/style/index.js +0 -2
- package/lib/Antd4/icon/style/index.less +0 -3
- package/lib/Antd4/image/PreviewGroup.js +0 -57
- package/lib/Antd4/image/index.js +0 -54
- package/lib/Antd4/image/style/css.js +0 -2
- package/lib/Antd4/image/style/index-pure.less +0 -181
- package/lib/Antd4/image/style/index.js +0 -2
- package/lib/Antd4/image/style/index.less +0 -3
- package/lib/Antd4/input/ClearableLabeledInput.js +0 -95
- package/lib/Antd4/input/Group.js +0 -25
- package/lib/Antd4/input/Input.js +0 -189
- package/lib/Antd4/input/Password.js +0 -93
- package/lib/Antd4/input/Search.js +0 -116
- package/lib/Antd4/input/TextArea.js +0 -195
- package/lib/Antd4/input/index.js +0 -11
- package/lib/Antd4/input/style/IE11.less +0 -20
- package/lib/Antd4/input/style/affix.less +0 -74
- package/lib/Antd4/input/style/allow-clear.less +0 -44
- package/lib/Antd4/input/style/css.js +0 -5
- package/lib/Antd4/input/style/index-pure.less +0 -69
- package/lib/Antd4/input/style/index.js +0 -5
- package/lib/Antd4/input/style/index.less +0 -3
- package/lib/Antd4/input/style/mixin.less +0 -474
- package/lib/Antd4/input/style/rtl.less +0 -206
- package/lib/Antd4/input/style/search-input.less +0 -71
- package/lib/Antd4/input/style/status.less +0 -82
- package/lib/Antd4/input/utils.js +0 -4
- package/lib/Antd4/input-number/index.js +0 -134
- package/lib/Antd4/input-number/style/affix.less +0 -83
- package/lib/Antd4/input-number/style/css.js +0 -2
- package/lib/Antd4/input-number/style/index-pure.less +0 -235
- package/lib/Antd4/input-number/style/index.js +0 -2
- package/lib/Antd4/input-number/style/index.less +0 -3
- package/lib/Antd4/input-number/style/rtl.less +0 -48
- package/lib/Antd4/input-number/style/status.less +0 -45
- package/lib/Antd4/layout/Sider.js +0 -186
- package/lib/Antd4/layout/index.js +0 -8
- package/lib/Antd4/layout/layout.js +0 -122
- package/lib/Antd4/layout/style/css.js +0 -2
- package/lib/Antd4/layout/style/index-pure.less +0 -145
- package/lib/Antd4/layout/style/index.js +0 -2
- package/lib/Antd4/layout/style/index.less +0 -3
- package/lib/Antd4/layout/style/light.less +0 -11
- package/lib/Antd4/layout/style/rtl.less +0 -10
- package/lib/Antd4/list/Item.js +0 -104
- package/lib/Antd4/list/index.js +0 -214
- package/lib/Antd4/list/style/bordered.less +0 -44
- package/lib/Antd4/list/style/css.js +0 -7
- package/lib/Antd4/list/style/customize.less +0 -13
- package/lib/Antd4/list/style/index-pure.less +0 -249
- package/lib/Antd4/list/style/index.js +0 -7
- package/lib/Antd4/list/style/index.less +0 -3
- package/lib/Antd4/list/style/responsive.less +0 -43
- package/lib/Antd4/list/style/rtl.less +0 -139
- package/lib/Antd4/locale/ar_EG.js +0 -116
- package/lib/Antd4/locale/az_AZ.js +0 -45
- package/lib/Antd4/locale/bg_BG.js +0 -43
- package/lib/Antd4/locale/bn_BD.js +0 -130
- package/lib/Antd4/locale/by_BY.js +0 -124
- package/lib/Antd4/locale/ca_ES.js +0 -125
- package/lib/Antd4/locale/cs_CZ.js +0 -54
- package/lib/Antd4/locale/da_DK.js +0 -53
- package/lib/Antd4/locale/de_DE.js +0 -123
- package/lib/Antd4/locale/default.js +0 -132
- package/lib/Antd4/locale/el_GR.js +0 -43
- package/lib/Antd4/locale/en_GB.js +0 -104
- package/lib/Antd4/locale/en_US.js +0 -2
- package/lib/Antd4/locale/es_ES.js +0 -130
- package/lib/Antd4/locale/et_EE.js +0 -132
- package/lib/Antd4/locale/fa_IR.js +0 -130
- package/lib/Antd4/locale/fi_FI.js +0 -53
- package/lib/Antd4/locale/fr_BE.js +0 -47
- package/lib/Antd4/locale/fr_CA.js +0 -59
- package/lib/Antd4/locale/fr_FR.js +0 -127
- package/lib/Antd4/locale/ga_IE.js +0 -123
- package/lib/Antd4/locale/gl_ES.js +0 -110
- package/lib/Antd4/locale/he_IL.js +0 -116
- package/lib/Antd4/locale/hi_IN.js +0 -130
- package/lib/Antd4/locale/hr_HR.js +0 -129
- package/lib/Antd4/locale/hu_HU.js +0 -44
- package/lib/Antd4/locale/hy_AM.js +0 -109
- package/lib/Antd4/locale/id_ID.js +0 -45
- package/lib/Antd4/locale/is_IS.js +0 -43
- package/lib/Antd4/locale/it_IT.js +0 -61
- package/lib/Antd4/locale/ja_JP.js +0 -102
- package/lib/Antd4/locale/ka_GE.js +0 -130
- package/lib/Antd4/locale/kk_KZ.js +0 -124
- package/lib/Antd4/locale/km_KH.js +0 -104
- package/lib/Antd4/locale/kmr_IQ.js +0 -43
- package/lib/Antd4/locale/kn_IN.js +0 -51
- package/lib/Antd4/locale/ko_KR.js +0 -96
- package/lib/Antd4/locale/ku_IQ.js +0 -46
- package/lib/Antd4/locale/lt_LT.js +0 -121
- package/lib/Antd4/locale/lv_LV.js +0 -43
- package/lib/Antd4/locale/mk_MK.js +0 -58
- package/lib/Antd4/locale/ml_IN.js +0 -130
- package/lib/Antd4/locale/mn_MN.js +0 -43
- package/lib/Antd4/locale/ms_MY.js +0 -63
- package/lib/Antd4/locale/nb_NO.js +0 -124
- package/lib/Antd4/locale/ne_NP.js +0 -44
- package/lib/Antd4/locale/nl_BE.js +0 -130
- package/lib/Antd4/locale/nl_NL.js +0 -130
- package/lib/Antd4/locale/pl_PL.js +0 -132
- package/lib/Antd4/locale/pt_BR.js +0 -130
- package/lib/Antd4/locale/pt_PT.js +0 -44
- package/lib/Antd4/locale/ro_RO.js +0 -130
- package/lib/Antd4/locale/ru_RU.js +0 -128
- package/lib/Antd4/locale/sk_SK.js +0 -132
- package/lib/Antd4/locale/sl_SI.js +0 -43
- package/lib/Antd4/locale/sr_RS.js +0 -130
- package/lib/Antd4/locale/sv_SE.js +0 -130
- package/lib/Antd4/locale/ta_IN.js +0 -63
- package/lib/Antd4/locale/th_TH.js +0 -126
- package/lib/Antd4/locale/tr_TR.js +0 -128
- package/lib/Antd4/locale/uk_UA.js +0 -43
- package/lib/Antd4/locale/ur_PK.js +0 -130
- package/lib/Antd4/locale/vi_VN.js +0 -43
- package/lib/Antd4/locale/zh_CN.js +0 -131
- package/lib/Antd4/locale/zh_HK.js +0 -127
- package/lib/Antd4/locale/zh_TW.js +0 -128
- package/lib/Antd4/locale-provider/LocaleReceiver.js +0 -59
- package/lib/Antd4/locale-provider/ar_EG.js +0 -2
- package/lib/Antd4/locale-provider/az_AZ.js +0 -2
- package/lib/Antd4/locale-provider/bg_BG.js +0 -2
- package/lib/Antd4/locale-provider/bn_BD.js +0 -2
- package/lib/Antd4/locale-provider/by_BY.js +0 -2
- package/lib/Antd4/locale-provider/ca_ES.js +0 -2
- package/lib/Antd4/locale-provider/cs_CZ.js +0 -2
- package/lib/Antd4/locale-provider/da_DK.js +0 -2
- package/lib/Antd4/locale-provider/de_DE.js +0 -2
- package/lib/Antd4/locale-provider/default.js +0 -2
- package/lib/Antd4/locale-provider/el_GR.js +0 -2
- package/lib/Antd4/locale-provider/en_GB.js +0 -2
- package/lib/Antd4/locale-provider/en_US.js +0 -2
- package/lib/Antd4/locale-provider/es_ES.js +0 -2
- package/lib/Antd4/locale-provider/et_EE.js +0 -2
- package/lib/Antd4/locale-provider/fa_IR.js +0 -2
- package/lib/Antd4/locale-provider/fi_FI.js +0 -2
- package/lib/Antd4/locale-provider/fr_BE.js +0 -2
- package/lib/Antd4/locale-provider/fr_CA.js +0 -2
- package/lib/Antd4/locale-provider/fr_FR.js +0 -2
- package/lib/Antd4/locale-provider/ga_IE.js +0 -2
- package/lib/Antd4/locale-provider/gl_ES.js +0 -2
- package/lib/Antd4/locale-provider/he_IL.js +0 -2
- package/lib/Antd4/locale-provider/hi_IN.js +0 -2
- package/lib/Antd4/locale-provider/hr_HR.js +0 -2
- package/lib/Antd4/locale-provider/hu_HU.js +0 -2
- package/lib/Antd4/locale-provider/hy_AM.js +0 -2
- package/lib/Antd4/locale-provider/id_ID.js +0 -2
- package/lib/Antd4/locale-provider/index.js +0 -63
- package/lib/Antd4/locale-provider/is_IS.js +0 -2
- package/lib/Antd4/locale-provider/it_IT.js +0 -2
- package/lib/Antd4/locale-provider/ja_JP.js +0 -2
- package/lib/Antd4/locale-provider/ka_GE.js +0 -2
- package/lib/Antd4/locale-provider/kk_KZ.js +0 -2
- package/lib/Antd4/locale-provider/km_KH.js +0 -2
- package/lib/Antd4/locale-provider/kmr_IQ.js +0 -2
- package/lib/Antd4/locale-provider/kn_IN.js +0 -2
- package/lib/Antd4/locale-provider/ko_KR.js +0 -2
- package/lib/Antd4/locale-provider/ku_IQ.js +0 -2
- package/lib/Antd4/locale-provider/lt_LT.js +0 -2
- package/lib/Antd4/locale-provider/lv_LV.js +0 -2
- package/lib/Antd4/locale-provider/mk_MK.js +0 -2
- package/lib/Antd4/locale-provider/ml_IN.js +0 -2
- package/lib/Antd4/locale-provider/mn_MN.js +0 -2
- package/lib/Antd4/locale-provider/ms_MY.js +0 -2
- package/lib/Antd4/locale-provider/nb_NO.js +0 -2
- package/lib/Antd4/locale-provider/ne_NP.js +0 -2
- package/lib/Antd4/locale-provider/nl_BE.js +0 -2
- package/lib/Antd4/locale-provider/nl_NL.js +0 -2
- package/lib/Antd4/locale-provider/pl_PL.js +0 -2
- package/lib/Antd4/locale-provider/pt_BR.js +0 -2
- package/lib/Antd4/locale-provider/pt_PT.js +0 -2
- package/lib/Antd4/locale-provider/ro_RO.js +0 -2
- package/lib/Antd4/locale-provider/ru_RU.js +0 -2
- package/lib/Antd4/locale-provider/sk_SK.js +0 -2
- package/lib/Antd4/locale-provider/sl_SI.js +0 -2
- package/lib/Antd4/locale-provider/sr_RS.js +0 -2
- package/lib/Antd4/locale-provider/style/css.js +0 -1
- package/lib/Antd4/locale-provider/style/index-pure.less +0 -2
- package/lib/Antd4/locale-provider/style/index.js +0 -1
- package/lib/Antd4/locale-provider/style/index.less +0 -3
- package/lib/Antd4/locale-provider/sv_SE.js +0 -2
- package/lib/Antd4/locale-provider/ta_IN.js +0 -2
- package/lib/Antd4/locale-provider/th_TH.js +0 -2
- package/lib/Antd4/locale-provider/tr_TR.js +0 -2
- package/lib/Antd4/locale-provider/uk_UA.js +0 -2
- package/lib/Antd4/locale-provider/ur_PK.js +0 -2
- package/lib/Antd4/locale-provider/vi_VN.js +0 -2
- package/lib/Antd4/locale-provider/zh_CN.js +0 -2
- package/lib/Antd4/locale-provider/zh_HK.js +0 -2
- package/lib/Antd4/locale-provider/zh_TW.js +0 -2
- package/lib/Antd4/mentions/index.js +0 -141
- package/lib/Antd4/mentions/style/css.js +0 -4
- package/lib/Antd4/mentions/style/index-pure.less +0 -168
- package/lib/Antd4/mentions/style/index.js +0 -4
- package/lib/Antd4/mentions/style/index.less +0 -3
- package/lib/Antd4/mentions/style/rtl.less +0 -10
- package/lib/Antd4/mentions/style/status.less +0 -43
- package/lib/Antd4/menu/MenuDivider.js +0 -30
- package/lib/Antd4/menu/MenuItem.js +0 -114
- package/lib/Antd4/menu/SubMenu.js +0 -48
- package/lib/Antd4/menu/index.js +0 -120
- package/lib/Antd4/menu/style/css.js +0 -5
- package/lib/Antd4/menu/style/dark.less +0 -177
- package/lib/Antd4/menu/style/index-pure.less +0 -700
- package/lib/Antd4/menu/style/index.js +0 -5
- package/lib/Antd4/menu/style/index.less +0 -3
- package/lib/Antd4/menu/style/light.less +0 -12
- package/lib/Antd4/menu/style/rtl.less +0 -165
- package/lib/Antd4/menu/style/status.less +0 -49
- package/lib/Antd4/message/hooks/useMessage.js +0 -75
- package/lib/Antd4/message/index-copy.js +0 -212
- package/lib/Antd4/message/index.js +0 -3
- package/lib/Antd4/message/style/css.js +0 -2
- package/lib/Antd4/message/style/index-pure.less +0 -74
- package/lib/Antd4/message/style/index.js +0 -2
- package/lib/Antd4/message/style/index.less +0 -3
- package/lib/Antd4/message/style/rtl.less +0 -17
- package/lib/Antd4/modal/ConfirmDialog.js +0 -108
- package/lib/Antd4/modal/Modal.js +0 -110
- package/lib/Antd4/modal/confirm.js +0 -158
- package/lib/Antd4/modal/index.js +0 -33
- package/lib/Antd4/modal/locale.js +0 -13
- package/lib/Antd4/modal/style/confirm.less +0 -74
- package/lib/Antd4/modal/style/css.js +0 -4
- package/lib/Antd4/modal/style/index-pure.less +0 -7
- package/lib/Antd4/modal/style/index.js +0 -4
- package/lib/Antd4/modal/style/index.less +0 -3
- package/lib/Antd4/modal/style/modal.less +0 -136
- package/lib/Antd4/modal/style/rtl.less +0 -74
- package/lib/Antd4/modal/useModal/HookModal.js +0 -63
- package/lib/Antd4/modal/useModal/index.js +0 -96
- package/lib/Antd4/notification/hooks/useNotification.js +0 -51
- package/lib/Antd4/notification/index.js +0 -301
- package/lib/Antd4/notification/style/css.js +0 -2
- package/lib/Antd4/notification/style/index-pure.less +0 -207
- package/lib/Antd4/notification/style/index.js +0 -2
- package/lib/Antd4/notification/style/index.less +0 -3
- package/lib/Antd4/notification/style/placement.less +0 -68
- package/lib/Antd4/notification/style/rtl.less +0 -53
- package/lib/Antd4/page-header/index.js +0 -143
- package/lib/Antd4/page-header/style/css.js +0 -5
- package/lib/Antd4/page-header/style/index-pure.less +0 -123
- package/lib/Antd4/page-header/style/index.js +0 -5
- package/lib/Antd4/page-header/style/index.less +0 -3
- package/lib/Antd4/page-header/style/rtl.less +0 -77
- package/lib/Antd4/pagination/Pagination.js +0 -104
- package/lib/Antd4/pagination/Select.js +0 -16
- package/lib/Antd4/pagination/index.js +0 -2
- package/lib/Antd4/pagination/style/css.js +0 -5
- package/lib/Antd4/pagination/style/index-pure.less +0 -472
- package/lib/Antd4/pagination/style/index.js +0 -5
- package/lib/Antd4/pagination/style/index.less +0 -3
- package/lib/Antd4/pagination/style/rtl.less +0 -55
- package/lib/Antd4/popconfirm/index.js +0 -142
- package/lib/Antd4/popconfirm/style/css.js +0 -6
- package/lib/Antd4/popconfirm/style/index-pure.less +0 -8
- package/lib/Antd4/popconfirm/style/index.js +0 -6
- package/lib/Antd4/popconfirm/style/index.less +0 -3
- package/lib/Antd4/popover/index.js +0 -49
- package/lib/Antd4/popover/style/css.js +0 -3
- package/lib/Antd4/popover/style/index-pure.less +0 -258
- package/lib/Antd4/popover/style/index.js +0 -3
- package/lib/Antd4/popover/style/index.less +0 -3
- package/lib/Antd4/popover/style/rtl.less +0 -33
- package/lib/Antd4/progress/Circle.js +0 -75
- package/lib/Antd4/progress/Line.js +0 -121
- package/lib/Antd4/progress/Steps.js +0 -33
- package/lib/Antd4/progress/index.js +0 -2
- package/lib/Antd4/progress/progress.js +0 -147
- package/lib/Antd4/progress/style/css.js +0 -2
- package/lib/Antd4/progress/style/index-pure.less +0 -210
- package/lib/Antd4/progress/style/index.js +0 -2
- package/lib/Antd4/progress/style/index.less +0 -3
- package/lib/Antd4/progress/style/rtl.less +0 -37
- package/lib/Antd4/progress/utils.js +0 -25
- package/lib/Antd4/radio/context.js +0 -4
- package/lib/Antd4/radio/group.js +0 -98
- package/lib/Antd4/radio/index.js +0 -8
- package/lib/Antd4/radio/radio.js +0 -66
- package/lib/Antd4/radio/radioButton.js +0 -34
- package/lib/Antd4/radio/style/css.js +0 -2
- package/lib/Antd4/radio/style/index-pure.less +0 -359
- package/lib/Antd4/radio/style/index.js +0 -2
- package/lib/Antd4/radio/style/index.less +0 -3
- package/lib/Antd4/radio/style/rtl.less +0 -61
- package/lib/Antd4/rate/index.js +0 -44
- package/lib/Antd4/rate/style/css.js +0 -4
- package/lib/Antd4/rate/style/index-pure.less +0 -91
- package/lib/Antd4/rate/style/index.js +0 -4
- package/lib/Antd4/rate/style/index.less +0 -3
- package/lib/Antd4/rate/style/rtl.less +0 -21
- package/lib/Antd4/result/index.js +0 -90
- package/lib/Antd4/result/noFound.js +0 -237
- package/lib/Antd4/result/serverError.js +0 -277
- package/lib/Antd4/result/style/css.js +0 -2
- package/lib/Antd4/result/style/index-pure.less +0 -75
- package/lib/Antd4/result/style/index.js +0 -2
- package/lib/Antd4/result/style/index.less +0 -3
- package/lib/Antd4/result/style/rtl.less +0 -25
- package/lib/Antd4/result/unauthorized.js +0 -227
- package/lib/Antd4/row/index.js +0 -2
- package/lib/Antd4/row/style/css.js +0 -4
- package/lib/Antd4/row/style/index.js +0 -4
- package/lib/Antd4/select/index.js +0 -131
- package/lib/Antd4/select/style/css.js +0 -4
- package/lib/Antd4/select/style/index-pure.less +0 -322
- package/lib/Antd4/select/style/index.js +0 -4
- package/lib/Antd4/select/style/index.less +0 -3
- package/lib/Antd4/select/style/multiple.less +0 -222
- package/lib/Antd4/select/style/rtl.less +0 -168
- package/lib/Antd4/select/style/single.less +0 -179
- package/lib/Antd4/select/style/status.less +0 -76
- package/lib/Antd4/select/utils/iconUtil.js +0 -73
- package/lib/Antd4/skeleton/Avatar.js +0 -27
- package/lib/Antd4/skeleton/Button.js +0 -29
- package/lib/Antd4/skeleton/Element.js +0 -24
- package/lib/Antd4/skeleton/Image.js +0 -27
- package/lib/Antd4/skeleton/Input.js +0 -28
- package/lib/Antd4/skeleton/Paragraph.js +0 -38
- package/lib/Antd4/skeleton/Skeleton.js +0 -130
- package/lib/Antd4/skeleton/Title.js +0 -18
- package/lib/Antd4/skeleton/style/css.js +0 -2
- package/lib/Antd4/skeleton/style/index-pure.less +0 -285
- package/lib/Antd4/skeleton/style/index.js +0 -2
- package/lib/Antd4/skeleton/style/index.less +0 -3
- package/lib/Antd4/skeleton/style/rtl.less +0 -48
- package/lib/Antd4/slider/SliderTooltip.js +0 -34
- package/lib/Antd4/slider/index.js +0 -111
- package/lib/Antd4/slider/style/css.js +0 -4
- package/lib/Antd4/slider/style/index-pure.less +0 -206
- package/lib/Antd4/slider/style/index.js +0 -4
- package/lib/Antd4/slider/style/index.less +0 -3
- package/lib/Antd4/slider/style/rtl.less +0 -49
- package/lib/Antd4/space/Item.js +0 -42
- package/lib/Antd4/space/index.js +0 -118
- package/lib/Antd4/space/style/css.js +0 -2
- package/lib/Antd4/space/style/index-pure.less +0 -39
- package/lib/Antd4/space/style/index.js +0 -2
- package/lib/Antd4/space/style/index.less +0 -3
- package/lib/Antd4/space/style/rtl.less +0 -10
- package/lib/Antd4/spin/index.js +0 -176
- package/lib/Antd4/spin/style/css.js +0 -2
- package/lib/Antd4/spin/style/index-pure.less +0 -218
- package/lib/Antd4/spin/style/index.js +0 -2
- package/lib/Antd4/spin/style/index.less +0 -3
- package/lib/Antd4/spin/style/rtl.less +0 -20
- package/lib/Antd4/statistic/Countdown.js +0 -101
- package/lib/Antd4/statistic/Number.js +0 -46
- package/lib/Antd4/statistic/Statistic.js +0 -54
- package/lib/Antd4/statistic/index.js +0 -4
- package/lib/Antd4/statistic/style/css.js +0 -4
- package/lib/Antd4/statistic/style/index-pure.less +0 -40
- package/lib/Antd4/statistic/style/index.js +0 -4
- package/lib/Antd4/statistic/style/index.less +0 -3
- package/lib/Antd4/statistic/style/rtl.less +0 -21
- package/lib/Antd4/statistic/utils.js +0 -41
- package/lib/Antd4/steps/index.js +0 -85
- package/lib/Antd4/steps/style/css.js +0 -5
- package/lib/Antd4/steps/style/custom-icon.less +0 -32
- package/lib/Antd4/steps/style/index-pure.less +0 -255
- package/lib/Antd4/steps/style/index.js +0 -5
- package/lib/Antd4/steps/style/index.less +0 -3
- package/lib/Antd4/steps/style/label-placement.less +0 -45
- package/lib/Antd4/steps/style/nav.less +0 -134
- package/lib/Antd4/steps/style/progress-dot.less +0 -113
- package/lib/Antd4/steps/style/progress.less +0 -28
- package/lib/Antd4/steps/style/rtl.less +0 -253
- package/lib/Antd4/steps/style/small.less +0 -48
- package/lib/Antd4/steps/style/vertical.less +0 -73
- package/lib/Antd4/style/color/bezierEasing.less +0 -110
- package/lib/Antd4/style/color/colorPalette.less +0 -81
- package/lib/Antd4/style/color/colors.less +0 -162
- package/lib/Antd4/style/color/tinyColor.less +0 -1184
- package/lib/Antd4/style/compact.less +0 -4
- package/lib/Antd4/style/core/base.less +0 -10
- package/lib/Antd4/style/core/global.less +0 -491
- package/lib/Antd4/style/core/iconfont.less +0 -25
- package/lib/Antd4/style/core/index.less +0 -5
- package/lib/Antd4/style/core/motion/fade.less +0 -34
- package/lib/Antd4/style/core/motion/move.less +0 -129
- package/lib/Antd4/style/core/motion/other.less +0 -51
- package/lib/Antd4/style/core/motion/slide.less +0 -129
- package/lib/Antd4/style/core/motion/zoom.less +0 -179
- package/lib/Antd4/style/core/motion.less +0 -22
- package/lib/Antd4/style/css.js +0 -1
- package/lib/Antd4/style/dark.less +0 -4
- package/lib/Antd4/style/default.less +0 -4
- package/lib/Antd4/style/index-pure.less +0 -2
- package/lib/Antd4/style/index.js +0 -1
- package/lib/Antd4/style/index.less +0 -3
- package/lib/Antd4/style/mixins/box.less +0 -7
- package/lib/Antd4/style/mixins/clearfix.less +0 -16
- package/lib/Antd4/style/mixins/compatibility.less +0 -19
- package/lib/Antd4/style/mixins/customize.less +0 -181
- package/lib/Antd4/style/mixins/iconfont.less +0 -28
- package/lib/Antd4/style/mixins/index.less +0 -14
- package/lib/Antd4/style/mixins/modal-mask.less +0 -31
- package/lib/Antd4/style/mixins/motion.less +0 -33
- package/lib/Antd4/style/mixins/operation-unit.less +0 -16
- package/lib/Antd4/style/mixins/reset.less +0 -11
- package/lib/Antd4/style/mixins/rounded-arrow.less +0 -37
- package/lib/Antd4/style/mixins/size.less +0 -10
- package/lib/Antd4/style/mixins/typography.less +0 -58
- package/lib/Antd4/style/themes/compact.less +0 -295
- package/lib/Antd4/style/themes/dark.less +0 -449
- package/lib/Antd4/style/themes/default.less +0 -1072
- package/lib/Antd4/style/themes/index.less +0 -7
- package/lib/Antd4/style/themes/variable.less +0 -1127
- package/lib/Antd4/style/variable.less +0 -4
- package/lib/Antd4/switch/index.js +0 -54
- package/lib/Antd4/switch/style/css.js +0 -2
- package/lib/Antd4/switch/style/index-pure.less +0 -154
- package/lib/Antd4/switch/style/index.js +0 -2
- package/lib/Antd4/switch/style/index.less +0 -3
- package/lib/Antd4/switch/style/rtl.less +0 -52
- package/lib/Antd4/table/Column.js +0 -8
- package/lib/Antd4/table/ColumnGroup.js +0 -8
- package/lib/Antd4/table/ExpandIcon.js +0 -24
- package/lib/Antd4/table/Table.js +0 -379
- package/lib/Antd4/table/hooks/useFilter/FilterDropdown.js +0 -391
- package/lib/Antd4/table/hooks/useFilter/FilterSearch.js +0 -26
- package/lib/Antd4/table/hooks/useFilter/FilterWrapper.js +0 -10
- package/lib/Antd4/table/hooks/useFilter/index.js +0 -182
- package/lib/Antd4/table/hooks/useLazyKVMap.js +0 -30
- package/lib/Antd4/table/hooks/usePagination.js +0 -91
- package/lib/Antd4/table/hooks/useSelection.js +0 -539
- package/lib/Antd4/table/hooks/useSorter.js +0 -304
- package/lib/Antd4/table/hooks/useTitleColumns.js +0 -19
- package/lib/Antd4/table/index.js +0 -2
- package/lib/Antd4/table/interface.js +0 -2
- package/lib/Antd4/table/style/bordered.less +0 -135
- package/lib/Antd4/table/style/css.js +0 -15
- package/lib/Antd4/table/style/index-pure.less +0 -749
- package/lib/Antd4/table/style/index.js +0 -15
- package/lib/Antd4/table/style/index.less +0 -3
- package/lib/Antd4/table/style/radius.less +0 -45
- package/lib/Antd4/table/style/rtl.less +0 -168
- package/lib/Antd4/table/style/size.less +0 -56
- package/lib/Antd4/table/util.js +0 -18
- package/lib/Antd4/tabs/index.js +0 -79
- package/lib/Antd4/tabs/style/card.less +0 -98
- package/lib/Antd4/tabs/style/css.js +0 -2
- package/lib/Antd4/tabs/style/dropdown.less +0 -82
- package/lib/Antd4/tabs/style/index-pure.less +0 -224
- package/lib/Antd4/tabs/style/index.js +0 -2
- package/lib/Antd4/tabs/style/index.less +0 -3
- package/lib/Antd4/tabs/style/position.less +0 -198
- package/lib/Antd4/tabs/style/rtl.less +0 -86
- package/lib/Antd4/tabs/style/size.less +0 -42
- package/lib/Antd4/tag/CheckableTag.js +0 -37
- package/lib/Antd4/tag/index.js +0 -97
- package/lib/Antd4/tag/style/css.js +0 -2
- package/lib/Antd4/tag/style/index-pure.less +0 -129
- package/lib/Antd4/tag/style/index.js +0 -2
- package/lib/Antd4/tag/style/index.less +0 -3
- package/lib/Antd4/tag/style/rtl.less +0 -28
- package/lib/Antd4/time-picker/index.js +0 -49
- package/lib/Antd4/time-picker/locale/ar_EG.js +0 -4
- package/lib/Antd4/time-picker/locale/bg_BG.js +0 -4
- package/lib/Antd4/time-picker/locale/ca_ES.js +0 -4
- package/lib/Antd4/time-picker/locale/cs_CZ.js +0 -4
- package/lib/Antd4/time-picker/locale/de_DE.js +0 -4
- package/lib/Antd4/time-picker/locale/el_GR.js +0 -4
- package/lib/Antd4/time-picker/locale/en_GB.js +0 -4
- package/lib/Antd4/time-picker/locale/es_ES.js +0 -4
- package/lib/Antd4/time-picker/locale/et_EE.js +0 -4
- package/lib/Antd4/time-picker/locale/fi_FI.js +0 -4
- package/lib/Antd4/time-picker/locale/fr_BE.js +0 -4
- package/lib/Antd4/time-picker/locale/he_IL.js +0 -4
- package/lib/Antd4/time-picker/locale/hu_HU.js +0 -4
- package/lib/Antd4/time-picker/locale/id_ID.js +0 -4
- package/lib/Antd4/time-picker/locale/is_IS.js +0 -4
- package/lib/Antd4/time-picker/locale/it_IT.js +0 -4
- package/lib/Antd4/time-picker/locale/kn_IN.js +0 -4
- package/lib/Antd4/time-picker/locale/lv_LV.js +0 -4
- package/lib/Antd4/time-picker/locale/mk_MK.js +0 -4
- package/lib/Antd4/time-picker/locale/mn_MN.js +0 -4
- package/lib/Antd4/time-picker/locale/ms_MY.js +0 -4
- package/lib/Antd4/time-picker/locale/pl_PL.js +0 -4
- package/lib/Antd4/time-picker/locale/pt_BR.js +0 -4
- package/lib/Antd4/time-picker/locale/pt_PT.js +0 -4
- package/lib/Antd4/time-picker/locale/ro_RO.js +0 -4
- package/lib/Antd4/time-picker/locale/sk_SK.js +0 -4
- package/lib/Antd4/time-picker/locale/sl_SI.js +0 -4
- package/lib/Antd4/time-picker/locale/sv_SE.js +0 -4
- package/lib/Antd4/time-picker/locale/ta_IN.js +0 -4
- package/lib/Antd4/time-picker/locale/th_TH.js +0 -4
- package/lib/Antd4/time-picker/locale/uk_UA.js +0 -4
- package/lib/Antd4/time-picker/locale/vi_VN.js +0 -4
- package/lib/Antd4/time-picker/locale/zh_TW.js +0 -4
- package/lib/Antd4/time-picker/style/css.js +0 -4
- package/lib/Antd4/time-picker/style/index-pure.less +0 -3
- package/lib/Antd4/time-picker/style/index.js +0 -4
- package/lib/Antd4/time-picker/style/index.less +0 -3
- package/lib/Antd4/timeline/Timeline.js +0 -80
- package/lib/Antd4/timeline/TimelineItem.js +0 -51
- package/lib/Antd4/timeline/index.js +0 -2
- package/lib/Antd4/timeline/style/css.js +0 -2
- package/lib/Antd4/timeline/style/index-pure.less +0 -185
- package/lib/Antd4/timeline/style/index.js +0 -2
- package/lib/Antd4/timeline/style/index.less +0 -3
- package/lib/Antd4/timeline/style/rtl.less +0 -135
- package/lib/Antd4/tooltip/index.js +0 -201
- package/lib/Antd4/tooltip/style/css.js +0 -2
- package/lib/Antd4/tooltip/style/index-pure.less +0 -211
- package/lib/Antd4/tooltip/style/index.js +0 -2
- package/lib/Antd4/tooltip/style/index.less +0 -3
- package/lib/Antd4/tooltip/style/rtl.less +0 -14
- package/lib/Antd4/transfer/ListBody.js +0 -142
- package/lib/Antd4/transfer/ListItem.js +0 -58
- package/lib/Antd4/transfer/index.js +0 -390
- package/lib/Antd4/transfer/list.js +0 -347
- package/lib/Antd4/transfer/operation.js +0 -36
- package/lib/Antd4/transfer/search.js +0 -27
- package/lib/Antd4/transfer/style/css.js +0 -10
- package/lib/Antd4/transfer/style/customize.less +0 -52
- package/lib/Antd4/transfer/style/index-pure.less +0 -221
- package/lib/Antd4/transfer/style/index.js +0 -10
- package/lib/Antd4/transfer/style/index.less +0 -3
- package/lib/Antd4/transfer/style/rtl.less +0 -71
- package/lib/Antd4/transfer/style/status.less +0 -31
- package/lib/Antd4/tree/DirectoryTree.js +0 -195
- package/lib/Antd4/tree/Tree.js +0 -82
- package/lib/Antd4/tree/index.js +0 -2
- package/lib/Antd4/tree/style/css.js +0 -2
- package/lib/Antd4/tree/style/directory.less +0 -72
- package/lib/Antd4/tree/style/index-pure.less +0 -16
- package/lib/Antd4/tree/style/index.js +0 -2
- package/lib/Antd4/tree/style/index.less +0 -3
- package/lib/Antd4/tree/style/mixin.less +0 -322
- package/lib/Antd4/tree/style/rtl.less +0 -72
- package/lib/Antd4/tree/utils/dictUtil.js +0 -72
- package/lib/Antd4/tree/utils/dropIndicator.js +0 -32
- package/lib/Antd4/tree/utils/iconUtil.js +0 -55
- package/lib/Antd4/tree-select/index.js +0 -141
- package/lib/Antd4/tree-select/style/css.js +0 -6
- package/lib/Antd4/tree-select/style/index-pure.less +0 -57
- package/lib/Antd4/tree-select/style/index.js +0 -6
- package/lib/Antd4/tree-select/style/index.less +0 -3
- package/lib/Antd4/typography/Base/Ellipsis.js +0 -171
- package/lib/Antd4/typography/Base/EllipsisTooltip.js +0 -19
- package/lib/Antd4/typography/Base/index.js +0 -398
- package/lib/Antd4/typography/Editable.js +0 -104
- package/lib/Antd4/typography/Link.js +0 -37
- package/lib/Antd4/typography/Paragraph.js +0 -9
- package/lib/Antd4/typography/Text.js +0 -32
- package/lib/Antd4/typography/Title.js +0 -32
- package/lib/Antd4/typography/Typography.js +0 -48
- package/lib/Antd4/typography/hooks/useMergedConfig.js +0 -9
- package/lib/Antd4/typography/hooks/useUpdatedEffect.js +0 -13
- package/lib/Antd4/typography/index.js +0 -11
- package/lib/Antd4/typography/style/css.js +0 -5
- package/lib/Antd4/typography/style/index-pure.less +0 -311
- package/lib/Antd4/typography/style/index.js +0 -5
- package/lib/Antd4/typography/style/index.less +0 -3
- package/lib/Antd4/typography/style/rtl.less +0 -54
- package/lib/Antd4/upload/Dragger.js +0 -29
- package/lib/Antd4/upload/Upload.js +0 -415
- package/lib/Antd4/upload/UploadList/ListItem.js +0 -183
- package/lib/Antd4/upload/UploadList/index.js +0 -225
- package/lib/Antd4/upload/index.js +0 -4
- package/lib/Antd4/upload/style/css.js +0 -6
- package/lib/Antd4/upload/style/index-pure.less +0 -589
- package/lib/Antd4/upload/style/index.js +0 -6
- package/lib/Antd4/upload/style/index.less +0 -3
- package/lib/Antd4/upload/style/rtl.less +0 -179
- package/lib/Antd4/upload/utils.js +0 -111
- package/lib/Antd4/version/style/css.js +0 -2
- package/lib/Antd4/version/style/index.js +0 -2
- package/lib/Antd4/version/version.js +0 -1
- package/lib/Antd4Form/FieldList.js +0 -59
- package/lib/Antd4Form/Form.js +0 -36
- package/lib/Antd4Form/FormItem.js +0 -105
- package/lib/Antd4Form/FormItemChildren.js +0 -50
- package/lib/Antd4Form/index.js +0 -8
- package/lib/Antd4Form/useForm.js +0 -105
- package/lib/Badge/index.less +0 -120
- package/lib/BasicLayout/Footer.js +0 -43
- package/lib/BasicLayout/index.less +0 -191
- package/lib/Breadcrumb/Breadcrumb.less +0 -34
- package/lib/Button/index.less +0 -291
- package/lib/CWCascader/index.less +0 -31
- package/lib/CWMessage/MessageContent/TabList/index.less +0 -41
- package/lib/CWMessage/MessageContent/index.less +0 -93
- package/lib/CWMessage/index.less +0 -59
- package/lib/CWMessage/locale/en_US.js +0 -6
- package/lib/CWMessage/locale/index.js +0 -11
- package/lib/CWMessage/locale/zh_CN.js +0 -6
- package/lib/CWMessage/locale/zh_TW.js +0 -6
- package/lib/CWRadioTabs/index.less +0 -26
- package/lib/CWRangePicker/DropdownMenu/MoreHistoryList/index.less +0 -31
- package/lib/CWRangePicker/DropdownMenu/MoreTimeList/index.less +0 -15
- package/lib/CWRangePicker/DropdownMenu/index.less +0 -115
- package/lib/CWRangePicker/Refresh/index.less +0 -26
- package/lib/CWRangePicker/TimeSpan/index.less +0 -12
- package/lib/CWRangePicker/index.less +0 -77
- package/lib/CWSelect/DragTag/index.js +0 -52
- package/lib/CWSelect/Tag.js +0 -30
- package/lib/CWSelect/antd-select.js +0 -249
- package/lib/CWSelect/index-antd.less +0 -19
- package/lib/CWSelect/index.less +0 -815
- package/lib/CWSelect/locale/en_US.js +0 -4
- package/lib/CWSelect/locale/index.js +0 -11
- package/lib/CWSelect/locale/zh_CN.js +0 -4
- package/lib/CWSelect/locale/zh_TW.js +0 -4
- package/lib/CWSelect/mixin.less +0 -47
- package/lib/CWSelect/utils.js +0 -18
- package/lib/CWTable/EditLine.js +0 -191
- package/lib/CWTable/Filter.js +0 -128
- package/lib/CWTable/FormTable.js +0 -36
- package/lib/CWTable/SortContext.js +0 -3
- package/lib/CWTable/icon/DownGraySvg.js +0 -25
- package/lib/CWTable/icon/DownLightSvg.js +0 -25
- package/lib/CWTable/icon/SortSvg.js +0 -25
- package/lib/CWTable/icon/SortingSvg.js +0 -25
- package/lib/CWTable/icon/UpGraySvg.js +0 -25
- package/lib/CWTable/icon/UpLightSvg.js +0 -25
- package/lib/CWTable/index.less +0 -180
- package/lib/CWTable/locale/en_US.js +0 -6
- package/lib/CWTable/locale/index.js +0 -11
- package/lib/CWTable/locale/zh_CN.js +0 -6
- package/lib/CWTable/locale/zh_TW.js +0 -6
- package/lib/CWTable/util.js +0 -5
- package/lib/CWTree/index.less +0 -588
- package/lib/CWUpload/index.js +0 -150
- package/lib/CWUpload/index.less +0 -108
- package/lib/CWUpload/locale/en_US.js +0 -6
- package/lib/CWUpload/locale/index.js +0 -11
- package/lib/CWUpload/locale/zh_CN.js +0 -6
- package/lib/CWUpload/locale/zh_TW.js +0 -6
- package/lib/CWUpload/upload/DragList.js +0 -73
- package/lib/CWUpload/upload/Dragger.js +0 -65
- package/lib/CWUpload/upload/Upload.js +0 -486
- package/lib/CWUpload/upload/UploadList.js +0 -437
- package/lib/CWUpload/upload/style/index.less +0 -575
- package/lib/CWUpload/upload/utils.js +0 -120
- package/lib/CWUpload/upload.less +0 -629
- package/lib/CardSelect/index.less +0 -72
- package/lib/Cascader/index.less +0 -36
- package/lib/ChangeIcon/index.less +0 -104
- package/lib/Checkbox/Checkbox.js +0 -195
- package/lib/Checkbox/Group.js +0 -204
- package/lib/Checkbox/assets/duigou1.js +0 -23
- package/lib/Checkbox/assets/duigou2.js +0 -23
- package/lib/Checkbox/index.less +0 -163
- package/lib/Checkbox/warning.js +0 -4
- package/lib/Collapse/index-antd.less +0 -258
- package/lib/Collapse/index.less +0 -1
- package/lib/ColorPicker/SketchPicker/components/common/Alpha.js +0 -132
- package/lib/ColorPicker/SketchPicker/components/common/Checkboard.js +0 -40
- package/lib/ColorPicker/SketchPicker/components/common/ColorWrap.js +0 -79
- package/lib/ColorPicker/SketchPicker/components/common/EditableInput.js +0 -171
- package/lib/ColorPicker/SketchPicker/components/common/Hue.js +0 -117
- package/lib/ColorPicker/SketchPicker/components/common/Saturation.js +0 -138
- package/lib/ColorPicker/SketchPicker/components/common/Swatch.js +0 -62
- package/lib/ColorPicker/SketchPicker/components/sketch/SketchPresetColors.js +0 -72
- package/lib/ColorPicker/SketchPicker/components/sketch/index.js +0 -160
- package/lib/ColorPicker/SketchPicker/helpers/interaction.js +0 -54
- package/lib/ColorPicker/index.less +0 -94
- package/lib/ColorPicker/locale/en_US.js +0 -4
- package/lib/ColorPicker/locale/index.js +0 -11
- package/lib/ColorPicker/locale/zh_CN.js +0 -4
- package/lib/ColorPicker/locale/zh_TW.js +0 -4
- package/lib/Comment/index.js +0 -3
- package/lib/DataView/index.less +0 -24
- package/lib/DatePicker/DatePicker.js +0 -32
- package/lib/DatePicker/MonthPicker.js +0 -30
- package/lib/DatePicker/QuarterPicker.js +0 -15
- package/lib/DatePicker/RangePicker.js +0 -30
- package/lib/DatePicker/TimePicker.js +0 -14
- package/lib/DatePicker/WeekPicker.js +0 -15
- package/lib/DatePicker/YearPicker.js +0 -15
- package/lib/DatePicker/index.less +0 -131
- package/lib/DatePicker/useLocale.js +0 -13
- package/lib/DateRangePicker/RangeDatePicker.js +0 -160
- package/lib/DateRangePicker/RangeDateTimePicker.js +0 -532
- package/lib/DateRangePicker/components/ExtraQuickFooter.js +0 -85
- package/lib/DateRangePicker/components/ExtraTimeFooter.js +0 -49
- package/lib/DateRangePicker/index.js +0 -75
- package/lib/DateRangePicker/index.less +0 -231
- package/lib/DateRangePicker/locale/en_US.js +0 -5
- package/lib/DateRangePicker/locale/index.js +0 -11
- package/lib/DateRangePicker/locale/zh_CN.js +0 -5
- package/lib/DateRangePicker/locale/zh_TW.js +0 -5
- package/lib/DateRangePicker/utils/index.js +0 -33
- package/lib/Documentation/index.less +0 -259
- package/lib/Drawer/Drawer.less +0 -305
- package/lib/Dropdown/Dropdown.less +0 -124
- package/lib/DropdownDatePicker/DropdownMenu/MoreTimeList/index.js +0 -45
- package/lib/DropdownDatePicker/DropdownMenu/MoreTimeList/index.less +0 -14
- package/lib/DropdownDatePicker/DropdownMenu/index.js +0 -125
- package/lib/DropdownDatePicker/DropdownMenu/index.less +0 -68
- package/lib/DropdownDatePicker/assets/Calendar2.js +0 -15
- package/lib/DropdownDatePicker/assets/Recover.js +0 -18
- package/lib/DropdownDatePicker/assets/live.js +0 -19
- package/lib/DropdownDatePicker/assets/more.js +0 -23
- package/lib/DropdownDatePicker/index.js +0 -358
- package/lib/DropdownDatePicker/index.less +0 -34
- package/lib/DropdownDatePicker/locale/en_US.js +0 -21
- package/lib/DropdownDatePicker/locale/index.js +0 -11
- package/lib/DropdownDatePicker/locale/zh_CN.js +0 -21
- package/lib/DropdownDatePicker/locale/zh_TW.js +0 -21
- package/lib/DropdownDatePicker/utils/index.js +0 -253
- package/lib/EditableText/index.js +0 -135
- package/lib/EditableText/index.less +0 -12
- package/lib/Empty/index.less +0 -32
- package/lib/Empty/locale/en_US.js +0 -3
- package/lib/Empty/locale/index.js +0 -11
- package/lib/Empty/locale/zh_CN.js +0 -3
- package/lib/Empty/locale/zh_TW.js +0 -3
- package/lib/ErrorBoundary/index.less +0 -15
- package/lib/Exception/index.less +0 -24
- package/lib/Exception/locale/en_US.js +0 -9
- package/lib/Exception/locale/index.js +0 -11
- package/lib/Exception/locale/zh_CN.js +0 -9
- package/lib/Exception/locale/zh_TW.js +0 -9
- package/lib/FilterDropDown/index.less +0 -101
- package/lib/FilterDropDown/locale/en_US.js +0 -3
- package/lib/FilterDropDown/locale/index.js +0 -11
- package/lib/FilterDropDown/locale/zh_CN.js +0 -3
- package/lib/FilterDropDown/locale/zh_TW.js +0 -3
- package/lib/Footer/index.js +0 -56
- package/lib/Footer/index.less +0 -13
- package/lib/Form/index.less +0 -107
- package/lib/Form4/index.js +0 -12
- package/lib/FormItemWrapper/index.less +0 -19
- package/lib/Formily/FieldList/index.js +0 -43
- package/lib/Formily/Form/index.js +0 -3
- package/lib/Formily/FormButtonGroup/index.js +0 -2
- package/lib/Formily/FormItem/index.js +0 -92
- package/lib/Formily/FormItem/index.less +0 -34
- package/lib/Formily/FormItem/items/Checkbox.js +0 -14
- package/lib/Formily/FormItem/items/DatePicker.js +0 -122
- package/lib/Formily/FormItem/items/Input.js +0 -14
- package/lib/Formily/FormItem/items/NumberPicker.js +0 -10
- package/lib/Formily/FormItem/items/Password.js +0 -71
- package/lib/Formily/FormItem/items/Radio.js +0 -14
- package/lib/Formily/FormItem/items/Range.js +0 -83
- package/lib/Formily/FormItem/items/Rating.js +0 -8
- package/lib/Formily/FormItem/items/Select.js +0 -8
- package/lib/Formily/FormItem/items/Switch.js +0 -9
- package/lib/Formily/FormItem/items/Tansfer.js +0 -9
- package/lib/Formily/FormItem/items/TimePicker.js +0 -44
- package/lib/Formily/FormItem/items/Upload.js +0 -262
- package/lib/Formily/FormItem/items/formItemWrapper.js +0 -18
- package/lib/Formily/FormItem/items/shared.js +0 -141
- package/lib/Formily/FormPath/index.js +0 -2
- package/lib/Formily/MegaLayout/index.js +0 -25
- package/lib/Formily/MegaLayout/index.less +0 -7
- package/lib/Formily/Reset/index.js +0 -2
- package/lib/Formily/Submit/index.js +0 -2
- package/lib/Formily/context.js +0 -3
- package/lib/Formily/formily/index.js +0 -22
- package/lib/Formily/index.js +0 -6
- package/lib/Formily/subscribeFields/index.js +0 -46
- package/lib/GlobalTabs/TabPane.js +0 -16
- package/lib/GlobalTabs/index.less +0 -33
- package/lib/Header/TopNavigationMenu/index.less +0 -41
- package/lib/Header/index.less +0 -194
- package/lib/IconSelect/components/CustomImg/index.less +0 -19
- package/lib/IconSelect/components/SearchIcon/index.less +0 -35
- package/lib/IconSelect/index.less +0 -59
- package/lib/IconSelect/locale/en_US.js +0 -11
- package/lib/IconSelect/locale/index.js +0 -11
- package/lib/IconSelect/locale/zh_CN.js +0 -11
- package/lib/IconSelect/locale/zh_TW.js +0 -11
- package/lib/ImagePreview/index.js +0 -29
- package/lib/Input/index.less +0 -198
- package/lib/InputNumber/index.less +0 -10
- package/lib/InputNumber/utils.js +0 -6
- package/lib/IntersectionInput/index.js +0 -224
- package/lib/IntersectionInput/index.less +0 -0
- package/lib/Joyride/index.less +0 -196
- package/lib/Joyride/locale/en_US.js +0 -25
- package/lib/Joyride/locale/index.js +0 -11
- package/lib/Joyride/locale/zh_CN.js +0 -25
- package/lib/Joyride/locale/zh_TW.js +0 -25
- package/lib/Layout/Layout.less +0 -6
- package/lib/LayoutBreadcrumb/index.js +0 -78
- package/lib/LayoutWrapper/Footer.less +0 -12
- package/lib/LayoutWrapper/Header.less +0 -34
- package/lib/LayoutWrapper/index.less +0 -60
- package/lib/LazyLoadingTreeSelect/index.js +0 -341
- package/lib/LazyLoadingTreeSelect/index.less +0 -39
- package/lib/LeftNavigation/index.less +0 -23
- package/lib/LocaleProvider/index.js +0 -3
- package/lib/Mention/index.js +0 -3
- package/lib/Menu/menu/MenuContext.js +0 -6
- package/lib/Menu/menu/MenuItem.js +0 -86
- package/lib/Menu/menu/SubMenu.js +0 -64
- package/lib/Menu/menu/index.js +0 -282
- package/lib/Modal/index.less +0 -87
- package/lib/ModuleTitle/index.less +0 -18
- package/lib/Nodata/assets/images/no-data.svg +0 -30
- package/lib/Nodata/assets/images/no-search-result.svg +0 -23
- package/lib/Nodata/assets/images/no-table-data.svg +0 -23
- package/lib/Nodata/assets/style/index.less +0 -20
- package/lib/Nodata/index.js +0 -3
- package/lib/Nodata/index.old.js +0 -53
- package/lib/OutlineNumber/index.js +0 -85
- package/lib/OutlineNumber/index.less +0 -44
- package/lib/PageHeader/index.js +0 -3
- package/lib/Pagination/index.less +0 -219
- package/lib/Pagination/locale/en_US.js +0 -8
- package/lib/Pagination/locale/index.js +0 -11
- package/lib/Pagination/locale/zh_CN.js +0 -8
- package/lib/Pagination/locale/zh_TW.js +0 -8
- package/lib/PolymerizationSearch/DropdownMenu.js +0 -46
- package/lib/PolymerizationSearch/code.svg +0 -13
- package/lib/PolymerizationSearch/index.js +0 -359
- package/lib/PolymerizationSearch/index.less +0 -120
- package/lib/PolymerizationSearch/util.js +0 -45
- package/lib/Popconfirm/index.less +0 -40
- package/lib/Progress/index.less +0 -108
- package/lib/Progress/locale/en_US.js +0 -3
- package/lib/Progress/locale/index.js +0 -11
- package/lib/Progress/locale/zh_CN.js +0 -3
- package/lib/Progress/locale/zh_TW.js +0 -3
- package/lib/QuickRangePicker/index.less +0 -35
- package/lib/QuickTransfer/index.less +0 -403
- package/lib/QuickTransfer/locale/en_US.js +0 -8
- package/lib/QuickTransfer/locale/index.js +0 -11
- package/lib/QuickTransfer/locale/zh_CN.js +0 -8
- package/lib/QuickTransfer/locale/zh_TW.js +0 -8
- package/lib/Radio/Group.js +0 -184
- package/lib/Radio/Radio.js +0 -127
- package/lib/Radio/index-antd.less +0 -327
- package/lib/Radio/index.less +0 -196
- package/lib/RangePicker/components/ExtraQuickSelect.js +0 -61
- package/lib/RangePicker/components/ExtraTimeFooter.js +0 -68
- package/lib/RangePicker/index.less +0 -155
- package/lib/RangePicker/locale/en_US.js +0 -5
- package/lib/RangePicker/locale/index.js +0 -11
- package/lib/RangePicker/locale/zh_CN.js +0 -5
- package/lib/RangePicker/locale/zh_TW.js +0 -5
- package/lib/RangePicker/utils/index.js +0 -179
- package/lib/ReactSelect/CustomArrow.js +0 -12
- package/lib/ReactSelect/CustomControl.js +0 -31
- package/lib/ReactSelect/CustomMultiValueLabel.js +0 -23
- package/lib/ReactSelect/CustomOption.js +0 -11
- package/lib/ReactSelect/CustomSingleValue.js +0 -23
- package/lib/ReactSelect/OptGroup.js +0 -8
- package/lib/ReactSelect/Option.js +0 -8
- package/lib/ReactSelect/TagMore.js +0 -25
- package/lib/ReactSelect/customStyles.js +0 -19
- package/lib/ReactSelect/index.js +0 -253
- package/lib/ReactSelect/utils.js +0 -8
- package/lib/SearchBar/index.less +0 -96
- package/lib/SelectBackup/index.js +0 -398
- package/lib/SelectBackup/index.less +0 -520
- package/lib/SelectBackup/select/index.js +0 -300
- package/lib/SelectBackup/select/style/css.js +0 -4
- package/lib/SelectBackup/select/style/index.js +0 -3
- package/lib/SelectBackup/select/style/index.less +0 -604
- package/lib/SiderMenu/Item.js +0 -49
- package/lib/SiderMenu/dark.less +0 -195
- package/lib/SiderMenu/index.less +0 -637
- package/lib/SiderMenu/index_copy.less +0 -185
- package/lib/SiderMenu/sub-menu.js +0 -20
- package/lib/SimpleCard/index.less +0 -63
- package/lib/SimplePagination/index.less +0 -99
- package/lib/SingleSpa/hooks/useErrorHandle.js +0 -65
- package/lib/SingleSpa/hooks/useModel.js +0 -31
- package/lib/Slider/index.less +0 -170
- package/lib/Spin/Spin.less +0 -16
- package/lib/Steps/Steps.less +0 -502
- package/lib/Switch/Switch.less +0 -62
- package/lib/Table/Table.less +0 -306
- package/lib/Table/util.js +0 -15
- package/lib/Tabs/index.less +0 -99
- package/lib/Tag/index.less +0 -282
- package/lib/TimeRangeSlider/Refresh/index.js +0 -161
- package/lib/TimeRangeSlider/Refresh/index.less +0 -26
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/assets/Limit.js +0 -126
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/assets/Limit.svg +0 -50
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/assets/LimitAreaSvg.js +0 -110
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/BottomSlider/BottomPlaceholder.js +0 -87
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/BottomSlider/BottomTimeDateProcess.js +0 -36
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/BottomSlider/index.js +0 -40
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/BottomSlider/index.less +0 -133
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/TopSlider/TopDateProcess.js +0 -32
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/TopSlider/TopPlaceholder.js +0 -56
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/TopSlider/index.js +0 -31
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/TopSlider/index.less +0 -94
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/hooks/useHover.js +0 -31
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/hooks/useMouse.js +0 -400
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/index.js +0 -71
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/utils/index.js +0 -255
- package/lib/TimeRangeSlider/TimeSpan/index.js +0 -81
- package/lib/TimeRangeSlider/TimeSpan/index.less +0 -12
- package/lib/TimeRangeSlider/assets/Calendar.js +0 -15
- package/lib/TimeRangeSlider/assets/Calendar2.js +0 -15
- package/lib/TimeRangeSlider/assets/Recover.js +0 -18
- package/lib/TimeRangeSlider/assets/Refresh1.js +0 -14
- package/lib/TimeRangeSlider/assets/Refresh2.js +0 -14
- package/lib/TimeRangeSlider/assets/Refresh3.js +0 -14
- package/lib/TimeRangeSlider/assets/live.js +0 -19
- package/lib/TimeRangeSlider/assets/more.js +0 -23
- package/lib/TimeRangeSlider/index.js +0 -556
- package/lib/TimeRangeSlider/index.less +0 -124
- package/lib/TimeRangeSlider/locale/en_US.js +0 -31
- package/lib/TimeRangeSlider/locale/index.js +0 -11
- package/lib/TimeRangeSlider/locale/zh_CN.js +0 -31
- package/lib/TimeRangeSlider/locale/zh_TW.js +0 -31
- package/lib/TimeRangeSlider/utils/index.js +0 -737
- package/lib/Tooltip/browserType.js +0 -50
- package/lib/Tooltip/index-bk.js +0 -45
- package/lib/Tooltip/index.less +0 -41
- package/lib/TooltipText/index.less +0 -37
- package/lib/TreeList/index.js +0 -180
- package/lib/TreeList/index.less +0 -22
- package/lib/TreeSelect/TreeSelect.less +0 -10
- package/lib/TreeSelect111/index.js +0 -163
- package/lib/TreeSelect111/index.less +0 -22
- package/lib/TreeSelect111/locale/en_US.js +0 -3
- package/lib/TreeSelect111/locale/index.js +0 -11
- package/lib/TreeSelect111/locale/zh_CN.js +0 -3
- package/lib/TreeSelect111/locale/zh_TW.js +0 -3
- package/lib/TreeSelect111/utils/index.js +0 -158
- package/lib/UniversalLayout/index.js +0 -83
- package/lib/UniversalLayout/index.less +0 -27
- package/lib/Upload/index.less +0 -1
- package/lib/Upload-back/index.js +0 -314
- package/lib/Upload-back/index.less +0 -59
- package/lib/VerticalLayout/index.js +0 -91
- package/lib/VerticalLayout/index.less +0 -67
- package/lib/WangEditor/index.less +0 -254
- package/lib/Watermark/context.js +0 -22
- package/lib/Watermark/useClips.js +0 -118
- package/lib/Watermark/useRafDebounce.js +0 -21
- package/lib/Watermark/useWatermark.js +0 -52
- package/lib/Watermark/utils.js +0 -42
- package/lib/allIcon/index.js +0 -1
- package/lib/configConsumer/index.js +0 -14
- package/lib/message/assets/Close.js +0 -14
- package/lib/message/index.js +0 -187
- package/lib/message/index.less +0 -63
- package/lib/notification/index.js +0 -5
- package/lib/notification/index.less +0 -3
- package/lib/useLocale/index.js +0 -20
- package/lib/usePreview/index.js +0 -47
- package/lib/version/index.js +0 -3
- /package/lib/{Antd4/date-picker/generatePicker/interface.js → Antd5/_util/aria-data-attrs.js} +0 -0
- /package/lib/{Antd3/es → Antd5}/_util/isNumeric.js +0 -0
- /package/lib/{Antd4/form/interface.js → Antd5/_util/type.js} +0 -0
- /package/lib/{Antd4 → Antd5}/breadcrumb/index.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ar_EG.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/az_AZ.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/bg_BG.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/bn_BD.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/by_BY.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ca_ES.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/cs_CZ.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/da_DK.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/de_DE.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/el_GR.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/en_GB.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/en_US.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/es_ES.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/et_EE.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/fa_IR.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/fi_FI.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/fr_BE.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/fr_CA.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/fr_FR.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ga_IE.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/gl_ES.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/he_IL.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/hi_IN.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/hr_HR.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/hu_HU.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/id_ID.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/is_IS.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/it_IT.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ja_JP.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ka_GE.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/kk_KZ.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/km_KH.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/kmr_IQ.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/kn_IN.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ko_KR.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/lt_LT.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/lv_LV.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/mk_MK.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ml_IN.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/mn_MN.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ms_MY.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/nb_NO.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/nl_BE.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/nl_NL.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/pl_PL.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/pt_BR.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/pt_PT.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ro_RO.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ru_RU.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/sk_SK.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/sl_SI.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/sr_RS.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/sv_SE.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ta_IN.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/th_TH.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/tr_TR.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/uk_UA.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/ur_PK.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/vi_VN.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/zh_CN.js +0 -0
- /package/lib/{Antd4 → Antd5}/calendar/locale/zh_TW.js +0 -0
- /package/lib/{Antd3/es → Antd5}/col/index.js +0 -0
- /package/lib/{Antd3/es → Antd5}/collapse/index.js +0 -0
- /package/lib/{Antd4 → Antd5}/descriptions/Item.js +0 -0
- /package/lib/{Antd4/form4-24-7 → Antd5/flex}/interface.js +0 -0
- /package/lib/{Antd4/radio → Antd5/float-button}/interface.js +0 -0
- /package/lib/{Antd4/form4-24-7 → Antd5/form}/hooks/useFormInstance.js +0 -0
- /package/lib/{Antd4/transfer → Antd5/form}/interface.js +0 -0
- /package/lib/{Antd4 → Antd5}/grid/RowContext.js +0 -0
- /package/lib/{Antd4/locale-provider → Antd5/locale}/context.js +0 -0
- /package/lib/{Antd4 → Antd5}/menu/MenuContext.js +0 -0
- /package/lib/{Antd4/upload → Antd5/menu}/interface.js +0 -0
- /package/lib/{CWUpload/upload → Antd5/message}/interface.js +0 -0
- /package/lib/{Antd4 → Antd5}/modal/destroyFns.js +0 -0
- /package/lib/{Antd3/es → Antd5}/pagination/index.js +0 -0
- /package/lib/{Antd3/es → Antd5}/progress/index.js +0 -0
- /package/lib/{Antd3/es → Antd5}/row/index.js +0 -0
- /package/lib/{Antd4 → Antd5}/skeleton/index.js +0 -0
- /package/lib/{Antd3/es → Antd5}/table/index.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/ar_EG.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/az_AZ.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/bg_BG.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/bn_BD.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/by_BY.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/ca_ES.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/cs_CZ.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/da_DK.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/el_GR.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/en_GB.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/en_US.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/es_ES.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/et_EE.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/fa_IR.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/fi_FI.js +0 -0
- /package/lib/{Antd4/time-picker/locale/fr_CA.js → Antd5/time-picker/locale/fr_BE.js} +0 -0
- /package/lib/{Antd4/time-picker/locale/fr_FR.js → Antd5/time-picker/locale/fr_CA.js} +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/ga_IE.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/gl_ES.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/he_IL.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/hi_IN.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/hr_HR.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/hu_HU.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/is_IS.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/it_IT.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/ja_JP.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/ka_GE.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/kk_KZ.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/km_KH.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/kmr_IQ.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/kn_IN.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/ko_KR.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/lt_LT.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/lv_LV.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/mk_MK.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/ml_IN.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/mn_MN.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/ms_MY.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/nb_NO.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/nl_BE.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/nl_NL.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/pl_PL.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/pt_BR.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/pt_PT.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/ro_RO.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/ru_RU.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/sk_SK.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/sl_SI.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/sr_RS.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/sv_SE.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/ta_IN.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/th_TH.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/tr_TR.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/uk_UA.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/ur_PK.js +0 -0
- /package/lib/{Antd4 → Antd5}/time-picker/locale/zh_CN.js +0 -0
- /package/lib/{Antd3/es → Antd5}/time-picker/locale/zh_TW.js +0 -0
- /package/lib/{Antd3/es → Antd5}/timeline/index.js +0 -0
- /package/lib/{Antd4 → Antd5}/version/index.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/components/common/Raised.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/components/common/index.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/components/sketch/SketchFields.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/helpers/alpha.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/helpers/checkboard.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/helpers/color.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/helpers/hue.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/helpers/index.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/SketchPicker/helpers/saturation.js +0 -0
- /package/lib/{ColorPicker → CWColorPicker}/utils.js +0 -0
- /package/lib/{Antd3/es/form/constants.js → Form/consts.js} +0 -0
|
@@ -1,1380 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) {
|
|
2
|
-
"@babel/helpers - typeof";
|
|
3
|
-
|
|
4
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
5
|
-
_typeof = function _typeof(obj) {
|
|
6
|
-
return typeof obj;
|
|
7
|
-
};
|
|
8
|
-
} else {
|
|
9
|
-
_typeof = function _typeof(obj) {
|
|
10
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
return _typeof(obj);
|
|
14
|
-
}
|
|
15
|
-
function _defineProperty(obj, key, value) {
|
|
16
|
-
if (key in obj) {
|
|
17
|
-
Object.defineProperty(obj, key, {
|
|
18
|
-
value: value,
|
|
19
|
-
enumerable: true,
|
|
20
|
-
configurable: true,
|
|
21
|
-
writable: true
|
|
22
|
-
});
|
|
23
|
-
} else {
|
|
24
|
-
obj[key] = value;
|
|
25
|
-
}
|
|
26
|
-
return obj;
|
|
27
|
-
}
|
|
28
|
-
function _classCallCheck(instance, Constructor) {
|
|
29
|
-
if (!(instance instanceof Constructor)) {
|
|
30
|
-
throw new TypeError("Cannot call a class as a function");
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function _defineProperties(target, props) {
|
|
34
|
-
for (var i = 0; i < props.length; i++) {
|
|
35
|
-
var descriptor = props[i];
|
|
36
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
37
|
-
descriptor.configurable = true;
|
|
38
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
39
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
43
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
44
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
45
|
-
return Constructor;
|
|
46
|
-
}
|
|
47
|
-
function _inherits(subClass, superClass) {
|
|
48
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
49
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
50
|
-
}
|
|
51
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
52
|
-
constructor: {
|
|
53
|
-
value: subClass,
|
|
54
|
-
writable: true,
|
|
55
|
-
configurable: true
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
59
|
-
}
|
|
60
|
-
function _setPrototypeOf(o, p) {
|
|
61
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
62
|
-
o.__proto__ = p;
|
|
63
|
-
return o;
|
|
64
|
-
};
|
|
65
|
-
return _setPrototypeOf(o, p);
|
|
66
|
-
}
|
|
67
|
-
function _createSuper(Derived) {
|
|
68
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
69
|
-
return function _createSuperInternal() {
|
|
70
|
-
var Super = _getPrototypeOf(Derived),
|
|
71
|
-
result;
|
|
72
|
-
if (hasNativeReflectConstruct) {
|
|
73
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
74
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
75
|
-
} else {
|
|
76
|
-
result = Super.apply(this, arguments);
|
|
77
|
-
}
|
|
78
|
-
return _possibleConstructorReturn(this, result);
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function _possibleConstructorReturn(self, call) {
|
|
82
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
83
|
-
return call;
|
|
84
|
-
}
|
|
85
|
-
return _assertThisInitialized(self);
|
|
86
|
-
}
|
|
87
|
-
function _assertThisInitialized(self) {
|
|
88
|
-
if (self === void 0) {
|
|
89
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
90
|
-
}
|
|
91
|
-
return self;
|
|
92
|
-
}
|
|
93
|
-
function _isNativeReflectConstruct() {
|
|
94
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
95
|
-
if (Reflect.construct.sham) return false;
|
|
96
|
-
if (typeof Proxy === "function") return true;
|
|
97
|
-
try {
|
|
98
|
-
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
99
|
-
return true;
|
|
100
|
-
} catch (e) {
|
|
101
|
-
return false;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
function _getPrototypeOf(o) {
|
|
105
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
106
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
107
|
-
};
|
|
108
|
-
return _getPrototypeOf(o);
|
|
109
|
-
}
|
|
110
|
-
function _extends() {
|
|
111
|
-
_extends = Object.assign || function (target) {
|
|
112
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
113
|
-
var source = arguments[i];
|
|
114
|
-
for (var key in source) {
|
|
115
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
116
|
-
target[key] = source[key];
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
return target;
|
|
121
|
-
};
|
|
122
|
-
return _extends.apply(this, arguments);
|
|
123
|
-
}
|
|
124
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
125
|
-
var t = {};
|
|
126
|
-
for (var p in s) {
|
|
127
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
128
|
-
}
|
|
129
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
130
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
131
|
-
}
|
|
132
|
-
return t;
|
|
133
|
-
};
|
|
134
|
-
/* eslint-disable prefer-spread */
|
|
135
|
-
|
|
136
|
-
import * as React from 'react';
|
|
137
|
-
import omit from 'omit.js';
|
|
138
|
-
import RcTable, { INTERNAL_COL_DEFINE } from 'rc-table';
|
|
139
|
-
import * as PropTypes from 'prop-types';
|
|
140
|
-
import classNames from 'classnames';
|
|
141
|
-
import shallowEqual from 'shallowequal';
|
|
142
|
-
import { polyfill } from 'react-lifecycles-compat';
|
|
143
|
-
import FilterDropdown from './filterDropdown';
|
|
144
|
-
import createStore from './createStore';
|
|
145
|
-
import SelectionBox from './SelectionBox';
|
|
146
|
-
import SelectionCheckboxAll from './SelectionCheckboxAll';
|
|
147
|
-
import Column from './Column';
|
|
148
|
-
import ColumnGroup from './ColumnGroup';
|
|
149
|
-
import createBodyRow from './createBodyRow';
|
|
150
|
-
import { flatArray, treeMap, flatFilter, normalizeColumns } from './util';
|
|
151
|
-
import scrollTo from '../_util/scrollTo';
|
|
152
|
-
import Pagination from '../pagination';
|
|
153
|
-
import Icon from '../icon';
|
|
154
|
-
import Spin from '../spin';
|
|
155
|
-
import TransButton from '../_util/transButton';
|
|
156
|
-
import LocaleReceiver from '../locale-provider/LocaleReceiver';
|
|
157
|
-
import defaultLocale from '../locale/default';
|
|
158
|
-
import { ConfigConsumer } from '../config-provider';
|
|
159
|
-
import warning from '../_util/warning';
|
|
160
|
-
function noop() {}
|
|
161
|
-
function stopPropagation(e) {
|
|
162
|
-
e.stopPropagation();
|
|
163
|
-
}
|
|
164
|
-
function getRowSelection(props) {
|
|
165
|
-
return props.rowSelection || {};
|
|
166
|
-
}
|
|
167
|
-
function getColumnKey(column, index) {
|
|
168
|
-
return column.key || column.dataIndex || index;
|
|
169
|
-
}
|
|
170
|
-
function isSameColumn(a, b) {
|
|
171
|
-
if (a && b && a.key && a.key === b.key) {
|
|
172
|
-
return true;
|
|
173
|
-
}
|
|
174
|
-
return a === b || shallowEqual(a, b, function (value, other) {
|
|
175
|
-
// https://github.com/ant-design/ant-design/issues/12737
|
|
176
|
-
if (typeof value === 'function' && typeof other === 'function') {
|
|
177
|
-
return value === other || value.toString() === other.toString();
|
|
178
|
-
} // https://github.com/ant-design/ant-design/issues/19398
|
|
179
|
-
|
|
180
|
-
if (Array.isArray(value) && Array.isArray(other)) {
|
|
181
|
-
return value === other || shallowEqual(value, other);
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
var defaultPagination = {
|
|
186
|
-
onChange: noop,
|
|
187
|
-
onShowSizeChange: noop
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* Avoid creating new object, so that parent component's shouldComponentUpdate
|
|
191
|
-
* can works appropriately。
|
|
192
|
-
*/
|
|
193
|
-
|
|
194
|
-
var emptyObject = {};
|
|
195
|
-
var createComponents = function createComponents() {
|
|
196
|
-
var components = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
197
|
-
var bodyRow = components && components.body && components.body.row;
|
|
198
|
-
return _extends(_extends({}, components), {
|
|
199
|
-
body: _extends(_extends({}, components.body), {
|
|
200
|
-
row: createBodyRow(bodyRow)
|
|
201
|
-
})
|
|
202
|
-
});
|
|
203
|
-
};
|
|
204
|
-
function isTheSameComponents() {
|
|
205
|
-
var components1 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
206
|
-
var components2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
207
|
-
return components1 === components2 || ['table', 'header', 'body'].every(function (key) {
|
|
208
|
-
return shallowEqual(components1[key], components2[key]);
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
function getFilteredValueColumns(state, columns) {
|
|
212
|
-
return flatFilter(columns || (state || {}).columns || [], function (column) {
|
|
213
|
-
return typeof column.filteredValue !== 'undefined';
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
function getFiltersFromColumns() {
|
|
217
|
-
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
218
|
-
var columns = arguments.length > 1 ? arguments[1] : undefined;
|
|
219
|
-
var filters = {};
|
|
220
|
-
getFilteredValueColumns(state, columns).forEach(function (col) {
|
|
221
|
-
var colKey = getColumnKey(col);
|
|
222
|
-
filters[colKey] = col.filteredValue;
|
|
223
|
-
});
|
|
224
|
-
return filters;
|
|
225
|
-
}
|
|
226
|
-
function isFiltersChanged(state, filters) {
|
|
227
|
-
if (Object.keys(filters).length !== Object.keys(state.filters).length) {
|
|
228
|
-
return true;
|
|
229
|
-
}
|
|
230
|
-
return Object.keys(filters).some(function (columnKey) {
|
|
231
|
-
return filters[columnKey] !== state.filters[columnKey];
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
var Table = /*#__PURE__*/function (_React$Component) {
|
|
235
|
-
_inherits(Table, _React$Component);
|
|
236
|
-
var _super = _createSuper(Table);
|
|
237
|
-
function Table(props) {
|
|
238
|
-
var _this;
|
|
239
|
-
_classCallCheck(this, Table);
|
|
240
|
-
_this = _super.call(this, props);
|
|
241
|
-
_this.setTableRef = function (table) {
|
|
242
|
-
_this.rcTable = table;
|
|
243
|
-
};
|
|
244
|
-
_this.getCheckboxPropsByItem = function (item, index) {
|
|
245
|
-
var rowSelection = getRowSelection(_this.props);
|
|
246
|
-
if (!rowSelection.getCheckboxProps) {
|
|
247
|
-
return {};
|
|
248
|
-
}
|
|
249
|
-
var key = _this.getRecordKey(item, index); // Cache checkboxProps
|
|
250
|
-
|
|
251
|
-
if (!_this.props.checkboxPropsCache[key]) {
|
|
252
|
-
_this.props.checkboxPropsCache[key] = rowSelection.getCheckboxProps(item) || {};
|
|
253
|
-
var checkboxProps = _this.props.checkboxPropsCache[key];
|
|
254
|
-
warning(!('checked' in checkboxProps) && !('defaultChecked' in checkboxProps), 'Table', 'Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.');
|
|
255
|
-
}
|
|
256
|
-
return _this.props.checkboxPropsCache[key];
|
|
257
|
-
};
|
|
258
|
-
_this.getRecordKey = function (record, index) {
|
|
259
|
-
var rowKey = _this.props.rowKey;
|
|
260
|
-
var recordKey = typeof rowKey === 'function' ? rowKey(record, index) : record[rowKey];
|
|
261
|
-
warning(recordKey !== undefined, 'Table', 'Each record in dataSource of table should have a unique `key` prop, ' + 'or set `rowKey` of Table to an unique primary key, ' + 'see https://u.ant.design/table-row-key');
|
|
262
|
-
return recordKey === undefined ? index : recordKey;
|
|
263
|
-
};
|
|
264
|
-
_this.onRow = function (prefixCls, record, index) {
|
|
265
|
-
var onRow = _this.props.onRow;
|
|
266
|
-
var custom = onRow ? onRow(record, index) : {};
|
|
267
|
-
return _extends(_extends({}, custom), {
|
|
268
|
-
prefixCls: prefixCls,
|
|
269
|
-
store: _this.props.store,
|
|
270
|
-
rowKey: _this.getRecordKey(record, index)
|
|
271
|
-
});
|
|
272
|
-
};
|
|
273
|
-
_this.generatePopupContainerFunc = function (getPopupContainer) {
|
|
274
|
-
var scroll = _this.props.scroll;
|
|
275
|
-
var table = _this.rcTable;
|
|
276
|
-
if (getPopupContainer) {
|
|
277
|
-
return getPopupContainer;
|
|
278
|
-
} // Use undefined to let rc component use default logic.
|
|
279
|
-
|
|
280
|
-
return scroll && table ? function () {
|
|
281
|
-
return table.tableNode;
|
|
282
|
-
} : undefined;
|
|
283
|
-
};
|
|
284
|
-
_this.scrollToFirstRow = function () {
|
|
285
|
-
var scroll = _this.props.scroll;
|
|
286
|
-
if (scroll && scroll.scrollToFirstRowOnChange !== false) {
|
|
287
|
-
scrollTo(0, {
|
|
288
|
-
getContainer: function getContainer() {
|
|
289
|
-
return _this.rcTable.bodyTable;
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
|
-
_this.handleFilter = function (column, nextFilters) {
|
|
295
|
-
var props = _this.props;
|
|
296
|
-
var pagination = _extends({}, _this.state.pagination);
|
|
297
|
-
var filters = _extends(_extends({}, _this.state.filters), _defineProperty({}, getColumnKey(column), nextFilters)); // Remove filters not in current columns
|
|
298
|
-
|
|
299
|
-
var currentColumnKeys = [];
|
|
300
|
-
treeMap(_this.state.columns, function (c) {
|
|
301
|
-
if (!c.children) {
|
|
302
|
-
currentColumnKeys.push(getColumnKey(c));
|
|
303
|
-
}
|
|
304
|
-
});
|
|
305
|
-
Object.keys(filters).forEach(function (columnKey) {
|
|
306
|
-
if (currentColumnKeys.indexOf(columnKey) < 0) {
|
|
307
|
-
delete filters[columnKey];
|
|
308
|
-
}
|
|
309
|
-
});
|
|
310
|
-
if (props.pagination) {
|
|
311
|
-
// Reset current prop
|
|
312
|
-
pagination.current = 1;
|
|
313
|
-
pagination.onChange(pagination.current);
|
|
314
|
-
}
|
|
315
|
-
var newState = {
|
|
316
|
-
pagination: pagination,
|
|
317
|
-
filters: {}
|
|
318
|
-
};
|
|
319
|
-
var filtersToSetState = _extends({}, filters); // Remove filters which is controlled
|
|
320
|
-
|
|
321
|
-
getFilteredValueColumns(_this.state).forEach(function (col) {
|
|
322
|
-
var columnKey = getColumnKey(col);
|
|
323
|
-
if (columnKey) {
|
|
324
|
-
delete filtersToSetState[columnKey];
|
|
325
|
-
}
|
|
326
|
-
});
|
|
327
|
-
if (Object.keys(filtersToSetState).length > 0) {
|
|
328
|
-
newState.filters = filtersToSetState;
|
|
329
|
-
} // Controlled current prop will not respond user interaction
|
|
330
|
-
|
|
331
|
-
if (_typeof(props.pagination) === 'object' && 'current' in props.pagination) {
|
|
332
|
-
newState.pagination = _extends(_extends({}, pagination), {
|
|
333
|
-
current: _this.state.pagination.current
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
_this.setState(newState, function () {
|
|
337
|
-
_this.scrollToFirstRow();
|
|
338
|
-
_this.props.store.setState({
|
|
339
|
-
selectionDirty: false
|
|
340
|
-
});
|
|
341
|
-
var onChange = _this.props.onChange;
|
|
342
|
-
if (onChange) {
|
|
343
|
-
onChange.apply(null, _this.prepareParamsArguments(_extends(_extends({}, _this.state), {
|
|
344
|
-
selectionDirty: false,
|
|
345
|
-
filters: filters,
|
|
346
|
-
pagination: pagination
|
|
347
|
-
})));
|
|
348
|
-
}
|
|
349
|
-
});
|
|
350
|
-
};
|
|
351
|
-
_this.handleSelect = function (record, rowIndex, e) {
|
|
352
|
-
var checked = e.target.checked;
|
|
353
|
-
var nativeEvent = e.nativeEvent;
|
|
354
|
-
var defaultSelection = _this.props.store.getState().selectionDirty ? [] : _this.getDefaultSelection();
|
|
355
|
-
var selectedRowKeys = _this.props.store.getState().selectedRowKeys.concat(defaultSelection);
|
|
356
|
-
var key = _this.getRecordKey(record, rowIndex);
|
|
357
|
-
var pivot = _this.state.pivot;
|
|
358
|
-
var rows = _this.getFlatCurrentPageData();
|
|
359
|
-
var realIndex = rowIndex;
|
|
360
|
-
if (_this.props.expandedRowRender) {
|
|
361
|
-
realIndex = rows.findIndex(function (row) {
|
|
362
|
-
return _this.getRecordKey(row, rowIndex) === key;
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
if (nativeEvent.shiftKey && pivot !== undefined && realIndex !== pivot) {
|
|
366
|
-
var changeRowKeys = [];
|
|
367
|
-
var direction = Math.sign(pivot - realIndex);
|
|
368
|
-
var dist = Math.abs(pivot - realIndex);
|
|
369
|
-
var step = 0;
|
|
370
|
-
var _loop = function _loop() {
|
|
371
|
-
var i = realIndex + step * direction;
|
|
372
|
-
step += 1;
|
|
373
|
-
var row = rows[i];
|
|
374
|
-
var rowKey = _this.getRecordKey(row, i);
|
|
375
|
-
var checkboxProps = _this.getCheckboxPropsByItem(row, i);
|
|
376
|
-
if (!checkboxProps.disabled) {
|
|
377
|
-
if (selectedRowKeys.includes(rowKey)) {
|
|
378
|
-
if (!checked) {
|
|
379
|
-
selectedRowKeys = selectedRowKeys.filter(function (j) {
|
|
380
|
-
return rowKey !== j;
|
|
381
|
-
});
|
|
382
|
-
changeRowKeys.push(rowKey);
|
|
383
|
-
}
|
|
384
|
-
} else if (checked) {
|
|
385
|
-
selectedRowKeys.push(rowKey);
|
|
386
|
-
changeRowKeys.push(rowKey);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
};
|
|
390
|
-
while (step <= dist) {
|
|
391
|
-
_loop();
|
|
392
|
-
}
|
|
393
|
-
_this.setState({
|
|
394
|
-
pivot: realIndex
|
|
395
|
-
});
|
|
396
|
-
_this.props.store.setState({
|
|
397
|
-
selectionDirty: true
|
|
398
|
-
});
|
|
399
|
-
_this.setSelectedRowKeys(selectedRowKeys, {
|
|
400
|
-
selectWay: 'onSelectMultiple',
|
|
401
|
-
record: record,
|
|
402
|
-
checked: checked,
|
|
403
|
-
changeRowKeys: changeRowKeys,
|
|
404
|
-
nativeEvent: nativeEvent
|
|
405
|
-
});
|
|
406
|
-
} else {
|
|
407
|
-
if (checked) {
|
|
408
|
-
selectedRowKeys.push(_this.getRecordKey(record, realIndex));
|
|
409
|
-
} else {
|
|
410
|
-
selectedRowKeys = selectedRowKeys.filter(function (i) {
|
|
411
|
-
return key !== i;
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
_this.setState({
|
|
415
|
-
pivot: realIndex
|
|
416
|
-
});
|
|
417
|
-
_this.props.store.setState({
|
|
418
|
-
selectionDirty: true
|
|
419
|
-
});
|
|
420
|
-
_this.setSelectedRowKeys(selectedRowKeys, {
|
|
421
|
-
selectWay: 'onSelect',
|
|
422
|
-
record: record,
|
|
423
|
-
checked: checked,
|
|
424
|
-
changeRowKeys: undefined,
|
|
425
|
-
nativeEvent: nativeEvent
|
|
426
|
-
});
|
|
427
|
-
}
|
|
428
|
-
};
|
|
429
|
-
_this.handleRadioSelect = function (record, rowIndex, e) {
|
|
430
|
-
var checked = e.target.checked;
|
|
431
|
-
var nativeEvent = e.nativeEvent;
|
|
432
|
-
var key = _this.getRecordKey(record, rowIndex);
|
|
433
|
-
var selectedRowKeys = [key];
|
|
434
|
-
_this.props.store.setState({
|
|
435
|
-
selectionDirty: true
|
|
436
|
-
});
|
|
437
|
-
_this.setSelectedRowKeys(selectedRowKeys, {
|
|
438
|
-
selectWay: 'onSelect',
|
|
439
|
-
record: record,
|
|
440
|
-
checked: checked,
|
|
441
|
-
changeRowKeys: undefined,
|
|
442
|
-
nativeEvent: nativeEvent
|
|
443
|
-
});
|
|
444
|
-
};
|
|
445
|
-
_this.handleSelectRow = function (selectionKey, index, onSelectFunc) {
|
|
446
|
-
var data = _this.getFlatCurrentPageData();
|
|
447
|
-
var defaultSelection = _this.props.store.getState().selectionDirty ? [] : _this.getDefaultSelection();
|
|
448
|
-
var selectedRowKeys = _this.props.store.getState().selectedRowKeys.concat(defaultSelection);
|
|
449
|
-
var changeableRowKeys = data.filter(function (item, i) {
|
|
450
|
-
return !_this.getCheckboxPropsByItem(item, i).disabled;
|
|
451
|
-
}).map(function (item, i) {
|
|
452
|
-
return _this.getRecordKey(item, i);
|
|
453
|
-
});
|
|
454
|
-
var changeRowKeys = [];
|
|
455
|
-
var selectWay = 'onSelectAll';
|
|
456
|
-
var checked; // handle default selection
|
|
457
|
-
|
|
458
|
-
switch (selectionKey) {
|
|
459
|
-
case 'all':
|
|
460
|
-
changeableRowKeys.forEach(function (key) {
|
|
461
|
-
if (selectedRowKeys.indexOf(key) < 0) {
|
|
462
|
-
selectedRowKeys.push(key);
|
|
463
|
-
changeRowKeys.push(key);
|
|
464
|
-
}
|
|
465
|
-
});
|
|
466
|
-
selectWay = 'onSelectAll';
|
|
467
|
-
checked = true;
|
|
468
|
-
break;
|
|
469
|
-
case 'removeAll':
|
|
470
|
-
changeableRowKeys.forEach(function (key) {
|
|
471
|
-
if (selectedRowKeys.indexOf(key) >= 0) {
|
|
472
|
-
selectedRowKeys.splice(selectedRowKeys.indexOf(key), 1);
|
|
473
|
-
changeRowKeys.push(key);
|
|
474
|
-
}
|
|
475
|
-
});
|
|
476
|
-
selectWay = 'onSelectAll';
|
|
477
|
-
checked = false;
|
|
478
|
-
break;
|
|
479
|
-
case 'invert':
|
|
480
|
-
changeableRowKeys.forEach(function (key) {
|
|
481
|
-
if (selectedRowKeys.indexOf(key) < 0) {
|
|
482
|
-
selectedRowKeys.push(key);
|
|
483
|
-
} else {
|
|
484
|
-
selectedRowKeys.splice(selectedRowKeys.indexOf(key), 1);
|
|
485
|
-
}
|
|
486
|
-
changeRowKeys.push(key);
|
|
487
|
-
selectWay = 'onSelectInvert';
|
|
488
|
-
});
|
|
489
|
-
break;
|
|
490
|
-
default:
|
|
491
|
-
break;
|
|
492
|
-
}
|
|
493
|
-
_this.props.store.setState({
|
|
494
|
-
selectionDirty: true
|
|
495
|
-
}); // when select custom selection, callback selections[n].onSelect
|
|
496
|
-
|
|
497
|
-
var rowSelection = _this.props.rowSelection;
|
|
498
|
-
var customSelectionStartIndex = 2;
|
|
499
|
-
if (rowSelection && rowSelection.hideDefaultSelections) {
|
|
500
|
-
customSelectionStartIndex = 0;
|
|
501
|
-
}
|
|
502
|
-
if (index >= customSelectionStartIndex && typeof onSelectFunc === 'function') {
|
|
503
|
-
return onSelectFunc(changeableRowKeys);
|
|
504
|
-
}
|
|
505
|
-
_this.setSelectedRowKeys(selectedRowKeys, {
|
|
506
|
-
selectWay: selectWay,
|
|
507
|
-
checked: checked,
|
|
508
|
-
changeRowKeys: changeRowKeys
|
|
509
|
-
});
|
|
510
|
-
};
|
|
511
|
-
_this.handlePageChange = function (current) {
|
|
512
|
-
var props = _this.props;
|
|
513
|
-
var pagination = _extends({}, _this.state.pagination);
|
|
514
|
-
if (current) {
|
|
515
|
-
pagination.current = current;
|
|
516
|
-
} else {
|
|
517
|
-
pagination.current = pagination.current || 1;
|
|
518
|
-
}
|
|
519
|
-
for (var _len = arguments.length, otherArguments = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
520
|
-
otherArguments[_key - 1] = arguments[_key];
|
|
521
|
-
}
|
|
522
|
-
pagination.onChange.apply(pagination, [pagination.current].concat(otherArguments));
|
|
523
|
-
var newState = {
|
|
524
|
-
pagination: pagination
|
|
525
|
-
}; // Controlled current prop will not respond user interaction
|
|
526
|
-
|
|
527
|
-
if (props.pagination && _typeof(props.pagination) === 'object' && 'current' in props.pagination) {
|
|
528
|
-
newState.pagination = _extends(_extends({}, pagination), {
|
|
529
|
-
current: _this.state.pagination.current
|
|
530
|
-
});
|
|
531
|
-
}
|
|
532
|
-
_this.setState(newState, _this.scrollToFirstRow);
|
|
533
|
-
_this.props.store.setState({
|
|
534
|
-
selectionDirty: false
|
|
535
|
-
});
|
|
536
|
-
var onChange = _this.props.onChange;
|
|
537
|
-
if (onChange) {
|
|
538
|
-
onChange.apply(null, _this.prepareParamsArguments(_extends(_extends({}, _this.state), {
|
|
539
|
-
selectionDirty: false,
|
|
540
|
-
pagination: pagination
|
|
541
|
-
})));
|
|
542
|
-
}
|
|
543
|
-
};
|
|
544
|
-
_this.handleShowSizeChange = function (current, pageSize) {
|
|
545
|
-
var pagination = _this.state.pagination;
|
|
546
|
-
pagination.onShowSizeChange(current, pageSize);
|
|
547
|
-
var nextPagination = _extends(_extends({}, pagination), {
|
|
548
|
-
pageSize: pageSize,
|
|
549
|
-
current: current
|
|
550
|
-
});
|
|
551
|
-
_this.setState({
|
|
552
|
-
pagination: nextPagination
|
|
553
|
-
}, _this.scrollToFirstRow);
|
|
554
|
-
var onChange = _this.props.onChange;
|
|
555
|
-
if (onChange) {
|
|
556
|
-
onChange.apply(null, _this.prepareParamsArguments(_extends(_extends({}, _this.state), {
|
|
557
|
-
pagination: nextPagination
|
|
558
|
-
})));
|
|
559
|
-
}
|
|
560
|
-
};
|
|
561
|
-
_this.renderExpandIcon = function (prefixCls) {
|
|
562
|
-
return function (_ref) {
|
|
563
|
-
var expandable = _ref.expandable,
|
|
564
|
-
expanded = _ref.expanded,
|
|
565
|
-
needIndentSpaced = _ref.needIndentSpaced,
|
|
566
|
-
record = _ref.record,
|
|
567
|
-
onExpand = _ref.onExpand;
|
|
568
|
-
if (expandable) {
|
|
569
|
-
return /*#__PURE__*/React.createElement(LocaleReceiver, {
|
|
570
|
-
componentName: "Table",
|
|
571
|
-
defaultLocale: defaultLocale.Table
|
|
572
|
-
}, function (locale) {
|
|
573
|
-
var _classNames;
|
|
574
|
-
return /*#__PURE__*/React.createElement(TransButton, {
|
|
575
|
-
className: classNames("".concat(prefixCls, "-row-expand-icon"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-row-collapsed"), !expanded), _defineProperty(_classNames, "".concat(prefixCls, "-row-expanded"), expanded), _classNames)),
|
|
576
|
-
onClick: function onClick(event) {
|
|
577
|
-
onExpand(record, event);
|
|
578
|
-
},
|
|
579
|
-
"aria-label": expanded ? locale.collapse : locale.expand,
|
|
580
|
-
noStyle: true
|
|
581
|
-
});
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
if (needIndentSpaced) {
|
|
585
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
586
|
-
className: "".concat(prefixCls, "-row-expand-icon ").concat(prefixCls, "-row-spaced")
|
|
587
|
-
});
|
|
588
|
-
}
|
|
589
|
-
return null;
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
_this.renderSelectionBox = function (type) {
|
|
593
|
-
return function (_, record, index) {
|
|
594
|
-
var rowKey = _this.getRecordKey(record, index);
|
|
595
|
-
var props = _this.getCheckboxPropsByItem(record, index);
|
|
596
|
-
var handleChange = function handleChange(e) {
|
|
597
|
-
return type === 'radio' ? _this.handleRadioSelect(record, index, e) : _this.handleSelect(record, index, e);
|
|
598
|
-
};
|
|
599
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
600
|
-
onClick: stopPropagation
|
|
601
|
-
}, /*#__PURE__*/React.createElement(SelectionBox, _extends({
|
|
602
|
-
type: type,
|
|
603
|
-
store: _this.props.store,
|
|
604
|
-
rowIndex: rowKey,
|
|
605
|
-
onChange: handleChange,
|
|
606
|
-
defaultSelection: _this.getDefaultSelection()
|
|
607
|
-
}, props)));
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
_this.renderTable = function (_ref2) {
|
|
611
|
-
var _classNames2;
|
|
612
|
-
var prefixCls = _ref2.prefixCls,
|
|
613
|
-
renderEmpty = _ref2.renderEmpty,
|
|
614
|
-
dropdownPrefixCls = _ref2.dropdownPrefixCls,
|
|
615
|
-
contextLocale = _ref2.contextLocale,
|
|
616
|
-
contextGetPopupContainer = _ref2.getPopupContainer;
|
|
617
|
-
var _a = _this.props,
|
|
618
|
-
showHeader = _a.showHeader,
|
|
619
|
-
locale = _a.locale,
|
|
620
|
-
getPopupContainer = _a.getPopupContainer,
|
|
621
|
-
restTableProps = __rest(_a, ["showHeader", "locale", "getPopupContainer"]); // do not pass prop.style to rc-table, since already apply it to container div
|
|
622
|
-
|
|
623
|
-
var restProps = omit(restTableProps, ['style']);
|
|
624
|
-
var data = _this.getCurrentPageData();
|
|
625
|
-
var expandIconAsCell = _this.props.expandedRowRender && _this.props.expandIconAsCell !== false; // use props.getPopupContainer first
|
|
626
|
-
|
|
627
|
-
var realGetPopupContainer = getPopupContainer || contextGetPopupContainer; // Merge too locales
|
|
628
|
-
|
|
629
|
-
var mergedLocale = _extends(_extends({}, contextLocale), locale);
|
|
630
|
-
if (!locale || !locale.emptyText) {
|
|
631
|
-
mergedLocale.emptyText = renderEmpty('Table');
|
|
632
|
-
}
|
|
633
|
-
var classString = classNames("".concat(prefixCls, "-").concat(_this.props.size), (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-bordered"), _this.props.bordered), _defineProperty(_classNames2, "".concat(prefixCls, "-empty"), !data.length), _defineProperty(_classNames2, "".concat(prefixCls, "-without-column-header"), !showHeader), _classNames2));
|
|
634
|
-
var columnsWithRowSelection = _this.renderRowSelection({
|
|
635
|
-
prefixCls: prefixCls,
|
|
636
|
-
locale: mergedLocale,
|
|
637
|
-
getPopupContainer: realGetPopupContainer
|
|
638
|
-
});
|
|
639
|
-
var columns = _this.renderColumnsDropdown({
|
|
640
|
-
columns: columnsWithRowSelection,
|
|
641
|
-
prefixCls: prefixCls,
|
|
642
|
-
dropdownPrefixCls: dropdownPrefixCls,
|
|
643
|
-
locale: mergedLocale,
|
|
644
|
-
getPopupContainer: realGetPopupContainer
|
|
645
|
-
}).map(function (column, i) {
|
|
646
|
-
var newColumn = _extends({}, column);
|
|
647
|
-
newColumn.key = getColumnKey(newColumn, i);
|
|
648
|
-
return newColumn;
|
|
649
|
-
});
|
|
650
|
-
var expandIconColumnIndex = columns[0] && columns[0].key === 'selection-column' ? 1 : 0;
|
|
651
|
-
if ('expandIconColumnIndex' in restProps) {
|
|
652
|
-
expandIconColumnIndex = restProps.expandIconColumnIndex;
|
|
653
|
-
}
|
|
654
|
-
return /*#__PURE__*/React.createElement(RcTable, _extends({
|
|
655
|
-
ref: _this.setTableRef,
|
|
656
|
-
key: "table",
|
|
657
|
-
expandIcon: _this.renderExpandIcon(prefixCls)
|
|
658
|
-
}, restProps, {
|
|
659
|
-
onRow: function onRow(record, index) {
|
|
660
|
-
return _this.onRow(prefixCls, record, index);
|
|
661
|
-
},
|
|
662
|
-
components: _this.state.components,
|
|
663
|
-
prefixCls: prefixCls,
|
|
664
|
-
data: data,
|
|
665
|
-
columns: columns,
|
|
666
|
-
showHeader: showHeader,
|
|
667
|
-
className: classString,
|
|
668
|
-
expandIconColumnIndex: expandIconColumnIndex,
|
|
669
|
-
expandIconAsCell: expandIconAsCell,
|
|
670
|
-
emptyText: mergedLocale.emptyText
|
|
671
|
-
}));
|
|
672
|
-
};
|
|
673
|
-
_this.renderComponent = function (_ref3) {
|
|
674
|
-
var getPrefixCls = _ref3.getPrefixCls,
|
|
675
|
-
renderEmpty = _ref3.renderEmpty,
|
|
676
|
-
getPopupContainer = _ref3.getPopupContainer;
|
|
677
|
-
var _this$props = _this.props,
|
|
678
|
-
customizePrefixCls = _this$props.prefixCls,
|
|
679
|
-
customizeDropdownPrefixCls = _this$props.dropdownPrefixCls,
|
|
680
|
-
style = _this$props.style,
|
|
681
|
-
className = _this$props.className;
|
|
682
|
-
var data = _this.getCurrentPageData();
|
|
683
|
-
var loading = _this.props.loading;
|
|
684
|
-
if (typeof loading === 'boolean') {
|
|
685
|
-
loading = {
|
|
686
|
-
spinning: loading
|
|
687
|
-
};
|
|
688
|
-
}
|
|
689
|
-
var prefixCls = getPrefixCls('table', customizePrefixCls);
|
|
690
|
-
var dropdownPrefixCls = getPrefixCls('dropdown', customizeDropdownPrefixCls);
|
|
691
|
-
var table = /*#__PURE__*/React.createElement(LocaleReceiver, {
|
|
692
|
-
componentName: "Table",
|
|
693
|
-
defaultLocale: defaultLocale.Table
|
|
694
|
-
}, function (locale) {
|
|
695
|
-
return _this.renderTable({
|
|
696
|
-
prefixCls: prefixCls,
|
|
697
|
-
renderEmpty: renderEmpty,
|
|
698
|
-
dropdownPrefixCls: dropdownPrefixCls,
|
|
699
|
-
contextLocale: locale,
|
|
700
|
-
getPopupContainer: getPopupContainer
|
|
701
|
-
});
|
|
702
|
-
}); // if there is no pagination or no data,
|
|
703
|
-
// the height of spin should decrease by half of pagination
|
|
704
|
-
|
|
705
|
-
var paginationPatchClass = _this.hasPagination() && data && data.length !== 0 ? "".concat(prefixCls, "-with-pagination") : "".concat(prefixCls, "-without-pagination");
|
|
706
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
707
|
-
className: classNames("".concat(prefixCls, "-wrapper"), className),
|
|
708
|
-
style: style
|
|
709
|
-
}, /*#__PURE__*/React.createElement(Spin, _extends({}, loading, {
|
|
710
|
-
className: loading.spinning ? "".concat(paginationPatchClass, " ").concat(prefixCls, "-spin-holder") : ''
|
|
711
|
-
}), _this.renderPagination(prefixCls, 'top'), table, _this.renderPagination(prefixCls, 'bottom')));
|
|
712
|
-
};
|
|
713
|
-
var expandedRowRender = props.expandedRowRender,
|
|
714
|
-
columnsProp = props.columns;
|
|
715
|
-
warning(!('columnsPageRange' in props || 'columnsPageSize' in props), 'Table', '`columnsPageRange` and `columnsPageSize` are removed, please use ' + 'fixed columns instead, see: https://u.ant.design/fixed-columns.');
|
|
716
|
-
if (expandedRowRender && (columnsProp || []).some(function (_ref4) {
|
|
717
|
-
var fixed = _ref4.fixed;
|
|
718
|
-
return !!fixed;
|
|
719
|
-
})) {
|
|
720
|
-
warning(false, 'Table', '`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.');
|
|
721
|
-
}
|
|
722
|
-
var columns = columnsProp || normalizeColumns(props.children);
|
|
723
|
-
_this.state = _extends(_extends({}, _this.getDefaultSortOrder(columns || [])), {
|
|
724
|
-
// 减少状态
|
|
725
|
-
filters: _this.getDefaultFilters(columns),
|
|
726
|
-
pagination: _this.getDefaultPagination(props),
|
|
727
|
-
pivot: undefined,
|
|
728
|
-
prevProps: props,
|
|
729
|
-
components: createComponents(props.components),
|
|
730
|
-
columns: columns
|
|
731
|
-
});
|
|
732
|
-
return _this;
|
|
733
|
-
}
|
|
734
|
-
_createClass(Table, [{
|
|
735
|
-
key: "componentDidUpdate",
|
|
736
|
-
value: function componentDidUpdate() {
|
|
737
|
-
var _this$state = this.state,
|
|
738
|
-
columns = _this$state.columns,
|
|
739
|
-
sortColumn = _this$state.sortColumn,
|
|
740
|
-
sortOrder = _this$state.sortOrder;
|
|
741
|
-
if (this.getSortOrderColumns(columns).length > 0) {
|
|
742
|
-
var sortState = this.getSortStateFromColumns(columns);
|
|
743
|
-
if (!isSameColumn(sortState.sortColumn, sortColumn) || sortState.sortOrder !== sortOrder) {
|
|
744
|
-
this.setState(sortState);
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
}, {
|
|
749
|
-
key: "getDefaultSelection",
|
|
750
|
-
value: function getDefaultSelection() {
|
|
751
|
-
var _this2 = this;
|
|
752
|
-
var rowSelection = getRowSelection(this.props);
|
|
753
|
-
if (!rowSelection.getCheckboxProps) {
|
|
754
|
-
return [];
|
|
755
|
-
}
|
|
756
|
-
return this.getFlatData().filter(function (item, rowIndex) {
|
|
757
|
-
return _this2.getCheckboxPropsByItem(item, rowIndex).defaultChecked;
|
|
758
|
-
}).map(function (record, rowIndex) {
|
|
759
|
-
return _this2.getRecordKey(record, rowIndex);
|
|
760
|
-
});
|
|
761
|
-
}
|
|
762
|
-
}, {
|
|
763
|
-
key: "getDefaultPagination",
|
|
764
|
-
value: function getDefaultPagination(props) {
|
|
765
|
-
var pagination = _typeof(props.pagination) === 'object' ? props.pagination : {};
|
|
766
|
-
var current;
|
|
767
|
-
if ('current' in pagination) {
|
|
768
|
-
current = pagination.current;
|
|
769
|
-
} else if ('defaultCurrent' in pagination) {
|
|
770
|
-
current = pagination.defaultCurrent;
|
|
771
|
-
}
|
|
772
|
-
var pageSize;
|
|
773
|
-
if ('pageSize' in pagination) {
|
|
774
|
-
pageSize = pagination.pageSize;
|
|
775
|
-
} else if ('defaultPageSize' in pagination) {
|
|
776
|
-
pageSize = pagination.defaultPageSize;
|
|
777
|
-
}
|
|
778
|
-
return this.hasPagination(props) ? _extends(_extends(_extends({}, defaultPagination), pagination), {
|
|
779
|
-
current: current || 1,
|
|
780
|
-
pageSize: pageSize || 10
|
|
781
|
-
}) : {};
|
|
782
|
-
}
|
|
783
|
-
}, {
|
|
784
|
-
key: "getSortOrderColumns",
|
|
785
|
-
value: function getSortOrderColumns(columns) {
|
|
786
|
-
return flatFilter(columns || (this.state || {}).columns || [], function (column) {
|
|
787
|
-
return 'sortOrder' in column;
|
|
788
|
-
});
|
|
789
|
-
}
|
|
790
|
-
}, {
|
|
791
|
-
key: "getDefaultFilters",
|
|
792
|
-
value: function getDefaultFilters(columns) {
|
|
793
|
-
var definedFilters = getFiltersFromColumns(this.state, columns);
|
|
794
|
-
var defaultFilteredValueColumns = flatFilter(columns || [], function (column) {
|
|
795
|
-
return typeof column.defaultFilteredValue !== 'undefined';
|
|
796
|
-
});
|
|
797
|
-
var defaultFilters = defaultFilteredValueColumns.reduce(function (soFar, col) {
|
|
798
|
-
var colKey = getColumnKey(col);
|
|
799
|
-
soFar[colKey] = col.defaultFilteredValue;
|
|
800
|
-
return soFar;
|
|
801
|
-
}, {});
|
|
802
|
-
return _extends(_extends({}, defaultFilters), definedFilters);
|
|
803
|
-
}
|
|
804
|
-
}, {
|
|
805
|
-
key: "getDefaultSortOrder",
|
|
806
|
-
value: function getDefaultSortOrder(columns) {
|
|
807
|
-
var definedSortState = this.getSortStateFromColumns(columns);
|
|
808
|
-
var defaultSortedColumn = flatFilter(columns || [], function (column) {
|
|
809
|
-
return column.defaultSortOrder != null;
|
|
810
|
-
})[0];
|
|
811
|
-
if (defaultSortedColumn && !definedSortState.sortColumn) {
|
|
812
|
-
return {
|
|
813
|
-
sortColumn: defaultSortedColumn,
|
|
814
|
-
sortOrder: defaultSortedColumn.defaultSortOrder
|
|
815
|
-
};
|
|
816
|
-
}
|
|
817
|
-
return definedSortState;
|
|
818
|
-
}
|
|
819
|
-
}, {
|
|
820
|
-
key: "getSortStateFromColumns",
|
|
821
|
-
value: function getSortStateFromColumns(columns) {
|
|
822
|
-
// return first column which sortOrder is not falsy
|
|
823
|
-
var sortedColumn = this.getSortOrderColumns(columns).filter(function (col) {
|
|
824
|
-
return col.sortOrder;
|
|
825
|
-
})[0];
|
|
826
|
-
if (sortedColumn) {
|
|
827
|
-
return {
|
|
828
|
-
sortColumn: sortedColumn,
|
|
829
|
-
sortOrder: sortedColumn.sortOrder
|
|
830
|
-
};
|
|
831
|
-
}
|
|
832
|
-
return {
|
|
833
|
-
sortColumn: null,
|
|
834
|
-
sortOrder: null
|
|
835
|
-
};
|
|
836
|
-
}
|
|
837
|
-
}, {
|
|
838
|
-
key: "getMaxCurrent",
|
|
839
|
-
value: function getMaxCurrent(total) {
|
|
840
|
-
var _this$state$paginatio = this.state.pagination,
|
|
841
|
-
current = _this$state$paginatio.current,
|
|
842
|
-
pageSize = _this$state$paginatio.pageSize;
|
|
843
|
-
if ((current - 1) * pageSize >= total) {
|
|
844
|
-
return Math.floor((total - 1) / pageSize) + 1;
|
|
845
|
-
}
|
|
846
|
-
return current;
|
|
847
|
-
}
|
|
848
|
-
}, {
|
|
849
|
-
key: "getSorterFn",
|
|
850
|
-
value: function getSorterFn(state) {
|
|
851
|
-
var _ref5 = state || this.state,
|
|
852
|
-
sortOrder = _ref5.sortOrder,
|
|
853
|
-
sortColumn = _ref5.sortColumn;
|
|
854
|
-
if (!sortOrder || !sortColumn || typeof sortColumn.sorter !== 'function') {
|
|
855
|
-
return;
|
|
856
|
-
}
|
|
857
|
-
return function (a, b) {
|
|
858
|
-
var result = sortColumn.sorter(a, b, sortOrder);
|
|
859
|
-
if (result !== 0) {
|
|
860
|
-
return sortOrder === 'descend' ? -result : result;
|
|
861
|
-
}
|
|
862
|
-
return 0;
|
|
863
|
-
};
|
|
864
|
-
}
|
|
865
|
-
}, {
|
|
866
|
-
key: "getCurrentPageData",
|
|
867
|
-
value: function getCurrentPageData() {
|
|
868
|
-
var data = this.getLocalData();
|
|
869
|
-
var current;
|
|
870
|
-
var pageSize;
|
|
871
|
-
var state = this.state; // 如果没有分页的话,默认全部展示
|
|
872
|
-
|
|
873
|
-
if (!this.hasPagination()) {
|
|
874
|
-
pageSize = Number.MAX_VALUE;
|
|
875
|
-
current = 1;
|
|
876
|
-
} else {
|
|
877
|
-
pageSize = state.pagination.pageSize;
|
|
878
|
-
current = this.getMaxCurrent(state.pagination.total || data.length);
|
|
879
|
-
} // 分页
|
|
880
|
-
// ---
|
|
881
|
-
// 当数据量少于等于每页数量时,直接设置数据
|
|
882
|
-
// 否则进行读取分页数据
|
|
883
|
-
|
|
884
|
-
if (data.length > pageSize || pageSize === Number.MAX_VALUE) {
|
|
885
|
-
data = data.slice((current - 1) * pageSize, current * pageSize);
|
|
886
|
-
}
|
|
887
|
-
return data;
|
|
888
|
-
}
|
|
889
|
-
}, {
|
|
890
|
-
key: "getFlatData",
|
|
891
|
-
value: function getFlatData() {
|
|
892
|
-
var childrenColumnName = this.props.childrenColumnName;
|
|
893
|
-
return flatArray(this.getLocalData(null, false), childrenColumnName);
|
|
894
|
-
}
|
|
895
|
-
}, {
|
|
896
|
-
key: "getFlatCurrentPageData",
|
|
897
|
-
value: function getFlatCurrentPageData() {
|
|
898
|
-
var childrenColumnName = this.props.childrenColumnName;
|
|
899
|
-
return flatArray(this.getCurrentPageData(), childrenColumnName);
|
|
900
|
-
}
|
|
901
|
-
}, {
|
|
902
|
-
key: "getLocalData",
|
|
903
|
-
value: function getLocalData(state) {
|
|
904
|
-
var _this3 = this;
|
|
905
|
-
var filter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
906
|
-
var currentState = state || this.state;
|
|
907
|
-
var dataSource = this.props.dataSource;
|
|
908
|
-
var data = dataSource || []; // 优化本地排序
|
|
909
|
-
|
|
910
|
-
data = data.slice(0);
|
|
911
|
-
var sorterFn = this.getSorterFn(currentState);
|
|
912
|
-
if (sorterFn) {
|
|
913
|
-
data = this.recursiveSort(data, sorterFn);
|
|
914
|
-
} // 筛选
|
|
915
|
-
|
|
916
|
-
if (filter && currentState.filters) {
|
|
917
|
-
Object.keys(currentState.filters).forEach(function (columnKey) {
|
|
918
|
-
var col = _this3.findColumn(columnKey);
|
|
919
|
-
if (!col) {
|
|
920
|
-
return;
|
|
921
|
-
}
|
|
922
|
-
var values = currentState.filters[columnKey] || [];
|
|
923
|
-
if (values.length === 0) {
|
|
924
|
-
return;
|
|
925
|
-
}
|
|
926
|
-
var onFilter = col.onFilter;
|
|
927
|
-
data = onFilter ? data.filter(function (record) {
|
|
928
|
-
return values.some(function (v) {
|
|
929
|
-
return onFilter(v, record);
|
|
930
|
-
});
|
|
931
|
-
}) : data;
|
|
932
|
-
});
|
|
933
|
-
}
|
|
934
|
-
return data;
|
|
935
|
-
}
|
|
936
|
-
}, {
|
|
937
|
-
key: "setSelectedRowKeys",
|
|
938
|
-
value: function setSelectedRowKeys(selectedRowKeys, selectionInfo) {
|
|
939
|
-
var _this4 = this;
|
|
940
|
-
var selectWay = selectionInfo.selectWay,
|
|
941
|
-
record = selectionInfo.record,
|
|
942
|
-
checked = selectionInfo.checked,
|
|
943
|
-
changeRowKeys = selectionInfo.changeRowKeys,
|
|
944
|
-
nativeEvent = selectionInfo.nativeEvent;
|
|
945
|
-
var rowSelection = getRowSelection(this.props);
|
|
946
|
-
if (rowSelection && !('selectedRowKeys' in rowSelection)) {
|
|
947
|
-
this.props.store.setState({
|
|
948
|
-
selectedRowKeys: selectedRowKeys
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
var data = this.getFlatData();
|
|
952
|
-
if (!rowSelection.onChange && !rowSelection[selectWay]) {
|
|
953
|
-
return;
|
|
954
|
-
}
|
|
955
|
-
var selectedRows = data.filter(function (row, i) {
|
|
956
|
-
return selectedRowKeys.indexOf(_this4.getRecordKey(row, i)) >= 0;
|
|
957
|
-
});
|
|
958
|
-
if (rowSelection.onChange) {
|
|
959
|
-
rowSelection.onChange(selectedRowKeys, selectedRows);
|
|
960
|
-
}
|
|
961
|
-
if (selectWay === 'onSelect' && rowSelection.onSelect) {
|
|
962
|
-
rowSelection.onSelect(record, checked, selectedRows, nativeEvent);
|
|
963
|
-
} else if (selectWay === 'onSelectMultiple' && rowSelection.onSelectMultiple) {
|
|
964
|
-
var changeRows = data.filter(function (row, i) {
|
|
965
|
-
return changeRowKeys.indexOf(_this4.getRecordKey(row, i)) >= 0;
|
|
966
|
-
});
|
|
967
|
-
rowSelection.onSelectMultiple(checked, selectedRows, changeRows);
|
|
968
|
-
} else if (selectWay === 'onSelectAll' && rowSelection.onSelectAll) {
|
|
969
|
-
var _changeRows = data.filter(function (row, i) {
|
|
970
|
-
return changeRowKeys.indexOf(_this4.getRecordKey(row, i)) >= 0;
|
|
971
|
-
});
|
|
972
|
-
rowSelection.onSelectAll(checked, selectedRows, _changeRows);
|
|
973
|
-
} else if (selectWay === 'onSelectInvert' && rowSelection.onSelectInvert) {
|
|
974
|
-
rowSelection.onSelectInvert(selectedRowKeys);
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}, {
|
|
978
|
-
key: "toggleSortOrder",
|
|
979
|
-
value: function toggleSortOrder(column) {
|
|
980
|
-
var sortDirections = column.sortDirections || this.props.sortDirections;
|
|
981
|
-
var _this$state2 = this.state,
|
|
982
|
-
sortOrder = _this$state2.sortOrder,
|
|
983
|
-
sortColumn = _this$state2.sortColumn; // 只同时允许一列进行排序,否则会导致排序顺序的逻辑问题
|
|
984
|
-
|
|
985
|
-
var newSortOrder; // 切换另一列时,丢弃 sortOrder 的状态
|
|
986
|
-
|
|
987
|
-
if (isSameColumn(sortColumn, column) && sortOrder !== undefined) {
|
|
988
|
-
// 按照sortDirections的内容依次切换排序状态
|
|
989
|
-
var methodIndex = sortDirections.indexOf(sortOrder) + 1;
|
|
990
|
-
newSortOrder = methodIndex === sortDirections.length ? undefined : sortDirections[methodIndex];
|
|
991
|
-
} else {
|
|
992
|
-
newSortOrder = sortDirections[0];
|
|
993
|
-
}
|
|
994
|
-
var newState = {
|
|
995
|
-
sortOrder: newSortOrder,
|
|
996
|
-
sortColumn: newSortOrder ? column : null
|
|
997
|
-
}; // Controlled
|
|
998
|
-
|
|
999
|
-
if (this.getSortOrderColumns().length === 0) {
|
|
1000
|
-
this.setState(newState, this.scrollToFirstRow);
|
|
1001
|
-
}
|
|
1002
|
-
var onChange = this.props.onChange;
|
|
1003
|
-
if (onChange) {
|
|
1004
|
-
onChange.apply(null, this.prepareParamsArguments(_extends(_extends({}, this.state), newState), column));
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
}, {
|
|
1008
|
-
key: "hasPagination",
|
|
1009
|
-
value: function hasPagination(props) {
|
|
1010
|
-
return (props || this.props).pagination !== false;
|
|
1011
|
-
}
|
|
1012
|
-
}, {
|
|
1013
|
-
key: "isSortColumn",
|
|
1014
|
-
value: function isSortColumn(column) {
|
|
1015
|
-
var sortColumn = this.state.sortColumn;
|
|
1016
|
-
if (!column || !sortColumn) {
|
|
1017
|
-
return false;
|
|
1018
|
-
}
|
|
1019
|
-
return getColumnKey(sortColumn) === getColumnKey(column);
|
|
1020
|
-
} // Get pagination, filters, sorter
|
|
1021
|
-
}, {
|
|
1022
|
-
key: "prepareParamsArguments",
|
|
1023
|
-
value: function prepareParamsArguments(state, column) {
|
|
1024
|
-
var pagination = _extends({}, state.pagination); // remove useless handle function in Table.onChange
|
|
1025
|
-
|
|
1026
|
-
delete pagination.onChange;
|
|
1027
|
-
delete pagination.onShowSizeChange;
|
|
1028
|
-
var filters = state.filters;
|
|
1029
|
-
var sorter = {};
|
|
1030
|
-
var currentColumn = column;
|
|
1031
|
-
if (state.sortColumn && state.sortOrder) {
|
|
1032
|
-
currentColumn = state.sortColumn;
|
|
1033
|
-
sorter.column = state.sortColumn;
|
|
1034
|
-
sorter.order = state.sortOrder;
|
|
1035
|
-
}
|
|
1036
|
-
if (currentColumn) {
|
|
1037
|
-
sorter.field = currentColumn.dataIndex;
|
|
1038
|
-
sorter.columnKey = getColumnKey(currentColumn);
|
|
1039
|
-
}
|
|
1040
|
-
var extra = {
|
|
1041
|
-
currentDataSource: this.getLocalData(state)
|
|
1042
|
-
};
|
|
1043
|
-
return [pagination, filters, sorter, extra];
|
|
1044
|
-
}
|
|
1045
|
-
}, {
|
|
1046
|
-
key: "findColumn",
|
|
1047
|
-
value: function findColumn(myKey) {
|
|
1048
|
-
var column;
|
|
1049
|
-
treeMap(this.state.columns, function (c) {
|
|
1050
|
-
if (getColumnKey(c) === myKey) {
|
|
1051
|
-
column = c;
|
|
1052
|
-
}
|
|
1053
|
-
});
|
|
1054
|
-
return column;
|
|
1055
|
-
}
|
|
1056
|
-
}, {
|
|
1057
|
-
key: "recursiveSort",
|
|
1058
|
-
value: function recursiveSort(data, sorterFn) {
|
|
1059
|
-
var _this5 = this;
|
|
1060
|
-
var _this$props$childrenC = this.props.childrenColumnName,
|
|
1061
|
-
childrenColumnName = _this$props$childrenC === void 0 ? 'children' : _this$props$childrenC;
|
|
1062
|
-
return data.sort(sorterFn).map(function (item) {
|
|
1063
|
-
return item[childrenColumnName] ? _extends(_extends({}, item), _defineProperty({}, childrenColumnName, _this5.recursiveSort(item[childrenColumnName], sorterFn))) : item;
|
|
1064
|
-
});
|
|
1065
|
-
}
|
|
1066
|
-
}, {
|
|
1067
|
-
key: "renderPagination",
|
|
1068
|
-
value: function renderPagination(prefixCls, paginationPosition) {
|
|
1069
|
-
// 强制不需要分页
|
|
1070
|
-
if (!this.hasPagination()) {
|
|
1071
|
-
return null;
|
|
1072
|
-
}
|
|
1073
|
-
var size = 'default';
|
|
1074
|
-
var pagination = this.state.pagination;
|
|
1075
|
-
if (pagination.size) {
|
|
1076
|
-
size = pagination.size;
|
|
1077
|
-
} else if (this.props.size === 'middle' || this.props.size === 'small') {
|
|
1078
|
-
size = 'small';
|
|
1079
|
-
}
|
|
1080
|
-
var position = pagination.position || 'bottom';
|
|
1081
|
-
var total = pagination.total || this.getLocalData().length;
|
|
1082
|
-
return total > 0 && (position === paginationPosition || position === 'both') ? /*#__PURE__*/React.createElement(Pagination, _extends({
|
|
1083
|
-
key: "pagination-".concat(paginationPosition)
|
|
1084
|
-
}, pagination, {
|
|
1085
|
-
className: classNames(pagination.className, "".concat(prefixCls, "-pagination")),
|
|
1086
|
-
onChange: this.handlePageChange,
|
|
1087
|
-
total: total,
|
|
1088
|
-
size: size,
|
|
1089
|
-
current: this.getMaxCurrent(total),
|
|
1090
|
-
onShowSizeChange: this.handleShowSizeChange
|
|
1091
|
-
})) : null;
|
|
1092
|
-
}
|
|
1093
|
-
}, {
|
|
1094
|
-
key: "renderRowSelection",
|
|
1095
|
-
value: function renderRowSelection(_ref6) {
|
|
1096
|
-
var _this6 = this;
|
|
1097
|
-
var prefixCls = _ref6.prefixCls,
|
|
1098
|
-
locale = _ref6.locale,
|
|
1099
|
-
getPopupContainer = _ref6.getPopupContainer;
|
|
1100
|
-
var rowSelection = this.props.rowSelection;
|
|
1101
|
-
var columns = this.state.columns.concat();
|
|
1102
|
-
if (rowSelection) {
|
|
1103
|
-
var data = this.getFlatCurrentPageData().filter(function (item, index) {
|
|
1104
|
-
if (rowSelection.getCheckboxProps) {
|
|
1105
|
-
return !_this6.getCheckboxPropsByItem(item, index).disabled;
|
|
1106
|
-
}
|
|
1107
|
-
return true;
|
|
1108
|
-
});
|
|
1109
|
-
var selectionColumnClass = classNames("".concat(prefixCls, "-selection-column"), _defineProperty({}, "".concat(prefixCls, "-selection-column-custom"), rowSelection.selections));
|
|
1110
|
-
var selectionColumn = _defineProperty({
|
|
1111
|
-
key: 'selection-column',
|
|
1112
|
-
render: this.renderSelectionBox(rowSelection.type),
|
|
1113
|
-
className: selectionColumnClass,
|
|
1114
|
-
fixed: rowSelection.fixed,
|
|
1115
|
-
width: rowSelection.columnWidth,
|
|
1116
|
-
title: rowSelection.columnTitle
|
|
1117
|
-
}, INTERNAL_COL_DEFINE, {
|
|
1118
|
-
className: "".concat(prefixCls, "-selection-col")
|
|
1119
|
-
});
|
|
1120
|
-
if (rowSelection.type !== 'radio') {
|
|
1121
|
-
var checkboxAllDisabled = data.every(function (item, index) {
|
|
1122
|
-
return _this6.getCheckboxPropsByItem(item, index).disabled;
|
|
1123
|
-
});
|
|
1124
|
-
selectionColumn.title = selectionColumn.title || /*#__PURE__*/React.createElement(SelectionCheckboxAll, {
|
|
1125
|
-
store: this.props.store,
|
|
1126
|
-
locale: locale,
|
|
1127
|
-
data: data,
|
|
1128
|
-
getCheckboxPropsByItem: this.getCheckboxPropsByItem,
|
|
1129
|
-
getRecordKey: this.getRecordKey,
|
|
1130
|
-
disabled: checkboxAllDisabled,
|
|
1131
|
-
prefixCls: prefixCls,
|
|
1132
|
-
onSelect: this.handleSelectRow,
|
|
1133
|
-
selections: rowSelection.selections,
|
|
1134
|
-
hideDefaultSelections: rowSelection.hideDefaultSelections,
|
|
1135
|
-
getPopupContainer: this.generatePopupContainerFunc(getPopupContainer)
|
|
1136
|
-
});
|
|
1137
|
-
}
|
|
1138
|
-
if ('fixed' in rowSelection) {
|
|
1139
|
-
selectionColumn.fixed = rowSelection.fixed;
|
|
1140
|
-
} else if (columns.some(function (column) {
|
|
1141
|
-
return column.fixed === 'left' || column.fixed === true;
|
|
1142
|
-
})) {
|
|
1143
|
-
selectionColumn.fixed = 'left';
|
|
1144
|
-
}
|
|
1145
|
-
if (columns[0] && columns[0].key === 'selection-column') {
|
|
1146
|
-
columns[0] = selectionColumn;
|
|
1147
|
-
} else {
|
|
1148
|
-
columns.unshift(selectionColumn);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
return columns;
|
|
1152
|
-
}
|
|
1153
|
-
}, {
|
|
1154
|
-
key: "renderColumnsDropdown",
|
|
1155
|
-
value: function renderColumnsDropdown(_ref7) {
|
|
1156
|
-
var _this7 = this;
|
|
1157
|
-
var prefixCls = _ref7.prefixCls,
|
|
1158
|
-
dropdownPrefixCls = _ref7.dropdownPrefixCls,
|
|
1159
|
-
columns = _ref7.columns,
|
|
1160
|
-
locale = _ref7.locale,
|
|
1161
|
-
getPopupContainer = _ref7.getPopupContainer;
|
|
1162
|
-
var _this$state3 = this.state,
|
|
1163
|
-
sortOrder = _this$state3.sortOrder,
|
|
1164
|
-
filters = _this$state3.filters;
|
|
1165
|
-
return treeMap(columns, function (column, i) {
|
|
1166
|
-
var _classNames4;
|
|
1167
|
-
var key = getColumnKey(column, i);
|
|
1168
|
-
var filterDropdown;
|
|
1169
|
-
var sortButton;
|
|
1170
|
-
var onHeaderCell = column.onHeaderCell;
|
|
1171
|
-
var isSortColumn = _this7.isSortColumn(column);
|
|
1172
|
-
if (column.filters && column.filters.length > 0 || column.filterDropdown) {
|
|
1173
|
-
var colFilters = key in filters ? filters[key] : [];
|
|
1174
|
-
filterDropdown = /*#__PURE__*/React.createElement(FilterDropdown, {
|
|
1175
|
-
locale: locale,
|
|
1176
|
-
column: column,
|
|
1177
|
-
selectedKeys: colFilters,
|
|
1178
|
-
confirmFilter: _this7.handleFilter,
|
|
1179
|
-
prefixCls: "".concat(prefixCls, "-filter"),
|
|
1180
|
-
dropdownPrefixCls: dropdownPrefixCls || 'ant-dropdown',
|
|
1181
|
-
getPopupContainer: _this7.generatePopupContainerFunc(getPopupContainer),
|
|
1182
|
-
key: "filter-dropdown"
|
|
1183
|
-
});
|
|
1184
|
-
}
|
|
1185
|
-
if (column.sorter) {
|
|
1186
|
-
var sortDirections = column.sortDirections || _this7.props.sortDirections;
|
|
1187
|
-
var isAscend = isSortColumn && sortOrder === 'ascend';
|
|
1188
|
-
var isDescend = isSortColumn && sortOrder === 'descend';
|
|
1189
|
-
var ascend = sortDirections.indexOf('ascend') !== -1 && /*#__PURE__*/React.createElement(Icon, {
|
|
1190
|
-
className: "".concat(prefixCls, "-column-sorter-up ").concat(isAscend ? 'on' : 'off'),
|
|
1191
|
-
type: "caret-up",
|
|
1192
|
-
theme: "filled"
|
|
1193
|
-
});
|
|
1194
|
-
var descend = sortDirections.indexOf('descend') !== -1 && /*#__PURE__*/React.createElement(Icon, {
|
|
1195
|
-
className: "".concat(prefixCls, "-column-sorter-down ").concat(isDescend ? 'on' : 'off'),
|
|
1196
|
-
type: "caret-down",
|
|
1197
|
-
theme: "filled"
|
|
1198
|
-
});
|
|
1199
|
-
sortButton = /*#__PURE__*/React.createElement("div", {
|
|
1200
|
-
title: locale.sortTitle,
|
|
1201
|
-
className: classNames("".concat(prefixCls, "-column-sorter-inner"), ascend && descend && "".concat(prefixCls, "-column-sorter-inner-full")),
|
|
1202
|
-
key: "sorter"
|
|
1203
|
-
}, ascend, descend);
|
|
1204
|
-
onHeaderCell = function onHeaderCell(col) {
|
|
1205
|
-
var colProps = {}; // Get original first
|
|
1206
|
-
|
|
1207
|
-
if (column.onHeaderCell) {
|
|
1208
|
-
colProps = _extends({}, column.onHeaderCell(col));
|
|
1209
|
-
} // Add sorter logic
|
|
1210
|
-
|
|
1211
|
-
var onHeaderCellClick = colProps.onClick;
|
|
1212
|
-
colProps.onClick = function () {
|
|
1213
|
-
_this7.toggleSortOrder(column);
|
|
1214
|
-
if (onHeaderCellClick) {
|
|
1215
|
-
onHeaderCellClick.apply(void 0, arguments);
|
|
1216
|
-
}
|
|
1217
|
-
};
|
|
1218
|
-
return colProps;
|
|
1219
|
-
};
|
|
1220
|
-
}
|
|
1221
|
-
return _extends(_extends({}, column), {
|
|
1222
|
-
className: classNames(column.className, (_classNames4 = {}, _defineProperty(_classNames4, "".concat(prefixCls, "-column-has-actions"), sortButton || filterDropdown), _defineProperty(_classNames4, "".concat(prefixCls, "-column-has-filters"), filterDropdown), _defineProperty(_classNames4, "".concat(prefixCls, "-column-has-sorters"), sortButton), _defineProperty(_classNames4, "".concat(prefixCls, "-column-sort"), isSortColumn && sortOrder), _classNames4)),
|
|
1223
|
-
title: [/*#__PURE__*/React.createElement("span", {
|
|
1224
|
-
key: "title",
|
|
1225
|
-
className: "".concat(prefixCls, "-header-column")
|
|
1226
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1227
|
-
className: sortButton ? "".concat(prefixCls, "-column-sorters") : undefined
|
|
1228
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
1229
|
-
className: "".concat(prefixCls, "-column-title")
|
|
1230
|
-
}, _this7.renderColumnTitle(column.title)), /*#__PURE__*/React.createElement("span", {
|
|
1231
|
-
className: "".concat(prefixCls, "-column-sorter")
|
|
1232
|
-
}, sortButton))), filterDropdown],
|
|
1233
|
-
onHeaderCell: onHeaderCell
|
|
1234
|
-
});
|
|
1235
|
-
});
|
|
1236
|
-
}
|
|
1237
|
-
}, {
|
|
1238
|
-
key: "renderColumnTitle",
|
|
1239
|
-
value: function renderColumnTitle(title) {
|
|
1240
|
-
var _this$state4 = this.state,
|
|
1241
|
-
filters = _this$state4.filters,
|
|
1242
|
-
sortOrder = _this$state4.sortOrder,
|
|
1243
|
-
sortColumn = _this$state4.sortColumn; // https://github.com/ant-design/ant-design/issues/11246#issuecomment-405009167
|
|
1244
|
-
|
|
1245
|
-
if (title instanceof Function) {
|
|
1246
|
-
return title({
|
|
1247
|
-
filters: filters,
|
|
1248
|
-
sortOrder: sortOrder,
|
|
1249
|
-
sortColumn: sortColumn
|
|
1250
|
-
});
|
|
1251
|
-
}
|
|
1252
|
-
return title;
|
|
1253
|
-
}
|
|
1254
|
-
}, {
|
|
1255
|
-
key: "render",
|
|
1256
|
-
value: function render() {
|
|
1257
|
-
return /*#__PURE__*/React.createElement(ConfigConsumer, null, this.renderComponent);
|
|
1258
|
-
}
|
|
1259
|
-
}], [{
|
|
1260
|
-
key: "getDerivedStateFromProps",
|
|
1261
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
1262
|
-
var prevProps = prevState.prevProps;
|
|
1263
|
-
var columns = nextProps.columns || normalizeColumns(nextProps.children);
|
|
1264
|
-
var nextState = _extends(_extends({}, prevState), {
|
|
1265
|
-
prevProps: nextProps,
|
|
1266
|
-
columns: columns
|
|
1267
|
-
});
|
|
1268
|
-
if ('pagination' in nextProps || 'pagination' in prevProps) {
|
|
1269
|
-
var newPagination = _extends(_extends(_extends({}, defaultPagination), prevState.pagination), nextProps.pagination);
|
|
1270
|
-
newPagination.current = newPagination.current || 1;
|
|
1271
|
-
newPagination.pageSize = newPagination.pageSize || 10;
|
|
1272
|
-
nextState = _extends(_extends({}, nextState), {
|
|
1273
|
-
pagination: nextProps.pagination !== false ? newPagination : emptyObject
|
|
1274
|
-
});
|
|
1275
|
-
}
|
|
1276
|
-
if (nextProps.rowSelection && 'selectedRowKeys' in nextProps.rowSelection) {
|
|
1277
|
-
nextProps.store.setState({
|
|
1278
|
-
selectedRowKeys: nextProps.rowSelection.selectedRowKeys || []
|
|
1279
|
-
});
|
|
1280
|
-
} else if (prevProps.rowSelection && !nextProps.rowSelection) {
|
|
1281
|
-
nextProps.store.setState({
|
|
1282
|
-
selectedRowKeys: []
|
|
1283
|
-
});
|
|
1284
|
-
}
|
|
1285
|
-
if ('dataSource' in nextProps && nextProps.dataSource !== prevProps.dataSource) {
|
|
1286
|
-
nextProps.store.setState({
|
|
1287
|
-
selectionDirty: false
|
|
1288
|
-
});
|
|
1289
|
-
} // https://github.com/ant-design/ant-design/issues/10133
|
|
1290
|
-
|
|
1291
|
-
nextProps.setCheckboxPropsCache({}); // Update filters
|
|
1292
|
-
|
|
1293
|
-
var filteredValueColumns = getFilteredValueColumns(nextState, nextState.columns);
|
|
1294
|
-
if (filteredValueColumns.length > 0) {
|
|
1295
|
-
var filtersFromColumns = getFiltersFromColumns(nextState, nextState.columns);
|
|
1296
|
-
var newFilters = _extends({}, nextState.filters);
|
|
1297
|
-
Object.keys(filtersFromColumns).forEach(function (key) {
|
|
1298
|
-
newFilters[key] = filtersFromColumns[key];
|
|
1299
|
-
});
|
|
1300
|
-
if (isFiltersChanged(nextState, newFilters)) {
|
|
1301
|
-
nextState = _extends(_extends({}, nextState), {
|
|
1302
|
-
filters: newFilters
|
|
1303
|
-
});
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
if (!isTheSameComponents(nextProps.components, prevProps.components)) {
|
|
1307
|
-
var components = createComponents(nextProps.components);
|
|
1308
|
-
nextState = _extends(_extends({}, nextState), {
|
|
1309
|
-
components: components
|
|
1310
|
-
});
|
|
1311
|
-
}
|
|
1312
|
-
return nextState;
|
|
1313
|
-
}
|
|
1314
|
-
}]);
|
|
1315
|
-
return Table;
|
|
1316
|
-
}(React.Component);
|
|
1317
|
-
Table.propTypes = {
|
|
1318
|
-
dataSource: PropTypes.array,
|
|
1319
|
-
columns: PropTypes.array,
|
|
1320
|
-
prefixCls: PropTypes.string,
|
|
1321
|
-
useFixedHeader: PropTypes.bool,
|
|
1322
|
-
rowSelection: PropTypes.object,
|
|
1323
|
-
className: PropTypes.string,
|
|
1324
|
-
size: PropTypes.string,
|
|
1325
|
-
loading: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
|
|
1326
|
-
bordered: PropTypes.bool,
|
|
1327
|
-
onChange: PropTypes.func,
|
|
1328
|
-
locale: PropTypes.object,
|
|
1329
|
-
dropdownPrefixCls: PropTypes.string,
|
|
1330
|
-
sortDirections: PropTypes.array,
|
|
1331
|
-
getPopupContainer: PropTypes.func
|
|
1332
|
-
};
|
|
1333
|
-
Table.defaultProps = {
|
|
1334
|
-
dataSource: [],
|
|
1335
|
-
useFixedHeader: false,
|
|
1336
|
-
className: '',
|
|
1337
|
-
size: 'default',
|
|
1338
|
-
loading: false,
|
|
1339
|
-
bordered: false,
|
|
1340
|
-
indentSize: 20,
|
|
1341
|
-
locale: {},
|
|
1342
|
-
rowKey: 'key',
|
|
1343
|
-
showHeader: true,
|
|
1344
|
-
sortDirections: ['ascend', 'descend'],
|
|
1345
|
-
childrenColumnName: 'children'
|
|
1346
|
-
};
|
|
1347
|
-
polyfill(Table);
|
|
1348
|
-
var StoreTable = /*#__PURE__*/function (_React$Component2) {
|
|
1349
|
-
_inherits(StoreTable, _React$Component2);
|
|
1350
|
-
var _super2 = _createSuper(StoreTable);
|
|
1351
|
-
function StoreTable(props) {
|
|
1352
|
-
var _this8;
|
|
1353
|
-
_classCallCheck(this, StoreTable);
|
|
1354
|
-
_this8 = _super2.call(this, props);
|
|
1355
|
-
_this8.setCheckboxPropsCache = function (cache) {
|
|
1356
|
-
return _this8.CheckboxPropsCache = cache;
|
|
1357
|
-
};
|
|
1358
|
-
_this8.CheckboxPropsCache = {};
|
|
1359
|
-
_this8.store = createStore({
|
|
1360
|
-
selectedRowKeys: getRowSelection(props).selectedRowKeys || [],
|
|
1361
|
-
selectionDirty: false
|
|
1362
|
-
});
|
|
1363
|
-
return _this8;
|
|
1364
|
-
}
|
|
1365
|
-
_createClass(StoreTable, [{
|
|
1366
|
-
key: "render",
|
|
1367
|
-
value: function render() {
|
|
1368
|
-
return /*#__PURE__*/React.createElement(Table, _extends({}, this.props, {
|
|
1369
|
-
store: this.store,
|
|
1370
|
-
checkboxPropsCache: this.CheckboxPropsCache,
|
|
1371
|
-
setCheckboxPropsCache: this.setCheckboxPropsCache
|
|
1372
|
-
}));
|
|
1373
|
-
}
|
|
1374
|
-
}]);
|
|
1375
|
-
return StoreTable;
|
|
1376
|
-
}(React.Component);
|
|
1377
|
-
StoreTable.displayName = 'withStore(Table)';
|
|
1378
|
-
StoreTable.Column = Column;
|
|
1379
|
-
StoreTable.ColumnGroup = ColumnGroup;
|
|
1380
|
-
export default StoreTable;
|