@antscorp/antsomi-ui 1.1.7 → 1.1.8
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/_virtual/index.js +1 -1
- package/dist/_virtual/index2.js +1 -1
- package/dist/_virtual/react-is.development.js +1 -1
- package/dist/_virtual/react-is.production.min.js +1 -1
- package/dist/node_modules/@ant-design/colors/es/generate.js +1 -1
- package/dist/node_modules/@ant-design/colors/es/generate.js.map +1 -1
- package/dist/node_modules/@ant-design/colors/es/index.js +1 -1
- package/dist/node_modules/@ant-design/colors/es/index.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/util.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/util.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.esm.js +1 -1
- package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.esm.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/Context.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/Context.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons/es/utils.js +1 -1
- package/dist/node_modules/@ant-design/icons/es/utils.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js.map +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js +1 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.js +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.js.map +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js.map +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.js +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.js.map +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.js +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.js.map +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.js +1 -1
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.js.map +1 -1
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +1 -1
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -1
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +1 -1
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +1 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -1
- package/dist/node_modules/@emotion/react/dist/emotion-element-3838ba9e.esm.js +1 -1
- package/dist/node_modules/@emotion/react/dist/emotion-element-3838ba9e.esm.js.map +1 -1
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +1 -1
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -1
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +1 -1
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +1 -1
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +1 -1
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -1
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +1 -1
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -1
- package/dist/node_modules/@emotion/unitless/dist/unitless.esm.js +1 -1
- package/dist/node_modules/@emotion/unitless/dist/unitless.esm.js.map +1 -1
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +1 -1
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -1
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +1 -1
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -1
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +1 -1
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/Context.js +1 -1
- package/dist/node_modules/@rc-component/portal/es/Context.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/Portal.js +1 -1
- package/dist/node_modules/@rc-component/portal/es/Portal.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/index.js +1 -1
- package/dist/node_modules/@rc-component/portal/es/mock.js +1 -1
- package/dist/node_modules/@rc-component/portal/es/mock.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/useDom.js +1 -1
- package/dist/node_modules/@rc-component/portal/es/useDom.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/useScrollLocker.js +1 -1
- package/dist/node_modules/@rc-component/portal/es/useScrollLocker.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/util.js +1 -1
- package/dist/node_modules/@rc-component/portal/es/util.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/context.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/context.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/index.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/util.js +1 -1
- package/dist/node_modules/@rc-component/trigger/es/util.js.map +1 -1
- package/dist/node_modules/antd/es/_util/ActionButton.js +1 -1
- package/dist/node_modules/antd/es/_util/ActionButton.js.map +1 -1
- package/dist/node_modules/antd/es/_util/PurePanel.js +1 -1
- package/dist/node_modules/antd/es/_util/PurePanel.js.map +1 -1
- package/dist/node_modules/antd/es/_util/colors.js +1 -1
- package/dist/node_modules/antd/es/_util/colors.js.map +1 -1
- package/dist/node_modules/antd/es/_util/getDataOrAriaProps.js +1 -1
- package/dist/node_modules/antd/es/_util/getDataOrAriaProps.js.map +1 -1
- package/dist/node_modules/antd/es/_util/hooks/useFlexGapSupport.js +1 -1
- package/dist/node_modules/antd/es/_util/hooks/useFlexGapSupport.js.map +1 -1
- package/dist/node_modules/antd/es/_util/hooks/usePatchElement.js +1 -1
- package/dist/node_modules/antd/es/_util/hooks/usePatchElement.js.map +1 -1
- package/dist/node_modules/antd/es/_util/isNumeric.js +1 -1
- package/dist/node_modules/antd/es/_util/isNumeric.js.map +1 -1
- package/dist/node_modules/antd/es/_util/motion.js +1 -1
- package/dist/node_modules/antd/es/_util/motion.js.map +1 -1
- package/dist/node_modules/antd/es/_util/placements.js +1 -1
- package/dist/node_modules/antd/es/_util/placements.js.map +1 -1
- package/dist/node_modules/antd/es/_util/reactNode.js +1 -1
- package/dist/node_modules/antd/es/_util/reactNode.js.map +1 -1
- package/dist/node_modules/antd/es/_util/statusUtils.js +1 -1
- package/dist/node_modules/antd/es/_util/statusUtils.js.map +1 -1
- package/dist/node_modules/antd/es/_util/styleChecker.js +1 -1
- package/dist/node_modules/antd/es/_util/styleChecker.js.map +1 -1
- package/dist/node_modules/antd/es/_util/warning.js +1 -1
- package/dist/node_modules/antd/es/_util/warning.js.map +1 -1
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
- package/dist/node_modules/antd/es/_util/wave/index.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/index.js.map +1 -1
- package/dist/node_modules/antd/es/_util/wave/style.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
- package/dist/node_modules/antd/es/_util/wave/useWave.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/useWave.js.map +1 -1
- package/dist/node_modules/antd/es/_util/wave/util.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/util.js.map +1 -1
- package/dist/node_modules/antd/es/alert/ErrorBoundary.js +1 -1
- package/dist/node_modules/antd/es/alert/ErrorBoundary.js.map +1 -1
- package/dist/node_modules/antd/es/alert/index.js +1 -1
- package/dist/node_modules/antd/es/alert/index.js.map +1 -1
- package/dist/node_modules/antd/es/alert/style/index.js +1 -1
- package/dist/node_modules/antd/es/alert/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/button/LoadingIcon.js +1 -1
- package/dist/node_modules/antd/es/button/LoadingIcon.js.map +1 -1
- package/dist/node_modules/antd/es/button/button-group.js +1 -1
- package/dist/node_modules/antd/es/button/button-group.js.map +1 -1
- package/dist/node_modules/antd/es/button/button.js +1 -1
- package/dist/node_modules/antd/es/button/button.js.map +1 -1
- package/dist/node_modules/antd/es/button/buttonHelpers.js +1 -1
- package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
- package/dist/node_modules/antd/es/button/index.js +1 -1
- package/dist/node_modules/antd/es/button/style/group.js +1 -1
- package/dist/node_modules/antd/es/button/style/group.js.map +1 -1
- package/dist/node_modules/antd/es/button/style/index.js +1 -1
- package/dist/node_modules/antd/es/button/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/calendar/locale/en_US.js +1 -1
- package/dist/node_modules/antd/es/cascader/index.js +1 -1
- package/dist/node_modules/antd/es/cascader/index.js.map +1 -1
- package/dist/node_modules/antd/es/cascader/style/index.js +1 -1
- package/dist/node_modules/antd/es/cascader/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/checkbox/style/index.js +1 -1
- package/dist/node_modules/antd/es/checkbox/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/DisabledContext.js +1 -1
- package/dist/node_modules/antd/es/config-provider/DisabledContext.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/SizeContext.js +1 -1
- package/dist/node_modules/antd/es/config-provider/SizeContext.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/context.js +1 -1
- package/dist/node_modules/antd/es/config-provider/context.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/cssVariables.js +1 -1
- package/dist/node_modules/antd/es/config-provider/cssVariables.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.js +1 -1
- package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/hooks/useConfig.js +1 -1
- package/dist/node_modules/antd/es/config-provider/hooks/useConfig.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/hooks/useTheme.js +1 -1
- package/dist/node_modules/antd/es/config-provider/hooks/useTheme.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/index.js +1 -1
- package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/style/index.js +1 -1
- package/dist/node_modules/antd/es/config-provider/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/date-picker/locale/en_US.js +1 -1
- package/dist/node_modules/antd/es/date-picker/locale/en_US.js.map +1 -1
- package/dist/node_modules/antd/es/divider/index.js +1 -1
- package/dist/node_modules/antd/es/divider/index.js.map +1 -1
- package/dist/node_modules/antd/es/divider/style/index.js +1 -1
- package/dist/node_modules/antd/es/divider/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/dropdown/dropdown-button.js +1 -1
- package/dist/node_modules/antd/es/dropdown/dropdown-button.js.map +1 -1
- package/dist/node_modules/antd/es/dropdown/dropdown.js +1 -1
- package/dist/node_modules/antd/es/dropdown/dropdown.js.map +1 -1
- package/dist/node_modules/antd/es/dropdown/index.js +1 -1
- package/dist/node_modules/antd/es/dropdown/style/button.js +1 -1
- package/dist/node_modules/antd/es/dropdown/style/button.js.map +1 -1
- package/dist/node_modules/antd/es/dropdown/style/index.js +1 -1
- package/dist/node_modules/antd/es/dropdown/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/dropdown/style/status.js +1 -1
- package/dist/node_modules/antd/es/dropdown/style/status.js.map +1 -1
- package/dist/node_modules/antd/es/empty/empty.js +1 -1
- package/dist/node_modules/antd/es/empty/empty.js.map +1 -1
- package/dist/node_modules/antd/es/empty/index.js +1 -1
- package/dist/node_modules/antd/es/empty/index.js.map +1 -1
- package/dist/node_modules/antd/es/empty/simple.js +1 -1
- package/dist/node_modules/antd/es/empty/simple.js.map +1 -1
- package/dist/node_modules/antd/es/empty/style/index.js +1 -1
- package/dist/node_modules/antd/es/empty/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/form/context.js +1 -1
- package/dist/node_modules/antd/es/form/context.js.map +1 -1
- package/dist/node_modules/antd/es/input/Group.js +1 -1
- package/dist/node_modules/antd/es/input/Group.js.map +1 -1
- package/dist/node_modules/antd/es/input/Input.js +1 -1
- package/dist/node_modules/antd/es/input/Input.js.map +1 -1
- package/dist/node_modules/antd/es/input/Password.js +1 -1
- package/dist/node_modules/antd/es/input/Password.js.map +1 -1
- package/dist/node_modules/antd/es/input/Search.js +1 -1
- package/dist/node_modules/antd/es/input/Search.js.map +1 -1
- package/dist/node_modules/antd/es/input/TextArea.js +1 -1
- package/dist/node_modules/antd/es/input/TextArea.js.map +1 -1
- package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +1 -1
- package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js.map +1 -1
- package/dist/node_modules/antd/es/input/index.js +1 -1
- package/dist/node_modules/antd/es/input/index.js.map +1 -1
- package/dist/node_modules/antd/es/input/style/index.js +1 -1
- package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/input/utils.js +1 -1
- package/dist/node_modules/antd/es/input/utils.js.map +1 -1
- package/dist/node_modules/antd/es/layout/Sider.js +1 -1
- package/dist/node_modules/antd/es/layout/Sider.js.map +1 -1
- package/dist/node_modules/antd/es/layout/layout.js +1 -1
- package/dist/node_modules/antd/es/layout/layout.js.map +1 -1
- package/dist/node_modules/antd/es/layout/style/index.js +1 -1
- package/dist/node_modules/antd/es/layout/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/layout/style/light.js +1 -1
- package/dist/node_modules/antd/es/layout/style/light.js.map +1 -1
- package/dist/node_modules/antd/es/locale/context.js +1 -1
- package/dist/node_modules/antd/es/locale/context.js.map +1 -1
- package/dist/node_modules/antd/es/locale/en_US.js +1 -1
- package/dist/node_modules/antd/es/locale/en_US.js.map +1 -1
- package/dist/node_modules/antd/es/locale/index.js +1 -1
- package/dist/node_modules/antd/es/locale/index.js.map +1 -1
- package/dist/node_modules/antd/es/locale/useLocale.js +1 -1
- package/dist/node_modules/antd/es/locale/useLocale.js.map +1 -1
- package/dist/node_modules/antd/es/menu/MenuContext.js +1 -1
- package/dist/node_modules/antd/es/menu/MenuContext.js.map +1 -1
- package/dist/node_modules/antd/es/menu/MenuDivider.js +1 -1
- package/dist/node_modules/antd/es/menu/MenuDivider.js.map +1 -1
- package/dist/node_modules/antd/es/menu/MenuItem.js +1 -1
- package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
- package/dist/node_modules/antd/es/menu/OverrideContext.js +1 -1
- package/dist/node_modules/antd/es/menu/OverrideContext.js.map +1 -1
- package/dist/node_modules/antd/es/menu/SubMenu.js +1 -1
- package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
- package/dist/node_modules/antd/es/menu/hooks/useItems.js +1 -1
- package/dist/node_modules/antd/es/menu/hooks/useItems.js.map +1 -1
- package/dist/node_modules/antd/es/menu/index.js +1 -1
- package/dist/node_modules/antd/es/menu/index.js.map +1 -1
- package/dist/node_modules/antd/es/menu/menu.js +1 -1
- package/dist/node_modules/antd/es/menu/menu.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
- package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/index.js +1 -1
- package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/rtl.js +1 -1
- package/dist/node_modules/antd/es/menu/style/rtl.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/theme.js +1 -1
- package/dist/node_modules/antd/es/menu/style/theme.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
- package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js +1 -1
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
- package/dist/node_modules/antd/es/modal/Modal.js +1 -1
- package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
- package/dist/node_modules/antd/es/modal/PurePanel.js +1 -1
- package/dist/node_modules/antd/es/modal/PurePanel.js.map +1 -1
- package/dist/node_modules/antd/es/modal/confirm.js +1 -1
- package/dist/node_modules/antd/es/modal/confirm.js.map +1 -1
- package/dist/node_modules/antd/es/modal/destroyFns.js +1 -1
- package/dist/node_modules/antd/es/modal/destroyFns.js.map +1 -1
- package/dist/node_modules/antd/es/modal/index.js +1 -1
- package/dist/node_modules/antd/es/modal/index.js.map +1 -1
- package/dist/node_modules/antd/es/modal/locale.js +1 -1
- package/dist/node_modules/antd/es/modal/locale.js.map +1 -1
- package/dist/node_modules/antd/es/modal/style/index.js +1 -1
- package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/modal/useModal/HookModal.js +1 -1
- package/dist/node_modules/antd/es/modal/useModal/HookModal.js.map +1 -1
- package/dist/node_modules/antd/es/modal/useModal/index.js +1 -1
- package/dist/node_modules/antd/es/modal/useModal/index.js.map +1 -1
- package/dist/node_modules/antd/es/radio/context.js +1 -1
- package/dist/node_modules/antd/es/radio/context.js.map +1 -1
- package/dist/node_modules/antd/es/radio/group.js +1 -1
- package/dist/node_modules/antd/es/radio/group.js.map +1 -1
- package/dist/node_modules/antd/es/radio/index.js +1 -1
- package/dist/node_modules/antd/es/radio/index.js.map +1 -1
- package/dist/node_modules/antd/es/radio/radio.js +1 -1
- package/dist/node_modules/antd/es/radio/radio.js.map +1 -1
- package/dist/node_modules/antd/es/radio/radioButton.js +1 -1
- package/dist/node_modules/antd/es/radio/radioButton.js.map +1 -1
- package/dist/node_modules/antd/es/radio/style/index.js +1 -1
- package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/select/index.js +1 -1
- package/dist/node_modules/antd/es/select/index.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
- package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/index.js +1 -1
- package/dist/node_modules/antd/es/select/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/multiple.js +1 -1
- package/dist/node_modules/antd/es/select/style/multiple.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/single.js +1 -1
- package/dist/node_modules/antd/es/select/style/single.js.map +1 -1
- package/dist/node_modules/antd/es/select/useShowArrow.js +1 -1
- package/dist/node_modules/antd/es/select/useShowArrow.js.map +1 -1
- package/dist/node_modules/antd/es/select/utils/iconUtil.js +1 -1
- package/dist/node_modules/antd/es/select/utils/iconUtil.js.map +1 -1
- package/dist/node_modules/antd/es/space/Compact.js +1 -1
- package/dist/node_modules/antd/es/space/Compact.js.map +1 -1
- package/dist/node_modules/antd/es/space/Item.js +1 -1
- package/dist/node_modules/antd/es/space/Item.js.map +1 -1
- package/dist/node_modules/antd/es/space/index.js +1 -1
- package/dist/node_modules/antd/es/space/index.js.map +1 -1
- package/dist/node_modules/antd/es/space/style/compact.js +1 -1
- package/dist/node_modules/antd/es/space/style/compact.js.map +1 -1
- package/dist/node_modules/antd/es/space/style/index.js +1 -1
- package/dist/node_modules/antd/es/space/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/style/compact-item-vertical.js +1 -1
- package/dist/node_modules/antd/es/style/compact-item-vertical.js.map +1 -1
- package/dist/node_modules/antd/es/style/compact-item.js +1 -1
- package/dist/node_modules/antd/es/style/compact-item.js.map +1 -1
- package/dist/node_modules/antd/es/style/index.js +1 -1
- package/dist/node_modules/antd/es/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/style/motion/collapse.js +1 -1
- package/dist/node_modules/antd/es/style/motion/collapse.js.map +1 -1
- package/dist/node_modules/antd/es/style/motion/fade.js +1 -1
- package/dist/node_modules/antd/es/style/motion/fade.js.map +1 -1
- package/dist/node_modules/antd/es/style/motion/motion.js +1 -1
- package/dist/node_modules/antd/es/style/motion/motion.js.map +1 -1
- package/dist/node_modules/antd/es/style/motion/move.js +1 -1
- package/dist/node_modules/antd/es/style/motion/move.js.map +1 -1
- package/dist/node_modules/antd/es/style/motion/slide.js +1 -1
- package/dist/node_modules/antd/es/style/motion/slide.js.map +1 -1
- package/dist/node_modules/antd/es/style/motion/zoom.js +1 -1
- package/dist/node_modules/antd/es/style/motion/zoom.js.map +1 -1
- package/dist/node_modules/antd/es/style/placementArrow.js +1 -1
- package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
- package/dist/node_modules/antd/es/style/presetColor.js +1 -1
- package/dist/node_modules/antd/es/style/presetColor.js.map +1 -1
- package/dist/node_modules/antd/es/style/roundedArrow.js +1 -1
- package/dist/node_modules/antd/es/style/roundedArrow.js.map +1 -1
- package/dist/node_modules/antd/es/theme/index.js +1 -1
- package/dist/node_modules/antd/es/theme/index.js.map +1 -1
- package/dist/node_modules/antd/es/theme/interface/presetColors.js +1 -1
- package/dist/node_modules/antd/es/theme/interface/presetColors.js.map +1 -1
- package/dist/node_modules/antd/es/theme/internal.js +1 -1
- package/dist/node_modules/antd/es/theme/internal.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/compact/index.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/compact/index.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/dark/colors.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/dark/colors.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/dark/index.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/dark/index.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/default/colors.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/default/colors.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/default/index.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/default/index.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/seed.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/seed.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genRadius.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genRadius.js.map +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js +1 -1
- package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js.map +1 -1
- package/dist/node_modules/antd/es/theme/util/alias.js +1 -1
- package/dist/node_modules/antd/es/theme/util/alias.js.map +1 -1
- package/dist/node_modules/antd/es/theme/util/genComponentStyleHook.js +1 -1
- package/dist/node_modules/antd/es/theme/util/genComponentStyleHook.js.map +1 -1
- package/dist/node_modules/antd/es/theme/util/getAlphaColor.js +1 -1
- package/dist/node_modules/antd/es/theme/util/getAlphaColor.js.map +1 -1
- package/dist/node_modules/antd/es/theme/util/statistic.js +1 -1
- package/dist/node_modules/antd/es/theme/util/statistic.js.map +1 -1
- package/dist/node_modules/antd/es/time-picker/locale/en_US.js +1 -1
- package/dist/node_modules/antd/es/time-picker/locale/en_US.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/PurePanel.js +1 -1
- package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/index.js +1 -1
- package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/style/index.js +1 -1
- package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/util.js +1 -1
- package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
- package/dist/node_modules/antd/es/version/index.js +1 -1
- package/dist/node_modules/antd/es/version/version.js +1 -1
- package/dist/node_modules/antd/es/version/version.js.map +1 -1
- package/dist/node_modules/async-validator/dist-web/index.js +1 -1
- package/dist/node_modules/async-validator/dist-web/index.js.map +1 -1
- package/dist/node_modules/classnames/index.js +2 -2
- package/dist/node_modules/classnames/index.js.map +1 -1
- package/dist/node_modules/dom-align/dist-web/index.js +1 -1
- package/dist/node_modules/dom-align/dist-web/index.js.map +1 -1
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -1
- package/dist/node_modules/rc-align/es/Align.js +1 -1
- package/dist/node_modules/rc-align/es/Align.js.map +1 -1
- package/dist/node_modules/rc-align/es/hooks/useBuffer.js +1 -1
- package/dist/node_modules/rc-align/es/hooks/useBuffer.js.map +1 -1
- package/dist/node_modules/rc-align/es/index.js +1 -1
- package/dist/node_modules/rc-align/es/util.js +1 -1
- package/dist/node_modules/rc-align/es/util.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/Cascader.js +1 -1
- package/dist/node_modules/rc-cascader/es/Cascader.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/Checkbox.js +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/Checkbox.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/Column.js +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/Column.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/index.js +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/index.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/useActive.js +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/useActive.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/useKeyboard.js +1 -1
- package/dist/node_modules/rc-cascader/es/OptionList/useKeyboard.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/context.js +1 -1
- package/dist/node_modules/rc-cascader/es/context.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useDisplayValues.js +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useDisplayValues.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useEntities.js +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useEntities.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useMissingValues.js +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useMissingValues.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useRefFunc.js +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useRefFunc.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useSearchConfig.js +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useSearchConfig.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useSearchOptions.js +1 -1
- package/dist/node_modules/rc-cascader/es/hooks/useSearchOptions.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/index.js +1 -1
- package/dist/node_modules/rc-cascader/es/utils/commonUtil.js +1 -1
- package/dist/node_modules/rc-cascader/es/utils/commonUtil.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/utils/treeUtil.js +1 -1
- package/dist/node_modules/rc-cascader/es/utils/treeUtil.js.map +1 -1
- package/dist/node_modules/rc-cascader/es/utils/warningPropsUtil.js +1 -1
- package/dist/node_modules/rc-cascader/es/utils/warningPropsUtil.js.map +1 -1
- package/dist/node_modules/rc-checkbox/es/index.js +1 -1
- package/dist/node_modules/rc-checkbox/es/index.js.map +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js.map +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.js +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.js.map +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Content/index.js +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Content/index.js.map +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Mask.js +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/Mask.js.map +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/index.js +1 -1
- package/dist/node_modules/rc-dialog/es/Dialog/index.js.map +1 -1
- package/dist/node_modules/rc-dialog/es/DialogWrap.js +1 -1
- package/dist/node_modules/rc-dialog/es/DialogWrap.js.map +1 -1
- package/dist/node_modules/rc-dialog/es/index.js +1 -1
- package/dist/node_modules/rc-dialog/es/util.js +1 -1
- package/dist/node_modules/rc-dialog/es/util.js.map +1 -1
- package/dist/node_modules/rc-dropdown/es/Dropdown.js +1 -1
- package/dist/node_modules/rc-dropdown/es/Dropdown.js.map +1 -1
- package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.js +1 -1
- package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.js.map +1 -1
- package/dist/node_modules/rc-dropdown/es/index.js +1 -1
- package/dist/node_modules/rc-dropdown/es/placements.js +1 -1
- package/dist/node_modules/rc-dropdown/es/placements.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/Field.js +1 -1
- package/dist/node_modules/rc-field-form/es/Field.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/FieldContext.js +1 -1
- package/dist/node_modules/rc-field-form/es/FieldContext.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/Form.js +1 -1
- package/dist/node_modules/rc-field-form/es/Form.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/FormContext.js +1 -1
- package/dist/node_modules/rc-field-form/es/FormContext.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/List.js +1 -1
- package/dist/node_modules/rc-field-form/es/List.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/ListContext.js +1 -1
- package/dist/node_modules/rc-field-form/es/ListContext.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/index.js +1 -1
- package/dist/node_modules/rc-field-form/es/index.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/useForm.js +1 -1
- package/dist/node_modules/rc-field-form/es/useForm.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/useWatch.js +1 -1
- package/dist/node_modules/rc-field-form/es/useWatch.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/utils/NameMap.js +1 -1
- package/dist/node_modules/rc-field-form/es/utils/NameMap.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/utils/asyncUtil.js +1 -1
- package/dist/node_modules/rc-field-form/es/utils/asyncUtil.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/utils/cloneDeep.js +1 -1
- package/dist/node_modules/rc-field-form/es/utils/cloneDeep.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/utils/messages.js +1 -1
- package/dist/node_modules/rc-field-form/es/utils/messages.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/utils/typeUtil.js +1 -1
- package/dist/node_modules/rc-field-form/es/utils/typeUtil.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.js +1 -1
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.js.map +1 -1
- package/dist/node_modules/rc-field-form/es/utils/valueUtil.js +1 -1
- package/dist/node_modules/rc-field-form/es/utils/valueUtil.js.map +1 -1
- package/dist/node_modules/rc-input/es/BaseInput.js +1 -1
- package/dist/node_modules/rc-input/es/BaseInput.js.map +1 -1
- package/dist/node_modules/rc-input/es/Input.js +1 -1
- package/dist/node_modules/rc-input/es/Input.js.map +1 -1
- package/dist/node_modules/rc-input/es/index.js +1 -1
- package/dist/node_modules/rc-input/es/utils/commonUtils.js +1 -1
- package/dist/node_modules/rc-input/es/utils/commonUtils.js.map +1 -1
- package/dist/node_modules/rc-menu/es/Divider.js +1 -1
- package/dist/node_modules/rc-menu/es/Divider.js.map +1 -1
- package/dist/node_modules/rc-menu/es/Icon.js +1 -1
- package/dist/node_modules/rc-menu/es/Icon.js.map +1 -1
- package/dist/node_modules/rc-menu/es/Menu.js +1 -1
- package/dist/node_modules/rc-menu/es/Menu.js.map +1 -1
- package/dist/node_modules/rc-menu/es/MenuItem.js +1 -1
- package/dist/node_modules/rc-menu/es/MenuItem.js.map +1 -1
- package/dist/node_modules/rc-menu/es/MenuItemGroup.js +1 -1
- package/dist/node_modules/rc-menu/es/MenuItemGroup.js.map +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js.map +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.js +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.js.map +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.js +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.js.map +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/index.js +1 -1
- package/dist/node_modules/rc-menu/es/SubMenu/index.js.map +1 -1
- package/dist/node_modules/rc-menu/es/context/IdContext.js +1 -1
- package/dist/node_modules/rc-menu/es/context/IdContext.js.map +1 -1
- package/dist/node_modules/rc-menu/es/context/MenuContext.js +1 -1
- package/dist/node_modules/rc-menu/es/context/MenuContext.js.map +1 -1
- package/dist/node_modules/rc-menu/es/context/PathContext.js +1 -1
- package/dist/node_modules/rc-menu/es/context/PathContext.js.map +1 -1
- package/dist/node_modules/rc-menu/es/context/PrivateContext.js +1 -1
- package/dist/node_modules/rc-menu/es/context/PrivateContext.js.map +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useAccessibility.js +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useAccessibility.js.map +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useActive.js +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useActive.js.map +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.js +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.js.map +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.js +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.js.map +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.js +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.js.map +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useUUID.js +1 -1
- package/dist/node_modules/rc-menu/es/hooks/useUUID.js.map +1 -1
- package/dist/node_modules/rc-menu/es/index.js +1 -1
- package/dist/node_modules/rc-menu/es/index.js.map +1 -1
- package/dist/node_modules/rc-menu/es/placements.js +1 -1
- package/dist/node_modules/rc-menu/es/placements.js.map +1 -1
- package/dist/node_modules/rc-menu/es/utils/motionUtil.js +1 -1
- package/dist/node_modules/rc-menu/es/utils/motionUtil.js.map +1 -1
- package/dist/node_modules/rc-menu/es/utils/nodeUtil.js +1 -1
- package/dist/node_modules/rc-menu/es/utils/nodeUtil.js.map +1 -1
- package/dist/node_modules/rc-menu/es/utils/timeUtil.js +1 -1
- package/dist/node_modules/rc-menu/es/utils/timeUtil.js.map +1 -1
- package/dist/node_modules/rc-menu/es/utils/warnUtil.js +1 -1
- package/dist/node_modules/rc-menu/es/utils/warnUtil.js.map +1 -1
- package/dist/node_modules/rc-motion/es/CSSMotion.js +1 -1
- package/dist/node_modules/rc-motion/es/CSSMotion.js.map +1 -1
- package/dist/node_modules/rc-motion/es/CSSMotionList.js +1 -1
- package/dist/node_modules/rc-motion/es/CSSMotionList.js.map +1 -1
- package/dist/node_modules/rc-motion/es/DomWrapper.js +1 -1
- package/dist/node_modules/rc-motion/es/DomWrapper.js.map +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js.map +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js.map +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useStatus.js +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useStatus.js.map +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js +1 -1
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js.map +1 -1
- package/dist/node_modules/rc-motion/es/index.js +1 -1
- package/dist/node_modules/rc-motion/es/interface.js +1 -1
- package/dist/node_modules/rc-motion/es/interface.js.map +1 -1
- package/dist/node_modules/rc-motion/es/util/diff.js +1 -1
- package/dist/node_modules/rc-motion/es/util/diff.js.map +1 -1
- package/dist/node_modules/rc-motion/es/util/motion.js +1 -1
- package/dist/node_modules/rc-motion/es/util/motion.js.map +1 -1
- package/dist/node_modules/rc-overflow/es/Item.js +1 -1
- package/dist/node_modules/rc-overflow/es/Item.js.map +1 -1
- package/dist/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/dist/node_modules/rc-overflow/es/Overflow.js.map +1 -1
- package/dist/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/dist/node_modules/rc-overflow/es/RawItem.js.map +1 -1
- package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.js.map +1 -1
- package/dist/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/dist/node_modules/rc-overflow/es/hooks/useEffectState.js.map +1 -1
- package/dist/node_modules/rc-overflow/es/index.js +1 -1
- package/dist/node_modules/rc-pagination/es/locale/en_US.js +1 -1
- package/dist/node_modules/rc-pagination/es/locale/en_US.js.map +1 -1
- package/dist/node_modules/rc-picker/es/locale/en_US.js +1 -1
- package/dist/node_modules/rc-picker/es/locale/en_US.js.map +1 -1
- package/dist/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/dist/node_modules/rc-resize-observer/es/Collection.js.map +1 -1
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js.map +1 -1
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.js.map +1 -1
- package/dist/node_modules/rc-resize-observer/es/index.js +1 -1
- package/dist/node_modules/rc-resize-observer/es/index.js.map +1 -1
- package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.js.map +1 -1
- package/dist/node_modules/rc-select/es/BaseSelect.js +1 -1
- package/dist/node_modules/rc-select/es/BaseSelect.js.map +1 -1
- package/dist/node_modules/rc-select/es/OptGroup.js +1 -1
- package/dist/node_modules/rc-select/es/OptGroup.js.map +1 -1
- package/dist/node_modules/rc-select/es/Option.js +1 -1
- package/dist/node_modules/rc-select/es/Option.js.map +1 -1
- package/dist/node_modules/rc-select/es/OptionList.js +1 -1
- package/dist/node_modules/rc-select/es/OptionList.js.map +1 -1
- package/dist/node_modules/rc-select/es/Select.js +1 -1
- package/dist/node_modules/rc-select/es/Select.js.map +1 -1
- package/dist/node_modules/rc-select/es/SelectContext.js +1 -1
- package/dist/node_modules/rc-select/es/SelectContext.js.map +1 -1
- package/dist/node_modules/rc-select/es/SelectTrigger.js +1 -1
- package/dist/node_modules/rc-select/es/SelectTrigger.js.map +1 -1
- package/dist/node_modules/rc-select/es/Selector/Input.js +1 -1
- package/dist/node_modules/rc-select/es/Selector/Input.js.map +1 -1
- package/dist/node_modules/rc-select/es/Selector/MultipleSelector.js +1 -1
- package/dist/node_modules/rc-select/es/Selector/MultipleSelector.js.map +1 -1
- package/dist/node_modules/rc-select/es/Selector/SingleSelector.js +1 -1
- package/dist/node_modules/rc-select/es/Selector/SingleSelector.js.map +1 -1
- package/dist/node_modules/rc-select/es/Selector/index.js +1 -1
- package/dist/node_modules/rc-select/es/Selector/index.js.map +1 -1
- package/dist/node_modules/rc-select/es/TransBtn.js +1 -1
- package/dist/node_modules/rc-select/es/TransBtn.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useBaseProps.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useBaseProps.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useCache.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useCache.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useDelayReset.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useDelayReset.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useId.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useId.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useLock.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useLock.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useOptions.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useOptions.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useRefFunc.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useRefFunc.js.map +1 -1
- package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.js +1 -1
- package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.js.map +1 -1
- package/dist/node_modules/rc-select/es/index.js +1 -1
- package/dist/node_modules/rc-select/es/utils/commonUtil.js +1 -1
- package/dist/node_modules/rc-select/es/utils/commonUtil.js.map +1 -1
- package/dist/node_modules/rc-select/es/utils/keyUtil.js +1 -1
- package/dist/node_modules/rc-select/es/utils/keyUtil.js.map +1 -1
- package/dist/node_modules/rc-select/es/utils/legacyUtil.js +1 -1
- package/dist/node_modules/rc-select/es/utils/legacyUtil.js.map +1 -1
- package/dist/node_modules/rc-select/es/utils/platformUtil.js +1 -1
- package/dist/node_modules/rc-select/es/utils/platformUtil.js.map +1 -1
- package/dist/node_modules/rc-select/es/utils/valueUtil.js +1 -1
- package/dist/node_modules/rc-select/es/utils/valueUtil.js.map +1 -1
- package/dist/node_modules/rc-select/es/utils/warningPropsUtil.js +1 -1
- package/dist/node_modules/rc-select/es/utils/warningPropsUtil.js.map +1 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.js +1 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.js.map +1 -1
- package/dist/node_modules/rc-textarea/es/TextArea.js +1 -1
- package/dist/node_modules/rc-textarea/es/TextArea.js.map +1 -1
- package/dist/node_modules/rc-textarea/es/calculateNodeHeight.js +1 -1
- package/dist/node_modules/rc-textarea/es/calculateNodeHeight.js.map +1 -1
- package/dist/node_modules/rc-textarea/es/index.js +1 -1
- package/dist/node_modules/rc-tooltip/es/Popup.js +1 -1
- package/dist/node_modules/rc-tooltip/es/Popup.js.map +1 -1
- package/dist/node_modules/rc-tooltip/es/Tooltip.js +1 -1
- package/dist/node_modules/rc-tooltip/es/Tooltip.js.map +1 -1
- package/dist/node_modules/rc-tooltip/es/index.js +1 -1
- package/dist/node_modules/rc-tooltip/es/placements.js +1 -1
- package/dist/node_modules/rc-tooltip/es/placements.js.map +1 -1
- package/dist/node_modules/rc-tree/es/util.js +1 -1
- package/dist/node_modules/rc-tree/es/util.js.map +1 -1
- package/dist/node_modules/rc-tree/es/utils/conductUtil.js +1 -1
- package/dist/node_modules/rc-tree/es/utils/conductUtil.js.map +1 -1
- package/dist/node_modules/rc-tree/es/utils/treeUtil.js +1 -1
- package/dist/node_modules/rc-tree/es/utils/treeUtil.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/Mask.js +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/Mask.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/MobilePopupInner.js +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/MobilePopupInner.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/PopupInner.js +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/PopupInner.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/index.js +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/index.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/useStretchStyle.js +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/useStretchStyle.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/useVisibleStatus.js +1 -1
- package/dist/node_modules/rc-trigger/es/Popup/useVisibleStatus.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/context.js +1 -1
- package/dist/node_modules/rc-trigger/es/context.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/index.js +1 -1
- package/dist/node_modules/rc-trigger/es/index.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/utils/alignUtil.js +1 -1
- package/dist/node_modules/rc-trigger/es/utils/alignUtil.js.map +1 -1
- package/dist/node_modules/rc-trigger/es/utils/legacyUtil.js +1 -1
- package/dist/node_modules/rc-trigger/es/utils/legacyUtil.js.map +1 -1
- package/dist/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/dist/node_modules/rc-util/es/Children/toArray.js.map +1 -1
- package/dist/node_modules/rc-util/es/Dom/addEventListener.js +1 -1
- package/dist/node_modules/rc-util/es/Dom/addEventListener.js.map +1 -1
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js.map +1 -1
- package/dist/node_modules/rc-util/es/Dom/contains.js +1 -1
- package/dist/node_modules/rc-util/es/Dom/contains.js.map +1 -1
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js +1 -1
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js.map +1 -1
- package/dist/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/dist/node_modules/rc-util/es/Dom/findDOMNode.js.map +1 -1
- package/dist/node_modules/rc-util/es/Dom/focus.js +1 -1
- package/dist/node_modules/rc-util/es/Dom/focus.js.map +1 -1
- package/dist/node_modules/rc-util/es/Dom/isVisible.js +1 -1
- package/dist/node_modules/rc-util/es/Dom/isVisible.js.map +1 -1
- package/dist/node_modules/rc-util/es/KeyCode.js +1 -1
- package/dist/node_modules/rc-util/es/KeyCode.js.map +1 -1
- package/dist/node_modules/rc-util/es/Portal.js +1 -1
- package/dist/node_modules/rc-util/es/Portal.js.map +1 -1
- package/dist/node_modules/rc-util/es/React/render.js +1 -1
- package/dist/node_modules/rc-util/es/React/render.js.map +1 -1
- package/dist/node_modules/rc-util/es/getScrollBarSize.js +1 -1
- package/dist/node_modules/rc-util/es/getScrollBarSize.js.map +1 -1
- package/dist/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/dist/node_modules/rc-util/es/hooks/useEvent.js.map +1 -1
- package/dist/node_modules/rc-util/es/hooks/useId.js +1 -1
- package/dist/node_modules/rc-util/es/hooks/useId.js.map +1 -1
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js.map +1 -1
- package/dist/node_modules/rc-util/es/hooks/useMemo.js +1 -1
- package/dist/node_modules/rc-util/es/hooks/useMemo.js.map +1 -1
- package/dist/node_modules/rc-util/es/hooks/useMergedState.js +1 -1
- package/dist/node_modules/rc-util/es/hooks/useMergedState.js.map +1 -1
- package/dist/node_modules/rc-util/es/hooks/useState.js +1 -1
- package/dist/node_modules/rc-util/es/hooks/useState.js.map +1 -1
- package/dist/node_modules/rc-util/es/isEqual.js +1 -1
- package/dist/node_modules/rc-util/es/isEqual.js.map +1 -1
- package/dist/node_modules/rc-util/es/isMobile.js +1 -1
- package/dist/node_modules/rc-util/es/isMobile.js.map +1 -1
- package/dist/node_modules/rc-util/es/omit.js +1 -1
- package/dist/node_modules/rc-util/es/omit.js.map +1 -1
- package/dist/node_modules/rc-util/es/pickAttrs.js +1 -1
- package/dist/node_modules/rc-util/es/pickAttrs.js.map +1 -1
- package/dist/node_modules/rc-util/es/raf.js +1 -1
- package/dist/node_modules/rc-util/es/raf.js.map +1 -1
- package/dist/node_modules/rc-util/es/ref.js +1 -1
- package/dist/node_modules/rc-util/es/ref.js.map +1 -1
- package/dist/node_modules/rc-util/es/utils/get.js +1 -1
- package/dist/node_modules/rc-util/es/utils/get.js.map +1 -1
- package/dist/node_modules/rc-util/es/utils/set.js +1 -1
- package/dist/node_modules/rc-util/es/utils/set.js.map +1 -1
- package/dist/node_modules/rc-util/es/warning.js +1 -1
- package/dist/node_modules/rc-util/es/warning.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/Filler.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/Filler.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/Item.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/Item.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/List.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/List.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/ScrollBar.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/ScrollBar.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/index.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.js.map +1 -1
- package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.js +1 -1
- package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +2 -2
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +2 -2
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js.map +1 -1
- package/dist/node_modules/stylis/src/Enum.js +1 -1
- package/dist/node_modules/stylis/src/Enum.js.map +1 -1
- package/dist/node_modules/stylis/src/Middleware.js +1 -1
- package/dist/node_modules/stylis/src/Middleware.js.map +1 -1
- package/dist/node_modules/stylis/src/Parser.js +1 -1
- package/dist/node_modules/stylis/src/Parser.js.map +1 -1
- package/dist/node_modules/stylis/src/Serializer.js +1 -1
- package/dist/node_modules/stylis/src/Serializer.js.map +1 -1
- package/dist/node_modules/stylis/src/Tokenizer.js +1 -1
- package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -1
- package/dist/node_modules/stylis/src/Utility.js +1 -1
- package/dist/node_modules/stylis/src/Utility.js.map +1 -1
- package/dist/node_modules/tslib/tslib.es6.js +1 -1
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/src/components/ConfigProvider/ConfigProvider.js +1 -1
- package/dist/src/components/ConfigProvider/ConfigProvider.js.map +1 -1
- package/dist/src/components/ConfigProvider/GlobalStyle.js +28 -28
- package/dist/src/components/ConfigProvider/GlobalStyle.js.map +1 -1
- package/dist/src/constants.js +1 -1
- package/dist/src/constants.js.map +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/alert/index.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CheckCircleFilled from \"@ant-design/icons/es/icons/CheckCircleFilled\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport InfoCircleFilled from \"@ant-design/icons/es/icons/InfoCircleFilled\";\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport getDataOrAriaProps from '../_util/getDataOrAriaProps';\nimport { replaceElement } from '../_util/reactNode';\nimport ErrorBoundary from './ErrorBoundary';\n// CSSINJS\nimport useStyle from './style';\nconst iconMapFilled = {\n success: CheckCircleFilled,\n info: InfoCircleFilled,\n error: CloseCircleFilled,\n warning: ExclamationCircleFilled\n};\nconst IconNode = props => {\n const {\n icon,\n prefixCls,\n type\n } = props;\n const iconType = iconMapFilled[type] || null;\n if (icon) {\n return replaceElement(icon, /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-icon`\n }, icon), () => ({\n className: classNames(`${prefixCls}-icon`, {\n [icon.props.className]: icon.props.className\n })\n }));\n }\n return /*#__PURE__*/React.createElement(iconType, {\n className: `${prefixCls}-icon`\n });\n};\nconst CloseIcon = props => {\n const {\n isClosable,\n closeText,\n prefixCls,\n closeIcon,\n handleClose\n } = props;\n return isClosable ? /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: handleClose,\n className: `${prefixCls}-close-icon`,\n tabIndex: 0\n }, closeText ? /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-close-text`\n }, closeText) : closeIcon) : null;\n};\nconst Alert = _a => {\n var {\n description,\n prefixCls: customizePrefixCls,\n message,\n banner,\n className,\n rootClassName,\n style,\n onMouseEnter,\n onMouseLeave,\n onClick,\n afterClose,\n showIcon,\n closable,\n closeText,\n closeIcon = /*#__PURE__*/React.createElement(CloseOutlined, null),\n action\n } = _a,\n props = __rest(_a, [\"description\", \"prefixCls\", \"message\", \"banner\", \"className\", \"rootClassName\", \"style\", \"onMouseEnter\", \"onMouseLeave\", \"onClick\", \"afterClose\", \"showIcon\", \"closable\", \"closeText\", \"closeIcon\", \"action\"]);\n const [closed, setClosed] = React.useState(false);\n const ref = React.useRef();\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('alert', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const handleClose = e => {\n var _a;\n setClosed(true);\n (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e);\n };\n const getType = () => {\n const {\n type\n } = props;\n if (type !== undefined) {\n return type;\n }\n // banner 模式默认为警告\n return banner ? 'warning' : 'info';\n };\n // closeable when closeText is assigned\n const isClosable = closeText ? true : closable;\n const type = getType();\n // banner 模式默认有 Icon\n const isShowIcon = banner && showIcon === undefined ? true : showIcon;\n const alertCls = classNames(prefixCls, `${prefixCls}-${type}`, {\n [`${prefixCls}-with-description`]: !!description,\n [`${prefixCls}-no-icon`]: !isShowIcon,\n [`${prefixCls}-banner`]: !!banner,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, rootClassName, hashId);\n const dataOrAriaProps = getDataOrAriaProps(props);\n return wrapSSR( /*#__PURE__*/React.createElement(CSSMotion, {\n visible: !closed,\n motionName: `${prefixCls}-motion`,\n motionAppear: false,\n motionEnter: false,\n onLeaveStart: node => ({\n maxHeight: node.offsetHeight\n }),\n onLeaveEnd: afterClose\n }, _ref => {\n let {\n className: motionClassName,\n style: motionStyle\n } = _ref;\n return /*#__PURE__*/React.createElement(\"div\", Object.assign({\n ref: ref,\n \"data-show\": !closed,\n className: classNames(alertCls, motionClassName),\n style: Object.assign(Object.assign({}, style), motionStyle),\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onClick: onClick,\n role: \"alert\"\n }, dataOrAriaProps), isShowIcon ? /*#__PURE__*/React.createElement(IconNode, {\n description: description,\n icon: props.icon,\n prefixCls: prefixCls,\n type: type\n }) : null, /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-content`\n }, message ? /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-message`\n }, message) : null, description ? /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-description`\n }, description) : null), action ? /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-action`\n }, action) : null, /*#__PURE__*/React.createElement(CloseIcon, {\n isClosable: !!isClosable,\n closeText: closeText,\n prefixCls: prefixCls,\n closeIcon: closeIcon,\n handleClose: handleClose\n }));\n }));\n};\nAlert.ErrorBoundary = ErrorBoundary;\nif (process.env.NODE_ENV !== 'production') {\n Alert.displayName = 'Alert';\n}\nexport default Alert;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","iconMapFilled","success","CheckCircleFilled","info","InfoCircleFilled","error","CloseCircleFilled","warning","ExclamationCircleFilled","IconNode","props","icon","prefixCls","type","iconType","replaceElement","React","createElement","className","classNames","CloseIcon","isClosable","closeText","closeIcon","handleClose","onClick","tabIndex","Alert","_a","description","customizePrefixCls","message","banner","rootClassName","style","onMouseEnter","onMouseLeave","afterClose","showIcon","closable","CloseOutlined","action","closed","setClosed","useState","ref","useRef","getPrefixCls","direction","useContext","ConfigContext","wrapSSR","hashId","useStyle","default","onClose","undefined","getType","isShowIcon","alertCls","dataOrAriaProps","getDataOrAriaProps","CSSMotion","visible","motionName","motionAppear","motionEnter","onLeaveStart","node","maxHeight","offsetHeight","onLeaveEnd","_ref","motionClassName","motionStyle","assign","role","ErrorBoundary","process","env","NODE_ENV","displayName","Alert$1"],"mappings":"ogCAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgB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GAAkBF,EAA0B1C,EAAMC,cAAcR,EAAU,CAC3EoB,YAAaA,EACblB,KAAMD,EAAMC,KACZC,UAAWA,EACXC,KAAMA,IACH,KAAmBG,EAAMC,cAAc,MAAO,CACjDC,UAAW,GAAGN,aACbmB,EAAuBf,EAAMC,cAAc,MAAO,CACnDC,UAAW,GAAGN,aACbmB,GAAW,KAAMF,EAA2Bb,EAAMC,cAAc,MAAO,CACxEC,UAAW,GAAGN,iBACbiB,GAAe,MAAOY,EAAsBzB,EAAMC,cAAc,MAAO,CACxEC,UAAW,GAAGN,YACb6B,GAAU,KAAmBzB,EAAMC,cAAcG,EAAW,CAC7DC,aAAcA,EACdC,UAAWA,EACXV,UAAWA,EACXW,UAAWA,EACXC,YAAaA,IACZ,IACF,EAELG,EAAMkD,cAAgBA,EACO,eAAzBC,QAAQC,IAAIC,WACdrD,EAAMsD,YAAc,SAEtB,IAAAC,EAAevD","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/alert/index.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CheckCircleFilled from \"@ant-design/icons/es/icons/CheckCircleFilled\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport InfoCircleFilled from \"@ant-design/icons/es/icons/InfoCircleFilled\";\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport getDataOrAriaProps from '../_util/getDataOrAriaProps';\nimport { replaceElement } from '../_util/reactNode';\nimport ErrorBoundary from './ErrorBoundary';\n// CSSINJS\nimport useStyle from './style';\nconst iconMapFilled = {\n success: CheckCircleFilled,\n info: InfoCircleFilled,\n error: CloseCircleFilled,\n warning: ExclamationCircleFilled\n};\nconst IconNode = props => {\n const {\n icon,\n prefixCls,\n type\n } = props;\n const iconType = iconMapFilled[type] || null;\n if (icon) {\n return replaceElement(icon, /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-icon`\n }, icon), () => ({\n className: classNames(`${prefixCls}-icon`, {\n [icon.props.className]: icon.props.className\n })\n }));\n }\n return /*#__PURE__*/React.createElement(iconType, {\n className: `${prefixCls}-icon`\n });\n};\nconst CloseIcon = props => {\n const {\n isClosable,\n closeText,\n prefixCls,\n closeIcon,\n handleClose\n } = props;\n return isClosable ? /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: handleClose,\n className: `${prefixCls}-close-icon`,\n tabIndex: 0\n }, closeText ? /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-close-text`\n }, closeText) : closeIcon) : null;\n};\nconst Alert = _a => {\n var {\n description,\n prefixCls: customizePrefixCls,\n message,\n banner,\n className,\n rootClassName,\n style,\n onMouseEnter,\n onMouseLeave,\n onClick,\n afterClose,\n showIcon,\n closable,\n closeText,\n closeIcon = /*#__PURE__*/React.createElement(CloseOutlined, null),\n action\n } = _a,\n props = __rest(_a, [\"description\", \"prefixCls\", \"message\", \"banner\", \"className\", \"rootClassName\", \"style\", \"onMouseEnter\", \"onMouseLeave\", \"onClick\", \"afterClose\", \"showIcon\", \"closable\", \"closeText\", \"closeIcon\", \"action\"]);\n const [closed, setClosed] = React.useState(false);\n const ref = React.useRef();\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('alert', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const handleClose = e => {\n var _a;\n setClosed(true);\n (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e);\n };\n const getType = () => {\n const {\n type\n } = props;\n if (type !== undefined) {\n return type;\n }\n // banner 模式默认为警告\n return banner ? 'warning' : 'info';\n };\n // closeable when closeText is assigned\n const isClosable = closeText ? true : closable;\n const type = getType();\n // banner 模式默认有 Icon\n const isShowIcon = banner && showIcon === undefined ? true : showIcon;\n const alertCls = classNames(prefixCls, `${prefixCls}-${type}`, {\n [`${prefixCls}-with-description`]: !!description,\n [`${prefixCls}-no-icon`]: !isShowIcon,\n [`${prefixCls}-banner`]: !!banner,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, rootClassName, hashId);\n const dataOrAriaProps = getDataOrAriaProps(props);\n return wrapSSR( /*#__PURE__*/React.createElement(CSSMotion, {\n visible: !closed,\n motionName: `${prefixCls}-motion`,\n motionAppear: false,\n motionEnter: false,\n onLeaveStart: node => ({\n maxHeight: node.offsetHeight\n }),\n onLeaveEnd: afterClose\n }, _ref => {\n let {\n className: motionClassName,\n style: motionStyle\n } = _ref;\n return /*#__PURE__*/React.createElement(\"div\", Object.assign({\n ref: ref,\n \"data-show\": !closed,\n className: classNames(alertCls, motionClassName),\n style: Object.assign(Object.assign({}, style), motionStyle),\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onClick: onClick,\n role: \"alert\"\n }, dataOrAriaProps), isShowIcon ? /*#__PURE__*/React.createElement(IconNode, {\n description: description,\n icon: props.icon,\n prefixCls: prefixCls,\n type: type\n }) : null, /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-content`\n }, message ? /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-message`\n }, message) : null, description ? /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-description`\n }, description) : null), action ? /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-action`\n }, action) : null, /*#__PURE__*/React.createElement(CloseIcon, {\n isClosable: !!isClosable,\n closeText: closeText,\n prefixCls: prefixCls,\n closeIcon: closeIcon,\n handleClose: handleClose\n }));\n }));\n};\nAlert.ErrorBoundary = ErrorBoundary;\nif (process.env.NODE_ENV !== 'production') {\n Alert.displayName = 'Alert';\n}\nexport default Alert;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","iconMapFilled","success","CheckCircleFilled","info","InfoCircleFilled","error","CloseCircleFilled","warning","ExclamationCircleFilled","IconNode","props","icon","prefixCls","type","iconType","replaceElement","React","createElement","className","classNames","CloseIcon","isClosable","closeText","closeIcon","handleClose","onClick","tabIndex","Alert","_a","description","customizePrefixCls","message","banner","rootClassName","style","onMouseEnter","onMouseLeave","afterClose","showIcon","closable","CloseOutlined","action","closed","setClosed","useState","ref","useRef","getPrefixCls","direction","useContext","ConfigContext","wrapSSR","hashId","useStyle","onClose","undefined","getType","isShowIcon","alertCls","dataOrAriaProps","getDataOrAriaProps","CSSMotion","visible","motionName","motionAppear","motionEnter","onLeaveStart","node","maxHeight","offsetHeight","onLeaveEnd","_ref","motionClassName","motionStyle","assign","role","ErrorBoundary","process","env","NODE_ENV","displayName","Alert$1"],"mappings":"uxBAAA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,C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GAAW,KAAMF,EAA2Bb,EAAMC,cAAc,MAAO,CACxEC,UAAW,GAAGN,iBACbiB,GAAe,MAAOY,EAAsBzB,EAAMC,cAAc,MAAO,CACxEC,UAAW,GAAGN,YACb6B,GAAU,KAAmBzB,EAAMC,cAAcG,EAAW,CAC7DC,aAAcA,EACdC,UAAWA,EACXV,UAAWA,EACXW,UAAWA,EACXC,YAAaA,IACZ,IACF,EAELG,EAAMiD,cAAgBA,EACO,eAAzBC,QAAQC,IAAIC,WACdpD,EAAMqD,YAAc,SAEtB,IAAAC,EAAetD","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"
|
|
1
|
+
import"../../theme/internal.js";import{resetComponent as o}from"../../style/index.js";import n from"../../theme/util/genComponentStyleHook.js";import{merge as r}from"../../theme/util/statistic.js";const i=(o,n,r,i,t)=>({backgroundColor:o,border:`${i.lineWidth}px ${i.lineType} ${n}`,[`${t}-icon`]:{color:r}}),t=n=>{const{componentCls:r,motionDurationSlow:i,marginXS:t,marginSM:e,fontSize:a,fontSizeLG:l,lineHeight:c,borderRadiusLG:d,motionEaseInOutCirc:s,alertIconSizeLG:g,colorText:m,paddingContentVerticalSM:p,alertPaddingHorizontal:$,paddingMD:f,paddingContentHorizontalLG:u}=n;return{[r]:Object.assign(Object.assign({},o(n)),{position:"relative",display:"flex",alignItems:"center",padding:`${p}px ${$}px`,wordWrap:"break-word",borderRadius:d,[`&${r}-rtl`]:{direction:"rtl"},[`${r}-content`]:{flex:1,minWidth:0},[`${r}-icon`]:{marginInlineEnd:t,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:c},"&-message":{color:m},[`&${r}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${i} ${s}, opacity ${i} ${s},\n padding-top ${i} ${s}, padding-bottom ${i} ${s},\n margin-bottom ${i} ${s}`},[`&${r}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${r}-with-description`]:{alignItems:"flex-start",paddingInline:u,paddingBlock:f,[`${r}-icon`]:{marginInlineEnd:e,fontSize:g,lineHeight:0},[`${r}-message`]:{display:"block",marginBottom:t,color:m,fontSize:l},[`${r}-description`]:{display:"block"}},[`${r}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},e=o=>{const{componentCls:n,colorSuccess:r,colorSuccessBorder:t,colorSuccessBg:e,colorWarning:a,colorWarningBorder:l,colorWarningBg:c,colorError:d,colorErrorBorder:s,colorErrorBg:g,colorInfo:m,colorInfoBorder:p,colorInfoBg:$}=o;return{[n]:{"&-success":i(e,t,r,o,n),"&-info":i($,p,m,o,n),"&-warning":i(c,l,a,o,n),"&-error":Object.assign(Object.assign({},i(g,s,d,o,n)),{[`${n}-description > pre`]:{margin:0,padding:0}})}}},a=o=>{const{componentCls:n,iconCls:r,motionDurationMid:i,marginXS:t,fontSizeIcon:e,colorIcon:a,colorIconHover:l}=o;return{[n]:{"&-action":{marginInlineStart:t},[`${n}-close-icon`]:{marginInlineStart:t,padding:0,overflow:"hidden",fontSize:e,lineHeight:`${e}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${r}-close`]:{color:a,transition:`color ${i}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${i}`,"&:hover":{color:l}}}}},l=o=>[t(o),e(o),a(o)];var c=n("Alert",(o=>{const{fontSizeHeading3:n}=o,i=r(o,{alertIconSizeLG:n,alertPaddingHorizontal:12});return[l(i)]}));export{c as default,a as genActionStyle,l as genAlertStyle,t as genBaseStyle,e as genTypeStyle};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/alert/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nconst genAlertTypeStyle = (bgColor, borderColor, iconColor, token, alertCls) => ({\n backgroundColor: bgColor,\n border: `${token.lineWidth}px ${token.lineType} ${borderColor}`,\n [`${alertCls}-icon`]: {\n color: iconColor\n }\n});\nexport const genBaseStyle = token => {\n const {\n componentCls,\n motionDurationSlow: duration,\n marginXS,\n marginSM,\n fontSize,\n fontSizeLG,\n lineHeight,\n borderRadiusLG: borderRadius,\n motionEaseInOutCirc,\n alertIconSizeLG,\n colorText,\n paddingContentVerticalSM,\n alertPaddingHorizontal,\n paddingMD,\n paddingContentHorizontalLG\n } = token;\n return {\n [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n padding: `${paddingContentVerticalSM}px ${alertPaddingHorizontal}px`,\n wordWrap: 'break-word',\n borderRadius,\n [`&${componentCls}-rtl`]: {\n direction: 'rtl'\n },\n [`${componentCls}-content`]: {\n flex: 1,\n minWidth: 0\n },\n [`${componentCls}-icon`]: {\n marginInlineEnd: marginXS,\n lineHeight: 0\n },\n [`&-description`]: {\n display: 'none',\n fontSize,\n lineHeight\n },\n '&-message': {\n color: colorText\n },\n [`&${componentCls}-motion-leave`]: {\n overflow: 'hidden',\n opacity: 1,\n transition: `max-height ${duration} ${motionEaseInOutCirc}, opacity ${duration} ${motionEaseInOutCirc},\n padding-top ${duration} ${motionEaseInOutCirc}, padding-bottom ${duration} ${motionEaseInOutCirc},\n margin-bottom ${duration} ${motionEaseInOutCirc}`\n },\n [`&${componentCls}-motion-leave-active`]: {\n maxHeight: 0,\n marginBottom: '0 !important',\n paddingTop: 0,\n paddingBottom: 0,\n opacity: 0\n }\n }),\n [`${componentCls}-with-description`]: {\n alignItems: 'flex-start',\n paddingInline: paddingContentHorizontalLG,\n paddingBlock: paddingMD,\n [`${componentCls}-icon`]: {\n marginInlineEnd: marginSM,\n fontSize: alertIconSizeLG,\n lineHeight: 0\n },\n [`${componentCls}-message`]: {\n display: 'block',\n marginBottom: marginXS,\n color: colorText,\n fontSize: fontSizeLG\n },\n [`${componentCls}-description`]: {\n display: 'block'\n }\n },\n [`${componentCls}-banner`]: {\n marginBottom: 0,\n border: '0 !important',\n borderRadius: 0\n }\n };\n};\nexport const genTypeStyle = token => {\n const {\n componentCls,\n colorSuccess,\n colorSuccessBorder,\n colorSuccessBg,\n colorWarning,\n colorWarningBorder,\n colorWarningBg,\n colorError,\n colorErrorBorder,\n colorErrorBg,\n colorInfo,\n colorInfoBorder,\n colorInfoBg\n } = token;\n return {\n [componentCls]: {\n '&-success': genAlertTypeStyle(colorSuccessBg, colorSuccessBorder, colorSuccess, token, componentCls),\n '&-info': genAlertTypeStyle(colorInfoBg, colorInfoBorder, colorInfo, token, componentCls),\n '&-warning': genAlertTypeStyle(colorWarningBg, colorWarningBorder, colorWarning, token, componentCls),\n '&-error': Object.assign(Object.assign({}, genAlertTypeStyle(colorErrorBg, colorErrorBorder, colorError, token, componentCls)), {\n [`${componentCls}-description > pre`]: {\n margin: 0,\n padding: 0\n }\n })\n }\n };\n};\nexport const genActionStyle = token => {\n const {\n componentCls,\n iconCls,\n motionDurationMid,\n marginXS,\n fontSizeIcon,\n colorIcon,\n colorIconHover\n } = token;\n return {\n [componentCls]: {\n [`&-action`]: {\n marginInlineStart: marginXS\n },\n [`${componentCls}-close-icon`]: {\n marginInlineStart: marginXS,\n padding: 0,\n overflow: 'hidden',\n fontSize: fontSizeIcon,\n lineHeight: `${fontSizeIcon}px`,\n backgroundColor: 'transparent',\n border: 'none',\n outline: 'none',\n cursor: 'pointer',\n [`${iconCls}-close`]: {\n color: colorIcon,\n transition: `color ${motionDurationMid}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n },\n '&-close-text': {\n color: colorIcon,\n transition: `color ${motionDurationMid}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n }\n };\n};\nexport const genAlertStyle = token => [genBaseStyle(token), genTypeStyle(token), genActionStyle(token)];\nexport default genComponentStyleHook('Alert', token => {\n const {\n fontSizeHeading3\n } = token;\n const alertToken = mergeToken(token, {\n alertIconSizeLG: fontSizeHeading3,\n alertPaddingHorizontal: 12 // Fixed value here.\n });\n\n return [genAlertStyle(alertToken)];\n});"],"names":["genAlertTypeStyle","bgColor","borderColor","iconColor","token","alertCls","backgroundColor","border","lineWidth","lineType","color","genBaseStyle","componentCls","motionDurationSlow","duration","marginXS","marginSM","fontSize","fontSizeLG","lineHeight","borderRadiusLG","borderRadius","motionEaseInOutCirc","alertIconSizeLG","colorText","paddingContentVerticalSM","alertPaddingHorizontal","paddingMD","paddingContentHorizontalLG","Object","assign","resetComponent","position","display","alignItems","padding","wordWrap","direction","flex","minWidth","marginInlineEnd","overflow","opacity","transition","maxHeight","marginBottom","paddingTop","paddingBottom","paddingInline","paddingBlock","genTypeStyle","colorSuccess","colorSuccessBorder","colorSuccessBg","colorWarning","colorWarningBorder","colorWarningBg","colorError","colorErrorBorder","colorErrorBg","colorInfo","colorInfoBorder","colorInfoBg","margin","genActionStyle","iconCls","motionDurationMid","fontSizeIcon","colorIcon","colorIconHover","marginInlineStart","outline","cursor","genAlertStyle","useStyle","genComponentStyleHook","fontSizeHeading3","alertToken","mergeToken"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/alert/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nconst genAlertTypeStyle = (bgColor, borderColor, iconColor, token, alertCls) => ({\n backgroundColor: bgColor,\n border: `${token.lineWidth}px ${token.lineType} ${borderColor}`,\n [`${alertCls}-icon`]: {\n color: iconColor\n }\n});\nexport const genBaseStyle = token => {\n const {\n componentCls,\n motionDurationSlow: duration,\n marginXS,\n marginSM,\n fontSize,\n fontSizeLG,\n lineHeight,\n borderRadiusLG: borderRadius,\n motionEaseInOutCirc,\n alertIconSizeLG,\n colorText,\n paddingContentVerticalSM,\n alertPaddingHorizontal,\n paddingMD,\n paddingContentHorizontalLG\n } = token;\n return {\n [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n padding: `${paddingContentVerticalSM}px ${alertPaddingHorizontal}px`,\n wordWrap: 'break-word',\n borderRadius,\n [`&${componentCls}-rtl`]: {\n direction: 'rtl'\n },\n [`${componentCls}-content`]: {\n flex: 1,\n minWidth: 0\n },\n [`${componentCls}-icon`]: {\n marginInlineEnd: marginXS,\n lineHeight: 0\n },\n [`&-description`]: {\n display: 'none',\n fontSize,\n lineHeight\n },\n '&-message': {\n color: colorText\n },\n [`&${componentCls}-motion-leave`]: {\n overflow: 'hidden',\n opacity: 1,\n transition: `max-height ${duration} ${motionEaseInOutCirc}, opacity ${duration} ${motionEaseInOutCirc},\n padding-top ${duration} ${motionEaseInOutCirc}, padding-bottom ${duration} ${motionEaseInOutCirc},\n margin-bottom ${duration} ${motionEaseInOutCirc}`\n },\n [`&${componentCls}-motion-leave-active`]: {\n maxHeight: 0,\n marginBottom: '0 !important',\n paddingTop: 0,\n paddingBottom: 0,\n opacity: 0\n }\n }),\n [`${componentCls}-with-description`]: {\n alignItems: 'flex-start',\n paddingInline: paddingContentHorizontalLG,\n paddingBlock: paddingMD,\n [`${componentCls}-icon`]: {\n marginInlineEnd: marginSM,\n fontSize: alertIconSizeLG,\n lineHeight: 0\n },\n [`${componentCls}-message`]: {\n display: 'block',\n marginBottom: marginXS,\n color: colorText,\n fontSize: fontSizeLG\n },\n [`${componentCls}-description`]: {\n display: 'block'\n }\n },\n [`${componentCls}-banner`]: {\n marginBottom: 0,\n border: '0 !important',\n borderRadius: 0\n }\n };\n};\nexport const genTypeStyle = token => {\n const {\n componentCls,\n colorSuccess,\n colorSuccessBorder,\n colorSuccessBg,\n colorWarning,\n colorWarningBorder,\n colorWarningBg,\n colorError,\n colorErrorBorder,\n colorErrorBg,\n colorInfo,\n colorInfoBorder,\n colorInfoBg\n } = token;\n return {\n [componentCls]: {\n '&-success': genAlertTypeStyle(colorSuccessBg, colorSuccessBorder, colorSuccess, token, componentCls),\n '&-info': genAlertTypeStyle(colorInfoBg, colorInfoBorder, colorInfo, token, componentCls),\n '&-warning': genAlertTypeStyle(colorWarningBg, colorWarningBorder, colorWarning, token, componentCls),\n '&-error': Object.assign(Object.assign({}, genAlertTypeStyle(colorErrorBg, colorErrorBorder, colorError, token, componentCls)), {\n [`${componentCls}-description > pre`]: {\n margin: 0,\n padding: 0\n }\n })\n }\n };\n};\nexport const genActionStyle = token => {\n const {\n componentCls,\n iconCls,\n motionDurationMid,\n marginXS,\n fontSizeIcon,\n colorIcon,\n colorIconHover\n } = token;\n return {\n [componentCls]: {\n [`&-action`]: {\n marginInlineStart: marginXS\n },\n [`${componentCls}-close-icon`]: {\n marginInlineStart: marginXS,\n padding: 0,\n overflow: 'hidden',\n fontSize: fontSizeIcon,\n lineHeight: `${fontSizeIcon}px`,\n backgroundColor: 'transparent',\n border: 'none',\n outline: 'none',\n cursor: 'pointer',\n [`${iconCls}-close`]: {\n color: colorIcon,\n transition: `color ${motionDurationMid}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n },\n '&-close-text': {\n color: colorIcon,\n transition: `color ${motionDurationMid}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n }\n };\n};\nexport const genAlertStyle = token => [genBaseStyle(token), genTypeStyle(token), genActionStyle(token)];\nexport default genComponentStyleHook('Alert', token => {\n const {\n fontSizeHeading3\n } = token;\n const alertToken = mergeToken(token, {\n alertIconSizeLG: fontSizeHeading3,\n alertPaddingHorizontal: 12 // Fixed value here.\n });\n\n return [genAlertStyle(alertToken)];\n});"],"names":["genAlertTypeStyle","bgColor","borderColor","iconColor","token","alertCls","backgroundColor","border","lineWidth","lineType","color","genBaseStyle","componentCls","motionDurationSlow","duration","marginXS","marginSM","fontSize","fontSizeLG","lineHeight","borderRadiusLG","borderRadius","motionEaseInOutCirc","alertIconSizeLG","colorText","paddingContentVerticalSM","alertPaddingHorizontal","paddingMD","paddingContentHorizontalLG","Object","assign","resetComponent","position","display","alignItems","padding","wordWrap","direction","flex","minWidth","marginInlineEnd","overflow","opacity","transition","maxHeight","marginBottom","paddingTop","paddingBottom","paddingInline","paddingBlock","genTypeStyle","colorSuccess","colorSuccessBorder","colorSuccessBg","colorWarning","colorWarningBorder","colorWarningBg","colorError","colorErrorBorder","colorErrorBg","colorInfo","colorInfoBorder","colorInfoBg","margin","genActionStyle","iconCls","motionDurationMid","fontSizeIcon","colorIcon","colorIconHover","marginInlineStart","outline","cursor","genAlertStyle","useStyle","genComponentStyleHook","fontSizeHeading3","alertToken","mergeToken"],"mappings":"qMAEA,MAAMA,EAAoB,CAACC,EAASC,EAAaC,EAAWC,EAAOC,KAAc,CAC/EC,gBAAiBL,EACjBM,OAAQ,GAAGH,EAAMI,eAAeJ,EAAMK,YAAYP,IAClD,CAAC,GAAGG,UAAkB,CACpBK,MAAOP,KAGEQ,EAAeP,IAC1B,MAAMQ,aACJA,EACAC,mBAAoBC,EAAQC,SAC5BA,EAAQC,SACRA,EAAQC,SACRA,EAAQC,WACRA,EAAUC,WACVA,EACAC,eAAgBC,EAAYC,oBAC5BA,EAAmBC,gBACnBA,EAAeC,UACfA,EAASC,yBACTA,EAAwBC,uBACxBA,EAAsBC,UACtBA,EAASC,2BACTA,GACExB,EACJ,MAAO,CACLQ,CAACA,GAAeiB,OAAOC,OAAOD,OAAOC,OAAO,GAAIC,EAAe3B,IAAS,CACtE4B,SAAU,WACVC,QAAS,OACTC,WAAY,SACZC,QAAS,GAAGV,OAA8BC,MAC1CU,SAAU,aACVf,eACA,CAAC,IAAIT,SAAqB,CACxByB,UAAW,OAEb,CAAC,GAAGzB,aAAyB,CAC3B0B,KAAM,EACNC,SAAU,GAEZ,CAAC,GAAG3B,UAAsB,CACxB4B,gBAAiBzB,EACjBI,WAAY,GAEd,gBAAmB,CACjBc,QAAS,OACThB,WACAE,cAEF,YAAa,CACXT,MAAOc,GAET,CAAC,IAAIZ,kBAA8B,CACjC6B,SAAU,SACVC,QAAS,EACTC,WAAY,cAAc7B,KAAYQ,cAAgCR,KAAYQ,2BACpER,KAAYQ,qBAAuCR,KAAYQ,6B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BvD,GAErB,CAAC,GAAGH,gBAA4B,CAC9B0D,kBAAmBvD,EACnBoB,QAAS,EACTM,SAAU,SACVxB,SAAUkD,EACVhD,WAAY,GAAGgD,MACf7D,gBAAiB,cACjBC,OAAQ,OACRgE,QAAS,OACTC,OAAQ,UACR,CAAC,GAAGP,WAAkB,CACpBvD,MAAO0D,EACPzB,WAAY,SAASuB,IACrB,UAAW,CACTxD,MAAO2D,KAIb,eAAgB,CACd3D,MAAO0D,EACPzB,WAAY,SAASuB,IACrB,UAAW,CACTxD,MAAO2D,KAId,EAEUI,EAAgBrE,GAAS,CAACO,EAAaP,GAAQ8C,EAAa9C,GAAQ4D,EAAe5D,IAChG,IAAAsE,EAAeC,EAAsB,SAASvE,IAC5C,MAAMwE,iBACJA,GACExE,EACEyE,EAAaC,EAAW1E,EAAO,CACnCmB,gBAAiBqD,EACjBlD,uBAAwB,KAG1B,MAAO,CAAC+C,EAAcI,GAAY","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import e from"../../../@ant-design/icons/es/icons/LoadingOutlined.js";import t from"../../../rc-motion/es/CSSMotion.js";import"../../../rc-motion/es/CSSMotionList.js";import o from"react";const n=()=>({width:0,opacity:0,transform:"scale(0)"}),a=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var r=r=>{let{prefixCls:i,loading:s,existIcon:c}=r;const l=!!s;return c?o.createElement("span",{className:`${i}-loading-icon`},o.createElement(e,null)):o.createElement(t,{visible:l,motionName:`${i}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:n,onAppearActive:a,onEnterStart:n,onEnterActive:a,onLeaveStart:a,onLeaveActive:n},((t,n)=>{let{className:a,style:r}=t;return o.createElement("span",{className:`${i}-loading-icon`,style:r,ref:n},o.createElement(e,{className:a}))}))};export{r as default};
|
|
2
2
|
//# sourceMappingURL=LoadingIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingIcon.js","sources":["../../../../../node_modules/antd/es/button/LoadingIcon.js"],"sourcesContent":["import LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport CSSMotion from 'rc-motion';\nimport React from 'react';\nconst getCollapsedWidth = () => ({\n width: 0,\n opacity: 0,\n transform: 'scale(0)'\n});\nconst getRealWidth = node => ({\n width: node.scrollWidth,\n opacity: 1,\n transform: 'scale(1)'\n});\nconst LoadingIcon = _ref => {\n let {\n prefixCls,\n loading,\n existIcon\n } = _ref;\n const visible = !!loading;\n if (existIcon) {\n return /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-loading-icon`\n }, /*#__PURE__*/React.createElement(LoadingOutlined, null));\n }\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n // We do not really use this motionName\n motionName: `${prefixCls}-loading-icon-motion`,\n removeOnLeave: true,\n onAppearStart: getCollapsedWidth,\n onAppearActive: getRealWidth,\n onEnterStart: getCollapsedWidth,\n onEnterActive: getRealWidth,\n onLeaveStart: getRealWidth,\n onLeaveActive: getCollapsedWidth\n }, (_ref2, ref) => {\n let {\n className,\n style\n } = _ref2;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-loading-icon`,\n style: style,\n ref: ref\n }, /*#__PURE__*/React.createElement(LoadingOutlined, {\n className: className\n }));\n });\n};\nexport default LoadingIcon;"],"names":["getCollapsedWidth","width","opacity","transform","getRealWidth","node","scrollWidth","LoadingIcon$1","_ref","prefixCls","loading","existIcon","visible","React","createElement","className","LoadingOutlined","CSSMotion","motionName","removeOnLeave","onAppearStart","onAppearActive","onEnterStart","onEnterActive","onLeaveStart","onLeaveActive","_ref2","ref","style"],"mappings":"
|
|
1
|
+
{"version":3,"file":"LoadingIcon.js","sources":["../../../../../node_modules/antd/es/button/LoadingIcon.js"],"sourcesContent":["import LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport CSSMotion from 'rc-motion';\nimport React from 'react';\nconst getCollapsedWidth = () => ({\n width: 0,\n opacity: 0,\n transform: 'scale(0)'\n});\nconst getRealWidth = node => ({\n width: node.scrollWidth,\n opacity: 1,\n transform: 'scale(1)'\n});\nconst LoadingIcon = _ref => {\n let {\n prefixCls,\n loading,\n existIcon\n } = _ref;\n const visible = !!loading;\n if (existIcon) {\n return /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-loading-icon`\n }, /*#__PURE__*/React.createElement(LoadingOutlined, null));\n }\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n // We do not really use this motionName\n motionName: `${prefixCls}-loading-icon-motion`,\n removeOnLeave: true,\n onAppearStart: getCollapsedWidth,\n onAppearActive: getRealWidth,\n onEnterStart: getCollapsedWidth,\n onEnterActive: getRealWidth,\n onLeaveStart: getRealWidth,\n onLeaveActive: getCollapsedWidth\n }, (_ref2, ref) => {\n let {\n className,\n style\n } = _ref2;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-loading-icon`,\n style: style,\n ref: ref\n }, /*#__PURE__*/React.createElement(LoadingOutlined, {\n className: className\n }));\n });\n};\nexport default LoadingIcon;"],"names":["getCollapsedWidth","width","opacity","transform","getRealWidth","node","scrollWidth","LoadingIcon$1","_ref","prefixCls","loading","existIcon","visible","React","createElement","className","LoadingOutlined","CSSMotion","motionName","removeOnLeave","onAppearStart","onAppearActive","onEnterStart","onEnterActive","onLeaveStart","onLeaveActive","_ref2","ref","style"],"mappings":"4LAGA,MAAMA,EAAoB,KAAO,CAC/BC,MAAO,EACPC,QAAS,EACTC,UAAW,aAEPC,EAAeC,IAAS,CAC5BJ,MAAOI,EAAKC,YACZJ,QAAS,EACTC,UAAW,aAuCb,IAAAI,EArCoBC,IAClB,IAAIC,UACFA,EAASC,QACTA,EAAOC,UACPA,GACEH,EACJ,MAAMI,IAAYF,EAClB,OAAIC,EACkBE,EAAMC,cAAc,OAAQ,CAC9CC,UAAW,GAAGN,kBACAI,EAAMC,cAAcE,EAAiB,OAEnCH,EAAMC,cAAcG,EAAW,CACjDL,QAASA,EAETM,WAAY,GAAGT,wBACfU,eAAe,EACfC,cAAepB,EACfqB,eAAgBjB,EAChBkB,aAActB,EACduB,cAAenB,EACfoB,aAAcpB,EACdqB,cAAezB,IACd,CAAC0B,EAAOC,KACT,IAAIZ,UACFA,EAASa,MACTA,GACEF,EACJ,OAAoBb,EAAMC,cAAc,OAAQ,CAC9CC,UAAW,GAAGN,iBACdmB,MAAOA,EACPD,IAAKA,GACSd,EAAMC,cAAcE,EAAiB,CACnDD,UAAWA,IACV,GACH","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import e from"../../../classnames/index.js";import*as r from"react";import"../config-provider/index.js";import{useToken as t}from"../theme/internal.js";import o from"../_util/warning.js";import{ConfigContext as s}from"../config-provider/context.js";var a=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)r.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(t[o[s]]=e[o[s]])}return t};const n=r.createContext(void 0);var i=i=>{const{getPrefixCls:l,direction:c}=r.useContext(s),{prefixCls:p,size:m,className:f}=i,d=a(i,["prefixCls","size","className"]),u=l("btn-group",p),[,,v]=t();let b="";switch(m){case"large":b="lg";break;case"small":b="sm";break;case"middle":case void 0:break;default:"production"!==process.env.NODE_ENV&&o(!m,"Button.Group","Invalid prop `size`.")}const g=e(u,{[`${u}-${b}`]:b,[`${u}-rtl`]:"rtl"===c},f,v);return r.createElement(n.Provider,{value:m},r.createElement("div",Object.assign({},d,{className:g})))};export{n as GroupSizeContext,i as default};
|
|
2
2
|
//# sourceMappingURL=button-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.js","sources":["../../../../../node_modules/antd/es/button/button-group.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { useToken } from '../theme/internal';\nimport warning from '../_util/warning';\nexport const GroupSizeContext = /*#__PURE__*/React.createContext(undefined);\nconst ButtonGroup = props => {\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const {\n prefixCls: customizePrefixCls,\n size,\n className\n } = props,\n others = __rest(props, [\"prefixCls\", \"size\", \"className\"]);\n const prefixCls = getPrefixCls('btn-group', customizePrefixCls);\n const [,, hashId] = useToken();\n let sizeCls = '';\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n case 'small':\n sizeCls = 'sm';\n break;\n case 'middle':\n case undefined:\n break;\n default:\n process.env.NODE_ENV !== \"production\" ? warning(!size, 'Button.Group', 'Invalid prop `size`.') : void 0;\n }\n const classes = classNames(prefixCls, {\n [`${prefixCls}-${sizeCls}`]: sizeCls,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, hashId);\n return /*#__PURE__*/React.createElement(GroupSizeContext.Provider, {\n value: size\n }, /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n className: classes\n })));\n};\nexport default ButtonGroup;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","GroupSizeContext","React","createContext","undefined","Group","props","getPrefixCls","direction","useContext","ConfigContext","prefixCls","customizePrefixCls","size","className","others","hashId","useToken","sizeCls","process","env","NODE_ENV","warning","
|
|
1
|
+
{"version":3,"file":"button-group.js","sources":["../../../../../node_modules/antd/es/button/button-group.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { useToken } from '../theme/internal';\nimport warning from '../_util/warning';\nexport const GroupSizeContext = /*#__PURE__*/React.createContext(undefined);\nconst ButtonGroup = props => {\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const {\n prefixCls: customizePrefixCls,\n size,\n className\n } = props,\n others = __rest(props, [\"prefixCls\", \"size\", \"className\"]);\n const prefixCls = getPrefixCls('btn-group', customizePrefixCls);\n const [,, hashId] = useToken();\n let sizeCls = '';\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n case 'small':\n sizeCls = 'sm';\n break;\n case 'middle':\n case undefined:\n break;\n default:\n process.env.NODE_ENV !== \"production\" ? warning(!size, 'Button.Group', 'Invalid prop `size`.') : void 0;\n }\n const classes = classNames(prefixCls, {\n [`${prefixCls}-${sizeCls}`]: sizeCls,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, hashId);\n return /*#__PURE__*/React.createElement(GroupSizeContext.Provider, {\n value: size\n }, /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n className: classes\n })));\n};\nexport default ButtonGroup;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","GroupSizeContext","React","createContext","undefined","Group","props","getPrefixCls","direction","useContext","ConfigContext","prefixCls","customizePrefixCls","size","className","others","hashId","useToken","sizeCls","process","env","NODE_ENV","warning","classes","classNames","createElement","Provider","value","assign"],"mappings":"yPAAA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAMY,MAACW,EAAgCC,EAAMC,mBAAcC,GAsCjE,IAAAC,EArCoBC,IAClB,MAAMC,aACJA,EAAYC,UACZA,GACEN,EAAMO,WAAWC,IAEjBC,UAAWC,EAAkBC,KAC7BA,EAAIC,UACJA,GACER,EACJS,EAAS5B,EAAOmB,EAAO,CAAC,YAAa,OAAQ,cACzCK,EAAYJ,EAAa,YAAaK,IAClC,CAAA,CAAAI,GAAUC,IACpB,IAAIC,EAAU,GACd,OAAQL,GACN,IAAK,QACHK,EAAU,KACV,MACF,IAAK,QACHA,EAAU,KACV,MACF,IAAK,SACL,UAAKd,EACH,MACF,QAC2B,eAAzBe,QAAQC,IAAIC,UAA4BC,GAAST,EAAM,eAAgB,wBAE3E,MAAMU,EAAUC,EAAWb,EAAW,CACpC,CAAC,GAAGA,KAAaO,KAAYA,EAC7B,CAAC,GAAGP,SAAgC,QAAdH,GACrBM,EAAWE,GACd,OAAoBd,EAAMuB,cAAcxB,EAAiByB,SAAU,CACjEC,MAAOd,GACOX,EAAMuB,cAAc,MAAOjC,OAAOoC,OAAO,CAAE,EAAEb,EAAQ,CACnED,UAAWS,KACT","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import e from"../../../classnames/index.js";import t from"../../../rc-util/es/omit.js";import*as o from"react";import"../config-provider/index.js";import n from"../config-provider/DisabledContext.js";import r from"../config-provider/SizeContext.js";import{useCompactItemContext as i}from"../space/Compact.js";import s from"../_util/warning.js";import a from"../_util/wave/index.js";import l,{GroupSizeContext as c}from"./button-group.js";import{isUnBorderedButtonType as d,spaceChildren as u,isTwoCNChar as p}from"./buttonHelpers.js";import m from"./LoadingIcon.js";import f from"./style/index.js";import{ConfigContext as g}from"../config-provider/context.js";var b=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o};function y(e){return"danger"===e?{danger:!0}:{type:e}}const x=(l,y)=>{const{loading:x=!1,prefixCls:h,type:j="default",danger:v,shape:C="default",size:N,disabled:O,className:$,rootClassName:E,children:w,icon:k,ghost:_=!1,block:S=!1,htmlType:T="button"}=l,I=b(l,["loading","prefixCls","type","danger","shape","size","disabled","className","rootClassName","children","icon","ghost","block","htmlType"]),{getPrefixCls:B,autoInsertSpaceInButton:D,direction:P}=o.useContext(g),z=B("btn",h),[R,V]=f(z),A=o.useContext(r),G=o.useContext(n),H=null!=O?O:G,L=o.useContext(c),M=o.useMemo((()=>function(e){if("object"==typeof e&&e){const t=null==e?void 0:e.delay;return{loading:!1,delay:Number.isNaN(t)||"number"!=typeof t?0:t}}return{loading:!!e,delay:0}}(x)),[x]),[U,q]=o.useState(M.loading),[F,J]=o.useState(!1),K=y||o.createRef(),Q=()=>1===o.Children.count(w)&&!k&&!d(j);o.useEffect((()=>{let e=null;return M.delay>0?e=window.setTimeout((()=>{e=null,q(!0)}),M.delay):q(M.loading),function(){e&&(window.clearTimeout(e),e=null)}}),[M]),o.useEffect((()=>{if(!K||!K.current||!1===D)return;const e=K.current.textContent;Q()&&p(e)?F||J(!0):F&&J(!1)}),[K]);const W=e=>{const{onClick:t}=l;U||H?e.preventDefault():null==t||t(e)};"production"!==process.env.NODE_ENV&&s(!("string"==typeof k&&k.length>2),"Button",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${k}\` at https://ant.design/components/icon`),"production"!==process.env.NODE_ENV&&s(!(_&&d(j)),"Button","`link` or `text` button can't be a `ghost` button.");const X=!1!==D,{compactSize:Y,compactItemClassnames:Z}=i(z,P),ee=Y||L||N||A,te=ee&&{large:"lg",small:"sm",middle:void 0}[ee]||"",oe=U?"loading":k,ne=t(I,["navigate"]),re=void 0!==ne.href&&H,ie=e(z,V,{[`${z}-${C}`]:"default"!==C&&C,[`${z}-${j}`]:j,[`${z}-${te}`]:te,[`${z}-icon-only`]:!w&&0!==w&&!!oe,[`${z}-background-ghost`]:_&&!d(j),[`${z}-loading`]:U,[`${z}-two-chinese-chars`]:F&&X&&!U,[`${z}-block`]:S,[`${z}-dangerous`]:!!v,[`${z}-rtl`]:"rtl"===P,[`${z}-disabled`]:re},Z,$,E),se=k&&!U?k:o.createElement(m,{existIcon:!!k,prefixCls:z,loading:!!U}),ae=w||0===w?u(w,Q()&&X):null;if(void 0!==ne.href)return R(o.createElement("a",Object.assign({},ne,{className:ie,onClick:W,ref:K}),se,ae));let le=o.createElement("button",Object.assign({},I,{type:T,className:ie,onClick:W,disabled:H,ref:K}),se,ae);return d(j)||(le=o.createElement(a,{disabled:!!U},le)),R(le)},h=o.forwardRef(x);"production"!==process.env.NODE_ENV&&(h.displayName="Button"),h.Group=l,h.__ANT_BUTTON=!0;var j=h;export{y as convertLegacyProps,j as default};
|
|
2
2
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../../node_modules/antd/es/button/button.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n/* eslint-disable react/button-has-type */\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport warning from '../_util/warning';\nimport Wave from '../_util/wave';\nimport Group, { GroupSizeContext } from './button-group';\nimport { isTwoCNChar, isUnBorderedButtonType, spaceChildren } from './buttonHelpers';\nimport LoadingIcon from './LoadingIcon';\nimport useStyle from './style';\nexport function convertLegacyProps(type) {\n if (type === 'danger') {\n return {\n danger: true\n };\n }\n return {\n type\n };\n}\nfunction getLoadingConfig(loading) {\n if (typeof loading === 'object' && loading) {\n const delay = loading === null || loading === void 0 ? void 0 : loading.delay;\n const isDelay = !Number.isNaN(delay) && typeof delay === 'number';\n return {\n loading: false,\n delay: isDelay ? delay : 0\n };\n }\n return {\n loading: !!loading,\n delay: 0\n };\n}\nconst InternalButton = (props, ref) => {\n const {\n loading = false,\n prefixCls: customizePrefixCls,\n type = 'default',\n danger,\n shape = 'default',\n size: customizeSize,\n disabled: customDisabled,\n className,\n rootClassName,\n children,\n icon,\n ghost = false,\n block = false,\n // React does not recognize the `htmlType` prop on a DOM element. Here we pick it out of `rest`.\n htmlType = 'button'\n } = props,\n rest = __rest(props, [\"loading\", \"prefixCls\", \"type\", \"danger\", \"shape\", \"size\", \"disabled\", \"className\", \"rootClassName\", \"children\", \"icon\", \"ghost\", \"block\", \"htmlType\"]);\n const {\n getPrefixCls,\n autoInsertSpaceInButton,\n direction\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('btn', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const size = React.useContext(SizeContext);\n const disabled = React.useContext(DisabledContext);\n const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n const groupSize = React.useContext(GroupSizeContext);\n const loadingOrDelay = React.useMemo(() => getLoadingConfig(loading), [loading]);\n const [innerLoading, setLoading] = React.useState(loadingOrDelay.loading);\n const [hasTwoCNChar, setHasTwoCNChar] = React.useState(false);\n const buttonRef = ref || /*#__PURE__*/React.createRef();\n const isNeedInserted = () => React.Children.count(children) === 1 && !icon && !isUnBorderedButtonType(type);\n const fixTwoCNChar = () => {\n // FIXME: for HOC usage like <FormatMessage />\n if (!buttonRef || !buttonRef.current || autoInsertSpaceInButton === false) {\n return;\n }\n const buttonText = buttonRef.current.textContent;\n if (isNeedInserted() && isTwoCNChar(buttonText)) {\n if (!hasTwoCNChar) {\n setHasTwoCNChar(true);\n }\n } else if (hasTwoCNChar) {\n setHasTwoCNChar(false);\n }\n };\n React.useEffect(() => {\n let delayTimer = null;\n if (loadingOrDelay.delay > 0) {\n delayTimer = window.setTimeout(() => {\n delayTimer = null;\n setLoading(true);\n }, loadingOrDelay.delay);\n } else {\n setLoading(loadingOrDelay.loading);\n }\n function cleanupTimer() {\n if (delayTimer) {\n window.clearTimeout(delayTimer);\n delayTimer = null;\n }\n }\n return cleanupTimer;\n }, [loadingOrDelay]);\n React.useEffect(fixTwoCNChar, [buttonRef]);\n const handleClick = e => {\n const {\n onClick\n } = props;\n // FIXME: https://github.com/ant-design/ant-design/issues/30207\n if (innerLoading || mergedDisabled) {\n e.preventDefault();\n return;\n }\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Button', `\\`icon\\` is using ReactNode instead of string naming in v4. Please check \\`${icon}\\` at https://ant.design/components/icon`) : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(ghost && isUnBorderedButtonType(type)), 'Button', \"`link` or `text` button can't be a `ghost` button.\") : void 0;\n const autoInsertSpace = autoInsertSpaceInButton !== false;\n const {\n compactSize,\n compactItemClassnames\n } = useCompactItemContext(prefixCls, direction);\n const sizeClassNameMap = {\n large: 'lg',\n small: 'sm',\n middle: undefined\n };\n const sizeFullname = compactSize || groupSize || customizeSize || size;\n const sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';\n const iconType = innerLoading ? 'loading' : icon;\n const linkButtonRestProps = omit(rest, ['navigate']);\n const hrefAndDisabled = linkButtonRestProps.href !== undefined && mergedDisabled;\n const classes = classNames(prefixCls, hashId, {\n [`${prefixCls}-${shape}`]: shape !== 'default' && shape,\n [`${prefixCls}-${type}`]: type,\n [`${prefixCls}-${sizeCls}`]: sizeCls,\n [`${prefixCls}-icon-only`]: !children && children !== 0 && !!iconType,\n [`${prefixCls}-background-ghost`]: ghost && !isUnBorderedButtonType(type),\n [`${prefixCls}-loading`]: innerLoading,\n [`${prefixCls}-two-chinese-chars`]: hasTwoCNChar && autoInsertSpace && !innerLoading,\n [`${prefixCls}-block`]: block,\n [`${prefixCls}-dangerous`]: !!danger,\n [`${prefixCls}-rtl`]: direction === 'rtl',\n [`${prefixCls}-disabled`]: hrefAndDisabled\n }, compactItemClassnames, className, rootClassName);\n const iconNode = icon && !innerLoading ? icon : /*#__PURE__*/React.createElement(LoadingIcon, {\n existIcon: !!icon,\n prefixCls: prefixCls,\n loading: !!innerLoading\n });\n const kids = children || children === 0 ? spaceChildren(children, isNeedInserted() && autoInsertSpace) : null;\n if (linkButtonRestProps.href !== undefined) {\n return wrapSSR( /*#__PURE__*/React.createElement(\"a\", Object.assign({}, linkButtonRestProps, {\n className: classes,\n onClick: handleClick,\n ref: buttonRef\n }), iconNode, kids));\n }\n let buttonNode = /*#__PURE__*/React.createElement(\"button\", Object.assign({}, rest, {\n type: htmlType,\n className: classes,\n onClick: handleClick,\n disabled: mergedDisabled,\n ref: buttonRef\n }), iconNode, kids);\n if (!isUnBorderedButtonType(type)) {\n buttonNode = /*#__PURE__*/React.createElement(Wave, {\n disabled: !!innerLoading\n }, buttonNode);\n }\n return wrapSSR(buttonNode);\n};\nconst Button = /*#__PURE__*/React.forwardRef(InternalButton);\nif (process.env.NODE_ENV !== 'production') {\n Button.displayName = 'Button';\n}\nButton.Group = Group;\nButton.__ANT_BUTTON = true;\nexport default Button;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","InternalButton","props","ref","loading","prefixCls","customizePrefixCls","type","danger","shape","size","customizeSize","disabled","customDisabled","className","rootClassName","children","icon","ghost","block","htmlType","rest","getPrefixCls","autoInsertSpaceInButton","direction","React","useContext","ConfigContext","wrapSSR","hashId","useStyle","SizeContext","default","DisabledContext","mergedDisabled","groupSize","GroupSizeContext","loadingOrDelay","useMemo","delay","Number","isNaN","getLoadingConfig","innerLoading","setLoading","useState","hasTwoCNChar","setHasTwoCNChar","buttonRef","createRef","isNeedInserted","Children","count","isUnBorderedButtonType","useEffect","delayTimer","window","setTimeout","clearTimeout","current","buttonText","textContent","isTwoCNChar","handleClick","onClick","preventDefault","process","env","NODE_ENV","warning","autoInsertSpace","compactSize","compactItemClassnames","useCompactItemContext","sizeFullname","sizeCls","large","small","middle","undefined","iconType","linkButtonRestProps","omit","hrefAndDisabled","href","classes","classNames","iconNode","createElement","LoadingIcon","existIcon","kids","spaceChildren","assign","buttonNode","Wave","Button","forwardRef","displayName","Group","__ANT_BUTTON","Button$1"],"mappings":"q1BAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GA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EAEtBE,EAAsBvE,EAAMwE,WAAWhG,GAChB,eAAzBiE,QAAQC,IAAIC,WACd4B,EAAOE,YAAc,UAEvBF,EAAOG,MAAQA,EAAAA,QACfH,EAAOI,cAAe,EACtB,IAAAC,EAAeL,6BAtKR,SAA4BzF,GACjC,MAAa,WAATA,EACK,CACLC,QAAQ,GAGL,CACLD,OAEJ","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../../node_modules/antd/es/button/button.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n/* eslint-disable react/button-has-type */\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport warning from '../_util/warning';\nimport Wave from '../_util/wave';\nimport Group, { GroupSizeContext } from './button-group';\nimport { isTwoCNChar, isUnBorderedButtonType, spaceChildren } from './buttonHelpers';\nimport LoadingIcon from './LoadingIcon';\nimport useStyle from './style';\nexport function convertLegacyProps(type) {\n if (type === 'danger') {\n return {\n danger: true\n };\n }\n return {\n type\n };\n}\nfunction getLoadingConfig(loading) {\n if (typeof loading === 'object' && loading) {\n const delay = loading === null || loading === void 0 ? void 0 : loading.delay;\n const isDelay = !Number.isNaN(delay) && typeof delay === 'number';\n return {\n loading: false,\n delay: isDelay ? delay : 0\n };\n }\n return {\n loading: !!loading,\n delay: 0\n };\n}\nconst InternalButton = (props, ref) => {\n const {\n loading = false,\n prefixCls: customizePrefixCls,\n type = 'default',\n danger,\n shape = 'default',\n size: customizeSize,\n disabled: customDisabled,\n className,\n rootClassName,\n children,\n icon,\n ghost = false,\n block = false,\n // React does not recognize the `htmlType` prop on a DOM element. Here we pick it out of `rest`.\n htmlType = 'button'\n } = props,\n rest = __rest(props, [\"loading\", \"prefixCls\", \"type\", \"danger\", \"shape\", \"size\", \"disabled\", \"className\", \"rootClassName\", \"children\", \"icon\", \"ghost\", \"block\", \"htmlType\"]);\n const {\n getPrefixCls,\n autoInsertSpaceInButton,\n direction\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('btn', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const size = React.useContext(SizeContext);\n const disabled = React.useContext(DisabledContext);\n const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n const groupSize = React.useContext(GroupSizeContext);\n const loadingOrDelay = React.useMemo(() => getLoadingConfig(loading), [loading]);\n const [innerLoading, setLoading] = React.useState(loadingOrDelay.loading);\n const [hasTwoCNChar, setHasTwoCNChar] = React.useState(false);\n const buttonRef = ref || /*#__PURE__*/React.createRef();\n const isNeedInserted = () => React.Children.count(children) === 1 && !icon && !isUnBorderedButtonType(type);\n const fixTwoCNChar = () => {\n // FIXME: for HOC usage like <FormatMessage />\n if (!buttonRef || !buttonRef.current || autoInsertSpaceInButton === false) {\n return;\n }\n const buttonText = buttonRef.current.textContent;\n if (isNeedInserted() && isTwoCNChar(buttonText)) {\n if (!hasTwoCNChar) {\n setHasTwoCNChar(true);\n }\n } else if (hasTwoCNChar) {\n setHasTwoCNChar(false);\n }\n };\n React.useEffect(() => {\n let delayTimer = null;\n if (loadingOrDelay.delay > 0) {\n delayTimer = window.setTimeout(() => {\n delayTimer = null;\n setLoading(true);\n }, loadingOrDelay.delay);\n } else {\n setLoading(loadingOrDelay.loading);\n }\n function cleanupTimer() {\n if (delayTimer) {\n window.clearTimeout(delayTimer);\n delayTimer = null;\n }\n }\n return cleanupTimer;\n }, [loadingOrDelay]);\n React.useEffect(fixTwoCNChar, [buttonRef]);\n const handleClick = e => {\n const {\n onClick\n } = props;\n // FIXME: https://github.com/ant-design/ant-design/issues/30207\n if (innerLoading || mergedDisabled) {\n e.preventDefault();\n return;\n }\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Button', `\\`icon\\` is using ReactNode instead of string naming in v4. Please check \\`${icon}\\` at https://ant.design/components/icon`) : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(ghost && isUnBorderedButtonType(type)), 'Button', \"`link` or `text` button can't be a `ghost` button.\") : void 0;\n const autoInsertSpace = autoInsertSpaceInButton !== false;\n const {\n compactSize,\n compactItemClassnames\n } = useCompactItemContext(prefixCls, direction);\n const sizeClassNameMap = {\n large: 'lg',\n small: 'sm',\n middle: undefined\n };\n const sizeFullname = compactSize || groupSize || customizeSize || size;\n const sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';\n const iconType = innerLoading ? 'loading' : icon;\n const linkButtonRestProps = omit(rest, ['navigate']);\n const hrefAndDisabled = linkButtonRestProps.href !== undefined && mergedDisabled;\n const classes = classNames(prefixCls, hashId, {\n [`${prefixCls}-${shape}`]: shape !== 'default' && shape,\n [`${prefixCls}-${type}`]: type,\n [`${prefixCls}-${sizeCls}`]: sizeCls,\n [`${prefixCls}-icon-only`]: !children && children !== 0 && !!iconType,\n [`${prefixCls}-background-ghost`]: ghost && !isUnBorderedButtonType(type),\n [`${prefixCls}-loading`]: innerLoading,\n [`${prefixCls}-two-chinese-chars`]: hasTwoCNChar && autoInsertSpace && !innerLoading,\n [`${prefixCls}-block`]: block,\n [`${prefixCls}-dangerous`]: !!danger,\n [`${prefixCls}-rtl`]: direction === 'rtl',\n [`${prefixCls}-disabled`]: hrefAndDisabled\n }, compactItemClassnames, className, rootClassName);\n const iconNode = icon && !innerLoading ? icon : /*#__PURE__*/React.createElement(LoadingIcon, {\n existIcon: !!icon,\n prefixCls: prefixCls,\n loading: !!innerLoading\n });\n const kids = children || children === 0 ? spaceChildren(children, isNeedInserted() && autoInsertSpace) : null;\n if (linkButtonRestProps.href !== undefined) {\n return wrapSSR( /*#__PURE__*/React.createElement(\"a\", Object.assign({}, linkButtonRestProps, {\n className: classes,\n onClick: handleClick,\n ref: buttonRef\n }), iconNode, kids));\n }\n let buttonNode = /*#__PURE__*/React.createElement(\"button\", Object.assign({}, rest, {\n type: htmlType,\n className: classes,\n onClick: handleClick,\n disabled: mergedDisabled,\n ref: buttonRef\n }), iconNode, kids);\n if (!isUnBorderedButtonType(type)) {\n buttonNode = /*#__PURE__*/React.createElement(Wave, {\n disabled: !!innerLoading\n }, buttonNode);\n }\n return wrapSSR(buttonNode);\n};\nconst Button = /*#__PURE__*/React.forwardRef(InternalButton);\nif (process.env.NODE_ENV !== 'production') {\n Button.displayName = 'Button';\n}\nButton.Group = Group;\nButton.__ANT_BUTTON = true;\nexport default Button;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","convertLegacyProps","type","danger","InternalButton","props","ref","loading","prefixCls","customizePrefixCls","shape","size","customizeSize","disabled","customDisabled","className","rootClassName","children","icon","ghost","block","htmlType","rest","getPrefixCls","autoInsertSpaceInButton","direction","React","useContext","ConfigContext","wrapSSR","hashId","useStyle","SizeContext","DisabledContext","mergedDisabled","groupSize","GroupSizeContext","loadingOrDelay","useMemo","delay","Number","isNaN","getLoadingConfig","innerLoading","setLoading","useState","hasTwoCNChar","setHasTwoCNChar","buttonRef","createRef","isNeedInserted","Children","count","isUnBorderedButtonType","useEffect","delayTimer","window","setTimeout","clearTimeout","current","buttonText","textContent","isTwoCNChar","handleClick","onClick","preventDefault","process","env","NODE_ENV","warning","autoInsertSpace","compactSize","compactItemClassnames","useCompactItemContext","sizeFullname","sizeCls","large","small","middle","undefined","iconType","linkButtonRestProps","omit","hrefAndDisabled","href","classes","classNames","iconNode","createElement","LoadingIcon","existIcon","kids","spaceChildren","assign","buttonNode","Wave","Button","forwardRef","displayName","Group","__ANT_BUTTON","Button$1"],"mappings":"opBAAA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAeO,SAASW,EAAmBC,GACjC,MAAa,WAATA,EACK,CACLC,QAAQ,GAGL,CACLD,OAEJ,CAeA,MAAME,EAAiB,CAACC,EAAOC,KAC7B,MAAMC,QACFA,GAAU,EACVC,UAAWC,EAAkBP,KAC7BA,EAAO,UAASC,OAChBA,EAAMO,MACNA,EAAQ,UACRC,KAAMC,EACNC,SAAUC,EAAcC,UACxBA,EAASC,cACTA,EAAaC,SACbA,EAAQC,KACRA,EAAIC,MACJA,GAAQ,EAAKC,MACbA,GAAQ,EAAKC,SAEbA,EAAW,UACThB,EACJiB,EAAOnC,EAAOkB,EAAO,CAAC,UAAW,YAAa,OAAQ,SAAU,QAAS,OAAQ,WAAY,YAAa,gBAAiB,WAAY,OAAQ,QAAS,QAAS,cAC7JkB,aACJA,EAAYC,wBACZA,EAAuBC,UACvBA,GACEC,EAAMC,WAAWC,GACfpB,EAAYe,EAAa,MAAOd,IAC/BoB,EAASC,GAAUC,EAASvB,GAC7BG,EAAOe,EAAMC,WAAWK,GACxBn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AAK0C,IACHuC,GAAUI,KAEhB,IAAIG,GAA0BpE,EAAM8D,cAAc,SAAUhG,OAAOqG,OAAO,CAAE,EAAEvE,EAAM,CAClFpB,KAAMmB,EACNN,UAAWsE,GACXrB,QAASD,EACTlD,SAAUqB,EACV5B,IAAK0C,IACHuC,GAAUI,IAMd,OALKtC,EAAuBnD,KAC1B4F,GAA0BpE,EAAM8D,cAAcO,EAAM,CAClDlF,WAAY8B,GACXmD,KAEEjE,EAAQiE,GAAW,EAEtBE,EAAsBtE,EAAMuE,WAAW7F,GAChB,eAAzB8D,QAAQC,IAAIC,WACd4B,EAAOE,YAAc,UAEvBF,EAAOG,MAAQA,EACfH,EAAOI,cAAe,EACtB,IAAAC,EAAeL","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import n from"react";import{cloneElement as t,isFragment as e}from"../_util/reactNode.js";const r=/^[\u4e00-\u9fa5]{2}$/,o=r.test.bind(r);function i(n){return"string"==typeof n}function l(n){return"text"===n||"link"===n}function p(r,l){let p=!1;const s=[];return n.Children.forEach(r,(n=>{const t=typeof n,e="string"===t||"number"===t;if(p&&e){const t=s.length-1,e=s[t];s[t]=`${e}${n}`}else s.push(n);p=e})),n.Children.map(s,(r=>function(r,l){if(null==r)return;const p=l?" ":"";return"string"!=typeof r&&"number"!=typeof r&&i(r.type)&&o(r.props.children)?t(r,{children:r.props.children.split("").join(p)}):"string"==typeof r?o(r)?n.createElement("span",null,r.split("").join(p)):n.createElement("span",null,r):e(r)?n.createElement("span",null,r):r}(r,l)))}export{i as isString,o as isTwoCNChar,l as isUnBorderedButtonType,p as spaceChildren};
|
|
2
2
|
//# sourceMappingURL=buttonHelpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonHelpers.js","sources":["../../../../../node_modules/antd/es/button/buttonHelpers.js"],"sourcesContent":["import React from 'react';\nimport { cloneElement, isFragment } from '../_util/reactNode';\nconst rxTwoCNChar = /^[\\u4e00-\\u9fa5]{2}$/;\nexport const isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar);\nexport function isString(str) {\n return typeof str === 'string';\n}\nexport function isUnBorderedButtonType(type) {\n return type === 'text' || type === 'link';\n}\nfunction splitCNCharsBySpace(child, needInserted) {\n if (child === null || child === undefined) {\n return;\n }\n const SPACE = needInserted ? ' ' : '';\n if (typeof child !== 'string' && typeof child !== 'number' && isString(child.type) && isTwoCNChar(child.props.children)) {\n return cloneElement(child, {\n children: child.props.children.split('').join(SPACE)\n });\n }\n if (typeof child === 'string') {\n return isTwoCNChar(child) ? /*#__PURE__*/React.createElement(\"span\", null, child.split('').join(SPACE)) : /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n if (isFragment(child)) {\n return /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n return child;\n}\nexport function spaceChildren(children, needInserted) {\n let isPrevChildPure = false;\n const childList = [];\n React.Children.forEach(children, child => {\n const type = typeof child;\n const isCurrentChildPure = type === 'string' || type === 'number';\n if (isPrevChildPure && isCurrentChildPure) {\n const lastIndex = childList.length - 1;\n const lastChild = childList[lastIndex];\n childList[lastIndex] = `${lastChild}${child}`;\n } else {\n childList.push(child);\n }\n isPrevChildPure = isCurrentChildPure;\n });\n return React.Children.map(childList, child => splitCNCharsBySpace(child, needInserted));\n}\nconst ButtonTypes = ['default', 'primary', 'ghost', 'dashed', 'link', 'text'];\nconst ButtonShapes = ['default', 'circle', 'round'];\nconst ButtonHTMLTypes = ['submit', 'button', 'reset'];"],"names":["rxTwoCNChar","isTwoCNChar","test","bind","isString","str","type","children","needInserted","isPrevChildPure","childList","React","Children","forEach","child","isCurrentChildPure","lastIndex","length","lastChild","push","map","SPACE","props","cloneElement","split","join","createElement","isFragment","splitCNCharsBySpace"],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttonHelpers.js","sources":["../../../../../node_modules/antd/es/button/buttonHelpers.js"],"sourcesContent":["import React from 'react';\nimport { cloneElement, isFragment } from '../_util/reactNode';\nconst rxTwoCNChar = /^[\\u4e00-\\u9fa5]{2}$/;\nexport const isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar);\nexport function isString(str) {\n return typeof str === 'string';\n}\nexport function isUnBorderedButtonType(type) {\n return type === 'text' || type === 'link';\n}\nfunction splitCNCharsBySpace(child, needInserted) {\n if (child === null || child === undefined) {\n return;\n }\n const SPACE = needInserted ? ' ' : '';\n if (typeof child !== 'string' && typeof child !== 'number' && isString(child.type) && isTwoCNChar(child.props.children)) {\n return cloneElement(child, {\n children: child.props.children.split('').join(SPACE)\n });\n }\n if (typeof child === 'string') {\n return isTwoCNChar(child) ? /*#__PURE__*/React.createElement(\"span\", null, child.split('').join(SPACE)) : /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n if (isFragment(child)) {\n return /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n return child;\n}\nexport function spaceChildren(children, needInserted) {\n let isPrevChildPure = false;\n const childList = [];\n React.Children.forEach(children, child => {\n const type = typeof child;\n const isCurrentChildPure = type === 'string' || type === 'number';\n if (isPrevChildPure && isCurrentChildPure) {\n const lastIndex = childList.length - 1;\n const lastChild = childList[lastIndex];\n childList[lastIndex] = `${lastChild}${child}`;\n } else {\n childList.push(child);\n }\n isPrevChildPure = isCurrentChildPure;\n });\n return React.Children.map(childList, child => splitCNCharsBySpace(child, needInserted));\n}\nconst ButtonTypes = ['default', 'primary', 'ghost', 'dashed', 'link', 'text'];\nconst ButtonShapes = ['default', 'circle', 'round'];\nconst ButtonHTMLTypes = ['submit', 'button', 'reset'];"],"names":["rxTwoCNChar","isTwoCNChar","test","bind","isString","str","isUnBorderedButtonType","type","spaceChildren","children","needInserted","isPrevChildPure","childList","React","Children","forEach","child","isCurrentChildPure","lastIndex","length","lastChild","push","map","SPACE","props","cloneElement","split","join","createElement","isFragment","splitCNCharsBySpace"],"mappings":"0FAEA,MAAMA,EAAc,uBACPC,EAAcD,EAAYE,KAAKC,KAAKH,GAC1C,SAASI,EAASC,GACvB,MAAsB,iBAARA,CAChB,CACO,SAASC,EAAuBC,GACrC,MAAgB,SAATA,GAA4B,SAATA,CAC5B,CAmBO,SAASC,EAAcC,EAAUC,GACtC,IAAIC,GAAkB,EACtB,MAAMC,EAAY,GAalB,OAZAC,EAAMC,SAASC,QAAQN,GAAUO,IAC/B,MAAMT,SAAcS,EACdC,EAA8B,WAATV,GAA8B,WAATA,EAChD,GAAII,GAAmBM,EAAoB,CACzC,MAAMC,EAAYN,EAAUO,OAAS,EAC/BC,EAAYR,EAAUM,GAC5BN,EAAUM,GAAa,GAAGE,IAAYJ,GAC5C,MACMJ,EAAUS,KAAKL,GAEjBL,EAAkBM,CAAkB,IAE/BJ,EAAMC,SAASQ,IAAIV,GAAWI,GAjCvC,SAA6BA,EAAON,GAClC,GAAIM,QACF,OAEF,MAAMO,EAAQb,EAAe,IAAM,GACnC,MAAqB,iBAAVM,GAAuC,iBAAVA,GAAsBZ,EAASY,EAAMT,OAASN,EAAYe,EAAMQ,MAAMf,UACrGgB,EAAaT,EAAO,CACzBP,SAAUO,EAAMQ,MAAMf,SAASiB,MAAM,IAAIC,KAAKJ,KAG7B,iBAAVP,EACFf,EAAYe,GAAsBH,EAAMe,cAAc,OAAQ,KAAMZ,EAAMU,MAAM,IAAIC,KAAKJ,IAAuBV,EAAMe,cAAc,OAAQ,KAAMZ,GAEvJa,EAAWb,GACOH,EAAMe,cAAc,OAAQ,KAAMZ,GAEjDA,CACT,CAgBgDc,CAAoBd,EAAON,IAC3E","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import t from"./button.js";export{t as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
const r=(r,n)=>({[`> span, > ${r}`]:{"&:not(:last-child)":{[`&, & > ${r}`]:{"&:not(:disabled)":{borderInlineEndColor:n}}},"&:not(:first-child)":{[`&, & > ${r}`]:{"&:not(:disabled)":{borderInlineStartColor:n}}}}});var n=n=>{const{componentCls:o,fontSize:t,lineWidth:i,colorPrimaryHover:e,colorErrorHover:d}=n;return{[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-i,[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},r(`${o}-primary`,e),r(`${o}-danger`,d)]}};export{n as default};
|
|
2
2
|
//# sourceMappingURL=group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sources":["../../../../../../node_modules/antd/es/button/style/group.js"],"sourcesContent":["const genButtonBorderStyle = (buttonTypeCls, borderColor) => ({\n // Border\n [`> span, > ${buttonTypeCls}`]: {\n '&:not(:last-child)': {\n [`&, & > ${buttonTypeCls}`]: {\n '&:not(:disabled)': {\n borderInlineEndColor: borderColor\n }\n }\n },\n '&:not(:first-child)': {\n [`&, & > ${buttonTypeCls}`]: {\n '&:not(:disabled)': {\n borderInlineStartColor: borderColor\n }\n }\n }\n }\n});\nconst genGroupStyle = token => {\n const {\n componentCls,\n fontSize,\n lineWidth,\n colorPrimaryHover,\n colorErrorHover\n } = token;\n return {\n [`${componentCls}-group`]: [{\n position: 'relative',\n display: 'inline-flex',\n // Border\n [`> span, > ${componentCls}`]: {\n '&:not(:last-child)': {\n [`&, & > ${componentCls}`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n '&:not(:first-child)': {\n marginInlineStart: -lineWidth,\n [`&, & > ${componentCls}`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n }\n },\n [componentCls]: {\n position: 'relative',\n zIndex: 1,\n [`&:hover,\n &:focus,\n &:active`]: {\n zIndex: 2\n },\n '&[disabled]': {\n zIndex: 0\n }\n },\n [`${componentCls}-icon-only`]: {\n fontSize\n }\n },\n // Border Color\n genButtonBorderStyle(`${componentCls}-primary`, colorPrimaryHover), genButtonBorderStyle(`${componentCls}-danger`, colorErrorHover)]\n };\n};\nexport default genGroupStyle;"],"names":["genButtonBorderStyle","buttonTypeCls","borderColor","borderInlineEndColor","borderInlineStartColor","genGroupStyle$1","token","componentCls","fontSize","lineWidth","colorPrimaryHover","colorErrorHover","position","display","borderStartEndRadius","borderEndEndRadius","marginInlineStart","borderStartStartRadius","borderEndStartRadius","zIndex"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group.js","sources":["../../../../../../node_modules/antd/es/button/style/group.js"],"sourcesContent":["const genButtonBorderStyle = (buttonTypeCls, borderColor) => ({\n // Border\n [`> span, > ${buttonTypeCls}`]: {\n '&:not(:last-child)': {\n [`&, & > ${buttonTypeCls}`]: {\n '&:not(:disabled)': {\n borderInlineEndColor: borderColor\n }\n }\n },\n '&:not(:first-child)': {\n [`&, & > ${buttonTypeCls}`]: {\n '&:not(:disabled)': {\n borderInlineStartColor: borderColor\n }\n }\n }\n }\n});\nconst genGroupStyle = token => {\n const {\n componentCls,\n fontSize,\n lineWidth,\n colorPrimaryHover,\n colorErrorHover\n } = token;\n return {\n [`${componentCls}-group`]: [{\n position: 'relative',\n display: 'inline-flex',\n // Border\n [`> span, > ${componentCls}`]: {\n '&:not(:last-child)': {\n [`&, & > ${componentCls}`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n '&:not(:first-child)': {\n marginInlineStart: -lineWidth,\n [`&, & > ${componentCls}`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n }\n },\n [componentCls]: {\n position: 'relative',\n zIndex: 1,\n [`&:hover,\n &:focus,\n &:active`]: {\n zIndex: 2\n },\n '&[disabled]': {\n zIndex: 0\n }\n },\n [`${componentCls}-icon-only`]: {\n fontSize\n }\n },\n // Border Color\n genButtonBorderStyle(`${componentCls}-primary`, colorPrimaryHover), genButtonBorderStyle(`${componentCls}-danger`, colorErrorHover)]\n };\n};\nexport default genGroupStyle;"],"names":["genButtonBorderStyle","buttonTypeCls","borderColor","borderInlineEndColor","borderInlineStartColor","genGroupStyle$1","token","componentCls","fontSize","lineWidth","colorPrimaryHover","colorErrorHover","position","display","borderStartEndRadius","borderEndEndRadius","marginInlineStart","borderStartStartRadius","borderEndStartRadius","zIndex"],"mappings":"AAAA,MAAMA,EAAuB,CAACC,EAAeC,KAAiB,CAE5D,CAAC,aAAaD,KAAkB,CAC9B,qBAAsB,CACpB,CAAC,UAAUA,KAAkB,CAC3B,mBAAoB,CAClBE,qBAAsBD,KAI5B,sBAAuB,CACrB,CAAC,UAAUD,KAAkB,CAC3B,mBAAoB,CAClBG,uBAAwBF,QAsDlC,IAAAG,EAhDsBC,IACpB,MAAMC,aACJA,EAAYC,SACZA,EAAQC,UACRA,EAASC,kBACTA,EAAiBC,gBACjBA,GACEL,EACJ,MAAO,CACL,CAAC,GAAGC,WAAuB,CAAC,CAC1BK,SAAU,WACVC,QAAS,cAET,CAAC,aAAaN,KAAiB,CAC7B,qBAAsB,CACpB,CAAC,UAAUA,KAAiB,CAC1BO,qBAAsB,EACtBC,mBAAoB,IAGxB,sBAAuB,CACrBC,mBAAoBP,EACpB,CAAC,UAAUF,KAAiB,CAC1BU,uBAAwB,EACxBC,qBAAsB,KAI5BX,CAACA,GAAe,CACdK,SAAU,WACVO,OAAQ,EACR,mDAEc,CACZA,OAAQ,GAEV,cAAe,CACbA,OAAQ,IAGZ,CAAC,GAAGZ,eAA2B,CAC7BC,aAIJR,EAAqB,GAAGO,YAAwBG,GAAoBV,EAAqB,GAAGO,WAAuBI,IACpH","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"
|
|
1
|
+
import"../../theme/internal.js";import o from"./group.js";import{genFocusStyle as r}from"../../style/index.js";import{genCompactItemStyle as n}from"../../style/compact-item.js";import{genCompactItemVerticalStyle as t}from"../../style/compact-item-vertical.js";import e from"../../theme/util/genComponentStyleHook.js";import{merge as i}from"../../theme/util/statistic.js";const l=o=>{const{componentCls:n,iconCls:t}=o;return{[n]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${o.lineWidth}px ${o.lineType} transparent`,cursor:"pointer",transition:`all ${o.motionDurationMid} ${o.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:o.lineHeight,color:o.colorText,"> span":{display:"inline-block"},[`> ${t} + span, > span + ${t}`]:{marginInlineStart:o.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},r(o)),[`&-icon-only${n}-compact-item`]:{flex:"none"},[`&-compact-item${n}-primary`]:{[`&:not([disabled]) + ${n}-compact-item${n}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-o.lineWidth,insetInlineStart:-o.lineWidth,display:"inline-block",width:o.lineWidth,height:`calc(100% + ${2*o.lineWidth}px)`,backgroundColor:o.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${n}-primary`]:{[`&:not([disabled]) + ${n}-compact-vertical-item${n}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-o.lineWidth,insetInlineStart:-o.lineWidth,display:"inline-block",width:`calc(100% + ${2*o.lineWidth}px)`,height:o.lineWidth,backgroundColor:o.colorPrimaryHover,content:'""'}}}}}}},c=(o,r)=>({"&:not(:disabled)":{"&:hover":o,"&:active":r}}),a=o=>({minWidth:o.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),s=o=>({borderRadius:o.controlHeight,paddingInlineStart:o.controlHeight/2,paddingInlineEnd:o.controlHeight/2}),d=o=>({cursor:"not-allowed",borderColor:o.colorBorder,color:o.colorTextDisabled,backgroundColor:o.colorBgContainerDisabled,boxShadow:"none"}),g=(o,r,n,t,e,i,l)=>({[`&${o}-background-ghost`]:Object.assign(Object.assign({color:r||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},c(Object.assign({backgroundColor:"transparent"},i),Object.assign({backgroundColor:"transparent"},l))),{"&:disabled":{cursor:"not-allowed",color:t||void 0,borderColor:e||void 0}})}),b=o=>({"&:disabled":Object.assign({},d(o))}),p=o=>Object.assign({},b(o)),m=o=>({"&:disabled":{cursor:"not-allowed",color:o.colorTextDisabled}}),u=o=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(o)),{backgroundColor:o.colorBgContainer,borderColor:o.colorBorder,boxShadow:`0 ${o.controlOutlineWidth}px 0 ${o.controlTmpOutline}`}),c({color:o.colorPrimaryHover,borderColor:o.colorPrimaryHover},{color:o.colorPrimaryActive,borderColor:o.colorPrimaryActive})),g(o.componentCls,o.colorBgContainer,o.colorBgContainer,o.colorTextDisabled,o.colorBorder)),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:o.colorError,borderColor:o.colorError},c({color:o.colorErrorHover,borderColor:o.colorErrorBorderHover},{color:o.colorErrorActive,borderColor:o.colorErrorActive})),g(o.componentCls,o.colorError,o.colorError,o.colorTextDisabled,o.colorBorder)),b(o))}),h=o=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(o)),{color:o.colorTextLightSolid,backgroundColor:o.colorPrimary,boxShadow:`0 ${o.controlOutlineWidth}px 0 ${o.controlOutline}`}),c({color:o.colorTextLightSolid,backgroundColor:o.colorPrimaryHover},{color:o.colorTextLightSolid,backgroundColor:o.colorPrimaryActive})),g(o.componentCls,o.colorPrimary,o.colorPrimary,o.colorTextDisabled,o.colorBorder,{color:o.colorPrimaryHover,borderColor:o.colorPrimaryHover},{color:o.colorPrimaryActive,borderColor:o.colorPrimaryActive})),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:o.colorError,boxShadow:`0 ${o.controlOutlineWidth}px 0 ${o.colorErrorOutline}`},c({backgroundColor:o.colorErrorHover},{backgroundColor:o.colorErrorActive})),g(o.componentCls,o.colorError,o.colorError,o.colorTextDisabled,o.colorBorder,{color:o.colorErrorHover,borderColor:o.colorErrorHover},{color:o.colorErrorActive,borderColor:o.colorErrorActive})),b(o))}),$=o=>Object.assign(Object.assign({},u(o)),{borderStyle:"dashed"}),C=o=>Object.assign(Object.assign(Object.assign({color:o.colorLink},c({color:o.colorLinkHover},{color:o.colorLinkActive})),m(o)),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign({color:o.colorError},c({color:o.colorErrorHover},{color:o.colorErrorActive})),m(o))}),O=o=>Object.assign(Object.assign(Object.assign({},c({color:o.colorText,backgroundColor:o.colorBgTextHover},{color:o.colorText,backgroundColor:o.colorBgTextActive})),m(o)),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign({color:o.colorError},m(o)),c({color:o.colorErrorHover,backgroundColor:o.colorErrorBg},{color:o.colorErrorHover,backgroundColor:o.colorErrorBg}))}),j=o=>Object.assign(Object.assign({},d(o)),{[`&${o.componentCls}:hover`]:Object.assign({},d(o))}),v=o=>{const{componentCls:r}=o;return{[`${r}-default`]:u(o),[`${r}-primary`]:h(o),[`${r}-dashed`]:$(o),[`${r}-link`]:C(o),[`${r}-text`]:O(o),[`${r}-disabled`]:j(o)}},y=function(o){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,iconCls:t,controlHeight:e,fontSize:i,lineHeight:l,lineWidth:c,borderRadius:d,buttonPaddingHorizontal:g}=o,b=`${n}-icon-only`;return[{[`${n}${r}`]:{fontSize:i,height:e,padding:`${Math.max(0,(e-i*l)/2-c)}px ${g-c}px`,borderRadius:d,[`&${b}`]:{width:e,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:o.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${o.motionDurationSlow} ${o.motionEaseInOut}, opacity ${o.motionDurationSlow} ${o.motionEaseInOut}`},[`&:not(${b}) ${n}-loading-icon > ${t}`]:{marginInlineEnd:o.marginXS}}},{[`${n}${n}-circle${r}`]:a(o)},{[`${n}${n}-round${r}`]:s(o)}]},H=o=>y(o),x=o=>{const r=i(o,{controlHeight:o.controlHeightSM,padding:o.paddingXS,buttonPaddingHorizontal:8,borderRadius:o.borderRadiusSM});return y(r,`${o.componentCls}-sm`)},E=o=>{const r=i(o,{controlHeight:o.controlHeightLG,fontSize:o.fontSizeLG,borderRadius:o.borderRadiusLG});return y(r,`${o.componentCls}-lg`)},k=o=>{const{componentCls:r}=o;return{[r]:{[`&${r}-block`]:{width:"100%"}}}};var S=e("Button",(r=>{const{controlTmpOutline:e,paddingContentHorizontal:c}=r,a=i(r,{colorOutlineDefault:e,buttonPaddingHorizontal:c});return[l(a),x(a),H(a),E(a),k(a),v(a),o(a),n(r),t(r)]}));export{S as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/button/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport genGroupStyle from './group';\nimport { genFocusStyle } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genCompactItemVerticalStyle } from '../../style/compact-item-vertical';\n// ============================== Shared ==============================\nconst genSharedButtonStyle = token => {\n const {\n componentCls,\n iconCls\n } = token;\n return {\n [componentCls]: {\n outline: 'none',\n position: 'relative',\n display: 'inline-block',\n fontWeight: 400,\n whiteSpace: 'nowrap',\n textAlign: 'center',\n backgroundImage: 'none',\n backgroundColor: 'transparent',\n border: `${token.lineWidth}px ${token.lineType} transparent`,\n cursor: 'pointer',\n transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`,\n userSelect: 'none',\n touchAction: 'manipulation',\n lineHeight: token.lineHeight,\n color: token.colorText,\n '> span': {\n display: 'inline-block'\n },\n // Leave a space between icon and text.\n [`> ${iconCls} + span, > span + ${iconCls}`]: {\n marginInlineStart: token.marginXS\n },\n '> a': {\n color: 'currentColor'\n },\n '&:not(:disabled)': Object.assign({}, genFocusStyle(token)),\n // make `btn-icon-only` not too narrow\n [`&-icon-only${componentCls}-compact-item`]: {\n flex: 'none'\n },\n // Special styles for Primary Button\n [`&-compact-item${componentCls}-primary`]: {\n [`&:not([disabled]) + ${componentCls}-compact-item${componentCls}-primary:not([disabled])`]: {\n position: 'relative',\n '&:before': {\n position: 'absolute',\n top: -token.lineWidth,\n insetInlineStart: -token.lineWidth,\n display: 'inline-block',\n width: token.lineWidth,\n height: `calc(100% + ${token.lineWidth * 2}px)`,\n backgroundColor: token.colorPrimaryHover,\n content: '\"\"'\n }\n }\n },\n // Special styles for Primary Button\n '&-compact-vertical-item': {\n [`&${componentCls}-primary`]: {\n [`&:not([disabled]) + ${componentCls}-compact-vertical-item${componentCls}-primary:not([disabled])`]: {\n position: 'relative',\n '&:before': {\n position: 'absolute',\n top: -token.lineWidth,\n insetInlineStart: -token.lineWidth,\n display: 'inline-block',\n width: `calc(100% + ${token.lineWidth * 2}px)`,\n height: token.lineWidth,\n backgroundColor: token.colorPrimaryHover,\n content: '\"\"'\n }\n }\n }\n }\n }\n };\n};\nconst genHoverActiveButtonStyle = (hoverStyle, activeStyle) => ({\n '&:not(:disabled)': {\n '&:hover': hoverStyle,\n '&:active': activeStyle\n }\n});\n// ============================== Shape ===============================\nconst genCircleButtonStyle = token => ({\n minWidth: token.controlHeight,\n paddingInlineStart: 0,\n paddingInlineEnd: 0,\n borderRadius: '50%'\n});\nconst genRoundButtonStyle = token => ({\n borderRadius: token.controlHeight,\n paddingInlineStart: token.controlHeight / 2,\n paddingInlineEnd: token.controlHeight / 2\n});\n// =============================== Type ===============================\nconst genDisabledStyle = token => ({\n cursor: 'not-allowed',\n borderColor: token.colorBorder,\n color: token.colorTextDisabled,\n backgroundColor: token.colorBgContainerDisabled,\n boxShadow: 'none'\n});\nconst genGhostButtonStyle = (btnCls, textColor, borderColor, textColorDisabled, borderColorDisabled, hoverStyle, activeStyle) => ({\n [`&${btnCls}-background-ghost`]: Object.assign(Object.assign({\n color: textColor || undefined,\n backgroundColor: 'transparent',\n borderColor: borderColor || undefined,\n boxShadow: 'none'\n }, genHoverActiveButtonStyle(Object.assign({\n backgroundColor: 'transparent'\n }, hoverStyle), Object.assign({\n backgroundColor: 'transparent'\n }, activeStyle))), {\n '&:disabled': {\n cursor: 'not-allowed',\n color: textColorDisabled || undefined,\n borderColor: borderColorDisabled || undefined\n }\n })\n});\nconst genSolidDisabledButtonStyle = token => ({\n '&:disabled': Object.assign({}, genDisabledStyle(token))\n});\nconst genSolidButtonStyle = token => Object.assign({}, genSolidDisabledButtonStyle(token));\nconst genPureDisabledButtonStyle = token => ({\n '&:disabled': {\n cursor: 'not-allowed',\n color: token.colorTextDisabled\n }\n});\n// Type: Default\nconst genDefaultButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n backgroundColor: token.colorBgContainer,\n borderColor: token.colorBorder,\n boxShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlTmpOutline}`\n}), genHoverActiveButtonStyle({\n color: token.colorPrimaryHover,\n borderColor: token.colorPrimaryHover\n}, {\n color: token.colorPrimaryActive,\n borderColor: token.colorPrimaryActive\n})), genGhostButtonStyle(token.componentCls, token.colorBgContainer, token.colorBgContainer, token.colorTextDisabled, token.colorBorder)), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n color: token.colorError,\n borderColor: token.colorError\n }, genHoverActiveButtonStyle({\n color: token.colorErrorHover,\n borderColor: token.colorErrorBorderHover\n }, {\n color: token.colorErrorActive,\n borderColor: token.colorErrorActive\n })), genGhostButtonStyle(token.componentCls, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder)), genSolidDisabledButtonStyle(token))\n});\n// Type: Primary\nconst genPrimaryButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n color: token.colorTextLightSolid,\n backgroundColor: token.colorPrimary,\n boxShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlOutline}`\n}), genHoverActiveButtonStyle({\n color: token.colorTextLightSolid,\n backgroundColor: token.colorPrimaryHover\n}, {\n color: token.colorTextLightSolid,\n backgroundColor: token.colorPrimaryActive\n})), genGhostButtonStyle(token.componentCls, token.colorPrimary, token.colorPrimary, token.colorTextDisabled, token.colorBorder, {\n color: token.colorPrimaryHover,\n borderColor: token.colorPrimaryHover\n}, {\n color: token.colorPrimaryActive,\n borderColor: token.colorPrimaryActive\n})), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n backgroundColor: token.colorError,\n boxShadow: `0 ${token.controlOutlineWidth}px 0 ${token.colorErrorOutline}`\n }, genHoverActiveButtonStyle({\n backgroundColor: token.colorErrorHover\n }, {\n backgroundColor: token.colorErrorActive\n })), genGhostButtonStyle(token.componentCls, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder, {\n color: token.colorErrorHover,\n borderColor: token.colorErrorHover\n }, {\n color: token.colorErrorActive,\n borderColor: token.colorErrorActive\n })), genSolidDisabledButtonStyle(token))\n});\n// Type: Dashed\nconst genDashedButtonStyle = token => Object.assign(Object.assign({}, genDefaultButtonStyle(token)), {\n borderStyle: 'dashed'\n});\n// Type: Link\nconst genLinkButtonStyle = token => Object.assign(Object.assign(Object.assign({\n color: token.colorLink\n}, genHoverActiveButtonStyle({\n color: token.colorLinkHover\n}, {\n color: token.colorLinkActive\n})), genPureDisabledButtonStyle(token)), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n color: token.colorError\n }, genHoverActiveButtonStyle({\n color: token.colorErrorHover\n }, {\n color: token.colorErrorActive\n })), genPureDisabledButtonStyle(token))\n});\n// Type: Text\nconst genTextButtonStyle = token => Object.assign(Object.assign(Object.assign({}, genHoverActiveButtonStyle({\n color: token.colorText,\n backgroundColor: token.colorBgTextHover\n}, {\n color: token.colorText,\n backgroundColor: token.colorBgTextActive\n})), genPureDisabledButtonStyle(token)), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n color: token.colorError\n }, genPureDisabledButtonStyle(token)), genHoverActiveButtonStyle({\n color: token.colorErrorHover,\n backgroundColor: token.colorErrorBg\n }, {\n color: token.colorErrorHover,\n backgroundColor: token.colorErrorBg\n }))\n});\n// Href and Disabled\nconst genDisabledButtonStyle = token => Object.assign(Object.assign({}, genDisabledStyle(token)), {\n [`&${token.componentCls}:hover`]: Object.assign({}, genDisabledStyle(token))\n});\nconst genTypeButtonStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [`${componentCls}-default`]: genDefaultButtonStyle(token),\n [`${componentCls}-primary`]: genPrimaryButtonStyle(token),\n [`${componentCls}-dashed`]: genDashedButtonStyle(token),\n [`${componentCls}-link`]: genLinkButtonStyle(token),\n [`${componentCls}-text`]: genTextButtonStyle(token),\n [`${componentCls}-disabled`]: genDisabledButtonStyle(token)\n };\n};\n// =============================== Size ===============================\nconst genSizeButtonStyle = function (token) {\n let sizePrefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n const {\n componentCls,\n iconCls,\n controlHeight,\n fontSize,\n lineHeight,\n lineWidth,\n borderRadius,\n buttonPaddingHorizontal\n } = token;\n const paddingVertical = Math.max(0, (controlHeight - fontSize * lineHeight) / 2 - lineWidth);\n const paddingHorizontal = buttonPaddingHorizontal - lineWidth;\n const iconOnlyCls = `${componentCls}-icon-only`;\n return [\n // Size\n {\n [`${componentCls}${sizePrefixCls}`]: {\n fontSize,\n height: controlHeight,\n padding: `${paddingVertical}px ${paddingHorizontal}px`,\n borderRadius,\n [`&${iconOnlyCls}`]: {\n width: controlHeight,\n paddingInlineStart: 0,\n paddingInlineEnd: 0,\n [`&${componentCls}-round`]: {\n width: 'auto'\n },\n '> span': {\n transform: 'scale(1.143)' // 14px -> 16px\n }\n },\n\n // Loading\n [`&${componentCls}-loading`]: {\n opacity: token.opacityLoading,\n cursor: 'default'\n },\n [`${componentCls}-loading-icon`]: {\n transition: `width ${token.motionDurationSlow} ${token.motionEaseInOut}, opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`\n },\n [`&:not(${iconOnlyCls}) ${componentCls}-loading-icon > ${iconCls}`]: {\n marginInlineEnd: token.marginXS\n }\n }\n },\n // Shape - patch prefixCls again to override solid border radius style\n {\n [`${componentCls}${componentCls}-circle${sizePrefixCls}`]: genCircleButtonStyle(token)\n }, {\n [`${componentCls}${componentCls}-round${sizePrefixCls}`]: genRoundButtonStyle(token)\n }];\n};\nconst genSizeBaseButtonStyle = token => genSizeButtonStyle(token);\nconst genSizeSmallButtonStyle = token => {\n const smallToken = mergeToken(token, {\n controlHeight: token.controlHeightSM,\n padding: token.paddingXS,\n buttonPaddingHorizontal: 8,\n borderRadius: token.borderRadiusSM\n });\n return genSizeButtonStyle(smallToken, `${token.componentCls}-sm`);\n};\nconst genSizeLargeButtonStyle = token => {\n const largeToken = mergeToken(token, {\n controlHeight: token.controlHeightLG,\n fontSize: token.fontSizeLG,\n borderRadius: token.borderRadiusLG\n });\n return genSizeButtonStyle(largeToken, `${token.componentCls}-lg`);\n};\nconst genBlockButtonStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [componentCls]: {\n [`&${componentCls}-block`]: {\n width: '100%'\n }\n }\n };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Button', token => {\n const {\n controlTmpOutline,\n paddingContentHorizontal\n } = token;\n const buttonToken = mergeToken(token, {\n colorOutlineDefault: controlTmpOutline,\n buttonPaddingHorizontal: paddingContentHorizontal\n });\n return [\n // Shared\n genSharedButtonStyle(buttonToken),\n // Size\n genSizeSmallButtonStyle(buttonToken), genSizeBaseButtonStyle(buttonToken), genSizeLargeButtonStyle(buttonToken),\n // Block\n genBlockButtonStyle(buttonToken),\n // Group (type, ghost, danger, disabled, loading)\n genTypeButtonStyle(buttonToken),\n // Button Group\n genGroupStyle(buttonToken),\n // Space Compact\n genCompactItemStyle(token), genCompactItemVerticalStyle(token)];\n});"],"names":["genSharedButtonStyle","token","componentCls","iconCls","outline","position","display","fontWeight","whiteSpace","textAlign","backgroundImage","backgroundColor","border","lineWidth","lineType","cursor","transition","motionDurationMid","motionEaseInOut","userSelect","touchAction","lineHeight","color","colorText","marginInlineStart","marginXS","Object","assign","genFocusStyle","flex","top","insetInlineStart","width","height","colorPrimaryHover","content","genHoverActiveButtonStyle","hoverStyle","activeStyle","genCircleButtonStyle","minWidth","controlHeight","paddingInlineStart","paddingInlineEnd","borderRadius","genRoundButtonStyle","genDisabledStyle","borderColor","colorBorder","colorTextDisabled","colorBgContainerDisabled","boxShadow","genGhostButtonStyle","btnCls","textColor","textColorDisabled","borderColorDisabled","undefined","genSolidDisabledButtonStyle","genSolidButtonStyle","genPureDisabledButtonStyle","genDefaultButtonStyle","colorBgContainer","controlOutlineWidth","controlTmpOutline","colorPrimaryActive","colorError","colorErrorHover","colorErrorBorderHover","colorErrorActive","genPrimaryButtonStyle","colorTextLightSolid","colorPrimary","controlOutline","colorErrorOutline","genDashedButtonStyle","borderStyle","genLinkButtonStyle","colorLink","colorLinkHover","colorLinkActive","genTextButtonStyle","colorBgTextHover","colorBgTextActive","colorErrorBg","genDisabledButtonStyle","genTypeButtonStyle","genSizeButtonStyle","sizePrefixCls","arguments","length","fontSize","buttonPaddingHorizontal","iconOnlyCls","padding","Math","max","transform","opacity","opacityLoading","motionDurationSlow","marginInlineEnd","genSizeBaseButtonStyle","genSizeSmallButtonStyle","smallToken","mergeToken","merge","controlHeightSM","paddingXS","borderRadiusSM","genSizeLargeButtonStyle","largeToken","controlHeightLG","fontSizeLG","borderRadiusLG","genBlockButtonStyle","useStyle","genComponentStyleHook","paddingContentHorizontal","buttonToken","colorOutlineDefault","genGroupStyle","genCompactItemStyle","genCompactItemVerticalStyle"],"mappings":"2SAMA,MAAMA,EAAuBC,IAC3B,MAAMC,aACJA,EAAYC,QACZA,GACEF,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B,IAAeA,WAAsBsF,KAAkBjD,EAAqBtC,IAC/E,CACD,CAAC,GAAGC,IAAeA,UAAqBsF,KAAkB3C,EAAoB5C,IAElF,EACMqG,EAAyBrG,GAASsF,EAAmBtF,GACrDsG,EAA0BtG,IAC9B,MAAMuG,EAAaC,EAAUC,MAACzG,EAAO,CACnCwC,cAAexC,EAAM0G,gBACrBb,QAAS7F,EAAM2G,UACfhB,wBAAyB,EACzBhD,aAAc3C,EAAM4G,iBAEtB,OAAOtB,EAAmBiB,EAAY,GAAGvG,EAAMC,kBAAkB,EAE7D4G,EAA0B7G,IAC9B,MAAM8G,EAAaN,EAAUC,MAACzG,EAAO,CACnCwC,cAAexC,EAAM+G,gBACrBrB,SAAU1F,EAAMgH,WAChBrE,aAAc3C,EAAMiH,iBAEtB,OAAO3B,EAAmBwB,EAAY,GAAG9G,EAAMC,kBAAkB,EAE7DiH,EAAsBlH,IAC1B,MAAMC,aACJA,GACED,EACJ,MAAO,CACLC,CAACA,GAAe,CACd,CAAC,IAAIA,WAAuB,CAC1B8B,MAAO,SAGZ,EAGH,IAAAoF,EAAeC,EAAsB,UAAUpH,IAC7C,MAAM+D,kBACJA,EAAiBsD,yBACjBA,GACErH,EACEsH,EAAcd,EAAUC,MAACzG,EAAO,CACpCuH,oBAAqBxD,EACrB4B,wBAAyB0B,IAE3B,MAAO,CAEPtH,EAAqBuH,GAErBhB,EAAwBgB,GAAcjB,EAAuBiB,GAAcT,EAAwBS,GAEnGJ,EAAoBI,GAEpBjC,EAAmBiC,GAEnBE,EAAcF,GAEdG,EAAAA,oBAAoBzH,GAAQ0H,8BAA4B1H,GAAO","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/button/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport genGroupStyle from './group';\nimport { genFocusStyle } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genCompactItemVerticalStyle } from '../../style/compact-item-vertical';\n// ============================== Shared ==============================\nconst genSharedButtonStyle = token => {\n const {\n componentCls,\n iconCls\n } = token;\n return {\n [componentCls]: {\n outline: 'none',\n position: 'relative',\n display: 'inline-block',\n fontWeight: 400,\n whiteSpace: 'nowrap',\n textAlign: 'center',\n backgroundImage: 'none',\n backgroundColor: 'transparent',\n border: `${token.lineWidth}px ${token.lineType} transparent`,\n cursor: 'pointer',\n transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`,\n userSelect: 'none',\n touchAction: 'manipulation',\n lineHeight: token.lineHeight,\n color: token.colorText,\n '> span': {\n display: 'inline-block'\n },\n // Leave a space between icon and text.\n [`> ${iconCls} + span, > span + ${iconCls}`]: {\n marginInlineStart: token.marginXS\n },\n '> a': {\n color: 'currentColor'\n },\n '&:not(:disabled)': Object.assign({}, genFocusStyle(token)),\n // make `btn-icon-only` not too narrow\n [`&-icon-only${componentCls}-compact-item`]: {\n flex: 'none'\n },\n // Special styles for Primary Button\n [`&-compact-item${componentCls}-primary`]: {\n [`&:not([disabled]) + ${componentCls}-compact-item${componentCls}-primary:not([disabled])`]: {\n position: 'relative',\n '&:before': {\n position: 'absolute',\n top: -token.lineWidth,\n insetInlineStart: -token.lineWidth,\n display: 'inline-block',\n width: token.lineWidth,\n height: `calc(100% + ${token.lineWidth * 2}px)`,\n backgroundColor: token.colorPrimaryHover,\n content: '\"\"'\n }\n }\n },\n // Special styles for Primary Button\n '&-compact-vertical-item': {\n [`&${componentCls}-primary`]: {\n [`&:not([disabled]) + ${componentCls}-compact-vertical-item${componentCls}-primary:not([disabled])`]: {\n position: 'relative',\n '&:before': {\n position: 'absolute',\n top: -token.lineWidth,\n insetInlineStart: -token.lineWidth,\n display: 'inline-block',\n width: `calc(100% + ${token.lineWidth * 2}px)`,\n height: token.lineWidth,\n backgroundColor: token.colorPrimaryHover,\n content: '\"\"'\n }\n }\n }\n }\n }\n };\n};\nconst genHoverActiveButtonStyle = (hoverStyle, activeStyle) => ({\n '&:not(:disabled)': {\n '&:hover': hoverStyle,\n '&:active': activeStyle\n }\n});\n// ============================== Shape ===============================\nconst genCircleButtonStyle = token => ({\n minWidth: token.controlHeight,\n paddingInlineStart: 0,\n paddingInlineEnd: 0,\n borderRadius: '50%'\n});\nconst genRoundButtonStyle = token => ({\n borderRadius: token.controlHeight,\n paddingInlineStart: token.controlHeight / 2,\n paddingInlineEnd: token.controlHeight / 2\n});\n// =============================== Type ===============================\nconst genDisabledStyle = token => ({\n cursor: 'not-allowed',\n borderColor: token.colorBorder,\n color: token.colorTextDisabled,\n backgroundColor: token.colorBgContainerDisabled,\n boxShadow: 'none'\n});\nconst genGhostButtonStyle = (btnCls, textColor, borderColor, textColorDisabled, borderColorDisabled, hoverStyle, activeStyle) => ({\n [`&${btnCls}-background-ghost`]: Object.assign(Object.assign({\n color: textColor || undefined,\n backgroundColor: 'transparent',\n borderColor: borderColor || undefined,\n boxShadow: 'none'\n }, genHoverActiveButtonStyle(Object.assign({\n backgroundColor: 'transparent'\n }, hoverStyle), Object.assign({\n backgroundColor: 'transparent'\n }, activeStyle))), {\n '&:disabled': {\n cursor: 'not-allowed',\n color: textColorDisabled || undefined,\n borderColor: borderColorDisabled || undefined\n }\n })\n});\nconst genSolidDisabledButtonStyle = token => ({\n '&:disabled': Object.assign({}, genDisabledStyle(token))\n});\nconst genSolidButtonStyle = token => Object.assign({}, genSolidDisabledButtonStyle(token));\nconst genPureDisabledButtonStyle = token => ({\n '&:disabled': {\n cursor: 'not-allowed',\n color: token.colorTextDisabled\n }\n});\n// Type: Default\nconst genDefaultButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n backgroundColor: token.colorBgContainer,\n borderColor: token.colorBorder,\n boxShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlTmpOutline}`\n}), genHoverActiveButtonStyle({\n color: token.colorPrimaryHover,\n borderColor: token.colorPrimaryHover\n}, {\n color: token.colorPrimaryActive,\n borderColor: token.colorPrimaryActive\n})), genGhostButtonStyle(token.componentCls, token.colorBgContainer, token.colorBgContainer, token.colorTextDisabled, token.colorBorder)), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n color: token.colorError,\n borderColor: token.colorError\n }, genHoverActiveButtonStyle({\n color: token.colorErrorHover,\n borderColor: token.colorErrorBorderHover\n }, {\n color: token.colorErrorActive,\n borderColor: token.colorErrorActive\n })), genGhostButtonStyle(token.componentCls, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder)), genSolidDisabledButtonStyle(token))\n});\n// Type: Primary\nconst genPrimaryButtonStyle = token => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genSolidButtonStyle(token)), {\n color: token.colorTextLightSolid,\n backgroundColor: token.colorPrimary,\n boxShadow: `0 ${token.controlOutlineWidth}px 0 ${token.controlOutline}`\n}), genHoverActiveButtonStyle({\n color: token.colorTextLightSolid,\n backgroundColor: token.colorPrimaryHover\n}, {\n color: token.colorTextLightSolid,\n backgroundColor: token.colorPrimaryActive\n})), genGhostButtonStyle(token.componentCls, token.colorPrimary, token.colorPrimary, token.colorTextDisabled, token.colorBorder, {\n color: token.colorPrimaryHover,\n borderColor: token.colorPrimaryHover\n}, {\n color: token.colorPrimaryActive,\n borderColor: token.colorPrimaryActive\n})), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign(Object.assign({\n backgroundColor: token.colorError,\n boxShadow: `0 ${token.controlOutlineWidth}px 0 ${token.colorErrorOutline}`\n }, genHoverActiveButtonStyle({\n backgroundColor: token.colorErrorHover\n }, {\n backgroundColor: token.colorErrorActive\n })), genGhostButtonStyle(token.componentCls, token.colorError, token.colorError, token.colorTextDisabled, token.colorBorder, {\n color: token.colorErrorHover,\n borderColor: token.colorErrorHover\n }, {\n color: token.colorErrorActive,\n borderColor: token.colorErrorActive\n })), genSolidDisabledButtonStyle(token))\n});\n// Type: Dashed\nconst genDashedButtonStyle = token => Object.assign(Object.assign({}, genDefaultButtonStyle(token)), {\n borderStyle: 'dashed'\n});\n// Type: Link\nconst genLinkButtonStyle = token => Object.assign(Object.assign(Object.assign({\n color: token.colorLink\n}, genHoverActiveButtonStyle({\n color: token.colorLinkHover\n}, {\n color: token.colorLinkActive\n})), genPureDisabledButtonStyle(token)), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n color: token.colorError\n }, genHoverActiveButtonStyle({\n color: token.colorErrorHover\n }, {\n color: token.colorErrorActive\n })), genPureDisabledButtonStyle(token))\n});\n// Type: Text\nconst genTextButtonStyle = token => Object.assign(Object.assign(Object.assign({}, genHoverActiveButtonStyle({\n color: token.colorText,\n backgroundColor: token.colorBgTextHover\n}, {\n color: token.colorText,\n backgroundColor: token.colorBgTextActive\n})), genPureDisabledButtonStyle(token)), {\n [`&${token.componentCls}-dangerous`]: Object.assign(Object.assign({\n color: token.colorError\n }, genPureDisabledButtonStyle(token)), genHoverActiveButtonStyle({\n color: token.colorErrorHover,\n backgroundColor: token.colorErrorBg\n }, {\n color: token.colorErrorHover,\n backgroundColor: token.colorErrorBg\n }))\n});\n// Href and Disabled\nconst genDisabledButtonStyle = token => Object.assign(Object.assign({}, genDisabledStyle(token)), {\n [`&${token.componentCls}:hover`]: Object.assign({}, genDisabledStyle(token))\n});\nconst genTypeButtonStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [`${componentCls}-default`]: genDefaultButtonStyle(token),\n [`${componentCls}-primary`]: genPrimaryButtonStyle(token),\n [`${componentCls}-dashed`]: genDashedButtonStyle(token),\n [`${componentCls}-link`]: genLinkButtonStyle(token),\n [`${componentCls}-text`]: genTextButtonStyle(token),\n [`${componentCls}-disabled`]: genDisabledButtonStyle(token)\n };\n};\n// =============================== Size ===============================\nconst genSizeButtonStyle = function (token) {\n let sizePrefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n const {\n componentCls,\n iconCls,\n controlHeight,\n fontSize,\n lineHeight,\n lineWidth,\n borderRadius,\n buttonPaddingHorizontal\n } = token;\n const paddingVertical = Math.max(0, (controlHeight - fontSize * lineHeight) / 2 - lineWidth);\n const paddingHorizontal = buttonPaddingHorizontal - lineWidth;\n const iconOnlyCls = `${componentCls}-icon-only`;\n return [\n // Size\n {\n [`${componentCls}${sizePrefixCls}`]: {\n fontSize,\n height: controlHeight,\n padding: `${paddingVertical}px ${paddingHorizontal}px`,\n borderRadius,\n [`&${iconOnlyCls}`]: {\n width: controlHeight,\n paddingInlineStart: 0,\n paddingInlineEnd: 0,\n [`&${componentCls}-round`]: {\n width: 'auto'\n },\n '> span': {\n transform: 'scale(1.143)' // 14px -> 16px\n }\n },\n\n // Loading\n [`&${componentCls}-loading`]: {\n opacity: token.opacityLoading,\n cursor: 'default'\n },\n [`${componentCls}-loading-icon`]: {\n transition: `width ${token.motionDurationSlow} ${token.motionEaseInOut}, opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`\n },\n [`&:not(${iconOnlyCls}) ${componentCls}-loading-icon > ${iconCls}`]: {\n marginInlineEnd: token.marginXS\n }\n }\n },\n // Shape - patch prefixCls again to override solid border radius style\n {\n [`${componentCls}${componentCls}-circle${sizePrefixCls}`]: genCircleButtonStyle(token)\n }, {\n [`${componentCls}${componentCls}-round${sizePrefixCls}`]: genRoundButtonStyle(token)\n }];\n};\nconst genSizeBaseButtonStyle = token => genSizeButtonStyle(token);\nconst genSizeSmallButtonStyle = token => {\n const smallToken = mergeToken(token, {\n controlHeight: token.controlHeightSM,\n padding: token.paddingXS,\n buttonPaddingHorizontal: 8,\n borderRadius: token.borderRadiusSM\n });\n return genSizeButtonStyle(smallToken, `${token.componentCls}-sm`);\n};\nconst genSizeLargeButtonStyle = token => {\n const largeToken = mergeToken(token, {\n controlHeight: token.controlHeightLG,\n fontSize: token.fontSizeLG,\n borderRadius: token.borderRadiusLG\n });\n return genSizeButtonStyle(largeToken, `${token.componentCls}-lg`);\n};\nconst genBlockButtonStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [componentCls]: {\n [`&${componentCls}-block`]: {\n width: '100%'\n }\n }\n };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Button', token => {\n const {\n controlTmpOutline,\n paddingContentHorizontal\n } = token;\n const buttonToken = mergeToken(token, {\n colorOutlineDefault: controlTmpOutline,\n buttonPaddingHorizontal: paddingContentHorizontal\n });\n return [\n // Shared\n genSharedButtonStyle(buttonToken),\n // Size\n genSizeSmallButtonStyle(buttonToken), genSizeBaseButtonStyle(buttonToken), genSizeLargeButtonStyle(buttonToken),\n // Block\n genBlockButtonStyle(buttonToken),\n // Group (type, ghost, danger, disabled, loading)\n genTypeButtonStyle(buttonToken),\n // Button Group\n genGroupStyle(buttonToken),\n // Space Compact\n genCompactItemStyle(token), genCompactItemVerticalStyle(token)];\n});"],"names":["genSharedButtonStyle","token","componentCls","iconCls","outline","position","display","fontWeight","whiteSpace","textAlign","backgroundImage","backgroundColor","border","lineWidth","lineType","cursor","transition","motionDurationMid","motionEaseInOut","userSelect","touchAction","lineHeight","color","colorText","marginInlineStart","marginXS","Object","assign","genFocusStyle","flex","top","insetInlineStart","width","height","colorPrimaryHover","content","genHoverActiveButtonStyle","hoverStyle","activeStyle","genCircleButtonStyle","minWidth","controlHeight","paddingInlineStart","paddingInlineEnd","borderRadius","genRoundButtonStyle","genDisabledStyle","borderColor","colorBorder","colorTextDisabled","colorBgContainerDisabled","boxShadow","genGhostButtonStyle","btnCls","textColor","textColorDisabled","borderColorDisabled","undefined","genSolidDisabledButtonStyle","genSolidButtonStyle","genPureDisabledButtonStyle","genDefaultButtonStyle","colorBgContainer","controlOutlineWidth","controlTmpOutline","colorPrimaryActive","colorError","colorErrorHover","colorErrorBorderHover","colorErrorActive","genPrimaryButtonStyle","colorTextLightSolid","colorPrimary","controlOutline","colorErrorOutline","genDashedButtonStyle","borderStyle","genLinkButtonStyle","colorLink","colorLinkHover","colorLinkActive","genTextButtonStyle","colorBgTextHover","colorBgTextActive","colorErrorBg","genDisabledButtonStyle","genTypeButtonStyle","genSizeButtonStyle","sizePrefixCls","arguments","length","fontSize","buttonPaddingHorizontal","iconOnlyCls","padding","Math","max","transform","opacity","opacityLoading","motionDurationSlow","marginInlineEnd","genSizeBaseButtonStyle","genSizeSmallButtonStyle","smallToken","mergeToken","controlHeightSM","paddingXS","borderRadiusSM","genSizeLargeButtonStyle","largeToken","controlHeightLG","fontSizeLG","borderRadiusLG","genBlockButtonStyle","useStyle","genComponentStyleHook","paddingContentHorizontal","buttonToken","colorOutlineDefault","genGroupStyle","genCompactItemStyle","genCompactItemVerticalStyle"],"mappings":"mXAMA,MAAMA,EAAuBC,IAC3B,MAAMC,aACJA,EAAYC,QACZA,GACEF,EACJ,MAAO,CACLC,CAACA,GAAe,CACdE,QAAS,OACTC,SAAU,WACVC,QAAS,eACTC,WAAY,IACZC,WAAY,SACZC,UAAW,SACXC,gBAAiB,OACjBC,gBAAiB,cACjBC,OAAQ,GAAGX,EAAMY,eAAeZ,EAAMa,uBACtCC,OAAQ,UACRC,WAAY,OAAOf,EAAMgB,qBAAqBhB,EAAMiB,kBACpDC,WAAY,OACZC,YAAa,eACbC,WAAYpB,EAAMoB,WAClBC,MAAOrB,EAAMsB,UACb,SAAU,CACRjB,QAAS,gBAGX,CAAC,KAAKH,sBAA4BA,KAAY,CAC5CqB,kBAAmBvB,EAAMwB,UAE3B,MAAO,CACLH,MAAO,gBAET,mBAAoBI,OAAOC,OAAO,CAAE,EAAEC,EAAc3B,IAEpD,CAAC,cAAcC,kBAA8B,CAC3C2B,KAAM,QAGR,CAAC,iBAAiB3B,aAAyB,CACzC,CAAC,uBAAuBA,iBAA4BA,6BAAyC,CAC3FG,SAAU,WACV,WAAY,CACVA,SAAU,WACVyB,KAAM7B,EAAMY,UACZkB,kBAAmB9B,EAAMY,UACzBP,QAAS,eACT0B,MAAO/B,EAAMY,UACboB,OAAQ,eAAiC,EAAlBhC,EAAMY,eAC7BF,gBAAiBV,EAAMiC,kBACvBC,QAAS,QAKf,0BAA2B,CACzB,CAAC,IAAIjC,aAA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