bitz-react-admin-ui 2.7.4 → 2.7.5
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/node_modules/@ant-design/colors/es/generate.mjs +93 -0
- package/dist/node_modules/@ant-design/colors/es/presets.mjs +72 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.mjs +40 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.mjs +18 -0
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.mjs +38 -0
- package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.mjs +9 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.mjs +51 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs +92 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs +15 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs +27 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.mjs +47 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs +22 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs +210 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.mjs +10 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.mjs +7 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.mjs +8 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.mjs +20 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.mjs +104 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs +10 -0
- package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs +4 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util/cacheMapUtil.mjs +42 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util/css-variables.mjs +28 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.mjs +52 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.browser.esm.mjs +22 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Enum.mjs +9 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Parser.mjs +114 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Serializer.mjs +29 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Tokenizer.mjs +127 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Utility.mjs +37 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.mjs +63 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/hooks/useCSP.mjs +6 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.mjs +59 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.mjs +44 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/calculator.mjs +8 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/index.mjs +11 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/genStyleUtils.mjs +156 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.mjs +6 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.mjs +26 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getDefaultComponentToken.mjs +11 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/maxmin.mjs +36 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/statistic.mjs +55 -0
- package/dist/node_modules/@ant-design/fast-color/es/FastColor.mjs +327 -0
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +42 -0
- package/dist/node_modules/@ant-design/icons/es/components/Context.mjs +6 -0
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.mjs +46 -0
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +18 -0
- package/dist/node_modules/@ant-design/icons/es/icons/AlignCenterOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DeleteOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DownloadOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/FileTwoTone.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MenuFoldOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MenuOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MenuUnfoldOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PaperClipOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PauseCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PictureTwoTone.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PlayCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SettingFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/UploadOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/utils.mjs +127 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AlignCenterOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AppstoreOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FileTwoTone.mjs +7 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenExitOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuFoldOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuUnfoldOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PaperClipOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PictureTwoTone.mjs +7 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.mjs +5 -0
- package/dist/node_modules/@babel/runtime/helpers/defineProperty.mjs +18 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.mjs +26 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/construct.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +18 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.mjs +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +29 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +25 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.mjs +315 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.mjs +32 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/objectSpread2.mjs +31 -0
- package/dist/node_modules/@babel/runtime/helpers/toPrimitive.mjs +22 -0
- package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/typeof.mjs +16 -0
- package/dist/node_modules/@better-scroll/core/dist/core.esm.mjs +1377 -0
- package/dist/node_modules/@better-scroll/wheel/dist/wheel.esm.mjs +253 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.mjs +115 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.mjs +153 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.mjs +68 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.mjs +183 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.mjs +32 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.mjs +54 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.mjs +2524 -0
- package/dist/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.mjs +27 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +367 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs +235 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.mjs +251 -0
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.mjs +86 -0
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.mjs +7 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +22 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +9 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +134 -0
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +53 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.mjs +45 -0
- package/dist/node_modules/@emotion/unitless/dist/unitless.browser.esm.mjs +51 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.mjs +34 -0
- package/dist/node_modules/@fullcalendar/core/index.mjs +1365 -0
- package/dist/node_modules/@fullcalendar/core/internal-common.mjs +4823 -0
- package/dist/node_modules/@fullcalendar/core/locales/zh-cn.mjs +28 -0
- package/dist/node_modules/@fullcalendar/daygrid/index.mjs +32 -0
- package/dist/node_modules/@fullcalendar/daygrid/internal.mjs +746 -0
- package/dist/node_modules/@fullcalendar/interaction/index.mjs +842 -0
- package/dist/node_modules/@fullcalendar/list/index.mjs +54 -0
- package/dist/node_modules/@fullcalendar/list/internal.mjs +207 -0
- package/dist/node_modules/@fullcalendar/react/dist/index.mjs +71 -0
- package/dist/node_modules/@fullcalendar/timegrid/index.mjs +31 -0
- package/dist/node_modules/@fullcalendar/timegrid/internal.mjs +900 -0
- package/dist/node_modules/@rc-component/async-validator/es/index.mjs +159 -0
- package/dist/node_modules/@rc-component/async-validator/es/messages.mjs +58 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/enum.mjs +7 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/index.mjs +17 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/pattern.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/range.mjs +10 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/required.mjs +7 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/type.mjs +63 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/url.mjs +37 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/whitespace.mjs +7 -0
- package/dist/node_modules/@rc-component/async-validator/es/util.mjs +167 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/any.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/array.mjs +13 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/boolean.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/date.mjs +17 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/enum.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/float.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/index.mjs +37 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/integer.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/method.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/number.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/object.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/pattern.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/regexp.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/required.mjs +9 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/string.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/type.mjs +14 -0
- package/dist/node_modules/@rc-component/color-picker/es/ColorPicker.mjs +103 -0
- package/dist/node_modules/@rc-component/color-picker/es/color.mjs +47 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/ColorBlock.mjs +18 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Gradient.mjs +22 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Handler.mjs +15 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Palette.mjs +14 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Picker.mjs +58 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Slider.mjs +76 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Transform.mjs +17 -0
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorDrag.mjs +41 -0
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorState.mjs +17 -0
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useComponent.mjs +11 -0
- package/dist/node_modules/@rc-component/color-picker/es/util.mjs +50 -0
- package/dist/node_modules/@rc-component/portal/es/Context.mjs +5 -0
- package/dist/node_modules/@rc-component/portal/es/Portal.mjs +45 -0
- package/dist/node_modules/@rc-component/portal/es/index.mjs +4 -0
- package/dist/node_modules/@rc-component/portal/es/mock.mjs +8 -0
- package/dist/node_modules/@rc-component/portal/es/useDom.mjs +37 -0
- package/dist/node_modules/@rc-component/portal/es/useScrollLocker.mjs +29 -0
- package/dist/node_modules/@rc-component/portal/es/util.mjs +6 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.mjs +22 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.mjs +24 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/PopupContent.mjs +11 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.mjs +92 -0
- package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.mjs +14 -0
- package/dist/node_modules/@rc-component/trigger/es/context.mjs +5 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.mjs +13 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.mjs +187 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.mjs +27 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWinClick.mjs +27 -0
- package/dist/node_modules/@rc-component/trigger/es/index.mjs +213 -0
- package/dist/node_modules/@rc-component/trigger/es/util.mjs +61 -0
- package/dist/node_modules/ahooks/es/createUpdateEffect/index.mjs +20 -0
- package/dist/node_modules/ahooks/es/useClickAway/index.mjs +27 -0
- package/dist/node_modules/ahooks/es/useControllableValue/index.mjs +23 -0
- package/dist/node_modules/ahooks/es/useInterval/index.mjs +17 -0
- package/dist/node_modules/ahooks/es/useLatest/index.mjs +8 -0
- package/dist/node_modules/ahooks/es/useMemoizedFn/index.mjs +19 -0
- package/dist/node_modules/ahooks/es/useRafState/index.mjs +16 -0
- package/dist/node_modules/ahooks/es/useSetState/index.mjs +16 -0
- package/dist/node_modules/ahooks/es/useSize/index.mjs +34 -0
- package/dist/node_modules/ahooks/es/useThrottleFn/index.mjs +28 -0
- package/dist/node_modules/ahooks/es/useUnmount/index.mjs +17 -0
- package/dist/node_modules/ahooks/es/useUpdate/index.mjs +12 -0
- package/dist/node_modules/ahooks/es/useUpdateEffect/index.mjs +6 -0
- package/dist/node_modules/ahooks/es/useUpdateLayoutEffect/index.mjs +6 -0
- package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +27 -0
- package/dist/node_modules/ahooks/es/utils/depsAreSame.mjs +11 -0
- package/dist/node_modules/ahooks/es/utils/domTarget.mjs +13 -0
- package/dist/node_modules/ahooks/es/utils/getDocumentOrShadow.mjs +18 -0
- package/dist/node_modules/ahooks/es/utils/index.mjs +9 -0
- package/dist/node_modules/ahooks/es/utils/isBrowser.mjs +5 -0
- package/dist/node_modules/ahooks/es/utils/isDev.mjs +5 -0
- package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +7 -0
- package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.mjs +8 -0
- package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.mjs +7 -0
- package/dist/node_modules/antd/es/_util/ActionButton.mjs +70 -0
- package/dist/node_modules/antd/es/_util/ContextIsolator.mjs +20 -0
- package/dist/node_modules/antd/es/_util/PurePanel.mjs +16 -0
- package/dist/node_modules/antd/es/_util/colors.mjs +9 -0
- package/dist/node_modules/antd/es/_util/hooks/useClosable.mjs +66 -0
- package/dist/node_modules/antd/es/_util/hooks/useForceUpdate.mjs +8 -0
- package/dist/node_modules/antd/es/_util/hooks/usePatchElement.mjs +11 -0
- package/dist/node_modules/antd/es/_util/hooks/useZIndex.mjs +45 -0
- package/dist/node_modules/antd/es/_util/motion.mjs +34 -0
- package/dist/node_modules/antd/es/_util/placements.mjs +150 -0
- package/dist/node_modules/antd/es/_util/reactNode.mjs +13 -0
- package/dist/node_modules/antd/es/_util/styleChecker.mjs +5 -0
- package/dist/node_modules/antd/es/_util/toList.mjs +6 -0
- package/dist/node_modules/antd/es/_util/warning.mjs +38 -0
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.mjs +96 -0
- package/dist/node_modules/antd/es/_util/wave/index.mjs +40 -0
- package/dist/node_modules/antd/es/_util/wave/interface.mjs +6 -0
- package/dist/node_modules/antd/es/_util/wave/style.mjs +47 -0
- package/dist/node_modules/antd/es/_util/wave/useWave.mjs +38 -0
- package/dist/node_modules/antd/es/_util/wave/util.mjs +16 -0
- package/dist/node_modules/antd/es/_util/zindexContext.mjs +7 -0
- package/dist/node_modules/antd/es/button/IconWrapper.mjs +18 -0
- package/dist/node_modules/antd/es/button/LoadingIcon.mjs +70 -0
- package/dist/node_modules/antd/es/button/button-group.mjs +65 -0
- package/dist/node_modules/antd/es/button/button.mjs +177 -0
- package/dist/node_modules/antd/es/button/buttonHelpers.mjs +44 -0
- package/dist/node_modules/antd/es/button/index.mjs +4 -0
- package/dist/node_modules/antd/es/button/style/compactCmp.mjs +75 -0
- package/dist/node_modules/antd/es/button/style/group.mjs +70 -0
- package/dist/node_modules/antd/es/button/style/index.mjs +373 -0
- package/dist/node_modules/antd/es/button/style/token.mjs +81 -0
- package/dist/node_modules/antd/es/calendar/locale/en_US.mjs +4 -0
- package/dist/node_modules/antd/es/color-picker/color.mjs +96 -0
- package/dist/node_modules/antd/es/color-picker/components/ColorPresets.mjs +17 -0
- package/dist/node_modules/antd/es/config-provider/DisabledContext.mjs +15 -0
- package/dist/node_modules/antd/es/config-provider/MotionWrapper.mjs +32 -0
- package/dist/node_modules/antd/es/config-provider/PropWarning.mjs +13 -0
- package/dist/node_modules/antd/es/config-provider/SizeContext.mjs +15 -0
- package/dist/node_modules/antd/es/config-provider/context.mjs +11 -0
- package/dist/node_modules/antd/es/config-provider/cssVariables.mjs +39 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useCSSVarCls.mjs +23 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useConfig.mjs +13 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useSize.mjs +9 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useTheme.mjs +41 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useThemeKey.mjs +7 -0
- package/dist/node_modules/antd/es/config-provider/index.mjs +327 -0
- package/dist/node_modules/antd/es/date-picker/locale/en_US.mjs +20 -0
- package/dist/node_modules/antd/es/form/context.mjs +23 -0
- package/dist/node_modules/antd/es/form/validateMessagesContext.mjs +5 -0
- package/dist/node_modules/antd/es/locale/context.mjs +5 -0
- package/dist/node_modules/antd/es/locale/en_US.mjs +146 -0
- package/dist/node_modules/antd/es/locale/index.mjs +28 -0
- package/dist/node_modules/antd/es/locale/useLocale.mjs +17 -0
- package/dist/node_modules/antd/es/modal/ConfirmDialog.mjs +175 -0
- package/dist/node_modules/antd/es/modal/Modal.mjs +137 -0
- package/dist/node_modules/antd/es/modal/PurePanel.mjs +60 -0
- package/dist/node_modules/antd/es/modal/components/ConfirmCancelBtn.mjs +29 -0
- package/dist/node_modules/antd/es/modal/components/ConfirmOkBtn.mjs +30 -0
- package/dist/node_modules/antd/es/modal/components/NormalCancelBtn.mjs +16 -0
- package/dist/node_modules/antd/es/modal/components/NormalOkBtn.mjs +20 -0
- package/dist/node_modules/antd/es/modal/confirm.mjs +122 -0
- package/dist/node_modules/antd/es/modal/context.mjs +8 -0
- package/dist/node_modules/antd/es/modal/destroyFns.mjs +4 -0
- package/dist/node_modules/antd/es/modal/index.mjs +37 -0
- package/dist/node_modules/antd/es/modal/locale.mjs +19 -0
- package/dist/node_modules/antd/es/modal/shared.mjs +51 -0
- package/dist/node_modules/antd/es/modal/style/confirm.mjs +113 -0
- package/dist/node_modules/antd/es/modal/style/index.mjs +292 -0
- package/dist/node_modules/antd/es/modal/useModal/HookModal.mjs +60 -0
- package/dist/node_modules/antd/es/modal/useModal/index.mjs +73 -0
- package/dist/node_modules/antd/es/progress/Circle.mjs +60 -0
- package/dist/node_modules/antd/es/progress/Line.mjs +109 -0
- package/dist/node_modules/antd/es/progress/Steps.mjs +38 -0
- package/dist/node_modules/antd/es/progress/index.mjs +4 -0
- package/dist/node_modules/antd/es/progress/progress.mjs +120 -0
- package/dist/node_modules/antd/es/progress/style/index.mjs +313 -0
- package/dist/node_modules/antd/es/progress/utils.mjs +51 -0
- package/dist/node_modules/antd/es/skeleton/Avatar.mjs +31 -0
- package/dist/node_modules/antd/es/skeleton/Button.mjs +31 -0
- package/dist/node_modules/antd/es/skeleton/Element.mjs +29 -0
- package/dist/node_modules/antd/es/skeleton/Image.mjs +34 -0
- package/dist/node_modules/antd/es/skeleton/Input.mjs +31 -0
- package/dist/node_modules/antd/es/skeleton/Node.mjs +28 -0
- package/dist/node_modules/antd/es/skeleton/Paragraph.mjs +35 -0
- package/dist/node_modules/antd/es/skeleton/Skeleton.mjs +108 -0
- package/dist/node_modules/antd/es/skeleton/Title.mjs +22 -0
- package/dist/node_modules/antd/es/skeleton/index.mjs +4 -0
- package/dist/node_modules/antd/es/skeleton/style/index.mjs +311 -0
- package/dist/node_modules/antd/es/slider/Context.mjs +5 -0
- package/dist/node_modules/antd/es/slider/SliderTooltip.mjs +30 -0
- package/dist/node_modules/antd/es/slider/index.mjs +153 -0
- package/dist/node_modules/antd/es/slider/style/index.mjs +325 -0
- package/dist/node_modules/antd/es/slider/useRafLock.mjs +15 -0
- package/dist/node_modules/antd/es/space/Compact.mjs +37 -0
- package/dist/node_modules/antd/es/style/compact-item-vertical.mjs +44 -0
- package/dist/node_modules/antd/es/style/compact-item.mjs +61 -0
- package/dist/node_modules/antd/es/style/index.mjs +125 -0
- package/dist/node_modules/antd/es/style/motion/collapse.mjs +20 -0
- package/dist/node_modules/antd/es/style/motion/fade.mjs +50 -0
- package/dist/node_modules/antd/es/style/motion/motion.mjs +35 -0
- package/dist/node_modules/antd/es/style/motion/zoom.mjs +195 -0
- package/dist/node_modules/antd/es/style/placementArrow.mjs +164 -0
- package/dist/node_modules/antd/es/style/roundedArrow.mjs +74 -0
- package/dist/node_modules/antd/es/table/ExpandIcon.mjs +29 -0
- package/dist/node_modules/antd/es/theme/context.mjs +25 -0
- package/dist/node_modules/antd/es/theme/getDesignToken.mjs +23 -0
- package/dist/node_modules/antd/es/theme/interface/presetColors.mjs +4 -0
- package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.mjs +20 -0
- package/dist/node_modules/antd/es/theme/themes/compact/index.mjs +16 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.mjs +6 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colors.mjs +51 -0
- package/dist/node_modules/antd/es/theme/themes/dark/index.mjs +21 -0
- package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.mjs +6 -0
- package/dist/node_modules/antd/es/theme/themes/default/colors.mjs +49 -0
- package/dist/node_modules/antd/es/theme/themes/default/index.mjs +23 -0
- package/dist/node_modules/antd/es/theme/themes/seed.mjs +69 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.mjs +78 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.mjs +20 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.mjs +13 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.mjs +29 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.mjs +17 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genRadius.mjs +13 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.mjs +29 -0
- package/dist/node_modules/antd/es/theme/useToken.mjs +118 -0
- package/dist/node_modules/antd/es/theme/util/alias.mjs +162 -0
- package/dist/node_modules/antd/es/theme/util/genPresetColor.mjs +15 -0
- package/dist/node_modules/antd/es/theme/util/genStyleUtils.mjs +50 -0
- package/dist/node_modules/antd/es/theme/util/getAlphaColor.mjs +38 -0
- package/dist/node_modules/antd/es/theme/util/useResetIconStyle.mjs +36 -0
- package/dist/node_modules/antd/es/time-picker/locale/en_US.mjs +7 -0
- package/dist/node_modules/antd/es/tooltip/PurePanel.mjs +33 -0
- package/dist/node_modules/antd/es/tooltip/index.mjs +148 -0
- package/dist/node_modules/antd/es/tooltip/style/index.mjs +139 -0
- package/dist/node_modules/antd/es/tooltip/util.mjs +15 -0
- package/dist/node_modules/antd/es/typography/hooks/useCopyClick.mjs +64 -0
- package/dist/node_modules/antd/es/upload/Dragger.mjs +32 -0
- package/dist/node_modules/antd/es/upload/Upload.mjs +304 -0
- package/dist/node_modules/antd/es/upload/UploadList/ListItem.mjs +156 -0
- package/dist/node_modules/antd/es/upload/UploadList/index.mjs +167 -0
- package/dist/node_modules/antd/es/upload/index.mjs +9 -0
- package/dist/node_modules/antd/es/upload/style/dragger.mjs +84 -0
- package/dist/node_modules/antd/es/upload/style/index.mjs +65 -0
- package/dist/node_modules/antd/es/upload/style/list.mjs +115 -0
- package/dist/node_modules/antd/es/upload/style/motion.mjs +54 -0
- package/dist/node_modules/antd/es/upload/style/picture.mjs +240 -0
- package/dist/node_modules/antd/es/upload/style/rtl.mjs +13 -0
- package/dist/node_modules/antd/es/upload/utils.mjs +79 -0
- package/dist/node_modules/antd/es/version/index.mjs +4 -0
- package/dist/node_modules/antd/es/version/version.mjs +4 -0
- package/dist/node_modules/antd/es/watermark/context.mjs +25 -0
- package/dist/node_modules/antd/lib/calendar/locale/en_US.mjs +11 -0
- package/dist/node_modules/antd/lib/date-picker/locale/en_US.mjs +28 -0
- package/dist/node_modules/antd/lib/locale/en_US.mjs +157 -0
- package/dist/node_modules/antd/lib/time-picker/locale/en_US.mjs +10 -0
- package/dist/node_modules/antd/locale/en_US.mjs +8 -0
- package/dist/node_modules/antd-img-crop/dist/antd-img-crop.esm.mjs +137 -0
- package/dist/node_modules/better-scroll/dist/better-scroll.esm.mjs +3670 -0
- package/dist/node_modules/classnames/index.mjs +42 -0
- package/dist/node_modules/clsx/dist/clsx.mjs +23 -0
- package/dist/node_modules/copy-to-clipboard/index.mjs +46 -0
- package/dist/node_modules/dayjs/dayjs.min.mjs +297 -0
- package/dist/node_modules/dayjs/locale/zh-cn.mjs +19 -0
- package/dist/node_modules/dayjs/plugin/isBetween.mjs +19 -0
- package/dist/node_modules/dayjs/plugin/isSameOrAfter.mjs +18 -0
- package/dist/node_modules/dayjs/plugin/isSameOrBefore.mjs +18 -0
- package/dist/node_modules/dayjs/plugin/isToday.mjs +19 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.mjs +34 -0
- package/dist/node_modules/dayjs/plugin/objectSupport.mjs +49 -0
- package/dist/node_modules/dayjs/plugin/relativeTime.mjs +49 -0
- package/dist/node_modules/dayjs/plugin/utc.mjs +87 -0
- package/dist/node_modules/dayjs/plugin/weekOfYear.mjs +31 -0
- package/dist/node_modules/immer/dist/immer.mjs +473 -0
- package/dist/node_modules/lodash/_Symbol.mjs +5 -0
- package/dist/node_modules/lodash/_baseGetTag.mjs +11 -0
- package/dist/node_modules/lodash/_baseTrim.mjs +9 -0
- package/dist/node_modules/lodash/_freeGlobal.mjs +5 -0
- package/dist/node_modules/lodash/_getRawTag.mjs +16 -0
- package/dist/node_modules/lodash/_objectToString.mjs +8 -0
- package/dist/node_modules/lodash/_root.mjs +5 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.mjs +10 -0
- package/dist/node_modules/lodash/debounce.mjs +55 -0
- package/dist/node_modules/lodash/isObject.mjs +8 -0
- package/dist/node_modules/lodash/isObjectLike.mjs +7 -0
- package/dist/node_modules/lodash/isSymbol.mjs +10 -0
- package/dist/node_modules/lodash/now.mjs +7 -0
- package/dist/node_modules/lodash/throttle.mjs +19 -0
- package/dist/node_modules/lodash/toNumber.mjs +23 -0
- package/dist/node_modules/lodash-es/_DataView.mjs +7 -0
- package/dist/node_modules/lodash-es/_Hash.mjs +20 -0
- package/dist/node_modules/lodash-es/_ListCache.mjs +20 -0
- package/dist/node_modules/lodash-es/_Map.mjs +7 -0
- package/dist/node_modules/lodash-es/_MapCache.mjs +20 -0
- package/dist/node_modules/lodash-es/_Promise.mjs +7 -0
- package/dist/node_modules/lodash-es/_Set.mjs +7 -0
- package/dist/node_modules/lodash-es/_Stack.mjs +18 -0
- package/dist/node_modules/lodash-es/_Symbol.mjs +6 -0
- package/dist/node_modules/lodash-es/_Uint8Array.mjs +6 -0
- package/dist/node_modules/lodash-es/_WeakMap.mjs +7 -0
- package/dist/node_modules/lodash-es/_apply.mjs +16 -0
- package/dist/node_modules/lodash-es/_arrayEach.mjs +8 -0
- package/dist/node_modules/lodash-es/_arrayFilter.mjs +10 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.mjs +20 -0
- package/dist/node_modules/lodash-es/_arrayMap.mjs +8 -0
- package/dist/node_modules/lodash-es/_arrayPush.mjs +8 -0
- package/dist/node_modules/lodash-es/_assignMergeValue.mjs +8 -0
- package/dist/node_modules/lodash-es/_assignValue.mjs +10 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.mjs +10 -0
- package/dist/node_modules/lodash-es/_baseAssign.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.mjs +12 -0
- package/dist/node_modules/lodash-es/_baseAt.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseClone.mjs +65 -0
- package/dist/node_modules/lodash-es/_baseCreate.mjs +18 -0
- package/dist/node_modules/lodash-es/_baseFlatten.mjs +13 -0
- package/dist/node_modules/lodash-es/_baseFor.mjs +6 -0
- package/dist/node_modules/lodash-es/_baseGet.mjs +11 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseGetTag.mjs +10 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseIsMap.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseIsNative.mjs +16 -0
- package/dist/node_modules/lodash-es/_baseIsSet.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.mjs +12 -0
- package/dist/node_modules/lodash-es/_baseKeys.mjs +14 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.mjs +15 -0
- package/dist/node_modules/lodash-es/_baseMerge.mjs +20 -0
- package/dist/node_modules/lodash-es/_baseMergeDeep.mjs +31 -0
- package/dist/node_modules/lodash-es/_baseRest.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseSetToString.mjs +15 -0
- package/dist/node_modules/lodash-es/_baseSlice.mjs +10 -0
- package/dist/node_modules/lodash-es/_baseTimes.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseToString.mjs +18 -0
- package/dist/node_modules/lodash-es/_baseUnary.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseUnset.mjs +10 -0
- package/dist/node_modules/lodash-es/_castPath.mjs +10 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.mjs +11 -0
- package/dist/node_modules/lodash-es/_cloneDataView.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.mjs +8 -0
- package/dist/node_modules/lodash-es/_copyArray.mjs +9 -0
- package/dist/node_modules/lodash-es/_copyObject.mjs +14 -0
- package/dist/node_modules/lodash-es/_copySymbols.mjs +8 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.mjs +8 -0
- package/dist/node_modules/lodash-es/_coreJsData.mjs +6 -0
- package/dist/node_modules/lodash-es/_createAssigner.mjs +15 -0
- package/dist/node_modules/lodash-es/_createBaseFor.mjs +13 -0
- package/dist/node_modules/lodash-es/_customOmitClone.mjs +7 -0
- package/dist/node_modules/lodash-es/_defineProperty.mjs +12 -0
- package/dist/node_modules/lodash-es/_flatRest.mjs +9 -0
- package/dist/node_modules/lodash-es/_freeGlobal.mjs +5 -0
- package/dist/node_modules/lodash-es/_getAllKeys.mjs +9 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.mjs +9 -0
- package/dist/node_modules/lodash-es/_getMapData.mjs +8 -0
- package/dist/node_modules/lodash-es/_getNative.mjs +9 -0
- package/dist/node_modules/lodash-es/_getPrototype.mjs +6 -0
- package/dist/node_modules/lodash-es/_getRawTag.mjs +15 -0
- package/dist/node_modules/lodash-es/_getSymbols.mjs +11 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.mjs +13 -0
- package/dist/node_modules/lodash-es/_getTag.mjs +29 -0
- package/dist/node_modules/lodash-es/_getValue.mjs +6 -0
- package/dist/node_modules/lodash-es/_hashClear.mjs +7 -0
- package/dist/node_modules/lodash-es/_hashDelete.mjs +7 -0
- package/dist/node_modules/lodash-es/_hashGet.mjs +13 -0
- package/dist/node_modules/lodash-es/_hashHas.mjs +9 -0
- package/dist/node_modules/lodash-es/_hashSet.mjs +9 -0
- package/dist/node_modules/lodash-es/_initCloneArray.mjs +8 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.mjs +42 -0
- package/dist/node_modules/lodash-es/_initCloneObject.mjs +9 -0
- package/dist/node_modules/lodash-es/_isFlattenable.mjs +10 -0
- package/dist/node_modules/lodash-es/_isIndex.mjs +8 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.mjs +13 -0
- package/dist/node_modules/lodash-es/_isKey.mjs +12 -0
- package/dist/node_modules/lodash-es/_isKeyable.mjs +7 -0
- package/dist/node_modules/lodash-es/_isMasked.mjs +11 -0
- package/dist/node_modules/lodash-es/_isPrototype.mjs +8 -0
- package/dist/node_modules/lodash-es/_listCacheClear.mjs +6 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.mjs +12 -0
- package/dist/node_modules/lodash-es/_listCacheGet.mjs +8 -0
- package/dist/node_modules/lodash-es/_listCacheHas.mjs +7 -0
- package/dist/node_modules/lodash-es/_listCacheSet.mjs +8 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.mjs +13 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.mjs +8 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.mjs +7 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.mjs +7 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.mjs +8 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.mjs +11 -0
- package/dist/node_modules/lodash-es/_nativeCreate.mjs +6 -0
- package/dist/node_modules/lodash-es/_nativeKeys.mjs +6 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.mjs +10 -0
- package/dist/node_modules/lodash-es/_nodeUtil.mjs +12 -0
- package/dist/node_modules/lodash-es/_objectToString.mjs +7 -0
- package/dist/node_modules/lodash-es/_overArg.mjs +8 -0
- package/dist/node_modules/lodash-es/_overRest.mjs +15 -0
- package/dist/node_modules/lodash-es/_parent.mjs +8 -0
- package/dist/node_modules/lodash-es/_root.mjs +6 -0
- package/dist/node_modules/lodash-es/_safeGet.mjs +7 -0
- package/dist/node_modules/lodash-es/_setToString.mjs +7 -0
- package/dist/node_modules/lodash-es/_shortOut.mjs +16 -0
- package/dist/node_modules/lodash-es/_stackClear.mjs +7 -0
- package/dist/node_modules/lodash-es/_stackDelete.mjs +7 -0
- package/dist/node_modules/lodash-es/_stackGet.mjs +6 -0
- package/dist/node_modules/lodash-es/_stackHas.mjs +6 -0
- package/dist/node_modules/lodash-es/_stackSet.mjs +17 -0
- package/dist/node_modules/lodash-es/_stringToPath.mjs +11 -0
- package/dist/node_modules/lodash-es/_toKey.mjs +11 -0
- package/dist/node_modules/lodash-es/_toSource.mjs +17 -0
- package/dist/node_modules/lodash-es/at.mjs +7 -0
- package/dist/node_modules/lodash-es/constant.mjs +8 -0
- package/dist/node_modules/lodash-es/eq.mjs +6 -0
- package/dist/node_modules/lodash-es/flatten.mjs +8 -0
- package/dist/node_modules/lodash-es/get.mjs +8 -0
- package/dist/node_modules/lodash-es/identity.mjs +6 -0
- package/dist/node_modules/lodash-es/isArguments.mjs +11 -0
- package/dist/node_modules/lodash-es/isArray.mjs +5 -0
- package/dist/node_modules/lodash-es/isArrayLike.mjs +8 -0
- package/dist/node_modules/lodash-es/isArrayLikeObject.mjs +8 -0
- package/dist/node_modules/lodash-es/isBoolean.mjs +9 -0
- package/dist/node_modules/lodash-es/isBuffer.mjs +7 -0
- package/dist/node_modules/lodash-es/isFunction.mjs +12 -0
- package/dist/node_modules/lodash-es/isLength.mjs +7 -0
- package/dist/node_modules/lodash-es/isMap.mjs +8 -0
- package/dist/node_modules/lodash-es/isObject.mjs +7 -0
- package/dist/node_modules/lodash-es/isObjectLike.mjs +6 -0
- package/dist/node_modules/lodash-es/isPlainObject.mjs +16 -0
- package/dist/node_modules/lodash-es/isSet.mjs +8 -0
- package/dist/node_modules/lodash-es/isSymbol.mjs +9 -0
- package/dist/node_modules/lodash-es/isTypedArray.mjs +8 -0
- package/dist/node_modules/lodash-es/keys.mjs +9 -0
- package/dist/node_modules/lodash-es/keysIn.mjs +9 -0
- package/dist/node_modules/lodash-es/last.mjs +7 -0
- package/dist/node_modules/lodash-es/memoize.mjs +18 -0
- package/dist/node_modules/lodash-es/merge.mjs +9 -0
- package/dist/node_modules/lodash-es/omit.mjs +24 -0
- package/dist/node_modules/lodash-es/stubArray.mjs +6 -0
- package/dist/node_modules/lodash-es/stubFalse.mjs +6 -0
- package/dist/node_modules/lodash-es/toPlainObject.mjs +8 -0
- package/dist/node_modules/lodash-es/toString.mjs +7 -0
- package/dist/node_modules/normalize-wheel/index.mjs +7 -0
- package/dist/node_modules/normalize-wheel/src/ExecutionEnvironment.mjs +11 -0
- package/dist/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.mjs +142 -0
- package/dist/node_modules/normalize-wheel/src/isEventSupported.mjs +33 -0
- package/dist/node_modules/normalize-wheel/src/normalizeWheel.mjs +19 -0
- package/dist/node_modules/object-assign/index.mjs +55 -0
- package/dist/node_modules/preact/compat/dist/compat.module.mjs +202 -0
- package/dist/node_modules/preact/dist/preact.module.mjs +343 -0
- package/dist/node_modules/preact/hooks/dist/hooks.module.mjs +63 -0
- package/dist/node_modules/prop-types/checkPropTypes.mjs +55 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.mjs +53 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.mjs +330 -0
- package/dist/node_modules/prop-types/index.mjs +16 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +11 -0
- package/dist/node_modules/prop-types/lib/has.mjs +7 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.mjs +11 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.mjs +93 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/index.mjs +43 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Mask.mjs +25 -0
- package/dist/node_modules/rc-dialog/es/Dialog/index.mjs +114 -0
- package/dist/node_modules/rc-dialog/es/DialogWrap.mjs +32 -0
- package/dist/node_modules/rc-dialog/es/context.mjs +5 -0
- package/dist/node_modules/rc-dialog/es/index.mjs +6 -0
- package/dist/node_modules/rc-dialog/es/util.mjs +23 -0
- package/dist/node_modules/rc-field-form/es/Field.mjs +300 -0
- package/dist/node_modules/rc-field-form/es/FieldContext.mjs +41 -0
- package/dist/node_modules/rc-field-form/es/Form.mjs +78 -0
- package/dist/node_modules/rc-field-form/es/FormContext.mjs +46 -0
- package/dist/node_modules/rc-field-form/es/List.mjs +82 -0
- package/dist/node_modules/rc-field-form/es/ListContext.mjs +5 -0
- package/dist/node_modules/rc-field-form/es/index.mjs +22 -0
- package/dist/node_modules/rc-field-form/es/useForm.mjs +541 -0
- package/dist/node_modules/rc-field-form/es/useWatch.mjs +53 -0
- package/dist/node_modules/rc-field-form/es/utils/NameMap.mjs +66 -0
- package/dist/node_modules/rc-field-form/es/utils/asyncUtil.mjs +15 -0
- package/dist/node_modules/rc-field-form/es/utils/messages.mjs +50 -0
- package/dist/node_modules/rc-field-form/es/utils/typeUtil.mjs +10 -0
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.mjs +203 -0
- package/dist/node_modules/rc-field-form/es/utils/valueUtil.mjs +60 -0
- package/dist/node_modules/rc-motion/es/CSSMotion.mjs +73 -0
- package/dist/node_modules/rc-motion/es/CSSMotionList.mjs +95 -0
- package/dist/node_modules/rc-motion/es/DomWrapper.mjs +21 -0
- package/dist/node_modules/rc-motion/es/context.mjs +13 -0
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.mjs +20 -0
- package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.mjs +6 -0
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.mjs +28 -0
- package/dist/node_modules/rc-motion/es/hooks/useStatus.mjs +91 -0
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.mjs +38 -0
- package/dist/node_modules/rc-motion/es/index.mjs +7 -0
- package/dist/node_modules/rc-motion/es/interface.mjs +13 -0
- package/dist/node_modules/rc-motion/es/util/diff.mjs +65 -0
- package/dist/node_modules/rc-motion/es/util/motion.mjs +51 -0
- package/dist/node_modules/rc-pagination/es/locale/en_US.mjs +18 -0
- package/dist/node_modules/rc-pagination/lib/locale/en_US.mjs +21 -0
- package/dist/node_modules/rc-picker/es/locale/common.mjs +9 -0
- package/dist/node_modules/rc-picker/es/locale/en_US.mjs +31 -0
- package/dist/node_modules/rc-picker/lib/locale/common.mjs +14 -0
- package/dist/node_modules/rc-picker/lib/locale/en_US.mjs +37 -0
- package/dist/node_modules/rc-progress/es/Circle/PtgCircle.mjs +52 -0
- package/dist/node_modules/rc-progress/es/Circle/index.mjs +83 -0
- package/dist/node_modules/rc-progress/es/Circle/util.mjs +23 -0
- package/dist/node_modules/rc-progress/es/Line.mjs +3 -0
- package/dist/node_modules/rc-progress/es/common.mjs +27 -0
- package/dist/node_modules/rc-progress/es/hooks/useId.mjs +18 -0
- package/dist/node_modules/rc-resize-observer/es/Collection.mjs +22 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.mjs +21 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.mjs +59 -0
- package/dist/node_modules/rc-resize-observer/es/index.mjs +24 -0
- package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.mjs +23 -0
- package/dist/node_modules/rc-slider/es/Handles/Handle.mjs +103 -0
- package/dist/node_modules/rc-slider/es/Handles/index.mjs +69 -0
- package/dist/node_modules/rc-slider/es/Marks/Mark.mjs +22 -0
- package/dist/node_modules/rc-slider/es/Marks/index.mjs +20 -0
- package/dist/node_modules/rc-slider/es/Slider.mjs +225 -0
- package/dist/node_modules/rc-slider/es/Steps/Dot.mjs +16 -0
- package/dist/node_modules/rc-slider/es/Steps/index.mjs +28 -0
- package/dist/node_modules/rc-slider/es/Tracks/Track.mjs +34 -0
- package/dist/node_modules/rc-slider/es/Tracks/index.mjs +50 -0
- package/dist/node_modules/rc-slider/es/context.mjs +17 -0
- package/dist/node_modules/rc-slider/es/hooks/useDrag.mjs +104 -0
- package/dist/node_modules/rc-slider/es/hooks/useOffset.mjs +104 -0
- package/dist/node_modules/rc-slider/es/hooks/useRange.mjs +13 -0
- package/dist/node_modules/rc-slider/es/index.mjs +5 -0
- package/dist/node_modules/rc-slider/es/util.mjs +29 -0
- package/dist/node_modules/rc-tooltip/es/Popup.mjs +17 -0
- package/dist/node_modules/rc-tooltip/es/Tooltip.mjs +52 -0
- package/dist/node_modules/rc-tooltip/es/index.mjs +6 -0
- package/dist/node_modules/rc-tooltip/es/placements.mjs +84 -0
- package/dist/node_modules/rc-upload/es/AjaxUploader.mjs +284 -0
- package/dist/node_modules/rc-upload/es/Upload.mjs +57 -0
- package/dist/node_modules/rc-upload/es/attr-accept.mjs +22 -0
- package/dist/node_modules/rc-upload/es/index.mjs +4 -0
- package/dist/node_modules/rc-upload/es/request.mjs +46 -0
- package/dist/node_modules/rc-upload/es/traverseFileTree.mjs +137 -0
- package/dist/node_modules/rc-upload/es/uid.mjs +7 -0
- package/dist/node_modules/rc-util/es/Children/toArray.mjs +11 -0
- package/dist/node_modules/rc-util/es/Dom/canUseDom.mjs +6 -0
- package/dist/node_modules/rc-util/es/Dom/contains.mjs +15 -0
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.mjs +87 -0
- package/dist/node_modules/rc-util/es/Dom/findDOMNode.mjs +24 -0
- package/dist/node_modules/rc-util/es/Dom/isVisible.mjs +22 -0
- package/dist/node_modules/rc-util/es/Dom/shadow.mjs +14 -0
- package/dist/node_modules/rc-util/es/KeyCode.mjs +517 -0
- package/dist/node_modules/rc-util/es/React/render.mjs +81 -0
- package/dist/node_modules/rc-util/es/getScrollBarSize.mjs +38 -0
- package/dist/node_modules/rc-util/es/hooks/useEvent.mjs +14 -0
- package/dist/node_modules/rc-util/es/hooks/useId.mjs +27 -0
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.mjs +21 -0
- package/dist/node_modules/rc-util/es/hooks/useMemo.mjs +8 -0
- package/dist/node_modules/rc-util/es/hooks/useMergedState.mjs +25 -0
- package/dist/node_modules/rc-util/es/hooks/useState.mjs +17 -0
- package/dist/node_modules/rc-util/es/hooks/useSyncState.mjs +16 -0
- package/dist/node_modules/rc-util/es/isEqual.mjs +35 -0
- package/dist/node_modules/rc-util/es/isMobile.mjs +9 -0
- package/dist/node_modules/rc-util/es/omit.mjs +9 -0
- package/dist/node_modules/rc-util/es/pickAttrs.mjs +42 -0
- package/dist/node_modules/rc-util/es/raf.mjs +40 -0
- package/dist/node_modules/rc-util/es/ref.mjs +39 -0
- package/dist/node_modules/rc-util/es/utils/get.mjs +11 -0
- package/dist/node_modules/rc-util/es/utils/set.mjs +47 -0
- package/dist/node_modules/rc-util/es/warning.mjs +44 -0
- package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.mjs +103 -0
- package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
- package/dist/node_modules/rc-util/node_modules/react-is/index.mjs +8 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +616 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +32 -0
- package/dist/node_modules/react/jsx-runtime.mjs +8 -0
- package/dist/node_modules/react-device-detect/dist/lib.mjs +721 -0
- package/dist/node_modules/react-dom/client.mjs +26 -0
- package/dist/node_modules/react-draggable/build/cjs/Draggable.mjs +343 -0
- package/dist/node_modules/react-draggable/build/cjs/DraggableCore.mjs +324 -0
- package/dist/node_modules/react-draggable/build/cjs/cjs.mjs +14 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/domFns.mjs +174 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +35 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/log.mjs +7 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +107 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/shims.mjs +30 -0
- package/dist/node_modules/react-draggable/node_modules/clsx/dist/clsx.m.mjs +22 -0
- package/dist/node_modules/react-easy-crop/index.module.mjs +543 -0
- package/dist/node_modules/react-i18next/dist/es/context.mjs +19 -0
- package/dist/node_modules/react-i18next/dist/es/defaults.mjs +17 -0
- package/dist/node_modules/react-i18next/dist/es/i18nInstance.mjs +7 -0
- package/dist/node_modules/react-i18next/dist/es/unescape.mjs +25 -0
- package/dist/node_modules/react-i18next/dist/es/useTranslation.mjs +74 -0
- package/dist/node_modules/react-i18next/dist/es/utils.mjs +61 -0
- package/dist/node_modules/react-is/cjs/react-is.development.mjs +95 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.mjs +79 -0
- package/dist/node_modules/react-is/index.mjs +10 -0
- package/dist/node_modules/react-resizable/build/Resizable.mjs +201 -0
- package/dist/node_modules/react-resizable/build/ResizableBox.mjs +162 -0
- package/dist/node_modules/react-resizable/build/propTypes.mjs +118 -0
- package/dist/node_modules/react-resizable/build/utils.mjs +54 -0
- package/dist/node_modules/react-resizable/index.mjs +13 -0
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +290 -0
- package/dist/node_modules/screenfull/index.mjs +122 -0
- package/dist/node_modules/stylis/src/Enum.mjs +12 -0
- package/dist/node_modules/stylis/src/Middleware.mjs +18 -0
- package/dist/node_modules/stylis/src/Parser.mjs +114 -0
- package/dist/node_modules/stylis/src/Serializer.mjs +28 -0
- package/dist/node_modules/stylis/src/Tokenizer.mjs +131 -0
- package/dist/node_modules/stylis/src/Utility.mjs +50 -0
- package/dist/node_modules/throttle-debounce/esm/index.mjs +35 -0
- package/dist/node_modules/toggle-selection/index.mjs +25 -0
- package/dist/node_modules/tslib/tslib.es6.mjs +97 -0
- package/dist/node_modules/ua-parser-js/dist/ua-parser.min.mjs +86 -0
- package/dist/node_modules/use-immer/dist/use-immer.module.mjs +13 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +61 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +60 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +85 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +50 -0
- package/dist/node_modules/use-sync-external-store/shim/index.mjs +10 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.mjs +10 -0
- package/dist/node_modules/zustand/esm/index.mjs +24 -0
- package/dist/node_modules/zustand/esm/vanilla.mjs +16 -0
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +13 -13
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import y from "../../../rc-util/es/hooks/useState.mjs";
|
|
3
|
+
import O from "../button/button.mjs";
|
|
4
|
+
import { convertLegacyProps as P } from "../button/buttonHelpers.mjs";
|
|
5
|
+
function f(r) {
|
|
6
|
+
return !!(r != null && r.then);
|
|
7
|
+
}
|
|
8
|
+
const x = (r) => {
|
|
9
|
+
const {
|
|
10
|
+
type: d,
|
|
11
|
+
children: m,
|
|
12
|
+
prefixCls: p,
|
|
13
|
+
buttonProps: v,
|
|
14
|
+
close: u,
|
|
15
|
+
autoFocus: g,
|
|
16
|
+
emitEvent: R,
|
|
17
|
+
isSilent: s,
|
|
18
|
+
quitOnNullishReturnValue: h,
|
|
19
|
+
actionFn: o
|
|
20
|
+
} = r, n = l.useRef(!1), a = l.useRef(null), [C, c] = y(!1), i = function() {
|
|
21
|
+
u == null || u.apply(void 0, arguments);
|
|
22
|
+
};
|
|
23
|
+
l.useEffect(() => {
|
|
24
|
+
let t = null;
|
|
25
|
+
return g && (t = setTimeout(() => {
|
|
26
|
+
var e;
|
|
27
|
+
(e = a.current) === null || e === void 0 || e.focus();
|
|
28
|
+
})), () => {
|
|
29
|
+
t && clearTimeout(t);
|
|
30
|
+
};
|
|
31
|
+
}, []);
|
|
32
|
+
const b = (t) => {
|
|
33
|
+
f(t) && (c(!0), t.then(function() {
|
|
34
|
+
c(!1, !0), i.apply(void 0, arguments), n.current = !1;
|
|
35
|
+
}, (e) => {
|
|
36
|
+
if (c(!1, !0), n.current = !1, !(s != null && s()))
|
|
37
|
+
return Promise.reject(e);
|
|
38
|
+
}));
|
|
39
|
+
}, k = (t) => {
|
|
40
|
+
if (n.current)
|
|
41
|
+
return;
|
|
42
|
+
if (n.current = !0, !o) {
|
|
43
|
+
i();
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
let e;
|
|
47
|
+
if (R) {
|
|
48
|
+
if (e = o(t), h && !f(e)) {
|
|
49
|
+
n.current = !1, i(t);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
} else if (o.length)
|
|
53
|
+
e = o(u), n.current = !1;
|
|
54
|
+
else if (e = o(), !f(e)) {
|
|
55
|
+
i();
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
b(e);
|
|
59
|
+
};
|
|
60
|
+
return /* @__PURE__ */ l.createElement(O, Object.assign({}, P(d), {
|
|
61
|
+
onClick: k,
|
|
62
|
+
loading: C,
|
|
63
|
+
prefixCls: p
|
|
64
|
+
}, v, {
|
|
65
|
+
ref: a
|
|
66
|
+
}), m);
|
|
67
|
+
}, T = x;
|
|
68
|
+
export {
|
|
69
|
+
T as default
|
|
70
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import r from "react";
|
|
2
|
+
import { NoFormStyle as u } from "../form/context.mjs";
|
|
3
|
+
import { NoCompactStyle as a } from "../space/Compact.mjs";
|
|
4
|
+
const m = (o) => {
|
|
5
|
+
const {
|
|
6
|
+
space: l,
|
|
7
|
+
form: n,
|
|
8
|
+
children: e
|
|
9
|
+
} = o;
|
|
10
|
+
if (e == null)
|
|
11
|
+
return null;
|
|
12
|
+
let t = e;
|
|
13
|
+
return n && (t = /* @__PURE__ */ r.createElement(u, {
|
|
14
|
+
override: !0,
|
|
15
|
+
status: !0
|
|
16
|
+
}, t)), l && (t = /* @__PURE__ */ r.createElement(a, null, t)), t;
|
|
17
|
+
}, i = m;
|
|
18
|
+
export {
|
|
19
|
+
i as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import "../../../rc-util/es/hooks/useLayoutEffect.mjs";
|
|
3
|
+
import o from "../config-provider/index.mjs";
|
|
4
|
+
function i(t) {
|
|
5
|
+
return (r) => /* @__PURE__ */ e.createElement(o, {
|
|
6
|
+
theme: {
|
|
7
|
+
token: {
|
|
8
|
+
motion: !1,
|
|
9
|
+
zIndexPopupBase: 0
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}, /* @__PURE__ */ e.createElement(t, Object.assign({}, r)));
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
i as withPureRenderTheme
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import n from "../../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
2
|
+
import { PresetColors as r } from "../theme/interface/presetColors.mjs";
|
|
3
|
+
const t = r.map((e) => `${e}-inverse`);
|
|
4
|
+
function i(e) {
|
|
5
|
+
return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0) ? [].concat(n(t), n(r)).includes(e) : r.includes(e);
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
i as isPresetColor
|
|
9
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import r from "react";
|
|
2
|
+
import b from "../../../../@ant-design/icons/es/icons/CloseOutlined.mjs";
|
|
3
|
+
import C from "../../../../rc-util/es/pickAttrs.mjs";
|
|
4
|
+
function h(o) {
|
|
5
|
+
if (o)
|
|
6
|
+
return {
|
|
7
|
+
closable: o.closable,
|
|
8
|
+
closeIcon: o.closeIcon
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function m(o) {
|
|
12
|
+
const {
|
|
13
|
+
closable: l,
|
|
14
|
+
closeIcon: n
|
|
15
|
+
} = o || {};
|
|
16
|
+
return r.useMemo(() => {
|
|
17
|
+
if (
|
|
18
|
+
// If `closable`, whatever rest be should be true
|
|
19
|
+
!l && (l === !1 || n === !1 || n === null)
|
|
20
|
+
)
|
|
21
|
+
return !1;
|
|
22
|
+
if (l === void 0 && n === void 0)
|
|
23
|
+
return null;
|
|
24
|
+
let e = {
|
|
25
|
+
closeIcon: typeof n != "boolean" && n !== null ? n : void 0
|
|
26
|
+
};
|
|
27
|
+
return l && typeof l == "object" && (e = Object.assign(Object.assign({}, e), l)), e;
|
|
28
|
+
}, [l, n]);
|
|
29
|
+
}
|
|
30
|
+
function g() {
|
|
31
|
+
const o = {};
|
|
32
|
+
for (var l = arguments.length, n = new Array(l), e = 0; e < l; e++)
|
|
33
|
+
n[e] = arguments[e];
|
|
34
|
+
return n.forEach((s) => {
|
|
35
|
+
s && Object.keys(s).forEach((a) => {
|
|
36
|
+
s[a] !== void 0 && (o[a] = s[a]);
|
|
37
|
+
});
|
|
38
|
+
}), o;
|
|
39
|
+
}
|
|
40
|
+
const p = {};
|
|
41
|
+
function M(o, l) {
|
|
42
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : p;
|
|
43
|
+
const e = m(o), s = m(l), a = typeof e != "boolean" ? !!(e != null && e.disabled) : !1, c = r.useMemo(() => Object.assign({
|
|
44
|
+
closeIcon: /* @__PURE__ */ r.createElement(b, null)
|
|
45
|
+
}, n), [n]), f = r.useMemo(() => e === !1 ? !1 : e ? g(c, s, e) : s === !1 ? !1 : s ? g(c, s) : c.closable ? c : !1, [e, s, c]);
|
|
46
|
+
return r.useMemo(() => {
|
|
47
|
+
if (f === !1)
|
|
48
|
+
return [!1, null, a];
|
|
49
|
+
const {
|
|
50
|
+
closeIconRender: u
|
|
51
|
+
} = c, {
|
|
52
|
+
closeIcon: d
|
|
53
|
+
} = f;
|
|
54
|
+
let t = d;
|
|
55
|
+
if (t != null) {
|
|
56
|
+
u && (t = u(d));
|
|
57
|
+
const i = C(f, !0);
|
|
58
|
+
Object.keys(i).length && (t = /* @__PURE__ */ r.isValidElement(t) ? /* @__PURE__ */ r.cloneElement(t, i) : /* @__PURE__ */ r.createElement("span", Object.assign({}, i), t));
|
|
59
|
+
}
|
|
60
|
+
return [!0, t, a];
|
|
61
|
+
}, [f, c]);
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
M as default,
|
|
65
|
+
h as pickClosable
|
|
66
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import c from "../../../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
function m() {
|
|
4
|
+
const [n, e] = r.useState([]), o = r.useCallback((a) => (e((t) => [].concat(c(t), [a])), () => {
|
|
5
|
+
e((t) => t.filter((s) => s !== a));
|
|
6
|
+
}), []);
|
|
7
|
+
return [n, o];
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
m as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import f from "react";
|
|
2
|
+
import p from "../../theme/useToken.mjs";
|
|
3
|
+
import { devUseWarning as I } from "../warning.mjs";
|
|
4
|
+
import N from "../zindexContext.mjs";
|
|
5
|
+
const e = 100, _ = 10, x = e * _, E = x + e, d = {
|
|
6
|
+
Modal: e,
|
|
7
|
+
Drawer: e,
|
|
8
|
+
Popover: e,
|
|
9
|
+
Popconfirm: e,
|
|
10
|
+
Tooltip: e,
|
|
11
|
+
Tour: e,
|
|
12
|
+
FloatButton: e
|
|
13
|
+
}, O = {
|
|
14
|
+
SelectLike: 50,
|
|
15
|
+
Dropdown: 50,
|
|
16
|
+
DatePicker: 50,
|
|
17
|
+
Menu: 50,
|
|
18
|
+
ImagePreview: 1
|
|
19
|
+
};
|
|
20
|
+
function l(n) {
|
|
21
|
+
return n in d;
|
|
22
|
+
}
|
|
23
|
+
const m = (n, t) => {
|
|
24
|
+
const [, i] = p(), r = f.useContext(N), a = l(n);
|
|
25
|
+
let s;
|
|
26
|
+
if (t !== void 0)
|
|
27
|
+
s = [t, t];
|
|
28
|
+
else {
|
|
29
|
+
let o = r ?? 0;
|
|
30
|
+
a ? o += // Use preset token zIndex by default but not stack when has parent container
|
|
31
|
+
(r ? 0 : i.zIndexPopupBase) + // Container offset
|
|
32
|
+
d[n] : o += O[n], s = [r === void 0 ? t : o, o];
|
|
33
|
+
}
|
|
34
|
+
if (process.env.NODE_ENV !== "production") {
|
|
35
|
+
const o = I(n), u = i.zIndexPopupBase + E, c = s[0] || 0;
|
|
36
|
+
process.env.NODE_ENV !== "production" && o(t !== void 0 || c <= u, "usage", "`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.");
|
|
37
|
+
}
|
|
38
|
+
return s;
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
x as CONTAINER_MAX_OFFSET,
|
|
42
|
+
O as consumerBaseZIndexOffset,
|
|
43
|
+
d as containerBaseZIndexOffset,
|
|
44
|
+
m as useZIndex
|
|
45
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import "../config-provider/index.mjs";
|
|
2
|
+
import { defaultPrefixCls as a } from "../config-provider/context.mjs";
|
|
3
|
+
const n = () => ({
|
|
4
|
+
height: 0,
|
|
5
|
+
opacity: 0
|
|
6
|
+
}), r = (t) => {
|
|
7
|
+
const {
|
|
8
|
+
scrollHeight: e
|
|
9
|
+
} = t;
|
|
10
|
+
return {
|
|
11
|
+
height: e,
|
|
12
|
+
opacity: 1
|
|
13
|
+
};
|
|
14
|
+
}, s = (t) => ({
|
|
15
|
+
height: t ? t.offsetHeight : 0
|
|
16
|
+
}), o = (t, e) => (e == null ? void 0 : e.deadline) === !0 || e.propertyName === "height", g = function() {
|
|
17
|
+
return {
|
|
18
|
+
motionName: `${arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : a}-motion-collapse`,
|
|
19
|
+
onAppearStart: n,
|
|
20
|
+
onEnterStart: n,
|
|
21
|
+
onAppearActive: r,
|
|
22
|
+
onEnterActive: r,
|
|
23
|
+
onLeaveStart: s,
|
|
24
|
+
onLeaveActive: n,
|
|
25
|
+
onAppearEnd: o,
|
|
26
|
+
onEnterEnd: o,
|
|
27
|
+
onLeaveEnd: o,
|
|
28
|
+
motionDeadline: 500
|
|
29
|
+
};
|
|
30
|
+
}, c = (t, e, i) => i !== void 0 ? i : `${t}-${e}`;
|
|
31
|
+
export {
|
|
32
|
+
g as default,
|
|
33
|
+
c as getTransitionName
|
|
34
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { getArrowOffsetToken as m } from "../style/placementArrow.mjs";
|
|
2
|
+
function g(l, a, n, s) {
|
|
3
|
+
if (s === !1)
|
|
4
|
+
return {
|
|
5
|
+
adjustX: !1,
|
|
6
|
+
adjustY: !1
|
|
7
|
+
};
|
|
8
|
+
const f = s && typeof s == "object" ? s : {}, o = {};
|
|
9
|
+
switch (l) {
|
|
10
|
+
case "top":
|
|
11
|
+
case "bottom":
|
|
12
|
+
o.shiftX = a.arrowOffsetHorizontal * 2 + n, o.shiftY = !0, o.adjustY = !0;
|
|
13
|
+
break;
|
|
14
|
+
case "left":
|
|
15
|
+
case "right":
|
|
16
|
+
o.shiftY = a.arrowOffsetVertical * 2 + n, o.shiftX = !0, o.adjustX = !0;
|
|
17
|
+
break;
|
|
18
|
+
}
|
|
19
|
+
const r = Object.assign(Object.assign({}, o), f);
|
|
20
|
+
return r.shiftX || (r.adjustX = !0), r.shiftY || (r.adjustY = !0), r;
|
|
21
|
+
}
|
|
22
|
+
const b = {
|
|
23
|
+
left: {
|
|
24
|
+
points: ["cr", "cl"]
|
|
25
|
+
},
|
|
26
|
+
right: {
|
|
27
|
+
points: ["cl", "cr"]
|
|
28
|
+
},
|
|
29
|
+
top: {
|
|
30
|
+
points: ["bc", "tc"]
|
|
31
|
+
},
|
|
32
|
+
bottom: {
|
|
33
|
+
points: ["tc", "bc"]
|
|
34
|
+
},
|
|
35
|
+
topLeft: {
|
|
36
|
+
points: ["bl", "tl"]
|
|
37
|
+
},
|
|
38
|
+
leftTop: {
|
|
39
|
+
points: ["tr", "tl"]
|
|
40
|
+
},
|
|
41
|
+
topRight: {
|
|
42
|
+
points: ["br", "tr"]
|
|
43
|
+
},
|
|
44
|
+
rightTop: {
|
|
45
|
+
points: ["tl", "tr"]
|
|
46
|
+
},
|
|
47
|
+
bottomRight: {
|
|
48
|
+
points: ["tr", "br"]
|
|
49
|
+
},
|
|
50
|
+
rightBottom: {
|
|
51
|
+
points: ["bl", "br"]
|
|
52
|
+
},
|
|
53
|
+
bottomLeft: {
|
|
54
|
+
points: ["tl", "bl"]
|
|
55
|
+
},
|
|
56
|
+
leftBottom: {
|
|
57
|
+
points: ["br", "bl"]
|
|
58
|
+
}
|
|
59
|
+
}, u = {
|
|
60
|
+
topLeft: {
|
|
61
|
+
points: ["bl", "tc"]
|
|
62
|
+
},
|
|
63
|
+
leftTop: {
|
|
64
|
+
points: ["tr", "cl"]
|
|
65
|
+
},
|
|
66
|
+
topRight: {
|
|
67
|
+
points: ["br", "tc"]
|
|
68
|
+
},
|
|
69
|
+
rightTop: {
|
|
70
|
+
points: ["tl", "cr"]
|
|
71
|
+
},
|
|
72
|
+
bottomRight: {
|
|
73
|
+
points: ["tr", "bc"]
|
|
74
|
+
},
|
|
75
|
+
rightBottom: {
|
|
76
|
+
points: ["bl", "cr"]
|
|
77
|
+
},
|
|
78
|
+
bottomLeft: {
|
|
79
|
+
points: ["tl", "bc"]
|
|
80
|
+
},
|
|
81
|
+
leftBottom: {
|
|
82
|
+
points: ["br", "cl"]
|
|
83
|
+
}
|
|
84
|
+
}, w = /* @__PURE__ */ new Set(["topLeft", "topRight", "bottomLeft", "bottomRight", "leftTop", "leftBottom", "rightTop", "rightBottom"]);
|
|
85
|
+
function R(l) {
|
|
86
|
+
const {
|
|
87
|
+
arrowWidth: a,
|
|
88
|
+
autoAdjustOverflow: n,
|
|
89
|
+
arrowPointAtCenter: s,
|
|
90
|
+
offset: f,
|
|
91
|
+
borderRadius: o,
|
|
92
|
+
visibleFirst: r
|
|
93
|
+
} = l, e = a / 2, p = {};
|
|
94
|
+
return Object.keys(b).forEach((i) => {
|
|
95
|
+
const h = s && u[i] || b[i], t = Object.assign(Object.assign({}, h), {
|
|
96
|
+
offset: [0, 0],
|
|
97
|
+
dynamicInset: !0
|
|
98
|
+
});
|
|
99
|
+
switch (p[i] = t, w.has(i) && (t.autoArrow = !1), i) {
|
|
100
|
+
case "top":
|
|
101
|
+
case "topLeft":
|
|
102
|
+
case "topRight":
|
|
103
|
+
t.offset[1] = -e - f;
|
|
104
|
+
break;
|
|
105
|
+
case "bottom":
|
|
106
|
+
case "bottomLeft":
|
|
107
|
+
case "bottomRight":
|
|
108
|
+
t.offset[1] = e + f;
|
|
109
|
+
break;
|
|
110
|
+
case "left":
|
|
111
|
+
case "leftTop":
|
|
112
|
+
case "leftBottom":
|
|
113
|
+
t.offset[0] = -e - f;
|
|
114
|
+
break;
|
|
115
|
+
case "right":
|
|
116
|
+
case "rightTop":
|
|
117
|
+
case "rightBottom":
|
|
118
|
+
t.offset[0] = e + f;
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
const c = m({
|
|
122
|
+
contentRadius: o,
|
|
123
|
+
limitVerticalRadius: !0
|
|
124
|
+
});
|
|
125
|
+
if (s)
|
|
126
|
+
switch (i) {
|
|
127
|
+
case "topLeft":
|
|
128
|
+
case "bottomLeft":
|
|
129
|
+
t.offset[0] = -c.arrowOffsetHorizontal - e;
|
|
130
|
+
break;
|
|
131
|
+
case "topRight":
|
|
132
|
+
case "bottomRight":
|
|
133
|
+
t.offset[0] = c.arrowOffsetHorizontal + e;
|
|
134
|
+
break;
|
|
135
|
+
case "leftTop":
|
|
136
|
+
case "rightTop":
|
|
137
|
+
t.offset[1] = -c.arrowOffsetHorizontal * 2 + e;
|
|
138
|
+
break;
|
|
139
|
+
case "leftBottom":
|
|
140
|
+
case "rightBottom":
|
|
141
|
+
t.offset[1] = c.arrowOffsetHorizontal * 2 - e;
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
t.overflow = g(i, c, a, n), r && (t.htmlRegion = "visibleFirst");
|
|
145
|
+
}), p;
|
|
146
|
+
}
|
|
147
|
+
export {
|
|
148
|
+
R as default,
|
|
149
|
+
g as getOverflowOptions
|
|
150
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import n from "react";
|
|
2
|
+
function u(t) {
|
|
3
|
+
return t && /* @__PURE__ */ n.isValidElement(t) && t.type === n.Fragment;
|
|
4
|
+
}
|
|
5
|
+
const o = (t, e, r) => /* @__PURE__ */ n.isValidElement(t) ? /* @__PURE__ */ n.cloneElement(t, typeof r == "function" ? r(t.props || {}) : r) : e;
|
|
6
|
+
function a(t, e) {
|
|
7
|
+
return o(t, t, e);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
a as cloneElement,
|
|
11
|
+
u as isFragment,
|
|
12
|
+
o as replaceElement
|
|
13
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
import { warningOnce as u, resetWarned as f } from "../../../rc-util/es/warning.mjs";
|
|
3
|
+
function p() {
|
|
4
|
+
}
|
|
5
|
+
let n = null;
|
|
6
|
+
function l() {
|
|
7
|
+
n = null, f();
|
|
8
|
+
}
|
|
9
|
+
let d = p;
|
|
10
|
+
process.env.NODE_ENV !== "production" && (d = (e, a, t) => {
|
|
11
|
+
u(e, `[antd: ${a}] ${t}`), process.env.NODE_ENV === "test" && l();
|
|
12
|
+
});
|
|
13
|
+
const W = /* @__PURE__ */ c.createContext({}), N = process.env.NODE_ENV !== "production" ? (e) => {
|
|
14
|
+
const {
|
|
15
|
+
strict: a
|
|
16
|
+
} = c.useContext(W), t = (s, o, r) => {
|
|
17
|
+
if (!s)
|
|
18
|
+
if (a === !1 && o === "deprecated") {
|
|
19
|
+
const i = n;
|
|
20
|
+
n || (n = {}), n[e] = n[e] || [], n[e].includes(r || "") || n[e].push(r || ""), i || console.warn("[antd] There exists deprecated usage in your code:", n);
|
|
21
|
+
} else
|
|
22
|
+
process.env.NODE_ENV !== "production" && d(s, e, r);
|
|
23
|
+
};
|
|
24
|
+
return t.deprecated = (s, o, r, i) => {
|
|
25
|
+
t(s, "deprecated", `\`${o}\` is deprecated. Please use \`${r}\` instead.${i ? ` ${i}` : ""}`);
|
|
26
|
+
}, t;
|
|
27
|
+
} : () => {
|
|
28
|
+
const e = () => {
|
|
29
|
+
};
|
|
30
|
+
return e.deprecated = p, e;
|
|
31
|
+
}, $ = d;
|
|
32
|
+
export {
|
|
33
|
+
W as WarningContext,
|
|
34
|
+
$ as default,
|
|
35
|
+
N as devUseWarning,
|
|
36
|
+
p as noop,
|
|
37
|
+
l as resetWarned
|
|
38
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as s from "react";
|
|
2
|
+
import z from "../../../../classnames/index.mjs";
|
|
3
|
+
import A from "../../../../rc-motion/es/CSSMotion.mjs";
|
|
4
|
+
import "../../../../rc-motion/es/CSSMotionList.mjs";
|
|
5
|
+
import p from "../../../../rc-util/es/raf.mjs";
|
|
6
|
+
import { render as F, unmount as j } from "../../../../rc-util/es/React/render.mjs";
|
|
7
|
+
import { composeRef as q } from "../../../../rc-util/es/ref.mjs";
|
|
8
|
+
import { TARGET_CLS as H } from "./interface.mjs";
|
|
9
|
+
import { getTargetWaveColor as $ } from "./util.mjs";
|
|
10
|
+
function d(t) {
|
|
11
|
+
return Number.isNaN(t) ? 0 : t;
|
|
12
|
+
}
|
|
13
|
+
const D = (t) => {
|
|
14
|
+
const {
|
|
15
|
+
className: l,
|
|
16
|
+
target: e,
|
|
17
|
+
component: c
|
|
18
|
+
} = t, i = s.useRef(null), [f, v] = s.useState(null), [b, h] = s.useState([]), [R, S] = s.useState(0), [y, E] = s.useState(0), [N, C] = s.useState(0), [w, W] = s.useState(0), [T, L] = s.useState(!1), u = {
|
|
19
|
+
left: R,
|
|
20
|
+
top: y,
|
|
21
|
+
width: N,
|
|
22
|
+
height: w,
|
|
23
|
+
borderRadius: b.map((r) => `${r}px`).join(" ")
|
|
24
|
+
};
|
|
25
|
+
f && (u["--wave-color"] = f);
|
|
26
|
+
function m() {
|
|
27
|
+
const r = getComputedStyle(e);
|
|
28
|
+
v($(e));
|
|
29
|
+
const o = r.position === "static", {
|
|
30
|
+
borderLeftWidth: n,
|
|
31
|
+
borderTopWidth: a
|
|
32
|
+
} = r;
|
|
33
|
+
S(o ? e.offsetLeft : d(-parseFloat(n))), E(o ? e.offsetTop : d(-parseFloat(a))), C(e.offsetWidth), W(e.offsetHeight);
|
|
34
|
+
const {
|
|
35
|
+
borderTopLeftRadius: g,
|
|
36
|
+
borderTopRightRadius: k,
|
|
37
|
+
borderBottomLeftRadius: B,
|
|
38
|
+
borderBottomRightRadius: O
|
|
39
|
+
} = r;
|
|
40
|
+
h([g, k, O, B].map((_) => d(parseFloat(_))));
|
|
41
|
+
}
|
|
42
|
+
if (s.useEffect(() => {
|
|
43
|
+
if (e) {
|
|
44
|
+
const r = p(() => {
|
|
45
|
+
m(), L(!0);
|
|
46
|
+
});
|
|
47
|
+
let o;
|
|
48
|
+
return typeof ResizeObserver < "u" && (o = new ResizeObserver(m), o.observe(e)), () => {
|
|
49
|
+
p.cancel(r), o == null || o.disconnect();
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}, []), !T)
|
|
53
|
+
return null;
|
|
54
|
+
const x = (c === "Checkbox" || c === "Radio") && (e == null ? void 0 : e.classList.contains(H));
|
|
55
|
+
return /* @__PURE__ */ s.createElement(A, {
|
|
56
|
+
visible: !0,
|
|
57
|
+
motionAppear: !0,
|
|
58
|
+
motionName: "wave-motion",
|
|
59
|
+
motionDeadline: 5e3,
|
|
60
|
+
onAppearEnd: (r, o) => {
|
|
61
|
+
var n;
|
|
62
|
+
if (o.deadline || o.propertyName === "opacity") {
|
|
63
|
+
const a = (n = i.current) === null || n === void 0 ? void 0 : n.parentElement;
|
|
64
|
+
j(a).then(() => {
|
|
65
|
+
a == null || a.remove();
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
return !1;
|
|
69
|
+
}
|
|
70
|
+
}, (r, o) => {
|
|
71
|
+
let {
|
|
72
|
+
className: n
|
|
73
|
+
} = r;
|
|
74
|
+
return /* @__PURE__ */ s.createElement("div", {
|
|
75
|
+
ref: q(i, o),
|
|
76
|
+
className: z(l, n, {
|
|
77
|
+
"wave-quick": x
|
|
78
|
+
}),
|
|
79
|
+
style: u
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
}, G = (t, l) => {
|
|
83
|
+
var e;
|
|
84
|
+
const {
|
|
85
|
+
component: c
|
|
86
|
+
} = l;
|
|
87
|
+
if (c === "Checkbox" && !(!((e = t.querySelector("input")) === null || e === void 0) && e.checked))
|
|
88
|
+
return;
|
|
89
|
+
const i = document.createElement("div");
|
|
90
|
+
i.style.position = "absolute", i.style.left = "0px", i.style.top = "0px", t == null || t.insertBefore(i, t == null ? void 0 : t.firstChild), F(/* @__PURE__ */ s.createElement(D, Object.assign({}, l, {
|
|
91
|
+
target: t
|
|
92
|
+
})), i);
|
|
93
|
+
}, X = G;
|
|
94
|
+
export {
|
|
95
|
+
X as default
|
|
96
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import c, { useContext as v, useRef as b } from "react";
|
|
2
|
+
import E from "../../../../classnames/index.mjs";
|
|
3
|
+
import C from "../../../../rc-util/es/Dom/isVisible.mjs";
|
|
4
|
+
import { supportRef as N, composeRef as g } from "../../../../rc-util/es/ref.mjs";
|
|
5
|
+
import "../../config-provider/index.mjs";
|
|
6
|
+
import { cloneElement as x } from "../reactNode.mjs";
|
|
7
|
+
import R from "./style.mjs";
|
|
8
|
+
import W from "./useWave.mjs";
|
|
9
|
+
import { ConfigContext as h } from "../../config-provider/context.mjs";
|
|
10
|
+
const l = (a) => {
|
|
11
|
+
const {
|
|
12
|
+
children: t,
|
|
13
|
+
disabled: r,
|
|
14
|
+
component: m
|
|
15
|
+
} = a, {
|
|
16
|
+
getPrefixCls: f
|
|
17
|
+
} = v(h), o = b(null), s = f("wave"), [, u] = R(s), d = W(o, E(s, u), m);
|
|
18
|
+
if (c.useEffect(() => {
|
|
19
|
+
const e = o.current;
|
|
20
|
+
if (!e || e.nodeType !== 1 || r)
|
|
21
|
+
return;
|
|
22
|
+
const n = (i) => {
|
|
23
|
+
!C(i.target) || // No need wave
|
|
24
|
+
!e.getAttribute || e.getAttribute("disabled") || e.disabled || e.className.includes("disabled") || e.className.includes("-leave") || d(i);
|
|
25
|
+
};
|
|
26
|
+
return e.addEventListener("click", n, !0), () => {
|
|
27
|
+
e.removeEventListener("click", n, !0);
|
|
28
|
+
};
|
|
29
|
+
}, [r]), !/* @__PURE__ */ c.isValidElement(t))
|
|
30
|
+
return t ?? null;
|
|
31
|
+
const p = N(t) ? g(t.ref, o) : o;
|
|
32
|
+
return x(t, {
|
|
33
|
+
ref: p
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
process.env.NODE_ENV !== "production" && (l.displayName = "Wave");
|
|
37
|
+
const O = l;
|
|
38
|
+
export {
|
|
39
|
+
O as default
|
|
40
|
+
};
|