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,26 @@
|
|
|
1
|
+
import { __exports as e } from "../../_virtual/client.mjs";
|
|
2
|
+
import i from "react-dom";
|
|
3
|
+
var t = i;
|
|
4
|
+
if (process.env.NODE_ENV === "production")
|
|
5
|
+
e.createRoot = t.createRoot, e.hydrateRoot = t.hydrateRoot;
|
|
6
|
+
else {
|
|
7
|
+
var o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
8
|
+
e.createRoot = function(r, n) {
|
|
9
|
+
o.usingClientEntryPoint = !0;
|
|
10
|
+
try {
|
|
11
|
+
return t.createRoot(r, n);
|
|
12
|
+
} finally {
|
|
13
|
+
o.usingClientEntryPoint = !1;
|
|
14
|
+
}
|
|
15
|
+
}, e.hydrateRoot = function(r, n, a) {
|
|
16
|
+
o.usingClientEntryPoint = !0;
|
|
17
|
+
try {
|
|
18
|
+
return t.hydrateRoot(r, n, a);
|
|
19
|
+
} finally {
|
|
20
|
+
o.usingClientEntryPoint = !1;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
e as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import { __exports as F } from "../../../../_virtual/Draggable.mjs";
|
|
2
|
+
import G from "react";
|
|
3
|
+
import { p as V } from "../../../prop-types/index.mjs";
|
|
4
|
+
import W from "react-dom";
|
|
5
|
+
import $ from "../../../../_virtual/clsx.m.mjs";
|
|
6
|
+
import "./utils/domFns.mjs";
|
|
7
|
+
import "./utils/positionFns.mjs";
|
|
8
|
+
import "./utils/shims.mjs";
|
|
9
|
+
import "./DraggableCore.mjs";
|
|
10
|
+
import "./utils/log.mjs";
|
|
11
|
+
import { __exports as q } from "../../../../_virtual/domFns.mjs";
|
|
12
|
+
import { __exports as B } from "../../../../_virtual/positionFns.mjs";
|
|
13
|
+
import { __exports as U } from "../../../../_virtual/shims.mjs";
|
|
14
|
+
import { __exports as A } from "../../../../_virtual/DraggableCore.mjs";
|
|
15
|
+
import { __exports as I } from "../../../../_virtual/log.mjs";
|
|
16
|
+
(function(p) {
|
|
17
|
+
Object.defineProperty(p, "__esModule", {
|
|
18
|
+
value: !0
|
|
19
|
+
}), Object.defineProperty(p, "DraggableCore", {
|
|
20
|
+
enumerable: !0,
|
|
21
|
+
get: function() {
|
|
22
|
+
return m.default;
|
|
23
|
+
}
|
|
24
|
+
}), p.default = void 0;
|
|
25
|
+
var c = E(G), n = d(V), M = d(W), T = d($), S = q, l = B, v = U, m = d(A), h = d(I);
|
|
26
|
+
function d(t) {
|
|
27
|
+
return t && t.__esModule ? t : { default: t };
|
|
28
|
+
}
|
|
29
|
+
function _(t) {
|
|
30
|
+
if (typeof WeakMap != "function")
|
|
31
|
+
return null;
|
|
32
|
+
var e = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
|
|
33
|
+
return (_ = function(a) {
|
|
34
|
+
return a ? r : e;
|
|
35
|
+
})(t);
|
|
36
|
+
}
|
|
37
|
+
function E(t, e) {
|
|
38
|
+
if (!e && t && t.__esModule)
|
|
39
|
+
return t;
|
|
40
|
+
if (t === null || typeof t != "object" && typeof t != "function")
|
|
41
|
+
return { default: t };
|
|
42
|
+
var r = _(e);
|
|
43
|
+
if (r && r.has(t))
|
|
44
|
+
return r.get(t);
|
|
45
|
+
var a = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
46
|
+
for (var s in t)
|
|
47
|
+
if (s !== "default" && Object.prototype.hasOwnProperty.call(t, s)) {
|
|
48
|
+
var i = o ? Object.getOwnPropertyDescriptor(t, s) : null;
|
|
49
|
+
i && (i.get || i.set) ? Object.defineProperty(a, s, i) : a[s] = t[s];
|
|
50
|
+
}
|
|
51
|
+
return a.default = t, r && r.set(t, a), a;
|
|
52
|
+
}
|
|
53
|
+
function b() {
|
|
54
|
+
return b = Object.assign ? Object.assign.bind() : function(t) {
|
|
55
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
56
|
+
var r = arguments[e];
|
|
57
|
+
for (var a in r)
|
|
58
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
59
|
+
}
|
|
60
|
+
return t;
|
|
61
|
+
}, b.apply(this, arguments);
|
|
62
|
+
}
|
|
63
|
+
function f(t, e, r) {
|
|
64
|
+
return e = X(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
65
|
+
}
|
|
66
|
+
function X(t) {
|
|
67
|
+
var e = Y(t, "string");
|
|
68
|
+
return typeof e == "symbol" ? e : String(e);
|
|
69
|
+
}
|
|
70
|
+
function Y(t, e) {
|
|
71
|
+
if (typeof t != "object" || t === null)
|
|
72
|
+
return t;
|
|
73
|
+
var r = t[Symbol.toPrimitive];
|
|
74
|
+
if (r !== void 0) {
|
|
75
|
+
var a = r.call(t, e || "default");
|
|
76
|
+
if (typeof a != "object")
|
|
77
|
+
return a;
|
|
78
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
79
|
+
}
|
|
80
|
+
return (e === "string" ? String : Number)(t);
|
|
81
|
+
}
|
|
82
|
+
class y extends c.Component {
|
|
83
|
+
// React 16.3+
|
|
84
|
+
// Arity (props, state)
|
|
85
|
+
static getDerivedStateFromProps(e, r) {
|
|
86
|
+
let {
|
|
87
|
+
position: a
|
|
88
|
+
} = e, {
|
|
89
|
+
prevPropsPosition: o
|
|
90
|
+
} = r;
|
|
91
|
+
return a && (!o || a.x !== o.x || a.y !== o.y) ? ((0, h.default)("Draggable: getDerivedStateFromProps %j", {
|
|
92
|
+
position: a,
|
|
93
|
+
prevPropsPosition: o
|
|
94
|
+
}), {
|
|
95
|
+
x: a.x,
|
|
96
|
+
y: a.y,
|
|
97
|
+
prevPropsPosition: {
|
|
98
|
+
...a
|
|
99
|
+
}
|
|
100
|
+
}) : null;
|
|
101
|
+
}
|
|
102
|
+
constructor(e) {
|
|
103
|
+
super(e), f(this, "onDragStart", (r, a) => {
|
|
104
|
+
if ((0, h.default)("Draggable: onDragStart: %j", a), this.props.onStart(r, (0, l.createDraggableData)(this, a)) === !1)
|
|
105
|
+
return !1;
|
|
106
|
+
this.setState({
|
|
107
|
+
dragging: !0,
|
|
108
|
+
dragged: !0
|
|
109
|
+
});
|
|
110
|
+
}), f(this, "onDrag", (r, a) => {
|
|
111
|
+
if (!this.state.dragging)
|
|
112
|
+
return !1;
|
|
113
|
+
(0, h.default)("Draggable: onDrag: %j", a);
|
|
114
|
+
const o = (0, l.createDraggableData)(this, a), s = {
|
|
115
|
+
x: o.x,
|
|
116
|
+
y: o.y,
|
|
117
|
+
slackX: 0,
|
|
118
|
+
slackY: 0
|
|
119
|
+
};
|
|
120
|
+
if (this.props.bounds) {
|
|
121
|
+
const {
|
|
122
|
+
x: g,
|
|
123
|
+
y: u
|
|
124
|
+
} = s;
|
|
125
|
+
s.x += this.state.slackX, s.y += this.state.slackY;
|
|
126
|
+
const [D, x] = (0, l.getBoundPosition)(this, s.x, s.y);
|
|
127
|
+
s.x = D, s.y = x, s.slackX = this.state.slackX + (g - s.x), s.slackY = this.state.slackY + (u - s.y), o.x = s.x, o.y = s.y, o.deltaX = s.x - this.state.x, o.deltaY = s.y - this.state.y;
|
|
128
|
+
}
|
|
129
|
+
if (this.props.onDrag(r, o) === !1)
|
|
130
|
+
return !1;
|
|
131
|
+
this.setState(s);
|
|
132
|
+
}), f(this, "onDragStop", (r, a) => {
|
|
133
|
+
if (!this.state.dragging || this.props.onStop(r, (0, l.createDraggableData)(this, a)) === !1)
|
|
134
|
+
return !1;
|
|
135
|
+
(0, h.default)("Draggable: onDragStop: %j", a);
|
|
136
|
+
const s = {
|
|
137
|
+
dragging: !1,
|
|
138
|
+
slackX: 0,
|
|
139
|
+
slackY: 0
|
|
140
|
+
};
|
|
141
|
+
if (!!this.props.position) {
|
|
142
|
+
const {
|
|
143
|
+
x: g,
|
|
144
|
+
y: u
|
|
145
|
+
} = this.props.position;
|
|
146
|
+
s.x = g, s.y = u;
|
|
147
|
+
}
|
|
148
|
+
this.setState(s);
|
|
149
|
+
}), this.state = {
|
|
150
|
+
// Whether or not we are currently dragging.
|
|
151
|
+
dragging: !1,
|
|
152
|
+
// Whether or not we have been dragged before.
|
|
153
|
+
dragged: !1,
|
|
154
|
+
// Current transform x and y.
|
|
155
|
+
x: e.position ? e.position.x : e.defaultPosition.x,
|
|
156
|
+
y: e.position ? e.position.y : e.defaultPosition.y,
|
|
157
|
+
prevPropsPosition: {
|
|
158
|
+
...e.position
|
|
159
|
+
},
|
|
160
|
+
// Used for compensating for out-of-bounds drags
|
|
161
|
+
slackX: 0,
|
|
162
|
+
slackY: 0,
|
|
163
|
+
// Can only determine if SVG after mounting
|
|
164
|
+
isElementSVG: !1
|
|
165
|
+
}, e.position && !(e.onDrag || e.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
|
|
166
|
+
}
|
|
167
|
+
componentDidMount() {
|
|
168
|
+
typeof window.SVGElement < "u" && this.findDOMNode() instanceof window.SVGElement && this.setState({
|
|
169
|
+
isElementSVG: !0
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
componentWillUnmount() {
|
|
173
|
+
this.setState({
|
|
174
|
+
dragging: !1
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
// React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
|
|
178
|
+
// the underlying DOM node ourselves. See the README for more information.
|
|
179
|
+
findDOMNode() {
|
|
180
|
+
var e, r;
|
|
181
|
+
return (e = (r = this.props) === null || r === void 0 || (r = r.nodeRef) === null || r === void 0 ? void 0 : r.current) !== null && e !== void 0 ? e : M.default.findDOMNode(this);
|
|
182
|
+
}
|
|
183
|
+
render() {
|
|
184
|
+
const {
|
|
185
|
+
axis: e,
|
|
186
|
+
bounds: r,
|
|
187
|
+
children: a,
|
|
188
|
+
defaultPosition: o,
|
|
189
|
+
defaultClassName: s,
|
|
190
|
+
defaultClassNameDragging: i,
|
|
191
|
+
defaultClassNameDragged: g,
|
|
192
|
+
position: u,
|
|
193
|
+
positionOffset: D,
|
|
194
|
+
scale: x,
|
|
195
|
+
...R
|
|
196
|
+
} = this.props;
|
|
197
|
+
let P = {}, O = null;
|
|
198
|
+
const w = !!!u || this.state.dragging, C = u || o, N = {
|
|
199
|
+
// Set left if horizontal drag is enabled
|
|
200
|
+
x: (0, l.canDragX)(this) && w ? this.state.x : C.x,
|
|
201
|
+
// Set top if vertical drag is enabled
|
|
202
|
+
y: (0, l.canDragY)(this) && w ? this.state.y : C.y
|
|
203
|
+
};
|
|
204
|
+
this.state.isElementSVG ? O = (0, S.createSVGTransform)(N, D) : P = (0, S.createCSSTransform)(N, D);
|
|
205
|
+
const k = (0, T.default)(a.props.className || "", s, {
|
|
206
|
+
[i]: this.state.dragging,
|
|
207
|
+
[g]: this.state.dragged
|
|
208
|
+
});
|
|
209
|
+
return /* @__PURE__ */ c.createElement(m.default, b({}, R, {
|
|
210
|
+
onStart: this.onDragStart,
|
|
211
|
+
onDrag: this.onDrag,
|
|
212
|
+
onStop: this.onDragStop
|
|
213
|
+
}), /* @__PURE__ */ c.cloneElement(c.Children.only(a), {
|
|
214
|
+
className: k,
|
|
215
|
+
style: {
|
|
216
|
+
...a.props.style,
|
|
217
|
+
...P
|
|
218
|
+
},
|
|
219
|
+
transform: O
|
|
220
|
+
}));
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
p.default = y, f(y, "displayName", "Draggable"), f(y, "propTypes", {
|
|
224
|
+
// Accepts all props <DraggableCore> accepts.
|
|
225
|
+
...m.default.propTypes,
|
|
226
|
+
/**
|
|
227
|
+
* `axis` determines which axis the draggable can move.
|
|
228
|
+
*
|
|
229
|
+
* Note that all callbacks will still return data as normal. This only
|
|
230
|
+
* controls flushing to the DOM.
|
|
231
|
+
*
|
|
232
|
+
* 'both' allows movement horizontally and vertically.
|
|
233
|
+
* 'x' limits movement to horizontal axis.
|
|
234
|
+
* 'y' limits movement to vertical axis.
|
|
235
|
+
* 'none' limits all movement.
|
|
236
|
+
*
|
|
237
|
+
* Defaults to 'both'.
|
|
238
|
+
*/
|
|
239
|
+
axis: n.default.oneOf(["both", "x", "y", "none"]),
|
|
240
|
+
/**
|
|
241
|
+
* `bounds` determines the range of movement available to the element.
|
|
242
|
+
* Available values are:
|
|
243
|
+
*
|
|
244
|
+
* 'parent' restricts movement within the Draggable's parent node.
|
|
245
|
+
*
|
|
246
|
+
* Alternatively, pass an object with the following properties, all of which are optional:
|
|
247
|
+
*
|
|
248
|
+
* {left: LEFT_BOUND, right: RIGHT_BOUND, bottom: BOTTOM_BOUND, top: TOP_BOUND}
|
|
249
|
+
*
|
|
250
|
+
* All values are in px.
|
|
251
|
+
*
|
|
252
|
+
* Example:
|
|
253
|
+
*
|
|
254
|
+
* ```jsx
|
|
255
|
+
* let App = React.createClass({
|
|
256
|
+
* render: function () {
|
|
257
|
+
* return (
|
|
258
|
+
* <Draggable bounds={{right: 300, bottom: 300}}>
|
|
259
|
+
* <div>Content</div>
|
|
260
|
+
* </Draggable>
|
|
261
|
+
* );
|
|
262
|
+
* }
|
|
263
|
+
* });
|
|
264
|
+
* ```
|
|
265
|
+
*/
|
|
266
|
+
bounds: n.default.oneOfType([n.default.shape({
|
|
267
|
+
left: n.default.number,
|
|
268
|
+
right: n.default.number,
|
|
269
|
+
top: n.default.number,
|
|
270
|
+
bottom: n.default.number
|
|
271
|
+
}), n.default.string, n.default.oneOf([!1])]),
|
|
272
|
+
defaultClassName: n.default.string,
|
|
273
|
+
defaultClassNameDragging: n.default.string,
|
|
274
|
+
defaultClassNameDragged: n.default.string,
|
|
275
|
+
/**
|
|
276
|
+
* `defaultPosition` specifies the x and y that the dragged item should start at
|
|
277
|
+
*
|
|
278
|
+
* Example:
|
|
279
|
+
*
|
|
280
|
+
* ```jsx
|
|
281
|
+
* let App = React.createClass({
|
|
282
|
+
* render: function () {
|
|
283
|
+
* return (
|
|
284
|
+
* <Draggable defaultPosition={{x: 25, y: 25}}>
|
|
285
|
+
* <div>I start with transformX: 25px and transformY: 25px;</div>
|
|
286
|
+
* </Draggable>
|
|
287
|
+
* );
|
|
288
|
+
* }
|
|
289
|
+
* });
|
|
290
|
+
* ```
|
|
291
|
+
*/
|
|
292
|
+
defaultPosition: n.default.shape({
|
|
293
|
+
x: n.default.number,
|
|
294
|
+
y: n.default.number
|
|
295
|
+
}),
|
|
296
|
+
positionOffset: n.default.shape({
|
|
297
|
+
x: n.default.oneOfType([n.default.number, n.default.string]),
|
|
298
|
+
y: n.default.oneOfType([n.default.number, n.default.string])
|
|
299
|
+
}),
|
|
300
|
+
/**
|
|
301
|
+
* `position`, if present, defines the current position of the element.
|
|
302
|
+
*
|
|
303
|
+
* This is similar to how form elements in React work - if no `position` is supplied, the component
|
|
304
|
+
* is uncontrolled.
|
|
305
|
+
*
|
|
306
|
+
* Example:
|
|
307
|
+
*
|
|
308
|
+
* ```jsx
|
|
309
|
+
* let App = React.createClass({
|
|
310
|
+
* render: function () {
|
|
311
|
+
* return (
|
|
312
|
+
* <Draggable position={{x: 25, y: 25}}>
|
|
313
|
+
* <div>I start with transformX: 25px and transformY: 25px;</div>
|
|
314
|
+
* </Draggable>
|
|
315
|
+
* );
|
|
316
|
+
* }
|
|
317
|
+
* });
|
|
318
|
+
* ```
|
|
319
|
+
*/
|
|
320
|
+
position: n.default.shape({
|
|
321
|
+
x: n.default.number,
|
|
322
|
+
y: n.default.number
|
|
323
|
+
}),
|
|
324
|
+
/**
|
|
325
|
+
* These properties should be defined on the child, not here.
|
|
326
|
+
*/
|
|
327
|
+
className: v.dontSetMe,
|
|
328
|
+
style: v.dontSetMe,
|
|
329
|
+
transform: v.dontSetMe
|
|
330
|
+
}), f(y, "defaultProps", {
|
|
331
|
+
...m.default.defaultProps,
|
|
332
|
+
axis: "both",
|
|
333
|
+
bounds: !1,
|
|
334
|
+
defaultClassName: "react-draggable",
|
|
335
|
+
defaultClassNameDragging: "react-draggable-dragging",
|
|
336
|
+
defaultClassNameDragged: "react-draggable-dragged",
|
|
337
|
+
defaultPosition: {
|
|
338
|
+
x: 0,
|
|
339
|
+
y: 0
|
|
340
|
+
},
|
|
341
|
+
scale: 1
|
|
342
|
+
});
|
|
343
|
+
})(F);
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import { __exports as y } from "../../../../_virtual/DraggableCore.mjs";
|
|
2
|
+
import M from "react";
|
|
3
|
+
import { p as b } from "../../../prop-types/index.mjs";
|
|
4
|
+
import E from "react-dom";
|
|
5
|
+
import "./utils/domFns.mjs";
|
|
6
|
+
import "./utils/positionFns.mjs";
|
|
7
|
+
import "./utils/shims.mjs";
|
|
8
|
+
import "./utils/log.mjs";
|
|
9
|
+
import { __exports as N } from "../../../../_virtual/domFns.mjs";
|
|
10
|
+
import { __exports as C } from "../../../../_virtual/shims.mjs";
|
|
11
|
+
import { __exports as P } from "../../../../_virtual/log.mjs";
|
|
12
|
+
import { __exports as O } from "../../../../_virtual/positionFns.mjs";
|
|
13
|
+
Object.defineProperty(y, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
});
|
|
16
|
+
y.default = void 0;
|
|
17
|
+
var D = U(M), u = w(b), T = w(E), n = N, c = O, S = C, m = w(P);
|
|
18
|
+
function w(e) {
|
|
19
|
+
return e && e.__esModule ? e : { default: e };
|
|
20
|
+
}
|
|
21
|
+
function _(e) {
|
|
22
|
+
if (typeof WeakMap != "function")
|
|
23
|
+
return null;
|
|
24
|
+
var t = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
|
|
25
|
+
return (_ = function(r) {
|
|
26
|
+
return r ? o : t;
|
|
27
|
+
})(e);
|
|
28
|
+
}
|
|
29
|
+
function U(e, t) {
|
|
30
|
+
if (!t && e && e.__esModule)
|
|
31
|
+
return e;
|
|
32
|
+
if (e === null || typeof e != "object" && typeof e != "function")
|
|
33
|
+
return { default: e };
|
|
34
|
+
var o = _(t);
|
|
35
|
+
if (o && o.has(e))
|
|
36
|
+
return o.get(e);
|
|
37
|
+
var r = {}, d = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
38
|
+
for (var s in e)
|
|
39
|
+
if (s !== "default" && Object.prototype.hasOwnProperty.call(e, s)) {
|
|
40
|
+
var f = d ? Object.getOwnPropertyDescriptor(e, s) : null;
|
|
41
|
+
f && (f.get || f.set) ? Object.defineProperty(r, s, f) : r[s] = e[s];
|
|
42
|
+
}
|
|
43
|
+
return r.default = e, o && o.set(e, r), r;
|
|
44
|
+
}
|
|
45
|
+
function a(e, t, o) {
|
|
46
|
+
return t = R(t), t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
47
|
+
}
|
|
48
|
+
function R(e) {
|
|
49
|
+
var t = x(e, "string");
|
|
50
|
+
return typeof t == "symbol" ? t : String(t);
|
|
51
|
+
}
|
|
52
|
+
function x(e, t) {
|
|
53
|
+
if (typeof e != "object" || e === null)
|
|
54
|
+
return e;
|
|
55
|
+
var o = e[Symbol.toPrimitive];
|
|
56
|
+
if (o !== void 0) {
|
|
57
|
+
var r = o.call(e, t || "default");
|
|
58
|
+
if (typeof r != "object")
|
|
59
|
+
return r;
|
|
60
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
61
|
+
}
|
|
62
|
+
return (t === "string" ? String : Number)(e);
|
|
63
|
+
}
|
|
64
|
+
const h = {
|
|
65
|
+
touch: {
|
|
66
|
+
start: "touchstart",
|
|
67
|
+
move: "touchmove",
|
|
68
|
+
stop: "touchend"
|
|
69
|
+
},
|
|
70
|
+
mouse: {
|
|
71
|
+
start: "mousedown",
|
|
72
|
+
move: "mousemove",
|
|
73
|
+
stop: "mouseup"
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
let p = h.mouse;
|
|
77
|
+
class v extends D.Component {
|
|
78
|
+
constructor() {
|
|
79
|
+
super(...arguments), a(this, "dragging", !1), a(this, "lastX", NaN), a(this, "lastY", NaN), a(this, "touchIdentifier", null), a(this, "mounted", !1), a(this, "handleDragStart", (t) => {
|
|
80
|
+
if (this.props.onMouseDown(t), !this.props.allowAnyClick && typeof t.button == "number" && t.button !== 0)
|
|
81
|
+
return !1;
|
|
82
|
+
const o = this.findDOMNode();
|
|
83
|
+
if (!o || !o.ownerDocument || !o.ownerDocument.body)
|
|
84
|
+
throw new Error("<DraggableCore> not mounted on DragStart!");
|
|
85
|
+
const {
|
|
86
|
+
ownerDocument: r
|
|
87
|
+
} = o;
|
|
88
|
+
if (this.props.disabled || !(t.target instanceof r.defaultView.Node) || this.props.handle && !(0, n.matchesSelectorAndParentsTo)(t.target, this.props.handle, o) || this.props.cancel && (0, n.matchesSelectorAndParentsTo)(t.target, this.props.cancel, o))
|
|
89
|
+
return;
|
|
90
|
+
t.type === "touchstart" && t.preventDefault();
|
|
91
|
+
const d = (0, n.getTouchIdentifier)(t);
|
|
92
|
+
this.touchIdentifier = d;
|
|
93
|
+
const s = (0, c.getControlPosition)(t, d, this);
|
|
94
|
+
if (s == null)
|
|
95
|
+
return;
|
|
96
|
+
const {
|
|
97
|
+
x: f,
|
|
98
|
+
y: i
|
|
99
|
+
} = s, l = (0, c.createCoreData)(this, f, i);
|
|
100
|
+
(0, m.default)("DraggableCore: handleDragStart: %j", l), (0, m.default)("calling", this.props.onStart), !(this.props.onStart(t, l) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, n.addUserSelectStyles)(r), this.dragging = !0, this.lastX = f, this.lastY = i, (0, n.addEvent)(r, p.move, this.handleDrag), (0, n.addEvent)(r, p.stop, this.handleDragStop));
|
|
101
|
+
}), a(this, "handleDrag", (t) => {
|
|
102
|
+
const o = (0, c.getControlPosition)(t, this.touchIdentifier, this);
|
|
103
|
+
if (o == null)
|
|
104
|
+
return;
|
|
105
|
+
let {
|
|
106
|
+
x: r,
|
|
107
|
+
y: d
|
|
108
|
+
} = o;
|
|
109
|
+
if (Array.isArray(this.props.grid)) {
|
|
110
|
+
let i = r - this.lastX, l = d - this.lastY;
|
|
111
|
+
if ([i, l] = (0, c.snapToGrid)(this.props.grid, i, l), !i && !l)
|
|
112
|
+
return;
|
|
113
|
+
r = this.lastX + i, d = this.lastY + l;
|
|
114
|
+
}
|
|
115
|
+
const s = (0, c.createCoreData)(this, r, d);
|
|
116
|
+
if ((0, m.default)("DraggableCore: handleDrag: %j", s), this.props.onDrag(t, s) === !1 || this.mounted === !1) {
|
|
117
|
+
try {
|
|
118
|
+
this.handleDragStop(new MouseEvent("mouseup"));
|
|
119
|
+
} catch {
|
|
120
|
+
const l = document.createEvent("MouseEvents");
|
|
121
|
+
l.initMouseEvent("mouseup", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), this.handleDragStop(l);
|
|
122
|
+
}
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
this.lastX = r, this.lastY = d;
|
|
126
|
+
}), a(this, "handleDragStop", (t) => {
|
|
127
|
+
if (!this.dragging)
|
|
128
|
+
return;
|
|
129
|
+
const o = (0, c.getControlPosition)(t, this.touchIdentifier, this);
|
|
130
|
+
if (o == null)
|
|
131
|
+
return;
|
|
132
|
+
let {
|
|
133
|
+
x: r,
|
|
134
|
+
y: d
|
|
135
|
+
} = o;
|
|
136
|
+
if (Array.isArray(this.props.grid)) {
|
|
137
|
+
let l = r - this.lastX || 0, g = d - this.lastY || 0;
|
|
138
|
+
[l, g] = (0, c.snapToGrid)(this.props.grid, l, g), r = this.lastX + l, d = this.lastY + g;
|
|
139
|
+
}
|
|
140
|
+
const s = (0, c.createCoreData)(this, r, d);
|
|
141
|
+
if (this.props.onStop(t, s) === !1 || this.mounted === !1)
|
|
142
|
+
return !1;
|
|
143
|
+
const i = this.findDOMNode();
|
|
144
|
+
i && this.props.enableUserSelectHack && (0, n.removeUserSelectStyles)(i.ownerDocument), (0, m.default)("DraggableCore: handleDragStop: %j", s), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, i && ((0, m.default)("DraggableCore: Removing handlers"), (0, n.removeEvent)(i.ownerDocument, p.move, this.handleDrag), (0, n.removeEvent)(i.ownerDocument, p.stop, this.handleDragStop));
|
|
145
|
+
}), a(this, "onMouseDown", (t) => (p = h.mouse, this.handleDragStart(t))), a(this, "onMouseUp", (t) => (p = h.mouse, this.handleDragStop(t))), a(this, "onTouchStart", (t) => (p = h.touch, this.handleDragStart(t))), a(this, "onTouchEnd", (t) => (p = h.touch, this.handleDragStop(t)));
|
|
146
|
+
}
|
|
147
|
+
componentDidMount() {
|
|
148
|
+
this.mounted = !0;
|
|
149
|
+
const t = this.findDOMNode();
|
|
150
|
+
t && (0, n.addEvent)(t, h.touch.start, this.onTouchStart, {
|
|
151
|
+
passive: !1
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
componentWillUnmount() {
|
|
155
|
+
this.mounted = !1;
|
|
156
|
+
const t = this.findDOMNode();
|
|
157
|
+
if (t) {
|
|
158
|
+
const {
|
|
159
|
+
ownerDocument: o
|
|
160
|
+
} = t;
|
|
161
|
+
(0, n.removeEvent)(o, h.mouse.move, this.handleDrag), (0, n.removeEvent)(o, h.touch.move, this.handleDrag), (0, n.removeEvent)(o, h.mouse.stop, this.handleDragStop), (0, n.removeEvent)(o, h.touch.stop, this.handleDragStop), (0, n.removeEvent)(t, h.touch.start, this.onTouchStart, {
|
|
162
|
+
passive: !1
|
|
163
|
+
}), this.props.enableUserSelectHack && (0, n.removeUserSelectStyles)(o);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
// React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
|
|
167
|
+
// the underlying DOM node ourselves. See the README for more information.
|
|
168
|
+
findDOMNode() {
|
|
169
|
+
var t, o;
|
|
170
|
+
return (t = this.props) !== null && t !== void 0 && t.nodeRef ? (o = this.props) === null || o === void 0 || (o = o.nodeRef) === null || o === void 0 ? void 0 : o.current : T.default.findDOMNode(this);
|
|
171
|
+
}
|
|
172
|
+
render() {
|
|
173
|
+
return /* @__PURE__ */ D.cloneElement(D.Children.only(this.props.children), {
|
|
174
|
+
// Note: mouseMove handler is attached to document so it will still function
|
|
175
|
+
// when the user drags quickly and leaves the bounds of the element.
|
|
176
|
+
onMouseDown: this.onMouseDown,
|
|
177
|
+
onMouseUp: this.onMouseUp,
|
|
178
|
+
// onTouchStart is added on `componentDidMount` so they can be added with
|
|
179
|
+
// {passive: false}, which allows it to cancel. See
|
|
180
|
+
// https://developers.google.com/web/updates/2017/01/scrolling-intervention
|
|
181
|
+
onTouchEnd: this.onTouchEnd
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
y.default = v;
|
|
186
|
+
a(v, "displayName", "DraggableCore");
|
|
187
|
+
a(v, "propTypes", {
|
|
188
|
+
/**
|
|
189
|
+
* `allowAnyClick` allows dragging using any mouse button.
|
|
190
|
+
* By default, we only accept the left button.
|
|
191
|
+
*
|
|
192
|
+
* Defaults to `false`.
|
|
193
|
+
*/
|
|
194
|
+
allowAnyClick: u.default.bool,
|
|
195
|
+
children: u.default.node.isRequired,
|
|
196
|
+
/**
|
|
197
|
+
* `disabled`, if true, stops the <Draggable> from dragging. All handlers,
|
|
198
|
+
* with the exception of `onMouseDown`, will not fire.
|
|
199
|
+
*/
|
|
200
|
+
disabled: u.default.bool,
|
|
201
|
+
/**
|
|
202
|
+
* By default, we add 'user-select:none' attributes to the document body
|
|
203
|
+
* to prevent ugly text selection during drag. If this is causing problems
|
|
204
|
+
* for your app, set this to `false`.
|
|
205
|
+
*/
|
|
206
|
+
enableUserSelectHack: u.default.bool,
|
|
207
|
+
/**
|
|
208
|
+
* `offsetParent`, if set, uses the passed DOM node to compute drag offsets
|
|
209
|
+
* instead of using the parent node.
|
|
210
|
+
*/
|
|
211
|
+
offsetParent: function(e, t) {
|
|
212
|
+
if (e[t] && e[t].nodeType !== 1)
|
|
213
|
+
throw new Error("Draggable's offsetParent must be a DOM Node.");
|
|
214
|
+
},
|
|
215
|
+
/**
|
|
216
|
+
* `grid` specifies the x and y that dragging should snap to.
|
|
217
|
+
*/
|
|
218
|
+
grid: u.default.arrayOf(u.default.number),
|
|
219
|
+
/**
|
|
220
|
+
* `handle` specifies a selector to be used as the handle that initiates drag.
|
|
221
|
+
*
|
|
222
|
+
* Example:
|
|
223
|
+
*
|
|
224
|
+
* ```jsx
|
|
225
|
+
* let App = React.createClass({
|
|
226
|
+
* render: function () {
|
|
227
|
+
* return (
|
|
228
|
+
* <Draggable handle=".handle">
|
|
229
|
+
* <div>
|
|
230
|
+
* <div className="handle">Click me to drag</div>
|
|
231
|
+
* <div>This is some other content</div>
|
|
232
|
+
* </div>
|
|
233
|
+
* </Draggable>
|
|
234
|
+
* );
|
|
235
|
+
* }
|
|
236
|
+
* });
|
|
237
|
+
* ```
|
|
238
|
+
*/
|
|
239
|
+
handle: u.default.string,
|
|
240
|
+
/**
|
|
241
|
+
* `cancel` specifies a selector to be used to prevent drag initialization.
|
|
242
|
+
*
|
|
243
|
+
* Example:
|
|
244
|
+
*
|
|
245
|
+
* ```jsx
|
|
246
|
+
* let App = React.createClass({
|
|
247
|
+
* render: function () {
|
|
248
|
+
* return(
|
|
249
|
+
* <Draggable cancel=".cancel">
|
|
250
|
+
* <div>
|
|
251
|
+
* <div className="cancel">You can't drag from here</div>
|
|
252
|
+
* <div>Dragging here works fine</div>
|
|
253
|
+
* </div>
|
|
254
|
+
* </Draggable>
|
|
255
|
+
* );
|
|
256
|
+
* }
|
|
257
|
+
* });
|
|
258
|
+
* ```
|
|
259
|
+
*/
|
|
260
|
+
cancel: u.default.string,
|
|
261
|
+
/* If running in React Strict mode, ReactDOM.findDOMNode() is deprecated.
|
|
262
|
+
* Unfortunately, in order for <Draggable> to work properly, we need raw access
|
|
263
|
+
* to the underlying DOM node. If you want to avoid the warning, pass a `nodeRef`
|
|
264
|
+
* as in this example:
|
|
265
|
+
*
|
|
266
|
+
* function MyComponent() {
|
|
267
|
+
* const nodeRef = React.useRef(null);
|
|
268
|
+
* return (
|
|
269
|
+
* <Draggable nodeRef={nodeRef}>
|
|
270
|
+
* <div ref={nodeRef}>Example Target</div>
|
|
271
|
+
* </Draggable>
|
|
272
|
+
* );
|
|
273
|
+
* }
|
|
274
|
+
*
|
|
275
|
+
* This can be used for arbitrarily nested components, so long as the ref ends up
|
|
276
|
+
* pointing to the actual child DOM node and not a custom component.
|
|
277
|
+
*/
|
|
278
|
+
nodeRef: u.default.object,
|
|
279
|
+
/**
|
|
280
|
+
* Called when dragging starts.
|
|
281
|
+
* If this function returns the boolean false, dragging will be canceled.
|
|
282
|
+
*/
|
|
283
|
+
onStart: u.default.func,
|
|
284
|
+
/**
|
|
285
|
+
* Called while dragging.
|
|
286
|
+
* If this function returns the boolean false, dragging will be canceled.
|
|
287
|
+
*/
|
|
288
|
+
onDrag: u.default.func,
|
|
289
|
+
/**
|
|
290
|
+
* Called when dragging stops.
|
|
291
|
+
* If this function returns the boolean false, the drag will remain active.
|
|
292
|
+
*/
|
|
293
|
+
onStop: u.default.func,
|
|
294
|
+
/**
|
|
295
|
+
* A workaround option which can be passed if onMouseDown needs to be accessed,
|
|
296
|
+
* since it'll always be blocked (as there is internal use of onMouseDown)
|
|
297
|
+
*/
|
|
298
|
+
onMouseDown: u.default.func,
|
|
299
|
+
/**
|
|
300
|
+
* `scale`, if set, applies scaling while dragging an element
|
|
301
|
+
*/
|
|
302
|
+
scale: u.default.number,
|
|
303
|
+
/**
|
|
304
|
+
* These properties should be defined on the child, not here.
|
|
305
|
+
*/
|
|
306
|
+
className: S.dontSetMe,
|
|
307
|
+
style: S.dontSetMe,
|
|
308
|
+
transform: S.dontSetMe
|
|
309
|
+
});
|
|
310
|
+
a(v, "defaultProps", {
|
|
311
|
+
allowAnyClick: !1,
|
|
312
|
+
// by default only accept left click
|
|
313
|
+
disabled: !1,
|
|
314
|
+
enableUserSelectHack: !0,
|
|
315
|
+
onStart: function() {
|
|
316
|
+
},
|
|
317
|
+
onDrag: function() {
|
|
318
|
+
},
|
|
319
|
+
onStop: function() {
|
|
320
|
+
},
|
|
321
|
+
onMouseDown: function() {
|
|
322
|
+
},
|
|
323
|
+
scale: 1
|
|
324
|
+
});
|