@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,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{useRef as t,useEffect as r}from"react";function u(u,e){const i=t([]),n=()=>{i.current.push(setTimeout((()=>{var t,r,e,i;(null===(t=u.current)||void 0===t?void 0:t.input)&&"password"===(null===(r=u.current)||void 0===r?void 0:r.input.getAttribute("type"))&&(null===(e=u.current)||void 0===e?void 0:e.input.hasAttribute("value"))&&(null===(i=u.current)||void 0===i||i.input.removeAttribute("value"))})))};return r((()=>(e&&n(),()=>i.current.forEach((t=>{t&&clearTimeout(t)})))),[]),n}export{u as default};
|
|
2
2
|
//# sourceMappingURL=useRemovePasswordTimeout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRemovePasswordTimeout.js","sources":["../../../../../../node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nexport default function useRemovePasswordTimeout(inputRef, triggerOnMount) {\n const removePasswordTimeoutRef = useRef([]);\n const removePasswordTimeout = () => {\n removePasswordTimeoutRef.current.push(setTimeout(() => {\n var _a, _b, _c, _d;\n if (((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) && ((_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.input.getAttribute('type')) === 'password' && ((_c = inputRef.current) === null || _c === void 0 ? void 0 : _c.input.hasAttribute('value'))) {\n (_d = inputRef.current) === null || _d === void 0 ? void 0 : _d.input.removeAttribute('value');\n }\n }));\n };\n useEffect(() => {\n if (triggerOnMount) {\n removePasswordTimeout();\n }\n return () => removePasswordTimeoutRef.current.forEach(timer => {\n if (timer) {\n clearTimeout(timer);\n }\n });\n }, []);\n return removePasswordTimeout;\n}"],"names":["inputRef","triggerOnMount","removePasswordTimeoutRef","useRef","removePasswordTimeout","current","push","setTimeout","_a","_b","_c","_d","input","getAttribute","hasAttribute","removeAttribute","useEffect","forEach","timer","clearTimeout"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useRemovePasswordTimeout.js","sources":["../../../../../../node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nexport default function useRemovePasswordTimeout(inputRef, triggerOnMount) {\n const removePasswordTimeoutRef = useRef([]);\n const removePasswordTimeout = () => {\n removePasswordTimeoutRef.current.push(setTimeout(() => {\n var _a, _b, _c, _d;\n if (((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) && ((_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.input.getAttribute('type')) === 'password' && ((_c = inputRef.current) === null || _c === void 0 ? void 0 : _c.input.hasAttribute('value'))) {\n (_d = inputRef.current) === null || _d === void 0 ? void 0 : _d.input.removeAttribute('value');\n }\n }));\n };\n useEffect(() => {\n if (triggerOnMount) {\n removePasswordTimeout();\n }\n return () => removePasswordTimeoutRef.current.forEach(timer => {\n if (timer) {\n clearTimeout(timer);\n }\n });\n }, []);\n return removePasswordTimeout;\n}"],"names":["useRemovePasswordTimeout","inputRef","triggerOnMount","removePasswordTimeoutRef","useRef","removePasswordTimeout","current","push","setTimeout","_a","_b","_c","_d","input","getAttribute","hasAttribute","removeAttribute","useEffect","forEach","timer","clearTimeout"],"mappings":"8CACe,SAASA,EAAyBC,EAAUC,GACzD,MAAMC,EAA2BC,EAAO,IAClCC,EAAwB,KAC5BF,EAAyBG,QAAQC,KAAKC,YAAW,KAC/C,IAAIC,EAAIC,EAAIC,EAAIC,GACiB,QAA3BH,EAAKR,EAASK,eAA4B,IAAPG,OAAgB,EAASA,EAAGI,QAA2G,cAApE,QAA3BH,EAAKT,EAASK,eAA4B,IAAPI,OAAgB,EAASA,EAAGG,MAAMC,aAAa,WAAwD,QAA3BH,EAAKV,EAASK,eAA4B,IAAPK,OAAgB,EAASA,EAAGE,MAAME,aAAa,YACpP,QAA3BH,EAAKX,EAASK,eAA4B,IAAPM,GAAyBA,EAAGC,MAAMG,gBAAgB,SACvF,IACA,EAYL,OAVAC,GAAU,KACJf,GACFG,IAEK,IAAMF,EAAyBG,QAAQY,SAAQC,IAChDA,GACFC,aAAaD,EACd,MAEF,IACId,CACT","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import r from"./Group.js";import o from"./Input.js";import s from"./Password.js";import p from"./Search.js";import t from"./TextArea.js";const a=o;"production"!==process.env.NODE_ENV&&(a.displayName="Input"),a.Group=r,a.Search=p,a.TextArea=t,a.Password=s;var e=a;export{e as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/input/index.js"],"sourcesContent":["import Group from './Group';\nimport InternalInput from './Input';\nimport Password from './Password';\nimport Search from './Search';\nimport TextArea from './TextArea';\nconst Input = InternalInput;\nif (process.env.NODE_ENV !== 'production') {\n Input.displayName = 'Input';\n}\nInput.Group = Group;\nInput.Search = Search;\nInput.TextArea = TextArea;\nInput.Password = Password;\nexport default Input;"],"names":["Input","InternalInput","process","env","NODE_ENV","displayName","Group","Search","TextArea","Password","Input$1"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/input/index.js"],"sourcesContent":["import Group from './Group';\nimport InternalInput from './Input';\nimport Password from './Password';\nimport Search from './Search';\nimport TextArea from './TextArea';\nconst Input = InternalInput;\nif (process.env.NODE_ENV !== 'production') {\n Input.displayName = 'Input';\n}\nInput.Group = Group;\nInput.Search = Search;\nInput.TextArea = TextArea;\nInput.Password = Password;\nexport default Input;"],"names":["Input","InternalInput","process","env","NODE_ENV","displayName","Group","Search","TextArea","Password","Input$1"],"mappings":"yIAKA,MAAMA,EAAQC,EACe,eAAzBC,QAAQC,IAAIC,WACdJ,EAAMK,YAAc,SAEtBL,EAAMM,MAAQA,EACdN,EAAMO,OAASA,EACfP,EAAMQ,SAAWA,EACjBR,EAAMS,SAAWA,EACjB,IAAAC,EAAeV","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("../../style/index.js"),e=require("../../style/compact-item.js");require("../../theme/internal.js");var o=require("../../theme/util/genComponentStyleHook.js"),t=require("../../theme/util/statistic.js");const i=r=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:r,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),n=r=>({borderColor:r.inputBorderHoverColor,borderInlineEndWidth:r.lineWidth}),d=r=>({borderColor:r.inputBorderHoverColor,boxShadow:`0 0 0 ${r.controlOutlineWidth}px ${r.controlOutline}`,borderInlineEndWidth:r.lineWidth,outline:0}),a=r=>({color:r.colorTextDisabled,backgroundColor:r.colorBgContainerDisabled,borderColor:r.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},n(t.merge(r,{inputBorderHoverColor:r.colorBorder})))}),l=r=>{const{inputPaddingVerticalLG:e,fontSizeLG:o,lineHeightLG:t,borderRadiusLG:i,inputPaddingHorizontalLG:n}=r;return{padding:`${e}px ${n}px`,fontSize:o,lineHeight:t,borderRadius:i}},s=r=>({padding:`${r.inputPaddingVerticalSM}px ${r.controlPaddingHorizontalSM-1}px`,borderRadius:r.borderRadiusSM}),c=(r,e)=>{const{componentCls:o,colorError:i,colorWarning:n,colorErrorOutline:a,colorWarningOutline:l,colorErrorBorderHover:s,colorWarningBorderHover:c}=r;return{[`&-status-error:not(${e}-disabled):not(${e}-borderless)${e}`]:{borderColor:i,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},d(t.merge(r,{inputBorderActiveColor:i,inputBorderHoverColor:i,controlOutline:a}))),[`${o}-prefix, ${o}-suffix`]:{color:i}},[`&-status-warning:not(${e}-disabled):not(${e}-borderless)${e}`]:{borderColor:n,"&:hover":{borderColor:c},"&:focus, &-focused":Object.assign({},d(t.merge(r,{inputBorderActiveColor:n,inputBorderHoverColor:n,controlOutline:l}))),[`${o}-prefix, ${o}-suffix`]:{color:n}}}},p=r=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${r.inputPaddingVertical}px ${r.inputPaddingHorizontal}px`,color:r.colorText,fontSize:r.fontSize,lineHeight:r.lineHeight,backgroundColor:r.colorBgContainer,backgroundImage:"none",borderWidth:r.lineWidth,borderStyle:r.lineType,borderColor:r.colorBorder,borderRadius:r.borderRadius,transition:`all ${r.motionDurationMid}`},i(r.colorTextPlaceholder)),{"&:hover":Object.assign({},n(r)),"&:focus, &-focused":Object.assign({},d(r)),"&-disabled, &[disabled]":Object.assign({},a(r)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:r.controlHeight,lineHeight:r.lineHeight,verticalAlign:"bottom",transition:`all ${r.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},l(r)),"&-sm":Object.assign({},s(r)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),u=e=>{const{componentCls:o,antCls:t}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:Object.assign({},l(e)),[`&-sm ${o}, &-sm > ${o}-group-addon`]:Object.assign({},s(e)),[`&-lg ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${t}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${t}-select-single:not(${t}-select-customize-input)`]:{[`${t}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${t}-select-selector`]:{color:e.colorPrimary}}},[`${t}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${t}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${o}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:Object.assign(Object.assign({display:"block"},r.clearFix()),{[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${o}-affix-wrapper`]:{display:"inline-flex"},[`& > ${t}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${o}`]:{float:"none"},[`& > ${t}-select > ${t}-select-selector,\n & > ${t}-select-auto-complete ${o},\n & > ${t}-cascader-picker ${o},\n & > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${t}-select-focused`]:{zIndex:1},[`& > ${t}-select > ${t}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${t}-select:first-child > ${t}-select-selector,\n & > ${t}-select-auto-complete:first-child ${o},\n & > ${t}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${t}-select:last-child > ${t}-select-selector,\n & > ${t}-cascader-picker:last-child ${o},\n & > ${t}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${t}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},g=e=>{const{componentCls:o,controlHeightSM:t,lineWidth:i}=e,n=(t-2*i-16)/2;return{[o]:Object.assign(Object.assign(Object.assign(Object.assign({},r.resetComponent(e)),p(e)),c(e,o)),{'&[type="color"]':{height:e.controlHeight,[`&${o}-lg`]:{height:e.controlHeightLG},[`&${o}-sm`]:{height:t,paddingTop:n,paddingBottom:n}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},b=r=>{const{componentCls:e}=r;return{[`${e}-clear-icon`]:{margin:0,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${r.motionDurationSlow}`,"&:hover":{color:r.colorTextTertiary},"&:active":{color:r.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${r.inputAffixPadding}px`}}}},h=r=>{const{componentCls:e,inputAffixPadding:o,colorTextDescription:t,motionDurationSlow:i,colorIcon:d,colorIconHover:a,iconCls:l}=r;return{[`${e}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(r)),{display:"inline-flex",[`&:not(${e}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},n(r)),{zIndex:1,[`${e}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${e}[disabled]`]:{background:"transparent"}},[`> input${e}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${e}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:r.paddingXS}},"&-show-count-suffix":{color:t},"&-show-count-has-suffix":{marginInlineEnd:r.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o}}}),b(r)),{[`${l}${e}-password-icon`]:{color:d,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:a}}}),c(r,`${e}-affix-wrapper`))}},$=e=>{const{componentCls:o,colorError:t,colorWarning:i,borderRadiusLG:n,borderRadiusSM:d}=e;return{[`${o}-group`]:Object.assign(Object.assign(Object.assign({},r.resetComponent(e)),u(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:n}},"&-sm":{[`${o}-group-addon`]:{borderRadius:d}},"&-status-error":{[`${o}-group-addon`]:{color:t,borderColor:t}},"&-status-warning":{[`${o}-group-addon`]:{color:i,borderColor:i}},"&-disabled":{[`${o}-group-addon`]:Object.assign({},a(e))}}})}},f=r=>{const{componentCls:e,antCls:o}=r,t=`${e}-search`;return{[t]:{[`${e}`]:{"&:hover, &:focus":{borderColor:r.colorPrimaryHover,[`+ ${e}-group-addon ${t}-button:not(${o}-btn-primary)`]:{borderInlineStartColor:r.colorPrimaryHover}}},[`${e}-affix-wrapper`]:{borderRadius:0},[`${e}-lg`]:{lineHeight:r.lineHeightLG-2e-4},[`> ${e}-group`]:{[`> ${e}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${t}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:r.borderRadius,borderEndEndRadius:r.borderRadius,borderEndStartRadius:0},[`${t}-button:not(${o}-btn-primary)`]:{color:r.colorTextDescription,"&:hover":{color:r.colorPrimaryHover},"&:active":{color:r.colorPrimaryActive},[`&${o}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${t}-button`]:{height:r.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${t}-button`]:{height:r.controlHeightLG},[`&-small ${t}-button`]:{height:r.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${e}-compact-item`]:{[`&:not(${e}-compact-last-item)`]:{[`${e}-group-addon`]:{[`${e}-search-button`]:{marginInlineEnd:-r.lineWidth,borderRadius:0}}},[`&:not(${e}-compact-first-item)`]:{[`${e},${e}-affix-wrapper`]:{borderRadius:0}},[`> ${e}-group-addon ${e}-search-button,\n > ${e},\n ${e}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${e}-affix-wrapper-focused`]:{zIndex:2}}}}};function x(r){return t.merge(r,{inputAffixPadding:r.paddingXXS,inputPaddingVertical:Math.max(Math.round((r.controlHeight-r.fontSize*r.lineHeight)/2*10)/10-r.lineWidth,3),inputPaddingVerticalLG:Math.ceil((r.controlHeightLG-r.fontSizeLG*r.lineHeightLG)/2*10)/10-r.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((r.controlHeightSM-r.fontSize*r.lineHeight)/2*10)/10-r.lineWidth,0),inputPaddingHorizontal:r.paddingSM-r.lineWidth,inputPaddingHorizontalSM:r.paddingXS-r.lineWidth,inputPaddingHorizontalLG:r.controlPaddingHorizontal-r.lineWidth,inputBorderHoverColor:r.colorPrimaryHover,inputBorderActiveColor:r.colorPrimaryHover})}const S=r=>{const{componentCls:e,paddingLG:o}=r,t=`${e}-textarea`;return{[t]:{position:"relative","&-show-count":{[`> ${e}`]:{height:"100%"},[`${e}-data-count`]:{color:r.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none",float:"right",marginBottom:-r.fontSize*r.lineHeight},"&-rtl":{[`${e}-data-count`]:{float:"left"}}},[`&-affix-wrapper${t}-has-feedback`]:{[`${e}`]:{paddingInlineEnd:o}},[`&-affix-wrapper${e}-affix-wrapper`]:{padding:0,[`> textarea${e}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${e}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${e}-clear-icon`]:{position:"absolute",insetInlineEnd:r.paddingXS,insetBlockStart:r.paddingXS},[`${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:r.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};var m=o("Input",(r=>{const o=x(r);return[g(o),S(o),h(o),$(o),f(o),e.genCompactItemStyle(o)]}));exports.default=m,exports.genActiveStyle=d,exports.genBasicInputStyle=p,exports.genDisabledStyle=a,exports.genHoverStyle=n,exports.genInputGroupStyle=u,exports.genInputSmallStyle=s,exports.genPlaceholderStyle=i,exports.genStatusStyle=c,exports.initInputToken=x;
|
|
1
|
+
import{resetComponent as r,clearFix as o}from"../../style/index.js";import{genCompactItemStyle as e}from"../../style/compact-item.js";import"../../theme/internal.js";import t from"../../theme/util/genComponentStyleHook.js";import{merge as i}from"../../theme/util/statistic.js";const n=r=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:r,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=r=>({borderColor:r.inputBorderHoverColor,borderInlineEndWidth:r.lineWidth}),a=r=>({borderColor:r.inputBorderHoverColor,boxShadow:`0 0 0 ${r.controlOutlineWidth}px ${r.controlOutline}`,borderInlineEndWidth:r.lineWidth,outline:0}),l=r=>({color:r.colorTextDisabled,backgroundColor:r.colorBgContainerDisabled,borderColor:r.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},d(i(r,{inputBorderHoverColor:r.colorBorder})))}),s=r=>{const{inputPaddingVerticalLG:o,fontSizeLG:e,lineHeightLG:t,borderRadiusLG:i,inputPaddingHorizontalLG:n}=r;return{padding:`${o}px ${n}px`,fontSize:e,lineHeight:t,borderRadius:i}},c=r=>({padding:`${r.inputPaddingVerticalSM}px ${r.controlPaddingHorizontalSM-1}px`,borderRadius:r.borderRadiusSM}),p=(r,o)=>{const{componentCls:e,colorError:t,colorWarning:n,colorErrorOutline:d,colorWarningOutline:l,colorErrorBorderHover:s,colorWarningBorderHover:c}=r;return{[`&-status-error:not(${o}-disabled):not(${o}-borderless)${o}`]:{borderColor:t,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},a(i(r,{inputBorderActiveColor:t,inputBorderHoverColor:t,controlOutline:d}))),[`${e}-prefix, ${e}-suffix`]:{color:t}},[`&-status-warning:not(${o}-disabled):not(${o}-borderless)${o}`]:{borderColor:n,"&:hover":{borderColor:c},"&:focus, &-focused":Object.assign({},a(i(r,{inputBorderActiveColor:n,inputBorderHoverColor:n,controlOutline:l}))),[`${e}-prefix, ${e}-suffix`]:{color:n}}}},u=r=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${r.inputPaddingVertical}px ${r.inputPaddingHorizontal}px`,color:r.colorText,fontSize:r.fontSize,lineHeight:r.lineHeight,backgroundColor:r.colorBgContainer,backgroundImage:"none",borderWidth:r.lineWidth,borderStyle:r.lineType,borderColor:r.colorBorder,borderRadius:r.borderRadius,transition:`all ${r.motionDurationMid}`},n(r.colorTextPlaceholder)),{"&:hover":Object.assign({},d(r)),"&:focus, &-focused":Object.assign({},a(r)),"&-disabled, &[disabled]":Object.assign({},l(r)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:r.controlHeight,lineHeight:r.lineHeight,verticalAlign:"bottom",transition:`all ${r.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},s(r)),"&-sm":Object.assign({},c(r)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),g=r=>{const{componentCls:e,antCls:t}=r;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:r.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${e}, &-lg > ${e}-group-addon`]:Object.assign({},s(r)),[`&-sm ${e}, &-sm > ${e}-group-addon`]:Object.assign({},c(r)),[`&-lg ${t}-select-single ${t}-select-selector`]:{height:r.controlHeightLG},[`&-sm ${t}-select-single ${t}-select-selector`]:{height:r.controlHeightSM},[`> ${e}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${e}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${r.inputPaddingHorizontal}px`,color:r.colorText,fontWeight:"normal",fontSize:r.fontSize,textAlign:"center",backgroundColor:r.colorFillAlter,border:`${r.lineWidth}px ${r.lineType} ${r.colorBorder}`,borderRadius:r.borderRadius,transition:`all ${r.motionDurationSlow}`,lineHeight:1,[`${t}-select`]:{margin:`-${r.inputPaddingVertical+1}px -${r.inputPaddingHorizontal}px`,[`&${t}-select-single:not(${t}-select-customize-input)`]:{[`${t}-select-selector`]:{backgroundColor:"inherit",border:`${r.lineWidth}px ${r.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${t}-select-selector`]:{color:r.colorPrimary}}},[`${t}-cascader-picker`]:{margin:`-9px -${r.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${t}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${e}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${e}-search-with-button &`]:{zIndex:0}}},[`> ${e}:first-child, ${e}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${e}-affix-wrapper`]:{[`&:not(:first-child) ${e}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${e}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${e}:last-child, ${e}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${e}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${e}-search &`]:{borderStartStartRadius:r.borderRadius,borderEndStartRadius:r.borderRadius}},[`&:not(:first-child), ${e}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${e}-group-compact`]:Object.assign(Object.assign({display:"block"},o()),{[`${e}-group-addon, ${e}-group-wrap, > ${e}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:r.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${e}-affix-wrapper`]:{display:"inline-flex"},[`& > ${t}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-r.lineWidth,borderInlineEndWidth:r.lineWidth},[`${e}`]:{float:"none"},[`& > ${t}-select > ${t}-select-selector,\n & > ${t}-select-auto-complete ${e},\n & > ${t}-cascader-picker ${e},\n & > ${e}-group-wrapper ${e}`]:{borderInlineEndWidth:r.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${t}-select-focused`]:{zIndex:1},[`& > ${t}-select > ${t}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${t}-select:first-child > ${t}-select-selector,\n & > ${t}-select-auto-complete:first-child ${e},\n & > ${t}-cascader-picker:first-child ${e}`]:{borderStartStartRadius:r.borderRadius,borderEndStartRadius:r.borderRadius},[`& > *:last-child,\n & > ${t}-select:last-child > ${t}-select-selector,\n & > ${t}-cascader-picker:last-child ${e},\n & > ${t}-cascader-picker-focused:last-child ${e}`]:{borderInlineEndWidth:r.lineWidth,borderStartEndRadius:r.borderRadius,borderEndEndRadius:r.borderRadius},[`& > ${t}-select-auto-complete ${e}`]:{verticalAlign:"top"},[`${e}-group-wrapper + ${e}-group-wrapper`]:{marginInlineStart:-r.lineWidth,[`${e}-affix-wrapper`]:{borderRadius:0}},[`${e}-group-wrapper:not(:last-child)`]:{[`&${e}-search > ${e}-group`]:{[`& > ${e}-group-addon > ${e}-search-button`]:{borderRadius:0},[`& > ${e}`]:{borderStartStartRadius:r.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:r.borderRadius}}}})}},b=o=>{const{componentCls:e,controlHeightSM:t,lineWidth:i}=o,n=(t-2*i-16)/2;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},r(o)),u(o)),p(o,e)),{'&[type="color"]':{height:o.controlHeight,[`&${e}-lg`]:{height:o.controlHeightLG},[`&${e}-sm`]:{height:t,paddingTop:n,paddingBottom:n}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},h=r=>{const{componentCls:o}=r;return{[`${o}-clear-icon`]:{margin:0,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${r.motionDurationSlow}`,"&:hover":{color:r.colorTextTertiary},"&:active":{color:r.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${r.inputAffixPadding}px`}}}},$=r=>{const{componentCls:o,inputAffixPadding:e,colorTextDescription:t,motionDurationSlow:i,colorIcon:n,colorIconHover:a,iconCls:l}=r;return{[`${o}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},u(r)),{display:"inline-flex",[`&:not(${o}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},d(r)),{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${o}[disabled]`]:{background:"transparent"}},[`> input${o}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${o}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:r.paddingXS}},"&-show-count-suffix":{color:t},"&-show-count-has-suffix":{marginInlineEnd:r.paddingXXS},"&-prefix":{marginInlineEnd:e},"&-suffix":{marginInlineStart:e}}}),h(r)),{[`${l}${o}-password-icon`]:{color:n,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:a}}}),p(r,`${o}-affix-wrapper`))}},f=o=>{const{componentCls:e,colorError:t,colorWarning:i,borderRadiusLG:n,borderRadiusSM:d}=o;return{[`${e}-group`]:Object.assign(Object.assign(Object.assign({},r(o)),g(o)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${e}-group-addon`]:{borderRadius:n}},"&-sm":{[`${e}-group-addon`]:{borderRadius:d}},"&-status-error":{[`${e}-group-addon`]:{color:t,borderColor:t}},"&-status-warning":{[`${e}-group-addon`]:{color:i,borderColor:i}},"&-disabled":{[`${e}-group-addon`]:Object.assign({},l(o))}}})}},x=r=>{const{componentCls:o,antCls:e}=r,t=`${o}-search`;return{[t]:{[`${o}`]:{"&:hover, &:focus":{borderColor:r.colorPrimaryHover,[`+ ${o}-group-addon ${t}-button:not(${e}-btn-primary)`]:{borderInlineStartColor:r.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{borderRadius:0},[`${o}-lg`]:{lineHeight:r.lineHeightLG-2e-4},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${t}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:r.borderRadius,borderEndEndRadius:r.borderRadius,borderEndStartRadius:0},[`${t}-button:not(${e}-btn-primary)`]:{color:r.colorTextDescription,"&:hover":{color:r.colorPrimaryHover},"&:active":{color:r.colorPrimaryActive},[`&${e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${t}-button`]:{height:r.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${t}-button`]:{height:r.controlHeightLG},[`&-small ${t}-button`]:{height:r.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:-r.lineWidth,borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button,\n > ${o},\n ${o}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}};function m(r){return i(r,{inputAffixPadding:r.paddingXXS,inputPaddingVertical:Math.max(Math.round((r.controlHeight-r.fontSize*r.lineHeight)/2*10)/10-r.lineWidth,3),inputPaddingVerticalLG:Math.ceil((r.controlHeightLG-r.fontSizeLG*r.lineHeightLG)/2*10)/10-r.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((r.controlHeightSM-r.fontSize*r.lineHeight)/2*10)/10-r.lineWidth,0),inputPaddingHorizontal:r.paddingSM-r.lineWidth,inputPaddingHorizontalSM:r.paddingXS-r.lineWidth,inputPaddingHorizontalLG:r.controlPaddingHorizontal-r.lineWidth,inputBorderHoverColor:r.colorPrimaryHover,inputBorderActiveColor:r.colorPrimaryHover})}const S=r=>{const{componentCls:o,paddingLG:e}=r,t=`${o}-textarea`;return{[t]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{color:r.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none",float:"right",marginBottom:-r.fontSize*r.lineHeight},"&-rtl":{[`${o}-data-count`]:{float:"left"}}},[`&-affix-wrapper${t}-has-feedback`]:{[`${o}`]:{paddingInlineEnd:e}},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:r.paddingXS,insetBlockStart:r.paddingXS},[`${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:r.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};var R=t("Input",(r=>{const o=m(r);return[b(o),S(o),$(o),f(o),x(o),e(o)]}));export{R as default,a as genActiveStyle,u as genBasicInputStyle,l as genDisabledStyle,d as genHoverStyle,g as genInputGroupStyle,c as genInputSmallStyle,n as genPlaceholderStyle,p as genStatusStyle,m as initInputToken};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/input/style/index.js"],"sourcesContent":["import { clearFix, resetComponent } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nexport const genPlaceholderStyle = color => ({\n // Firefox\n '&::-moz-placeholder': {\n opacity: 1\n },\n '&::placeholder': {\n color,\n userSelect: 'none' // https://github.com/ant-design/ant-design/pull/32639\n },\n\n '&:placeholder-shown': {\n textOverflow: 'ellipsis'\n }\n});\nexport const genHoverStyle = token => ({\n borderColor: token.inputBorderHoverColor,\n borderInlineEndWidth: token.lineWidth\n});\nexport const genActiveStyle = token => ({\n borderColor: token.inputBorderHoverColor,\n boxShadow: `0 0 0 ${token.controlOutlineWidth}px ${token.controlOutline}`,\n borderInlineEndWidth: token.lineWidth,\n outline: 0\n});\nexport const genDisabledStyle = token => ({\n color: token.colorTextDisabled,\n backgroundColor: token.colorBgContainerDisabled,\n borderColor: token.colorBorder,\n boxShadow: 'none',\n cursor: 'not-allowed',\n opacity: 1,\n '&:hover': Object.assign({}, genHoverStyle(mergeToken(token, {\n inputBorderHoverColor: token.colorBorder\n })))\n});\nconst genInputLargeStyle = token => {\n const {\n inputPaddingVerticalLG,\n fontSizeLG,\n lineHeightLG,\n borderRadiusLG,\n inputPaddingHorizontalLG\n } = token;\n return {\n padding: `${inputPaddingVerticalLG}px ${inputPaddingHorizontalLG}px`,\n fontSize: fontSizeLG,\n lineHeight: lineHeightLG,\n borderRadius: borderRadiusLG\n };\n};\nexport const genInputSmallStyle = token => ({\n padding: `${token.inputPaddingVerticalSM}px ${token.controlPaddingHorizontalSM - 1}px`,\n borderRadius: token.borderRadiusSM\n});\nexport const genStatusStyle = (token, parentCls) => {\n const {\n componentCls,\n colorError,\n colorWarning,\n colorErrorOutline,\n colorWarningOutline,\n colorErrorBorderHover,\n colorWarningBorderHover\n } = token;\n return {\n [`&-status-error:not(${parentCls}-disabled):not(${parentCls}-borderless)${parentCls}`]: {\n borderColor: colorError,\n '&:hover': {\n borderColor: colorErrorBorderHover\n },\n '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n inputBorderActiveColor: colorError,\n inputBorderHoverColor: colorError,\n controlOutline: colorErrorOutline\n }))),\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n color: colorError\n }\n },\n [`&-status-warning:not(${parentCls}-disabled):not(${parentCls}-borderless)${parentCls}`]: {\n borderColor: colorWarning,\n '&:hover': {\n borderColor: colorWarningBorderHover\n },\n '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n inputBorderActiveColor: colorWarning,\n inputBorderHoverColor: colorWarning,\n controlOutline: colorWarningOutline\n }))),\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n color: colorWarning\n }\n }\n };\n};\nexport const genBasicInputStyle = token => Object.assign(Object.assign({\n position: 'relative',\n display: 'inline-block',\n width: '100%',\n minWidth: 0,\n padding: `${token.inputPaddingVertical}px ${token.inputPaddingHorizontal}px`,\n color: token.colorText,\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n backgroundColor: token.colorBgContainer,\n backgroundImage: 'none',\n borderWidth: token.lineWidth,\n borderStyle: token.lineType,\n borderColor: token.colorBorder,\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationMid}`\n}, genPlaceholderStyle(token.colorTextPlaceholder)), {\n '&:hover': Object.assign({}, genHoverStyle(token)),\n '&:focus, &-focused': Object.assign({}, genActiveStyle(token)),\n '&-disabled, &[disabled]': Object.assign({}, genDisabledStyle(token)),\n '&-borderless': {\n '&, &:hover, &:focus, &-focused, &-disabled, &[disabled]': {\n backgroundColor: 'transparent',\n border: 'none',\n boxShadow: 'none'\n }\n },\n // Reset height for `textarea`s\n 'textarea&': {\n maxWidth: '100%',\n height: 'auto',\n minHeight: token.controlHeight,\n lineHeight: token.lineHeight,\n verticalAlign: 'bottom',\n transition: `all ${token.motionDurationSlow}, height 0s`,\n resize: 'vertical'\n },\n // Size\n '&-lg': Object.assign({}, genInputLargeStyle(token)),\n '&-sm': Object.assign({}, genInputSmallStyle(token)),\n // RTL\n '&-rtl': {\n direction: 'rtl'\n },\n '&-textarea-rtl': {\n direction: 'rtl'\n }\n});\nexport const genInputGroupStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n position: 'relative',\n display: 'table',\n width: '100%',\n borderCollapse: 'separate',\n borderSpacing: 0,\n // Undo padding and float of grid classes\n [`&[class*='col-']`]: {\n paddingInlineEnd: token.paddingXS,\n '&:last-child': {\n paddingInlineEnd: 0\n }\n },\n // Sizing options\n [`&-lg ${componentCls}, &-lg > ${componentCls}-group-addon`]: Object.assign({}, genInputLargeStyle(token)),\n [`&-sm ${componentCls}, &-sm > ${componentCls}-group-addon`]: Object.assign({}, genInputSmallStyle(token)),\n // Fix https://github.com/ant-design/ant-design/issues/5754\n [`&-lg ${antCls}-select-single ${antCls}-select-selector`]: {\n height: token.controlHeightLG\n },\n [`&-sm ${antCls}-select-single ${antCls}-select-selector`]: {\n height: token.controlHeightSM\n },\n [`> ${componentCls}`]: {\n display: 'table-cell',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n [`${componentCls}-group`]: {\n [`&-addon, &-wrap`]: {\n display: 'table-cell',\n width: 1,\n whiteSpace: 'nowrap',\n verticalAlign: 'middle',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n '&-wrap > *': {\n display: 'block !important'\n },\n '&-addon': {\n position: 'relative',\n padding: `0 ${token.inputPaddingHorizontal}px`,\n color: token.colorText,\n fontWeight: 'normal',\n fontSize: token.fontSize,\n textAlign: 'center',\n backgroundColor: token.colorFillAlter,\n border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationSlow}`,\n lineHeight: 1,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n margin: `-${token.inputPaddingVertical + 1}px -${token.inputPaddingHorizontal}px`,\n [`&${antCls}-select-single:not(${antCls}-select-customize-input)`]: {\n [`${antCls}-select-selector`]: {\n backgroundColor: 'inherit',\n border: `${token.lineWidth}px ${token.lineType} transparent`,\n boxShadow: 'none'\n }\n },\n '&-open, &-focused': {\n [`${antCls}-select-selector`]: {\n color: token.colorPrimary\n }\n }\n },\n // https://github.com/ant-design/ant-design/issues/31333\n [`${antCls}-cascader-picker`]: {\n margin: `-9px -${token.inputPaddingHorizontal}px`,\n backgroundColor: 'transparent',\n [`${antCls}-cascader-input`]: {\n textAlign: 'start',\n border: 0,\n boxShadow: 'none'\n }\n }\n },\n '&-addon:first-child': {\n borderInlineEnd: 0\n },\n '&-addon:last-child': {\n borderInlineStart: 0\n }\n },\n [`${componentCls}`]: {\n width: '100%',\n marginBottom: 0,\n textAlign: 'inherit',\n '&:focus': {\n zIndex: 1,\n borderInlineEndWidth: 1\n },\n '&:hover': {\n zIndex: 1,\n borderInlineEndWidth: 1,\n [`${componentCls}-search-with-button &`]: {\n zIndex: 0\n }\n }\n },\n // Reset rounded corners\n [`> ${componentCls}:first-child, ${componentCls}-group-addon:first-child`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select ${antCls}-select-selector`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}-affix-wrapper`]: {\n [`&:not(:first-child) ${componentCls}`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n },\n [`&:not(:last-child) ${componentCls}`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}:last-child, ${componentCls}-group-addon:last-child`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select ${antCls}-select-selector`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`${componentCls}-affix-wrapper`]: {\n '&:not(:last-child)': {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n [`${componentCls}-search &`]: {\n borderStartStartRadius: token.borderRadius,\n borderEndStartRadius: token.borderRadius\n }\n },\n [`&:not(:first-child), ${componentCls}-search &:not(:first-child)`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`&${componentCls}-group-compact`]: Object.assign(Object.assign({\n display: 'block'\n }, clearFix()), {\n [`${componentCls}-group-addon, ${componentCls}-group-wrap, > ${componentCls}`]: {\n '&:not(:first-child):not(:last-child)': {\n borderInlineEndWidth: token.lineWidth,\n '&:hover': {\n zIndex: 1\n },\n '&:focus': {\n zIndex: 1\n }\n }\n },\n '& > *': {\n display: 'inline-block',\n float: 'none',\n verticalAlign: 'top',\n borderRadius: 0\n },\n [`& > ${componentCls}-affix-wrapper`]: {\n display: 'inline-flex'\n },\n [`& > ${antCls}-picker-range`]: {\n display: 'inline-flex'\n },\n '& > *:not(:last-child)': {\n marginInlineEnd: -token.lineWidth,\n borderInlineEndWidth: token.lineWidth\n },\n // Undo float for .ant-input-group .ant-input\n [`${componentCls}`]: {\n float: 'none'\n },\n // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input\n [`& > ${antCls}-select > ${antCls}-select-selector,\n & > ${antCls}-select-auto-complete ${componentCls},\n & > ${antCls}-cascader-picker ${componentCls},\n & > ${componentCls}-group-wrapper ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderRadius: 0,\n '&:hover': {\n zIndex: 1\n },\n '&:focus': {\n zIndex: 1\n }\n },\n [`& > ${antCls}-select-focused`]: {\n zIndex: 1\n },\n // update z-index for arrow icon\n [`& > ${antCls}-select > ${antCls}-select-arrow`]: {\n zIndex: 1 // https://github.com/ant-design/ant-design/issues/20371\n },\n [`& > *:first-child,\n & > ${antCls}-select:first-child > ${antCls}-select-selector,\n & > ${antCls}-select-auto-complete:first-child ${componentCls},\n & > ${antCls}-cascader-picker:first-child ${componentCls}`]: {\n borderStartStartRadius: token.borderRadius,\n borderEndStartRadius: token.borderRadius\n },\n [`& > *:last-child,\n & > ${antCls}-select:last-child > ${antCls}-select-selector,\n & > ${antCls}-cascader-picker:last-child ${componentCls},\n & > ${antCls}-cascader-picker-focused:last-child ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderStartEndRadius: token.borderRadius,\n borderEndEndRadius: token.borderRadius\n },\n // https://github.com/ant-design/ant-design/issues/12493\n [`& > ${antCls}-select-auto-complete ${componentCls}`]: {\n verticalAlign: 'top'\n },\n [`${componentCls}-group-wrapper + ${componentCls}-group-wrapper`]: {\n marginInlineStart: -token.lineWidth,\n [`${componentCls}-affix-wrapper`]: {\n borderRadius: 0\n }\n },\n [`${componentCls}-group-wrapper:not(:last-child)`]: {\n [`&${componentCls}-search > ${componentCls}-group`]: {\n [`& > ${componentCls}-group-addon > ${componentCls}-search-button`]: {\n borderRadius: 0\n },\n [`& > ${componentCls}`]: {\n borderStartStartRadius: token.borderRadius,\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n borderEndStartRadius: token.borderRadius\n }\n }\n }\n })\n };\n};\nconst genInputStyle = token => {\n const {\n componentCls,\n controlHeightSM,\n lineWidth\n } = token;\n const FIXED_CHROME_COLOR_HEIGHT = 16;\n const colorSmallPadding = (controlHeightSM - lineWidth * 2 - FIXED_CHROME_COLOR_HEIGHT) / 2;\n return {\n [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genBasicInputStyle(token)), genStatusStyle(token, componentCls)), {\n '&[type=\"color\"]': {\n height: token.controlHeight,\n [`&${componentCls}-lg`]: {\n height: token.controlHeightLG\n },\n [`&${componentCls}-sm`]: {\n height: controlHeightSM,\n paddingTop: colorSmallPadding,\n paddingBottom: colorSmallPadding\n }\n },\n '&[type=\"search\"]::-webkit-search-cancel-button, &[type=\"search\"]::-webkit-search-decoration': {\n '-webkit-appearance': 'none'\n }\n })\n };\n};\nconst genAllowClearStyle = token => {\n const {\n componentCls\n } = token;\n return {\n // ========================= Input =========================\n [`${componentCls}-clear-icon`]: {\n margin: 0,\n color: token.colorTextQuaternary,\n fontSize: token.fontSizeIcon,\n verticalAlign: -1,\n // https://github.com/ant-design/ant-design/pull/18151\n // https://codesandbox.io/s/wizardly-sun-u10br\n cursor: 'pointer',\n transition: `color ${token.motionDurationSlow}`,\n '&:hover': {\n color: token.colorTextTertiary\n },\n '&:active': {\n color: token.colorText\n },\n '&-hidden': {\n visibility: 'hidden'\n },\n '&-has-suffix': {\n margin: `0 ${token.inputAffixPadding}px`\n }\n }\n };\n};\nconst genAffixStyle = token => {\n const {\n componentCls,\n inputAffixPadding,\n colorTextDescription,\n motionDurationSlow,\n colorIcon,\n colorIconHover,\n iconCls\n } = token;\n return {\n [`${componentCls}-affix-wrapper`]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genBasicInputStyle(token)), {\n display: 'inline-flex',\n [`&:not(${componentCls}-affix-wrapper-disabled):hover`]: Object.assign(Object.assign({}, genHoverStyle(token)), {\n zIndex: 1,\n [`${componentCls}-search-with-button &`]: {\n zIndex: 0\n }\n }),\n '&-focused, &:focus': {\n zIndex: 1\n },\n '&-disabled': {\n [`${componentCls}[disabled]`]: {\n background: 'transparent'\n }\n },\n [`> input${componentCls}`]: {\n padding: 0,\n fontSize: 'inherit',\n border: 'none',\n borderRadius: 0,\n outline: 'none',\n '&:focus': {\n boxShadow: 'none !important'\n }\n },\n '&::before': {\n width: 0,\n visibility: 'hidden',\n content: '\"\\\\a0\"'\n },\n [`${componentCls}`]: {\n '&-prefix, &-suffix': {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n '> *:not(:last-child)': {\n marginInlineEnd: token.paddingXS\n }\n },\n '&-show-count-suffix': {\n color: colorTextDescription\n },\n '&-show-count-has-suffix': {\n marginInlineEnd: token.paddingXXS\n },\n '&-prefix': {\n marginInlineEnd: inputAffixPadding\n },\n '&-suffix': {\n marginInlineStart: inputAffixPadding\n }\n }\n }), genAllowClearStyle(token)), {\n // password\n [`${iconCls}${componentCls}-password-icon`]: {\n color: colorIcon,\n cursor: 'pointer',\n transition: `all ${motionDurationSlow}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n }), genStatusStyle(token, `${componentCls}-affix-wrapper`))\n };\n};\nconst genGroupStyle = token => {\n const {\n componentCls,\n colorError,\n colorWarning,\n borderRadiusLG,\n borderRadiusSM\n } = token;\n return {\n [`${componentCls}-group`]: Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genInputGroupStyle(token)), {\n '&-rtl': {\n direction: 'rtl'\n },\n '&-wrapper': {\n display: 'inline-block',\n width: '100%',\n textAlign: 'start',\n verticalAlign: 'top',\n '&-rtl': {\n direction: 'rtl'\n },\n // Size\n '&-lg': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusLG\n }\n },\n '&-sm': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusSM\n }\n },\n // Status\n '&-status-error': {\n [`${componentCls}-group-addon`]: {\n color: colorError,\n borderColor: colorError\n }\n },\n '&-status-warning': {\n [`${componentCls}-group-addon`]: {\n color: colorWarning,\n borderColor: colorWarning\n }\n },\n '&-disabled': {\n [`${componentCls}-group-addon`]: Object.assign({}, genDisabledStyle(token))\n }\n }\n })\n };\n};\nconst genSearchInputStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n const searchPrefixCls = `${componentCls}-search`;\n return {\n [searchPrefixCls]: {\n [`${componentCls}`]: {\n '&:hover, &:focus': {\n borderColor: token.colorPrimaryHover,\n [`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n borderInlineStartColor: token.colorPrimaryHover\n }\n }\n },\n [`${componentCls}-affix-wrapper`]: {\n borderRadius: 0\n },\n // fix slight height diff in Firefox:\n // https://ant.design/components/auto-complete-cn/#components-auto-complete-demo-certain-category\n [`${componentCls}-lg`]: {\n lineHeight: token.lineHeightLG - 0.0002\n },\n [`> ${componentCls}-group`]: {\n [`> ${componentCls}-group-addon:last-child`]: {\n insetInlineStart: -1,\n padding: 0,\n border: 0,\n [`${searchPrefixCls}-button`]: {\n paddingTop: 0,\n paddingBottom: 0,\n borderStartStartRadius: 0,\n borderStartEndRadius: token.borderRadius,\n borderEndEndRadius: token.borderRadius,\n borderEndStartRadius: 0\n },\n [`${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n color: token.colorTextDescription,\n '&:hover': {\n color: token.colorPrimaryHover\n },\n '&:active': {\n color: token.colorPrimaryActive\n },\n [`&${antCls}-btn-loading::before`]: {\n insetInlineStart: 0,\n insetInlineEnd: 0,\n insetBlockStart: 0,\n insetBlockEnd: 0\n }\n }\n }\n },\n [`${searchPrefixCls}-button`]: {\n height: token.controlHeight,\n '&:hover, &:focus': {\n zIndex: 1\n }\n },\n [`&-large ${searchPrefixCls}-button`]: {\n height: token.controlHeightLG\n },\n [`&-small ${searchPrefixCls}-button`]: {\n height: token.controlHeightSM\n },\n '&-rtl': {\n direction: 'rtl'\n },\n // ===================== Compact Item Customized Styles =====================\n [`&${componentCls}-compact-item`]: {\n [`&:not(${componentCls}-compact-last-item)`]: {\n [`${componentCls}-group-addon`]: {\n [`${componentCls}-search-button`]: {\n marginInlineEnd: -token.lineWidth,\n borderRadius: 0\n }\n }\n },\n [`&:not(${componentCls}-compact-first-item)`]: {\n [`${componentCls},${componentCls}-affix-wrapper`]: {\n borderRadius: 0\n }\n },\n [`> ${componentCls}-group-addon ${componentCls}-search-button,\n > ${componentCls},\n ${componentCls}-affix-wrapper`]: {\n '&:hover,&:focus,&:active': {\n zIndex: 2\n }\n },\n [`> ${componentCls}-affix-wrapper-focused`]: {\n zIndex: 2\n }\n }\n }\n };\n};\nexport function initInputToken(token) {\n // @ts-ignore\n return mergeToken(token, {\n inputAffixPadding: token.paddingXXS,\n inputPaddingVertical: Math.max(Math.round((token.controlHeight - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 3),\n inputPaddingVerticalLG: Math.ceil((token.controlHeightLG - token.fontSizeLG * token.lineHeightLG) / 2 * 10) / 10 - token.lineWidth,\n inputPaddingVerticalSM: Math.max(Math.round((token.controlHeightSM - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 0),\n inputPaddingHorizontal: token.paddingSM - token.lineWidth,\n inputPaddingHorizontalSM: token.paddingXS - token.lineWidth,\n inputPaddingHorizontalLG: token.controlPaddingHorizontal - token.lineWidth,\n inputBorderHoverColor: token.colorPrimaryHover,\n inputBorderActiveColor: token.colorPrimaryHover\n });\n}\nconst genTextAreaStyle = token => {\n const {\n componentCls,\n paddingLG\n } = token;\n const textareaPrefixCls = `${componentCls}-textarea`;\n return {\n [textareaPrefixCls]: {\n position: 'relative',\n '&-show-count': {\n // https://github.com/ant-design/ant-design/issues/33049\n [`> ${componentCls}`]: {\n height: '100%'\n },\n [`${componentCls}-data-count`]: {\n color: token.colorTextDescription,\n whiteSpace: 'nowrap',\n pointerEvents: 'none',\n float: 'right',\n marginBottom: -token.fontSize * token.lineHeight\n },\n '&-rtl': {\n [`${componentCls}-data-count`]: {\n float: 'left'\n }\n }\n },\n [`&-affix-wrapper${textareaPrefixCls}-has-feedback`]: {\n [`${componentCls}`]: {\n paddingInlineEnd: paddingLG\n }\n },\n [`&-affix-wrapper${componentCls}-affix-wrapper`]: {\n padding: 0,\n [`> textarea${componentCls}`]: {\n fontSize: 'inherit',\n border: 'none',\n outline: 'none',\n '&:focus': {\n boxShadow: 'none !important'\n }\n },\n [`${componentCls}-suffix`]: {\n margin: 0,\n '> *:not(:last-child)': {\n marginInline: 0\n },\n // Clear Icon\n [`${componentCls}-clear-icon`]: {\n position: 'absolute',\n insetInlineEnd: token.paddingXS,\n insetBlockStart: token.paddingXS\n },\n // Feedback Icon\n [`${textareaPrefixCls}-suffix`]: {\n position: 'absolute',\n top: 0,\n insetInlineEnd: token.inputPaddingHorizontal,\n bottom: 0,\n zIndex: 1,\n display: 'inline-flex',\n alignItems: 'center',\n margin: 'auto',\n pointerEvents: 'none'\n }\n }\n }\n }\n };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Input', token => {\n const inputToken = initInputToken(token);\n return [genInputStyle(inputToken), genTextAreaStyle(inputToken), genAffixStyle(inputToken), genGroupStyle(inputToken), genSearchInputStyle(inputToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputToken)];\n});"],"names":["genPlaceholderStyle","color","opacity","userSelect","textOverflow","genHoverStyle","token","borderColor","inputBorderHoverColor","borderInlineEndWidth","lineWidth","genActiveStyle","boxShadow","controlOutlineWidth","controlOutline","outline","genDisabledStyle","colorTextDisabled","backgroundColor","colorBgContainerDisabled","colorBorder","cursor","Object","assign","mergeToken","merge","genInputLargeStyle","inputPaddingVerticalLG","fontSizeLG","lineHeightLG","borderRadiusLG","inputPaddingHorizontalLG","padding","fontSize","lineHeight","borderRadius","genInputSmallStyle","inputPaddingVerticalSM","controlPaddingHorizontalSM","borderRadiusSM","genStatusStyle","parentCls","componentCls","colorError","colorWarning","colorErrorOutline","colorWarningOutline","colorErrorBorderHover","colorWarningBorderHover","inputBorderActiveColor","genBasicInputStyle","position","display","width","minWidth","inputPaddingVertical","inputPaddingHorizontal","colorText","colorBgContainer","backgroundImage","borderWidth","borderStyle","lineType","transition","motionDurationMid","colorTextPlaceholder","border","maxWidth","height","minHeight","controlHeight","verticalAlign","motionDurationSlow","resize","direction","genInputGroupStyle","antCls","borderCollapse","borderSpacing","paddingInlineEnd","paddingXS","controlHeightLG","controlHeightSM","whiteSpace","fontWeight","textAlign","colorFillAlter","margin","colorPrimary","borderInlineEnd","borderInlineStart","marginBottom","zIndex","borderStartEndRadius","borderEndEndRadius","borderStartStartRadius","borderEndStartRadius","clearFix","float","marginInlineEnd","marginInlineStart","genInputStyle","colorSmallPadding","resetComponent","paddingTop","paddingBottom","genAllowClearStyle","colorTextQuaternary","fontSizeIcon","colorTextTertiary","visibility","inputAffixPadding","genAffixStyle","colorTextDescription","colorIcon","colorIconHover","iconCls","background","content","flex","alignItems","paddingXXS","genGroupStyle","genSearchInputStyle","searchPrefixCls","colorPrimaryHover","borderInlineStartColor","insetInlineStart","colorPrimaryActive","insetInlineEnd","insetBlockStart","insetBlockEnd","initInputToken","Math","max","round","ceil","paddingSM","inputPaddingHorizontalSM","controlPaddingHorizontal","genTextAreaStyle","paddingLG","textareaPrefixCls","pointerEvents","marginInline","top","bottom","useStyle","genComponentStyleHook","inputToken","genCompactItemStyle"],"mappings":"4RAGY,MAACA,EAAsBC,IAAU,CAE3C,sBAAuB,CACrBC,QAAS,GAEX,iBAAkB,CAChBD,QACAE,WAAY,QAGd,sBAAuB,CACrBC,aAAc,cAGLC,EAAgBC,IAAU,CACrCC,YAAaD,EAAME,sBACnBC,qBAAsBH,EAAMI,YAEjBC,EAAiBL,IAAU,CACtCC,YAAaD,EAAME,sBACnBI,UAAW,SAASN,EAAMO,yBAAyBP,EAAMQ,iBACzDL,qBAAsBH,EAAMI,UAC5BK,QAAS,IAEEC,EAAmBV,IAAU,CACxCL,MAAOK,EAAMW,kBACbC,gBAAiBZ,EAAMa,yBACvBZ,YAAaD,EAAMc,YACnBR,UAAW,OACXS,OAAQ,cACRnB,QAAS,EACT,UAAWoB,OAAOC,OAAO,CAAE,EAAElB,EAAcmB,EAAUC,MAACnB,EAAO,CAC3DE,sBAAuBF,EAAMc,kBAG3BM,EAAqBpB,IACzB,MAAMqB,uBACJA,EAAsBC,WACtBA,EAAUC,aACVA,EAAYC,eACZA,EAAcC,yBACdA,GACEzB,EACJ,MAAO,CACL0B,QAAS,GAAGL,OAA4BI,MACxCE,SAAUL,EACVM,WAAYL,EACZM,aAAcL,EACf,EAEUM,EAAqB9B,IAAU,CAC1C0B,QAAS,GAAG1B,EAAM+B,4BAA4B/B,EAAMgC,2BAA6B,MACjFH,aAAc7B,EAAMiC,iBAETC,EAAiB,CAAClC,EAAOmC,KACpC,MAAMC,aACJA,EAAYC,WACZA,EAAUC,aACVA,EAAYC,kBACZA,EAAiBC,oBACjBA,EAAmBC,sBACnBA,EAAqBC,wBACrBA,GACE1C,EACJ,MAAO,CACL,CAAC,sBAAsBmC,mBAA2BA,gBAAwBA,KAAc,CACtFlC,YAAaoC,EACb,UAAW,CACTp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,GAAarC,EAAcqC,GAAa3B,EAAc2B,GAAa1B,EAAoB0B,GAI3IC,EAAmBA,oBAACD,GAAY","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/input/style/index.js"],"sourcesContent":["import { clearFix, resetComponent } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nexport const genPlaceholderStyle = color => ({\n // Firefox\n '&::-moz-placeholder': {\n opacity: 1\n },\n '&::placeholder': {\n color,\n userSelect: 'none' // https://github.com/ant-design/ant-design/pull/32639\n },\n\n '&:placeholder-shown': {\n textOverflow: 'ellipsis'\n }\n});\nexport const genHoverStyle = token => ({\n borderColor: token.inputBorderHoverColor,\n borderInlineEndWidth: token.lineWidth\n});\nexport const genActiveStyle = token => ({\n borderColor: token.inputBorderHoverColor,\n boxShadow: `0 0 0 ${token.controlOutlineWidth}px ${token.controlOutline}`,\n borderInlineEndWidth: token.lineWidth,\n outline: 0\n});\nexport const genDisabledStyle = token => ({\n color: token.colorTextDisabled,\n backgroundColor: token.colorBgContainerDisabled,\n borderColor: token.colorBorder,\n boxShadow: 'none',\n cursor: 'not-allowed',\n opacity: 1,\n '&:hover': Object.assign({}, genHoverStyle(mergeToken(token, {\n inputBorderHoverColor: token.colorBorder\n })))\n});\nconst genInputLargeStyle = token => {\n const {\n inputPaddingVerticalLG,\n fontSizeLG,\n lineHeightLG,\n borderRadiusLG,\n inputPaddingHorizontalLG\n } = token;\n return {\n padding: `${inputPaddingVerticalLG}px ${inputPaddingHorizontalLG}px`,\n fontSize: fontSizeLG,\n lineHeight: lineHeightLG,\n borderRadius: borderRadiusLG\n };\n};\nexport const genInputSmallStyle = token => ({\n padding: `${token.inputPaddingVerticalSM}px ${token.controlPaddingHorizontalSM - 1}px`,\n borderRadius: token.borderRadiusSM\n});\nexport const genStatusStyle = (token, parentCls) => {\n const {\n componentCls,\n colorError,\n colorWarning,\n colorErrorOutline,\n colorWarningOutline,\n colorErrorBorderHover,\n colorWarningBorderHover\n } = token;\n return {\n [`&-status-error:not(${parentCls}-disabled):not(${parentCls}-borderless)${parentCls}`]: {\n borderColor: colorError,\n '&:hover': {\n borderColor: colorErrorBorderHover\n },\n '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n inputBorderActiveColor: colorError,\n inputBorderHoverColor: colorError,\n controlOutline: colorErrorOutline\n }))),\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n color: colorError\n }\n },\n [`&-status-warning:not(${parentCls}-disabled):not(${parentCls}-borderless)${parentCls}`]: {\n borderColor: colorWarning,\n '&:hover': {\n borderColor: colorWarningBorderHover\n },\n '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n inputBorderActiveColor: colorWarning,\n inputBorderHoverColor: colorWarning,\n controlOutline: colorWarningOutline\n }))),\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n color: colorWarning\n }\n }\n };\n};\nexport const genBasicInputStyle = token => Object.assign(Object.assign({\n position: 'relative',\n display: 'inline-block',\n width: '100%',\n minWidth: 0,\n padding: `${token.inputPaddingVertical}px ${token.inputPaddingHorizontal}px`,\n color: token.colorText,\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n backgroundColor: token.colorBgContainer,\n backgroundImage: 'none',\n borderWidth: token.lineWidth,\n borderStyle: token.lineType,\n borderColor: token.colorBorder,\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationMid}`\n}, genPlaceholderStyle(token.colorTextPlaceholder)), {\n '&:hover': Object.assign({}, genHoverStyle(token)),\n '&:focus, &-focused': Object.assign({}, genActiveStyle(token)),\n '&-disabled, &[disabled]': Object.assign({}, genDisabledStyle(token)),\n '&-borderless': {\n '&, &:hover, &:focus, &-focused, &-disabled, &[disabled]': {\n backgroundColor: 'transparent',\n border: 'none',\n boxShadow: 'none'\n }\n },\n // Reset height for `textarea`s\n 'textarea&': {\n maxWidth: '100%',\n height: 'auto',\n minHeight: token.controlHeight,\n lineHeight: token.lineHeight,\n verticalAlign: 'bottom',\n transition: `all ${token.motionDurationSlow}, height 0s`,\n resize: 'vertical'\n },\n // Size\n '&-lg': Object.assign({}, genInputLargeStyle(token)),\n '&-sm': Object.assign({}, genInputSmallStyle(token)),\n // RTL\n '&-rtl': {\n direction: 'rtl'\n },\n '&-textarea-rtl': {\n direction: 'rtl'\n }\n});\nexport const genInputGroupStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n position: 'relative',\n display: 'table',\n width: '100%',\n borderCollapse: 'separate',\n borderSpacing: 0,\n // Undo padding and float of grid classes\n [`&[class*='col-']`]: {\n paddingInlineEnd: token.paddingXS,\n '&:last-child': {\n paddingInlineEnd: 0\n }\n },\n // Sizing options\n [`&-lg ${componentCls}, &-lg > ${componentCls}-group-addon`]: Object.assign({}, genInputLargeStyle(token)),\n [`&-sm ${componentCls}, &-sm > ${componentCls}-group-addon`]: Object.assign({}, genInputSmallStyle(token)),\n // Fix https://github.com/ant-design/ant-design/issues/5754\n [`&-lg ${antCls}-select-single ${antCls}-select-selector`]: {\n height: token.controlHeightLG\n },\n [`&-sm ${antCls}-select-single ${antCls}-select-selector`]: {\n height: token.controlHeightSM\n },\n [`> ${componentCls}`]: {\n display: 'table-cell',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n [`${componentCls}-group`]: {\n [`&-addon, &-wrap`]: {\n display: 'table-cell',\n width: 1,\n whiteSpace: 'nowrap',\n verticalAlign: 'middle',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n '&-wrap > *': {\n display: 'block !important'\n },\n '&-addon': {\n position: 'relative',\n padding: `0 ${token.inputPaddingHorizontal}px`,\n color: token.colorText,\n fontWeight: 'normal',\n fontSize: token.fontSize,\n textAlign: 'center',\n backgroundColor: token.colorFillAlter,\n border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationSlow}`,\n lineHeight: 1,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n margin: `-${token.inputPaddingVertical + 1}px -${token.inputPaddingHorizontal}px`,\n [`&${antCls}-select-single:not(${antCls}-select-customize-input)`]: {\n [`${antCls}-select-selector`]: {\n backgroundColor: 'inherit',\n border: `${token.lineWidth}px ${token.lineType} transparent`,\n boxShadow: 'none'\n }\n },\n '&-open, &-focused': {\n [`${antCls}-select-selector`]: {\n color: token.colorPrimary\n }\n }\n },\n // https://github.com/ant-design/ant-design/issues/31333\n [`${antCls}-cascader-picker`]: {\n margin: `-9px -${token.inputPaddingHorizontal}px`,\n backgroundColor: 'transparent',\n [`${antCls}-cascader-input`]: {\n textAlign: 'start',\n border: 0,\n boxShadow: 'none'\n }\n }\n },\n '&-addon:first-child': {\n borderInlineEnd: 0\n },\n '&-addon:last-child': {\n borderInlineStart: 0\n }\n },\n [`${componentCls}`]: {\n width: '100%',\n marginBottom: 0,\n textAlign: 'inherit',\n '&:focus': {\n zIndex: 1,\n borderInlineEndWidth: 1\n },\n '&:hover': {\n zIndex: 1,\n borderInlineEndWidth: 1,\n [`${componentCls}-search-with-button &`]: {\n zIndex: 0\n }\n }\n },\n // Reset rounded corners\n [`> ${componentCls}:first-child, ${componentCls}-group-addon:first-child`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select ${antCls}-select-selector`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}-affix-wrapper`]: {\n [`&:not(:first-child) ${componentCls}`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n },\n [`&:not(:last-child) ${componentCls}`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}:last-child, ${componentCls}-group-addon:last-child`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select ${antCls}-select-selector`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`${componentCls}-affix-wrapper`]: {\n '&:not(:last-child)': {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n [`${componentCls}-search &`]: {\n borderStartStartRadius: token.borderRadius,\n borderEndStartRadius: token.borderRadius\n }\n },\n [`&:not(:first-child), ${componentCls}-search &:not(:first-child)`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`&${componentCls}-group-compact`]: Object.assign(Object.assign({\n display: 'block'\n }, clearFix()), {\n [`${componentCls}-group-addon, ${componentCls}-group-wrap, > ${componentCls}`]: {\n '&:not(:first-child):not(:last-child)': {\n borderInlineEndWidth: token.lineWidth,\n '&:hover': {\n zIndex: 1\n },\n '&:focus': {\n zIndex: 1\n }\n }\n },\n '& > *': {\n display: 'inline-block',\n float: 'none',\n verticalAlign: 'top',\n borderRadius: 0\n },\n [`& > ${componentCls}-affix-wrapper`]: {\n display: 'inline-flex'\n },\n [`& > ${antCls}-picker-range`]: {\n display: 'inline-flex'\n },\n '& > *:not(:last-child)': {\n marginInlineEnd: -token.lineWidth,\n borderInlineEndWidth: token.lineWidth\n },\n // Undo float for .ant-input-group .ant-input\n [`${componentCls}`]: {\n float: 'none'\n },\n // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input\n [`& > ${antCls}-select > ${antCls}-select-selector,\n & > ${antCls}-select-auto-complete ${componentCls},\n & > ${antCls}-cascader-picker ${componentCls},\n & > ${componentCls}-group-wrapper ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderRadius: 0,\n '&:hover': {\n zIndex: 1\n },\n '&:focus': {\n zIndex: 1\n }\n },\n [`& > ${antCls}-select-focused`]: {\n zIndex: 1\n },\n // update z-index for arrow icon\n [`& > ${antCls}-select > ${antCls}-select-arrow`]: {\n zIndex: 1 // https://github.com/ant-design/ant-design/issues/20371\n },\n [`& > *:first-child,\n & > ${antCls}-select:first-child > ${antCls}-select-selector,\n & > ${antCls}-select-auto-complete:first-child ${componentCls},\n & > ${antCls}-cascader-picker:first-child ${componentCls}`]: {\n borderStartStartRadius: token.borderRadius,\n borderEndStartRadius: token.borderRadius\n },\n [`& > *:last-child,\n & > ${antCls}-select:last-child > ${antCls}-select-selector,\n & > ${antCls}-cascader-picker:last-child ${componentCls},\n & > ${antCls}-cascader-picker-focused:last-child ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderStartEndRadius: token.borderRadius,\n borderEndEndRadius: token.borderRadius\n },\n // https://github.com/ant-design/ant-design/issues/12493\n [`& > ${antCls}-select-auto-complete ${componentCls}`]: {\n verticalAlign: 'top'\n },\n [`${componentCls}-group-wrapper + ${componentCls}-group-wrapper`]: {\n marginInlineStart: -token.lineWidth,\n [`${componentCls}-affix-wrapper`]: {\n borderRadius: 0\n }\n },\n [`${componentCls}-group-wrapper:not(:last-child)`]: {\n [`&${componentCls}-search > ${componentCls}-group`]: {\n [`& > ${componentCls}-group-addon > ${componentCls}-search-button`]: {\n borderRadius: 0\n },\n [`& > ${componentCls}`]: {\n borderStartStartRadius: token.borderRadius,\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n borderEndStartRadius: token.borderRadius\n }\n }\n }\n })\n };\n};\nconst genInputStyle = token => {\n const {\n componentCls,\n controlHeightSM,\n lineWidth\n } = token;\n const FIXED_CHROME_COLOR_HEIGHT = 16;\n const colorSmallPadding = (controlHeightSM - lineWidth * 2 - FIXED_CHROME_COLOR_HEIGHT) / 2;\n return {\n [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genBasicInputStyle(token)), genStatusStyle(token, componentCls)), {\n '&[type=\"color\"]': {\n height: token.controlHeight,\n [`&${componentCls}-lg`]: {\n height: token.controlHeightLG\n },\n [`&${componentCls}-sm`]: {\n height: controlHeightSM,\n paddingTop: colorSmallPadding,\n paddingBottom: colorSmallPadding\n }\n },\n '&[type=\"search\"]::-webkit-search-cancel-button, &[type=\"search\"]::-webkit-search-decoration': {\n '-webkit-appearance': 'none'\n }\n })\n };\n};\nconst genAllowClearStyle = token => {\n const {\n componentCls\n } = token;\n return {\n // ========================= Input =========================\n [`${componentCls}-clear-icon`]: {\n margin: 0,\n color: token.colorTextQuaternary,\n fontSize: token.fontSizeIcon,\n verticalAlign: -1,\n // https://github.com/ant-design/ant-design/pull/18151\n // https://codesandbox.io/s/wizardly-sun-u10br\n cursor: 'pointer',\n transition: `color ${token.motionDurationSlow}`,\n '&:hover': {\n color: token.colorTextTertiary\n },\n '&:active': {\n color: token.colorText\n },\n '&-hidden': {\n visibility: 'hidden'\n },\n '&-has-suffix': {\n margin: `0 ${token.inputAffixPadding}px`\n }\n }\n };\n};\nconst genAffixStyle = token => {\n const {\n componentCls,\n inputAffixPadding,\n colorTextDescription,\n motionDurationSlow,\n colorIcon,\n colorIconHover,\n iconCls\n } = token;\n return {\n [`${componentCls}-affix-wrapper`]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genBasicInputStyle(token)), {\n display: 'inline-flex',\n [`&:not(${componentCls}-affix-wrapper-disabled):hover`]: Object.assign(Object.assign({}, genHoverStyle(token)), {\n zIndex: 1,\n [`${componentCls}-search-with-button &`]: {\n zIndex: 0\n }\n }),\n '&-focused, &:focus': {\n zIndex: 1\n },\n '&-disabled': {\n [`${componentCls}[disabled]`]: {\n background: 'transparent'\n }\n },\n [`> input${componentCls}`]: {\n padding: 0,\n fontSize: 'inherit',\n border: 'none',\n borderRadius: 0,\n outline: 'none',\n '&:focus': {\n boxShadow: 'none !important'\n }\n },\n '&::before': {\n width: 0,\n visibility: 'hidden',\n content: '\"\\\\a0\"'\n },\n [`${componentCls}`]: {\n '&-prefix, &-suffix': {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n '> *:not(:last-child)': {\n marginInlineEnd: token.paddingXS\n }\n },\n '&-show-count-suffix': {\n color: colorTextDescription\n },\n '&-show-count-has-suffix': {\n marginInlineEnd: token.paddingXXS\n },\n '&-prefix': {\n marginInlineEnd: inputAffixPadding\n },\n '&-suffix': {\n marginInlineStart: inputAffixPadding\n }\n }\n }), genAllowClearStyle(token)), {\n // password\n [`${iconCls}${componentCls}-password-icon`]: {\n color: colorIcon,\n cursor: 'pointer',\n transition: `all ${motionDurationSlow}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n }), genStatusStyle(token, `${componentCls}-affix-wrapper`))\n };\n};\nconst genGroupStyle = token => {\n const {\n componentCls,\n colorError,\n colorWarning,\n borderRadiusLG,\n borderRadiusSM\n } = token;\n return {\n [`${componentCls}-group`]: Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genInputGroupStyle(token)), {\n '&-rtl': {\n direction: 'rtl'\n },\n '&-wrapper': {\n display: 'inline-block',\n width: '100%',\n textAlign: 'start',\n verticalAlign: 'top',\n '&-rtl': {\n direction: 'rtl'\n },\n // Size\n '&-lg': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusLG\n }\n },\n '&-sm': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusSM\n }\n },\n // Status\n '&-status-error': {\n [`${componentCls}-group-addon`]: {\n color: colorError,\n borderColor: colorError\n }\n },\n '&-status-warning': {\n [`${componentCls}-group-addon`]: {\n color: colorWarning,\n borderColor: colorWarning\n }\n },\n '&-disabled': {\n [`${componentCls}-group-addon`]: Object.assign({}, genDisabledStyle(token))\n }\n }\n })\n };\n};\nconst genSearchInputStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n const searchPrefixCls = `${componentCls}-search`;\n return {\n [searchPrefixCls]: {\n [`${componentCls}`]: {\n '&:hover, &:focus': {\n borderColor: token.colorPrimaryHover,\n [`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n borderInlineStartColor: token.colorPrimaryHover\n }\n }\n },\n [`${componentCls}-affix-wrapper`]: {\n borderRadius: 0\n },\n // fix slight height diff in Firefox:\n // https://ant.design/components/auto-complete-cn/#components-auto-complete-demo-certain-category\n [`${componentCls}-lg`]: {\n lineHeight: token.lineHeightLG - 0.0002\n },\n [`> ${componentCls}-group`]: {\n [`> ${componentCls}-group-addon:last-child`]: {\n insetInlineStart: -1,\n padding: 0,\n border: 0,\n [`${searchPrefixCls}-button`]: {\n paddingTop: 0,\n paddingBottom: 0,\n borderStartStartRadius: 0,\n borderStartEndRadius: token.borderRadius,\n borderEndEndRadius: token.borderRadius,\n borderEndStartRadius: 0\n },\n [`${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n color: token.colorTextDescription,\n '&:hover': {\n color: token.colorPrimaryHover\n },\n '&:active': {\n color: token.colorPrimaryActive\n },\n [`&${antCls}-btn-loading::before`]: {\n insetInlineStart: 0,\n insetInlineEnd: 0,\n insetBlockStart: 0,\n insetBlockEnd: 0\n }\n }\n }\n },\n [`${searchPrefixCls}-button`]: {\n height: token.controlHeight,\n '&:hover, &:focus': {\n zIndex: 1\n }\n },\n [`&-large ${searchPrefixCls}-button`]: {\n height: token.controlHeightLG\n },\n [`&-small ${searchPrefixCls}-button`]: {\n height: token.controlHeightSM\n },\n '&-rtl': {\n direction: 'rtl'\n },\n // ===================== Compact Item Customized Styles =====================\n [`&${componentCls}-compact-item`]: {\n [`&:not(${componentCls}-compact-last-item)`]: {\n [`${componentCls}-group-addon`]: {\n [`${componentCls}-search-button`]: {\n marginInlineEnd: -token.lineWidth,\n borderRadius: 0\n }\n }\n },\n [`&:not(${componentCls}-compact-first-item)`]: {\n [`${componentCls},${componentCls}-affix-wrapper`]: {\n borderRadius: 0\n }\n },\n [`> ${componentCls}-group-addon ${componentCls}-search-button,\n > ${componentCls},\n ${componentCls}-affix-wrapper`]: {\n '&:hover,&:focus,&:active': {\n zIndex: 2\n }\n },\n [`> ${componentCls}-affix-wrapper-focused`]: {\n zIndex: 2\n }\n }\n }\n };\n};\nexport function initInputToken(token) {\n // @ts-ignore\n return mergeToken(token, {\n inputAffixPadding: token.paddingXXS,\n inputPaddingVertical: Math.max(Math.round((token.controlHeight - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 3),\n inputPaddingVerticalLG: Math.ceil((token.controlHeightLG - token.fontSizeLG * token.lineHeightLG) / 2 * 10) / 10 - token.lineWidth,\n inputPaddingVerticalSM: Math.max(Math.round((token.controlHeightSM - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 0),\n inputPaddingHorizontal: token.paddingSM - token.lineWidth,\n inputPaddingHorizontalSM: token.paddingXS - token.lineWidth,\n inputPaddingHorizontalLG: token.controlPaddingHorizontal - token.lineWidth,\n inputBorderHoverColor: token.colorPrimaryHover,\n inputBorderActiveColor: token.colorPrimaryHover\n });\n}\nconst genTextAreaStyle = token => {\n const {\n componentCls,\n paddingLG\n } = token;\n const textareaPrefixCls = `${componentCls}-textarea`;\n return {\n [textareaPrefixCls]: {\n position: 'relative',\n '&-show-count': {\n // https://github.com/ant-design/ant-design/issues/33049\n [`> ${componentCls}`]: {\n height: '100%'\n },\n [`${componentCls}-data-count`]: {\n color: token.colorTextDescription,\n whiteSpace: 'nowrap',\n pointerEvents: 'none',\n float: 'right',\n marginBottom: -token.fontSize * token.lineHeight\n },\n '&-rtl': {\n [`${componentCls}-data-count`]: {\n float: 'left'\n }\n }\n },\n [`&-affix-wrapper${textareaPrefixCls}-has-feedback`]: {\n [`${componentCls}`]: {\n paddingInlineEnd: paddingLG\n }\n },\n [`&-affix-wrapper${componentCls}-affix-wrapper`]: {\n padding: 0,\n [`> textarea${componentCls}`]: {\n fontSize: 'inherit',\n border: 'none',\n outline: 'none',\n '&:focus': {\n boxShadow: 'none !important'\n }\n },\n [`${componentCls}-suffix`]: {\n margin: 0,\n '> *:not(:last-child)': {\n marginInline: 0\n },\n // Clear Icon\n [`${componentCls}-clear-icon`]: {\n position: 'absolute',\n insetInlineEnd: token.paddingXS,\n insetBlockStart: token.paddingXS\n },\n // Feedback Icon\n [`${textareaPrefixCls}-suffix`]: {\n position: 'absolute',\n top: 0,\n insetInlineEnd: token.inputPaddingHorizontal,\n bottom: 0,\n zIndex: 1,\n display: 'inline-flex',\n alignItems: 'center',\n margin: 'auto',\n pointerEvents: 'none'\n }\n }\n }\n }\n };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Input', token => {\n const inputToken = initInputToken(token);\n return [genInputStyle(inputToken), genTextAreaStyle(inputToken), genAffixStyle(inputToken), genGroupStyle(inputToken), genSearchInputStyle(inputToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputToken)];\n});"],"names":["genPlaceholderStyle","color","opacity","userSelect","textOverflow","genHoverStyle","token","borderColor","inputBorderHoverColor","borderInlineEndWidth","lineWidth","genActiveStyle","boxShadow","controlOutlineWidth","controlOutline","outline","genDisabledStyle","colorTextDisabled","backgroundColor","colorBgContainerDisabled","colorBorder","cursor","Object","assign","mergeToken","genInputLargeStyle","inputPaddingVerticalLG","fontSizeLG","lineHeightLG","borderRadiusLG","inputPaddingHorizontalLG","padding","fontSize","lineHeight","borderRadius","genInputSmallStyle","inputPaddingVerticalSM","controlPaddingHorizontalSM","borderRadiusSM","genStatusStyle","parentCls","componentCls","colorError","colorWarning","colorErrorOutline","colorWarningOutline","colorErrorBorderHover","colorWarningBorderHover","inputBorderActiveColor","genBasicInputStyle","position","display","width","minWidth","inputPaddingVertical","inputPaddingHorizontal","colorText","colorBgContainer","backgroundImage","borderWidth","borderStyle","lineType","transition","motionDurationMid","colorTextPlaceholder","border","maxWidth","height","minHeight","controlHeight","verticalAlign","motionDurationSlow","resize","direction","genInputGroupStyle","antCls","borderCollapse","borderSpacing","paddingInlineEnd","paddingXS","controlHeightLG","controlHeightSM","whiteSpace","fontWeight","textAlign","colorFillAlter","margin","colorPrimary","borderInlineEnd","borderInlineStart","marginBottom","zIndex","borderStartEndRadius","borderEndEndRadius","borderStartStartRadius","borderEndStartRadius","clearFix","float","marginInlineEnd","marginInlineStart","genInputStyle","colorSmallPadding","resetComponent","paddingTop","paddingBottom","genAllowClearStyle","colorTextQuaternary","fontSizeIcon","colorTextTertiary","visibility","inputAffixPadding","genAffixStyle","colorTextDescription","colorIcon","colorIconHover","iconCls","background","content","flex","alignItems","paddingXXS","genGroupStyle","genSearchInputStyle","searchPrefixCls","colorPrimaryHover","borderInlineStartColor","insetInlineStart","colorPrimaryActive","insetInlineEnd","insetBlockStart","insetBlockEnd","initInputToken","Math","max","round","ceil","paddingSM","inputPaddingHorizontalSM","controlPaddingHorizontal","genTextAreaStyle","paddingLG","textareaPrefixCls","pointerEvents","marginInline","top","bottom","useStyle","genComponentStyleHook","inputToken","genCompactItemStyle"],"mappings":"qRAGY,MAACA,EAAsBC,IAAU,CAE3C,sBAAuB,CACrBC,QAAS,GAEX,iBAAkB,CAChBD,QACAE,WAAY,QAGd,sBAAuB,CACrBC,aAAc,cAGLC,EAAgBC,IAAU,CACrCC,YAAaD,EAAME,sBACnBC,qBAAsBH,EAAMI,YAEjBC,EAAiBL,IAAU,CACtCC,YAAaD,EAAME,sBACnBI,UAAW,SAASN,EAAMO,yBAAyBP,EAAMQ,iBACzDL,qBAAsBH,EAAMI,UAC5BK,QAAS,IAEEC,EAAmBV,IAAU,CACxCL,MAAOK,EAAMW,kBACbC,gBAAiBZ,EAAMa,yBACvBZ,YAAaD,EAAMc,YACnBR,UAAW,OACXS,OAAQ,cACRnB,QAAS,EACT,UAAWoB,OAAOC,OAAO,CAAE,EAAElB,EAAcmB,EAAWlB,EAAO,CAC3DE,sBAAuBF,EAAMc,kBAG3BK,EAAqBnB,IACzB,MAAMoB,uBACJA,EAAsBC,WACtBA,EAAUC,aACVA,EAAYC,eACZA,EAAcC,yBACdA,GACExB,EACJ,MAAO,CACLyB,QAAS,GAAGL,OAA4BI,MACxCE,SAAUL,EACVM,WAAYL,EACZM,aAAcL,EACf,EAEUM,EAAqB7B,IAAU,CAC1CyB,QAAS,GAAGzB,EAAM8B,4BAA4B9B,EAAM+B,2BAA6B,MACjFH,aAAc5B,EAAMgC,iBAETC,EAAiB,CAACjC,EAAOkC,KACpC,MAAMC,aACJA,EAAYC,WACZA,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,OAAQ,OACRwD,cAAe,WAKxB,EAGH,IAAAI,EAAeC,EAAsB,SAAS7I,IAC5C,MAAM8I,EAAajB,EAAe7H,GAClC,MAAO,CAAC8F,EAAcgD,GAAaT,EAAiBS,GAAarC,EAAcqC,GAAa3B,EAAc2B,GAAa1B,EAAoB0B,GAI3IC,EAAoBD,GAAY","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
function r(r){return!!(r.prefix||r.suffix||r.allowClear)}export{r as hasPrefixSuffix};
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../../../../node_modules/antd/es/input/utils.js"],"sourcesContent":["// eslint-disable-next-line import/prefer-default-export\nexport function hasPrefixSuffix(props) {\n return !!(props.prefix || props.suffix || props.allowClear);\n}"],"names":["props","prefix","suffix","allowClear"],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../../node_modules/antd/es/input/utils.js"],"sourcesContent":["// eslint-disable-next-line import/prefer-default-export\nexport function hasPrefixSuffix(props) {\n return !!(props.prefix || props.suffix || props.allowClear);\n}"],"names":["hasPrefixSuffix","props","prefix","suffix","allowClear"],"mappings":"AACO,SAASA,EAAgBC,GAC9B,SAAUA,EAAMC,QAAUD,EAAME,QAAUF,EAAMG,WAClD","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import e from"../../../@ant-design/icons/es/icons/BarsOutlined.js";import t from"../../../@ant-design/icons/es/icons/LeftOutlined.js";import r from"../../../@ant-design/icons/es/icons/RightOutlined.js";import l from"../../../classnames/index.js";import n from"../../../rc-util/es/omit.js";import*as i from"react";import{useContext as o,useState as s,useEffect as a,useRef as c}from"react";import"../config-provider/index.js";import d from"../_util/isNumeric.js";import{LayoutContext as p}from"./layout.js";import{ConfigContext as m}from"../config-provider/context.js";var u=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(l=Object.getOwnPropertySymbols(e);n<l.length;n++)t.indexOf(l[n])<0&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]])}return r};const f={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},g=i.createContext({}),h=(()=>{let e=0;return function(){return e+=1,`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:""}${e}`}})(),x=i.forwardRef(((x,y)=>{var{prefixCls:v,className:w,trigger:j,children:O,defaultCollapsed:$=!1,theme:b="dark",style:E={},collapsible:C=!1,reverseArrow:N=!1,width:k=200,collapsedWidth:S=80,zeroWidthTriggerStyle:W,breakpoint:z,onCollapse:L,onBreakpoint:P}=x,B=u(x,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]);const{siderHook:T}=o(p),[A,F]=s("collapsed"in B?B.collapsed:$),[M,R]=s(!1);a((()=>{"collapsed"in B&&F(B.collapsed)}),[B.collapsed]);const _=(e,t)=>{"collapsed"in B||F(e),null==L||L(e,t)},D=c();D.current=e=>{R(e.matches),null==P||P(e.matches),A!==e.matches&&_(e.matches,"responsive")},a((()=>{function e(e){return D.current(e)}let t;if("undefined"!=typeof window){const{matchMedia:r}=window;if(r&&z&&z in f){t=r(`(max-width: ${f[z]})`);try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return()=>{try{null==t||t.removeEventListener("change",e)}catch(r){null==t||t.removeListener(e)}}}),[z]),a((()=>{const e=h("ant-sider-");return T.addSider(e),()=>T.removeSider(e)}),[]);const H=()=>{_(!A,"clickTrigger")},{getPrefixCls:I}=o(m),V=i.useMemo((()=>({siderCollapsed:A})),[A]);return i.createElement(g.Provider,{value:V},(()=>{const o=I("layout-sider",v),s=n(B,["collapsed"]),a=A?S:k,c=d(a)?`${a}px`:String(a),p=0===parseFloat(String(S||0))?i.createElement("span",{onClick:H,className:l(`${o}-zero-width-trigger`,`${o}-zero-width-trigger-${N?"right":"left"}`),style:W},j||i.createElement(e,null)):null,m={expanded:N?i.createElement(r,null):i.createElement(t,null),collapsed:N?i.createElement(t,null):i.createElement(r,null)}[A?"collapsed":"expanded"],u=null!==j?p||i.createElement("div",{className:`${o}-trigger`,onClick:H,style:{width:c}},j||m):null,f=Object.assign(Object.assign({},E),{flex:`0 0 ${c}`,maxWidth:c,minWidth:c,width:c}),g=l(o,`${o}-${b}`,{[`${o}-collapsed`]:!!A,[`${o}-has-trigger`]:C&&null!==j&&!p,[`${o}-below`]:!!M,[`${o}-zero-width`]:0===parseFloat(c)},w);return i.createElement("aside",Object.assign({className:g},s,{style:f,ref:y}),i.createElement("div",{className:`${o}-children`},O),C||M&&p?u:null)})())}));"production"!==process.env.NODE_ENV&&(x.displayName="Sider");export{g as SiderContext,x as default};
|
|
2
2
|
//# sourceMappingURL=Sider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sider.js","sources":["../../../../../node_modules/antd/es/layout/Sider.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 BarsOutlined from \"@ant-design/icons/es/icons/BarsOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport isNumeric from '../_util/isNumeric';\nimport { LayoutContext } from './layout';\nconst dimensionMaxMap = {\n xs: '479.98px',\n sm: '575.98px',\n md: '767.98px',\n lg: '991.98px',\n xl: '1199.98px',\n xxl: '1599.98px'\n};\nexport const SiderContext = /*#__PURE__*/React.createContext({});\nconst generateId = (() => {\n let i = 0;\n return function () {\n let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n i += 1;\n return `${prefix}${i}`;\n };\n})();\nconst Sider = /*#__PURE__*/React.forwardRef((_a, ref) => {\n var {\n prefixCls: customizePrefixCls,\n className,\n trigger,\n children,\n defaultCollapsed = false,\n theme = 'dark',\n style = {},\n collapsible = false,\n reverseArrow = false,\n width = 200,\n collapsedWidth = 80,\n zeroWidthTriggerStyle,\n breakpoint,\n onCollapse,\n onBreakpoint\n } = _a,\n props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n const {\n siderHook\n } = useContext(LayoutContext);\n const [collapsed, setCollapsed] = useState('collapsed' in props ? props.collapsed : defaultCollapsed);\n const [below, setBelow] = useState(false);\n useEffect(() => {\n if ('collapsed' in props) {\n setCollapsed(props.collapsed);\n }\n }, [props.collapsed]);\n const handleSetCollapsed = (value, type) => {\n if (!('collapsed' in props)) {\n setCollapsed(value);\n }\n onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n };\n // ========================= Responsive =========================\n const responsiveHandlerRef = useRef();\n responsiveHandlerRef.current = mql => {\n setBelow(mql.matches);\n onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n if (collapsed !== mql.matches) {\n handleSetCollapsed(mql.matches, 'responsive');\n }\n };\n useEffect(() => {\n function responsiveHandler(mql) {\n return responsiveHandlerRef.current(mql);\n }\n let mql;\n if (typeof window !== 'undefined') {\n const {\n matchMedia\n } = window;\n if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n mql = matchMedia(`(max-width: ${dimensionMaxMap[breakpoint]})`);\n try {\n mql.addEventListener('change', responsiveHandler);\n } catch (error) {\n mql.addListener(responsiveHandler);\n }\n responsiveHandler(mql);\n }\n }\n return () => {\n try {\n mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n } catch (error) {\n mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n }\n };\n }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n useEffect(() => {\n const uniqueId = generateId('ant-sider-');\n siderHook.addSider(uniqueId);\n return () => siderHook.removeSider(uniqueId);\n }, []);\n const toggle = () => {\n handleSetCollapsed(!collapsed, 'clickTrigger');\n };\n const {\n getPrefixCls\n } = useContext(ConfigContext);\n const renderSider = () => {\n const prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n const divProps = omit(props, ['collapsed']);\n const rawWidth = collapsed ? collapsedWidth : width;\n // use \"px\" as fallback unit for width\n const siderWidth = isNumeric(rawWidth) ? `${rawWidth}px` : String(rawWidth);\n // special trigger when collapsedWidth == 0\n const zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n onClick: toggle,\n className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),\n style: zeroWidthTriggerStyle\n }, trigger || /*#__PURE__*/React.createElement(BarsOutlined, null)) : null;\n const iconObj = {\n expanded: reverseArrow ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null),\n collapsed: reverseArrow ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n };\n const status = collapsed ? 'collapsed' : 'expanded';\n const defaultTrigger = iconObj[status];\n const triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-trigger`,\n onClick: toggle,\n style: {\n width: siderWidth\n }\n }, trigger || defaultTrigger) : null;\n const divStyle = Object.assign(Object.assign({}, style), {\n flex: `0 0 ${siderWidth}`,\n maxWidth: siderWidth,\n minWidth: siderWidth,\n width: siderWidth\n });\n const siderCls = classNames(prefixCls, `${prefixCls}-${theme}`, {\n [`${prefixCls}-collapsed`]: !!collapsed,\n [`${prefixCls}-has-trigger`]: collapsible && trigger !== null && !zeroWidthTrigger,\n [`${prefixCls}-below`]: !!below,\n [`${prefixCls}-zero-width`]: parseFloat(siderWidth) === 0\n }, className);\n return /*#__PURE__*/React.createElement(\"aside\", Object.assign({\n className: siderCls\n }, divProps, {\n style: divStyle,\n ref: ref\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-children`\n }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n };\n const contextValue = React.useMemo(() => ({\n siderCollapsed: collapsed\n }), [collapsed]);\n return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n value: contextValue\n }, renderSider());\n});\nif (process.env.NODE_ENV !== 'production') {\n Sider.displayName = 'Sider';\n}\nexport default Sider;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","React","createContext","generateId","arguments","undefined","Sider","forwardRef","_a","ref","prefixCls","customizePrefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","props","siderHook","useContext","LayoutContext","collapsed","setCollapsed","useState","below","setBelow","useEffect","handleSetCollapsed","value","type","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","window","matchMedia","addEventListener","error","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","getPrefixCls","ConfigContext","contextValue","useMemo","siderCollapsed","createElement","Provider","divProps","omit","rawWidth","siderWidth","isNumeric","String","zeroWidthTrigger","parseFloat","onClick","classNames","BarsOutlined","defaultTrigger","expanded","RightOutlined","LeftOutlined","triggerDom","divStyle","assign","flex","maxWidth","minWidth","siderCls","renderSider","process","env","NODE_ENV","displayName"],"mappings":"kxBAAIA,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,EAWA,MAAMW,EAAkB,CACtBC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,YACJC,IAAK,aAEMC,EAA4BC,EAAMC,cAAc,IACvDC,EAAa,MACjB,IAAIb,EAAI,EACR,OAAO,WAGL,OADAA,GAAK,EACE,GAFMc,UAAUb,OAAS,QAAsBc,IAAjBD,UAAU,GAAmBA,UAAU,GAAK,KAE9Dd,GACvB,CACC,EAPkB,GAQbgB,EAAqBL,EAAMM,YAAW,CAACC,EAAIC,KAC/C,IACIC,UAAWC,EAAkBC,UAC7BA,EAASC,QACTA,EAAOC,SACPA,EAAQC,iBACRA,GAAmB,EAAKC,MACxBA,EAAQ,OAAMC,MACdA,EAAQ,CAAE,EAAAC,YACVA,GAAc,EAAKC,aACnBA,GAAe,EA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B,EAC9B,CAAC,GAAGpB,iBAA0BQ,GAA2B,OAAZL,IAAqBwD,EAClE,CAAC,GAAG3D,aAAsBuB,EAC1B,CAAC,GAAGvB,gBAAoD,IAA3B4D,WAAWJ,IACvCtD,GACH,OAAoBX,EAAM4D,cAAc,QAAS7E,OAAOgG,OAAO,CAC7DpE,UAAWwE,GACVrB,EAAU,CACX9C,MAAO8D,EACPtE,IAAKA,IACUR,EAAM4D,cAAc,MAAO,CAC1CjD,UAAW,GAAGF,cACbI,GAAWI,GAAee,GAASoC,EAAmBS,EAAa,KAAK,EAO1EO,GAAc,IAEU,eAAzBC,QAAQC,IAAIC,WACdlF,EAAMmF,YAAc","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"Sider.js","sources":["../../../../../node_modules/antd/es/layout/Sider.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 BarsOutlined from \"@ant-design/icons/es/icons/BarsOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport isNumeric from '../_util/isNumeric';\nimport { LayoutContext } from './layout';\nconst dimensionMaxMap = {\n xs: '479.98px',\n sm: '575.98px',\n md: '767.98px',\n lg: '991.98px',\n xl: '1199.98px',\n xxl: '1599.98px'\n};\nexport const SiderContext = /*#__PURE__*/React.createContext({});\nconst generateId = (() => {\n let i = 0;\n return function () {\n let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n i += 1;\n return `${prefix}${i}`;\n };\n})();\nconst Sider = /*#__PURE__*/React.forwardRef((_a, ref) => {\n var {\n prefixCls: customizePrefixCls,\n className,\n trigger,\n children,\n defaultCollapsed = false,\n theme = 'dark',\n style = {},\n collapsible = false,\n reverseArrow = false,\n width = 200,\n collapsedWidth = 80,\n zeroWidthTriggerStyle,\n breakpoint,\n onCollapse,\n onBreakpoint\n } = _a,\n props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n const {\n siderHook\n } = useContext(LayoutContext);\n const [collapsed, setCollapsed] = useState('collapsed' in props ? props.collapsed : defaultCollapsed);\n const [below, setBelow] = useState(false);\n useEffect(() => {\n if ('collapsed' in props) {\n setCollapsed(props.collapsed);\n }\n }, [props.collapsed]);\n const handleSetCollapsed = (value, type) => {\n if (!('collapsed' in props)) {\n setCollapsed(value);\n }\n onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n };\n // ========================= Responsive =========================\n const responsiveHandlerRef = useRef();\n responsiveHandlerRef.current = mql => {\n setBelow(mql.matches);\n onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n if (collapsed !== mql.matches) {\n handleSetCollapsed(mql.matches, 'responsive');\n }\n };\n useEffect(() => {\n function responsiveHandler(mql) {\n return responsiveHandlerRef.current(mql);\n }\n let mql;\n if (typeof window !== 'undefined') {\n const {\n matchMedia\n } = window;\n if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n mql = matchMedia(`(max-width: ${dimensionMaxMap[breakpoint]})`);\n try {\n mql.addEventListener('change', responsiveHandler);\n } catch (error) {\n mql.addListener(responsiveHandler);\n }\n responsiveHandler(mql);\n }\n }\n return () => {\n try {\n mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n } catch (error) {\n mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n }\n };\n }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n useEffect(() => {\n const uniqueId = generateId('ant-sider-');\n siderHook.addSider(uniqueId);\n return () => siderHook.removeSider(uniqueId);\n }, []);\n const toggle = () => {\n handleSetCollapsed(!collapsed, 'clickTrigger');\n };\n const {\n getPrefixCls\n } = useContext(ConfigContext);\n const renderSider = () => {\n const prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n const divProps = omit(props, ['collapsed']);\n const rawWidth = collapsed ? collapsedWidth : width;\n // use \"px\" as fallback unit for width\n const siderWidth = isNumeric(rawWidth) ? `${rawWidth}px` : String(rawWidth);\n // special trigger when collapsedWidth == 0\n const zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n onClick: toggle,\n className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),\n style: zeroWidthTriggerStyle\n }, trigger || /*#__PURE__*/React.createElement(BarsOutlined, null)) : null;\n const iconObj = {\n expanded: reverseArrow ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null),\n collapsed: reverseArrow ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n };\n const status = collapsed ? 'collapsed' : 'expanded';\n const defaultTrigger = iconObj[status];\n const triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-trigger`,\n onClick: toggle,\n style: {\n width: siderWidth\n }\n }, trigger || defaultTrigger) : null;\n const divStyle = Object.assign(Object.assign({}, style), {\n flex: `0 0 ${siderWidth}`,\n maxWidth: siderWidth,\n minWidth: siderWidth,\n width: siderWidth\n });\n const siderCls = classNames(prefixCls, `${prefixCls}-${theme}`, {\n [`${prefixCls}-collapsed`]: !!collapsed,\n [`${prefixCls}-has-trigger`]: collapsible && trigger !== null && !zeroWidthTrigger,\n [`${prefixCls}-below`]: !!below,\n [`${prefixCls}-zero-width`]: parseFloat(siderWidth) === 0\n }, className);\n return /*#__PURE__*/React.createElement(\"aside\", Object.assign({\n className: siderCls\n }, divProps, {\n style: divStyle,\n ref: ref\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-children`\n }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n };\n const contextValue = React.useMemo(() => ({\n siderCollapsed: collapsed\n }), [collapsed]);\n return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n value: contextValue\n }, renderSider());\n});\nif (process.env.NODE_ENV !== 'production') {\n Sider.displayName = 'Sider';\n}\nexport default Sider;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","React","createContext","generateId","arguments","undefined","Sider","forwardRef","_a","ref","prefixCls","customizePrefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","props","siderHook","useContext","LayoutContext","collapsed","setCollapsed","useState","below","setBelow","useEffect","handleSetCollapsed","value","type","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","window","matchMedia","addEventListener","error","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","getPrefixCls","ConfigContext","contextValue","useMemo","siderCollapsed","createElement","Provider","divProps","omit","rawWidth","siderWidth","isNumeric","String","zeroWidthTrigger","parseFloat","onClick","classNames","BarsOutlined","defaultTrigger","expanded","RightOutlined","LeftOutlined","triggerDom","divStyle","assign","flex","maxWidth","minWidth","siderCls","renderSider","process","env","NODE_ENV","displayName"],"mappings":"wj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C,EAAmBS,EAAa,KAAK,EAO1EO,GAAc,IAEU,eAAzBC,QAAQC,IAAIC,WACdlF,EAAMmF,YAAc","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import e from"../../../@babel/runtime/helpers/esm/toConsumableArray.js";import t from"../../../classnames/index.js";import r from"../../../rc-util/es/omit.js";import*as a from"react";import"../config-provider/index.js";import s from"./style/index.js";import{ConfigContext as o}from"../config-provider/context.js";var i=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s<a.length;s++)t.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(e,a[s])&&(r[a[s]]=e[a[s]])}return r};const l=a.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function n(e){let{suffixCls:t,tagName:r,displayName:s}=e;return e=>{const o=a.forwardRef(((s,o)=>a.createElement(e,Object.assign({ref:o,suffixCls:t,tagName:r},s))));return"production"!==process.env.NODE_ENV&&(o.displayName=s),o}}const m=a.forwardRef(((e,r)=>{const{prefixCls:l,suffixCls:n,className:m,tagName:f}=e,c=i(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:d}=a.useContext(o),p=d("layout",l),[u,N]=s(p),x=n?`${p}-${n}`:p;return u(a.createElement(f,Object.assign({className:t(l||x,m,N),ref:r},c)))})),f=a.forwardRef(((n,m)=>{const{direction:f}=a.useContext(o),[c,d]=a.useState([]),{prefixCls:p,className:u,rootClassName:N,children:x,hasSider:C,tagName:g}=n,y=i(n,["prefixCls","className","rootClassName","children","hasSider","tagName"]),b=r(y,["suffixCls"]),{getPrefixCls:j}=a.useContext(o),O=j("layout",p),[h,v]=s(O),S=t(O,{[`${O}-has-sider`]:"boolean"==typeof C?C:c.length>0,[`${O}-rtl`]:"rtl"===f},u,N,v),E=a.useMemo((()=>({siderHook:{addSider:t=>{d((r=>[].concat(e(r),[t])))},removeSider:e=>{d((t=>t.filter((t=>t!==e))))}}})),[]);return h(a.createElement(l.Provider,{value:E},a.createElement(g,Object.assign({ref:m,className:S},b),x)))}));n({tagName:"section",displayName:"Layout"})(f),n({suffixCls:"header",tagName:"header",displayName:"Header"})(m),n({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),n({suffixCls:"content",tagName:"main",displayName:"Content"})(m);export{l as LayoutContext};
|
|
2
2
|
//# sourceMappingURL=layout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.js","sources":["../../../../../node_modules/antd/es/layout/layout.js"],"sourcesContent":["import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __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 omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nexport const LayoutContext = /*#__PURE__*/React.createContext({\n siderHook: {\n addSider: () => null,\n removeSider: () => null\n }\n});\nfunction generator(_ref) {\n let {\n suffixCls,\n tagName,\n displayName\n } = _ref;\n return BasicComponent => {\n const Adapter = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement(BasicComponent, Object.assign({\n ref: ref,\n suffixCls: suffixCls,\n tagName: tagName\n }, props)));\n if (process.env.NODE_ENV !== 'production') {\n Adapter.displayName = displayName;\n }\n return Adapter;\n };\n}\nconst Basic = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n suffixCls,\n className,\n tagName: TagName\n } = props,\n others = __rest(props, [\"prefixCls\", \"suffixCls\", \"className\", \"tagName\"]);\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const prefixWithSuffixCls = suffixCls ? `${prefixCls}-${suffixCls}` : prefixCls;\n return wrapSSR( /*#__PURE__*/React.createElement(TagName, Object.assign({\n className: classNames(customizePrefixCls || prefixWithSuffixCls, className, hashId),\n ref: ref\n }, others)));\n});\nconst BasicLayout = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n direction\n } = React.useContext(ConfigContext);\n const [siders, setSiders] = React.useState([]);\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n children,\n hasSider,\n tagName: Tag\n } = props,\n others = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"children\", \"hasSider\", \"tagName\"]);\n const passedProps = omit(others, ['suffixCls']);\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const classString = classNames(prefixCls, {\n [`${prefixCls}-has-sider`]: typeof hasSider === 'boolean' ? hasSider : siders.length > 0,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, rootClassName, hashId);\n const contextValue = React.useMemo(() => ({\n siderHook: {\n addSider: id => {\n setSiders(prev => [].concat(_toConsumableArray(prev), [id]));\n },\n removeSider: id => {\n setSiders(prev => prev.filter(currentId => currentId !== id));\n }\n }\n }), []);\n return wrapSSR( /*#__PURE__*/React.createElement(LayoutContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Tag, Object.assign({\n ref: ref,\n className: classString\n }, passedProps), children)));\n});\nconst Layout = generator({\n tagName: 'section',\n displayName: 'Layout'\n})(BasicLayout);\nconst Header = generator({\n suffixCls: 'header',\n tagName: 'header',\n displayName: 'Header'\n})(Basic);\nconst Footer = generator({\n suffixCls: 'footer',\n tagName: 'footer',\n displayName: 'Footer'\n})(Basic);\nconst Content = generator({\n suffixCls: 'content',\n tagName: 'main',\n displayName: 'Content'\n})(Basic);\nexport { Header, Footer, Content };\nexport default Layout;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","LayoutContext","React","createContext","siderHook","addSider","removeSider","generator","_ref","suffixCls","tagName","displayName","BasicComponent","Adapter","forwardRef","props","ref","createElement","assign","process","env","NODE_ENV","Basic","prefixCls","customizePrefixCls","className","TagName","others","getPrefixCls","useContext","ConfigContext","wrapSSR","hashId","useStyle","prefixWithSuffixCls","classNames","BasicLayout","direction","siders","setSiders","useState","rootClassName","children","hasSider","Tag","passedProps","omit","classString","contextValue","useMemo","id","prev","concat","_toConsumableArray","filter","currentId","Provider","value"],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout.js","sources":["../../../../../node_modules/antd/es/layout/layout.js"],"sourcesContent":["import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __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 omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nexport const LayoutContext = /*#__PURE__*/React.createContext({\n siderHook: {\n addSider: () => null,\n removeSider: () => null\n }\n});\nfunction generator(_ref) {\n let {\n suffixCls,\n tagName,\n displayName\n } = _ref;\n return BasicComponent => {\n const Adapter = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement(BasicComponent, Object.assign({\n ref: ref,\n suffixCls: suffixCls,\n tagName: tagName\n }, props)));\n if (process.env.NODE_ENV !== 'production') {\n Adapter.displayName = displayName;\n }\n return Adapter;\n };\n}\nconst Basic = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n suffixCls,\n className,\n tagName: TagName\n } = props,\n others = __rest(props, [\"prefixCls\", \"suffixCls\", \"className\", \"tagName\"]);\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const prefixWithSuffixCls = suffixCls ? `${prefixCls}-${suffixCls}` : prefixCls;\n return wrapSSR( /*#__PURE__*/React.createElement(TagName, Object.assign({\n className: classNames(customizePrefixCls || prefixWithSuffixCls, className, hashId),\n ref: ref\n }, others)));\n});\nconst BasicLayout = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n direction\n } = React.useContext(ConfigContext);\n const [siders, setSiders] = React.useState([]);\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n children,\n hasSider,\n tagName: Tag\n } = props,\n others = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"children\", \"hasSider\", \"tagName\"]);\n const passedProps = omit(others, ['suffixCls']);\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls);\n const classString = classNames(prefixCls, {\n [`${prefixCls}-has-sider`]: typeof hasSider === 'boolean' ? hasSider : siders.length > 0,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, rootClassName, hashId);\n const contextValue = React.useMemo(() => ({\n siderHook: {\n addSider: id => {\n setSiders(prev => [].concat(_toConsumableArray(prev), [id]));\n },\n removeSider: id => {\n setSiders(prev => prev.filter(currentId => currentId !== id));\n }\n }\n }), []);\n return wrapSSR( /*#__PURE__*/React.createElement(LayoutContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Tag, Object.assign({\n ref: ref,\n className: classString\n }, passedProps), children)));\n});\nconst Layout = generator({\n tagName: 'section',\n displayName: 'Layout'\n})(BasicLayout);\nconst Header = generator({\n suffixCls: 'header',\n tagName: 'header',\n displayName: 'Header'\n})(Basic);\nconst Footer = generator({\n suffixCls: 'footer',\n tagName: 'footer',\n displayName: 'Footer'\n})(Basic);\nconst Content = generator({\n suffixCls: 'content',\n tagName: 'main',\n displayName: 'Content'\n})(Basic);\nexport { Header, Footer, Content };\nexport default Layout;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","LayoutContext","React","createContext","siderHook","addSider","removeSider","generator","_ref","suffixCls","tagName","displayName","BasicComponent","Adapter","forwardRef","props","ref","createElement","assign","process","env","NODE_ENV","Basic","prefixCls","customizePrefixCls","className","TagName","others","getPrefixCls","useContext","ConfigContext","wrapSSR","hashId","useStyle","prefixWithSuffixCls","classNames","BasicLayout","direction","siders","setSiders","useState","rootClassName","children","hasSider","Tag","passedProps","omit","classString","contextValue","useMemo","id","prev","concat","_toConsumableArray","filter","currentId","Provider","value"],"mappings":"yTACA,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,MAAC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7BwB,EAAcZ,EAAWZ,EAAW,CACxC,CAAC,GAAGA,eAA4C,kBAAboB,EAAyBA,EAAWL,EAAOvC,OAAS,EACvF,CAAC,GAAGwB,SAAgC,QAAdc,GACrBZ,EAAWgB,EAAeT,GACvBgB,EAAe9C,EAAM+C,SAAQ,KAAO,CACxC7C,UAAW,CACTC,SAAU6C,IACRX,GAAUY,GAAQ,GAAGC,OAAOC,EAAmBF,GAAO,CAACD,KAAK,EAE9D5C,YAAa4C,IACXX,GAAUY,GAAQA,EAAKG,QAAOC,GAAaA,IAAcL,KAAI,MAG/D,IACJ,OAAOnB,EAAsB7B,EAAMe,cAAchB,EAAcuD,SAAU,CACvEC,MAAOT,GACO9C,EAAMe,cAAc2B,EAAKpD,OAAO0B,OAAO,CACrDF,IAAKA,EACLS,UAAWsB,GACVF,GAAcH,IAAW,IAEfnC,EAAU,CACvBG,QAAS,UACTC,YAAa,UAFAJ,CAGZ6B,GACY7B,EAAU,CACvBE,UAAW,SACXC,QAAS,SACTC,YAAa,UAHAJ,CAIZe,GACYf,EAAU,CACvBE,UAAW,SACXC,QAAS,SACTC,YAAa,UAHAJ,CAIZe,GACaf,EAAU,CACxBE,UAAW,UACXC,QAAS,OACTC,YAAa,WAHCJ,CAIbe","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"
|
|
1
|
+
import"../../theme/internal.js";import t from"./light.js";import o from"../../theme/util/genComponentStyleHook.js";import{merge as e}from"../../theme/util/statistic.js";const r=o=>{const{antCls:e,componentCls:r,colorText:i,colorTextLightSolid:n,colorBgHeader:a,colorBgBody:d,colorBgTrigger:l,layoutHeaderHeight:g,layoutHeaderPaddingInline:u,layoutHeaderColor:s,layoutFooterPadding:c,layoutTriggerHeight:h,layoutZeroTriggerSize:p,motionDurationMid:b,motionDurationSlow:m,fontSize:f,borderRadius:x}=o;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:d,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:a,transition:`all ${b}`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${e}-menu${e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:h},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:h,color:n,lineHeight:`${h}px`,textAlign:"center",background:l,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:g,insetInlineEnd:-p,zIndex:1,width:p,height:p,color:n,fontSize:o.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:a,borderStartStartRadius:0,borderStartEndRadius:x,borderEndEndRadius:x,borderEndStartRadius:0,cursor:"pointer",transition:`background ${m} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${m}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-p,borderStartStartRadius:x,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:x}}}}},t(o)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:g,paddingInline:u,color:s,lineHeight:`${g}px`,background:a,[`${e}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:c,color:i,fontSize:f,background:d},[`${r}-content`]:{flex:"auto",minHeight:0}}};var i=o("Layout",(t=>{const{colorText:o,controlHeightSM:i,controlHeight:n,controlHeightLG:a,marginXXS:d}=t,l=1.25*a,g=e(t,{layoutHeaderHeight:2*n,layoutHeaderPaddingInline:l,layoutHeaderColor:o,layoutFooterPadding:`${i}px ${l}px`,layoutTriggerHeight:a+2*d,layoutZeroTriggerSize:a});return[r(g)]}),(t=>{const{colorBgLayout:o}=t;return{colorBgHeader:"#001529",colorBgBody:o,colorBgTrigger:"#002140"}}));export{i as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/layout/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport genLayoutLightStyle from './light';\nconst genLayoutStyle = token => {\n const {\n antCls,\n // .ant\n componentCls,\n // .ant-layout\n colorText,\n colorTextLightSolid,\n colorBgHeader,\n colorBgBody,\n colorBgTrigger,\n layoutHeaderHeight,\n layoutHeaderPaddingInline,\n layoutHeaderColor,\n layoutFooterPadding,\n layoutTriggerHeight,\n layoutZeroTriggerSize,\n motionDurationMid,\n motionDurationSlow,\n fontSize,\n borderRadius\n } = token;\n return {\n [componentCls]: Object.assign(Object.assign({\n display: 'flex',\n flex: 'auto',\n flexDirection: 'column',\n /* fix firefox can't set height smaller than content on flex item */\n minHeight: 0,\n background: colorBgBody,\n '&, *': {\n boxSizing: 'border-box'\n },\n [`&${componentCls}-has-sider`]: {\n flexDirection: 'row',\n [`> ${componentCls}, > ${componentCls}-content`]: {\n // https://segmentfault.com/a/1190000019498300\n width: 0\n }\n },\n [`${componentCls}-header, &${componentCls}-footer`]: {\n flex: '0 0 auto'\n },\n [`${componentCls}-sider`]: {\n position: 'relative',\n // fix firefox can't set width smaller than content on flex item\n minWidth: 0,\n background: colorBgHeader,\n transition: `all ${motionDurationMid}`,\n '&-children': {\n height: '100%',\n // Hack for fixing margin collapse bug\n // https://github.com/ant-design/ant-design/issues/7967\n // solution from https://stackoverflow.com/a/33132624/3040605\n marginTop: -0.1,\n paddingTop: 0.1,\n [`${antCls}-menu${antCls}-menu-inline-collapsed`]: {\n width: 'auto'\n }\n },\n '&-has-trigger': {\n paddingBottom: layoutTriggerHeight\n },\n '&-right': {\n order: 1\n },\n '&-trigger': {\n position: 'fixed',\n bottom: 0,\n zIndex: 1,\n height: layoutTriggerHeight,\n color: colorTextLightSolid,\n lineHeight: `${layoutTriggerHeight}px`,\n textAlign: 'center',\n background: colorBgTrigger,\n cursor: 'pointer',\n transition: `all ${motionDurationMid}`\n },\n '&-zero-width': {\n '> *': {\n overflow: 'hidden'\n },\n '&-trigger': {\n position: 'absolute',\n top: layoutHeaderHeight,\n insetInlineEnd: -layoutZeroTriggerSize,\n zIndex: 1,\n width: layoutZeroTriggerSize,\n height: layoutZeroTriggerSize,\n color: colorTextLightSolid,\n fontSize: token.fontSizeXL,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background: colorBgHeader,\n borderStartStartRadius: 0,\n borderStartEndRadius: borderRadius,\n borderEndEndRadius: borderRadius,\n borderEndStartRadius: 0,\n cursor: 'pointer',\n transition: `background ${motionDurationSlow} ease`,\n '&::after': {\n position: 'absolute',\n inset: 0,\n background: 'transparent',\n transition: `all ${motionDurationSlow}`,\n content: '\"\"'\n },\n '&:hover::after': {\n // FIXME: Hardcode, but seems no need to create a token for this\n background: `rgba(255, 255, 255, 0.2)`\n },\n '&-right': {\n insetInlineStart: -layoutZeroTriggerSize,\n borderStartStartRadius: borderRadius,\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n borderEndStartRadius: borderRadius\n }\n }\n }\n }\n }, genLayoutLightStyle(token)), {\n // RTL\n '&-rtl': {\n direction: 'rtl'\n }\n }),\n // ==================== Header ====================\n [`${componentCls}-header`]: {\n height: layoutHeaderHeight,\n paddingInline: layoutHeaderPaddingInline,\n color: layoutHeaderColor,\n lineHeight: `${layoutHeaderHeight}px`,\n background: colorBgHeader,\n // Other components/menu/style/index.less line:686\n // Integration with header element so menu items have the same height\n [`${antCls}-menu`]: {\n lineHeight: 'inherit'\n }\n },\n // ==================== Footer ====================\n [`${componentCls}-footer`]: {\n padding: layoutFooterPadding,\n color: colorText,\n fontSize,\n background: colorBgBody\n },\n // =================== Content ====================\n [`${componentCls}-content`]: {\n flex: 'auto',\n // fix firefox can't set height smaller than content on flex item\n minHeight: 0\n }\n };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Layout', token => {\n const {\n colorText,\n controlHeightSM,\n controlHeight,\n controlHeightLG,\n marginXXS\n } = token;\n const layoutHeaderPaddingInline = controlHeightLG * 1.25;\n const layoutToken = mergeToken(token, {\n // Layout\n layoutHeaderHeight: controlHeight * 2,\n layoutHeaderPaddingInline,\n layoutHeaderColor: colorText,\n layoutFooterPadding: `${controlHeightSM}px ${layoutHeaderPaddingInline}px`,\n layoutTriggerHeight: controlHeightLG + marginXXS * 2,\n layoutZeroTriggerSize: controlHeightLG\n });\n return [genLayoutStyle(layoutToken)];\n}, token => {\n const {\n colorBgLayout\n } = token;\n return {\n colorBgHeader: '#001529',\n colorBgBody: colorBgLayout,\n colorBgTrigger: '#002140'\n };\n});"],"names":["genLayoutStyle","token","antCls","componentCls","colorText","colorTextLightSolid","colorBgHeader","colorBgBody","colorBgTrigger","layoutHeaderHeight","layoutHeaderPaddingInline","layoutHeaderColor","layoutFooterPadding","layoutTriggerHeight","layoutZeroTriggerSize","motionDurationMid","motionDurationSlow","fontSize","borderRadius","Object","assign","display","flex","flexDirection","minHeight","background","boxSizing","width","position","minWidth","transition","height","marginTop","paddingTop","paddingBottom","order","bottom","zIndex","color","lineHeight","textAlign","cursor","overflow","top","insetInlineEnd","fontSizeXL","alignItems","justifyContent","borderStartStartRadius","borderStartEndRadius","borderEndEndRadius","borderEndStartRadius","inset","content","insetInlineStart","genLayoutLightStyle","direction","paddingInline","padding","useStyle","genComponentStyleHook","controlHeightSM","controlHeight","controlHeightLG","marginXXS","layoutToken","mergeToken","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/layout/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport genLayoutLightStyle from './light';\nconst genLayoutStyle = token => {\n const {\n antCls,\n // .ant\n componentCls,\n // .ant-layout\n colorText,\n colorTextLightSolid,\n colorBgHeader,\n colorBgBody,\n colorBgTrigger,\n layoutHeaderHeight,\n layoutHeaderPaddingInline,\n layoutHeaderColor,\n layoutFooterPadding,\n layoutTriggerHeight,\n layoutZeroTriggerSize,\n motionDurationMid,\n motionDurationSlow,\n fontSize,\n borderRadius\n } = token;\n return {\n [componentCls]: Object.assign(Object.assign({\n display: 'flex',\n flex: 'auto',\n flexDirection: 'column',\n /* fix firefox can't set height smaller than content on flex item */\n minHeight: 0,\n background: colorBgBody,\n '&, *': {\n boxSizing: 'border-box'\n },\n [`&${componentCls}-has-sider`]: {\n flexDirection: 'row',\n [`> ${componentCls}, > ${componentCls}-content`]: {\n // https://segmentfault.com/a/1190000019498300\n width: 0\n }\n },\n [`${componentCls}-header, &${componentCls}-footer`]: {\n flex: '0 0 auto'\n },\n [`${componentCls}-sider`]: {\n position: 'relative',\n // fix firefox can't set width smaller than content on flex item\n minWidth: 0,\n background: colorBgHeader,\n transition: `all ${motionDurationMid}`,\n '&-children': {\n height: '100%',\n // Hack for fixing margin collapse bug\n // https://github.com/ant-design/ant-design/issues/7967\n // solution from https://stackoverflow.com/a/33132624/3040605\n marginTop: -0.1,\n paddingTop: 0.1,\n [`${antCls}-menu${antCls}-menu-inline-collapsed`]: {\n width: 'auto'\n }\n },\n '&-has-trigger': {\n paddingBottom: layoutTriggerHeight\n },\n '&-right': {\n order: 1\n },\n '&-trigger': {\n position: 'fixed',\n bottom: 0,\n zIndex: 1,\n height: layoutTriggerHeight,\n color: colorTextLightSolid,\n lineHeight: `${layoutTriggerHeight}px`,\n textAlign: 'center',\n background: colorBgTrigger,\n cursor: 'pointer',\n transition: `all ${motionDurationMid}`\n },\n '&-zero-width': {\n '> *': {\n overflow: 'hidden'\n },\n '&-trigger': {\n position: 'absolute',\n top: layoutHeaderHeight,\n insetInlineEnd: -layoutZeroTriggerSize,\n zIndex: 1,\n width: layoutZeroTriggerSize,\n height: layoutZeroTriggerSize,\n color: colorTextLightSolid,\n fontSize: token.fontSizeXL,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background: colorBgHeader,\n borderStartStartRadius: 0,\n borderStartEndRadius: borderRadius,\n borderEndEndRadius: borderRadius,\n borderEndStartRadius: 0,\n cursor: 'pointer',\n transition: `background ${motionDurationSlow} ease`,\n '&::after': {\n position: 'absolute',\n inset: 0,\n background: 'transparent',\n transition: `all ${motionDurationSlow}`,\n content: '\"\"'\n },\n '&:hover::after': {\n // FIXME: Hardcode, but seems no need to create a token for this\n background: `rgba(255, 255, 255, 0.2)`\n },\n '&-right': {\n insetInlineStart: -layoutZeroTriggerSize,\n borderStartStartRadius: borderRadius,\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n borderEndStartRadius: borderRadius\n }\n }\n }\n }\n }, genLayoutLightStyle(token)), {\n // RTL\n '&-rtl': {\n direction: 'rtl'\n }\n }),\n // ==================== Header ====================\n [`${componentCls}-header`]: {\n height: layoutHeaderHeight,\n paddingInline: layoutHeaderPaddingInline,\n color: layoutHeaderColor,\n lineHeight: `${layoutHeaderHeight}px`,\n background: colorBgHeader,\n // Other components/menu/style/index.less line:686\n // Integration with header element so menu items have the same height\n [`${antCls}-menu`]: {\n lineHeight: 'inherit'\n }\n },\n // ==================== Footer ====================\n [`${componentCls}-footer`]: {\n padding: layoutFooterPadding,\n color: colorText,\n fontSize,\n background: colorBgBody\n },\n // =================== Content ====================\n [`${componentCls}-content`]: {\n flex: 'auto',\n // fix firefox can't set height smaller than content on flex item\n minHeight: 0\n }\n };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Layout', token => {\n const {\n colorText,\n controlHeightSM,\n controlHeight,\n controlHeightLG,\n marginXXS\n } = token;\n const layoutHeaderPaddingInline = controlHeightLG * 1.25;\n const layoutToken = mergeToken(token, {\n // Layout\n layoutHeaderHeight: controlHeight * 2,\n layoutHeaderPaddingInline,\n layoutHeaderColor: colorText,\n layoutFooterPadding: `${controlHeightSM}px ${layoutHeaderPaddingInline}px`,\n layoutTriggerHeight: controlHeightLG + marginXXS * 2,\n layoutZeroTriggerSize: controlHeightLG\n });\n return [genLayoutStyle(layoutToken)];\n}, token => {\n const {\n colorBgLayout\n } = token;\n return {\n colorBgHeader: '#001529',\n colorBgBody: colorBgLayout,\n colorBgTrigger: '#002140'\n };\n});"],"names":["genLayoutStyle","token","antCls","componentCls","colorText","colorTextLightSolid","colorBgHeader","colorBgBody","colorBgTrigger","layoutHeaderHeight","layoutHeaderPaddingInline","layoutHeaderColor","layoutFooterPadding","layoutTriggerHeight","layoutZeroTriggerSize","motionDurationMid","motionDurationSlow","fontSize","borderRadius","Object","assign","display","flex","flexDirection","minHeight","background","boxSizing","width","position","minWidth","transition","height","marginTop","paddingTop","paddingBottom","order","bottom","zIndex","color","lineHeight","textAlign","cursor","overflow","top","insetInlineEnd","fontSizeXL","alignItems","justifyContent","borderStartStartRadius","borderStartEndRadius","borderEndEndRadius","borderEndStartRadius","inset","content","insetInlineStart","genLayoutLightStyle","direction","paddingInline","padding","useStyle","genComponentStyleHook","controlHeightSM","controlHeight","controlHeightLG","marginXXS","layoutToken","mergeToken","colorBgLayout"],"mappings":"yKAEA,MAAMA,EAAiBC,IACrB,MAAMC,OACJA,EAAMC,aAENA,EAAYC,UAEZA,EAASC,oBACTA,EAAmBC,cACnBA,EAAaC,YACbA,EAAWC,eACXA,EAAcC,mBACdA,EAAkBC,0BAClBA,EAAyBC,kBACzBA,EAAiBC,oBACjBA,EAAmBC,oBACnBA,EAAmBC,sBACnBA,EAAqBC,kBACrBA,EAAiBC,mBACjBA,EAAkBC,SAClBA,EAAQC,aACRA,GACEjB,EACJ,MAAO,CACLE,CAACA,GAAegB,OAAOC,OAAOD,OAAOC,OAAO,CAC1CC,QAAS,OACTC,KAAM,OACNC,cAAe,SAEfC,UAAW,EACXC,WAAYlB,EACZ,OAAQ,CACNmB,UAAW,cAEb,CAAC,IAAIvB,eAA2B,CAC9BoB,cAAe,MACf,CAAC,KAAKpB,QAAmBA,aAAyB,CAEhDwB,MAAO,IAGX,CAAC,GAAGxB,cAAyBA,YAAwB,CACnDmB,KAAM,YAER,CAAC,GAAGnB,WAAuB,CACz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Gd,CAAC,GAAGJ,aAAyB,CAC3BmB,KAAM,OAENE,UAAW,GAEd,EAGH,IAAAmC,EAAeC,EAAsB,UAAU3D,IAC7C,MAAMG,UACJA,EAASyD,gBACTA,EAAeC,cACfA,EAAaC,gBACbA,EAAeC,UACfA,GACE/D,EACES,EAA8C,KAAlBqD,EAC5BE,EAAcC,EAAWjE,EAAO,CAEpCQ,mBAAoC,EAAhBqD,EACpBpD,4BACAC,kBAAmBP,EACnBQ,oBAAqB,GAAGiD,OAAqBnD,MAC7CG,oBAAqBkD,EAA8B,EAAZC,EACvClD,sBAAuBiD,IAEzB,MAAO,CAAC/D,EAAeiE,GAAa,IACnChE,IACD,MAAMkE,cACJA,GACElE,EACJ,MAAO,CACLK,cAAe,UACfC,YAAa4D,EACb3D,eAAgB,UACjB","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
var r=r=>{const{componentCls:o,colorBgContainer:e,colorBgBody:t,colorText:d}=r;return{[`${o}-sider-light`]:{background:e,[`${o}-sider-trigger`]:{color:d,background:e},[`${o}-sider-zero-width-trigger`]:{color:d,background:e,border:`1px solid ${t}`,borderInlineStart:0}}}};export{r as default};
|
|
2
2
|
//# sourceMappingURL=light.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"light.js","sources":["../../../../../../node_modules/antd/es/layout/style/light.js"],"sourcesContent":["const genLayoutLightStyle = token => {\n const {\n componentCls,\n colorBgContainer,\n colorBgBody,\n colorText\n } = token;\n return {\n [`${componentCls}-sider-light`]: {\n background: colorBgContainer,\n [`${componentCls}-sider-trigger`]: {\n color: colorText,\n background: colorBgContainer\n },\n [`${componentCls}-sider-zero-width-trigger`]: {\n color: colorText,\n background: colorBgContainer,\n border: `1px solid ${colorBgBody}`,\n borderInlineStart: 0\n }\n }\n };\n};\nexport default genLayoutLightStyle;"],"names":["genLayoutLightStyle$1","token","componentCls","colorBgContainer","colorBgBody","colorText","background","color","border","borderInlineStart"],"mappings":"
|
|
1
|
+
{"version":3,"file":"light.js","sources":["../../../../../../node_modules/antd/es/layout/style/light.js"],"sourcesContent":["const genLayoutLightStyle = token => {\n const {\n componentCls,\n colorBgContainer,\n colorBgBody,\n colorText\n } = token;\n return {\n [`${componentCls}-sider-light`]: {\n background: colorBgContainer,\n [`${componentCls}-sider-trigger`]: {\n color: colorText,\n background: colorBgContainer\n },\n [`${componentCls}-sider-zero-width-trigger`]: {\n color: colorText,\n background: colorBgContainer,\n border: `1px solid ${colorBgBody}`,\n borderInlineStart: 0\n }\n }\n };\n};\nexport default genLayoutLightStyle;"],"names":["genLayoutLightStyle$1","token","componentCls","colorBgContainer","colorBgBody","colorText","background","color","border","borderInlineStart"],"mappings":"AAuBA,IAAAA,EAvB4BC,IAC1B,MAAMC,aACJA,EAAYC,iBACZA,EAAgBC,YAChBA,EAAWC,UACXA,GACEJ,EACJ,MAAO,CACL,CAAC,GAAGC,iBAA6B,CAC/BI,WAAYH,EACZ,CAAC,GAAGD,mBAA+B,CACjCK,MAAOF,EACPC,WAAYH,GAEd,CAAC,GAAGD,8BAA0C,CAC5CK,MAAOF,EACPC,WAAYH,EACZK,OAAQ,aAAaJ,IACrBK,kBAAmB,IAGxB","x_google_ignoreList":[0]}
|