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,23 @@
|
|
|
1
|
+
import a from "../../../resize-observer-polyfill/dist/ResizeObserver.es.mjs";
|
|
2
|
+
var r = /* @__PURE__ */ new Map();
|
|
3
|
+
function s(e) {
|
|
4
|
+
e.forEach(function(n) {
|
|
5
|
+
var o, t = n.target;
|
|
6
|
+
(o = r.get(t)) === null || o === void 0 || o.forEach(function(u) {
|
|
7
|
+
return u(t);
|
|
8
|
+
});
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
var i = new a(s);
|
|
12
|
+
process.env.NODE_ENV;
|
|
13
|
+
process.env.NODE_ENV;
|
|
14
|
+
function c(e, n) {
|
|
15
|
+
r.has(e) || (r.set(e, /* @__PURE__ */ new Set()), i.observe(e)), r.get(e).add(n);
|
|
16
|
+
}
|
|
17
|
+
function f(e, n) {
|
|
18
|
+
r.has(e) && (r.get(e).delete(n), r.get(e).size || (i.unobserve(e), r.delete(e)));
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
c as observe,
|
|
22
|
+
f as unobserve
|
|
23
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import z from "../../../@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
+
import x from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
3
|
+
import y from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
4
|
+
import q from "../../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
|
|
5
|
+
import J from "../../../classnames/index.mjs";
|
|
6
|
+
import e from "../../../rc-util/es/KeyCode.mjs";
|
|
7
|
+
import * as E from "react";
|
|
8
|
+
import Q from "../context.mjs";
|
|
9
|
+
import { getIndex as u, getDirectionStyle as X } from "../util.mjs";
|
|
10
|
+
var Y = ["prefixCls", "value", "valueIndex", "onStartMove", "onDelete", "style", "render", "dragging", "draggingDelete", "onOffsetChange", "onChangeComplete", "onFocus", "onMouseEnter"], Z = /* @__PURE__ */ E.forwardRef(function(a, P) {
|
|
11
|
+
var h = a.prefixCls, i = a.value, n = a.valueIndex, I = a.onStartMove, H = a.onDelete, S = a.style, C = a.render, D = a.dragging, f = a.draggingDelete, w = a.onOffsetChange, v = a.onChangeComplete, g = a.onFocus, O = a.onMouseEnter, _ = q(a, Y), r = E.useContext(Q), F = r.min, k = r.max, l = r.direction, d = r.disabled, K = r.keyboard, T = r.range, L = r.tabIndex, U = r.ariaLabelForHandle, A = r.ariaLabelledByForHandle, G = r.ariaValueTextFormatterForHandle, R = r.styles, W = r.classNames, c = "".concat(h, "-handle"), M = function(t) {
|
|
12
|
+
d || I(t, n);
|
|
13
|
+
}, p = function(t) {
|
|
14
|
+
g == null || g(t, n);
|
|
15
|
+
}, B = function(t) {
|
|
16
|
+
O(t, n);
|
|
17
|
+
}, V = function(t) {
|
|
18
|
+
if (!d && K) {
|
|
19
|
+
var o = null;
|
|
20
|
+
switch (t.which || t.keyCode) {
|
|
21
|
+
case e.LEFT:
|
|
22
|
+
o = l === "ltr" || l === "btt" ? -1 : 1;
|
|
23
|
+
break;
|
|
24
|
+
case e.RIGHT:
|
|
25
|
+
o = l === "ltr" || l === "btt" ? 1 : -1;
|
|
26
|
+
break;
|
|
27
|
+
case e.UP:
|
|
28
|
+
o = l !== "ttb" ? 1 : -1;
|
|
29
|
+
break;
|
|
30
|
+
case e.DOWN:
|
|
31
|
+
o = l !== "ttb" ? -1 : 1;
|
|
32
|
+
break;
|
|
33
|
+
case e.HOME:
|
|
34
|
+
o = "min";
|
|
35
|
+
break;
|
|
36
|
+
case e.END:
|
|
37
|
+
o = "max";
|
|
38
|
+
break;
|
|
39
|
+
case e.PAGE_UP:
|
|
40
|
+
o = 2;
|
|
41
|
+
break;
|
|
42
|
+
case e.PAGE_DOWN:
|
|
43
|
+
o = -2;
|
|
44
|
+
break;
|
|
45
|
+
case e.BACKSPACE:
|
|
46
|
+
case e.DELETE:
|
|
47
|
+
H(n);
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
o !== null && (t.preventDefault(), w(o, n));
|
|
51
|
+
}
|
|
52
|
+
}, j = function(t) {
|
|
53
|
+
switch (t.which || t.keyCode) {
|
|
54
|
+
case e.LEFT:
|
|
55
|
+
case e.RIGHT:
|
|
56
|
+
case e.UP:
|
|
57
|
+
case e.DOWN:
|
|
58
|
+
case e.HOME:
|
|
59
|
+
case e.END:
|
|
60
|
+
case e.PAGE_UP:
|
|
61
|
+
case e.PAGE_DOWN:
|
|
62
|
+
v == null || v();
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
}, $ = X(l, i, F, k), N = {};
|
|
66
|
+
if (n !== null) {
|
|
67
|
+
var m;
|
|
68
|
+
N = {
|
|
69
|
+
tabIndex: d ? null : u(L, n),
|
|
70
|
+
role: "slider",
|
|
71
|
+
"aria-valuemin": F,
|
|
72
|
+
"aria-valuemax": k,
|
|
73
|
+
"aria-valuenow": i,
|
|
74
|
+
"aria-disabled": d,
|
|
75
|
+
"aria-label": u(U, n),
|
|
76
|
+
"aria-labelledby": u(A, n),
|
|
77
|
+
"aria-valuetext": (m = u(G, n)) === null || m === void 0 ? void 0 : m(i),
|
|
78
|
+
"aria-orientation": l === "ltr" || l === "rtl" ? "horizontal" : "vertical",
|
|
79
|
+
onMouseDown: M,
|
|
80
|
+
onTouchStart: M,
|
|
81
|
+
onFocus: p,
|
|
82
|
+
onMouseEnter: B,
|
|
83
|
+
onKeyDown: V,
|
|
84
|
+
onKeyUp: j
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
var b = /* @__PURE__ */ E.createElement("div", z({
|
|
88
|
+
ref: P,
|
|
89
|
+
className: J(c, y(y(y({}, "".concat(c, "-").concat(n + 1), n !== null && T), "".concat(c, "-dragging"), D), "".concat(c, "-dragging-delete"), f), W.handle),
|
|
90
|
+
style: x(x(x({}, $), S), R.handle)
|
|
91
|
+
}, N, _));
|
|
92
|
+
return C && (b = C(b, {
|
|
93
|
+
index: n,
|
|
94
|
+
prefixCls: h,
|
|
95
|
+
value: i,
|
|
96
|
+
dragging: D,
|
|
97
|
+
draggingDelete: f
|
|
98
|
+
})), b;
|
|
99
|
+
});
|
|
100
|
+
process.env.NODE_ENV !== "production" && (Z.displayName = "Handle");
|
|
101
|
+
export {
|
|
102
|
+
Z as default
|
|
103
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import R from "../../../@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
+
import N from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
3
|
+
import H from "../../../@babel/runtime/helpers/esm/slicedToArray.mjs";
|
|
4
|
+
import P from "../../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
|
|
5
|
+
import * as a from "react";
|
|
6
|
+
import { flushSync as V } from "react-dom";
|
|
7
|
+
import { getIndex as j } from "../util.mjs";
|
|
8
|
+
import S from "./Handle.mjs";
|
|
9
|
+
var k = ["prefixCls", "style", "onStartMove", "onOffsetChange", "values", "handleRender", "activeHandleRender", "draggingIndex", "draggingDelete", "onFocus"], w = /* @__PURE__ */ a.forwardRef(function(n, x) {
|
|
10
|
+
var y = n.prefixCls, _ = n.style, I = n.onStartMove, E = n.onOffsetChange, i = n.values, C = n.handleRender, u = n.activeHandleRender, d = n.draggingIndex, s = n.draggingDelete, o = n.onFocus, F = P(n, k), l = a.useRef({}), M = a.useState(!1), c = H(M, 2), D = c[0], f = c[1], $ = a.useState(-1), g = H($, 2), b = g[0], p = g[1], v = function(e) {
|
|
11
|
+
p(e), f(!0);
|
|
12
|
+
}, A = function(e, t) {
|
|
13
|
+
v(t), o == null || o(e);
|
|
14
|
+
}, O = function(e, t) {
|
|
15
|
+
v(t);
|
|
16
|
+
};
|
|
17
|
+
a.useImperativeHandle(x, function() {
|
|
18
|
+
return {
|
|
19
|
+
focus: function(e) {
|
|
20
|
+
var t;
|
|
21
|
+
(t = l.current[e]) === null || t === void 0 || t.focus();
|
|
22
|
+
},
|
|
23
|
+
hideHelp: function() {
|
|
24
|
+
V(function() {
|
|
25
|
+
f(!1);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
var m = N({
|
|
31
|
+
prefixCls: y,
|
|
32
|
+
onStartMove: I,
|
|
33
|
+
onOffsetChange: E,
|
|
34
|
+
render: C,
|
|
35
|
+
onFocus: A,
|
|
36
|
+
onMouseEnter: O
|
|
37
|
+
}, F);
|
|
38
|
+
return /* @__PURE__ */ a.createElement(a.Fragment, null, i.map(function(r, e) {
|
|
39
|
+
var t = d === e;
|
|
40
|
+
return /* @__PURE__ */ a.createElement(S, R({
|
|
41
|
+
ref: function(h) {
|
|
42
|
+
h ? l.current[e] = h : delete l.current[e];
|
|
43
|
+
},
|
|
44
|
+
dragging: t,
|
|
45
|
+
draggingDelete: t && s,
|
|
46
|
+
style: j(_, e),
|
|
47
|
+
key: e,
|
|
48
|
+
value: r,
|
|
49
|
+
valueIndex: e
|
|
50
|
+
}, m));
|
|
51
|
+
}), u && D && /* @__PURE__ */ a.createElement(S, R({
|
|
52
|
+
key: "a11y"
|
|
53
|
+
}, m, {
|
|
54
|
+
value: i[b],
|
|
55
|
+
valueIndex: null,
|
|
56
|
+
dragging: d !== -1,
|
|
57
|
+
draggingDelete: s,
|
|
58
|
+
render: u,
|
|
59
|
+
style: {
|
|
60
|
+
pointerEvents: "none"
|
|
61
|
+
},
|
|
62
|
+
tabIndex: null,
|
|
63
|
+
"aria-hidden": !0
|
|
64
|
+
})));
|
|
65
|
+
});
|
|
66
|
+
process.env.NODE_ENV !== "production" && (w.displayName = "Handles");
|
|
67
|
+
export {
|
|
68
|
+
w as default
|
|
69
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import o from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
2
|
+
import y from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
3
|
+
import S from "../../../classnames/index.mjs";
|
|
4
|
+
import * as r from "react";
|
|
5
|
+
import M from "../context.mjs";
|
|
6
|
+
import { getDirectionStyle as _ } from "../util.mjs";
|
|
7
|
+
var P = function(t) {
|
|
8
|
+
var a = t.prefixCls, c = t.style, l = t.children, n = t.value, d = t.onClick, e = r.useContext(M), m = e.min, u = e.max, s = e.direction, f = e.includedStart, x = e.includedEnd, C = e.included, i = "".concat(a, "-text"), v = _(s, n, m, u);
|
|
9
|
+
return /* @__PURE__ */ r.createElement("span", {
|
|
10
|
+
className: S(i, y({}, "".concat(i, "-active"), C && f <= n && n <= x)),
|
|
11
|
+
style: o(o({}, v), c),
|
|
12
|
+
onMouseDown: function(k) {
|
|
13
|
+
k.stopPropagation();
|
|
14
|
+
},
|
|
15
|
+
onClick: function() {
|
|
16
|
+
d(n);
|
|
17
|
+
}
|
|
18
|
+
}, l);
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
P as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import k from "./Mark.mjs";
|
|
3
|
+
var f = function(e) {
|
|
4
|
+
var i = e.prefixCls, l = e.marks, s = e.onClick, r = "".concat(i, "-mark");
|
|
5
|
+
return l.length ? /* @__PURE__ */ n.createElement("div", {
|
|
6
|
+
className: r
|
|
7
|
+
}, l.map(function(a) {
|
|
8
|
+
var t = a.value, m = a.style, c = a.label;
|
|
9
|
+
return /* @__PURE__ */ n.createElement(k, {
|
|
10
|
+
key: t,
|
|
11
|
+
prefixCls: r,
|
|
12
|
+
style: m,
|
|
13
|
+
value: t,
|
|
14
|
+
onClick: s
|
|
15
|
+
}, c);
|
|
16
|
+
})) : null;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import Ne from "../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
2
|
+
import q from "../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
3
|
+
import N from "../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
4
|
+
import yr from "../../@babel/runtime/helpers/esm/typeof.mjs";
|
|
5
|
+
import _ from "../../@babel/runtime/helpers/esm/slicedToArray.mjs";
|
|
6
|
+
import Le from "../../classnames/index.mjs";
|
|
7
|
+
import Z from "../../rc-util/es/hooks/useEvent.mjs";
|
|
8
|
+
import Cr from "../../rc-util/es/hooks/useMergedState.mjs";
|
|
9
|
+
import "../../rc-util/es/ref.mjs";
|
|
10
|
+
import { warningOnce as ee } from "../../rc-util/es/warning.mjs";
|
|
11
|
+
import Sr from "../../rc-util/es/isEqual.mjs";
|
|
12
|
+
import * as n from "react";
|
|
13
|
+
import Mr from "./Handles/index.mjs";
|
|
14
|
+
import _r from "./Marks/index.mjs";
|
|
15
|
+
import kr from "./Steps/index.mjs";
|
|
16
|
+
import Rr from "./Tracks/index.mjs";
|
|
17
|
+
import Er from "./context.mjs";
|
|
18
|
+
import Fr from "./hooks/useDrag.mjs";
|
|
19
|
+
import Hr from "./hooks/useOffset.mjs";
|
|
20
|
+
import Dr from "./hooks/useRange.mjs";
|
|
21
|
+
var xr = /* @__PURE__ */ n.forwardRef(function(r, pe) {
|
|
22
|
+
var re = r.prefixCls, d = re === void 0 ? "rc-slider" : re, Ae = r.className, Pe = r.style, D = r.classNames, x = r.styles, ae = r.disabled, k = ae === void 0 ? !1 : ae, te = r.keyboard, ne = te === void 0 ? !0 : te, Be = r.autoFocus, je = r.onFocus, Ie = r.onBlur, le = r.min, z = le === void 0 ? 0 : le, ie = r.max, K = ie === void 0 ? 100 : ie, oe = r.step, L = oe === void 0 ? 1 : oe, Xe = r.value, Ye = r.defaultValue, qe = r.range, O = r.count, ue = r.onChange, u = r.onBeforeChange, g = r.onAfterChange, R = r.onChangeComplete, se = r.allowCross, ze = se === void 0 ? !0 : se, de = r.pushable, V = de === void 0 ? !1 : de, G = r.reverse, p = r.vertical, fe = r.included, ce = fe === void 0 ? !0 : fe, Ke = r.startPoint, Ge = r.trackStyle, Je = r.handleStyle, Qe = r.railStyle, Ue = r.dotStyle, We = r.activeDotStyle, J = r.marks, Ze = r.dots, er = r.handleRender, rr = r.activeHandleRender, ar = r.track, ve = r.tabIndex, me = ve === void 0 ? 0 : ve, ge = r.ariaLabelForHandle, he = r.ariaLabelledByForHandle, be = r.ariaValueTextFormatterForHandle, f = n.useRef(null), A = n.useRef(null), P = n.useMemo(function() {
|
|
23
|
+
return p ? G ? "ttb" : "btt" : G ? "rtl" : "ltr";
|
|
24
|
+
}, [G, p]), tr = Dr(qe), $ = _(tr, 5), h = $[0], B = $[1], Q = $[2], ye = $[3], Ce = $[4], s = n.useMemo(function() {
|
|
25
|
+
return isFinite(z) ? z : 0;
|
|
26
|
+
}, [z]), E = n.useMemo(function() {
|
|
27
|
+
return isFinite(K) ? K : 100;
|
|
28
|
+
}, [K]), S = n.useMemo(function() {
|
|
29
|
+
return L !== null && L <= 0 ? 1 : L;
|
|
30
|
+
}, [L]), nr = n.useMemo(function() {
|
|
31
|
+
return typeof V == "boolean" ? V ? S : !1 : V >= 0 ? V : !1;
|
|
32
|
+
}, [V, S]), j = n.useMemo(function() {
|
|
33
|
+
return Object.keys(J || {}).map(function(a) {
|
|
34
|
+
var e = J[a], t = {
|
|
35
|
+
value: Number(a)
|
|
36
|
+
};
|
|
37
|
+
return e && yr(e) === "object" && !/* @__PURE__ */ n.isValidElement(e) && ("label" in e || "style" in e) ? (t.style = e.style, t.label = e.label) : t.label = e, t;
|
|
38
|
+
}).filter(function(a) {
|
|
39
|
+
var e = a.label;
|
|
40
|
+
return e || typeof e == "number";
|
|
41
|
+
}).sort(function(a, e) {
|
|
42
|
+
return a.value - e.value;
|
|
43
|
+
});
|
|
44
|
+
}, [J]), lr = Hr(s, E, S, j, ze, nr), Se = _(lr, 2), I = Se[0], Me = Se[1], ir = Cr(Ye, {
|
|
45
|
+
value: Xe
|
|
46
|
+
}), _e = _(ir, 2), b = _e[0], or = _e[1], o = n.useMemo(function() {
|
|
47
|
+
var a = b == null ? [] : Array.isArray(b) ? b : [b], e = _(a, 1), t = e[0], l = t === void 0 ? s : t, i = b === null ? [] : [l];
|
|
48
|
+
if (h) {
|
|
49
|
+
if (i = N(a), O || b === void 0) {
|
|
50
|
+
var y = O >= 0 ? O + 1 : 2;
|
|
51
|
+
for (i = i.slice(0, y); i.length < y; ) {
|
|
52
|
+
var c;
|
|
53
|
+
i.push((c = i[i.length - 1]) !== null && c !== void 0 ? c : s);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
i.sort(function(v, m) {
|
|
57
|
+
return v - m;
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
return i.forEach(function(v, m) {
|
|
61
|
+
i[m] = I(v);
|
|
62
|
+
}), i;
|
|
63
|
+
}, [b, h, s, O, I]), F = function(e) {
|
|
64
|
+
return h ? e : e[0];
|
|
65
|
+
}, X = Z(function(a) {
|
|
66
|
+
var e = N(a).sort(function(t, l) {
|
|
67
|
+
return t - l;
|
|
68
|
+
});
|
|
69
|
+
ue && !Sr(e, o, !0) && ue(F(e)), or(e);
|
|
70
|
+
}), ke = Z(function(a) {
|
|
71
|
+
a && f.current.hideHelp();
|
|
72
|
+
var e = F(o);
|
|
73
|
+
g == null || g(e), ee(!g, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), R == null || R(e);
|
|
74
|
+
}), ur = function(e) {
|
|
75
|
+
if (!(k || !B || o.length <= ye)) {
|
|
76
|
+
var t = N(o);
|
|
77
|
+
t.splice(e, 1), u == null || u(F(t)), X(t);
|
|
78
|
+
var l = Math.max(0, e - 1);
|
|
79
|
+
f.current.hideHelp(), f.current.focus(l);
|
|
80
|
+
}
|
|
81
|
+
}, sr = Fr(A, P, o, s, E, I, X, ke, Me, B, ye), T = _(sr, 5), Re = T[0], dr = T[1], fr = T[2], U = T[3], Ee = T[4], Fe = function(e, t) {
|
|
82
|
+
if (!k) {
|
|
83
|
+
var l = N(o), i = 0, y = 0, c = E - s;
|
|
84
|
+
o.forEach(function(C, Y) {
|
|
85
|
+
var we = Math.abs(e - C);
|
|
86
|
+
we <= c && (c = we, i = Y), C < e && (y = Y);
|
|
87
|
+
});
|
|
88
|
+
var v = i;
|
|
89
|
+
B && c !== 0 && (!Ce || o.length < Ce) ? (l.splice(y + 1, 0, e), v = y + 1) : l[i] = e, h && !o.length && O === void 0 && l.push(e);
|
|
90
|
+
var m = F(l);
|
|
91
|
+
if (u == null || u(m), X(l), t) {
|
|
92
|
+
var M, H;
|
|
93
|
+
(M = document.activeElement) === null || M === void 0 || (H = M.blur) === null || H === void 0 || H.call(M), f.current.focus(v), Ee(t, v, l);
|
|
94
|
+
} else
|
|
95
|
+
g == null || g(m), ee(!g, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), R == null || R(m);
|
|
96
|
+
}
|
|
97
|
+
}, cr = function(e) {
|
|
98
|
+
e.preventDefault();
|
|
99
|
+
var t = A.current.getBoundingClientRect(), l = t.width, i = t.height, y = t.left, c = t.top, v = t.bottom, m = t.right, M = e.clientX, H = e.clientY, C;
|
|
100
|
+
switch (P) {
|
|
101
|
+
case "btt":
|
|
102
|
+
C = (v - H) / i;
|
|
103
|
+
break;
|
|
104
|
+
case "ttb":
|
|
105
|
+
C = (H - c) / i;
|
|
106
|
+
break;
|
|
107
|
+
case "rtl":
|
|
108
|
+
C = (m - M) / l;
|
|
109
|
+
break;
|
|
110
|
+
default:
|
|
111
|
+
C = (M - y) / l;
|
|
112
|
+
}
|
|
113
|
+
var Y = s + C * (E - s);
|
|
114
|
+
Fe(I(Y), e);
|
|
115
|
+
}, vr = n.useState(null), He = _(vr, 2), W = He[0], De = He[1], mr = function(e, t) {
|
|
116
|
+
if (!k) {
|
|
117
|
+
var l = Me(o, e, t);
|
|
118
|
+
u == null || u(F(o)), X(l.values), De(l.value);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
n.useEffect(function() {
|
|
122
|
+
if (W !== null) {
|
|
123
|
+
var a = o.indexOf(W);
|
|
124
|
+
a >= 0 && f.current.focus(a);
|
|
125
|
+
}
|
|
126
|
+
De(null);
|
|
127
|
+
}, [W]);
|
|
128
|
+
var gr = n.useMemo(function() {
|
|
129
|
+
return Q && S === null ? (process.env.NODE_ENV !== "production" && ee(!1, "`draggableTrack` is not supported when `step` is `null`."), !1) : Q;
|
|
130
|
+
}, [Q, S]), xe = Z(function(a, e) {
|
|
131
|
+
Ee(a, e), u == null || u(F(o));
|
|
132
|
+
}), Oe = Re !== -1;
|
|
133
|
+
n.useEffect(function() {
|
|
134
|
+
if (!Oe) {
|
|
135
|
+
var a = o.lastIndexOf(dr);
|
|
136
|
+
f.current.focus(a);
|
|
137
|
+
}
|
|
138
|
+
}, [Oe]);
|
|
139
|
+
var w = n.useMemo(function() {
|
|
140
|
+
return N(U).sort(function(a, e) {
|
|
141
|
+
return a - e;
|
|
142
|
+
});
|
|
143
|
+
}, [U]), hr = n.useMemo(function() {
|
|
144
|
+
return h ? [w[0], w[w.length - 1]] : [s, w[0]];
|
|
145
|
+
}, [w, h, s]), Ve = _(hr, 2), $e = Ve[0], Te = Ve[1];
|
|
146
|
+
n.useImperativeHandle(pe, function() {
|
|
147
|
+
return {
|
|
148
|
+
focus: function() {
|
|
149
|
+
f.current.focus(0);
|
|
150
|
+
},
|
|
151
|
+
blur: function() {
|
|
152
|
+
var e, t = document, l = t.activeElement;
|
|
153
|
+
(e = A.current) !== null && e !== void 0 && e.contains(l) && (l == null || l.blur());
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
}), n.useEffect(function() {
|
|
157
|
+
Be && f.current.focus(0);
|
|
158
|
+
}, []);
|
|
159
|
+
var br = n.useMemo(function() {
|
|
160
|
+
return {
|
|
161
|
+
min: s,
|
|
162
|
+
max: E,
|
|
163
|
+
direction: P,
|
|
164
|
+
disabled: k,
|
|
165
|
+
keyboard: ne,
|
|
166
|
+
step: S,
|
|
167
|
+
included: ce,
|
|
168
|
+
includedStart: $e,
|
|
169
|
+
includedEnd: Te,
|
|
170
|
+
range: h,
|
|
171
|
+
tabIndex: me,
|
|
172
|
+
ariaLabelForHandle: ge,
|
|
173
|
+
ariaLabelledByForHandle: he,
|
|
174
|
+
ariaValueTextFormatterForHandle: be,
|
|
175
|
+
styles: x || {},
|
|
176
|
+
classNames: D || {}
|
|
177
|
+
};
|
|
178
|
+
}, [s, E, P, k, ne, S, ce, $e, Te, h, me, ge, he, be, x, D]);
|
|
179
|
+
return /* @__PURE__ */ n.createElement(Er.Provider, {
|
|
180
|
+
value: br
|
|
181
|
+
}, /* @__PURE__ */ n.createElement("div", {
|
|
182
|
+
ref: A,
|
|
183
|
+
className: Le(d, Ae, q(q(q(q({}, "".concat(d, "-disabled"), k), "".concat(d, "-vertical"), p), "".concat(d, "-horizontal"), !p), "".concat(d, "-with-marks"), j.length)),
|
|
184
|
+
style: Pe,
|
|
185
|
+
onMouseDown: cr
|
|
186
|
+
}, /* @__PURE__ */ n.createElement("div", {
|
|
187
|
+
className: Le("".concat(d, "-rail"), D == null ? void 0 : D.rail),
|
|
188
|
+
style: Ne(Ne({}, Qe), x == null ? void 0 : x.rail)
|
|
189
|
+
}), ar !== !1 && /* @__PURE__ */ n.createElement(Rr, {
|
|
190
|
+
prefixCls: d,
|
|
191
|
+
style: Ge,
|
|
192
|
+
values: o,
|
|
193
|
+
startPoint: Ke,
|
|
194
|
+
onStartMove: gr ? xe : void 0
|
|
195
|
+
}), /* @__PURE__ */ n.createElement(kr, {
|
|
196
|
+
prefixCls: d,
|
|
197
|
+
marks: j,
|
|
198
|
+
dots: Ze,
|
|
199
|
+
style: Ue,
|
|
200
|
+
activeStyle: We
|
|
201
|
+
}), /* @__PURE__ */ n.createElement(Mr, {
|
|
202
|
+
ref: f,
|
|
203
|
+
prefixCls: d,
|
|
204
|
+
style: Je,
|
|
205
|
+
values: U,
|
|
206
|
+
draggingIndex: Re,
|
|
207
|
+
draggingDelete: fr,
|
|
208
|
+
onStartMove: xe,
|
|
209
|
+
onOffsetChange: mr,
|
|
210
|
+
onFocus: je,
|
|
211
|
+
onBlur: Ie,
|
|
212
|
+
handleRender: er,
|
|
213
|
+
activeHandleRender: rr,
|
|
214
|
+
onChangeComplete: ke,
|
|
215
|
+
onDelete: B ? ur : void 0
|
|
216
|
+
}), /* @__PURE__ */ n.createElement(_r, {
|
|
217
|
+
prefixCls: d,
|
|
218
|
+
marks: j,
|
|
219
|
+
onClick: Fe
|
|
220
|
+
})));
|
|
221
|
+
});
|
|
222
|
+
process.env.NODE_ENV !== "production" && (xr.displayName = "Slider");
|
|
223
|
+
export {
|
|
224
|
+
xr as default
|
|
225
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import x from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
2
|
+
import i from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
3
|
+
import S from "../../../classnames/index.mjs";
|
|
4
|
+
import * as l from "react";
|
|
5
|
+
import C from "../context.mjs";
|
|
6
|
+
import { getDirectionStyle as D } from "../util.mjs";
|
|
7
|
+
var j = function(a) {
|
|
8
|
+
var m = a.prefixCls, t = a.value, r = a.style, o = a.activeStyle, e = l.useContext(C), f = e.min, u = e.max, s = e.direction, v = e.included, y = e.includedStart, p = e.includedEnd, c = "".concat(m, "-dot"), d = v && y <= t && t <= p, n = i(i({}, D(s, t, f, u)), typeof r == "function" ? r(t) : r);
|
|
9
|
+
return d && (n = i(i({}, n), typeof o == "function" ? o(t) : o)), /* @__PURE__ */ l.createElement("span", {
|
|
10
|
+
className: S(c, x({}, "".concat(c, "-active"), d)),
|
|
11
|
+
style: n
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
j as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import x from "../context.mjs";
|
|
3
|
+
import y from "./Dot.mjs";
|
|
4
|
+
var k = function(t) {
|
|
5
|
+
var n = t.prefixCls, l = t.marks, m = t.dots, c = t.style, v = t.activeStyle, r = a.useContext(x), o = r.min, f = r.max, s = r.step, u = a.useMemo(function() {
|
|
6
|
+
var e = /* @__PURE__ */ new Set();
|
|
7
|
+
if (l.forEach(function(d) {
|
|
8
|
+
e.add(d.value);
|
|
9
|
+
}), m && s !== null)
|
|
10
|
+
for (var i = o; i <= f; )
|
|
11
|
+
e.add(i), i += s;
|
|
12
|
+
return Array.from(e);
|
|
13
|
+
}, [o, f, s, m, l]);
|
|
14
|
+
return /* @__PURE__ */ a.createElement("div", {
|
|
15
|
+
className: "".concat(n, "-step")
|
|
16
|
+
}, u.map(function(e) {
|
|
17
|
+
return /* @__PURE__ */ a.createElement(y, {
|
|
18
|
+
prefixCls: n,
|
|
19
|
+
key: e,
|
|
20
|
+
value: e,
|
|
21
|
+
style: c,
|
|
22
|
+
activeStyle: v
|
|
23
|
+
});
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
k as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import d from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
2
|
+
import v from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
3
|
+
import p from "../../../classnames/index.mjs";
|
|
4
|
+
import * as x from "react";
|
|
5
|
+
import T from "../context.mjs";
|
|
6
|
+
import { getOffset as b } from "../util.mjs";
|
|
7
|
+
var D = function(e) {
|
|
8
|
+
var n = e.prefixCls, u = e.style, h = e.start, k = e.end, i = e.index, o = e.onStartMove, S = e.replaceCls, r = x.useContext(T), g = r.direction, s = r.min, l = r.max, C = r.disabled, y = r.range, M = r.classNames, m = "".concat(n, "-track"), a = b(h, s, l), c = b(k, s, l), f = function(w) {
|
|
9
|
+
!C && o && o(w, -1);
|
|
10
|
+
}, t = {};
|
|
11
|
+
switch (g) {
|
|
12
|
+
case "rtl":
|
|
13
|
+
t.right = "".concat(a * 100, "%"), t.width = "".concat(c * 100 - a * 100, "%");
|
|
14
|
+
break;
|
|
15
|
+
case "btt":
|
|
16
|
+
t.bottom = "".concat(a * 100, "%"), t.height = "".concat(c * 100 - a * 100, "%");
|
|
17
|
+
break;
|
|
18
|
+
case "ttb":
|
|
19
|
+
t.top = "".concat(a * 100, "%"), t.height = "".concat(c * 100 - a * 100, "%");
|
|
20
|
+
break;
|
|
21
|
+
default:
|
|
22
|
+
t.left = "".concat(a * 100, "%"), t.width = "".concat(c * 100 - a * 100, "%");
|
|
23
|
+
}
|
|
24
|
+
var N = S || p(m, v(v({}, "".concat(m, "-").concat(i + 1), i !== null && y), "".concat(n, "-track-draggable"), o), M.track);
|
|
25
|
+
return /* @__PURE__ */ x.createElement("div", {
|
|
26
|
+
className: N,
|
|
27
|
+
style: d(d({}, t), u),
|
|
28
|
+
onMouseDown: f,
|
|
29
|
+
onTouchStart: f
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
D as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import k from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
2
|
+
import h from "../../../classnames/index.mjs";
|
|
3
|
+
import * as a from "react";
|
|
4
|
+
import M from "../context.mjs";
|
|
5
|
+
import { getIndex as S } from "../util.mjs";
|
|
6
|
+
import x from "./Track.mjs";
|
|
7
|
+
var b = function(n) {
|
|
8
|
+
var i = n.prefixCls, C = n.style, t = n.values, o = n.startPoint, g = n.onStartMove, s = a.useContext(M), p = s.included, f = s.range, d = s.min, u = s.styles, v = s.classNames, c = a.useMemo(function() {
|
|
9
|
+
if (!f) {
|
|
10
|
+
if (t.length === 0)
|
|
11
|
+
return [];
|
|
12
|
+
var l = o ?? d, e = t[0];
|
|
13
|
+
return [{
|
|
14
|
+
start: Math.min(l, e),
|
|
15
|
+
end: Math.max(l, e)
|
|
16
|
+
}];
|
|
17
|
+
}
|
|
18
|
+
for (var m = [], r = 0; r < t.length - 1; r += 1)
|
|
19
|
+
m.push({
|
|
20
|
+
start: t[r],
|
|
21
|
+
end: t[r + 1]
|
|
22
|
+
});
|
|
23
|
+
return m;
|
|
24
|
+
}, [t, f, o, d]);
|
|
25
|
+
if (!p)
|
|
26
|
+
return null;
|
|
27
|
+
var y = v.tracks || u.tracks ? /* @__PURE__ */ a.createElement(x, {
|
|
28
|
+
index: null,
|
|
29
|
+
prefixCls: i,
|
|
30
|
+
start: c[0].start,
|
|
31
|
+
end: c[c.length - 1].end,
|
|
32
|
+
replaceCls: h(v.tracks, "".concat(i, "-tracks")),
|
|
33
|
+
style: u.tracks
|
|
34
|
+
}) : null;
|
|
35
|
+
return /* @__PURE__ */ a.createElement(a.Fragment, null, y, c.map(function(l, e) {
|
|
36
|
+
var m = l.start, r = l.end;
|
|
37
|
+
return /* @__PURE__ */ a.createElement(x, {
|
|
38
|
+
index: e,
|
|
39
|
+
prefixCls: i,
|
|
40
|
+
style: k(k({}, S(C, e)), u.track),
|
|
41
|
+
start: m,
|
|
42
|
+
end: r,
|
|
43
|
+
key: e,
|
|
44
|
+
onStartMove: g
|
|
45
|
+
});
|
|
46
|
+
}));
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
b as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
var e = /* @__PURE__ */ t.createContext({
|
|
3
|
+
min: 0,
|
|
4
|
+
max: 0,
|
|
5
|
+
direction: "ltr",
|
|
6
|
+
step: 1,
|
|
7
|
+
includedStart: 0,
|
|
8
|
+
includedEnd: 0,
|
|
9
|
+
tabIndex: 0,
|
|
10
|
+
keyboard: !0,
|
|
11
|
+
styles: {},
|
|
12
|
+
classNames: {}
|
|
13
|
+
}), a = /* @__PURE__ */ t.createContext({});
|
|
14
|
+
export {
|
|
15
|
+
a as UnstableContext,
|
|
16
|
+
e as default
|
|
17
|
+
};
|