@chaoswise/ui 3.0.5 → 3.0.6
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/package.json +1 -1
- package/lib/AbreastLayout/CollapsedBtn.js +0 -45
- package/lib/AbreastLayout/CollapsedIcon.js +0 -14
- package/lib/AbreastLayout/NavTreeContainer.js +0 -26
- package/lib/AbreastLayout/assets/icon.png +0 -0
- package/lib/AbreastLayout/assets/icon.svg +0 -11
- package/lib/AbreastLayout/assets/icon1.svg +0 -20
- package/lib/AbreastLayout/index.js +0 -215
- package/lib/AbreastLayout/index.style.js +0 -91
- package/lib/Ace/ace.js +0 -600
- package/lib/Ace/diff.js +0 -291
- package/lib/Ace/editorOptions.js +0 -34
- package/lib/Ace/index.js +0 -6
- package/lib/Ace/split.js +0 -462
- package/lib/AdaptiveLayout/index.js +0 -251
- package/lib/Affix/index.js +0 -2
- package/lib/Alert/index.js +0 -2
- package/lib/Anchor/index.js +0 -2
- package/lib/Antd5/_util/ActionButton.js +0 -117
- package/lib/Antd5/_util/PurePanel.js +0 -103
- package/lib/Antd5/_util/aria-data-attrs.js +0 -1
- package/lib/Antd5/_util/capitalize.js +0 -7
- package/lib/Antd5/_util/colors.js +0 -26
- package/lib/Antd5/_util/easings.js +0 -10
- package/lib/Antd5/_util/extendsObject.js +0 -26
- package/lib/Antd5/_util/gapSize.js +0 -10
- package/lib/Antd5/_util/getAllowClear.js +0 -16
- package/lib/Antd5/_util/getRenderPropValue.js +0 -6
- package/lib/Antd5/_util/getScroll.js +0 -29
- package/lib/Antd5/_util/hooks/useClosable.js +0 -119
- package/lib/Antd5/_util/hooks/useForceUpdate.js +0 -15
- package/lib/Antd5/_util/hooks/useMultipleSelect.js +0 -47
- package/lib/Antd5/_util/hooks/usePatchElement.js +0 -33
- package/lib/Antd5/_util/hooks/useProxyImperativeHandle.js +0 -32
- package/lib/Antd5/_util/hooks/useSyncState.js +0 -13
- package/lib/Antd5/_util/hooks/useZIndex.js +0 -56
- package/lib/Antd5/_util/isNumeric.js +0 -4
- package/lib/Antd5/_util/motion.js +0 -47
- package/lib/Antd5/_util/placements.js +0 -182
- package/lib/Antd5/_util/reactNode.js +0 -13
- package/lib/Antd5/_util/responsiveObserver.js +0 -123
- package/lib/Antd5/_util/scrollTo.js +0 -34
- package/lib/Antd5/_util/statusUtils.js +0 -12
- package/lib/Antd5/_util/styleChecker.js +0 -6
- package/lib/Antd5/_util/throttleByAnimationFrame.js +0 -30
- package/lib/Antd5/_util/transButton.js +0 -63
- package/lib/Antd5/_util/transKeys.js +0 -18
- package/lib/Antd5/_util/type.js +0 -1
- package/lib/Antd5/_util/warning.js +0 -59
- package/lib/Antd5/_util/wave/WaveEffect.js +0 -160
- package/lib/Antd5/_util/wave/index.js +0 -63
- package/lib/Antd5/_util/wave/interface.js +0 -1
- package/lib/Antd5/_util/wave/style.js +0 -32
- package/lib/Antd5/_util/wave/useWave.js +0 -48
- package/lib/Antd5/_util/wave/util.js +0 -29
- package/lib/Antd5/_util/zindexContext.js +0 -6
- package/lib/Antd5/affix/index.js +0 -228
- package/lib/Antd5/affix/style/index.js +0 -20
- package/lib/Antd5/affix/utils.js +0 -19
- package/lib/Antd5/alert/Alert.js +0 -233
- package/lib/Antd5/alert/ErrorBoundary.js +0 -76
- package/lib/Antd5/alert/design/behavior-pattern.js +0 -31
- package/lib/Antd5/alert/index.js +0 -5
- package/lib/Antd5/alert/style/index.js +0 -153
- package/lib/Antd5/anchor/Anchor.js +0 -278
- package/lib/Antd5/anchor/AnchorLink.js +0 -67
- package/lib/Antd5/anchor/context.js +0 -3
- package/lib/Antd5/anchor/index.js +0 -5
- package/lib/Antd5/anchor/style/index.js +0 -124
- package/lib/Antd5/app/context.js +0 -8
- package/lib/Antd5/app/index.js +0 -93
- package/lib/Antd5/app/style/index.js +0 -24
- package/lib/Antd5/auto-complete/index.js +0 -112
- package/lib/Antd5/avatar/AvatarContext.js +0 -3
- package/lib/Antd5/avatar/avatar.js +0 -189
- package/lib/Antd5/avatar/group.js +0 -103
- package/lib/Antd5/avatar/index.js +0 -6
- package/lib/Antd5/avatar/style/index.js +0 -110
- package/lib/Antd5/back-top/index.js +0 -113
- package/lib/Antd5/back-top/style/index.js +0 -82
- package/lib/Antd5/badge/Ribbon.js +0 -65
- package/lib/Antd5/badge/ScrollNumber.js +0 -72
- package/lib/Antd5/badge/SingleNumber.js +0 -122
- package/lib/Antd5/badge/index.js +0 -189
- package/lib/Antd5/badge/style/index.js +0 -291
- package/lib/Antd5/badge/style/ribbon.js +0 -72
- package/lib/Antd5/breadcrumb/Breadcrumb.js +0 -157
- package/lib/Antd5/breadcrumb/BreadcrumbItem.js +0 -103
- package/lib/Antd5/breadcrumb/BreadcrumbSeparator.js +0 -16
- package/lib/Antd5/breadcrumb/design/behavior-pattern.js +0 -36
- package/lib/Antd5/breadcrumb/index.js +0 -2
- package/lib/Antd5/breadcrumb/style/index.js +0 -82
- package/lib/Antd5/breadcrumb/useItemRender.js +0 -57
- package/lib/Antd5/breadcrumb/useItems.js +0 -42
- package/lib/Antd5/button/IconWrapper.js +0 -17
- package/lib/Antd5/button/LoadingIcon.js +0 -87
- package/lib/Antd5/button/button-group.js +0 -59
- package/lib/Antd5/button/button.js +0 -230
- package/lib/Antd5/button/buttonHelpers.js +0 -68
- package/lib/Antd5/button/index.js +0 -3
- package/lib/Antd5/button/style/compactCmp.js +0 -46
- package/lib/Antd5/button/style/group.js +0 -52
- package/lib/Antd5/button/style/index.js +0 -322
- package/lib/Antd5/button/style/token.js +0 -61
- package/lib/Antd5/calendar/Header.js +0 -176
- package/lib/Antd5/calendar/generateCalendar.js +0 -225
- package/lib/Antd5/calendar/index.js +0 -5
- package/lib/Antd5/calendar/locale/ar_EG.js +0 -2
- package/lib/Antd5/calendar/locale/az_AZ.js +0 -2
- package/lib/Antd5/calendar/locale/bg_BG.js +0 -2
- package/lib/Antd5/calendar/locale/bn_BD.js +0 -2
- package/lib/Antd5/calendar/locale/by_BY.js +0 -2
- package/lib/Antd5/calendar/locale/ca_ES.js +0 -2
- package/lib/Antd5/calendar/locale/cs_CZ.js +0 -2
- package/lib/Antd5/calendar/locale/da_DK.js +0 -2
- package/lib/Antd5/calendar/locale/de_DE.js +0 -2
- package/lib/Antd5/calendar/locale/el_GR.js +0 -2
- package/lib/Antd5/calendar/locale/en_GB.js +0 -2
- package/lib/Antd5/calendar/locale/en_US.js +0 -2
- package/lib/Antd5/calendar/locale/es_ES.js +0 -2
- package/lib/Antd5/calendar/locale/et_EE.js +0 -2
- package/lib/Antd5/calendar/locale/eu_ES.js +0 -2
- package/lib/Antd5/calendar/locale/fa_IR.js +0 -2
- package/lib/Antd5/calendar/locale/fi_FI.js +0 -2
- package/lib/Antd5/calendar/locale/fr_BE.js +0 -2
- package/lib/Antd5/calendar/locale/fr_CA.js +0 -2
- package/lib/Antd5/calendar/locale/fr_FR.js +0 -2
- package/lib/Antd5/calendar/locale/ga_IE.js +0 -2
- package/lib/Antd5/calendar/locale/gl_ES.js +0 -2
- package/lib/Antd5/calendar/locale/he_IL.js +0 -2
- package/lib/Antd5/calendar/locale/hi_IN.js +0 -2
- package/lib/Antd5/calendar/locale/hr_HR.js +0 -2
- package/lib/Antd5/calendar/locale/hu_HU.js +0 -2
- package/lib/Antd5/calendar/locale/id_ID.js +0 -2
- package/lib/Antd5/calendar/locale/is_IS.js +0 -2
- package/lib/Antd5/calendar/locale/it_IT.js +0 -2
- package/lib/Antd5/calendar/locale/ja_JP.js +0 -2
- package/lib/Antd5/calendar/locale/ka_GE.js +0 -2
- package/lib/Antd5/calendar/locale/kk_KZ.js +0 -2
- package/lib/Antd5/calendar/locale/km_KH.js +0 -2
- package/lib/Antd5/calendar/locale/kmr_IQ.js +0 -2
- package/lib/Antd5/calendar/locale/kn_IN.js +0 -2
- package/lib/Antd5/calendar/locale/ko_KR.js +0 -2
- package/lib/Antd5/calendar/locale/lt_LT.js +0 -2
- package/lib/Antd5/calendar/locale/lv_LV.js +0 -2
- package/lib/Antd5/calendar/locale/mk_MK.js +0 -2
- package/lib/Antd5/calendar/locale/ml_IN.js +0 -2
- package/lib/Antd5/calendar/locale/mn_MN.js +0 -2
- package/lib/Antd5/calendar/locale/ms_MY.js +0 -2
- package/lib/Antd5/calendar/locale/my_MM.js +0 -2
- package/lib/Antd5/calendar/locale/nb_NO.js +0 -2
- package/lib/Antd5/calendar/locale/nl_BE.js +0 -2
- package/lib/Antd5/calendar/locale/nl_NL.js +0 -2
- package/lib/Antd5/calendar/locale/pl_PL.js +0 -2
- package/lib/Antd5/calendar/locale/pt_BR.js +0 -2
- package/lib/Antd5/calendar/locale/pt_PT.js +0 -2
- package/lib/Antd5/calendar/locale/ro_RO.js +0 -2
- package/lib/Antd5/calendar/locale/ru_RU.js +0 -2
- package/lib/Antd5/calendar/locale/si_LK.js +0 -2
- package/lib/Antd5/calendar/locale/sk_SK.js +0 -2
- package/lib/Antd5/calendar/locale/sl_SI.js +0 -2
- package/lib/Antd5/calendar/locale/sr_RS.js +0 -2
- package/lib/Antd5/calendar/locale/sv_SE.js +0 -2
- package/lib/Antd5/calendar/locale/ta_IN.js +0 -2
- package/lib/Antd5/calendar/locale/th_TH.js +0 -2
- package/lib/Antd5/calendar/locale/tk_TK.js +0 -2
- package/lib/Antd5/calendar/locale/tr_TR.js +0 -2
- package/lib/Antd5/calendar/locale/uk_UA.js +0 -2
- package/lib/Antd5/calendar/locale/ur_PK.js +0 -2
- package/lib/Antd5/calendar/locale/uz_UZ.js +0 -2
- package/lib/Antd5/calendar/locale/vi_VN.js +0 -2
- package/lib/Antd5/calendar/locale/zh_CN.js +0 -2
- package/lib/Antd5/calendar/locale/zh_TW.js +0 -2
- package/lib/Antd5/calendar/style/index.js +0 -153
- package/lib/Antd5/card/Card.js +0 -201
- package/lib/Antd5/card/Grid.js +0 -28
- package/lib/Antd5/card/Meta.js +0 -46
- package/lib/Antd5/card/index.js +0 -10
- package/lib/Antd5/card/style/index.js +0 -287
- package/lib/Antd5/carousel/index.js +0 -120
- package/lib/Antd5/carousel/style/index.js +0 -310
- package/lib/Antd5/cascader/Panel.js +0 -68
- package/lib/Antd5/cascader/hooks/useBase.js +0 -12
- package/lib/Antd5/cascader/hooks/useCheckable.js +0 -9
- package/lib/Antd5/cascader/hooks/useColumnIcons.js +0 -18
- package/lib/Antd5/cascader/index.js +0 -264
- package/lib/Antd5/cascader/style/columns.js +0 -87
- package/lib/Antd5/cascader/style/index.js +0 -48
- package/lib/Antd5/cascader/style/panel.js +0 -29
- package/lib/Antd5/checkbox/Checkbox.js +0 -125
- package/lib/Antd5/checkbox/Group.js +0 -148
- package/lib/Antd5/checkbox/GroupContext.js +0 -3
- package/lib/Antd5/checkbox/index.js +0 -9
- package/lib/Antd5/checkbox/style/index.js +0 -159
- package/lib/Antd5/col/index.js +0 -2
- package/lib/Antd5/col/style/index.js +0 -3
- package/lib/Antd5/collapse/Collapse.js +0 -121
- package/lib/Antd5/collapse/CollapsePanel.js +0 -33
- package/lib/Antd5/collapse/index.js +0 -2
- package/lib/Antd5/collapse/style/index.js +0 -183
- package/lib/Antd5/color-picker/ColorPicker.js +0 -233
- package/lib/Antd5/color-picker/ColorPickerPanel.js +0 -64
- package/lib/Antd5/color-picker/color.js +0 -67
- package/lib/Antd5/color-picker/components/ColorAlphaInput.js +0 -45
- package/lib/Antd5/color-picker/components/ColorClear.js +0 -22
- package/lib/Antd5/color-picker/components/ColorHexInput.js +0 -47
- package/lib/Antd5/color-picker/components/ColorHsbInput.js +0 -76
- package/lib/Antd5/color-picker/components/ColorInput.js +0 -86
- package/lib/Antd5/color-picker/components/ColorPresets.js +0 -109
- package/lib/Antd5/color-picker/components/ColorRgbInput.js +0 -67
- package/lib/Antd5/color-picker/components/ColorSteppers.js +0 -47
- package/lib/Antd5/color-picker/components/ColorTrigger.js +0 -65
- package/lib/Antd5/color-picker/components/PanelPicker.js +0 -53
- package/lib/Antd5/color-picker/components/PanelPresets.js +0 -18
- package/lib/Antd5/color-picker/context.js +0 -7
- package/lib/Antd5/color-picker/hooks/useColorState.js +0 -53
- package/lib/Antd5/color-picker/index.js +0 -2
- package/lib/Antd5/color-picker/interface.js +0 -6
- package/lib/Antd5/color-picker/style/color-block.js +0 -36
- package/lib/Antd5/color-picker/style/index.js +0 -203
- package/lib/Antd5/color-picker/style/input.js +0 -74
- package/lib/Antd5/color-picker/style/picker.js +0 -64
- package/lib/Antd5/color-picker/style/presets.js +0 -94
- package/lib/Antd5/color-picker/util.js +0 -18
- package/lib/Antd5/config-provider/DisabledContext.js +0 -13
- package/lib/Antd5/config-provider/MotionWrapper.js +0 -26
- package/lib/Antd5/config-provider/PropWarning.js +0 -18
- package/lib/Antd5/config-provider/SizeContext.js +0 -13
- package/lib/Antd5/config-provider/context.js +0 -16
- package/lib/Antd5/config-provider/cssVariables.js +0 -88
- package/lib/Antd5/config-provider/defaultRenderEmpty.js +0 -31
- package/lib/Antd5/config-provider/hooks/useCSSVarCls.js +0 -19
- package/lib/Antd5/config-provider/hooks/useConfig.js +0 -12
- package/lib/Antd5/config-provider/hooks/useSize.js +0 -19
- package/lib/Antd5/config-provider/hooks/useTheme.js +0 -55
- package/lib/Antd5/config-provider/hooks/useThemeKey.js +0 -14
- package/lib/Antd5/config-provider/index.js +0 -432
- package/lib/Antd5/config-provider/style/index.js +0 -2
- package/lib/Antd5/date-picker/PickerButton.js +0 -15
- package/lib/Antd5/date-picker/design/behavior-pattern.js +0 -89
- package/lib/Antd5/date-picker/generatePicker/generateRangePicker.js +0 -170
- package/lib/Antd5/date-picker/generatePicker/generateSinglePicker.js +0 -200
- package/lib/Antd5/date-picker/generatePicker/index.js +0 -26
- package/lib/Antd5/date-picker/generatePicker/interface.js +0 -2
- package/lib/Antd5/date-picker/generatePicker/useComponents.js +0 -15
- package/lib/Antd5/date-picker/index.js +0 -27
- package/lib/Antd5/date-picker/locale/ar_EG.js +0 -23
- package/lib/Antd5/date-picker/locale/az_AZ.js +0 -16
- package/lib/Antd5/date-picker/locale/bg_BG.js +0 -19
- package/lib/Antd5/date-picker/locale/bn_BD.js +0 -26
- package/lib/Antd5/date-picker/locale/by_BY.js +0 -24
- package/lib/Antd5/date-picker/locale/ca_ES.js +0 -19
- package/lib/Antd5/date-picker/locale/cs_CZ.js +0 -19
- package/lib/Antd5/date-picker/locale/da_DK.js +0 -19
- package/lib/Antd5/date-picker/locale/de_DE.js +0 -21
- package/lib/Antd5/date-picker/locale/el_GR.js +0 -19
- package/lib/Antd5/date-picker/locale/en_GB.js +0 -27
- package/lib/Antd5/date-picker/locale/en_US.js +0 -27
- package/lib/Antd5/date-picker/locale/es_ES.js +0 -21
- package/lib/Antd5/date-picker/locale/et_EE.js +0 -19
- package/lib/Antd5/date-picker/locale/eu_ES.js +0 -19
- package/lib/Antd5/date-picker/locale/example.json +0 -55
- package/lib/Antd5/date-picker/locale/fa_IR.js +0 -27
- package/lib/Antd5/date-picker/locale/fi_FI.js +0 -19
- package/lib/Antd5/date-picker/locale/fr_BE.js +0 -26
- package/lib/Antd5/date-picker/locale/fr_CA.js +0 -26
- package/lib/Antd5/date-picker/locale/fr_FR.js +0 -26
- package/lib/Antd5/date-picker/locale/ga_IE.js +0 -26
- package/lib/Antd5/date-picker/locale/gl_ES.js +0 -19
- package/lib/Antd5/date-picker/locale/he_IL.js +0 -19
- package/lib/Antd5/date-picker/locale/hi_IN.js +0 -26
- package/lib/Antd5/date-picker/locale/hr_HR.js +0 -26
- package/lib/Antd5/date-picker/locale/hu_HU.js +0 -19
- package/lib/Antd5/date-picker/locale/id_ID.js +0 -27
- package/lib/Antd5/date-picker/locale/is_IS.js +0 -19
- package/lib/Antd5/date-picker/locale/it_IT.js +0 -19
- package/lib/Antd5/date-picker/locale/ja_JP.js +0 -19
- package/lib/Antd5/date-picker/locale/ka_GE.js +0 -23
- package/lib/Antd5/date-picker/locale/kk_KZ.js +0 -26
- package/lib/Antd5/date-picker/locale/km_KH.js +0 -26
- package/lib/Antd5/date-picker/locale/kmr_IQ.js +0 -19
- package/lib/Antd5/date-picker/locale/kn_IN.js +0 -19
- package/lib/Antd5/date-picker/locale/ko_KR.js +0 -19
- package/lib/Antd5/date-picker/locale/lt_LT.js +0 -27
- package/lib/Antd5/date-picker/locale/lv_LV.js +0 -19
- package/lib/Antd5/date-picker/locale/mk_MK.js +0 -19
- package/lib/Antd5/date-picker/locale/ml_IN.js +0 -26
- package/lib/Antd5/date-picker/locale/mn_MN.js +0 -19
- package/lib/Antd5/date-picker/locale/ms_MY.js +0 -19
- package/lib/Antd5/date-picker/locale/my_MM.js +0 -27
- package/lib/Antd5/date-picker/locale/nb_NO.js +0 -26
- package/lib/Antd5/date-picker/locale/nl_BE.js +0 -26
- package/lib/Antd5/date-picker/locale/nl_NL.js +0 -26
- package/lib/Antd5/date-picker/locale/pl_PL.js +0 -19
- package/lib/Antd5/date-picker/locale/pt_BR.js +0 -19
- package/lib/Antd5/date-picker/locale/pt_PT.js +0 -47
- package/lib/Antd5/date-picker/locale/ro_RO.js +0 -19
- package/lib/Antd5/date-picker/locale/ru_RU.js +0 -29
- package/lib/Antd5/date-picker/locale/si_LK.js +0 -27
- package/lib/Antd5/date-picker/locale/sk_SK.js +0 -19
- package/lib/Antd5/date-picker/locale/sl_SI.js +0 -45
- package/lib/Antd5/date-picker/locale/sr_RS.js +0 -26
- package/lib/Antd5/date-picker/locale/sv_SE.js +0 -26
- package/lib/Antd5/date-picker/locale/ta_IN.js +0 -27
- package/lib/Antd5/date-picker/locale/th_TH.js +0 -26
- package/lib/Antd5/date-picker/locale/tk_TK.js +0 -24
- package/lib/Antd5/date-picker/locale/tr_TR.js +0 -26
- package/lib/Antd5/date-picker/locale/uk_UA.js +0 -19
- package/lib/Antd5/date-picker/locale/ur_PK.js +0 -26
- package/lib/Antd5/date-picker/locale/uz_UZ.js +0 -26
- package/lib/Antd5/date-picker/locale/vi_VN.js +0 -27
- package/lib/Antd5/date-picker/locale/zh_CN.js +0 -29
- package/lib/Antd5/date-picker/locale/zh_TW.js +0 -28
- package/lib/Antd5/date-picker/style/index.js +0 -328
- package/lib/Antd5/date-picker/style/multiple.js +0 -81
- package/lib/Antd5/date-picker/style/panel.js +0 -448
- package/lib/Antd5/date-picker/style/token.js +0 -77
- package/lib/Antd5/date-picker/style/variants.js +0 -28
- package/lib/Antd5/date-picker/util.js +0 -118
- package/lib/Antd5/descriptions/Cell.js +0 -57
- package/lib/Antd5/descriptions/DescriptionsContext.js +0 -3
- package/lib/Antd5/descriptions/Item.js +0 -5
- package/lib/Antd5/descriptions/Row.js +0 -107
- package/lib/Antd5/descriptions/constant.js +0 -9
- package/lib/Antd5/descriptions/hooks/useItems.js +0 -38
- package/lib/Antd5/descriptions/hooks/useRow.js +0 -78
- package/lib/Antd5/descriptions/index.js +0 -119
- package/lib/Antd5/descriptions/style/index.js +0 -146
- package/lib/Antd5/divider/index.js +0 -85
- package/lib/Antd5/divider/style/index.js +0 -136
- package/lib/Antd5/drawer/DrawerPanel.js +0 -107
- package/lib/Antd5/drawer/index.js +0 -206
- package/lib/Antd5/drawer/style/index.js +0 -192
- package/lib/Antd5/drawer/style/motion.js +0 -56
- package/lib/Antd5/dropdown/dropdown-button.js +0 -129
- package/lib/Antd5/dropdown/dropdown.js +0 -255
- package/lib/Antd5/dropdown/index.js +0 -5
- package/lib/Antd5/dropdown/style/index.js +0 -220
- package/lib/Antd5/dropdown/style/status.js +0 -19
- package/lib/Antd5/empty/empty.js +0 -73
- package/lib/Antd5/empty/index.js +0 -83
- package/lib/Antd5/empty/simple.js +0 -61
- package/lib/Antd5/empty/style/index.js +0 -61
- package/lib/Antd5/flex/index.js +0 -67
- package/lib/Antd5/flex/interface.js +0 -1
- package/lib/Antd5/flex/style/index.js +0 -83
- package/lib/Antd5/flex/utils.js +0 -33
- package/lib/Antd5/float-button/BackTop.js +0 -109
- package/lib/Antd5/float-button/FloatButton.js +0 -105
- package/lib/Antd5/float-button/FloatButtonContent.js +0 -31
- package/lib/Antd5/float-button/FloatButtonGroup.js +0 -144
- package/lib/Antd5/float-button/PurePanel.js +0 -49
- package/lib/Antd5/float-button/context.js +0 -5
- package/lib/Antd5/float-button/index.js +0 -8
- package/lib/Antd5/float-button/interface.js +0 -1
- package/lib/Antd5/float-button/style/index.js +0 -294
- package/lib/Antd5/float-button/util.js +0 -9
- package/lib/Antd5/form/ErrorList.js +0 -110
- package/lib/Antd5/form/Form.js +0 -166
- package/lib/Antd5/form/FormItem/ItemHolder.js +0 -128
- package/lib/Antd5/form/FormItem/StatusProvider.js +0 -73
- package/lib/Antd5/form/FormItem/index.js +0 -310
- package/lib/Antd5/form/FormItemInput.js +0 -100
- package/lib/Antd5/form/FormItemLabel.js +0 -120
- package/lib/Antd5/form/FormList.js +0 -49
- package/lib/Antd5/form/context.js +0 -51
- package/lib/Antd5/form/hooks/useChildren.js +0 -8
- package/lib/Antd5/form/hooks/useDebounce.js +0 -22
- package/lib/Antd5/form/hooks/useForm.js +0 -69
- package/lib/Antd5/form/hooks/useFormInstance.js +0 -7
- package/lib/Antd5/form/hooks/useFormItemStatus.js +0 -23
- package/lib/Antd5/form/hooks/useFormWarning.js +0 -16
- package/lib/Antd5/form/hooks/useFrameState.js +0 -46
- package/lib/Antd5/form/hooks/useItemRef.js +0 -20
- package/lib/Antd5/form/hooks/useVariants.js +0 -21
- package/lib/Antd5/form/index.js +0 -19
- package/lib/Antd5/form/interface.js +0 -1
- package/lib/Antd5/form/style/explain.js +0 -37
- package/lib/Antd5/form/style/fallbackCmp.js +0 -26
- package/lib/Antd5/form/style/index.js +0 -318
- package/lib/Antd5/form/util.js +0 -39
- package/lib/Antd5/form/validateMessagesContext.js +0 -5
- package/lib/Antd5/grid/RowContext.js +0 -3
- package/lib/Antd5/grid/col.js +0 -103
- package/lib/Antd5/grid/hooks/useBreakpoint.js +0 -23
- package/lib/Antd5/grid/index.js +0 -11
- package/lib/Antd5/grid/row.js +0 -169
- package/lib/Antd5/grid/style/index.js +0 -153
- package/lib/Antd5/icon/index.js +0 -9
- package/lib/Antd5/image/PreviewGroup.js +0 -84
- package/lib/Antd5/image/index.js +0 -94
- package/lib/Antd5/image/style/index.js +0 -264
- package/lib/Antd5/index.js +0 -72
- package/lib/Antd5/input/Group.js +0 -57
- package/lib/Antd5/input/Input.js +0 -188
- package/lib/Antd5/input/OTP/OTPInput.js +0 -69
- package/lib/Antd5/input/OTP/index.js +0 -210
- package/lib/Antd5/input/Password.js +0 -116
- package/lib/Antd5/input/Search.js +0 -143
- package/lib/Antd5/input/TextArea.js +0 -118
- package/lib/Antd5/input/hooks/useRemovePasswordTimeout.js +0 -26
- package/lib/Antd5/input/index.js +0 -13
- package/lib/Antd5/input/style/index.js +0 -532
- package/lib/Antd5/input/style/otp.js +0 -32
- package/lib/Antd5/input/style/token.js +0 -46
- package/lib/Antd5/input/style/variants.js +0 -213
- package/lib/Antd5/input/utils.js +0 -4
- package/lib/Antd5/input-number/index.js +0 -163
- package/lib/Antd5/input-number/style/index.js +0 -299
- package/lib/Antd5/input-number/style/token.js +0 -24
- package/lib/Antd5/layout/Sider.js +0 -198
- package/lib/Antd5/layout/context.js +0 -11
- package/lib/Antd5/layout/hooks/useHasSider.js +0 -14
- package/lib/Antd5/layout/index.js +0 -9
- package/lib/Antd5/layout/layout.js +0 -143
- package/lib/Antd5/layout/style/index.js +0 -187
- package/lib/Antd5/layout/style/light.js +0 -24
- package/lib/Antd5/list/Item.js +0 -113
- package/lib/Antd5/list/context.js +0 -3
- package/lib/Antd5/list/index.js +0 -246
- package/lib/Antd5/list/style/index.js +0 -249
- package/lib/Antd5/locale/ar_EG.js +0 -114
- package/lib/Antd5/locale/az_AZ.js +0 -97
- package/lib/Antd5/locale/bg_BG.js +0 -95
- package/lib/Antd5/locale/bn_BD.js +0 -127
- package/lib/Antd5/locale/by_BY.js +0 -129
- package/lib/Antd5/locale/ca_ES.js +0 -122
- package/lib/Antd5/locale/context.js +0 -3
- package/lib/Antd5/locale/cs_CZ.js +0 -129
- package/lib/Antd5/locale/da_DK.js +0 -105
- package/lib/Antd5/locale/de_DE.js +0 -133
- package/lib/Antd5/locale/el_GR.js +0 -44
- package/lib/Antd5/locale/en_GB.js +0 -129
- package/lib/Antd5/locale/en_US.js +0 -144
- package/lib/Antd5/locale/es_ES.js +0 -129
- package/lib/Antd5/locale/et_EE.js +0 -129
- package/lib/Antd5/locale/eu_ES.js +0 -141
- package/lib/Antd5/locale/fa_IR.js +0 -138
- package/lib/Antd5/locale/fi_FI.js +0 -54
- package/lib/Antd5/locale/fr_BE.js +0 -126
- package/lib/Antd5/locale/fr_CA.js +0 -126
- package/lib/Antd5/locale/fr_FR.js +0 -131
- package/lib/Antd5/locale/ga_IE.js +0 -120
- package/lib/Antd5/locale/gl_ES.js +0 -108
- package/lib/Antd5/locale/he_IL.js +0 -114
- package/lib/Antd5/locale/hi_IN.js +0 -127
- package/lib/Antd5/locale/hr_HR.js +0 -126
- package/lib/Antd5/locale/hu_HU.js +0 -45
- package/lib/Antd5/locale/hy_AM.js +0 -106
- package/lib/Antd5/locale/id_ID.js +0 -144
- package/lib/Antd5/locale/index.js +0 -40
- package/lib/Antd5/locale/is_IS.js +0 -95
- package/lib/Antd5/locale/it_IT.js +0 -134
- package/lib/Antd5/locale/ja_JP.js +0 -144
- package/lib/Antd5/locale/ka_GE.js +0 -127
- package/lib/Antd5/locale/kk_KZ.js +0 -121
- package/lib/Antd5/locale/km_KH.js +0 -105
- package/lib/Antd5/locale/kmr_IQ.js +0 -44
- package/lib/Antd5/locale/kn_IN.js +0 -51
- package/lib/Antd5/locale/ko_KR.js +0 -141
- package/lib/Antd5/locale/ku_IQ.js +0 -47
- package/lib/Antd5/locale/lt_LT.js +0 -141
- package/lib/Antd5/locale/lv_LV.js +0 -44
- package/lib/Antd5/locale/mk_MK.js +0 -56
- package/lib/Antd5/locale/ml_IN.js +0 -127
- package/lib/Antd5/locale/mn_MN.js +0 -44
- package/lib/Antd5/locale/ms_MY.js +0 -61
- package/lib/Antd5/locale/my_MM.js +0 -136
- package/lib/Antd5/locale/nb_NO.js +0 -121
- package/lib/Antd5/locale/ne_NP.js +0 -44
- package/lib/Antd5/locale/nl_BE.js +0 -127
- package/lib/Antd5/locale/nl_NL.js +0 -127
- package/lib/Antd5/locale/pl_PL.js +0 -134
- package/lib/Antd5/locale/pt_BR.js +0 -134
- package/lib/Antd5/locale/pt_PT.js +0 -129
- package/lib/Antd5/locale/ro_RO.js +0 -127
- package/lib/Antd5/locale/ru_RU.js +0 -138
- package/lib/Antd5/locale/si_LK.js +0 -129
- package/lib/Antd5/locale/sk_SK.js +0 -129
- package/lib/Antd5/locale/sl_SI.js +0 -44
- package/lib/Antd5/locale/sr_RS.js +0 -127
- package/lib/Antd5/locale/sv_SE.js +0 -138
- package/lib/Antd5/locale/ta_IN.js +0 -126
- package/lib/Antd5/locale/th_TH.js +0 -138
- package/lib/Antd5/locale/tk_TK.js +0 -125
- package/lib/Antd5/locale/tr_TR.js +0 -125
- package/lib/Antd5/locale/uk_UA.js +0 -138
- package/lib/Antd5/locale/ur_PK.js +0 -127
- package/lib/Antd5/locale/useLocale.js +0 -28
- package/lib/Antd5/locale/uz_UZ.js +0 -143
- package/lib/Antd5/locale/vi_VN.js +0 -137
- package/lib/Antd5/locale/zh_CN.js +0 -145
- package/lib/Antd5/locale/zh_HK.js +0 -138
- package/lib/Antd5/locale/zh_TW.js +0 -139
- package/lib/Antd5/mentions/index.js +0 -198
- package/lib/Antd5/mentions/style/index.js +0 -205
- package/lib/Antd5/menu/MenuContext.js +0 -7
- package/lib/Antd5/menu/MenuDivider.js +0 -28
- package/lib/Antd5/menu/MenuItem.js +0 -82
- package/lib/Antd5/menu/OverrideContext.js +0 -39
- package/lib/Antd5/menu/SubMenu.js +0 -74
- package/lib/Antd5/menu/index.js +0 -39
- package/lib/Antd5/menu/interface.js +0 -1
- package/lib/Antd5/menu/menu.js +0 -174
- package/lib/Antd5/menu/style/horizontal.js +0 -38
- package/lib/Antd5/menu/style/index.js +0 -441
- package/lib/Antd5/menu/style/rtl.js +0 -23
- package/lib/Antd5/menu/style/theme.js +0 -158
- package/lib/Antd5/menu/style/vertical.js +0 -131
- package/lib/Antd5/message/PurePanel.js +0 -77
- package/lib/Antd5/message/index.js +0 -281
- package/lib/Antd5/message/interface.js +0 -1
- package/lib/Antd5/message/style/index.js +0 -128
- package/lib/Antd5/message/useMessage.js +0 -235
- package/lib/Antd5/message/util.js +0 -23
- package/lib/Antd5/modal/ConfirmDialog.js +0 -228
- package/lib/Antd5/modal/Modal.js +0 -162
- package/lib/Antd5/modal/PurePanel.js +0 -78
- package/lib/Antd5/modal/components/ConfirmCancelBtn.js +0 -32
- package/lib/Antd5/modal/components/ConfirmOkBtn.js +0 -33
- package/lib/Antd5/modal/components/NormalCancelBtn.js +0 -22
- package/lib/Antd5/modal/components/NormalOkBtn.js +0 -26
- package/lib/Antd5/modal/confirm.js +0 -169
- package/lib/Antd5/modal/context.js +0 -4
- package/lib/Antd5/modal/destroyFns.js +0 -2
- package/lib/Antd5/modal/index.js +0 -38
- package/lib/Antd5/modal/interface.js +0 -1
- package/lib/Antd5/modal/locale.js +0 -31
- package/lib/Antd5/modal/shared.js +0 -81
- package/lib/Antd5/modal/style/confirm.js +0 -83
- package/lib/Antd5/modal/style/index.js +0 -221
- package/lib/Antd5/modal/useModal/HookModal.js +0 -87
- package/lib/Antd5/modal/useModal/index.js +0 -128
- package/lib/Antd5/notification/PurePanel.js +0 -134
- package/lib/Antd5/notification/index.js +0 -215
- package/lib/Antd5/notification/interface.js +0 -1
- package/lib/Antd5/notification/style/index.js +0 -184
- package/lib/Antd5/notification/style/placement.js +0 -77
- package/lib/Antd5/notification/style/pure-panel.js +0 -18
- package/lib/Antd5/notification/style/stack.js +0 -81
- package/lib/Antd5/notification/useNotification.js +0 -201
- package/lib/Antd5/notification/util.js +0 -57
- package/lib/Antd5/pagination/Pagination.js +0 -135
- package/lib/Antd5/pagination/Select.js +0 -24
- package/lib/Antd5/pagination/design/behavior-pattern.js +0 -32
- package/lib/Antd5/pagination/index.js +0 -2
- package/lib/Antd5/pagination/style/bordered.js +0 -68
- package/lib/Antd5/pagination/style/index.js +0 -411
- package/lib/Antd5/popconfirm/PurePanel.js +0 -114
- package/lib/Antd5/popconfirm/index.js +0 -109
- package/lib/Antd5/popconfirm/style/index.js +0 -61
- package/lib/Antd5/popover/PurePanel.js +0 -77
- package/lib/Antd5/popover/index.js +0 -126
- package/lib/Antd5/popover/style/index.js +0 -137
- package/lib/Antd5/progress/Circle.js +0 -95
- package/lib/Antd5/progress/Line.js +0 -149
- package/lib/Antd5/progress/Steps.js +0 -55
- package/lib/Antd5/progress/design/behavior-pattern.js +0 -31
- package/lib/Antd5/progress/index.js +0 -2
- package/lib/Antd5/progress/progress.js +0 -144
- package/lib/Antd5/progress/style/index.js +0 -201
- package/lib/Antd5/progress/utils.js +0 -97
- package/lib/Antd5/qr-code/index.js +0 -125
- package/lib/Antd5/qr-code/interface.js +0 -1
- package/lib/Antd5/qr-code/style/index.js +0 -66
- package/lib/Antd5/qrcode/index.js +0 -4
- package/lib/Antd5/qrcode/interface.js +0 -3
- package/lib/Antd5/qrcode/style/index.js +0 -3
- package/lib/Antd5/radio/context.js +0 -6
- package/lib/Antd5/radio/group.js +0 -131
- package/lib/Antd5/radio/index.js +0 -9
- package/lib/Antd5/radio/interface.js +0 -1
- package/lib/Antd5/radio/radio.js +0 -137
- package/lib/Antd5/radio/radioButton.js +0 -31
- package/lib/Antd5/radio/style/index.js +0 -533
- package/lib/Antd5/rate/index.js +0 -69
- package/lib/Antd5/rate/style/index.js +0 -88
- package/lib/Antd5/result/index.js +0 -128
- package/lib/Antd5/result/noFound.js +0 -243
- package/lib/Antd5/result/serverError.js +0 -283
- package/lib/Antd5/result/style/index.js +0 -101
- package/lib/Antd5/result/unauthorized.js +0 -230
- package/lib/Antd5/row/index.js +0 -2
- package/lib/Antd5/row/style/index.js +0 -3
- package/lib/Antd5/segmented/index.js +0 -87
- package/lib/Antd5/segmented/style/index.js +0 -162
- package/lib/Antd5/select/index.js +0 -222
- package/lib/Antd5/select/mergedBuiltinPlacements.js +0 -40
- package/lib/Antd5/select/style/dropdown.js +0 -109
- package/lib/Antd5/select/style/index.js +0 -183
- package/lib/Antd5/select/style/multiple.js +0 -217
- package/lib/Antd5/select/style/single.js +0 -101
- package/lib/Antd5/select/style/token.js +0 -53
- package/lib/Antd5/select/style/variants.js +0 -126
- package/lib/Antd5/select/useIcons.js +0 -82
- package/lib/Antd5/select/useShowArrow.js +0 -9
- package/lib/Antd5/skeleton/Avatar.js +0 -48
- package/lib/Antd5/skeleton/Button.js +0 -47
- package/lib/Antd5/skeleton/Element.js +0 -30
- package/lib/Antd5/skeleton/Image.js +0 -49
- package/lib/Antd5/skeleton/Input.js +0 -46
- package/lib/Antd5/skeleton/Node.js +0 -43
- package/lib/Antd5/skeleton/Paragraph.js +0 -44
- package/lib/Antd5/skeleton/Skeleton.js +0 -153
- package/lib/Antd5/skeleton/Title.js +0 -23
- package/lib/Antd5/skeleton/index.js +0 -2
- package/lib/Antd5/skeleton/style/index.js +0 -247
- package/lib/Antd5/slider/SliderTooltip.js +0 -43
- package/lib/Antd5/slider/index.js +0 -236
- package/lib/Antd5/slider/style/index.js +0 -246
- package/lib/Antd5/slider/useRafLock.js +0 -32
- package/lib/Antd5/space/Compact.js +0 -103
- package/lib/Antd5/space/Item.js +0 -26
- package/lib/Antd5/space/context.js +0 -5
- package/lib/Antd5/space/index.js +0 -120
- package/lib/Antd5/space/style/compact.js +0 -18
- package/lib/Antd5/space/style/index.js +0 -79
- package/lib/Antd5/spin/index.js +0 -149
- package/lib/Antd5/spin/style/index.js +0 -206
- package/lib/Antd5/statistic/Countdown.js +0 -73
- package/lib/Antd5/statistic/Number.js +0 -47
- package/lib/Antd5/statistic/Statistic.js +0 -99
- package/lib/Antd5/statistic/index.js +0 -4
- package/lib/Antd5/statistic/interface.js +0 -1
- package/lib/Antd5/statistic/style/index.js +0 -51
- package/lib/Antd5/statistic/utils.js +0 -57
- package/lib/Antd5/steps/index.js +0 -120
- package/lib/Antd5/steps/style/custom-icon.js +0 -26
- package/lib/Antd5/steps/style/horizontal.js +0 -12
- package/lib/Antd5/steps/style/index.js +0 -249
- package/lib/Antd5/steps/style/inline.js +0 -95
- package/lib/Antd5/steps/style/label-placement.js +0 -46
- package/lib/Antd5/steps/style/nav.js +0 -109
- package/lib/Antd5/steps/style/progress-dot.js +0 -100
- package/lib/Antd5/steps/style/progress.js +0 -52
- package/lib/Antd5/steps/style/rtl.js +0 -25
- package/lib/Antd5/steps/style/small.js +0 -53
- package/lib/Antd5/steps/style/vertical.js +0 -55
- package/lib/Antd5/steps/useLegacyItems.js +0 -32
- package/lib/Antd5/style/compact-item-vertical.js +0 -33
- package/lib/Antd5/style/compact-item.js +0 -47
- package/lib/Antd5/style/index.js +0 -126
- package/lib/Antd5/style/motion/collapse.js +0 -16
- package/lib/Antd5/style/motion/fade.js +0 -34
- package/lib/Antd5/style/motion/index.js +0 -6
- package/lib/Antd5/style/motion/motion.js +0 -35
- package/lib/Antd5/style/motion/move.js +0 -133
- package/lib/Antd5/style/motion/slide.js +0 -137
- package/lib/Antd5/style/motion/zoom.js +0 -179
- package/lib/Antd5/style/operationUnit.js +0 -18
- package/lib/Antd5/style/placementArrow.js +0 -120
- package/lib/Antd5/style/reset.css +0 -253
- package/lib/Antd5/style/roundedArrow.js +0 -72
- package/lib/Antd5/switch/index.js +0 -97
- package/lib/Antd5/switch/style/index.js +0 -245
- package/lib/Antd5/table/Column.js +0 -7
- package/lib/Antd5/table/ColumnGroup.js +0 -7
- package/lib/Antd5/table/ExpandIcon.js +0 -28
- package/lib/Antd5/table/InternalTable.js +0 -451
- package/lib/Antd5/table/RcTable/VirtualTable.js +0 -9
- package/lib/Antd5/table/RcTable/index.js +0 -9
- package/lib/Antd5/table/Table.js +0 -34
- package/lib/Antd5/table/hooks/useContainerWidth.js +0 -14
- package/lib/Antd5/table/hooks/useFilter/FilterDropdown.js +0 -497
- package/lib/Antd5/table/hooks/useFilter/FilterSearch.js +0 -27
- package/lib/Antd5/table/hooks/useFilter/FilterWrapper.js +0 -24
- package/lib/Antd5/table/hooks/useFilter/index.js +0 -234
- package/lib/Antd5/table/hooks/useLazyKVMap.js +0 -30
- package/lib/Antd5/table/hooks/usePagination.js +0 -78
- package/lib/Antd5/table/hooks/useSelection.js +0 -578
- package/lib/Antd5/table/hooks/useSorter.js +0 -362
- package/lib/Antd5/table/hooks/useTitleColumns.js +0 -24
- package/lib/Antd5/table/index.js +0 -2
- package/lib/Antd5/table/interface.js +0 -3
- package/lib/Antd5/table/style/bordered.js +0 -68
- package/lib/Antd5/table/style/ellipsis.js +0 -24
- package/lib/Antd5/table/style/empty.js +0 -15
- package/lib/Antd5/table/style/expand.js +0 -106
- package/lib/Antd5/table/style/filter.js +0 -127
- package/lib/Antd5/table/style/fixed.js +0 -82
- package/lib/Antd5/table/style/index.js +0 -273
- package/lib/Antd5/table/style/pagination.js +0 -30
- package/lib/Antd5/table/style/radius.js +0 -35
- package/lib/Antd5/table/style/rtl.js +0 -40
- package/lib/Antd5/table/style/selection.js +0 -67
- package/lib/Antd5/table/style/size.js +0 -30
- package/lib/Antd5/table/style/sorter.js +0 -75
- package/lib/Antd5/table/style/sticky.js +0 -53
- package/lib/Antd5/table/style/summary.js +0 -25
- package/lib/Antd5/table/style/virtual.js +0 -49
- package/lib/Antd5/table/util.js +0 -31
- package/lib/Antd5/tabs/TabPane.js +0 -7
- package/lib/Antd5/tabs/hooks/useAnimateConfig.js +0 -40
- package/lib/Antd5/tabs/hooks/useLegacyItems.js +0 -43
- package/lib/Antd5/tabs/index.js +0 -115
- package/lib/Antd5/tabs/style/index.js +0 -633
- package/lib/Antd5/tabs/style/motion.js +0 -36
- package/lib/Antd5/tag/CheckableTag.js +0 -51
- package/lib/Antd5/tag/index.js +0 -133
- package/lib/Antd5/tag/style/index.js +0 -104
- package/lib/Antd5/tag/style/presetCmp.js +0 -34
- package/lib/Antd5/tag/style/statusCmp.js +0 -22
- package/lib/Antd5/theme/context.js +0 -15
- package/lib/Antd5/theme/getDesignToken.js +0 -18
- package/lib/Antd5/theme/index.js +0 -39
- package/lib/Antd5/theme/interface/alias.js +0 -1
- package/lib/Antd5/theme/interface/components.js +0 -1
- package/lib/Antd5/theme/interface/index.js +0 -1
- package/lib/Antd5/theme/interface/maps/colors.js +0 -1
- package/lib/Antd5/theme/interface/maps/font.js +0 -1
- package/lib/Antd5/theme/interface/maps/index.js +0 -4
- package/lib/Antd5/theme/interface/maps/size.js +0 -1
- package/lib/Antd5/theme/interface/maps/style.js +0 -1
- package/lib/Antd5/theme/interface/presetColors.js +0 -1
- package/lib/Antd5/theme/interface/seeds.js +0 -1
- package/lib/Antd5/theme/internal.js +0 -13
- package/lib/Antd5/theme/themes/ColorMap.js +0 -1
- package/lib/Antd5/theme/themes/compact/genCompactSizeMapToken.js +0 -16
- package/lib/Antd5/theme/themes/compact/index.js +0 -22
- package/lib/Antd5/theme/themes/dark/colorAlgorithm.js +0 -8
- package/lib/Antd5/theme/themes/dark/colors.js +0 -45
- package/lib/Antd5/theme/themes/dark/index.js +0 -32
- package/lib/Antd5/theme/themes/default/colorAlgorithm.js +0 -8
- package/lib/Antd5/theme/themes/default/colors.js +0 -43
- package/lib/Antd5/theme/themes/default/index.js +0 -31
- package/lib/Antd5/theme/themes/seed.js +0 -68
- package/lib/Antd5/theme/themes/shared/genColorMapToken.js +0 -85
- package/lib/Antd5/theme/themes/shared/genCommonMapToken.js +0 -21
- package/lib/Antd5/theme/themes/shared/genControlHeight.js +0 -9
- package/lib/Antd5/theme/themes/shared/genFontMapToken.js +0 -39
- package/lib/Antd5/theme/themes/shared/genFontSizes.js +0 -20
- package/lib/Antd5/theme/themes/shared/genRadius.js +0 -46
- package/lib/Antd5/theme/themes/shared/genSizeMapToken.js +0 -23
- package/lib/Antd5/theme/useToken.js +0 -129
- package/lib/Antd5/theme/util/alias.js +0 -143
- package/lib/Antd5/theme/util/calc/CSSCalculator.js +0 -119
- package/lib/Antd5/theme/util/calc/NumCalculator.js +0 -81
- package/lib/Antd5/theme/util/calc/calculator.js +0 -10
- package/lib/Antd5/theme/util/calc/index.js +0 -9
- package/lib/Antd5/theme/util/genComponentStyleHook.js +0 -243
- package/lib/Antd5/theme/util/genPresetColor.js +0 -21
- package/lib/Antd5/theme/util/getAlphaColor.js +0 -40
- package/lib/Antd5/theme/util/maxmin.js +0 -27
- package/lib/Antd5/theme/util/statistic.js +0 -74
- package/lib/Antd5/theme/util/useResetIconStyle.js +0 -39
- package/lib/Antd5/time-picker/index.js +0 -56
- package/lib/Antd5/time-picker/locale/ar_EG.js +0 -4
- package/lib/Antd5/time-picker/locale/az_AZ.js +0 -4
- package/lib/Antd5/time-picker/locale/bg_BG.js +0 -4
- package/lib/Antd5/time-picker/locale/bn_BD.js +0 -5
- package/lib/Antd5/time-picker/locale/by_BY.js +0 -5
- package/lib/Antd5/time-picker/locale/ca_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/cs_CZ.js +0 -4
- package/lib/Antd5/time-picker/locale/da_DK.js +0 -5
- package/lib/Antd5/time-picker/locale/de_DE.js +0 -5
- package/lib/Antd5/time-picker/locale/el_GR.js +0 -4
- package/lib/Antd5/time-picker/locale/en_GB.js +0 -4
- package/lib/Antd5/time-picker/locale/en_US.js +0 -5
- package/lib/Antd5/time-picker/locale/es_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/et_EE.js +0 -4
- package/lib/Antd5/time-picker/locale/eu_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/fa_IR.js +0 -5
- package/lib/Antd5/time-picker/locale/fi_FI.js +0 -4
- package/lib/Antd5/time-picker/locale/fr_BE.js +0 -5
- package/lib/Antd5/time-picker/locale/fr_CA.js +0 -5
- package/lib/Antd5/time-picker/locale/fr_FR.js +0 -5
- package/lib/Antd5/time-picker/locale/ga_IE.js +0 -5
- package/lib/Antd5/time-picker/locale/gl_ES.js +0 -4
- package/lib/Antd5/time-picker/locale/he_IL.js +0 -4
- package/lib/Antd5/time-picker/locale/hi_IN.js +0 -5
- package/lib/Antd5/time-picker/locale/hr_HR.js +0 -5
- package/lib/Antd5/time-picker/locale/hu_HU.js +0 -4
- package/lib/Antd5/time-picker/locale/id_ID.js +0 -5
- package/lib/Antd5/time-picker/locale/is_IS.js +0 -4
- package/lib/Antd5/time-picker/locale/it_IT.js +0 -4
- package/lib/Antd5/time-picker/locale/ja_JP.js +0 -5
- package/lib/Antd5/time-picker/locale/ka_GE.js +0 -5
- package/lib/Antd5/time-picker/locale/kk_KZ.js +0 -5
- package/lib/Antd5/time-picker/locale/km_KH.js +0 -5
- package/lib/Antd5/time-picker/locale/kmr_IQ.js +0 -4
- package/lib/Antd5/time-picker/locale/kn_IN.js +0 -4
- package/lib/Antd5/time-picker/locale/ko_KR.js +0 -5
- package/lib/Antd5/time-picker/locale/lt_LT.js +0 -5
- package/lib/Antd5/time-picker/locale/lv_LV.js +0 -4
- package/lib/Antd5/time-picker/locale/mk_MK.js +0 -4
- package/lib/Antd5/time-picker/locale/ml_IN.js +0 -5
- package/lib/Antd5/time-picker/locale/mn_MN.js +0 -4
- package/lib/Antd5/time-picker/locale/ms_MY.js +0 -4
- package/lib/Antd5/time-picker/locale/my_MM.js +0 -5
- package/lib/Antd5/time-picker/locale/nb_NO.js +0 -5
- package/lib/Antd5/time-picker/locale/nl_BE.js +0 -5
- package/lib/Antd5/time-picker/locale/nl_NL.js +0 -5
- package/lib/Antd5/time-picker/locale/pl_PL.js +0 -4
- package/lib/Antd5/time-picker/locale/pt_BR.js +0 -4
- package/lib/Antd5/time-picker/locale/pt_PT.js +0 -4
- package/lib/Antd5/time-picker/locale/ro_RO.js +0 -4
- package/lib/Antd5/time-picker/locale/ru_RU.js +0 -5
- package/lib/Antd5/time-picker/locale/si_LK.js +0 -5
- package/lib/Antd5/time-picker/locale/sk_SK.js +0 -4
- package/lib/Antd5/time-picker/locale/sl_SI.js +0 -4
- package/lib/Antd5/time-picker/locale/sr_RS.js +0 -5
- package/lib/Antd5/time-picker/locale/sv_SE.js +0 -4
- package/lib/Antd5/time-picker/locale/ta_IN.js +0 -4
- package/lib/Antd5/time-picker/locale/th_TH.js +0 -4
- package/lib/Antd5/time-picker/locale/tk_TK.js +0 -5
- package/lib/Antd5/time-picker/locale/tr_TR.js +0 -5
- package/lib/Antd5/time-picker/locale/uk_UA.js +0 -4
- package/lib/Antd5/time-picker/locale/ur_PK.js +0 -5
- package/lib/Antd5/time-picker/locale/uz_UZ.js +0 -5
- package/lib/Antd5/time-picker/locale/vi_VN.js +0 -5
- package/lib/Antd5/time-picker/locale/zh_CN.js +0 -5
- package/lib/Antd5/time-picker/locale/zh_TW.js +0 -4
- package/lib/Antd5/timeline/Timeline.js +0 -65
- package/lib/Antd5/timeline/TimelineItem.js +0 -52
- package/lib/Antd5/timeline/TimelineItemList.js +0 -87
- package/lib/Antd5/timeline/index.js +0 -2
- package/lib/Antd5/timeline/style/index.js +0 -157
- package/lib/Antd5/timeline/useItems.js +0 -19
- package/lib/Antd5/tooltip/PurePanel.js +0 -55
- package/lib/Antd5/tooltip/index.js +0 -211
- package/lib/Antd5/tooltip/style/index.js +0 -104
- package/lib/Antd5/tooltip/util.js +0 -23
- package/lib/Antd5/tour/PurePanel.js +0 -78
- package/lib/Antd5/tour/index.js +0 -99
- package/lib/Antd5/tour/interface.js +0 -1
- package/lib/Antd5/tour/panelRender.js +0 -143
- package/lib/Antd5/tour/style/index.js +0 -187
- package/lib/Antd5/transfer/ListBody.js +0 -123
- package/lib/Antd5/transfer/ListItem.js +0 -72
- package/lib/Antd5/transfer/hooks/useData.js +0 -46
- package/lib/Antd5/transfer/hooks/useSelection.js +0 -59
- package/lib/Antd5/transfer/index.js +0 -361
- package/lib/Antd5/transfer/interface.js +0 -1
- package/lib/Antd5/transfer/list.js +0 -316
- package/lib/Antd5/transfer/operation.js +0 -43
- package/lib/Antd5/transfer/search.js +0 -32
- package/lib/Antd5/transfer/style/index.js +0 -264
- package/lib/Antd5/tree/DirectoryTree.js +0 -173
- package/lib/Antd5/tree/Tree.js +0 -123
- package/lib/Antd5/tree/index.js +0 -7
- package/lib/Antd5/tree/style/index.js +0 -348
- package/lib/Antd5/tree/utils/dictUtil.js +0 -74
- package/lib/Antd5/tree/utils/dropIndicator.js +0 -35
- package/lib/Antd5/tree/utils/iconUtil.js +0 -69
- package/lib/Antd5/tree-select/index.js +0 -228
- package/lib/Antd5/tree-select/style/index.js +0 -51
- package/lib/Antd5/typography/Base/CopyBtn.js +0 -43
- package/lib/Antd5/typography/Base/Ellipsis.js +0 -245
- package/lib/Antd5/typography/Base/EllipsisTooltip.js +0 -27
- package/lib/Antd5/typography/Base/index.js +0 -444
- package/lib/Antd5/typography/Base/util.js +0 -12
- package/lib/Antd5/typography/Editable.js +0 -119
- package/lib/Antd5/typography/Link.js +0 -33
- package/lib/Antd5/typography/Paragraph.js +0 -17
- package/lib/Antd5/typography/Text.js +0 -35
- package/lib/Antd5/typography/Title.js +0 -35
- package/lib/Antd5/typography/Typography.js +0 -70
- package/lib/Antd5/typography/hooks/useCopyClick.js +0 -95
- package/lib/Antd5/typography/hooks/useMergedConfig.js +0 -13
- package/lib/Antd5/typography/hooks/usePrevious.js +0 -9
- package/lib/Antd5/typography/hooks/useUpdatedEffect.js +0 -13
- package/lib/Antd5/typography/index.js +0 -11
- package/lib/Antd5/typography/style/index.js +0 -58
- package/lib/Antd5/typography/style/mixins.js +0 -216
- package/lib/Antd5/upload/Dragger.js +0 -32
- package/lib/Antd5/upload/Upload.js +0 -458
- package/lib/Antd5/upload/UploadList/ListItem.js +0 -197
- package/lib/Antd5/upload/UploadList/index.js +0 -250
- package/lib/Antd5/upload/index.js +0 -6
- package/lib/Antd5/upload/interface.js +0 -1
- package/lib/Antd5/upload/style/dragger.js +0 -51
- package/lib/Antd5/upload/style/index.js +0 -48
- package/lib/Antd5/upload/style/list.js +0 -86
- package/lib/Antd5/upload/style/motion.js +0 -39
- package/lib/Antd5/upload/style/picture.js +0 -175
- package/lib/Antd5/upload/style/rtl.js +0 -12
- package/lib/Antd5/upload/utils.js +0 -140
- package/lib/Antd5/version/index.js +0 -4
- package/lib/Antd5/version/token-meta.json +0 -1
- package/lib/Antd5/version/token.json +0 -1
- package/lib/Antd5/version/version.js +0 -1
- package/lib/Antd5/watermark/context.js +0 -22
- package/lib/Antd5/watermark/index.js +0 -253
- package/lib/Antd5/watermark/useClips.js +0 -118
- package/lib/Antd5/watermark/useRafDebounce.js +0 -21
- package/lib/Antd5/watermark/useWatermark.js +0 -61
- package/lib/Antd5/watermark/utils.js +0 -28
- package/lib/App/index.js +0 -2
- package/lib/AutoComplete/index.js +0 -2
- package/lib/Avatar/index.js +0 -2
- package/lib/BackTop/index.js +0 -2
- package/lib/Badge/index.js +0 -48
- package/lib/Badge/index.style.js +0 -65
- package/lib/BasicLayout/Breadcrumb.js +0 -78
- package/lib/BasicLayout/Nav.js +0 -37
- package/lib/BasicLayout/Sider.js +0 -159
- package/lib/BasicLayout/index.js +0 -396
- package/lib/BasicLayout/locale/en_US.js +0 -4
- package/lib/BasicLayout/locale/index.js +0 -11
- package/lib/BasicLayout/locale/zh_CN.js +0 -4
- package/lib/BasicLayout/locale/zh_TW.js +0 -4
- package/lib/BasicLayout/style/index.js +0 -101
- package/lib/BasicLayout/style/sider.js +0 -73
- package/lib/BasicLayout/utils.js +0 -7
- package/lib/Breadcrumb/index.js +0 -2
- package/lib/Button/index.js +0 -53
- package/lib/Button/index.style.js +0 -41
- package/lib/CWCascader/Cascader/index.js +0 -281
- package/lib/CWCascader/Cascader/utils/iconUtil.js +0 -81
- package/lib/CWCascader/Cascader/utils/motion.js +0 -13
- package/lib/CWCascader/index.js +0 -73
- package/lib/CWCascader/index.style.js +0 -42
- package/lib/CWCascader/rc-cascader/Cascader.js +0 -353
- package/lib/CWCascader/rc-cascader/OptionList/Checkbox.js +0 -21
- package/lib/CWCascader/rc-cascader/OptionList/Column.js +0 -274
- package/lib/CWCascader/rc-cascader/OptionList/index.js +0 -220
- package/lib/CWCascader/rc-cascader/OptionList/useActive.js +0 -33
- package/lib/CWCascader/rc-cascader/OptionList/useKeyboard.js +0 -172
- package/lib/CWCascader/rc-cascader/context.js +0 -3
- package/lib/CWCascader/rc-cascader/hooks/useDisplayValues.js +0 -85
- package/lib/CWCascader/rc-cascader/hooks/useEntities.js +0 -40
- package/lib/CWCascader/rc-cascader/hooks/useMissingValues.js +0 -19
- package/lib/CWCascader/rc-cascader/hooks/useRefFunc.js +0 -13
- package/lib/CWCascader/rc-cascader/hooks/useSearchConfig.js +0 -30
- package/lib/CWCascader/rc-cascader/hooks/useSearchOptions.js +0 -73
- package/lib/CWCascader/rc-cascader/index.js +0 -2
- package/lib/CWCascader/rc-cascader/utils/commonUtil.js +0 -54
- package/lib/CWCascader/rc-cascader/utils/treeUtil.js +0 -81
- package/lib/CWCascader/rc-cascader/utils/warningPropsUtil.js +0 -30
- package/lib/CWColorPicker/SketchPicker/components/common/Alpha.js +0 -132
- package/lib/CWColorPicker/SketchPicker/components/common/Checkboard.js +0 -40
- package/lib/CWColorPicker/SketchPicker/components/common/ColorWrap.js +0 -79
- package/lib/CWColorPicker/SketchPicker/components/common/EditableInput.js +0 -171
- package/lib/CWColorPicker/SketchPicker/components/common/Hue.js +0 -117
- package/lib/CWColorPicker/SketchPicker/components/common/Raised.js +0 -91
- package/lib/CWColorPicker/SketchPicker/components/common/Saturation.js +0 -138
- package/lib/CWColorPicker/SketchPicker/components/common/Swatch.js +0 -62
- package/lib/CWColorPicker/SketchPicker/components/common/index.js +0 -8
- package/lib/CWColorPicker/SketchPicker/components/sketch/SketchFields.js +0 -148
- package/lib/CWColorPicker/SketchPicker/components/sketch/SketchPresetColors.js +0 -72
- package/lib/CWColorPicker/SketchPicker/components/sketch/index.js +0 -160
- package/lib/CWColorPicker/SketchPicker/helpers/alpha.js +0 -46
- package/lib/CWColorPicker/SketchPicker/helpers/checkboard.js +0 -29
- package/lib/CWColorPicker/SketchPicker/helpers/color.js +0 -86
- package/lib/CWColorPicker/SketchPicker/helpers/hue.js +0 -48
- package/lib/CWColorPicker/SketchPicker/helpers/index.js +0 -2
- package/lib/CWColorPicker/SketchPicker/helpers/interaction.js +0 -54
- package/lib/CWColorPicker/SketchPicker/helpers/saturation.js +0 -28
- package/lib/CWColorPicker/index.js +0 -296
- package/lib/CWColorPicker/index.style.js +0 -81
- package/lib/CWColorPicker/utils.js +0 -15
- package/lib/CWMessage/CommonIcon.js +0 -16
- package/lib/CWMessage/MessageContent/TabList/index.js +0 -113
- package/lib/CWMessage/MessageContent/index.js +0 -268
- package/lib/CWMessage/index.js +0 -456
- package/lib/CWMessage/index.style.js +0 -141
- package/lib/CWMessage/message.svg +0 -14
- package/lib/CWMessage/messageSvg.js +0 -19
- package/lib/CWMessage/service/index.js +0 -35
- package/lib/CWMessage/utils/index.js +0 -33
- package/lib/CWRadioTabs/index.js +0 -150
- package/lib/CWRadioTabs/index.style.js +0 -33
- package/lib/CWRangePicker/DropdownMenu/MoreHistoryList/index.js +0 -37
- package/lib/CWRangePicker/DropdownMenu/MoreTimeList/index.js +0 -46
- package/lib/CWRangePicker/DropdownMenu/index.js +0 -240
- package/lib/CWRangePicker/DropdownMenu/index.style.js +0 -159
- package/lib/CWRangePicker/Refresh/index.js +0 -161
- package/lib/CWRangePicker/Refresh/index.style.js +0 -37
- package/lib/CWRangePicker/TimeSpan/index.js +0 -96
- package/lib/CWRangePicker/TimeSpan/index.style.js +0 -25
- package/lib/CWRangePicker/assets/Calendar.js +0 -15
- package/lib/CWRangePicker/assets/Calendar2.js +0 -15
- package/lib/CWRangePicker/assets/Recover.js +0 -18
- package/lib/CWRangePicker/assets/Refresh1.js +0 -14
- package/lib/CWRangePicker/assets/Refresh2.js +0 -14
- package/lib/CWRangePicker/assets/Refresh3.js +0 -14
- package/lib/CWRangePicker/assets/live.js +0 -19
- package/lib/CWRangePicker/assets/more.js +0 -23
- package/lib/CWRangePicker/index.js +0 -742
- package/lib/CWRangePicker/index.style.js +0 -78
- package/lib/CWRangePicker/locale/en_US.js +0 -29
- package/lib/CWRangePicker/locale/index.js +0 -11
- package/lib/CWRangePicker/locale/zh_CN.js +0 -29
- package/lib/CWRangePicker/locale/zh_TW.js +0 -29
- package/lib/CWRangePicker/utils/index.js +0 -706
- package/lib/CWSelect/index.js +0 -2
- package/lib/CWTable/CWTable.js +0 -605
- package/lib/CWTable/header.js +0 -55
- package/lib/CWTable/index.js +0 -217
- package/lib/CWTable/index.style.js +0 -96
- package/lib/CWTree/assets/Drag.js +0 -23
- package/lib/CWTree/index.js +0 -399
- package/lib/CWTree/index.style.js +0 -127
- package/lib/CWTree/locale/en_US.js +0 -3
- package/lib/CWTree/locale/index.js +0 -11
- package/lib/CWTree/locale/zh_CN.js +0 -3
- package/lib/CWTree/locale/zh_TW.js +0 -3
- package/lib/CWTree/utils/index.js +0 -99
- package/lib/Calendar/index.js +0 -2
- package/lib/Card/index.js +0 -2
- package/lib/CardSelect/index.js +0 -153
- package/lib/CardSelect/index.style.js +0 -76
- package/lib/Carousel/index.js +0 -2
- package/lib/Cascader/index.js +0 -2
- package/lib/ChangeIcon/index.js +0 -153
- package/lib/ChangeIcon/index.style.js +0 -89
- package/lib/Checkbox/index.js +0 -2
- package/lib/CitySelect/citys.js +0 -1457
- package/lib/CitySelect/index.js +0 -128
- package/lib/Col/index.js +0 -2
- package/lib/Collapse/index.js +0 -85
- package/lib/Collapse/index.style.js +0 -120
- package/lib/ColorPicker/index.js +0 -2
- package/lib/ConfigProvider/ConfigProvider.js +0 -92
- package/lib/ConfigProvider/Switch.js +0 -43
- package/lib/ConfigProvider/customTheme.js +0 -268
- package/lib/ConfigProvider/customTheme.json +0 -163
- package/lib/ConfigProvider/customToken.js +0 -41
- package/lib/ConfigProvider/index.js +0 -6
- package/lib/ConfigProvider/intlContext.js +0 -8
- package/lib/ConfigProvider/useLocale.js +0 -15
- package/lib/CustomScrollBar/index.js +0 -150
- package/lib/DataView/index.js +0 -72
- package/lib/DataView/index.style.js +0 -34
- package/lib/DatePicker/index.js +0 -2
- package/lib/DemoShow/index.js +0 -15
- package/lib/Descriptions/index.js +0 -2
- package/lib/Divider/index.js +0 -2
- package/lib/Documentation/Tocify.js +0 -114
- package/lib/Documentation/index.js +0 -147
- package/lib/Documentation/index.style.js +0 -180
- package/lib/Drawer/index.js +0 -107
- package/lib/Drawer/index.style.js +0 -93
- package/lib/Dropdown/DropdownButton.js +0 -20
- package/lib/Dropdown/index.js +0 -39
- package/lib/Dropdown/index.style.js +0 -22
- package/lib/EchartsArea/index.js +0 -113
- package/lib/EchartsBar/index.js +0 -212
- package/lib/EchartsBarRow/index.js +0 -86
- package/lib/EchartsBase/index.js +0 -217
- package/lib/EchartsLine/index.js +0 -173
- package/lib/EchartsPie/index.js +0 -121
- package/lib/EchartsRing/index.js +0 -102
- package/lib/Empty/index.js +0 -70
- package/lib/Empty/index.style.js +0 -36
- package/lib/ErrorBoundary/ErrorPage.js +0 -35
- package/lib/ErrorBoundary/assets/images/No-data.png +0 -0
- package/lib/ErrorBoundary/history.js +0 -81
- package/lib/ErrorBoundary/index.js +0 -93
- package/lib/ErrorBoundary/index.styles.js +0 -48
- package/lib/Exception/images/error.svg +0 -58
- package/lib/Exception/index.js +0 -99
- package/lib/Exception/index.style.js +0 -37
- package/lib/FilterDropDown/DragList.js +0 -106
- package/lib/FilterDropDown/assets/DragSvg.js +0 -33
- package/lib/FilterDropDown/assets/ShowSvgIcon.js +0 -14
- package/lib/FilterDropDown/index.js +0 -271
- package/lib/FilterDropDown/index.style.js +0 -83
- package/lib/Flex/index.js +0 -2
- package/lib/FloatButton/index.js +0 -2
- package/lib/Flow/BasicLayout/Chain.js +0 -112
- package/lib/Flow/BasicLayout/config.js +0 -21
- package/lib/Flow/BasicLayout/util.js +0 -106
- package/lib/Flow/Flow.js +0 -183
- package/lib/Flow/commons/initCommands.js +0 -150
- package/lib/Flow/components/PluginWrapper.js +0 -25
- package/lib/Flow/index.js +0 -7
- package/lib/Flow/layouts/callChain.js +0 -121
- package/lib/Flow/layouts/index.js +0 -4
- package/lib/Flow/plugins/CommandLifeCycle.js +0 -215
- package/lib/Flow/plugins/InitSideBarPlugin.js +0 -81
- package/lib/Flow/plugins/InitToolBarPlugin.js +0 -99
- package/lib/Flow/shape/index.js +0 -4
- package/lib/Flow/shape/nodes/baseNode.js +0 -99
- package/lib/Flow/shape/nodes/index.js +0 -4
- package/lib/Flow/tools/index.js +0 -22
- package/lib/Flow/types/index.js +0 -1
- package/lib/Form/FormItem.js +0 -79
- package/lib/Form/consts.js +0 -2
- package/lib/Form/context.js +0 -3
- package/lib/Form/hook/useForm3.js +0 -117
- package/lib/Form/index.js +0 -77
- package/lib/Form/index.style.js +0 -56
- package/lib/FormItemWrapper/index.js +0 -52
- package/lib/FormItemWrapper/index.style.js +0 -32
- package/lib/GlobalTabs/index.js +0 -49
- package/lib/GlobalTabs/index.style.js +0 -31
- package/lib/Grid/index.js +0 -2
- package/lib/Header/CommonDropMenu.js +0 -90
- package/lib/Header/CommonIcon.js +0 -26
- package/lib/Header/Document/icon.svg +0 -14
- package/lib/Header/Document/index.js +0 -29
- package/lib/Header/LocaleSwitcher.js +0 -41
- package/lib/Header/Message/index.js +0 -21
- package/lib/Header/TopNavigationMenu/index.js +0 -73
- package/lib/Header/TopNavigationMenu/index.style.js +0 -47
- package/lib/Header/UserSetting/TenantList.js +0 -26
- package/lib/Header/UserSetting/TenantTree.js +0 -33
- package/lib/Header/UserSetting/index.js +0 -202
- package/lib/Header/UserSetting/index.style.js +0 -60
- package/lib/Header/UserSetting/utils.js +0 -30
- package/lib/Header/assets/home.svg +0 -13
- package/lib/Header/assets/logo.svg +0 -20
- package/lib/Header/index.js +0 -320
- package/lib/Header/index.style.js +0 -154
- package/lib/Icon/index.js +0 -23
- package/lib/Icon/utils.js +0 -20
- package/lib/IconSelect/components/CustomImg/index.js +0 -84
- package/lib/IconSelect/components/SearchIcon/index.js +0 -98
- package/lib/IconSelect/constants/icon.js +0 -13291
- package/lib/IconSelect/index.js +0 -144
- package/lib/IconSelect/index.style.js +0 -75
- package/lib/Image/index.js +0 -2
- package/lib/Input/InputComponent.js +0 -71
- package/lib/Input/index.js +0 -93
- package/lib/Input/index.style.js +0 -23
- package/lib/InputNumber/index.js +0 -27
- package/lib/Joyride/List.js +0 -85
- package/lib/Joyride/img/finishImg.png +0 -0
- package/lib/Joyride/img/welcomeImg.png +0 -0
- package/lib/Joyride/index.js +0 -448
- package/lib/Joyride/style/index.style.js +0 -67
- package/lib/Joyride/style/list.style.js +0 -115
- package/lib/Layout/index.js +0 -2
- package/lib/LayoutWrapper/Footer.js +0 -31
- package/lib/LayoutWrapper/Header.js +0 -59
- package/lib/LayoutWrapper/LeftArrow.js +0 -17
- package/lib/LayoutWrapper/assets/left-arrow.svg +0 -21
- package/lib/LayoutWrapper/index.js +0 -196
- package/lib/LayoutWrapper/style/footer.js +0 -25
- package/lib/LayoutWrapper/style/header.js +0 -46
- package/lib/LayoutWrapper/style/index.js +0 -58
- package/lib/LeftNavigation/index.js +0 -80
- package/lib/LeftNavigation/index.style.js +0 -34
- package/lib/List/index.js +0 -2
- package/lib/Mentions/index.js +0 -2
- package/lib/Menu/index.js +0 -2
- package/lib/Modal/Modal.js +0 -176
- package/lib/Modal/assets/Close.js +0 -22
- package/lib/Modal/confirmGlobalStyle.js +0 -37
- package/lib/Modal/custom-backup/entiretyDrag.js +0 -142
- package/lib/Modal/custom-backup/index.less +0 -76
- package/lib/Modal/index.js +0 -274
- package/lib/Modal/index.style.js +0 -53
- package/lib/ModuleFederation/ErrorBoundary/index.js +0 -52
- package/lib/ModuleFederation/index.js +0 -10
- package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +0 -185
- package/lib/ModuleFederation/react-dynamic-remote-component/attach-script.js +0 -42
- package/lib/ModuleFederation/react-dynamic-remote-component/index.js +0 -1
- package/lib/ModuleFederation/react-dynamic-remote-component/load-module.js +0 -44
- package/lib/ModuleFederation/react-dynamic-remote-component/loading-script.js +0 -35
- package/lib/ModuleFederation/react-dynamic-remote-component/suspend.js +0 -28
- package/lib/ModuleFederation/react-dynamic-remote-component/utils.js +0 -7
- package/lib/ModuleTitle/index.js +0 -30
- package/lib/ModuleTitle/index.style.js +0 -34
- package/lib/Overview/index.js +0 -2
- package/lib/Pagination/index.js +0 -363
- package/lib/Pagination/index.style.js +0 -137
- package/lib/Popconfirm/index.js +0 -2
- package/lib/Popover/index.js +0 -2
- package/lib/Progress/index.js +0 -2
- package/lib/QrCode/index.js +0 -2
- package/lib/QuickRangePicker/index.js +0 -149
- package/lib/QuickRangePicker/index.style.js +0 -45
- package/lib/QuickTransfer/Drag.js +0 -56
- package/lib/QuickTransfer/DragList.js +0 -114
- package/lib/QuickTransfer/NoDrag.js +0 -33
- package/lib/QuickTransfer/NotDragList.js +0 -41
- package/lib/QuickTransfer/assets/DragSvg.js +0 -14
- package/lib/QuickTransfer/assets/LockSvg.js +0 -15
- package/lib/QuickTransfer/index.js +0 -938
- package/lib/QuickTransfer/index.style.js +0 -185
- package/lib/QuickTransfer/utils.js +0 -291
- package/lib/Radio/index.js +0 -2
- package/lib/RangePicker/index.js +0 -2
- package/lib/Rate/index.js +0 -2
- package/lib/Result/index.js +0 -2
- package/lib/Row/index.js +0 -2
- package/lib/ScrollLoad/index.js +0 -134
- package/lib/SearchBar/OutSearch.js +0 -107
- package/lib/SearchBar/index.js +0 -680
- package/lib/SearchBar/index.style.js +0 -91
- package/lib/SearchBar/locale/en_US.js +0 -6
- package/lib/SearchBar/locale/index.js +0 -11
- package/lib/SearchBar/locale/zh_CN.js +0 -6
- package/lib/SearchBar/locale/zh_TW.js +0 -6
- package/lib/Segmented/index.js +0 -2
- package/lib/Select/index.js +0 -2
- package/lib/SiderMenu/index.js +0 -215
- package/lib/SiderMenu/index.style.js +0 -23
- package/lib/SimpleCard/index.js +0 -121
- package/lib/SimpleCard/index.style.js +0 -76
- package/lib/SimplePagination/index.js +0 -188
- package/lib/SimplePagination/index.style.js +0 -105
- package/lib/SingleSpa/import-html/index.js +0 -51
- package/lib/SingleSpa/import-html/process-tpl.js +0 -189
- package/lib/SingleSpa/import-html/utils.js +0 -147
- package/lib/SingleSpa/index.js +0 -131
- package/lib/SingleSpa/singleSpa/single-spa.dev.js +0 -1505
- package/lib/SingleSpa/system/amd.js +0 -153
- package/lib/SingleSpa/system/index.js +0 -11
- package/lib/SingleSpa/system/system.js +0 -771
- package/lib/SingleSpa/system/systemjs-css.js +0 -96
- package/lib/SingleSpa/utils.js +0 -73
- package/lib/Skeleton/index.js +0 -2
- package/lib/Slider/assets/slider.png +0 -0
- package/lib/Slider/index.js +0 -32
- package/lib/Slider/index.style.js +0 -116
- package/lib/Space/index.js +0 -2
- package/lib/Spin/index.js +0 -2
- package/lib/Statistic/index.js +0 -2
- package/lib/Steps/index.js +0 -2
- package/lib/Switch/index.js +0 -2
- package/lib/Table/index.js +0 -2
- package/lib/Tabs/index.js +0 -52
- package/lib/Tabs/index.style.js +0 -58
- package/lib/Tag/CheckableTag.js +0 -53
- package/lib/Tag/assets/LeftBottomCorner.js +0 -22
- package/lib/Tag/assets/LeftTopCorner.js +0 -22
- package/lib/Tag/assets/RightBottomCorner.js +0 -22
- package/lib/Tag/assets/RightTopCorner.js +0 -14
- package/lib/Tag/index.js +0 -109
- package/lib/Tag/index.style.js +0 -156
- package/lib/Theme/index.js +0 -2
- package/lib/ThemeProvider/Switcher.js +0 -25
- package/lib/ThemeProvider/index.js +0 -5
- package/lib/ThemeProvider/main.js +0 -185
- package/lib/ThemeProvider/utils.js +0 -60
- package/lib/TimePicker/index.js +0 -2
- package/lib/Timeline/index.js +0 -2
- package/lib/Tooltip/index.js +0 -54
- package/lib/Tooltip/index.style.js +0 -23
- package/lib/TooltipText/ResizeObserverManager.js +0 -56
- package/lib/TooltipText/index.js +0 -138
- package/lib/TooltipText/index.style.js +0 -46
- package/lib/Tour/index.js +0 -2
- package/lib/Transfer/index.js +0 -2
- package/lib/Tree/index.js +0 -2
- package/lib/TreeSelect/index.js +0 -2
- package/lib/Typography/index.js +0 -2
- package/lib/Upload/index.js +0 -2
- package/lib/WangEditor/editor4.js +0 -652
- package/lib/WangEditor/index.js +0 -298
- package/lib/WangEditor/index.style.js +0 -203
- package/lib/WangEditor/locale/index.js +0 -62
- package/lib/WangEditor/release/wangEditor.js +0 -5390
- package/lib/WangEditor/resizeable.js +0 -112
- package/lib/WangEditor/usePreview.js +0 -39
- package/lib/WangEditor/wangEditor.js +0 -4627
- package/lib/Watermark/index.js +0 -2
- package/lib/antd-style/context/ThemeModeContext.js +0 -11
- package/lib/antd-style/context/index.js +0 -1
- package/lib/antd-style/core/CacheManager.js +0 -56
- package/lib/antd-style/core/createCSS.js +0 -42
- package/lib/antd-style/core/createEmotion.js +0 -1
- package/lib/antd-style/core/createSerializeStyles.js +0 -11
- package/lib/antd-style/core/index.js +0 -5
- package/lib/antd-style/core/insertStyles.js +0 -35
- package/lib/antd-style/factories/createEmotionContext.js +0 -4
- package/lib/antd-style/factories/createGlobalStyle.js +0 -28
- package/lib/antd-style/factories/createStyish.js +0 -14
- package/lib/antd-style/factories/createStyleProvider/index.js +0 -69
- package/lib/antd-style/factories/createStyledThemeProvider.js +0 -16
- package/lib/antd-style/factories/createStyles/index.js +0 -114
- package/lib/antd-style/factories/createStyles/response.js +0 -43
- package/lib/antd-style/factories/createStyles/types.js +0 -1
- package/lib/antd-style/factories/createThemeProvider/AntdProvider.js +0 -78
- package/lib/antd-style/factories/createThemeProvider/ThemeSwitcher.js +0 -130
- package/lib/antd-style/factories/createThemeProvider/TokenContainer.js +0 -75
- package/lib/antd-style/factories/createThemeProvider/index.js +0 -77
- package/lib/antd-style/factories/createThemeProvider/type.js +0 -1
- package/lib/antd-style/factories/createUseTheme.js +0 -33
- package/lib/antd-style/functions/createInstance.js +0 -95
- package/lib/antd-style/functions/extractStaticStyle.js +0 -63
- package/lib/antd-style/functions/index.js +0 -21
- package/lib/antd-style/functions/setupStyled.js +0 -11
- package/lib/antd-style/hooks/index.js +0 -5
- package/lib/antd-style/hooks/useAntdStylish.js +0 -20
- package/lib/antd-style/hooks/useAntdTheme.js +0 -18
- package/lib/antd-style/hooks/useAntdToken.js +0 -6
- package/lib/antd-style/hooks/useResponsive.js +0 -9
- package/lib/antd-style/hooks/useThemeMode.js +0 -5
- package/lib/antd-style/index.js +0 -5
- package/lib/antd-style/stylish/button.js +0 -19
- package/lib/antd-style/types/appearance.js +0 -1
- package/lib/antd-style/types/css.js +0 -1
- package/lib/antd-style/types/function.js +0 -1
- package/lib/antd-style/types/genericUtils.js +0 -1
- package/lib/antd-style/types/index.js +0 -8
- package/lib/antd-style/types/response.js +0 -1
- package/lib/antd-style/types/styleManager.js +0 -1
- package/lib/antd-style/types/styled.js +0 -1
- package/lib/antd-style/types/theme.js +0 -1
- package/lib/antd-style/utils/convertStylish.js +0 -18
- package/lib/antd-style/utils/css.js +0 -59
- package/lib/antd-style/utils/css.test.js +0 -20
- package/lib/antd-style/utils/index.js +0 -1
- package/lib/antd-style/utils/matchBrowserPrefers.js +0 -9
- package/lib/antd-style/utils/responsive.js +0 -14
- package/lib/antd-style/utils/safeStartTransition.js +0 -8
- package/lib/configHoc/index.js +0 -23
- package/lib/index.js +0 -5
- package/lib/locales/en_US.json +0 -78
- package/lib/locales/index.js +0 -57
- package/lib/locales/intl.js +0 -46
- package/lib/locales/zh_CN.json +0 -78
- package/lib/locales/zh_TW.json +0 -78
- package/lib/message/index.js +0 -2
- package/lib/noticeManager/event.js +0 -52
- package/lib/noticeManager/globalState.js +0 -26
- package/lib/noticeManager/index.js +0 -16
- package/lib/notification/index.js +0 -2
- package/lib/portalNoticeManager/event.js +0 -52
- package/lib/portalNoticeManager/index.js +0 -14
- package/lib/portalNoticeManager/usePortalDispatchNotice.js +0 -37
- package/lib/portalNoticeManager/withPortalDispatchNotice.js +0 -10
- package/lib/treeLoad/index.js +0 -43
- package/lib/useChartTheme/index.js +0 -36
- package/lib/useConfigContext/index.js +0 -6
- package/lib/utils/index.js +0 -90
|
@@ -1,938 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
import _Empty from "@chaoswise/ui/lib/Empty";
|
|
3
|
-
import _CWTree from "@chaoswise/ui/lib/CWTree";
|
|
4
|
-
import _CWTable from "@chaoswise/ui/lib/CWTable";
|
|
5
|
-
import _Checkbox from "@chaoswise/ui/lib/Checkbox";
|
|
6
|
-
import _TooltipText from "@chaoswise/ui/lib/TooltipText";
|
|
7
|
-
import _Input from "@chaoswise/ui/lib/Input";
|
|
8
|
-
var _excluded = ["onChange", "showLeftSearch", "value"],
|
|
9
|
-
_excluded2 = ["onChange", "showRightSearch", "value"],
|
|
10
|
-
_excluded3 = ["checkStrictly", "defaultExpandAll", "treeSelect", "onCheck"],
|
|
11
|
-
_excluded4 = ["columns", "renderColumns", "searchColumns", "defaultExpandAllRows", "rowSelection"],
|
|
12
|
-
_excluded5 = ["onSelect", "onChange", "onSelectAll"],
|
|
13
|
-
_excluded6 = ["onChange"];
|
|
14
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
15
|
-
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
16
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
|
-
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
18
|
-
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
19
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
22
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
23
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
24
|
-
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
25
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
26
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
27
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
28
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
29
|
-
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
30
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
31
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
32
|
-
import React, { useState, useEffect, Fragment, forwardRef, useMemo } from "react";
|
|
33
|
-
import { filterTreeByName, filterTree, filterTreeByNameTable, filterObj, getNotSelectKeys, getKeysAndTitle, getBottomKey, renderLeafNodetree, renderRelationNode, createTitle } from "./utils";
|
|
34
|
-
import classnames from "classnames";
|
|
35
|
-
import Drag from "./Drag";
|
|
36
|
-
import PropTypes from "prop-types";
|
|
37
|
-
import { isEqual } from "@chaoswise/utils";
|
|
38
|
-
import NoDrag from "./NoDrag";
|
|
39
|
-
import { createTree } from "../CWTree/utils";
|
|
40
|
-
import { useIntl } from "../locales";
|
|
41
|
-
import useStyle from "./index.style";
|
|
42
|
-
var Search = _Input.Search;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* 满足公司业务需求的穿梭框,实现点击左侧选中即出现在右侧列表,右侧列表可拖拽顺序
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
var QuickTransfer = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
49
|
-
var _props$type = props.type,
|
|
50
|
-
type = _props$type === void 0 ? "list" : _props$type,
|
|
51
|
-
_props$tableProps = props.tableProps,
|
|
52
|
-
tableProps = _props$tableProps === void 0 ? {} : _props$tableProps,
|
|
53
|
-
_props$dragList = props.dragList,
|
|
54
|
-
dragList = _props$dragList === void 0 ? false : _props$dragList,
|
|
55
|
-
_props$dataSource = props.dataSource,
|
|
56
|
-
dataSource = _props$dataSource === void 0 ? [] : _props$dataSource,
|
|
57
|
-
_props$treeProps = props.treeProps,
|
|
58
|
-
treeProps = _props$treeProps === void 0 ? {} : _props$treeProps,
|
|
59
|
-
_props$searchProps = props.searchProps,
|
|
60
|
-
searchProps = _props$searchProps === void 0 ? {} : _props$searchProps,
|
|
61
|
-
leftFooter = props.leftFooter,
|
|
62
|
-
rightFooter = props.rightFooter,
|
|
63
|
-
_props$leftContentOpt = props.leftContentOption,
|
|
64
|
-
leftContentOption = _props$leftContentOpt === void 0 ? {} : _props$leftContentOpt,
|
|
65
|
-
rightContentRender = props.rightContentRender,
|
|
66
|
-
_props$render = props.render,
|
|
67
|
-
render = _props$render === void 0 ? function (text) {
|
|
68
|
-
return /*#__PURE__*/React.createElement(_TooltipText, null, /*#__PURE__*/React.createElement("span", null, text));
|
|
69
|
-
} : _props$render,
|
|
70
|
-
_props$handlePreviewL = props.handlePreviewList,
|
|
71
|
-
_handlePreviewList = _props$handlePreviewL === void 0 ? function () {} : _props$handlePreviewL,
|
|
72
|
-
getTargetKeys = props.getTargetKeys,
|
|
73
|
-
targetKeys = props.targetKeys,
|
|
74
|
-
leftHeader = props.leftHeader,
|
|
75
|
-
_props$rightHeader = props.rightHeader,
|
|
76
|
-
rightHeader = _props$rightHeader === void 0 ? true : _props$rightHeader,
|
|
77
|
-
_props$leftStyle = props.leftStyle,
|
|
78
|
-
leftStyle = _props$leftStyle === void 0 ? {} : _props$leftStyle,
|
|
79
|
-
_props$rightStyle = props.rightStyle,
|
|
80
|
-
rightStyle = _props$rightStyle === void 0 ? {} : _props$rightStyle,
|
|
81
|
-
_props$division = props.division,
|
|
82
|
-
division = _props$division === void 0 ? true : _props$division,
|
|
83
|
-
_props$divisionStyle = props.divisionStyle,
|
|
84
|
-
divisionStyle = _props$divisionStyle === void 0 ? {} : _props$divisionStyle,
|
|
85
|
-
_props$style = props.style,
|
|
86
|
-
style = _props$style === void 0 ? {} : _props$style,
|
|
87
|
-
transferWrapperClassName = props.transferWrapperClassName,
|
|
88
|
-
_props$useDndProvider = props.useDndProvider,
|
|
89
|
-
useDndProvider = _props$useDndProvider === void 0 ? true : _props$useDndProvider,
|
|
90
|
-
_props$showBorder = props.showBorder,
|
|
91
|
-
showBorder = _props$showBorder === void 0 ? false : _props$showBorder,
|
|
92
|
-
_props$searchOption = props.searchOption,
|
|
93
|
-
searchOption = _props$searchOption === void 0 ? {} : _props$searchOption,
|
|
94
|
-
_props$caseSensitive = props.caseSensitive,
|
|
95
|
-
caseSensitive = _props$caseSensitive === void 0 ? false : _props$caseSensitive,
|
|
96
|
-
_props$isHoverSwitchi = props.isHoverSwitching,
|
|
97
|
-
isHoverSwitching = _props$isHoverSwitchi === void 0 ? true : _props$isHoverSwitchi;
|
|
98
|
-
var _searchOption$leftSea = searchOption.leftSearchOption,
|
|
99
|
-
_searchOption$leftSea2 = _searchOption$leftSea === void 0 ? {} : _searchOption$leftSea,
|
|
100
|
-
_searchOption$leftSea3 = _searchOption$leftSea2.onChange,
|
|
101
|
-
onLeftSearchChange = _searchOption$leftSea3 === void 0 ? function () {} : _searchOption$leftSea3,
|
|
102
|
-
_searchOption$leftSea4 = _searchOption$leftSea2.showLeftSearch,
|
|
103
|
-
showLeftSearch = _searchOption$leftSea4 === void 0 ? true : _searchOption$leftSea4,
|
|
104
|
-
searchValueLeft = _searchOption$leftSea2.value,
|
|
105
|
-
restLeftSearchProps = _objectWithoutProperties(_searchOption$leftSea2, _excluded),
|
|
106
|
-
_searchOption$rightSe = searchOption.rightSearchOption,
|
|
107
|
-
_searchOption$rightSe2 = _searchOption$rightSe === void 0 ? {} : _searchOption$rightSe,
|
|
108
|
-
_searchOption$rightSe3 = _searchOption$rightSe2.onChange,
|
|
109
|
-
onRightSearchChange = _searchOption$rightSe3 === void 0 ? function () {} : _searchOption$rightSe3,
|
|
110
|
-
_searchOption$rightSe4 = _searchOption$rightSe2.showRightSearch,
|
|
111
|
-
showRightSearch = _searchOption$rightSe4 === void 0 ? false : _searchOption$rightSe4,
|
|
112
|
-
searchValueRight = _searchOption$rightSe2.value,
|
|
113
|
-
restRightSearchProps = _objectWithoutProperties(_searchOption$rightSe2, _excluded2);
|
|
114
|
-
var allSelectedTextRender = leftContentOption.allSelectedTextRender;
|
|
115
|
-
var _treeProps$checkStric = treeProps.checkStrictly,
|
|
116
|
-
checkStrictly = _treeProps$checkStric === void 0 ? true : _treeProps$checkStric,
|
|
117
|
-
_treeProps$defaultExp = treeProps.defaultExpandAll,
|
|
118
|
-
defaultExpandAll = _treeProps$defaultExp === void 0 ? true : _treeProps$defaultExp,
|
|
119
|
-
_treeProps$treeSelect = treeProps.treeSelect,
|
|
120
|
-
treeSelect = _treeProps$treeSelect === void 0 ? "leafNode" : _treeProps$treeSelect,
|
|
121
|
-
_treeProps$onCheck = treeProps.onCheck,
|
|
122
|
-
_onCheck = _treeProps$onCheck === void 0 ? function () {} : _treeProps$onCheck,
|
|
123
|
-
treeRest = _objectWithoutProperties(treeProps, _excluded3);
|
|
124
|
-
//判断父节点选中能否到右侧列表,如果能设置父子节点关联
|
|
125
|
-
var newCheckStrictly = true;
|
|
126
|
-
if (treeSelect === "leafNode") {
|
|
127
|
-
newCheckStrictly = false;
|
|
128
|
-
} else {
|
|
129
|
-
newCheckStrictly = true;
|
|
130
|
-
}
|
|
131
|
-
var _tableProps$columns = tableProps.columns,
|
|
132
|
-
columns = _tableProps$columns === void 0 ? [] : _tableProps$columns,
|
|
133
|
-
renderColumns = tableProps.renderColumns,
|
|
134
|
-
searchColumns = tableProps.searchColumns,
|
|
135
|
-
_tableProps$defaultEx = tableProps.defaultExpandAllRows,
|
|
136
|
-
defaultExpandAllRows = _tableProps$defaultEx === void 0 ? true : _tableProps$defaultEx,
|
|
137
|
-
_tableProps$rowSelect = tableProps.rowSelection,
|
|
138
|
-
rowSelection = _tableProps$rowSelect === void 0 ? {} : _tableProps$rowSelect,
|
|
139
|
-
tableRest = _objectWithoutProperties(tableProps, _excluded4);
|
|
140
|
-
var _rowSelection$onSelec = rowSelection.onSelect,
|
|
141
|
-
_onSelect = _rowSelection$onSelec === void 0 ? function () {} : _rowSelection$onSelec,
|
|
142
|
-
_rowSelection$onChang = rowSelection.onChange,
|
|
143
|
-
_onTableChange = _rowSelection$onChang === void 0 ? function () {} : _rowSelection$onChang,
|
|
144
|
-
_rowSelection$onSelec2 = rowSelection.onSelectAll,
|
|
145
|
-
_onSelectAll = _rowSelection$onSelec2 === void 0 ? function () {} : _rowSelection$onSelec2,
|
|
146
|
-
rowSelectionRest = _objectWithoutProperties(rowSelection, _excluded5);
|
|
147
|
-
var _useStyle = useStyle("cw-transfer-main"),
|
|
148
|
-
_useStyle2 = _slicedToArray(_useStyle, 3),
|
|
149
|
-
wrapCSSVar = _useStyle2[0],
|
|
150
|
-
hashId = _useStyle2[1],
|
|
151
|
-
cssVarCls = _useStyle2[2];
|
|
152
|
-
var intl = useIntl();
|
|
153
|
-
// 初始数据源以及搜索之后的数据源
|
|
154
|
-
var _useState = useState([]),
|
|
155
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
156
|
-
data = _useState2[0],
|
|
157
|
-
setData = _useState2[1];
|
|
158
|
-
//右侧列表的数据
|
|
159
|
-
var _useState3 = useState([]),
|
|
160
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
161
|
-
checkValue = _useState4[0],
|
|
162
|
-
setCheckValue = _useState4[1];
|
|
163
|
-
|
|
164
|
-
//选中的key
|
|
165
|
-
var _useState5 = useState(targetKeys || []),
|
|
166
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
167
|
-
checkedKeys = _useState6[0],
|
|
168
|
-
setCheckedKeys = _useState6[1];
|
|
169
|
-
// 列表左侧判断全选状态实际选中的key,重新搜索之后会改变
|
|
170
|
-
var _useState7 = useState([]),
|
|
171
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
172
|
-
listCheckedKeys = _useState8[0],
|
|
173
|
-
setListCheckedKeys = _useState8[1];
|
|
174
|
-
// 列表穿梭全选状态
|
|
175
|
-
var _useState9 = useState(false),
|
|
176
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
177
|
-
checkAll = _useState10[0],
|
|
178
|
-
setCheckAll = _useState10[1];
|
|
179
|
-
// 全选按钮效果
|
|
180
|
-
var _useState11 = useState(false),
|
|
181
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
182
|
-
indeterminate = _useState12[0],
|
|
183
|
-
setIndeterminate = _useState12[1];
|
|
184
|
-
|
|
185
|
-
// 保存搜索结果
|
|
186
|
-
var _useState13 = useState(""),
|
|
187
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
188
|
-
saveSearchValueLeft = _useState14[0],
|
|
189
|
-
setSaveSearchValueLeft = _useState14[1];
|
|
190
|
-
var _useState15 = useState(""),
|
|
191
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
192
|
-
saveSearchValueRight = _useState16[0],
|
|
193
|
-
setSaveSearchValueRight = _useState16[1];
|
|
194
|
-
//表格情况下右侧列表渲染的列
|
|
195
|
-
var newRenderColumns = [];
|
|
196
|
-
var newSearchColumns = [];
|
|
197
|
-
if (type === "table") {
|
|
198
|
-
// 处理type为table时的搜索高亮效果
|
|
199
|
-
// 外面无render传入时默认搜索高亮处理,有render外面自己处理
|
|
200
|
-
columns = columns.map(function (item) {
|
|
201
|
-
return !item.render ? _objectSpread(_objectSpread({}, item), {}, {
|
|
202
|
-
render: function render(text) {
|
|
203
|
-
text = String(text);
|
|
204
|
-
var index = text.toLowerCase().indexOf(saveSearchValueLeft === null || saveSearchValueLeft === void 0 ? void 0 : saveSearchValueLeft.toLowerCase());
|
|
205
|
-
var beforeTitle = text.substr(0, index);
|
|
206
|
-
var searchValue = text.substr(index, saveSearchValueLeft === null || saveSearchValueLeft === void 0 ? void 0 : saveSearchValueLeft.length);
|
|
207
|
-
var afterTitle = text.substr(index + (saveSearchValueLeft === null || saveSearchValueLeft === void 0 ? void 0 : saveSearchValueLeft.length));
|
|
208
|
-
return index > -1 ? /*#__PURE__*/React.createElement("span", null, beforeTitle, /*#__PURE__*/React.createElement("span", {
|
|
209
|
-
style: {
|
|
210
|
-
color: "#F5222D"
|
|
211
|
-
}
|
|
212
|
-
}, searchValue), afterTitle) : text;
|
|
213
|
-
}
|
|
214
|
-
}) : item;
|
|
215
|
-
});
|
|
216
|
-
//默认渲染第一列
|
|
217
|
-
if (!renderColumns) {
|
|
218
|
-
newRenderColumns = columns.length > 0 && [columns[0].dataIndex] || [];
|
|
219
|
-
}
|
|
220
|
-
//表格情况下搜索范围,是按照某一列搜索还是全部列搜索,默认搜索全部列
|
|
221
|
-
if (!searchColumns) {
|
|
222
|
-
columns.length > 0 && columns.forEach(function (item) {
|
|
223
|
-
newSearchColumns.push(item.dataIndex);
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
useEffect(function () {
|
|
228
|
-
// 设置数据源
|
|
229
|
-
setData(dataSource);
|
|
230
|
-
if (type === "list") {
|
|
231
|
-
if (targetKeys) {
|
|
232
|
-
setListCheckedStyle(targetKeys, dataSource);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}, [dataSource]);
|
|
236
|
-
useEffect(function () {
|
|
237
|
-
//传入的当前选中的key
|
|
238
|
-
if (targetKeys) {
|
|
239
|
-
setCheckedKeys(function (pre) {
|
|
240
|
-
if (isEqual(targetKeys, pre)) {
|
|
241
|
-
return pre;
|
|
242
|
-
}
|
|
243
|
-
return targetKeys;
|
|
244
|
-
});
|
|
245
|
-
//回显列表项
|
|
246
|
-
if (type === "list") {
|
|
247
|
-
var finalCheckValue = [];
|
|
248
|
-
targetKeys.forEach(function (item) {
|
|
249
|
-
var findValue = dataSource.find(function (i) {
|
|
250
|
-
return i.key == item;
|
|
251
|
-
});
|
|
252
|
-
findValue && finalCheckValue.push(findValue);
|
|
253
|
-
});
|
|
254
|
-
finalCheckValue = finalCheckValue.filter(function (i) {
|
|
255
|
-
return i.disabled;
|
|
256
|
-
}).concat(finalCheckValue.filter(function (i) {
|
|
257
|
-
return !i.disabled;
|
|
258
|
-
}));
|
|
259
|
-
setCheckValue(finalCheckValue);
|
|
260
|
-
}
|
|
261
|
-
//回显table
|
|
262
|
-
if (type === "table") {
|
|
263
|
-
setCheckValue(renderRelationNode(targetKeys, dataSource));
|
|
264
|
-
}
|
|
265
|
-
//回显树
|
|
266
|
-
if (type === "tree") {
|
|
267
|
-
//根据父子节点不同的关联关系设置右侧的列表
|
|
268
|
-
if (treeSelect === "leafNode") {
|
|
269
|
-
setCheckValue(renderLeafNodetree(targetKeys, createTree(renderTreeData(dataSource), "", undefined, undefined)));
|
|
270
|
-
} else {
|
|
271
|
-
setCheckValue(renderRelationNode(targetKeys, dataSource));
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}, [targetKeys, dataSource]);
|
|
276
|
-
//触发前端自定义搜索
|
|
277
|
-
useEffect(function () {
|
|
278
|
-
if (searchValueLeft !== undefined) {
|
|
279
|
-
handleSearch(searchValueLeft);
|
|
280
|
-
// 初始化搜索结果
|
|
281
|
-
setSaveSearchValueLeft(searchValueLeft);
|
|
282
|
-
}
|
|
283
|
-
if (searchValueRight !== undefined) {
|
|
284
|
-
// 初始化搜索结果
|
|
285
|
-
setSaveSearchValueRight(searchValueRight);
|
|
286
|
-
}
|
|
287
|
-
}, [searchValueLeft, searchValueRight]);
|
|
288
|
-
//获取左侧列表选中的key
|
|
289
|
-
useEffect(function () {
|
|
290
|
-
if (getTargetKeys) {
|
|
291
|
-
getTargetKeys(checkedKeys);
|
|
292
|
-
}
|
|
293
|
-
}, [checkedKeys]);
|
|
294
|
-
var isMath = function isMath(title, searchValue) {
|
|
295
|
-
if (!searchValue) {
|
|
296
|
-
return true;
|
|
297
|
-
}
|
|
298
|
-
if (typeof title === "string" && typeof searchValue === "string") {
|
|
299
|
-
return title.toLowerCase().indexOf(searchValue.toLowerCase()) > -1;
|
|
300
|
-
}
|
|
301
|
-
return false;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
// 内置的右侧搜索框内容改变触发搜索
|
|
305
|
-
var handleRightSearch = function handleRightSearch(searchValue) {
|
|
306
|
-
var newCheckedValue = [];
|
|
307
|
-
if (type === "list") {
|
|
308
|
-
checkValue.forEach(function (item, index) {
|
|
309
|
-
if (isMath(item.title, searchValue)) {
|
|
310
|
-
newCheckedValue.push(checkValue[index]);
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
if (type === "tree") {
|
|
315
|
-
newCheckedValue = filterTree(checkValue, searchValue);
|
|
316
|
-
}
|
|
317
|
-
if (type === "table") {
|
|
318
|
-
newCheckedValue = filterTreeByNameTable(checkValue, searchValue, renderColumns ? renderColumns : newRenderColumns);
|
|
319
|
-
}
|
|
320
|
-
return newCheckedValue;
|
|
321
|
-
};
|
|
322
|
-
var searchCheckedValue = useMemo(function () {
|
|
323
|
-
return type === "tree" && treeSelect === "leafNode" ? handleRightSearch(saveSearchValueRight).filter(function (i) {
|
|
324
|
-
return Boolean(i.isLeaf);
|
|
325
|
-
}) : handleRightSearch(saveSearchValueRight);
|
|
326
|
-
}, [checkValue, saveSearchValueRight, type, treeSelect]);
|
|
327
|
-
// type为list下全选框按钮的样式统一处理
|
|
328
|
-
var setListCheckedStyle = function setListCheckedStyle(listCheckedKeys, dataSource) {
|
|
329
|
-
// 设置列表左侧判断全选状态实际选中的key,重新搜索之后会改变
|
|
330
|
-
setListCheckedKeys(listCheckedKeys);
|
|
331
|
-
// 设置全选按钮效果
|
|
332
|
-
setIndeterminate(!!listCheckedKeys.length && listCheckedKeys.length < dataSource.length);
|
|
333
|
-
setCheckAll(listCheckedKeys.length === dataSource.length);
|
|
334
|
-
};
|
|
335
|
-
// 左侧搜索框输入触发
|
|
336
|
-
var handleSearch = function handleSearch(searchValue) {
|
|
337
|
-
var newData = [];
|
|
338
|
-
var listCheckedKeys_ = [];
|
|
339
|
-
if (type === "list") {
|
|
340
|
-
dataSource.forEach(function (item, index) {
|
|
341
|
-
if (isMath(item.title, searchValue)) {
|
|
342
|
-
newData.push(dataSource[index]);
|
|
343
|
-
}
|
|
344
|
-
});
|
|
345
|
-
listCheckedKeys_ = newData.filter(function (item) {
|
|
346
|
-
return checkValue.find(function (i) {
|
|
347
|
-
return i.key == item.key;
|
|
348
|
-
});
|
|
349
|
-
}).map(function (item) {
|
|
350
|
-
return item.key;
|
|
351
|
-
});
|
|
352
|
-
setData(newData);
|
|
353
|
-
setListCheckedStyle(listCheckedKeys_, newData);
|
|
354
|
-
}
|
|
355
|
-
// if (type === "tree") {
|
|
356
|
-
// newData = filterTree(dataSource, searchValue);
|
|
357
|
-
// setData(newData);
|
|
358
|
-
// }
|
|
359
|
-
if (type === "table") {
|
|
360
|
-
newData = filterTreeByNameTable(dataSource, searchValue, searchColumns ? searchColumns : newSearchColumns);
|
|
361
|
-
setData(newData);
|
|
362
|
-
}
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
//type为list 左侧列表选中触发的事件
|
|
366
|
-
var onChangeChecked = function onChangeChecked(e, value) {
|
|
367
|
-
var target = e.target;
|
|
368
|
-
//选中
|
|
369
|
-
var checkValue_ = [];
|
|
370
|
-
var checkedKeys_ = [];
|
|
371
|
-
var listCheckedKeys_ = [];
|
|
372
|
-
if (target.checked) {
|
|
373
|
-
checkValue_ = filterObj([].concat(_toConsumableArray(checkValue), [value]));
|
|
374
|
-
checkedKeys_ = checkValue_.map(function (item) {
|
|
375
|
-
return item.key;
|
|
376
|
-
});
|
|
377
|
-
listCheckedKeys_ = [].concat(_toConsumableArray(listCheckedKeys), [value.key]);
|
|
378
|
-
} else {
|
|
379
|
-
//未选中
|
|
380
|
-
checkValue_ = checkValue.filter(function (item) {
|
|
381
|
-
return !isEqual(item, value);
|
|
382
|
-
});
|
|
383
|
-
checkedKeys_ = checkValue_.map(function (item) {
|
|
384
|
-
return item.key;
|
|
385
|
-
});
|
|
386
|
-
listCheckedKeys_ = listCheckedKeys.filter(function (item) {
|
|
387
|
-
return item !== value.key;
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
setCheckValue(checkValue_);
|
|
391
|
-
setCheckedKeys(checkedKeys_);
|
|
392
|
-
setListCheckedStyle(listCheckedKeys_, data);
|
|
393
|
-
};
|
|
394
|
-
//表格行选择触发的回调
|
|
395
|
-
var handleRowSelection = _objectSpread({
|
|
396
|
-
onSelect: function onSelect(record, selected, selectedRows, nativeEvent) {
|
|
397
|
-
if (selected) {
|
|
398
|
-
setCheckValue([].concat(_toConsumableArray(checkValue), [record]));
|
|
399
|
-
} else {
|
|
400
|
-
setCheckValue(checkValue.filter(function (item) {
|
|
401
|
-
return item.key !== record.key;
|
|
402
|
-
}));
|
|
403
|
-
}
|
|
404
|
-
_onSelect(record, selected, selectedRows, nativeEvent);
|
|
405
|
-
},
|
|
406
|
-
onChange: function onChange(selectedRowKeys, selectedRows) {
|
|
407
|
-
setCheckedKeys(selectedRowKeys);
|
|
408
|
-
_onTableChange(selectedRowKeys, selectedRows);
|
|
409
|
-
},
|
|
410
|
-
onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
|
|
411
|
-
setCheckValue(selectedRows);
|
|
412
|
-
_onSelectAll(selected, selectedRows, changeRows);
|
|
413
|
-
},
|
|
414
|
-
selectedRowKeys: checkedKeys
|
|
415
|
-
}, rowSelectionRest);
|
|
416
|
-
//删除右侧列表的某一项
|
|
417
|
-
var handleDelete = function handleDelete(value) {
|
|
418
|
-
var checkedKeys_ = [];
|
|
419
|
-
setCheckValue(checkValue.filter(function (item) {
|
|
420
|
-
return item !== value;
|
|
421
|
-
}));
|
|
422
|
-
checkedKeys_ = checkedKeys.filter(function (item) {
|
|
423
|
-
return item !== value.key;
|
|
424
|
-
});
|
|
425
|
-
setCheckedKeys(checkedKeys_);
|
|
426
|
-
if (type == "list") {
|
|
427
|
-
var listCheckedKeys_ = [];
|
|
428
|
-
listCheckedKeys_ = checkedKeys_.filter(function (item) {
|
|
429
|
-
return listCheckedKeys.includes(item);
|
|
430
|
-
});
|
|
431
|
-
setListCheckedStyle(listCheckedKeys_, data);
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
|
-
//更新交换后的列表
|
|
435
|
-
var handlePreviewList = function handlePreviewList(list) {
|
|
436
|
-
_handlePreviewList(list);
|
|
437
|
-
setCheckValue(list);
|
|
438
|
-
};
|
|
439
|
-
var clearAll = function clearAll() {
|
|
440
|
-
var newCheckedValue = [];
|
|
441
|
-
var newCheckedKey = [];
|
|
442
|
-
newCheckedValue = checkValue.filter(function (i) {
|
|
443
|
-
return !Boolean(handleRightSearch(saveSearchValueRight).find(function (item) {
|
|
444
|
-
return item.key == i.key && !item.disabled;
|
|
445
|
-
}));
|
|
446
|
-
});
|
|
447
|
-
newCheckedKey = newCheckedValue.map(function (item) {
|
|
448
|
-
return item.key;
|
|
449
|
-
});
|
|
450
|
-
handlePreviewList(newCheckedValue);
|
|
451
|
-
setCheckedKeys(newCheckedKey);
|
|
452
|
-
// 清除所有type为list时全选逻辑
|
|
453
|
-
if (type === "list") {
|
|
454
|
-
var newListCheckedKeys = [];
|
|
455
|
-
newListCheckedKeys = listCheckedKeys.filter(function (item) {
|
|
456
|
-
return newCheckedKey.includes(item);
|
|
457
|
-
});
|
|
458
|
-
setListCheckedStyle(newListCheckedKeys, data);
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
var renderTreeData = function renderTreeData(data) {
|
|
462
|
-
return data.map(function (item) {
|
|
463
|
-
if (item.children) {
|
|
464
|
-
return _objectSpread(_objectSpread({}, item), {}, {
|
|
465
|
-
children: renderTreeData(item.children)
|
|
466
|
-
});
|
|
467
|
-
} else {
|
|
468
|
-
return item;
|
|
469
|
-
}
|
|
470
|
-
});
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
//树节点选中触发
|
|
474
|
-
var onCheck = function onCheck(checkedKey, e) {
|
|
475
|
-
_onCheck(checkedKey, e);
|
|
476
|
-
var _e$node = e.node,
|
|
477
|
-
eventKey = _e$node.key,
|
|
478
|
-
children = _e$node.children,
|
|
479
|
-
originTitle = _e$node.originTitle,
|
|
480
|
-
record = _e$node.record;
|
|
481
|
-
//当前选中的节点和传到右侧列表的的value
|
|
482
|
-
var newCheckKey = [eventKey];
|
|
483
|
-
var newCheckValue = [{
|
|
484
|
-
key: eventKey,
|
|
485
|
-
title: originTitle
|
|
486
|
-
}];
|
|
487
|
-
|
|
488
|
-
//判断有没有children选中添加
|
|
489
|
-
if (children && children.length > 0) {
|
|
490
|
-
newCheckKey = newCheckKey.concat(getNotSelectKeys(children));
|
|
491
|
-
newCheckValue = newCheckValue.concat(getKeysAndTitle(children));
|
|
492
|
-
}
|
|
493
|
-
//父子节点选中不再有关联
|
|
494
|
-
if (treeSelect === "notRelationNode") {
|
|
495
|
-
if (e.checked) {
|
|
496
|
-
setCheckedKeys([].concat(_toConsumableArray(checkedKeys), [eventKey]));
|
|
497
|
-
setCheckValue([].concat(_toConsumableArray(checkValue), [{
|
|
498
|
-
key: eventKey,
|
|
499
|
-
title: originTitle
|
|
500
|
-
}]));
|
|
501
|
-
} else {
|
|
502
|
-
setCheckValue(checkValue.filter(function (item) {
|
|
503
|
-
return item.key !== eventKey;
|
|
504
|
-
}));
|
|
505
|
-
setCheckedKeys(checkedKeys.filter(function (item) {
|
|
506
|
-
return item !== eventKey;
|
|
507
|
-
}));
|
|
508
|
-
}
|
|
509
|
-
} else if (treeSelect === "relationNode") {
|
|
510
|
-
//如果被选中,(父节点选中,子节点全部选中,删除右侧列表节点没有父子联动逻辑)
|
|
511
|
-
if (e.checked) {
|
|
512
|
-
//排除重复选中
|
|
513
|
-
var filterKeys = [].concat(_toConsumableArray(checkedKeys), _toConsumableArray(newCheckKey));
|
|
514
|
-
setCheckedKeys(Array.from(new Set(filterKeys)));
|
|
515
|
-
var filterValues = [].concat(_toConsumableArray(checkValue), _toConsumableArray(newCheckValue));
|
|
516
|
-
setCheckValue(filterObj(filterValues));
|
|
517
|
-
} else {
|
|
518
|
-
setCheckedKeys(checkedKeys.filter(function (item) {
|
|
519
|
-
return !newCheckKey.includes(item);
|
|
520
|
-
}));
|
|
521
|
-
setCheckValue(checkValue.filter(function (item) {
|
|
522
|
-
return !newCheckKey.includes(item.key);
|
|
523
|
-
}));
|
|
524
|
-
}
|
|
525
|
-
} else if (treeSelect === "leafNode") {
|
|
526
|
-
//只有子节点才会被渲染到右侧列表
|
|
527
|
-
if (e.checked) {
|
|
528
|
-
//当没有子节点,设置当前节点选中,但不会渲染到右侧列表,因为不是叶子节点
|
|
529
|
-
if (children && children.length === 0) {
|
|
530
|
-
setCheckedKeys([].concat(_toConsumableArray(checkedKeys), [eventKey]));
|
|
531
|
-
} else if (children && children.length > 0) {
|
|
532
|
-
//当前选中的是父节点,子节点全部被选中,但是只有叶子节点会渲染到列表,避免重复渲染列表,对选中节点和右侧列表去重
|
|
533
|
-
var bottomKeys = getBottomKey(children);
|
|
534
|
-
var _filterKeys = [].concat(_toConsumableArray(checkedKeys), _toConsumableArray(bottomKeys.map(function (item) {
|
|
535
|
-
return item.key;
|
|
536
|
-
})));
|
|
537
|
-
setCheckedKeys(Array.from(new Set(_filterKeys)));
|
|
538
|
-
var _filterValues = [].concat(_toConsumableArray(checkValue), _toConsumableArray(bottomKeys.filter(function (item) {
|
|
539
|
-
return !item.children;
|
|
540
|
-
})));
|
|
541
|
-
setCheckValue(filterObj(_filterValues));
|
|
542
|
-
} else if (!children) {
|
|
543
|
-
//当前是叶子节点
|
|
544
|
-
setCheckedKeys([].concat(_toConsumableArray(checkedKeys), [eventKey]));
|
|
545
|
-
setCheckValue([].concat(_toConsumableArray(checkValue), [record]));
|
|
546
|
-
}
|
|
547
|
-
} else {
|
|
548
|
-
//取消选中的情况
|
|
549
|
-
if (children && children.length === 0) {
|
|
550
|
-
setCheckedKeys(checkedKeys.filter(function (item) {
|
|
551
|
-
return item !== eventKey;
|
|
552
|
-
}));
|
|
553
|
-
} else if (children && children.length > 0) {
|
|
554
|
-
var _bottomKeys = getBottomKey(children);
|
|
555
|
-
setCheckedKeys(checkedKeys.filter(function (item) {
|
|
556
|
-
return !_bottomKeys.map(function (item) {
|
|
557
|
-
return item.key;
|
|
558
|
-
}).includes(item);
|
|
559
|
-
}));
|
|
560
|
-
setCheckValue(checkValue.filter(function (item) {
|
|
561
|
-
return !_bottomKeys.map(function (item) {
|
|
562
|
-
return item.key;
|
|
563
|
-
}).includes(item.key);
|
|
564
|
-
}));
|
|
565
|
-
} else if (!children) {
|
|
566
|
-
setCheckedKeys(checkedKeys.filter(function (item) {
|
|
567
|
-
return item !== eventKey;
|
|
568
|
-
}));
|
|
569
|
-
setCheckValue(checkValue.filter(function (item) {
|
|
570
|
-
return item.key !== eventKey;
|
|
571
|
-
}));
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
};
|
|
576
|
-
// 左侧搜索框兼容
|
|
577
|
-
var _searchProps$onChange = searchProps.onChange,
|
|
578
|
-
onSearchChange = _searchProps$onChange === void 0 ? function () {} : _searchProps$onChange,
|
|
579
|
-
leftSearchProps = _objectWithoutProperties(searchProps, _excluded6);
|
|
580
|
-
// 内置的左侧搜索框内容改变触发搜索
|
|
581
|
-
var showSearchChange = function showSearchChange(e) {
|
|
582
|
-
onSearchChange && onSearchChange(e);
|
|
583
|
-
onLeftSearchChange && onLeftSearchChange(e);
|
|
584
|
-
// 保存搜索结果
|
|
585
|
-
if (searchValueLeft === undefined) {
|
|
586
|
-
handleSearch(e.target.value);
|
|
587
|
-
setSaveSearchValueLeft(e.target.value);
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
var showSearchChangeRight = function showSearchChangeRight(e) {
|
|
591
|
-
onRightSearchChange(e);
|
|
592
|
-
if (searchValueRight === undefined) {
|
|
593
|
-
setSaveSearchValueRight(e.target.value);
|
|
594
|
-
}
|
|
595
|
-
};
|
|
596
|
-
// 全选状态改变触发
|
|
597
|
-
var onCheckAllChange = function onCheckAllChange(e) {
|
|
598
|
-
var target = e.target;
|
|
599
|
-
var newCheckedKeys = [];
|
|
600
|
-
var listCheckedKeys_ = [];
|
|
601
|
-
var newCheckValue = [];
|
|
602
|
-
var isChecked = data.filter(function (item) {
|
|
603
|
-
return !item.disabled;
|
|
604
|
-
}).length === data.filter(function (item) {
|
|
605
|
-
return listCheckedKeys.includes(item.key);
|
|
606
|
-
}).filter(function (item) {
|
|
607
|
-
return !item.disabled;
|
|
608
|
-
}).length;
|
|
609
|
-
if (target.checked && !isChecked) {
|
|
610
|
-
newCheckValue = filterObj([].concat(_toConsumableArray(checkValue), _toConsumableArray(data.filter(function (item) {
|
|
611
|
-
return !item.disabled;
|
|
612
|
-
}))));
|
|
613
|
-
newCheckedKeys = newCheckValue.map(function (item) {
|
|
614
|
-
return item.key;
|
|
615
|
-
});
|
|
616
|
-
var filterKeys = [].concat(_toConsumableArray(listCheckedKeys), _toConsumableArray(data.filter(function (item) {
|
|
617
|
-
return !item.disabled;
|
|
618
|
-
}).map(function (item) {
|
|
619
|
-
return item.key;
|
|
620
|
-
})));
|
|
621
|
-
listCheckedKeys_ = Array.from(new Set(filterKeys));
|
|
622
|
-
} else {
|
|
623
|
-
newCheckValue = checkValue.filter(function (item) {
|
|
624
|
-
return !data.find(function (i) {
|
|
625
|
-
return i.key == item.key;
|
|
626
|
-
}) || item.disabled;
|
|
627
|
-
});
|
|
628
|
-
newCheckedKeys = newCheckValue.map(function (item) {
|
|
629
|
-
return item.key;
|
|
630
|
-
});
|
|
631
|
-
listCheckedKeys_ = data.filter(function (item) {
|
|
632
|
-
return listCheckedKeys.includes(item.key);
|
|
633
|
-
}).filter(function (item) {
|
|
634
|
-
return item.disabled;
|
|
635
|
-
}).map(function (item) {
|
|
636
|
-
return item.key;
|
|
637
|
-
});
|
|
638
|
-
}
|
|
639
|
-
setCheckValue(newCheckValue);
|
|
640
|
-
setCheckedKeys(newCheckedKeys);
|
|
641
|
-
setListCheckedStyle(listCheckedKeys_, data);
|
|
642
|
-
};
|
|
643
|
-
var allSelectedText = intl.get("aca12e3d-7037-43f5-8fb2-7545ca44955a", {
|
|
644
|
-
checkedLength: listCheckedKeys.length
|
|
645
|
-
}).d("全选({checkedLength})");
|
|
646
|
-
// 根据不同的type渲染不同的列表类型,目前支持list tree table
|
|
647
|
-
|
|
648
|
-
var getFinalTitle = function getFinalTitle(title) {
|
|
649
|
-
if (typeof title === "string") {
|
|
650
|
-
var _createTitle = createTitle(caseSensitive, saveSearchValueLeft, title),
|
|
651
|
-
index = _createTitle.index,
|
|
652
|
-
beforeTitle = _createTitle.beforeTitle,
|
|
653
|
-
afterTitle = _createTitle.afterTitle,
|
|
654
|
-
searchStr = _createTitle.searchStr;
|
|
655
|
-
return /*#__PURE__*/React.createElement("span", null, index > -1 ? /*#__PURE__*/React.createElement(React.Fragment, null, beforeTitle, /*#__PURE__*/React.createElement("span", {
|
|
656
|
-
style: {
|
|
657
|
-
color: "#F5222D"
|
|
658
|
-
}
|
|
659
|
-
}, searchStr), afterTitle) : title);
|
|
660
|
-
}
|
|
661
|
-
return title;
|
|
662
|
-
};
|
|
663
|
-
var transferContent = function transferContent(data) {
|
|
664
|
-
if (type === "list") {
|
|
665
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
666
|
-
className: "cw-transfer-left-content-checkbox"
|
|
667
|
-
}, /*#__PURE__*/React.createElement(_Checkbox, {
|
|
668
|
-
indeterminate: indeterminate,
|
|
669
|
-
onChange: onCheckAllChange,
|
|
670
|
-
checked: checkAll
|
|
671
|
-
}, allSelectedTextRender ? allSelectedTextRender(listCheckedKeys, data) : allSelectedText), data.map(function (value) {
|
|
672
|
-
return /*#__PURE__*/React.createElement(_Checkbox, {
|
|
673
|
-
key: value.key,
|
|
674
|
-
checked: listCheckedKeys.includes(value.key),
|
|
675
|
-
onChange: function onChange(e) {
|
|
676
|
-
return onChangeChecked(e, value);
|
|
677
|
-
},
|
|
678
|
-
disabled: value.disabled
|
|
679
|
-
}, /*#__PURE__*/React.createElement(_TooltipText, {
|
|
680
|
-
title: value.title,
|
|
681
|
-
placement: "topLeft"
|
|
682
|
-
}, getFinalTitle(value.title)));
|
|
683
|
-
}));
|
|
684
|
-
}
|
|
685
|
-
if (type === "table") {
|
|
686
|
-
return /*#__PURE__*/React.createElement(_CWTable, _extends({
|
|
687
|
-
dataSource: data,
|
|
688
|
-
columns: columns,
|
|
689
|
-
rowSelection: handleRowSelection,
|
|
690
|
-
defaultExpandAllRows: defaultExpandAllRows,
|
|
691
|
-
tableWapperClassName: "cw-transfer-table",
|
|
692
|
-
size: "middle"
|
|
693
|
-
}, tableRest));
|
|
694
|
-
}
|
|
695
|
-
if (type === "tree") {
|
|
696
|
-
return /*#__PURE__*/React.createElement(_CWTree, _extends({
|
|
697
|
-
checkable: true,
|
|
698
|
-
showIcon: false,
|
|
699
|
-
treeData: renderTreeData(data),
|
|
700
|
-
onCheck: onCheck,
|
|
701
|
-
checkedKeys: checkedKeys,
|
|
702
|
-
checkStrictly: newCheckStrictly,
|
|
703
|
-
selectable: false,
|
|
704
|
-
defaultExpandAll: defaultExpandAll,
|
|
705
|
-
searchValue: saveSearchValueLeft,
|
|
706
|
-
searchHighlight: true,
|
|
707
|
-
caseSensitive: caseSensitive
|
|
708
|
-
}, treeRest));
|
|
709
|
-
}
|
|
710
|
-
};
|
|
711
|
-
// todo - react-dnd:DndProvider的问题拖拽和非拖拽需要分开写
|
|
712
|
-
var renderRightList = searchCheckedValue.length === 0 ? /*#__PURE__*/React.createElement(_Empty, {
|
|
713
|
-
description: intl.get("476c8a4c-7d1f-48c8-b645-eeff9f012c80").d("请从左侧列表选择")
|
|
714
|
-
}) : dragList ? /*#__PURE__*/React.createElement(Drag, {
|
|
715
|
-
checkValue: searchCheckedValue,
|
|
716
|
-
handleDelete: handleDelete,
|
|
717
|
-
type: type,
|
|
718
|
-
render: render,
|
|
719
|
-
renderColumns: renderColumns ? renderColumns : newRenderColumns,
|
|
720
|
-
dragList: dragList,
|
|
721
|
-
handlePreviewList: handlePreviewList,
|
|
722
|
-
useDndProvider: useDndProvider,
|
|
723
|
-
isHoverSwitching: isHoverSwitching
|
|
724
|
-
}) : /*#__PURE__*/React.createElement(NoDrag, {
|
|
725
|
-
checkValue: searchCheckedValue,
|
|
726
|
-
handleDelete: handleDelete,
|
|
727
|
-
type: type,
|
|
728
|
-
render: render,
|
|
729
|
-
renderColumns: renderColumns ? renderColumns : newRenderColumns,
|
|
730
|
-
dragList: dragList,
|
|
731
|
-
handlePreviewList: handlePreviewList,
|
|
732
|
-
useDndProvider: useDndProvider
|
|
733
|
-
});
|
|
734
|
-
return wrapCSSVar( /*#__PURE__*/React.createElement("div", {
|
|
735
|
-
className: classnames(hashId, cssVarCls, "cw-transfer-main", {
|
|
736
|
-
"cw-transfer-main-has-border": showBorder
|
|
737
|
-
}, transferWrapperClassName),
|
|
738
|
-
style: style
|
|
739
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
740
|
-
className: "cw-transfer-left",
|
|
741
|
-
style: leftStyle
|
|
742
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
743
|
-
className: "cw-transfer-left-content"
|
|
744
|
-
}, leftHeader && /*#__PURE__*/React.createElement("div", {
|
|
745
|
-
className: "cw-transfer-left-top"
|
|
746
|
-
}, leftHeader), showLeftSearch && /*#__PURE__*/React.createElement("div", {
|
|
747
|
-
className: "cw-transfer-search"
|
|
748
|
-
}, /*#__PURE__*/React.createElement(Search, _extends({
|
|
749
|
-
onChange: showSearchChange,
|
|
750
|
-
allowClear: true,
|
|
751
|
-
value: saveSearchValueLeft
|
|
752
|
-
}, leftSearchProps, restLeftSearchProps))), /*#__PURE__*/React.createElement("div", {
|
|
753
|
-
className: "cw-transfer-left-main-wrapper"
|
|
754
|
-
}, data.length === 0 ? /*#__PURE__*/React.createElement(_Empty, null) : transferContent(data))), leftFooter && /*#__PURE__*/React.createElement("div", {
|
|
755
|
-
className: "cw-transfer-footer"
|
|
756
|
-
}, leftFooter)), division && /*#__PURE__*/React.createElement("div", {
|
|
757
|
-
className: classnames("cw-transfer-division"),
|
|
758
|
-
style: divisionStyle
|
|
759
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
760
|
-
className: "cw-transfer-right",
|
|
761
|
-
style: rightStyle
|
|
762
|
-
}, rightContentRender ? rightContentRender(checkValue) : /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
763
|
-
className: "cw-transfer-right-content"
|
|
764
|
-
}, showRightSearch && /*#__PURE__*/React.createElement("div", {
|
|
765
|
-
className: "cw-transfer-search"
|
|
766
|
-
}, /*#__PURE__*/React.createElement(Search, _extends({
|
|
767
|
-
onChange: showSearchChangeRight,
|
|
768
|
-
allowClear: true,
|
|
769
|
-
value: saveSearchValueRight
|
|
770
|
-
}, restRightSearchProps))), rightHeader && /*#__PURE__*/React.createElement("div", {
|
|
771
|
-
className: classnames("cw-transfer-right-header", {
|
|
772
|
-
"cw-transfer-right-header-has-search": showRightSearch
|
|
773
|
-
})
|
|
774
|
-
}, typeof rightHeader === "boolean" ? /*#__PURE__*/React.createElement("div", {
|
|
775
|
-
className: "cw-transfer-right-header-top"
|
|
776
|
-
}, /*#__PURE__*/React.createElement("span", null, intl.get("c6914863-5603-4924-a85d-93174e59d02d").d("已添加"), /*#__PURE__*/React.createElement("span", {
|
|
777
|
-
style: {
|
|
778
|
-
marginLeft: "8px"
|
|
779
|
-
}
|
|
780
|
-
}, "(", searchCheckedValue.length, ")")), Boolean(searchCheckedValue.length) && /*#__PURE__*/React.createElement("span", {
|
|
781
|
-
onClick: clearAll,
|
|
782
|
-
className: "cw-transfer-right-header-clear"
|
|
783
|
-
}, intl.get("53e957d9-8aee-4322-a144-31d4cff11c9f").d("清空"))) : /*#__PURE__*/React.createElement(Fragment, null, rightHeader)), /*#__PURE__*/React.createElement("div", {
|
|
784
|
-
className: "cw-transfer-right-main-wrapper"
|
|
785
|
-
}, renderRightList)), rightFooter && /*#__PURE__*/React.createElement("div", {
|
|
786
|
-
className: "cw-transfer-footer"
|
|
787
|
-
}, rightFooter)))));
|
|
788
|
-
});
|
|
789
|
-
QuickTransfer.propTypes = {
|
|
790
|
-
/**
|
|
791
|
-
* 搜索框的props属性,指出antd的Input.Search所有属性
|
|
792
|
-
*/
|
|
793
|
-
searchProps: PropTypes.object,
|
|
794
|
-
/**
|
|
795
|
-
* 是否显示右侧列表头部,默认为添加列数量,可自定义传入
|
|
796
|
-
*/
|
|
797
|
-
rightHeader: PropTypes.oneOfType([PropTypes.node, PropTypes.string, PropTypes.bool]),
|
|
798
|
-
/**
|
|
799
|
-
* 穿梭框左侧的渲染的类型,支持列表,树,表格
|
|
800
|
-
*/
|
|
801
|
-
type: PropTypes.oneOf(["list", "table", "tree"]),
|
|
802
|
-
/**
|
|
803
|
-
* 右侧选中列表是否可拖拽
|
|
804
|
-
*/
|
|
805
|
-
dragList: PropTypes.bool,
|
|
806
|
-
/**
|
|
807
|
-
* 右侧列表开启拖拽后拖拽改变列表顺序触发的函数
|
|
808
|
-
*/
|
|
809
|
-
handlePreviewList: PropTypes.func,
|
|
810
|
-
/**
|
|
811
|
-
* 适用于前端搜索,传入searchValue可使用内置搜索
|
|
812
|
-
*/
|
|
813
|
-
searchValue: PropTypes.string,
|
|
814
|
-
/**
|
|
815
|
-
* 数据源,list遵循[{key: '',title: ''}];
|
|
816
|
-
* tree遵循[{key: '',title: '',children:[{ key: '',title: '' }]}];
|
|
817
|
-
* table遵循antd的表格数据类型
|
|
818
|
-
*/
|
|
819
|
-
dataSource: PropTypes.array,
|
|
820
|
-
/**
|
|
821
|
-
* 左侧列表底部自定义
|
|
822
|
-
*/
|
|
823
|
-
leftFooter: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
824
|
-
/**
|
|
825
|
-
* 右侧列表底部自定义
|
|
826
|
-
*/
|
|
827
|
-
rightFooter: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
828
|
-
/**
|
|
829
|
-
* 支持antd的tree的属性
|
|
830
|
-
* 不支持传入checkStrictly,此属性会在传入treeSelect类型时自动变化
|
|
831
|
-
*/
|
|
832
|
-
treeProps: PropTypes.object,
|
|
833
|
-
/**
|
|
834
|
-
* 支持@chaoswise/ui的CWtable属性
|
|
835
|
-
*/
|
|
836
|
-
tableProps: PropTypes.object,
|
|
837
|
-
/**
|
|
838
|
-
* tree中额外添加的属性: notRelationNode表示父子节点没有关联关系,点击哪个节点此节点就会穿梭到右面列表;
|
|
839
|
-
* relationNode代表父节点选中所有的子节点都会被选中,同时选中的节点会穿梭到右面列表,删除哪个节点那个节点就会被删除;
|
|
840
|
-
* leafNode代表只有叶子节点能被选中,并穿梭到右侧列表(判断一个节点是否是叶子节点:此节点的children是否存在,不存在便为叶子节点);
|
|
841
|
-
* 默认为leafNode
|
|
842
|
-
*/
|
|
843
|
-
treeSelect: PropTypes.oneOf(["notRelationNode", "relationNode", "leafNode"]),
|
|
844
|
-
/**
|
|
845
|
-
* table中额外添加的属性,点击选中右侧列表要渲染的列,默认为第一列
|
|
846
|
-
*/
|
|
847
|
-
renderColumns: PropTypes.array,
|
|
848
|
-
/**
|
|
849
|
-
* table中额外添加的属性,表格搜素在哪一列搜索,默认搜索所有列的内容
|
|
850
|
-
*/
|
|
851
|
-
searchColumns: PropTypes.array,
|
|
852
|
-
/**
|
|
853
|
-
* 右侧列表自定义渲染的样式
|
|
854
|
-
* (text) => <a>{text}</a>
|
|
855
|
-
*/
|
|
856
|
-
render: PropTypes.func,
|
|
857
|
-
/**
|
|
858
|
-
* 左侧数据源容器可自定义宽高等样式
|
|
859
|
-
*/
|
|
860
|
-
leftStyle: PropTypes.object,
|
|
861
|
-
/**
|
|
862
|
-
* 右侧数据源容器可自定义宽高等样式
|
|
863
|
-
*/
|
|
864
|
-
rightStyle: PropTypes.object,
|
|
865
|
-
/**
|
|
866
|
-
* 左侧头部自定义
|
|
867
|
-
*/
|
|
868
|
-
leftHeader: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
869
|
-
/**
|
|
870
|
-
* 展示中间分割线,默认展示
|
|
871
|
-
*/
|
|
872
|
-
division: PropTypes.bool,
|
|
873
|
-
/**
|
|
874
|
-
* 中间分割线的样式,可自定义高度等
|
|
875
|
-
*/
|
|
876
|
-
divisionStyle: PropTypes.object,
|
|
877
|
-
/**
|
|
878
|
-
* 获取左侧列表选中的key
|
|
879
|
-
*/
|
|
880
|
-
getTargetKeys: PropTypes.func,
|
|
881
|
-
/**
|
|
882
|
-
* 设置当前已被选中的项,
|
|
883
|
-
*/
|
|
884
|
-
targetKeys: PropTypes.array,
|
|
885
|
-
/**
|
|
886
|
-
* 设置穿梭框最外部容器的样式
|
|
887
|
-
*/
|
|
888
|
-
style: PropTypes.object,
|
|
889
|
-
/**
|
|
890
|
-
* 是否使用DndProvider,如果自己应用外层有包裹,这里配置false
|
|
891
|
-
*/
|
|
892
|
-
useDndProvider: PropTypes.bool,
|
|
893
|
-
/**
|
|
894
|
-
* 穿梭框外壳是否有边框,默认无
|
|
895
|
-
*/
|
|
896
|
-
showBorder: PropTypes.bool,
|
|
897
|
-
/**
|
|
898
|
-
* 右侧内容区域自定义渲染(checkValue)=>{}
|
|
899
|
-
*/
|
|
900
|
-
rightContentRender: PropTypes.func,
|
|
901
|
-
/**
|
|
902
|
-
* 可配置左侧搜索和右侧搜索内容
|
|
903
|
-
* searchOption = {
|
|
904
|
-
* leftSearchOption : {
|
|
905
|
-
* onChange = () => {},
|
|
906
|
-
* showLeftSearch = true,
|
|
907
|
-
* searchValueLeft,
|
|
908
|
-
* ...rest
|
|
909
|
-
* },
|
|
910
|
-
* rightSearchOption : {
|
|
911
|
-
* onChange = () => {},
|
|
912
|
-
* showRightSearch = false,
|
|
913
|
-
* searchValueRight,
|
|
914
|
-
* ...rest
|
|
915
|
-
* }
|
|
916
|
-
* }
|
|
917
|
-
*/
|
|
918
|
-
searchOption: PropTypes.object,
|
|
919
|
-
/**
|
|
920
|
-
* 左侧内容配置项
|
|
921
|
-
* leftContentOption = {
|
|
922
|
-
* allSelectedTextRender(listCheckedKeys,data)
|
|
923
|
-
* }
|
|
924
|
-
*/
|
|
925
|
-
leftContentOption: PropTypes.object,
|
|
926
|
-
/**
|
|
927
|
-
* 是否区分大小写
|
|
928
|
-
* leftContentOption = {
|
|
929
|
-
* allSelectedTextRender(listCheckedKeys,data)
|
|
930
|
-
* }
|
|
931
|
-
*/
|
|
932
|
-
caseSensitive: PropTypes.bool,
|
|
933
|
-
/**
|
|
934
|
-
* 开启拖拽后的交互模式,默认为true(true为悬停即交换,false为鼠标松开再交换)
|
|
935
|
-
*/
|
|
936
|
-
isHoverSwitching: PropTypes.bool
|
|
937
|
-
};
|
|
938
|
-
export default QuickTransfer;
|