@fle-ui/next 3.0.0-beta.1 → 3.0.0-beta.2
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/dist/components.min.js +1 -1
- package/es/auto-complete/index.d.ts +1 -3
- package/es/auto-complete/index.js +1 -1
- package/es/cascader/index.d.ts +1 -3
- package/es/cascader/index.js +2 -3
- package/es/form/Form.d.ts +3 -5
- package/es/form/Form.js +4 -4
- package/es/index.d.ts +1 -1
- package/es/input-number/index.d.ts +2 -4
- package/es/input-number/index.js +2 -2
- package/es/layout/Sider.js +1 -1
- package/es/mentions/style/index.js +1 -1
- package/es/modal/ConfirmDialog.js +2 -2
- package/es/modal/style/index.js +1 -2
- package/es/result/index.d.ts +4 -4
- package/es/select/index.d.ts +1 -3
- package/es/select/index.js +9 -6
- package/es/select/mergedBuiltinPlacements.d.ts +4 -0
- package/es/select/{useBuiltinPlacements.js → mergedBuiltinPlacements.js} +3 -2
- package/es/select/style/dropdown.js +10 -4
- package/es/style/placementArrow.js +16 -16
- package/es/table/interface.d.ts +2 -6
- package/es/table/style/fixed.js +5 -10
- package/es/theme/interface/index.d.ts +2 -1
- package/es/theme/themes/compact/index.d.ts +1 -1
- package/es/theme/themes/compact/index.js +4 -14
- package/es/theme/themes/dark/colors.js +2 -2
- package/es/theme/themes/dark/index.js +1 -0
- package/es/theme/themes/default/colors.js +2 -2
- package/es/theme/themes/default/index.js +5 -3
- package/es/theme/themes/seed.d.ts +1 -1
- package/es/theme/themes/seed.js +8 -8
- package/es/theme/themes/shared/genColorMapToken.js +7 -0
- package/es/theme/themes/shared/genCommonMapToken.js +0 -12
- package/es/theme/themes/shared/genFontMapToken.d.ts +3 -0
- package/es/theme/themes/shared/genFontMapToken.js +40 -0
- package/es/theme/themes/shared/genRadius.js +1 -1
- package/es/theme/util/statistic.d.ts +4 -2
- package/es/theme/util/statistic.js +3 -2
- package/es/transfer/hooks/useData.d.ts +2 -1
- package/es/transfer/hooks/useData.js +2 -2
- package/es/tree/DirectoryTree.d.ts +1 -3
- package/es/tree/Tree.js +7 -1
- package/es/tree/index.d.ts +1 -3
- package/es/tree/style/index.js +3 -1
- package/es/tree-select/index.d.ts +1 -3
- package/es/tree-select/index.js +5 -6
- package/es/typography/Base/index.d.ts +1 -1
- package/es/typography/Base/index.js +4 -4
- package/es/upload/Dragger.js +5 -2
- package/es/upload/Upload.js +4 -1
- package/es/upload/interface.d.ts +1 -1
- package/es/upload/style/dragger.js +7 -4
- package/es/version/token-meta.json +1 -1
- package/es/version/token.json +1 -1
- package/es/version/version.d.ts +1 -1
- package/es/version/version.js +1 -1
- package/es/watermark/useWatermark.js +2 -2
- package/es/watermark/utils.d.ts +1 -1
- package/lib/_util/ActionButton.js +27 -2
- package/lib/_util/PurePanel.js +27 -2
- package/lib/_util/colors.js +1 -1
- package/lib/_util/hooks/useClosable.js +1 -1
- package/lib/_util/hooks/useForceUpdate.js +26 -1
- package/lib/_util/hooks/usePatchElement.js +27 -2
- package/lib/_util/hooks/useSyncState.js +27 -2
- package/lib/_util/hooks/useZIndex.js +1 -1
- package/lib/_util/reactNode.js +26 -1
- package/lib/_util/responsiveObserver.js +1 -1
- package/lib/_util/scrollTo.js +27 -2
- package/lib/_util/statusUtils.js +1 -1
- package/lib/_util/styleChecker.js +1 -1
- package/lib/_util/throttleByAnimationFrame.js +1 -1
- package/lib/_util/transButton.js +27 -2
- package/lib/_util/warning.js +26 -1
- package/lib/_util/wave/WaveEffect.js +27 -2
- package/lib/_util/wave/index.js +27 -2
- package/lib/_util/wave/useWave.js +27 -2
- package/lib/_util/zindexContext.js +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/Alert.js +27 -3
- package/lib/alert/ErrorBoundary.js +27 -2
- package/lib/alert/index.js +1 -1
- package/lib/anchor/Anchor.js +27 -3
- package/lib/anchor/AnchorLink.js +27 -3
- package/lib/anchor/context.js +26 -1
- package/lib/anchor/index.js +1 -1
- package/lib/app/context.js +1 -1
- package/lib/app/index.js +27 -2
- package/lib/auto-complete/index.d.ts +1 -3
- package/lib/auto-complete/index.js +28 -4
- package/lib/avatar/AvatarContext.js +26 -1
- package/lib/avatar/avatar.js +27 -3
- package/lib/avatar/group.js +27 -3
- package/lib/avatar/index.js +1 -1
- package/lib/back-top/index.js +27 -3
- package/lib/badge/Ribbon.js +27 -3
- package/lib/badge/ScrollNumber.js +27 -2
- package/lib/badge/SingleNumber.js +27 -2
- package/lib/badge/index.js +27 -3
- package/lib/breadcrumb/Breadcrumb.js +27 -3
- package/lib/breadcrumb/BreadcrumbItem.js +27 -2
- package/lib/breadcrumb/BreadcrumbSeparator.js +26 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/breadcrumb/useItemRender.js +26 -2
- package/lib/button/IconWrapper.js +27 -2
- package/lib/button/LoadingIcon.js +27 -2
- package/lib/button/button-group.js +27 -3
- package/lib/button/button.js +26 -2
- package/lib/button/buttonHelpers.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/button/style/index.js +1 -1
- package/lib/calendar/Header.js +27 -2
- package/lib/calendar/generateCalendar.js +27 -3
- package/lib/calendar/index.js +1 -1
- package/lib/calendar/locale/ar_EG.js +1 -1
- package/lib/calendar/locale/az_AZ.js +1 -1
- package/lib/calendar/locale/bg_BG.js +1 -1
- package/lib/calendar/locale/bn_BD.js +1 -1
- package/lib/calendar/locale/by_BY.js +1 -1
- package/lib/calendar/locale/ca_ES.js +1 -1
- package/lib/calendar/locale/cs_CZ.js +1 -1
- package/lib/calendar/locale/da_DK.js +1 -1
- package/lib/calendar/locale/de_DE.js +1 -1
- package/lib/calendar/locale/el_GR.js +1 -1
- package/lib/calendar/locale/en_GB.js +1 -1
- package/lib/calendar/locale/en_US.js +1 -1
- package/lib/calendar/locale/es_ES.js +1 -1
- package/lib/calendar/locale/et_EE.js +1 -1
- package/lib/calendar/locale/eu_ES.js +1 -1
- package/lib/calendar/locale/fa_IR.js +1 -1
- package/lib/calendar/locale/fi_FI.js +1 -1
- package/lib/calendar/locale/fr_BE.js +1 -1
- package/lib/calendar/locale/fr_CA.js +1 -1
- package/lib/calendar/locale/fr_FR.js +1 -1
- package/lib/calendar/locale/ga_IE.js +1 -1
- package/lib/calendar/locale/gl_ES.js +1 -1
- package/lib/calendar/locale/he_IL.js +1 -1
- package/lib/calendar/locale/hi_IN.js +1 -1
- package/lib/calendar/locale/hr_HR.js +1 -1
- package/lib/calendar/locale/hu_HU.js +1 -1
- package/lib/calendar/locale/id_ID.js +1 -1
- package/lib/calendar/locale/is_IS.js +1 -1
- package/lib/calendar/locale/it_IT.js +1 -1
- package/lib/calendar/locale/ja_JP.js +1 -1
- package/lib/calendar/locale/ka_GE.js +1 -1
- package/lib/calendar/locale/kk_KZ.js +1 -1
- package/lib/calendar/locale/km_KH.js +1 -1
- package/lib/calendar/locale/kmr_IQ.js +1 -1
- package/lib/calendar/locale/kn_IN.js +1 -1
- package/lib/calendar/locale/ko_KR.js +1 -1
- package/lib/calendar/locale/lt_LT.js +1 -1
- package/lib/calendar/locale/lv_LV.js +1 -1
- package/lib/calendar/locale/mk_MK.js +1 -1
- package/lib/calendar/locale/ml_IN.js +1 -1
- package/lib/calendar/locale/mn_MN.js +1 -1
- package/lib/calendar/locale/ms_MY.js +1 -1
- package/lib/calendar/locale/my_MM.js +1 -1
- package/lib/calendar/locale/nb_NO.js +1 -1
- package/lib/calendar/locale/nl_BE.js +1 -1
- package/lib/calendar/locale/nl_NL.js +1 -1
- package/lib/calendar/locale/pl_PL.js +1 -1
- package/lib/calendar/locale/pt_BR.js +1 -1
- package/lib/calendar/locale/pt_PT.js +1 -1
- package/lib/calendar/locale/ro_RO.js +1 -1
- package/lib/calendar/locale/ru_RU.js +1 -1
- package/lib/calendar/locale/si_LK.js +1 -1
- package/lib/calendar/locale/sk_SK.js +1 -1
- package/lib/calendar/locale/sl_SI.js +1 -1
- package/lib/calendar/locale/sr_RS.js +1 -1
- package/lib/calendar/locale/sv_SE.js +1 -1
- package/lib/calendar/locale/ta_IN.js +1 -1
- package/lib/calendar/locale/th_TH.js +1 -1
- package/lib/calendar/locale/tk_TK.js +1 -1
- package/lib/calendar/locale/tr_TR.js +1 -1
- package/lib/calendar/locale/uk_UA.js +1 -1
- package/lib/calendar/locale/ur_PK.js +1 -1
- package/lib/calendar/locale/vi_VN.js +1 -1
- package/lib/calendar/locale/zh_CN.js +1 -1
- package/lib/calendar/locale/zh_TW.js +1 -1
- package/lib/card/Card.js +27 -3
- package/lib/card/Grid.js +27 -3
- package/lib/card/Meta.js +27 -2
- package/lib/card/index.js +1 -1
- package/lib/carousel/index.js +27 -3
- package/lib/cascader/Panel.js +27 -2
- package/lib/cascader/hooks/useBase.js +26 -1
- package/lib/cascader/hooks/useCheckable.js +26 -1
- package/lib/cascader/hooks/useColumnIcons.js +27 -2
- package/lib/cascader/index.d.ts +1 -3
- package/lib/cascader/index.js +28 -5
- package/lib/cascader/style/index.js +1 -1
- package/lib/cascader/style/panel.js +1 -1
- package/lib/checkbox/Checkbox.js +27 -3
- package/lib/checkbox/Group.js +27 -3
- package/lib/checkbox/GroupContext.js +1 -1
- package/lib/checkbox/index.js +1 -1
- package/lib/collapse/Collapse.js +27 -3
- package/lib/collapse/CollapsePanel.js +27 -3
- package/lib/collapse/index.js +1 -1
- package/lib/color-picker/ColorPicker.js +27 -3
- package/lib/color-picker/ColorPickerPanel.js +1 -1
- package/lib/color-picker/color.js +1 -1
- package/lib/color-picker/components/ColorAlphaInput.js +27 -2
- package/lib/color-picker/components/ColorClear.js +1 -1
- package/lib/color-picker/components/ColorHexInput.js +27 -2
- package/lib/color-picker/components/ColorHsbInput.js +27 -2
- package/lib/color-picker/components/ColorInput.js +27 -2
- package/lib/color-picker/components/ColorPresets.js +27 -3
- package/lib/color-picker/components/ColorRgbInput.js +27 -2
- package/lib/color-picker/components/ColorSteppers.js +27 -2
- package/lib/color-picker/components/ColorTrigger.js +27 -3
- package/lib/color-picker/components/PanelPicker.js +27 -2
- package/lib/color-picker/components/PanelPresets.js +27 -2
- package/lib/color-picker/context.js +1 -1
- package/lib/color-picker/index.js +1 -1
- package/lib/color-picker/style/index.js +1 -1
- package/lib/config-provider/DisabledContext.js +26 -1
- package/lib/config-provider/MotionWrapper.js +26 -1
- package/lib/config-provider/PropWarning.js +26 -1
- package/lib/config-provider/SizeContext.js +26 -1
- package/lib/config-provider/context.js +26 -1
- package/lib/config-provider/cssVariables.js +1 -1
- package/lib/config-provider/defaultRenderEmpty.js +27 -2
- package/lib/config-provider/hooks/useConfig.js +1 -1
- package/lib/config-provider/hooks/useSize.js +1 -1
- package/lib/config-provider/hooks/useTheme.js +1 -1
- package/lib/config-provider/hooks/useThemeKey.js +26 -1
- package/lib/config-provider/index.js +27 -2
- package/lib/date-picker/PickerButton.js +27 -2
- package/lib/date-picker/generatePicker/Components.js +1 -1
- package/lib/date-picker/generatePicker/generateRangePicker.js +27 -3
- package/lib/date-picker/generatePicker/generateSinglePicker.js +27 -3
- package/lib/date-picker/generatePicker/index.js +1 -1
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/locale/ar_EG.js +1 -1
- package/lib/date-picker/locale/az_AZ.js +1 -1
- package/lib/date-picker/locale/bg_BG.js +1 -1
- package/lib/date-picker/locale/bn_BD.js +1 -1
- package/lib/date-picker/locale/by_BY.js +1 -1
- package/lib/date-picker/locale/ca_ES.js +1 -1
- package/lib/date-picker/locale/cs_CZ.js +1 -1
- package/lib/date-picker/locale/da_DK.js +1 -1
- package/lib/date-picker/locale/de_DE.js +1 -1
- package/lib/date-picker/locale/el_GR.js +1 -1
- package/lib/date-picker/locale/en_GB.js +1 -1
- package/lib/date-picker/locale/en_US.js +1 -1
- package/lib/date-picker/locale/es_ES.js +1 -1
- package/lib/date-picker/locale/et_EE.js +1 -1
- package/lib/date-picker/locale/eu_ES.js +1 -1
- package/lib/date-picker/locale/fa_IR.js +1 -1
- package/lib/date-picker/locale/fi_FI.js +1 -1
- package/lib/date-picker/locale/fr_BE.js +1 -1
- package/lib/date-picker/locale/fr_CA.js +1 -1
- package/lib/date-picker/locale/fr_FR.js +1 -1
- package/lib/date-picker/locale/ga_IE.js +1 -1
- package/lib/date-picker/locale/gl_ES.js +1 -1
- package/lib/date-picker/locale/he_IL.js +1 -1
- package/lib/date-picker/locale/hi_IN.js +1 -1
- package/lib/date-picker/locale/hr_HR.js +1 -1
- package/lib/date-picker/locale/hu_HU.js +1 -1
- package/lib/date-picker/locale/id_ID.js +1 -1
- package/lib/date-picker/locale/is_IS.js +1 -1
- package/lib/date-picker/locale/it_IT.js +1 -1
- package/lib/date-picker/locale/ja_JP.js +1 -1
- package/lib/date-picker/locale/ka_GE.js +1 -1
- package/lib/date-picker/locale/kk_KZ.js +1 -1
- package/lib/date-picker/locale/km_KH.js +1 -1
- package/lib/date-picker/locale/kmr_IQ.js +1 -1
- package/lib/date-picker/locale/kn_IN.js +1 -1
- package/lib/date-picker/locale/ko_KR.js +1 -1
- package/lib/date-picker/locale/lt_LT.js +1 -1
- package/lib/date-picker/locale/lv_LV.js +1 -1
- package/lib/date-picker/locale/mk_MK.js +1 -1
- package/lib/date-picker/locale/ml_IN.js +1 -1
- package/lib/date-picker/locale/mn_MN.js +1 -1
- package/lib/date-picker/locale/ms_MY.js +1 -1
- package/lib/date-picker/locale/my_MM.js +1 -1
- package/lib/date-picker/locale/nb_NO.js +1 -1
- package/lib/date-picker/locale/nl_BE.js +1 -1
- package/lib/date-picker/locale/nl_NL.js +1 -1
- package/lib/date-picker/locale/pl_PL.js +1 -1
- package/lib/date-picker/locale/pt_BR.js +1 -1
- package/lib/date-picker/locale/pt_PT.js +1 -1
- package/lib/date-picker/locale/ro_RO.js +1 -1
- package/lib/date-picker/locale/ru_RU.js +1 -1
- package/lib/date-picker/locale/si_LK.js +1 -1
- package/lib/date-picker/locale/sk_SK.js +1 -1
- package/lib/date-picker/locale/sl_SI.js +1 -1
- package/lib/date-picker/locale/sr_RS.js +1 -1
- package/lib/date-picker/locale/sv_SE.js +1 -1
- package/lib/date-picker/locale/ta_IN.js +1 -1
- package/lib/date-picker/locale/th_TH.js +1 -1
- package/lib/date-picker/locale/tk_TK.js +1 -1
- package/lib/date-picker/locale/tr_TR.js +1 -1
- package/lib/date-picker/locale/uk_UA.js +1 -1
- package/lib/date-picker/locale/ur_PK.js +1 -1
- package/lib/date-picker/locale/vi_VN.js +1 -1
- package/lib/date-picker/locale/zh_CN.js +1 -1
- package/lib/date-picker/locale/zh_TW.js +1 -1
- package/lib/descriptions/Cell.js +27 -3
- package/lib/descriptions/DescriptionsContext.js +1 -1
- package/lib/descriptions/Row.js +27 -2
- package/lib/descriptions/hooks/useItems.js +27 -2
- package/lib/descriptions/index.js +27 -3
- package/lib/divider/index.js +27 -3
- package/lib/drawer/DrawerPanel.js +27 -3
- package/lib/drawer/index.js +27 -3
- package/lib/drawer/style/index.js +1 -1
- package/lib/dropdown/dropdown-button.js +27 -2
- package/lib/dropdown/dropdown.js +27 -3
- package/lib/dropdown/index.js +1 -1
- package/lib/dropdown/style/index.js +27 -3
- package/lib/empty/empty.js +26 -1
- package/lib/empty/index.js +27 -3
- package/lib/empty/simple.js +26 -1
- package/lib/flex/index.js +1 -1
- package/lib/flex/utils.js +1 -1
- package/lib/float-button/BackTop.js +27 -2
- package/lib/float-button/FloatButton.js +27 -3
- package/lib/float-button/FloatButtonContent.js +27 -2
- package/lib/float-button/FloatButtonGroup.js +27 -3
- package/lib/float-button/PurePanel.js +27 -2
- package/lib/float-button/context.js +1 -1
- package/lib/float-button/index.js +1 -1
- package/lib/float-button/style/index.js +1 -1
- package/lib/form/ErrorList.js +27 -3
- package/lib/form/Form.d.ts +3 -5
- package/lib/form/Form.js +31 -7
- package/lib/form/FormItem/ItemHolder.js +27 -3
- package/lib/form/FormItem/StatusProvider.js +27 -2
- package/lib/form/FormItem/index.js +27 -3
- package/lib/form/FormItemInput.js +27 -2
- package/lib/form/FormItemLabel.js +26 -2
- package/lib/form/FormList.js +26 -1
- package/lib/form/context.js +27 -2
- package/lib/form/hooks/useChildren.js +1 -1
- package/lib/form/hooks/useDebounce.js +26 -1
- package/lib/form/hooks/useForm.js +27 -2
- package/lib/form/hooks/useFrameState.js +27 -2
- package/lib/form/hooks/useItemRef.js +25 -1
- package/lib/form/index.js +27 -2
- package/lib/form/style/index.js +1 -1
- package/lib/grid/col.js +27 -3
- package/lib/grid/hooks/useBreakpoint.js +1 -1
- package/lib/grid/index.js +1 -1
- package/lib/grid/row.js +27 -3
- package/lib/image/PreviewGroup.js +27 -3
- package/lib/image/index.js +27 -3
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/input/Group.js +27 -3
- package/lib/input/Input.js +27 -3
- package/lib/input/Password.js +26 -2
- package/lib/input/Search.js +27 -3
- package/lib/input/TextArea.js +26 -2
- package/lib/input/index.js +1 -1
- package/lib/input-number/index.d.ts +2 -4
- package/lib/input-number/index.js +29 -5
- package/lib/layout/Sider.js +28 -4
- package/lib/layout/context.js +26 -1
- package/lib/layout/hooks/useHasSider.js +1 -1
- package/lib/layout/index.js +26 -1
- package/lib/layout/layout.js +27 -3
- package/lib/layout/style/index.js +1 -1
- package/lib/list/Item.js +27 -3
- package/lib/list/context.js +1 -1
- package/lib/list/index.js +26 -2
- package/lib/locale/ar_EG.js +1 -1
- package/lib/locale/az_AZ.js +1 -1
- package/lib/locale/bg_BG.js +1 -1
- package/lib/locale/bn_BD.js +1 -1
- package/lib/locale/by_BY.js +1 -1
- package/lib/locale/ca_ES.js +1 -1
- package/lib/locale/cs_CZ.js +1 -1
- package/lib/locale/da_DK.js +1 -1
- package/lib/locale/de_DE.js +1 -1
- package/lib/locale/el_GR.js +1 -1
- package/lib/locale/en_GB.js +1 -1
- package/lib/locale/en_US.js +1 -1
- package/lib/locale/es_ES.js +1 -1
- package/lib/locale/et_EE.js +1 -1
- package/lib/locale/eu_ES.js +1 -1
- package/lib/locale/fa_IR.js +1 -1
- package/lib/locale/fi_FI.js +1 -1
- package/lib/locale/fr_BE.js +1 -1
- package/lib/locale/fr_CA.js +1 -1
- package/lib/locale/fr_FR.js +1 -1
- package/lib/locale/ga_IE.js +1 -1
- package/lib/locale/gl_ES.js +1 -1
- package/lib/locale/he_IL.js +1 -1
- package/lib/locale/hi_IN.js +1 -1
- package/lib/locale/hr_HR.js +1 -1
- package/lib/locale/hu_HU.js +1 -1
- package/lib/locale/id_ID.js +1 -1
- package/lib/locale/index.js +27 -2
- package/lib/locale/is_IS.js +1 -1
- package/lib/locale/it_IT.js +1 -1
- package/lib/locale/ja_JP.js +1 -1
- package/lib/locale/ka_GE.js +1 -1
- package/lib/locale/kk_KZ.js +1 -1
- package/lib/locale/km_KH.js +1 -1
- package/lib/locale/kmr_IQ.js +1 -1
- package/lib/locale/kn_IN.js +1 -1
- package/lib/locale/ko_KR.js +1 -1
- package/lib/locale/ku_IQ.js +1 -1
- package/lib/locale/lt_LT.js +1 -1
- package/lib/locale/lv_LV.js +1 -1
- package/lib/locale/mk_MK.js +1 -1
- package/lib/locale/ml_IN.js +1 -1
- package/lib/locale/mn_MN.js +1 -1
- package/lib/locale/ms_MY.js +1 -1
- package/lib/locale/my_MM.js +1 -1
- package/lib/locale/nb_NO.js +1 -1
- package/lib/locale/ne_NP.js +1 -1
- package/lib/locale/nl_BE.js +1 -1
- package/lib/locale/nl_NL.js +1 -1
- package/lib/locale/pl_PL.js +1 -1
- package/lib/locale/pt_BR.js +1 -1
- package/lib/locale/pt_PT.js +1 -1
- package/lib/locale/ro_RO.js +1 -1
- package/lib/locale/ru_RU.js +1 -1
- package/lib/locale/si_LK.js +1 -1
- package/lib/locale/sk_SK.js +1 -1
- package/lib/locale/sl_SI.js +1 -1
- package/lib/locale/sr_RS.js +1 -1
- package/lib/locale/sv_SE.js +1 -1
- package/lib/locale/ta_IN.js +1 -1
- package/lib/locale/th_TH.js +1 -1
- package/lib/locale/tk_TK.js +1 -1
- package/lib/locale/tr_TR.js +1 -1
- package/lib/locale/uk_UA.js +1 -1
- package/lib/locale/ur_PK.js +1 -1
- package/lib/locale/useLocale.js +27 -2
- package/lib/locale/vi_VN.js +1 -1
- package/lib/locale/zh_CN.js +1 -1
- package/lib/locale/zh_HK.js +1 -1
- package/lib/locale/zh_TW.js +1 -1
- package/lib/mentions/index.js +27 -3
- package/lib/mentions/style/index.js +1 -1
- package/lib/menu/MenuDivider.js +27 -3
- package/lib/menu/MenuItem.js +27 -3
- package/lib/menu/OverrideContext.js +26 -1
- package/lib/menu/SubMenu.js +27 -2
- package/lib/menu/hooks/useItems.js +26 -2
- package/lib/menu/index.js +27 -2
- package/lib/menu/menu.js +27 -2
- package/lib/menu/style/index.js +1 -1
- package/lib/message/PurePanel.js +27 -2
- package/lib/message/index.js +27 -2
- package/lib/message/useMessage.js +27 -3
- package/lib/modal/ConfirmDialog.js +29 -5
- package/lib/modal/Modal.js +27 -3
- package/lib/modal/PurePanel.js +27 -2
- package/lib/modal/components/ConfirmCancelBtn.js +27 -2
- package/lib/modal/components/ConfirmOkBtn.js +27 -2
- package/lib/modal/components/NormalCancelBtn.js +27 -2
- package/lib/modal/components/NormalOkBtn.js +27 -2
- package/lib/modal/confirm.js +27 -2
- package/lib/modal/context.js +1 -1
- package/lib/modal/index.js +27 -2
- package/lib/modal/locale.js +1 -1
- package/lib/modal/shared.js +1 -1
- package/lib/modal/style/index.js +1 -2
- package/lib/modal/useModal/HookModal.js +27 -2
- package/lib/modal/useModal/index.js +27 -2
- package/lib/notification/PurePanel.js +27 -3
- package/lib/notification/index.js +27 -2
- package/lib/notification/style/index.js +1 -1
- package/lib/notification/useNotification.js +27 -3
- package/lib/pagination/Pagination.js +27 -3
- package/lib/pagination/Select.js +27 -2
- package/lib/pagination/index.js +1 -1
- package/lib/popconfirm/PurePanel.js +27 -2
- package/lib/popconfirm/index.js +27 -2
- package/lib/popover/PurePanel.js +27 -2
- package/lib/popover/index.js +27 -2
- package/lib/popover/style/index.js +26 -2
- package/lib/progress/Circle.js +27 -3
- package/lib/progress/Line.js +26 -1
- package/lib/progress/Steps.js +27 -3
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.js +27 -3
- package/lib/qr-code/index.js +27 -3
- package/lib/qrcode/index.js +1 -1
- package/lib/radio/context.js +26 -1
- package/lib/radio/group.js +27 -3
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.js +27 -3
- package/lib/radio/radioButton.js +27 -2
- package/lib/rate/index.js +27 -2
- package/lib/result/index.d.ts +4 -4
- package/lib/result/index.js +27 -3
- package/lib/result/noFound.js +26 -1
- package/lib/result/serverError.js +26 -1
- package/lib/result/unauthorized.js +26 -1
- package/lib/segmented/index.js +26 -2
- package/lib/select/index.d.ts +1 -3
- package/lib/select/index.js +54 -27
- package/lib/select/mergedBuiltinPlacements.d.ts +4 -0
- package/lib/select/{useBuiltinPlacements.js → mergedBuiltinPlacements.js} +4 -3
- package/lib/select/style/dropdown.js +10 -4
- package/lib/select/style/index.js +1 -1
- package/lib/select/useIcons.js +27 -2
- package/lib/skeleton/Avatar.js +27 -3
- package/lib/skeleton/Button.js +27 -3
- package/lib/skeleton/Element.js +27 -3
- package/lib/skeleton/Image.js +27 -3
- package/lib/skeleton/Input.js +27 -3
- package/lib/skeleton/Node.js +27 -3
- package/lib/skeleton/Paragraph.js +27 -2
- package/lib/skeleton/Skeleton.js +26 -2
- package/lib/skeleton/Title.js +27 -2
- package/lib/skeleton/index.js +1 -1
- package/lib/slider/SliderTooltip.js +27 -2
- package/lib/slider/index.js +1 -1
- package/lib/space/Compact.js +27 -3
- package/lib/space/Item.js +26 -1
- package/lib/space/context.js +1 -1
- package/lib/space/index.js +27 -3
- package/lib/space/style/index.js +1 -1
- package/lib/spin/index.js +27 -3
- package/lib/statistic/Countdown.js +27 -2
- package/lib/statistic/Number.js +26 -1
- package/lib/statistic/Statistic.js +27 -3
- package/lib/statistic/index.js +1 -1
- package/lib/steps/index.js +27 -3
- package/lib/steps/style/index.js +1 -1
- package/lib/steps/useLegacyItems.js +27 -2
- package/lib/style/motion/index.js +1 -1
- package/lib/style/placementArrow.js +16 -16
- package/lib/switch/index.js +27 -3
- package/lib/table/ExpandIcon.js +27 -3
- package/lib/table/InternalTable.js +27 -3
- package/lib/table/Table.js +27 -2
- package/lib/table/hooks/useFilter/FilterDropdown.js +27 -3
- package/lib/table/hooks/useFilter/FilterSearch.js +27 -2
- package/lib/table/hooks/useFilter/FilterWrapper.js +27 -2
- package/lib/table/hooks/useFilter/index.js +27 -2
- package/lib/table/hooks/useLazyKVMap.js +25 -1
- package/lib/table/hooks/usePagination.js +1 -1
- package/lib/table/hooks/useSelection.js +26 -2
- package/lib/table/hooks/useSorter.js +26 -2
- package/lib/table/hooks/useTitleColumns.js +26 -1
- package/lib/table/index.js +1 -1
- package/lib/table/interface.d.ts +2 -6
- package/lib/table/style/fixed.js +5 -10
- package/lib/table/style/index.js +1 -1
- package/lib/tabs/hooks/useLegacyItems.js +27 -2
- package/lib/tabs/index.js +27 -3
- package/lib/tabs/style/index.js +1 -1
- package/lib/tag/CheckableTag.js +27 -3
- package/lib/tag/index.js +27 -3
- package/lib/tag/style/statusCmp.js +1 -1
- package/lib/theme/context.js +1 -1
- package/lib/theme/getDesignToken.js +1 -1
- package/lib/theme/index.js +1 -1
- package/lib/theme/interface/index.d.ts +2 -1
- package/lib/theme/internal.js +28 -3
- package/lib/theme/themes/compact/index.d.ts +1 -1
- package/lib/theme/themes/compact/index.js +4 -14
- package/lib/theme/themes/dark/colors.js +2 -2
- package/lib/theme/themes/dark/index.js +1 -0
- package/lib/theme/themes/default/colors.js +2 -2
- package/lib/theme/themes/default/index.js +5 -3
- package/lib/theme/themes/seed.d.ts +1 -1
- package/lib/theme/themes/seed.js +8 -8
- package/lib/theme/themes/shared/genColorMapToken.js +7 -0
- package/lib/theme/themes/shared/genCommonMapToken.js +0 -12
- package/lib/theme/themes/shared/genFontMapToken.d.ts +3 -0
- package/lib/theme/themes/shared/genFontMapToken.js +40 -0
- package/lib/theme/themes/shared/genRadius.js +1 -1
- package/lib/theme/useToken.js +1 -1
- package/lib/theme/util/alias.js +1 -1
- package/lib/theme/util/calc/CSSCalculator.js +1 -1
- package/lib/theme/util/calc/NumCalculator.js +1 -1
- package/lib/theme/util/calc/calculator.js +1 -1
- package/lib/theme/util/calc/index.js +1 -1
- package/lib/theme/util/genComponentStyleHook.js +27 -3
- package/lib/theme/util/statistic.d.ts +4 -2
- package/lib/theme/util/statistic.js +4 -4
- package/lib/theme/util/useResetIconStyle.js +1 -1
- package/lib/time-picker/index.js +27 -2
- package/lib/timeline/Timeline.js +27 -2
- package/lib/timeline/TimelineItem.js +27 -3
- package/lib/timeline/TimelineItemList.js +27 -3
- package/lib/timeline/index.js +1 -1
- package/lib/timeline/useItems.js +1 -1
- package/lib/tooltip/PurePanel.js +27 -2
- package/lib/tooltip/index.js +27 -3
- package/lib/tooltip/style/index.js +26 -2
- package/lib/tooltip/util.js +1 -1
- package/lib/tour/PurePanel.js +27 -2
- package/lib/tour/index.js +27 -3
- package/lib/tour/panelRender.js +1 -1
- package/lib/tour/style/index.js +26 -2
- package/lib/transfer/ListBody.js +27 -3
- package/lib/transfer/ListItem.js +27 -3
- package/lib/transfer/hooks/useData.d.ts +2 -1
- package/lib/transfer/hooks/useData.js +28 -3
- package/lib/transfer/hooks/useSelection.js +26 -1
- package/lib/transfer/index.js +27 -3
- package/lib/transfer/list.js +27 -3
- package/lib/transfer/operation.js +27 -2
- package/lib/transfer/search.js +27 -2
- package/lib/tree/DirectoryTree.d.ts +1 -3
- package/lib/tree/DirectoryTree.js +27 -3
- package/lib/tree/Tree.js +10 -4
- package/lib/tree/index.d.ts +1 -3
- package/lib/tree/index.js +1 -1
- package/lib/tree/style/index.js +3 -1
- package/lib/tree/utils/dictUtil.js +1 -1
- package/lib/tree/utils/dropIndicator.js +1 -1
- package/lib/tree/utils/iconUtil.js +26 -2
- package/lib/tree-select/index.d.ts +1 -3
- package/lib/tree-select/index.js +32 -9
- package/lib/typography/Base/Ellipsis.js +26 -2
- package/lib/typography/Base/EllipsisTooltip.js +27 -2
- package/lib/typography/Base/index.d.ts +1 -1
- package/lib/typography/Base/index.js +31 -7
- package/lib/typography/Editable.js +27 -3
- package/lib/typography/Link.js +26 -2
- package/lib/typography/Paragraph.js +27 -2
- package/lib/typography/Text.js +26 -2
- package/lib/typography/Title.js +27 -2
- package/lib/typography/Typography.js +27 -3
- package/lib/typography/hooks/useMergedConfig.js +25 -1
- package/lib/typography/hooks/useUpdatedEffect.js +26 -1
- package/lib/typography/index.js +1 -1
- package/lib/upload/Dragger.js +32 -4
- package/lib/upload/Upload.js +31 -4
- package/lib/upload/UploadList/ListItem.js +27 -3
- package/lib/upload/UploadList/index.js +27 -2
- package/lib/upload/index.js +27 -2
- package/lib/upload/interface.d.ts +1 -1
- package/lib/upload/style/dragger.js +7 -4
- package/lib/upload/style/index.js +1 -1
- package/lib/upload/utils.js +1 -1
- package/lib/version/index.js +1 -1
- package/lib/version/token-meta.json +1 -1
- package/lib/version/token.json +1 -1
- package/lib/version/version.d.ts +1 -1
- package/lib/version/version.js +1 -1
- package/lib/watermark/context.js +26 -1
- package/lib/watermark/index.js +27 -2
- package/lib/watermark/useRafDebounce.js +1 -1
- package/lib/watermark/useWatermark.js +28 -3
- package/lib/watermark/utils.d.ts +1 -1
- package/package.json +71 -71
- package/es/select/useBuiltinPlacements.d.ts +0 -3
- package/lib/select/useBuiltinPlacements.d.ts +0 -3
- /package/es/modal/style/{confirmCmp.d.ts → confirm.d.ts} +0 -0
- /package/es/modal/style/{confirmCmp.js → confirm.js} +0 -0
- /package/lib/modal/style/{confirmCmp.d.ts → confirm.d.ts} +0 -0
- /package/lib/modal/style/{confirmCmp.js → confirm.js} +0 -0
|
@@ -7,8 +7,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
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; } }
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
-
|
|
11
|
-
var
|
|
10
|
+
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); }
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
12
12
|
Object.defineProperty(exports, "__esModule", {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
@@ -17,6 +17,31 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
17
17
|
var _input = _interopRequireDefault(require("../../input"));
|
|
18
18
|
var _color = require("../color");
|
|
19
19
|
var _util = require("../util");
|
|
20
|
+
function _getRequireWildcardCache(e) {
|
|
21
|
+
if ("function" != typeof WeakMap) return null;
|
|
22
|
+
var r = new WeakMap(),
|
|
23
|
+
t = new WeakMap();
|
|
24
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
25
|
+
return e ? t : r;
|
|
26
|
+
})(e);
|
|
27
|
+
}
|
|
28
|
+
function _interopRequireWildcard(e, r) {
|
|
29
|
+
if (!r && e && e.__esModule) return e;
|
|
30
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
31
|
+
default: e
|
|
32
|
+
};
|
|
33
|
+
var t = _getRequireWildcardCache(r);
|
|
34
|
+
if (t && t.has(e)) return t.get(e);
|
|
35
|
+
var n = {
|
|
36
|
+
__proto__: null
|
|
37
|
+
},
|
|
38
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
39
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
40
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
41
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
42
|
+
}
|
|
43
|
+
return n.default = e, t && t.set(e, n), n;
|
|
44
|
+
}
|
|
20
45
|
var hexReg = /(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i;
|
|
21
46
|
var isHexString = function isHexString(hex) {
|
|
22
47
|
return hexReg.test("#".concat(hex));
|
|
@@ -7,8 +7,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
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; } }
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
-
|
|
11
|
-
var
|
|
10
|
+
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); }
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
12
12
|
Object.defineProperty(exports, "__esModule", {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
@@ -16,6 +16,31 @@ exports.default = void 0;
|
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _util = require("../util");
|
|
18
18
|
var _ColorSteppers = _interopRequireDefault(require("./ColorSteppers"));
|
|
19
|
+
function _getRequireWildcardCache(e) {
|
|
20
|
+
if ("function" != typeof WeakMap) return null;
|
|
21
|
+
var r = new WeakMap(),
|
|
22
|
+
t = new WeakMap();
|
|
23
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
24
|
+
return e ? t : r;
|
|
25
|
+
})(e);
|
|
26
|
+
}
|
|
27
|
+
function _interopRequireWildcard(e, r) {
|
|
28
|
+
if (!r && e && e.__esModule) return e;
|
|
29
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
30
|
+
default: e
|
|
31
|
+
};
|
|
32
|
+
var t = _getRequireWildcardCache(r);
|
|
33
|
+
if (t && t.has(e)) return t.get(e);
|
|
34
|
+
var n = {
|
|
35
|
+
__proto__: null
|
|
36
|
+
},
|
|
37
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
38
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
39
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
40
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
41
|
+
}
|
|
42
|
+
return n.default = e, t && t.set(e, n), n;
|
|
43
|
+
}
|
|
19
44
|
var ColorHsbInput = function ColorHsbInput(_ref) {
|
|
20
45
|
var prefixCls = _ref.prefixCls,
|
|
21
46
|
value = _ref.value,
|
|
@@ -7,8 +7,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
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; } }
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
-
|
|
11
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
10
|
+
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); }
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
12
12
|
Object.defineProperty(exports, "__esModule", {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
@@ -21,6 +21,31 @@ var _ColorAlphaInput = _interopRequireDefault(require("./ColorAlphaInput"));
|
|
|
21
21
|
var _ColorHexInput = _interopRequireDefault(require("./ColorHexInput"));
|
|
22
22
|
var _ColorHsbInput = _interopRequireDefault(require("./ColorHsbInput"));
|
|
23
23
|
var _ColorRgbInput = _interopRequireDefault(require("./ColorRgbInput"));
|
|
24
|
+
function _getRequireWildcardCache(e) {
|
|
25
|
+
if ("function" != typeof WeakMap) return null;
|
|
26
|
+
var r = new WeakMap(),
|
|
27
|
+
t = new WeakMap();
|
|
28
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
29
|
+
return e ? t : r;
|
|
30
|
+
})(e);
|
|
31
|
+
}
|
|
32
|
+
function _interopRequireWildcard(e, r) {
|
|
33
|
+
if (!r && e && e.__esModule) return e;
|
|
34
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
35
|
+
default: e
|
|
36
|
+
};
|
|
37
|
+
var t = _getRequireWildcardCache(r);
|
|
38
|
+
if (t && t.has(e)) return t.get(e);
|
|
39
|
+
var n = {
|
|
40
|
+
__proto__: null
|
|
41
|
+
},
|
|
42
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
43
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
44
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
45
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
46
|
+
}
|
|
47
|
+
return n.default = e, t && t.set(e, n), n;
|
|
48
|
+
}
|
|
24
49
|
var selectOptions = [_interface.ColorFormat.hex, _interface.ColorFormat.hsb, _interface.ColorFormat.rgb].map(function (format) {
|
|
25
50
|
return {
|
|
26
51
|
value: format,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
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); }
|
|
5
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
5
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
6
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -11,8 +10,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
11
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
12
11
|
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; } }
|
|
13
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
|
-
|
|
15
|
-
var
|
|
13
|
+
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); }
|
|
14
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
16
15
|
Object.defineProperty(exports, "__esModule", {
|
|
17
16
|
value: true
|
|
18
17
|
});
|
|
@@ -25,6 +24,31 @@ var _collapse = _interopRequireDefault(require("../../collapse"));
|
|
|
25
24
|
var _locale = require("../../locale");
|
|
26
25
|
var _internal = require("../../theme/internal");
|
|
27
26
|
var _util = require("../util");
|
|
27
|
+
function _getRequireWildcardCache(e) {
|
|
28
|
+
if ("function" != typeof WeakMap) return null;
|
|
29
|
+
var r = new WeakMap(),
|
|
30
|
+
t = new WeakMap();
|
|
31
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
32
|
+
return e ? t : r;
|
|
33
|
+
})(e);
|
|
34
|
+
}
|
|
35
|
+
function _interopRequireWildcard(e, r) {
|
|
36
|
+
if (!r && e && e.__esModule) return e;
|
|
37
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
38
|
+
default: e
|
|
39
|
+
};
|
|
40
|
+
var t = _getRequireWildcardCache(r);
|
|
41
|
+
if (t && t.has(e)) return t.get(e);
|
|
42
|
+
var n = {
|
|
43
|
+
__proto__: null
|
|
44
|
+
},
|
|
45
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
46
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
47
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
48
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
49
|
+
}
|
|
50
|
+
return n.default = e, t && t.set(e, n), n;
|
|
51
|
+
}
|
|
28
52
|
var genPresetColor = function genPresetColor(list) {
|
|
29
53
|
return list.map(function (value) {
|
|
30
54
|
value.colors = value.colors.map(_util.generateColor);
|
|
@@ -7,8 +7,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
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; } }
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
-
|
|
11
|
-
var
|
|
10
|
+
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); }
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
12
12
|
Object.defineProperty(exports, "__esModule", {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
@@ -16,6 +16,31 @@ exports.default = void 0;
|
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _util = require("../util");
|
|
18
18
|
var _ColorSteppers = _interopRequireDefault(require("./ColorSteppers"));
|
|
19
|
+
function _getRequireWildcardCache(e) {
|
|
20
|
+
if ("function" != typeof WeakMap) return null;
|
|
21
|
+
var r = new WeakMap(),
|
|
22
|
+
t = new WeakMap();
|
|
23
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
24
|
+
return e ? t : r;
|
|
25
|
+
})(e);
|
|
26
|
+
}
|
|
27
|
+
function _interopRequireWildcard(e, r) {
|
|
28
|
+
if (!r && e && e.__esModule) return e;
|
|
29
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
30
|
+
default: e
|
|
31
|
+
};
|
|
32
|
+
var t = _getRequireWildcardCache(r);
|
|
33
|
+
if (t && t.has(e)) return t.get(e);
|
|
34
|
+
var n = {
|
|
35
|
+
__proto__: null
|
|
36
|
+
},
|
|
37
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
38
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
39
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
40
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
41
|
+
}
|
|
42
|
+
return n.default = e, t && t.set(e, n), n;
|
|
43
|
+
}
|
|
19
44
|
var ColorRgbInput = function ColorRgbInput(_ref) {
|
|
20
45
|
var prefixCls = _ref.prefixCls,
|
|
21
46
|
value = _ref.value,
|
|
@@ -7,8 +7,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
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; } }
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
-
|
|
11
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
10
|
+
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); }
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
12
12
|
Object.defineProperty(exports, "__esModule", {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
@@ -16,6 +16,31 @@ exports.default = void 0;
|
|
|
16
16
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
17
|
var _react = _interopRequireWildcard(require("react"));
|
|
18
18
|
var _inputNumber = _interopRequireDefault(require("../../input-number"));
|
|
19
|
+
function _getRequireWildcardCache(e) {
|
|
20
|
+
if ("function" != typeof WeakMap) return null;
|
|
21
|
+
var r = new WeakMap(),
|
|
22
|
+
t = new WeakMap();
|
|
23
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
24
|
+
return e ? t : r;
|
|
25
|
+
})(e);
|
|
26
|
+
}
|
|
27
|
+
function _interopRequireWildcard(e, r) {
|
|
28
|
+
if (!r && e && e.__esModule) return e;
|
|
29
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
30
|
+
default: e
|
|
31
|
+
};
|
|
32
|
+
var t = _getRequireWildcardCache(r);
|
|
33
|
+
if (t && t.has(e)) return t.get(e);
|
|
34
|
+
var n = {
|
|
35
|
+
__proto__: null
|
|
36
|
+
},
|
|
37
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
38
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
39
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
40
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
41
|
+
}
|
|
42
|
+
return n.default = e, t && t.set(e, n), n;
|
|
43
|
+
}
|
|
19
44
|
var ColorSteppers = function ColorSteppers(_ref) {
|
|
20
45
|
var prefixCls = _ref.prefixCls,
|
|
21
46
|
_ref$min = _ref.min,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
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); }
|
|
5
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
5
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
6
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
-
|
|
9
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
7
|
+
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); }
|
|
8
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
10
9
|
Object.defineProperty(exports, "__esModule", {
|
|
11
10
|
value: true
|
|
12
11
|
});
|
|
@@ -16,6 +15,31 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
16
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
16
|
var _util = require("../util");
|
|
18
17
|
var _ColorClear = _interopRequireDefault(require("./ColorClear"));
|
|
18
|
+
function _getRequireWildcardCache(e) {
|
|
19
|
+
if ("function" != typeof WeakMap) return null;
|
|
20
|
+
var r = new WeakMap(),
|
|
21
|
+
t = new WeakMap();
|
|
22
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
23
|
+
return e ? t : r;
|
|
24
|
+
})(e);
|
|
25
|
+
}
|
|
26
|
+
function _interopRequireWildcard(e, r) {
|
|
27
|
+
if (!r && e && e.__esModule) return e;
|
|
28
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
29
|
+
default: e
|
|
30
|
+
};
|
|
31
|
+
var t = _getRequireWildcardCache(r);
|
|
32
|
+
if (t && t.has(e)) return t.get(e);
|
|
33
|
+
var n = {
|
|
34
|
+
__proto__: null
|
|
35
|
+
},
|
|
36
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
37
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
38
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
39
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
40
|
+
}
|
|
41
|
+
return n.default = e, t && t.set(e, n), n;
|
|
42
|
+
}
|
|
19
43
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
20
44
|
var t = {};
|
|
21
45
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
4
|
+
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); }
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
6
|
Object.defineProperty(exports, "__esModule", {
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
@@ -12,6 +12,31 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _context = require("../context");
|
|
13
13
|
var _ColorClear = _interopRequireDefault(require("./ColorClear"));
|
|
14
14
|
var _ColorInput = _interopRequireDefault(require("./ColorInput"));
|
|
15
|
+
function _getRequireWildcardCache(e) {
|
|
16
|
+
if ("function" != typeof WeakMap) return null;
|
|
17
|
+
var r = new WeakMap(),
|
|
18
|
+
t = new WeakMap();
|
|
19
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
20
|
+
return e ? t : r;
|
|
21
|
+
})(e);
|
|
22
|
+
}
|
|
23
|
+
function _interopRequireWildcard(e, r) {
|
|
24
|
+
if (!r && e && e.__esModule) return e;
|
|
25
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
26
|
+
default: e
|
|
27
|
+
};
|
|
28
|
+
var t = _getRequireWildcardCache(r);
|
|
29
|
+
if (t && t.has(e)) return t.get(e);
|
|
30
|
+
var n = {
|
|
31
|
+
__proto__: null
|
|
32
|
+
},
|
|
33
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
34
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
35
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
36
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
37
|
+
}
|
|
38
|
+
return n.default = e, t && t.set(e, n), n;
|
|
39
|
+
}
|
|
15
40
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
16
41
|
var t = {};
|
|
17
42
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
var
|
|
4
|
+
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); }
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
6
|
Object.defineProperty(exports, "__esModule", {
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
@@ -10,6 +10,31 @@ exports.default = void 0;
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _context = require("../context");
|
|
12
12
|
var _ColorPresets = _interopRequireDefault(require("./ColorPresets"));
|
|
13
|
+
function _getRequireWildcardCache(e) {
|
|
14
|
+
if ("function" != typeof WeakMap) return null;
|
|
15
|
+
var r = new WeakMap(),
|
|
16
|
+
t = new WeakMap();
|
|
17
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
18
|
+
return e ? t : r;
|
|
19
|
+
})(e);
|
|
20
|
+
}
|
|
21
|
+
function _interopRequireWildcard(e, r) {
|
|
22
|
+
if (!r && e && e.__esModule) return e;
|
|
23
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
24
|
+
default: e
|
|
25
|
+
};
|
|
26
|
+
var t = _getRequireWildcardCache(r);
|
|
27
|
+
if (t && t.has(e)) return t.get(e);
|
|
28
|
+
var n = {
|
|
29
|
+
__proto__: null
|
|
30
|
+
},
|
|
31
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
32
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
33
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
34
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
35
|
+
}
|
|
36
|
+
return n.default = e, t && t.set(e, n), n;
|
|
37
|
+
}
|
|
13
38
|
var PanelPresets = function PanelPresets() {
|
|
14
39
|
var _ref = (0, _react.useContext)(_context.PanelPresetsContext),
|
|
15
40
|
prefixCls = _ref.prefixCls,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
@@ -4,7 +4,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
6
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
7
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
8
8
|
Object.defineProperty(exports, "__esModule", {
|
|
9
9
|
value: true
|
|
10
10
|
});
|
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
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); }
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.DisabledContextProvider = void 0;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
function _getRequireWildcardCache(e) {
|
|
11
|
+
if ("function" != typeof WeakMap) return null;
|
|
12
|
+
var r = new WeakMap(),
|
|
13
|
+
t = new WeakMap();
|
|
14
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
15
|
+
return e ? t : r;
|
|
16
|
+
})(e);
|
|
17
|
+
}
|
|
18
|
+
function _interopRequireWildcard(e, r) {
|
|
19
|
+
if (!r && e && e.__esModule) return e;
|
|
20
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
21
|
+
default: e
|
|
22
|
+
};
|
|
23
|
+
var t = _getRequireWildcardCache(r);
|
|
24
|
+
if (t && t.has(e)) return t.get(e);
|
|
25
|
+
var n = {
|
|
26
|
+
__proto__: null
|
|
27
|
+
},
|
|
28
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
29
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
30
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
31
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
32
|
+
}
|
|
33
|
+
return n.default = e, t && t.set(e, n), n;
|
|
34
|
+
}
|
|
10
35
|
var DisabledContext = /*#__PURE__*/React.createContext(false);
|
|
11
36
|
var DisabledContextProvider = function DisabledContextProvider(_ref) {
|
|
12
37
|
var children = _ref.children,
|
|
@@ -7,7 +7,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
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; } }
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
-
|
|
10
|
+
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); }
|
|
11
11
|
Object.defineProperty(exports, "__esModule", {
|
|
12
12
|
value: true
|
|
13
13
|
});
|
|
@@ -15,6 +15,31 @@ exports.default = MotionWrapper;
|
|
|
15
15
|
var _rcMotion = require("rc-motion");
|
|
16
16
|
var React = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _internal = require("../theme/internal");
|
|
18
|
+
function _getRequireWildcardCache(e) {
|
|
19
|
+
if ("function" != typeof WeakMap) return null;
|
|
20
|
+
var r = new WeakMap(),
|
|
21
|
+
t = new WeakMap();
|
|
22
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
23
|
+
return e ? t : r;
|
|
24
|
+
})(e);
|
|
25
|
+
}
|
|
26
|
+
function _interopRequireWildcard(e, r) {
|
|
27
|
+
if (!r && e && e.__esModule) return e;
|
|
28
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
29
|
+
default: e
|
|
30
|
+
};
|
|
31
|
+
var t = _getRequireWildcardCache(r);
|
|
32
|
+
if (t && t.has(e)) return t.get(e);
|
|
33
|
+
var n = {
|
|
34
|
+
__proto__: null
|
|
35
|
+
},
|
|
36
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
37
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
38
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
39
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
40
|
+
}
|
|
41
|
+
return n.default = e, t && t.set(e, n), n;
|
|
42
|
+
}
|
|
18
43
|
function MotionWrapper(props) {
|
|
19
44
|
var children = props.children;
|
|
20
45
|
var _ref = (0, _internal.useToken)(),
|
|
@@ -1,13 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
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); }
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _warning = require("../_util/warning");
|
|
11
|
+
function _getRequireWildcardCache(e) {
|
|
12
|
+
if ("function" != typeof WeakMap) return null;
|
|
13
|
+
var r = new WeakMap(),
|
|
14
|
+
t = new WeakMap();
|
|
15
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
16
|
+
return e ? t : r;
|
|
17
|
+
})(e);
|
|
18
|
+
}
|
|
19
|
+
function _interopRequireWildcard(e, r) {
|
|
20
|
+
if (!r && e && e.__esModule) return e;
|
|
21
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
22
|
+
default: e
|
|
23
|
+
};
|
|
24
|
+
var t = _getRequireWildcardCache(r);
|
|
25
|
+
if (t && t.has(e)) return t.get(e);
|
|
26
|
+
var n = {
|
|
27
|
+
__proto__: null
|
|
28
|
+
},
|
|
29
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
30
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
31
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
32
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
33
|
+
}
|
|
34
|
+
return n.default = e, t && t.set(e, n), n;
|
|
35
|
+
}
|
|
11
36
|
/**
|
|
12
37
|
* Warning for ConfigProviderProps.
|
|
13
38
|
* This will be empty function in production.
|
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
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); }
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.SizeContextProvider = void 0;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
function _getRequireWildcardCache(e) {
|
|
11
|
+
if ("function" != typeof WeakMap) return null;
|
|
12
|
+
var r = new WeakMap(),
|
|
13
|
+
t = new WeakMap();
|
|
14
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
15
|
+
return e ? t : r;
|
|
16
|
+
})(e);
|
|
17
|
+
}
|
|
18
|
+
function _interopRequireWildcard(e, r) {
|
|
19
|
+
if (!r && e && e.__esModule) return e;
|
|
20
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
21
|
+
default: e
|
|
22
|
+
};
|
|
23
|
+
var t = _getRequireWildcardCache(r);
|
|
24
|
+
if (t && t.has(e)) return t.get(e);
|
|
25
|
+
var n = {
|
|
26
|
+
__proto__: null
|
|
27
|
+
},
|
|
28
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
29
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
30
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
31
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
32
|
+
}
|
|
33
|
+
return n.default = e, t && t.set(e, n), n;
|
|
34
|
+
}
|
|
10
35
|
var SizeContext = /*#__PURE__*/React.createContext(undefined);
|
|
11
36
|
var SizeContextProvider = function SizeContextProvider(_ref) {
|
|
12
37
|
var children = _ref.children,
|
|
@@ -1,11 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.defaultIconPrefixCls = exports.ConfigContext = exports.ConfigConsumer = void 0;
|
|
8
8
|
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
function _getRequireWildcardCache(e) {
|
|
10
|
+
if ("function" != typeof WeakMap) return null;
|
|
11
|
+
var r = new WeakMap(),
|
|
12
|
+
t = new WeakMap();
|
|
13
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
|
|
14
|
+
return e ? t : r;
|
|
15
|
+
})(e);
|
|
16
|
+
}
|
|
17
|
+
function _interopRequireWildcard(e, r) {
|
|
18
|
+
if (!r && e && e.__esModule) return e;
|
|
19
|
+
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
|
|
20
|
+
default: e
|
|
21
|
+
};
|
|
22
|
+
var t = _getRequireWildcardCache(r);
|
|
23
|
+
if (t && t.has(e)) return t.get(e);
|
|
24
|
+
var n = {
|
|
25
|
+
__proto__: null
|
|
26
|
+
},
|
|
27
|
+
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
28
|
+
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
29
|
+
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
30
|
+
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
31
|
+
}
|
|
32
|
+
return n.default = e, t && t.set(e, n), n;
|
|
33
|
+
}
|
|
9
34
|
var defaultIconPrefixCls = exports.defaultIconPrefixCls = 'anticon';
|
|
10
35
|
var defaultGetPrefixCls = function defaultGetPrefixCls(suffixCls, customizePrefixCls) {
|
|
11
36
|
if (customizePrefixCls) {
|