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,28 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { devUseWarning as s } from "../_util/warning.mjs";
|
|
3
|
+
import { changeConfirmLocale as l } from "../modal/locale.mjs";
|
|
4
|
+
import d from "./context.mjs";
|
|
5
|
+
const p = "internalMark", t = (a) => {
|
|
6
|
+
const {
|
|
7
|
+
locale: e = {},
|
|
8
|
+
children: c,
|
|
9
|
+
_ANT_MARK__: i
|
|
10
|
+
} = a;
|
|
11
|
+
if (process.env.NODE_ENV !== "production") {
|
|
12
|
+
const r = s("LocaleProvider");
|
|
13
|
+
process.env.NODE_ENV !== "production" && r(i === p, "deprecated", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale");
|
|
14
|
+
}
|
|
15
|
+
o.useEffect(() => l(e == null ? void 0 : e.Modal), [e]);
|
|
16
|
+
const n = o.useMemo(() => Object.assign(Object.assign({}, e), {
|
|
17
|
+
exist: !0
|
|
18
|
+
}), [e]);
|
|
19
|
+
return /* @__PURE__ */ o.createElement(d.Provider, {
|
|
20
|
+
value: n
|
|
21
|
+
}, c);
|
|
22
|
+
};
|
|
23
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "LocaleProvider");
|
|
24
|
+
const f = t;
|
|
25
|
+
export {
|
|
26
|
+
p as ANT_MARK,
|
|
27
|
+
f as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
import i from "./context.mjs";
|
|
3
|
+
import n from "./en_US.mjs";
|
|
4
|
+
const d = (t, s) => {
|
|
5
|
+
const o = c.useContext(i), a = c.useMemo(() => {
|
|
6
|
+
var e;
|
|
7
|
+
const l = s || n[t], u = (e = o == null ? void 0 : o[t]) !== null && e !== void 0 ? e : {};
|
|
8
|
+
return Object.assign(Object.assign({}, typeof l == "function" ? l() : l), u || {});
|
|
9
|
+
}, [t, s, o]), r = c.useMemo(() => {
|
|
10
|
+
const e = o == null ? void 0 : o.locale;
|
|
11
|
+
return o != null && o.exist && !e ? n.locale : e;
|
|
12
|
+
}, [o]);
|
|
13
|
+
return [a, r];
|
|
14
|
+
}, L = d;
|
|
15
|
+
export {
|
|
16
|
+
L as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import A from "../../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import L from "../../../@ant-design/icons/es/icons/CheckCircleFilled.mjs";
|
|
4
|
+
import R from "../../../@ant-design/icons/es/icons/CloseCircleFilled.mjs";
|
|
5
|
+
import z from "../../../@ant-design/icons/es/icons/ExclamationCircleFilled.mjs";
|
|
6
|
+
import W from "../../../@ant-design/icons/es/icons/InfoCircleFilled.mjs";
|
|
7
|
+
import T from "../../../classnames/index.mjs";
|
|
8
|
+
import { CONTAINER_MAX_OFFSET as U } from "../_util/hooks/useZIndex.mjs";
|
|
9
|
+
import { getTransitionName as w } from "../_util/motion.mjs";
|
|
10
|
+
import { devUseWarning as j } from "../_util/warning.mjs";
|
|
11
|
+
import X from "../config-provider/index.mjs";
|
|
12
|
+
import Z from "../theme/useToken.mjs";
|
|
13
|
+
import $ from "./components/ConfirmCancelBtn.mjs";
|
|
14
|
+
import _ from "./components/ConfirmOkBtn.mjs";
|
|
15
|
+
import { ModalContextProvider as q } from "./context.mjs";
|
|
16
|
+
import G from "./Modal.mjs";
|
|
17
|
+
import H from "./style/confirm.mjs";
|
|
18
|
+
import J from "../locale/useLocale.mjs";
|
|
19
|
+
var K = globalThis && globalThis.__rest || function(e, a) {
|
|
20
|
+
var o = {};
|
|
21
|
+
for (var n in e)
|
|
22
|
+
Object.prototype.hasOwnProperty.call(e, n) && a.indexOf(n) < 0 && (o[n] = e[n]);
|
|
23
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
24
|
+
for (var l = 0, n = Object.getOwnPropertySymbols(e); l < n.length; l++)
|
|
25
|
+
a.indexOf(n[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[l]) && (o[n[l]] = e[n[l]]);
|
|
26
|
+
return o;
|
|
27
|
+
};
|
|
28
|
+
function Q(e) {
|
|
29
|
+
const {
|
|
30
|
+
prefixCls: a,
|
|
31
|
+
icon: o,
|
|
32
|
+
okText: n,
|
|
33
|
+
cancelText: l,
|
|
34
|
+
confirmPrefixCls: i,
|
|
35
|
+
type: C,
|
|
36
|
+
okCancel: d,
|
|
37
|
+
footer: s,
|
|
38
|
+
// Legacy for static function usage
|
|
39
|
+
locale: k
|
|
40
|
+
} = e, g = K(e, ["prefixCls", "icon", "okText", "cancelText", "confirmPrefixCls", "type", "okCancel", "footer", "locale"]);
|
|
41
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42
|
+
const O = j("Modal");
|
|
43
|
+
process.env.NODE_ENV !== "production" && O(!(typeof o == "string" && o.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${o}\` at https://ant.design/components/icon`);
|
|
44
|
+
}
|
|
45
|
+
let m = o;
|
|
46
|
+
if (!o && o !== null)
|
|
47
|
+
switch (C) {
|
|
48
|
+
case "info":
|
|
49
|
+
m = /* @__PURE__ */ t.createElement(W, null);
|
|
50
|
+
break;
|
|
51
|
+
case "success":
|
|
52
|
+
m = /* @__PURE__ */ t.createElement(L, null);
|
|
53
|
+
break;
|
|
54
|
+
case "error":
|
|
55
|
+
m = /* @__PURE__ */ t.createElement(R, null);
|
|
56
|
+
break;
|
|
57
|
+
default:
|
|
58
|
+
m = /* @__PURE__ */ t.createElement(z, null);
|
|
59
|
+
}
|
|
60
|
+
const u = d ?? C === "confirm", x = e.autoFocusButton === null ? !1 : e.autoFocusButton || "ok", [v] = J("Modal"), r = k || v, E = n || (u ? r == null ? void 0 : r.okText : r == null ? void 0 : r.justOkText), N = l || (r == null ? void 0 : r.cancelText), f = Object.assign({
|
|
61
|
+
autoFocusButton: x,
|
|
62
|
+
cancelTextLocale: N,
|
|
63
|
+
okTextLocale: E,
|
|
64
|
+
mergedOkCancel: u
|
|
65
|
+
}, g), p = t.useMemo(() => f, A(Object.values(f))), c = /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement($, null), /* @__PURE__ */ t.createElement(_, null)), b = e.title !== void 0 && e.title !== null, y = `${i}-body`;
|
|
66
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
67
|
+
className: `${i}-body-wrapper`
|
|
68
|
+
}, /* @__PURE__ */ t.createElement("div", {
|
|
69
|
+
className: T(y, {
|
|
70
|
+
[`${y}-has-title`]: b
|
|
71
|
+
})
|
|
72
|
+
}, m, /* @__PURE__ */ t.createElement("div", {
|
|
73
|
+
className: `${i}-paragraph`
|
|
74
|
+
}, b && /* @__PURE__ */ t.createElement("span", {
|
|
75
|
+
className: `${i}-title`
|
|
76
|
+
}, e.title), /* @__PURE__ */ t.createElement("div", {
|
|
77
|
+
className: `${i}-content`
|
|
78
|
+
}, e.content))), s === void 0 || typeof s == "function" ? /* @__PURE__ */ t.createElement(q, {
|
|
79
|
+
value: p
|
|
80
|
+
}, /* @__PURE__ */ t.createElement("div", {
|
|
81
|
+
className: `${i}-btns`
|
|
82
|
+
}, typeof s == "function" ? s(c, {
|
|
83
|
+
OkBtn: _,
|
|
84
|
+
CancelBtn: $
|
|
85
|
+
}) : c)) : s, /* @__PURE__ */ t.createElement(H, {
|
|
86
|
+
prefixCls: a
|
|
87
|
+
}));
|
|
88
|
+
}
|
|
89
|
+
const F = (e) => {
|
|
90
|
+
const {
|
|
91
|
+
close: a,
|
|
92
|
+
zIndex: o,
|
|
93
|
+
afterClose: n,
|
|
94
|
+
open: l,
|
|
95
|
+
keyboard: i,
|
|
96
|
+
centered: C,
|
|
97
|
+
getContainer: d,
|
|
98
|
+
maskStyle: s,
|
|
99
|
+
direction: k,
|
|
100
|
+
prefixCls: g,
|
|
101
|
+
wrapClassName: m,
|
|
102
|
+
rootPrefixCls: u,
|
|
103
|
+
bodyStyle: x,
|
|
104
|
+
closable: v = !1,
|
|
105
|
+
closeIcon: r,
|
|
106
|
+
modalRender: E,
|
|
107
|
+
focusTriggerAfterClose: N,
|
|
108
|
+
onConfirm: f,
|
|
109
|
+
styles: p
|
|
110
|
+
} = e;
|
|
111
|
+
if (process.env.NODE_ENV !== "production") {
|
|
112
|
+
const S = j("Modal");
|
|
113
|
+
[["visible", "open"], ["bodyStyle", "styles.body"], ["maskStyle", "styles.mask"]].forEach((B) => {
|
|
114
|
+
let [P, V] = B;
|
|
115
|
+
S.deprecated(!(P in e), P, V);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
const c = `${g}-confirm`, b = e.width || 416, y = e.style || {}, O = e.mask === void 0 ? !0 : e.mask, I = e.maskClosable === void 0 ? !1 : e.maskClosable, M = T(c, `${c}-${e.type}`, {
|
|
119
|
+
[`${c}-rtl`]: k === "rtl"
|
|
120
|
+
}, e.className), [, h] = Z(), D = t.useMemo(() => o !== void 0 ? o : h.zIndexPopupBase + U, [o, h]);
|
|
121
|
+
return /* @__PURE__ */ t.createElement(G, {
|
|
122
|
+
prefixCls: g,
|
|
123
|
+
className: M,
|
|
124
|
+
wrapClassName: T({
|
|
125
|
+
[`${c}-centered`]: !!e.centered
|
|
126
|
+
}, m),
|
|
127
|
+
onCancel: () => {
|
|
128
|
+
a == null || a({
|
|
129
|
+
triggerCancel: !0
|
|
130
|
+
}), f == null || f(!1);
|
|
131
|
+
},
|
|
132
|
+
open: l,
|
|
133
|
+
title: "",
|
|
134
|
+
footer: null,
|
|
135
|
+
transitionName: w(u || "", "zoom", e.transitionName),
|
|
136
|
+
maskTransitionName: w(u || "", "fade", e.maskTransitionName),
|
|
137
|
+
mask: O,
|
|
138
|
+
maskClosable: I,
|
|
139
|
+
style: y,
|
|
140
|
+
styles: Object.assign({
|
|
141
|
+
body: x,
|
|
142
|
+
mask: s
|
|
143
|
+
}, p),
|
|
144
|
+
width: b,
|
|
145
|
+
zIndex: D,
|
|
146
|
+
afterClose: n,
|
|
147
|
+
keyboard: i,
|
|
148
|
+
centered: C,
|
|
149
|
+
getContainer: d,
|
|
150
|
+
closable: v,
|
|
151
|
+
closeIcon: r,
|
|
152
|
+
modalRender: E,
|
|
153
|
+
focusTriggerAfterClose: N
|
|
154
|
+
}, /* @__PURE__ */ t.createElement(Q, Object.assign({}, e, {
|
|
155
|
+
confirmPrefixCls: c
|
|
156
|
+
})));
|
|
157
|
+
}, Y = (e) => {
|
|
158
|
+
const {
|
|
159
|
+
rootPrefixCls: a,
|
|
160
|
+
iconPrefixCls: o,
|
|
161
|
+
direction: n,
|
|
162
|
+
theme: l
|
|
163
|
+
} = e;
|
|
164
|
+
return /* @__PURE__ */ t.createElement(X, {
|
|
165
|
+
prefixCls: a,
|
|
166
|
+
iconPrefixCls: o,
|
|
167
|
+
direction: n,
|
|
168
|
+
theme: l
|
|
169
|
+
}, /* @__PURE__ */ t.createElement(F, Object.assign({}, e)));
|
|
170
|
+
};
|
|
171
|
+
process.env.NODE_ENV !== "production" && (F.displayName = "ConfirmDialog", Y.displayName = "ConfirmDialogWrapper");
|
|
172
|
+
export {
|
|
173
|
+
Q as ConfirmContent,
|
|
174
|
+
Y as default
|
|
175
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import q from "../../../@ant-design/icons/es/icons/CloseOutlined.mjs";
|
|
3
|
+
import d from "../../../classnames/index.mjs";
|
|
4
|
+
import G from "../../../rc-dialog/es/DialogWrap.mjs";
|
|
5
|
+
import "../../../rc-dialog/es/Dialog/Content/Panel.mjs";
|
|
6
|
+
import H from "../_util/ContextIsolator.mjs";
|
|
7
|
+
import J, { pickClosable as I } from "../_util/hooks/useClosable.mjs";
|
|
8
|
+
import { useZIndex as K } from "../_util/hooks/useZIndex.mjs";
|
|
9
|
+
import { getTransitionName as h } from "../_util/motion.mjs";
|
|
10
|
+
import { canUseDocElement as Q } from "../_util/styleChecker.mjs";
|
|
11
|
+
import { devUseWarning as ee } from "../_util/warning.mjs";
|
|
12
|
+
import oe from "../_util/zindexContext.mjs";
|
|
13
|
+
import "../config-provider/index.mjs";
|
|
14
|
+
import te from "../config-provider/hooks/useCSSVarCls.mjs";
|
|
15
|
+
import se from "../skeleton/Skeleton.mjs";
|
|
16
|
+
import { usePanelRef as ne } from "../watermark/context.mjs";
|
|
17
|
+
import { Footer as le, renderCloseIcon as ae } from "./shared.mjs";
|
|
18
|
+
import re from "./style/index.mjs";
|
|
19
|
+
import { ConfigContext as ie } from "../config-provider/context.mjs";
|
|
20
|
+
var ce = globalThis && globalThis.__rest || function(e, i) {
|
|
21
|
+
var c = {};
|
|
22
|
+
for (var o in e)
|
|
23
|
+
Object.prototype.hasOwnProperty.call(e, o) && i.indexOf(o) < 0 && (c[o] = e[o]);
|
|
24
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
25
|
+
for (var l = 0, o = Object.getOwnPropertySymbols(e); l < o.length; l++)
|
|
26
|
+
i.indexOf(o[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[l]) && (c[o[l]] = e[o[l]]);
|
|
27
|
+
return c;
|
|
28
|
+
};
|
|
29
|
+
let p;
|
|
30
|
+
const me = (e) => {
|
|
31
|
+
p = {
|
|
32
|
+
x: e.pageX,
|
|
33
|
+
y: e.pageY
|
|
34
|
+
}, setTimeout(() => {
|
|
35
|
+
p = null;
|
|
36
|
+
}, 100);
|
|
37
|
+
};
|
|
38
|
+
Q() && document.documentElement.addEventListener("click", me, !0);
|
|
39
|
+
const de = (e) => {
|
|
40
|
+
var i;
|
|
41
|
+
const {
|
|
42
|
+
getPopupContainer: c,
|
|
43
|
+
getPrefixCls: o,
|
|
44
|
+
direction: l,
|
|
45
|
+
modal: t
|
|
46
|
+
} = r.useContext(ie), C = (a) => {
|
|
47
|
+
const {
|
|
48
|
+
onCancel: n
|
|
49
|
+
} = e;
|
|
50
|
+
n == null || n(a);
|
|
51
|
+
}, P = (a) => {
|
|
52
|
+
const {
|
|
53
|
+
onOk: n
|
|
54
|
+
} = e;
|
|
55
|
+
n == null || n(a);
|
|
56
|
+
};
|
|
57
|
+
if (process.env.NODE_ENV !== "production") {
|
|
58
|
+
const a = ee("Modal");
|
|
59
|
+
[["visible", "open"], ["bodyStyle", "styles.body"], ["maskStyle", "styles.mask"]].forEach((n) => {
|
|
60
|
+
let [w, Y] = n;
|
|
61
|
+
a.deprecated(!(w in e), w, Y);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
const {
|
|
65
|
+
prefixCls: E,
|
|
66
|
+
className: j,
|
|
67
|
+
rootClassName: k,
|
|
68
|
+
open: f,
|
|
69
|
+
wrapClassName: S,
|
|
70
|
+
centered: T,
|
|
71
|
+
getContainer: g,
|
|
72
|
+
focusTriggerAfterClose: z = !0,
|
|
73
|
+
style: _,
|
|
74
|
+
// Deprecated
|
|
75
|
+
visible: R,
|
|
76
|
+
width: $ = 520,
|
|
77
|
+
footer: D,
|
|
78
|
+
classNames: m,
|
|
79
|
+
styles: M,
|
|
80
|
+
children: V,
|
|
81
|
+
loading: b
|
|
82
|
+
} = e, u = ce(e, ["prefixCls", "className", "rootClassName", "open", "wrapClassName", "centered", "getContainer", "focusTriggerAfterClose", "style", "visible", "width", "footer", "classNames", "styles", "children", "loading"]), s = o("modal", E), v = o(), y = te(s), [A, N, F] = re(s, y), U = d(S, {
|
|
83
|
+
[`${s}-centered`]: !!T,
|
|
84
|
+
[`${s}-wrap-rtl`]: l === "rtl"
|
|
85
|
+
}), W = D !== null && !b ? /* @__PURE__ */ r.createElement(le, Object.assign({}, e, {
|
|
86
|
+
onOk: P,
|
|
87
|
+
onCancel: C
|
|
88
|
+
})) : null, [x, O, Z] = J(I(e), I(t), {
|
|
89
|
+
closable: !0,
|
|
90
|
+
closeIcon: /* @__PURE__ */ r.createElement(q, {
|
|
91
|
+
className: `${s}-close-icon`
|
|
92
|
+
}),
|
|
93
|
+
closeIconRender: (a) => ae(s, a)
|
|
94
|
+
}), B = ne(`.${s}-content`), [L, X] = K("Modal", u.zIndex);
|
|
95
|
+
return A(/* @__PURE__ */ r.createElement(H, {
|
|
96
|
+
form: !0,
|
|
97
|
+
space: !0
|
|
98
|
+
}, /* @__PURE__ */ r.createElement(oe.Provider, {
|
|
99
|
+
value: X
|
|
100
|
+
}, /* @__PURE__ */ r.createElement(G, Object.assign({
|
|
101
|
+
width: $
|
|
102
|
+
}, u, {
|
|
103
|
+
zIndex: L,
|
|
104
|
+
getContainer: g === void 0 ? c : g,
|
|
105
|
+
prefixCls: s,
|
|
106
|
+
rootClassName: d(N, k, F, y),
|
|
107
|
+
footer: W,
|
|
108
|
+
visible: f ?? R,
|
|
109
|
+
mousePosition: (i = u.mousePosition) !== null && i !== void 0 ? i : p,
|
|
110
|
+
onClose: C,
|
|
111
|
+
closable: x && {
|
|
112
|
+
disabled: Z,
|
|
113
|
+
closeIcon: O
|
|
114
|
+
},
|
|
115
|
+
closeIcon: O,
|
|
116
|
+
focusTriggerAfterClose: z,
|
|
117
|
+
transitionName: h(v, "zoom", e.transitionName),
|
|
118
|
+
maskTransitionName: h(v, "fade", e.maskTransitionName),
|
|
119
|
+
className: d(N, j, t == null ? void 0 : t.className),
|
|
120
|
+
style: Object.assign(Object.assign({}, t == null ? void 0 : t.style), _),
|
|
121
|
+
classNames: Object.assign(Object.assign(Object.assign({}, t == null ? void 0 : t.classNames), m), {
|
|
122
|
+
wrapper: d(U, m == null ? void 0 : m.wrapper)
|
|
123
|
+
}),
|
|
124
|
+
styles: Object.assign(Object.assign({}, t == null ? void 0 : t.styles), M),
|
|
125
|
+
panelRef: B
|
|
126
|
+
}), b ? /* @__PURE__ */ r.createElement(se, {
|
|
127
|
+
active: !0,
|
|
128
|
+
title: !1,
|
|
129
|
+
paragraph: {
|
|
130
|
+
rows: 4
|
|
131
|
+
},
|
|
132
|
+
className: `${s}-body-skeleton`
|
|
133
|
+
}) : V))));
|
|
134
|
+
}, Se = de;
|
|
135
|
+
export {
|
|
136
|
+
Se as default
|
|
137
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
import O from "../../../classnames/index.mjs";
|
|
3
|
+
import "../../../rc-dialog/es/DialogWrap.mjs";
|
|
4
|
+
import h from "../../../rc-dialog/es/Dialog/Content/Panel.mjs";
|
|
5
|
+
import { withPureRenderTheme as g } from "../_util/PurePanel.mjs";
|
|
6
|
+
import "../config-provider/index.mjs";
|
|
7
|
+
import j from "../config-provider/hooks/useCSSVarCls.mjs";
|
|
8
|
+
import { ConfirmContent as S } from "./ConfirmDialog.mjs";
|
|
9
|
+
import { Footer as v, renderCloseIcon as I } from "./shared.mjs";
|
|
10
|
+
import w from "./style/index.mjs";
|
|
11
|
+
import { ConfigContext as $ } from "../config-provider/context.mjs";
|
|
12
|
+
var E = globalThis && globalThis.__rest || function(o, s) {
|
|
13
|
+
var l = {};
|
|
14
|
+
for (var t in o)
|
|
15
|
+
Object.prototype.hasOwnProperty.call(o, t) && s.indexOf(t) < 0 && (l[t] = o[t]);
|
|
16
|
+
if (o != null && typeof Object.getOwnPropertySymbols == "function")
|
|
17
|
+
for (var e = 0, t = Object.getOwnPropertySymbols(o); e < t.length; e++)
|
|
18
|
+
s.indexOf(t[e]) < 0 && Object.prototype.propertyIsEnumerable.call(o, t[e]) && (l[t[e]] = o[t[e]]);
|
|
19
|
+
return l;
|
|
20
|
+
};
|
|
21
|
+
const N = (o) => {
|
|
22
|
+
const {
|
|
23
|
+
prefixCls: s,
|
|
24
|
+
className: l,
|
|
25
|
+
closeIcon: t,
|
|
26
|
+
closable: e,
|
|
27
|
+
type: n,
|
|
28
|
+
title: u,
|
|
29
|
+
children: f,
|
|
30
|
+
footer: b
|
|
31
|
+
} = o, P = E(o, ["prefixCls", "className", "closeIcon", "closable", "type", "title", "children", "footer"]), {
|
|
32
|
+
getPrefixCls: m
|
|
33
|
+
} = c.useContext($), p = m(), r = s || m("modal"), C = j(p), [x, d, y] = w(r, C), i = `${r}-confirm`;
|
|
34
|
+
let a = {};
|
|
35
|
+
return n ? a = {
|
|
36
|
+
closable: e ?? !1,
|
|
37
|
+
title: "",
|
|
38
|
+
footer: "",
|
|
39
|
+
children: /* @__PURE__ */ c.createElement(S, Object.assign({}, o, {
|
|
40
|
+
prefixCls: r,
|
|
41
|
+
confirmPrefixCls: i,
|
|
42
|
+
rootPrefixCls: p,
|
|
43
|
+
content: f
|
|
44
|
+
}))
|
|
45
|
+
} : a = {
|
|
46
|
+
closable: e ?? !0,
|
|
47
|
+
title: u,
|
|
48
|
+
footer: b !== null && /* @__PURE__ */ c.createElement(v, Object.assign({}, o)),
|
|
49
|
+
children: f
|
|
50
|
+
}, x(/* @__PURE__ */ c.createElement(h, Object.assign({
|
|
51
|
+
prefixCls: r,
|
|
52
|
+
className: O(d, `${r}-pure-panel`, n && i, n && `${i}-${n}`, l, y, C)
|
|
53
|
+
}, P, {
|
|
54
|
+
closeIcon: I(r, t),
|
|
55
|
+
closable: e
|
|
56
|
+
}, a)));
|
|
57
|
+
}, D = g(N);
|
|
58
|
+
export {
|
|
59
|
+
D as default
|
|
60
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import s, { useContext as u } from "react";
|
|
2
|
+
import f from "../../_util/ActionButton.mjs";
|
|
3
|
+
import { ModalContext as m } from "../context.mjs";
|
|
4
|
+
const C = () => {
|
|
5
|
+
const {
|
|
6
|
+
autoFocusButton: n,
|
|
7
|
+
cancelButtonProps: e,
|
|
8
|
+
cancelTextLocale: l,
|
|
9
|
+
isSilent: c,
|
|
10
|
+
mergedOkCancel: a,
|
|
11
|
+
rootPrefixCls: i,
|
|
12
|
+
close: o,
|
|
13
|
+
onCancel: r,
|
|
14
|
+
onConfirm: t
|
|
15
|
+
} = u(m);
|
|
16
|
+
return a ? /* @__PURE__ */ s.createElement(f, {
|
|
17
|
+
isSilent: c,
|
|
18
|
+
actionFn: r,
|
|
19
|
+
close: function() {
|
|
20
|
+
o == null || o.apply(void 0, arguments), t == null || t(!1);
|
|
21
|
+
},
|
|
22
|
+
autoFocus: n === "cancel",
|
|
23
|
+
buttonProps: e,
|
|
24
|
+
prefixCls: `${i}-btn`
|
|
25
|
+
}, l) : null;
|
|
26
|
+
}, v = C;
|
|
27
|
+
export {
|
|
28
|
+
v as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import a, { useContext as c } from "react";
|
|
2
|
+
import p from "../../_util/ActionButton.mjs";
|
|
3
|
+
import { ModalContext as m } from "../context.mjs";
|
|
4
|
+
const f = () => {
|
|
5
|
+
const {
|
|
6
|
+
autoFocusButton: n,
|
|
7
|
+
close: o,
|
|
8
|
+
isSilent: e,
|
|
9
|
+
okButtonProps: r,
|
|
10
|
+
rootPrefixCls: i,
|
|
11
|
+
okTextLocale: u,
|
|
12
|
+
okType: l,
|
|
13
|
+
onConfirm: t,
|
|
14
|
+
onOk: s
|
|
15
|
+
} = c(m);
|
|
16
|
+
return /* @__PURE__ */ a.createElement(p, {
|
|
17
|
+
isSilent: e,
|
|
18
|
+
type: l || "primary",
|
|
19
|
+
actionFn: s,
|
|
20
|
+
close: function() {
|
|
21
|
+
o == null || o.apply(void 0, arguments), t == null || t(!0);
|
|
22
|
+
},
|
|
23
|
+
autoFocus: n === "ok",
|
|
24
|
+
buttonProps: r,
|
|
25
|
+
prefixCls: `${i}-btn`
|
|
26
|
+
}, u);
|
|
27
|
+
}, C = f;
|
|
28
|
+
export {
|
|
29
|
+
C as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import n, { useContext as a } from "react";
|
|
2
|
+
import c from "../../button/button.mjs";
|
|
3
|
+
import { ModalContext as l } from "../context.mjs";
|
|
4
|
+
const r = () => {
|
|
5
|
+
const {
|
|
6
|
+
cancelButtonProps: t,
|
|
7
|
+
cancelTextLocale: o,
|
|
8
|
+
onCancel: e
|
|
9
|
+
} = a(l);
|
|
10
|
+
return /* @__PURE__ */ n.createElement(c, Object.assign({
|
|
11
|
+
onClick: e
|
|
12
|
+
}, t), o);
|
|
13
|
+
}, C = r;
|
|
14
|
+
export {
|
|
15
|
+
C as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import a, { useContext as m } from "react";
|
|
2
|
+
import c from "../../button/button.mjs";
|
|
3
|
+
import { convertLegacyProps as i } from "../../button/buttonHelpers.mjs";
|
|
4
|
+
import { ModalContext as l } from "../context.mjs";
|
|
5
|
+
const s = () => {
|
|
6
|
+
const {
|
|
7
|
+
confirmLoading: o,
|
|
8
|
+
okButtonProps: t,
|
|
9
|
+
okType: e,
|
|
10
|
+
okTextLocale: n,
|
|
11
|
+
onOk: r
|
|
12
|
+
} = m(l);
|
|
13
|
+
return /* @__PURE__ */ a.createElement(c, Object.assign({}, i(e), {
|
|
14
|
+
loading: o,
|
|
15
|
+
onClick: r
|
|
16
|
+
}, t), n);
|
|
17
|
+
}, d = s;
|
|
18
|
+
export {
|
|
19
|
+
d as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import h from "../../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
2
|
+
import p, { useContext as j } from "react";
|
|
3
|
+
import { unmount as P, render as E } from "../../../rc-util/es/React/render.mjs";
|
|
4
|
+
import v from "../_util/warning.mjs";
|
|
5
|
+
import w, { globalConfig as y, warnContext as N } from "../config-provider/index.mjs";
|
|
6
|
+
import D from "./ConfirmDialog.mjs";
|
|
7
|
+
import g from "./destroyFns.mjs";
|
|
8
|
+
import { getConfirmLocale as R } from "./locale.mjs";
|
|
9
|
+
import { ConfigContext as M } from "../config-provider/context.mjs";
|
|
10
|
+
let x = "";
|
|
11
|
+
function O() {
|
|
12
|
+
return x;
|
|
13
|
+
}
|
|
14
|
+
const V = (e) => {
|
|
15
|
+
var n, l;
|
|
16
|
+
const {
|
|
17
|
+
prefixCls: o,
|
|
18
|
+
getContainer: d,
|
|
19
|
+
direction: f
|
|
20
|
+
} = e, u = R(), i = j(M), m = O() || i.getPrefixCls(), t = o || `${m}-modal`;
|
|
21
|
+
let r = d;
|
|
22
|
+
return r === !1 && (r = void 0, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && v(!1, "Modal", "Static method not support `getContainer` to be `false` since it do not have context env.")), /* @__PURE__ */ p.createElement(D, Object.assign({}, e, {
|
|
23
|
+
rootPrefixCls: m,
|
|
24
|
+
prefixCls: t,
|
|
25
|
+
iconPrefixCls: i.iconPrefixCls,
|
|
26
|
+
theme: i.theme,
|
|
27
|
+
direction: f ?? i.direction,
|
|
28
|
+
locale: (l = (n = i.locale) === null || n === void 0 ? void 0 : n.Modal) !== null && l !== void 0 ? l : u,
|
|
29
|
+
getContainer: r
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
function _(e) {
|
|
33
|
+
const n = y();
|
|
34
|
+
process.env.NODE_ENV !== "production" && !n.holderRender && N("Modal");
|
|
35
|
+
const l = document.createDocumentFragment();
|
|
36
|
+
let o = Object.assign(Object.assign({}, e), {
|
|
37
|
+
close: i,
|
|
38
|
+
open: !0
|
|
39
|
+
}), d;
|
|
40
|
+
function f() {
|
|
41
|
+
for (var t, r = arguments.length, s = new Array(r), a = 0; a < r; a++)
|
|
42
|
+
s[a] = arguments[a];
|
|
43
|
+
if (s.some((c) => c == null ? void 0 : c.triggerCancel)) {
|
|
44
|
+
var b;
|
|
45
|
+
(t = e.onCancel) === null || t === void 0 || (b = t).call.apply(b, [e, () => {
|
|
46
|
+
}].concat(h(s.slice(1))));
|
|
47
|
+
}
|
|
48
|
+
for (let c = 0; c < g.length; c++)
|
|
49
|
+
if (g[c] === i) {
|
|
50
|
+
g.splice(c, 1);
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
P(l);
|
|
54
|
+
}
|
|
55
|
+
function u(t) {
|
|
56
|
+
clearTimeout(d), d = setTimeout(() => {
|
|
57
|
+
const r = n.getPrefixCls(void 0, O()), s = n.getIconPrefixCls(), a = n.getTheme(), C = /* @__PURE__ */ p.createElement(V, Object.assign({}, t));
|
|
58
|
+
E(/* @__PURE__ */ p.createElement(w, {
|
|
59
|
+
prefixCls: r,
|
|
60
|
+
iconPrefixCls: s,
|
|
61
|
+
theme: a
|
|
62
|
+
}, n.holderRender ? n.holderRender(C) : C), l);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function i() {
|
|
66
|
+
for (var t = arguments.length, r = new Array(t), s = 0; s < t; s++)
|
|
67
|
+
r[s] = arguments[s];
|
|
68
|
+
o = Object.assign(Object.assign({}, o), {
|
|
69
|
+
open: !1,
|
|
70
|
+
afterClose: () => {
|
|
71
|
+
typeof e.afterClose == "function" && e.afterClose(), f.apply(this, r);
|
|
72
|
+
}
|
|
73
|
+
}), o.visible && delete o.visible, u(o);
|
|
74
|
+
}
|
|
75
|
+
function m(t) {
|
|
76
|
+
typeof t == "function" ? o = t(o) : o = Object.assign(Object.assign({}, o), t), u(o);
|
|
77
|
+
}
|
|
78
|
+
return u(o), g.push(i), {
|
|
79
|
+
destroy: i,
|
|
80
|
+
update: m
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function q(e) {
|
|
84
|
+
return Object.assign(Object.assign({}, e), {
|
|
85
|
+
type: "warning"
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function B(e) {
|
|
89
|
+
return Object.assign(Object.assign({}, e), {
|
|
90
|
+
type: "info"
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function H(e) {
|
|
94
|
+
return Object.assign(Object.assign({}, e), {
|
|
95
|
+
type: "success"
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function J(e) {
|
|
99
|
+
return Object.assign(Object.assign({}, e), {
|
|
100
|
+
type: "error"
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function K(e) {
|
|
104
|
+
return Object.assign(Object.assign({}, e), {
|
|
105
|
+
type: "confirm"
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
function Q(e) {
|
|
109
|
+
let {
|
|
110
|
+
rootPrefixCls: n
|
|
111
|
+
} = e;
|
|
112
|
+
process.env.NODE_ENV !== "production" && v(!1, "Modal", "Modal.config is deprecated. Please use ConfigProvider.config instead."), x = n;
|
|
113
|
+
}
|
|
114
|
+
export {
|
|
115
|
+
_ as default,
|
|
116
|
+
Q as modalGlobalConfig,
|
|
117
|
+
K as withConfirm,
|
|
118
|
+
J as withError,
|
|
119
|
+
B as withInfo,
|
|
120
|
+
H as withSuccess,
|
|
121
|
+
q as withWarn
|
|
122
|
+
};
|