@antscorp/antsomi-ui 1.1.4 → 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 +2 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +2 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/react-is.development.js +2 -0
- package/dist/_virtual/react-is.development.js.map +1 -0
- package/dist/_virtual/react-is.production.min.js +2 -0
- package/dist/_virtual/react-is.production.min.js.map +1 -0
- package/dist/components/Cascader/Cascader.d.ts +1 -0
- package/dist/components/Cascader/index.d.ts +1 -0
- package/dist/components/Divider/Divider.stories.d.ts +8 -0
- package/dist/components/Input/Input.stories.d.ts +19 -0
- package/dist/components/Select/Select.d.ts +1 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/{cjs/types/components → components}/index.d.ts +2 -0
- package/dist/index.d.ts +1 -10
- package/dist/node_modules/@ant-design/colors/es/generate.js +2 -0
- package/dist/node_modules/@ant-design/colors/es/generate.js.map +1 -0
- package/dist/node_modules/@ant-design/colors/es/index.js +2 -0
- package/dist/node_modules/@ant-design/colors/es/index.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util.js.map +1 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.esm.js +2 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.esm.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/components/Context.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/components/Context.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons/es/utils.js +2 -0
- package/dist/node_modules/@ant-design/icons/es/utils.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js.map +1 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js +2 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.js +2 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.js.map +1 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js +2 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js.map +1 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.js +2 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.js.map +1 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.js +2 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.js.map +1 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.js +2 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.js.map +1 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +2 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +2 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +2 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-3838ba9e.esm.js +2 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-3838ba9e.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +2 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +2 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +1 -0
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +2 -0
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +2 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
- package/dist/node_modules/@emotion/unitless/dist/unitless.esm.js +2 -0
- package/dist/node_modules/@emotion/unitless/dist/unitless.esm.js.map +1 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +2 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +2 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +2 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
- package/dist/node_modules/@rc-component/portal/es/Context.js +2 -0
- package/dist/node_modules/@rc-component/portal/es/Context.js.map +1 -0
- package/dist/node_modules/@rc-component/portal/es/Portal.js +2 -0
- package/dist/node_modules/@rc-component/portal/es/Portal.js.map +1 -0
- package/dist/node_modules/@rc-component/portal/es/index.js +2 -0
- package/dist/node_modules/@rc-component/portal/es/index.js.map +1 -0
- package/dist/node_modules/@rc-component/portal/es/mock.js +2 -0
- package/dist/node_modules/@rc-component/portal/es/mock.js.map +1 -0
- package/dist/node_modules/@rc-component/portal/es/useDom.js +2 -0
- package/dist/node_modules/@rc-component/portal/es/useDom.js.map +1 -0
- package/dist/node_modules/@rc-component/portal/es/useScrollLocker.js +2 -0
- package/dist/node_modules/@rc-component/portal/es/useScrollLocker.js.map +1 -0
- package/dist/node_modules/@rc-component/portal/es/util.js +2 -0
- package/dist/node_modules/@rc-component/portal/es/util.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/context.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/context.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/index.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -0
- package/dist/node_modules/@rc-component/trigger/es/util.js +2 -0
- package/dist/node_modules/@rc-component/trigger/es/util.js.map +1 -0
- package/dist/node_modules/antd/es/_util/ActionButton.js +2 -0
- package/dist/node_modules/antd/es/_util/ActionButton.js.map +1 -0
- package/dist/node_modules/antd/es/_util/PurePanel.js +2 -0
- package/dist/node_modules/antd/es/_util/PurePanel.js.map +1 -0
- package/dist/node_modules/antd/es/_util/colors.js +2 -0
- package/dist/node_modules/antd/es/_util/colors.js.map +1 -0
- package/dist/node_modules/antd/es/_util/getDataOrAriaProps.js +2 -0
- package/dist/node_modules/antd/es/_util/getDataOrAriaProps.js.map +1 -0
- package/dist/node_modules/antd/es/_util/hooks/useFlexGapSupport.js +2 -0
- package/dist/node_modules/antd/es/_util/hooks/useFlexGapSupport.js.map +1 -0
- package/dist/node_modules/antd/es/_util/hooks/usePatchElement.js +2 -0
- package/dist/node_modules/antd/es/_util/hooks/usePatchElement.js.map +1 -0
- package/dist/node_modules/antd/es/_util/isNumeric.js +2 -0
- package/dist/node_modules/antd/es/_util/isNumeric.js.map +1 -0
- package/dist/node_modules/antd/es/_util/motion.js +2 -0
- package/dist/node_modules/antd/es/_util/motion.js.map +1 -0
- package/dist/node_modules/antd/es/_util/placements.js +2 -0
- package/dist/node_modules/antd/es/_util/placements.js.map +1 -0
- package/dist/node_modules/antd/es/_util/reactNode.js +2 -0
- package/dist/node_modules/antd/es/_util/reactNode.js.map +1 -0
- package/dist/node_modules/antd/es/_util/statusUtils.js +2 -0
- package/dist/node_modules/antd/es/_util/statusUtils.js.map +1 -0
- package/dist/node_modules/antd/es/_util/styleChecker.js +2 -0
- package/dist/node_modules/antd/es/_util/styleChecker.js.map +1 -0
- package/dist/node_modules/antd/es/_util/warning.js +2 -0
- package/dist/node_modules/antd/es/_util/warning.js.map +1 -0
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +2 -0
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -0
- package/dist/node_modules/antd/es/_util/wave/index.js +2 -0
- package/dist/node_modules/antd/es/_util/wave/index.js.map +1 -0
- package/dist/node_modules/antd/es/_util/wave/style.js +2 -0
- package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -0
- package/dist/node_modules/antd/es/_util/wave/useWave.js +2 -0
- package/dist/node_modules/antd/es/_util/wave/useWave.js.map +1 -0
- package/dist/node_modules/antd/es/_util/wave/util.js +2 -0
- package/dist/node_modules/antd/es/_util/wave/util.js.map +1 -0
- package/dist/node_modules/antd/es/alert/ErrorBoundary.js +2 -0
- package/dist/node_modules/antd/es/alert/ErrorBoundary.js.map +1 -0
- package/dist/node_modules/antd/es/alert/index.js +2 -0
- package/dist/node_modules/antd/es/alert/index.js.map +1 -0
- package/dist/node_modules/antd/es/alert/style/index.js +2 -0
- package/dist/node_modules/antd/es/alert/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/button/LoadingIcon.js +2 -0
- package/dist/node_modules/antd/es/button/LoadingIcon.js.map +1 -0
- package/dist/node_modules/antd/es/button/button-group.js +2 -0
- package/dist/node_modules/antd/es/button/button-group.js.map +1 -0
- package/dist/node_modules/antd/es/button/button.js +2 -0
- package/dist/node_modules/antd/es/button/button.js.map +1 -0
- package/dist/node_modules/antd/es/button/buttonHelpers.js +2 -0
- package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -0
- package/dist/node_modules/antd/es/button/index.js +2 -0
- package/dist/node_modules/antd/es/button/index.js.map +1 -0
- package/dist/node_modules/antd/es/button/style/group.js +2 -0
- package/dist/node_modules/antd/es/button/style/group.js.map +1 -0
- package/dist/node_modules/antd/es/button/style/index.js +2 -0
- package/dist/node_modules/antd/es/button/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/calendar/locale/en_US.js +2 -0
- package/dist/node_modules/antd/es/calendar/locale/en_US.js.map +1 -0
- package/dist/node_modules/antd/es/cascader/index.js +2 -0
- package/dist/node_modules/antd/es/cascader/index.js.map +1 -0
- package/dist/node_modules/antd/es/cascader/style/index.js +2 -0
- package/dist/node_modules/antd/es/cascader/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/checkbox/style/index.js +2 -0
- package/dist/node_modules/antd/es/checkbox/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/DisabledContext.js +2 -0
- package/dist/node_modules/antd/es/config-provider/DisabledContext.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/SizeContext.js +2 -0
- package/dist/node_modules/antd/es/config-provider/SizeContext.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/context.js +2 -0
- package/dist/node_modules/antd/es/config-provider/context.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/cssVariables.js +2 -0
- package/dist/node_modules/antd/es/config-provider/cssVariables.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.js +2 -0
- package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useConfig.js +2 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useConfig.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useTheme.js +2 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useTheme.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/index.js +2 -0
- package/dist/node_modules/antd/es/config-provider/index.js.map +1 -0
- package/dist/node_modules/antd/es/config-provider/style/index.js +2 -0
- package/dist/node_modules/antd/es/config-provider/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/date-picker/locale/en_US.js +2 -0
- package/dist/node_modules/antd/es/date-picker/locale/en_US.js.map +1 -0
- package/dist/node_modules/antd/es/divider/index.js +2 -0
- package/dist/node_modules/antd/es/divider/index.js.map +1 -0
- package/dist/node_modules/antd/es/divider/style/index.js +2 -0
- package/dist/node_modules/antd/es/divider/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/dropdown/dropdown-button.js +2 -0
- package/dist/node_modules/antd/es/dropdown/dropdown-button.js.map +1 -0
- package/dist/node_modules/antd/es/dropdown/dropdown.js +2 -0
- package/dist/node_modules/antd/es/dropdown/dropdown.js.map +1 -0
- package/dist/node_modules/antd/es/dropdown/index.js +2 -0
- package/dist/node_modules/antd/es/dropdown/index.js.map +1 -0
- package/dist/node_modules/antd/es/dropdown/style/button.js +2 -0
- package/dist/node_modules/antd/es/dropdown/style/button.js.map +1 -0
- package/dist/node_modules/antd/es/dropdown/style/index.js +2 -0
- package/dist/node_modules/antd/es/dropdown/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/dropdown/style/status.js +2 -0
- package/dist/node_modules/antd/es/dropdown/style/status.js.map +1 -0
- package/dist/node_modules/antd/es/empty/empty.js +2 -0
- package/dist/node_modules/antd/es/empty/empty.js.map +1 -0
- package/dist/node_modules/antd/es/empty/index.js +2 -0
- package/dist/node_modules/antd/es/empty/index.js.map +1 -0
- package/dist/node_modules/antd/es/empty/simple.js +2 -0
- package/dist/node_modules/antd/es/empty/simple.js.map +1 -0
- package/dist/node_modules/antd/es/empty/style/index.js +2 -0
- package/dist/node_modules/antd/es/empty/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/form/context.js +2 -0
- package/dist/node_modules/antd/es/form/context.js.map +1 -0
- package/dist/node_modules/antd/es/input/Group.js +2 -0
- package/dist/node_modules/antd/es/input/Group.js.map +1 -0
- package/dist/node_modules/antd/es/input/Input.js +2 -0
- package/dist/node_modules/antd/es/input/Input.js.map +1 -0
- package/dist/node_modules/antd/es/input/Password.js +2 -0
- package/dist/node_modules/antd/es/input/Password.js.map +1 -0
- package/dist/node_modules/antd/es/input/Search.js +2 -0
- package/dist/node_modules/antd/es/input/Search.js.map +1 -0
- package/dist/node_modules/antd/es/input/TextArea.js +2 -0
- package/dist/node_modules/antd/es/input/TextArea.js.map +1 -0
- package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +2 -0
- package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js.map +1 -0
- package/dist/node_modules/antd/es/input/index.js +2 -0
- package/dist/node_modules/antd/es/input/index.js.map +1 -0
- package/dist/node_modules/antd/es/input/style/index.js +2 -0
- package/dist/node_modules/antd/es/input/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/input/utils.js +2 -0
- package/dist/node_modules/antd/es/input/utils.js.map +1 -0
- package/dist/node_modules/antd/es/layout/Sider.js +2 -0
- package/dist/node_modules/antd/es/layout/Sider.js.map +1 -0
- package/dist/node_modules/antd/es/layout/layout.js +2 -0
- package/dist/node_modules/antd/es/layout/layout.js.map +1 -0
- package/dist/node_modules/antd/es/layout/style/index.js +2 -0
- package/dist/node_modules/antd/es/layout/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/layout/style/light.js +2 -0
- package/dist/node_modules/antd/es/layout/style/light.js.map +1 -0
- package/dist/node_modules/antd/es/locale/context.js +2 -0
- package/dist/node_modules/antd/es/locale/context.js.map +1 -0
- package/dist/node_modules/antd/es/locale/en_US.js +2 -0
- package/dist/node_modules/antd/es/locale/en_US.js.map +1 -0
- package/dist/node_modules/antd/es/locale/index.js +2 -0
- package/dist/node_modules/antd/es/locale/index.js.map +1 -0
- package/dist/node_modules/antd/es/locale/useLocale.js +2 -0
- package/dist/node_modules/antd/es/locale/useLocale.js.map +1 -0
- package/dist/node_modules/antd/es/menu/MenuContext.js +2 -0
- package/dist/node_modules/antd/es/menu/MenuContext.js.map +1 -0
- package/dist/node_modules/antd/es/menu/MenuDivider.js +2 -0
- package/dist/node_modules/antd/es/menu/MenuDivider.js.map +1 -0
- package/dist/node_modules/antd/es/menu/MenuItem.js +2 -0
- package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -0
- package/dist/node_modules/antd/es/menu/OverrideContext.js +2 -0
- package/dist/node_modules/antd/es/menu/OverrideContext.js.map +1 -0
- package/dist/node_modules/antd/es/menu/SubMenu.js +2 -0
- package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -0
- package/dist/node_modules/antd/es/menu/hooks/useItems.js +2 -0
- package/dist/node_modules/antd/es/menu/hooks/useItems.js.map +1 -0
- package/dist/node_modules/antd/es/menu/index.js +2 -0
- package/dist/node_modules/antd/es/menu/index.js.map +1 -0
- package/dist/node_modules/antd/es/menu/menu.js +2 -0
- package/dist/node_modules/antd/es/menu/menu.js.map +1 -0
- package/dist/node_modules/antd/es/menu/style/horizontal.js +2 -0
- package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -0
- package/dist/node_modules/antd/es/menu/style/index.js +2 -0
- package/dist/node_modules/antd/es/menu/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/menu/style/rtl.js +2 -0
- package/dist/node_modules/antd/es/menu/style/rtl.js.map +1 -0
- package/dist/node_modules/antd/es/menu/style/theme.js +2 -0
- package/dist/node_modules/antd/es/menu/style/theme.js.map +1 -0
- package/dist/node_modules/antd/es/menu/style/vertical.js +2 -0
- package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -0
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js +2 -0
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -0
- package/dist/node_modules/antd/es/modal/Modal.js +2 -0
- package/dist/node_modules/antd/es/modal/Modal.js.map +1 -0
- package/dist/node_modules/antd/es/modal/PurePanel.js +2 -0
- package/dist/node_modules/antd/es/modal/PurePanel.js.map +1 -0
- package/dist/node_modules/antd/es/modal/confirm.js +2 -0
- package/dist/node_modules/antd/es/modal/confirm.js.map +1 -0
- package/dist/node_modules/antd/es/modal/destroyFns.js +2 -0
- package/dist/node_modules/antd/es/modal/destroyFns.js.map +1 -0
- package/dist/node_modules/antd/es/modal/index.js +2 -0
- package/dist/node_modules/antd/es/modal/index.js.map +1 -0
- package/dist/node_modules/antd/es/modal/locale.js +2 -0
- package/dist/node_modules/antd/es/modal/locale.js.map +1 -0
- package/dist/node_modules/antd/es/modal/style/index.js +2 -0
- package/dist/node_modules/antd/es/modal/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/modal/useModal/HookModal.js +2 -0
- package/dist/node_modules/antd/es/modal/useModal/HookModal.js.map +1 -0
- package/dist/node_modules/antd/es/modal/useModal/index.js +2 -0
- package/dist/node_modules/antd/es/modal/useModal/index.js.map +1 -0
- package/dist/node_modules/antd/es/radio/context.js +2 -0
- package/dist/node_modules/antd/es/radio/context.js.map +1 -0
- package/dist/node_modules/antd/es/radio/group.js +2 -0
- package/dist/node_modules/antd/es/radio/group.js.map +1 -0
- package/dist/node_modules/antd/es/radio/index.js +2 -0
- package/dist/node_modules/antd/es/radio/index.js.map +1 -0
- package/dist/node_modules/antd/es/radio/radio.js +2 -0
- package/dist/node_modules/antd/es/radio/radio.js.map +1 -0
- package/dist/node_modules/antd/es/radio/radioButton.js +2 -0
- package/dist/node_modules/antd/es/radio/radioButton.js.map +1 -0
- package/dist/node_modules/antd/es/radio/style/index.js +2 -0
- package/dist/node_modules/antd/es/radio/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/select/index.js +2 -0
- package/dist/node_modules/antd/es/select/index.js.map +1 -0
- package/dist/node_modules/antd/es/select/style/dropdown.js +2 -0
- package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -0
- package/dist/node_modules/antd/es/select/style/index.js +2 -0
- package/dist/node_modules/antd/es/select/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/select/style/multiple.js +2 -0
- package/dist/node_modules/antd/es/select/style/multiple.js.map +1 -0
- package/dist/node_modules/antd/es/select/style/single.js +2 -0
- package/dist/node_modules/antd/es/select/style/single.js.map +1 -0
- package/dist/node_modules/antd/es/select/useShowArrow.js +2 -0
- package/dist/node_modules/antd/es/select/useShowArrow.js.map +1 -0
- package/dist/node_modules/antd/es/select/utils/iconUtil.js +2 -0
- package/dist/node_modules/antd/es/select/utils/iconUtil.js.map +1 -0
- package/dist/node_modules/antd/es/space/Compact.js +2 -0
- package/dist/node_modules/antd/es/space/Compact.js.map +1 -0
- package/dist/node_modules/antd/es/space/Item.js +2 -0
- package/dist/node_modules/antd/es/space/Item.js.map +1 -0
- package/dist/node_modules/antd/es/space/index.js +2 -0
- package/dist/node_modules/antd/es/space/index.js.map +1 -0
- package/dist/node_modules/antd/es/space/style/compact.js +2 -0
- package/dist/node_modules/antd/es/space/style/compact.js.map +1 -0
- package/dist/node_modules/antd/es/space/style/index.js +2 -0
- package/dist/node_modules/antd/es/space/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/style/compact-item-vertical.js +2 -0
- package/dist/node_modules/antd/es/style/compact-item-vertical.js.map +1 -0
- package/dist/node_modules/antd/es/style/compact-item.js +2 -0
- package/dist/node_modules/antd/es/style/compact-item.js.map +1 -0
- package/dist/node_modules/antd/es/style/index.js +2 -0
- package/dist/node_modules/antd/es/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/style/motion/collapse.js +2 -0
- package/dist/node_modules/antd/es/style/motion/collapse.js.map +1 -0
- package/dist/node_modules/antd/es/style/motion/fade.js +2 -0
- package/dist/node_modules/antd/es/style/motion/fade.js.map +1 -0
- package/dist/node_modules/antd/es/style/motion/motion.js +2 -0
- package/dist/node_modules/antd/es/style/motion/motion.js.map +1 -0
- package/dist/node_modules/antd/es/style/motion/move.js +2 -0
- package/dist/node_modules/antd/es/style/motion/move.js.map +1 -0
- package/dist/node_modules/antd/es/style/motion/slide.js +2 -0
- package/dist/node_modules/antd/es/style/motion/slide.js.map +1 -0
- package/dist/node_modules/antd/es/style/motion/zoom.js +2 -0
- package/dist/node_modules/antd/es/style/motion/zoom.js.map +1 -0
- package/dist/node_modules/antd/es/style/placementArrow.js +2 -0
- package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -0
- package/dist/node_modules/antd/es/style/presetColor.js +2 -0
- package/dist/node_modules/antd/es/style/presetColor.js.map +1 -0
- package/dist/node_modules/antd/es/style/roundedArrow.js +2 -0
- package/dist/node_modules/antd/es/style/roundedArrow.js.map +1 -0
- package/dist/node_modules/antd/es/theme/index.js +2 -0
- package/dist/node_modules/antd/es/theme/index.js.map +1 -0
- package/dist/node_modules/antd/es/theme/interface/presetColors.js +2 -0
- package/dist/node_modules/antd/es/theme/interface/presetColors.js.map +1 -0
- package/dist/node_modules/antd/es/theme/internal.js +2 -0
- package/dist/node_modules/antd/es/theme/internal.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/compact/index.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/compact/index.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colors.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colors.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/dark/index.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/dark/index.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/default/colors.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/default/colors.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/default/index.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/default/index.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/seed.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/seed.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genRadius.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genRadius.js.map +1 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js +2 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js.map +1 -0
- package/dist/node_modules/antd/es/theme/util/alias.js +2 -0
- package/dist/node_modules/antd/es/theme/util/alias.js.map +1 -0
- package/dist/node_modules/antd/es/theme/util/genComponentStyleHook.js +2 -0
- package/dist/node_modules/antd/es/theme/util/genComponentStyleHook.js.map +1 -0
- package/dist/node_modules/antd/es/theme/util/getAlphaColor.js +2 -0
- package/dist/node_modules/antd/es/theme/util/getAlphaColor.js.map +1 -0
- package/dist/node_modules/antd/es/theme/util/statistic.js +2 -0
- package/dist/node_modules/antd/es/theme/util/statistic.js.map +1 -0
- package/dist/node_modules/antd/es/time-picker/locale/en_US.js +2 -0
- package/dist/node_modules/antd/es/time-picker/locale/en_US.js.map +1 -0
- package/dist/node_modules/antd/es/tooltip/PurePanel.js +2 -0
- package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -0
- package/dist/node_modules/antd/es/tooltip/index.js +2 -0
- package/dist/node_modules/antd/es/tooltip/index.js.map +1 -0
- package/dist/node_modules/antd/es/tooltip/style/index.js +2 -0
- package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -0
- package/dist/node_modules/antd/es/tooltip/util.js +2 -0
- package/dist/node_modules/antd/es/tooltip/util.js.map +1 -0
- package/dist/node_modules/antd/es/version/index.js +2 -0
- package/dist/node_modules/antd/es/version/index.js.map +1 -0
- package/dist/node_modules/antd/es/version/version.js +2 -0
- package/dist/node_modules/antd/es/version/version.js.map +1 -0
- package/dist/node_modules/async-validator/dist-web/index.js +2 -0
- package/dist/node_modules/async-validator/dist-web/index.js.map +1 -0
- package/dist/node_modules/classnames/index.js +7 -0
- package/dist/node_modules/classnames/index.js.map +1 -0
- package/dist/node_modules/dom-align/dist-web/index.js +2 -0
- package/dist/node_modules/dom-align/dist-web/index.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
- package/dist/node_modules/rc-align/es/Align.js +2 -0
- package/dist/node_modules/rc-align/es/Align.js.map +1 -0
- package/dist/node_modules/rc-align/es/hooks/useBuffer.js +2 -0
- package/dist/node_modules/rc-align/es/hooks/useBuffer.js.map +1 -0
- package/dist/node_modules/rc-align/es/index.js +2 -0
- package/dist/node_modules/rc-align/es/index.js.map +1 -0
- package/dist/node_modules/rc-align/es/util.js +2 -0
- package/dist/node_modules/rc-align/es/util.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/Cascader.js +2 -0
- package/dist/node_modules/rc-cascader/es/Cascader.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/OptionList/Checkbox.js +2 -0
- package/dist/node_modules/rc-cascader/es/OptionList/Checkbox.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/OptionList/Column.js +2 -0
- package/dist/node_modules/rc-cascader/es/OptionList/Column.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/OptionList/index.js +2 -0
- package/dist/node_modules/rc-cascader/es/OptionList/index.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/OptionList/useActive.js +2 -0
- package/dist/node_modules/rc-cascader/es/OptionList/useActive.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/OptionList/useKeyboard.js +2 -0
- package/dist/node_modules/rc-cascader/es/OptionList/useKeyboard.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/context.js +2 -0
- package/dist/node_modules/rc-cascader/es/context.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/hooks/useDisplayValues.js +2 -0
- package/dist/node_modules/rc-cascader/es/hooks/useDisplayValues.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/hooks/useEntities.js +2 -0
- package/dist/node_modules/rc-cascader/es/hooks/useEntities.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/hooks/useMissingValues.js +2 -0
- package/dist/node_modules/rc-cascader/es/hooks/useMissingValues.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/hooks/useRefFunc.js +2 -0
- package/dist/node_modules/rc-cascader/es/hooks/useRefFunc.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/hooks/useSearchConfig.js +2 -0
- package/dist/node_modules/rc-cascader/es/hooks/useSearchConfig.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/hooks/useSearchOptions.js +2 -0
- package/dist/node_modules/rc-cascader/es/hooks/useSearchOptions.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/index.js +2 -0
- package/dist/node_modules/rc-cascader/es/index.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/utils/commonUtil.js +2 -0
- package/dist/node_modules/rc-cascader/es/utils/commonUtil.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/utils/treeUtil.js +2 -0
- package/dist/node_modules/rc-cascader/es/utils/treeUtil.js.map +1 -0
- package/dist/node_modules/rc-cascader/es/utils/warningPropsUtil.js +2 -0
- package/dist/node_modules/rc-cascader/es/utils/warningPropsUtil.js.map +1 -0
- package/dist/node_modules/rc-checkbox/es/index.js +2 -0
- package/dist/node_modules/rc-checkbox/es/index.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js +2 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.js +2 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/index.js +2 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/index.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Mask.js +2 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Mask.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/Dialog/index.js +2 -0
- package/dist/node_modules/rc-dialog/es/Dialog/index.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/DialogWrap.js +2 -0
- package/dist/node_modules/rc-dialog/es/DialogWrap.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/index.js +2 -0
- package/dist/node_modules/rc-dialog/es/index.js.map +1 -0
- package/dist/node_modules/rc-dialog/es/util.js +2 -0
- package/dist/node_modules/rc-dialog/es/util.js.map +1 -0
- package/dist/node_modules/rc-dropdown/es/Dropdown.js +2 -0
- package/dist/node_modules/rc-dropdown/es/Dropdown.js.map +1 -0
- package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.js +2 -0
- package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.js.map +1 -0
- package/dist/node_modules/rc-dropdown/es/index.js +2 -0
- package/dist/node_modules/rc-dropdown/es/index.js.map +1 -0
- package/dist/node_modules/rc-dropdown/es/placements.js +2 -0
- package/dist/node_modules/rc-dropdown/es/placements.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/Field.js +2 -0
- package/dist/node_modules/rc-field-form/es/Field.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/FieldContext.js +2 -0
- package/dist/node_modules/rc-field-form/es/FieldContext.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/Form.js +2 -0
- package/dist/node_modules/rc-field-form/es/Form.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/FormContext.js +2 -0
- package/dist/node_modules/rc-field-form/es/FormContext.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/List.js +2 -0
- package/dist/node_modules/rc-field-form/es/List.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/ListContext.js +2 -0
- package/dist/node_modules/rc-field-form/es/ListContext.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/index.js +2 -0
- package/dist/node_modules/rc-field-form/es/index.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/useForm.js +2 -0
- package/dist/node_modules/rc-field-form/es/useForm.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/useWatch.js +2 -0
- package/dist/node_modules/rc-field-form/es/useWatch.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/utils/NameMap.js +2 -0
- package/dist/node_modules/rc-field-form/es/utils/NameMap.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/utils/asyncUtil.js +2 -0
- package/dist/node_modules/rc-field-form/es/utils/asyncUtil.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/utils/cloneDeep.js +2 -0
- package/dist/node_modules/rc-field-form/es/utils/cloneDeep.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/utils/messages.js +2 -0
- package/dist/node_modules/rc-field-form/es/utils/messages.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/utils/typeUtil.js +2 -0
- package/dist/node_modules/rc-field-form/es/utils/typeUtil.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.js +2 -0
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.js.map +1 -0
- package/dist/node_modules/rc-field-form/es/utils/valueUtil.js +2 -0
- package/dist/node_modules/rc-field-form/es/utils/valueUtil.js.map +1 -0
- package/dist/node_modules/rc-input/es/BaseInput.js +2 -0
- package/dist/node_modules/rc-input/es/BaseInput.js.map +1 -0
- package/dist/node_modules/rc-input/es/Input.js +2 -0
- package/dist/node_modules/rc-input/es/Input.js.map +1 -0
- package/dist/node_modules/rc-input/es/index.js +2 -0
- package/dist/node_modules/rc-input/es/index.js.map +1 -0
- package/dist/node_modules/rc-input/es/utils/commonUtils.js +2 -0
- package/dist/node_modules/rc-input/es/utils/commonUtils.js.map +1 -0
- package/dist/node_modules/rc-menu/es/Divider.js +2 -0
- package/dist/node_modules/rc-menu/es/Divider.js.map +1 -0
- package/dist/node_modules/rc-menu/es/Icon.js +2 -0
- package/dist/node_modules/rc-menu/es/Icon.js.map +1 -0
- package/dist/node_modules/rc-menu/es/Menu.js +2 -0
- package/dist/node_modules/rc-menu/es/Menu.js.map +1 -0
- package/dist/node_modules/rc-menu/es/MenuItem.js +2 -0
- package/dist/node_modules/rc-menu/es/MenuItem.js.map +1 -0
- package/dist/node_modules/rc-menu/es/MenuItemGroup.js +2 -0
- package/dist/node_modules/rc-menu/es/MenuItemGroup.js.map +1 -0
- package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js +2 -0
- package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js.map +1 -0
- package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.js +2 -0
- package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.js.map +1 -0
- package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.js +2 -0
- package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.js.map +1 -0
- package/dist/node_modules/rc-menu/es/SubMenu/index.js +2 -0
- package/dist/node_modules/rc-menu/es/SubMenu/index.js.map +1 -0
- package/dist/node_modules/rc-menu/es/context/IdContext.js +2 -0
- package/dist/node_modules/rc-menu/es/context/IdContext.js.map +1 -0
- package/dist/node_modules/rc-menu/es/context/MenuContext.js +2 -0
- package/dist/node_modules/rc-menu/es/context/MenuContext.js.map +1 -0
- package/dist/node_modules/rc-menu/es/context/PathContext.js +2 -0
- package/dist/node_modules/rc-menu/es/context/PathContext.js.map +1 -0
- package/dist/node_modules/rc-menu/es/context/PrivateContext.js +2 -0
- package/dist/node_modules/rc-menu/es/context/PrivateContext.js.map +1 -0
- package/dist/node_modules/rc-menu/es/hooks/useAccessibility.js +2 -0
- package/dist/node_modules/rc-menu/es/hooks/useAccessibility.js.map +1 -0
- package/dist/node_modules/rc-menu/es/hooks/useActive.js +2 -0
- package/dist/node_modules/rc-menu/es/hooks/useActive.js.map +1 -0
- package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.js +2 -0
- package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.js.map +1 -0
- package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.js +2 -0
- package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.js.map +1 -0
- package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.js +2 -0
- package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.js.map +1 -0
- package/dist/node_modules/rc-menu/es/hooks/useUUID.js +2 -0
- package/dist/node_modules/rc-menu/es/hooks/useUUID.js.map +1 -0
- package/dist/node_modules/rc-menu/es/index.js +2 -0
- package/dist/node_modules/rc-menu/es/index.js.map +1 -0
- package/dist/node_modules/rc-menu/es/placements.js +2 -0
- package/dist/node_modules/rc-menu/es/placements.js.map +1 -0
- package/dist/node_modules/rc-menu/es/utils/motionUtil.js +2 -0
- package/dist/node_modules/rc-menu/es/utils/motionUtil.js.map +1 -0
- package/dist/node_modules/rc-menu/es/utils/nodeUtil.js +2 -0
- package/dist/node_modules/rc-menu/es/utils/nodeUtil.js.map +1 -0
- package/dist/node_modules/rc-menu/es/utils/timeUtil.js +2 -0
- package/dist/node_modules/rc-menu/es/utils/timeUtil.js.map +1 -0
- package/dist/node_modules/rc-menu/es/utils/warnUtil.js +2 -0
- package/dist/node_modules/rc-menu/es/utils/warnUtil.js.map +1 -0
- package/dist/node_modules/rc-motion/es/CSSMotion.js +2 -0
- package/dist/node_modules/rc-motion/es/CSSMotion.js.map +1 -0
- package/dist/node_modules/rc-motion/es/CSSMotionList.js +2 -0
- package/dist/node_modules/rc-motion/es/CSSMotionList.js.map +1 -0
- package/dist/node_modules/rc-motion/es/DomWrapper.js +2 -0
- package/dist/node_modules/rc-motion/es/DomWrapper.js.map +1 -0
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +2 -0
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js.map +1 -0
- package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +2 -0
- package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js.map +1 -0
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js +2 -0
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js.map +1 -0
- package/dist/node_modules/rc-motion/es/hooks/useStatus.js +2 -0
- package/dist/node_modules/rc-motion/es/hooks/useStatus.js.map +1 -0
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js +2 -0
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js.map +1 -0
- package/dist/node_modules/rc-motion/es/index.js +2 -0
- package/dist/node_modules/rc-motion/es/index.js.map +1 -0
- package/dist/node_modules/rc-motion/es/interface.js +2 -0
- package/dist/node_modules/rc-motion/es/interface.js.map +1 -0
- package/dist/node_modules/rc-motion/es/util/diff.js +2 -0
- package/dist/node_modules/rc-motion/es/util/diff.js.map +1 -0
- package/dist/node_modules/rc-motion/es/util/motion.js +2 -0
- package/dist/node_modules/rc-motion/es/util/motion.js.map +1 -0
- package/dist/node_modules/rc-overflow/es/Item.js +2 -0
- package/dist/node_modules/rc-overflow/es/Item.js.map +1 -0
- package/dist/node_modules/rc-overflow/es/Overflow.js +2 -0
- package/dist/node_modules/rc-overflow/es/Overflow.js.map +1 -0
- package/dist/node_modules/rc-overflow/es/RawItem.js +2 -0
- package/dist/node_modules/rc-overflow/es/RawItem.js.map +1 -0
- package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.js +2 -0
- package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.js.map +1 -0
- package/dist/node_modules/rc-overflow/es/hooks/useEffectState.js +2 -0
- package/dist/node_modules/rc-overflow/es/hooks/useEffectState.js.map +1 -0
- package/dist/node_modules/rc-overflow/es/index.js +2 -0
- package/dist/node_modules/rc-overflow/es/index.js.map +1 -0
- package/dist/node_modules/rc-pagination/es/locale/en_US.js +2 -0
- package/dist/node_modules/rc-pagination/es/locale/en_US.js.map +1 -0
- package/dist/node_modules/rc-picker/es/locale/en_US.js +2 -0
- package/dist/node_modules/rc-picker/es/locale/en_US.js.map +1 -0
- package/dist/node_modules/rc-resize-observer/es/Collection.js +2 -0
- package/dist/node_modules/rc-resize-observer/es/Collection.js.map +1 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +2 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js.map +1 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.js +2 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.js.map +1 -0
- package/dist/node_modules/rc-resize-observer/es/index.js +2 -0
- package/dist/node_modules/rc-resize-observer/es/index.js.map +1 -0
- package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.js +2 -0
- package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.js.map +1 -0
- package/dist/node_modules/rc-select/es/BaseSelect.js +2 -0
- package/dist/node_modules/rc-select/es/BaseSelect.js.map +1 -0
- package/dist/node_modules/rc-select/es/OptGroup.js +2 -0
- package/dist/node_modules/rc-select/es/OptGroup.js.map +1 -0
- package/dist/node_modules/rc-select/es/Option.js +2 -0
- package/dist/node_modules/rc-select/es/Option.js.map +1 -0
- package/dist/node_modules/rc-select/es/OptionList.js +2 -0
- package/dist/node_modules/rc-select/es/OptionList.js.map +1 -0
- package/dist/node_modules/rc-select/es/Select.js +2 -0
- package/dist/node_modules/rc-select/es/Select.js.map +1 -0
- package/dist/node_modules/rc-select/es/SelectContext.js +2 -0
- package/dist/node_modules/rc-select/es/SelectContext.js.map +1 -0
- package/dist/node_modules/rc-select/es/SelectTrigger.js +2 -0
- package/dist/node_modules/rc-select/es/SelectTrigger.js.map +1 -0
- package/dist/node_modules/rc-select/es/Selector/Input.js +2 -0
- package/dist/node_modules/rc-select/es/Selector/Input.js.map +1 -0
- package/dist/node_modules/rc-select/es/Selector/MultipleSelector.js +2 -0
- package/dist/node_modules/rc-select/es/Selector/MultipleSelector.js.map +1 -0
- package/dist/node_modules/rc-select/es/Selector/SingleSelector.js +2 -0
- package/dist/node_modules/rc-select/es/Selector/SingleSelector.js.map +1 -0
- package/dist/node_modules/rc-select/es/Selector/index.js +2 -0
- package/dist/node_modules/rc-select/es/Selector/index.js.map +1 -0
- package/dist/node_modules/rc-select/es/TransBtn.js +2 -0
- package/dist/node_modules/rc-select/es/TransBtn.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useBaseProps.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useBaseProps.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useCache.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useCache.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useDelayReset.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useDelayReset.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useId.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useId.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useLock.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useLock.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useOptions.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useOptions.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useRefFunc.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useRefFunc.js.map +1 -0
- package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.js +2 -0
- package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.js.map +1 -0
- package/dist/node_modules/rc-select/es/index.js +2 -0
- package/dist/node_modules/rc-select/es/index.js.map +1 -0
- package/dist/node_modules/rc-select/es/utils/commonUtil.js +2 -0
- package/dist/node_modules/rc-select/es/utils/commonUtil.js.map +1 -0
- package/dist/node_modules/rc-select/es/utils/keyUtil.js +2 -0
- package/dist/node_modules/rc-select/es/utils/keyUtil.js.map +1 -0
- package/dist/node_modules/rc-select/es/utils/legacyUtil.js +2 -0
- package/dist/node_modules/rc-select/es/utils/legacyUtil.js.map +1 -0
- package/dist/node_modules/rc-select/es/utils/platformUtil.js +2 -0
- package/dist/node_modules/rc-select/es/utils/platformUtil.js.map +1 -0
- package/dist/node_modules/rc-select/es/utils/valueUtil.js +2 -0
- package/dist/node_modules/rc-select/es/utils/valueUtil.js.map +1 -0
- package/dist/node_modules/rc-select/es/utils/warningPropsUtil.js +2 -0
- package/dist/node_modules/rc-select/es/utils/warningPropsUtil.js.map +1 -0
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.js +2 -0
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.js.map +1 -0
- package/dist/node_modules/rc-textarea/es/TextArea.js +2 -0
- package/dist/node_modules/rc-textarea/es/TextArea.js.map +1 -0
- package/dist/node_modules/rc-textarea/es/calculateNodeHeight.js +2 -0
- package/dist/node_modules/rc-textarea/es/calculateNodeHeight.js.map +1 -0
- package/dist/node_modules/rc-textarea/es/index.js +2 -0
- package/dist/node_modules/rc-textarea/es/index.js.map +1 -0
- package/dist/node_modules/rc-tooltip/es/Popup.js +2 -0
- package/dist/node_modules/rc-tooltip/es/Popup.js.map +1 -0
- package/dist/node_modules/rc-tooltip/es/Tooltip.js +2 -0
- package/dist/node_modules/rc-tooltip/es/Tooltip.js.map +1 -0
- package/dist/node_modules/rc-tooltip/es/index.js +2 -0
- package/dist/node_modules/rc-tooltip/es/index.js.map +1 -0
- package/dist/node_modules/rc-tooltip/es/placements.js +2 -0
- package/dist/node_modules/rc-tooltip/es/placements.js.map +1 -0
- package/dist/node_modules/rc-tree/es/util.js +2 -0
- package/dist/node_modules/rc-tree/es/util.js.map +1 -0
- package/dist/node_modules/rc-tree/es/utils/conductUtil.js +2 -0
- package/dist/node_modules/rc-tree/es/utils/conductUtil.js.map +1 -0
- package/dist/node_modules/rc-tree/es/utils/treeUtil.js +2 -0
- package/dist/node_modules/rc-tree/es/utils/treeUtil.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/Popup/Mask.js +2 -0
- package/dist/node_modules/rc-trigger/es/Popup/Mask.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/Popup/MobilePopupInner.js +2 -0
- package/dist/node_modules/rc-trigger/es/Popup/MobilePopupInner.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/Popup/PopupInner.js +2 -0
- package/dist/node_modules/rc-trigger/es/Popup/PopupInner.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/Popup/index.js +2 -0
- package/dist/node_modules/rc-trigger/es/Popup/index.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/Popup/useStretchStyle.js +2 -0
- package/dist/node_modules/rc-trigger/es/Popup/useStretchStyle.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/Popup/useVisibleStatus.js +2 -0
- package/dist/node_modules/rc-trigger/es/Popup/useVisibleStatus.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/context.js +2 -0
- package/dist/node_modules/rc-trigger/es/context.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/index.js +2 -0
- package/dist/node_modules/rc-trigger/es/index.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/utils/alignUtil.js +2 -0
- package/dist/node_modules/rc-trigger/es/utils/alignUtil.js.map +1 -0
- package/dist/node_modules/rc-trigger/es/utils/legacyUtil.js +2 -0
- package/dist/node_modules/rc-trigger/es/utils/legacyUtil.js.map +1 -0
- package/dist/node_modules/rc-util/es/Children/toArray.js +2 -0
- package/dist/node_modules/rc-util/es/Children/toArray.js.map +1 -0
- package/dist/node_modules/rc-util/es/Dom/addEventListener.js +2 -0
- package/dist/node_modules/rc-util/es/Dom/addEventListener.js.map +1 -0
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js +2 -0
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js.map +1 -0
- package/dist/node_modules/rc-util/es/Dom/contains.js +2 -0
- package/dist/node_modules/rc-util/es/Dom/contains.js.map +1 -0
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js +2 -0
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js.map +1 -0
- package/dist/node_modules/rc-util/es/Dom/findDOMNode.js +2 -0
- package/dist/node_modules/rc-util/es/Dom/findDOMNode.js.map +1 -0
- package/dist/node_modules/rc-util/es/Dom/focus.js +2 -0
- package/dist/node_modules/rc-util/es/Dom/focus.js.map +1 -0
- package/dist/node_modules/rc-util/es/Dom/isVisible.js +2 -0
- package/dist/node_modules/rc-util/es/Dom/isVisible.js.map +1 -0
- package/dist/node_modules/rc-util/es/KeyCode.js +2 -0
- package/dist/node_modules/rc-util/es/KeyCode.js.map +1 -0
- package/dist/node_modules/rc-util/es/Portal.js +2 -0
- package/dist/node_modules/rc-util/es/Portal.js.map +1 -0
- package/dist/node_modules/rc-util/es/React/render.js +2 -0
- package/dist/node_modules/rc-util/es/React/render.js.map +1 -0
- package/dist/node_modules/rc-util/es/getScrollBarSize.js +2 -0
- package/dist/node_modules/rc-util/es/getScrollBarSize.js.map +1 -0
- package/dist/node_modules/rc-util/es/hooks/useEvent.js +2 -0
- package/dist/node_modules/rc-util/es/hooks/useEvent.js.map +1 -0
- package/dist/node_modules/rc-util/es/hooks/useId.js +2 -0
- package/dist/node_modules/rc-util/es/hooks/useId.js.map +1 -0
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js +2 -0
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js.map +1 -0
- package/dist/node_modules/rc-util/es/hooks/useMemo.js +2 -0
- package/dist/node_modules/rc-util/es/hooks/useMemo.js.map +1 -0
- package/dist/node_modules/rc-util/es/hooks/useMergedState.js +2 -0
- package/dist/node_modules/rc-util/es/hooks/useMergedState.js.map +1 -0
- package/dist/node_modules/rc-util/es/hooks/useState.js +2 -0
- package/dist/node_modules/rc-util/es/hooks/useState.js.map +1 -0
- package/dist/node_modules/rc-util/es/isEqual.js +2 -0
- package/dist/node_modules/rc-util/es/isEqual.js.map +1 -0
- package/dist/node_modules/rc-util/es/isMobile.js +2 -0
- package/dist/node_modules/rc-util/es/isMobile.js.map +1 -0
- package/dist/node_modules/rc-util/es/omit.js +2 -0
- package/dist/node_modules/rc-util/es/omit.js.map +1 -0
- package/dist/node_modules/rc-util/es/pickAttrs.js +2 -0
- package/dist/node_modules/rc-util/es/pickAttrs.js.map +1 -0
- package/dist/node_modules/rc-util/es/raf.js +2 -0
- package/dist/node_modules/rc-util/es/raf.js.map +1 -0
- package/dist/node_modules/rc-util/es/ref.js +2 -0
- package/dist/node_modules/rc-util/es/ref.js.map +1 -0
- package/dist/node_modules/rc-util/es/utils/get.js +2 -0
- package/dist/node_modules/rc-util/es/utils/get.js.map +1 -0
- package/dist/node_modules/rc-util/es/utils/set.js +2 -0
- package/dist/node_modules/rc-util/es/utils/set.js.map +1 -0
- package/dist/node_modules/rc-util/es/warning.js +2 -0
- package/dist/node_modules/rc-util/es/warning.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/Filler.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/Filler.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/Item.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/Item.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/List.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/List.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/ScrollBar.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/ScrollBar.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/index.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/index.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.js.map +1 -0
- package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.js +2 -0
- package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +10 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +10 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +2 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +2 -0
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js.map +1 -0
- package/dist/node_modules/stylis/src/Enum.js +2 -0
- package/dist/node_modules/stylis/src/Enum.js.map +1 -0
- package/dist/node_modules/stylis/src/Middleware.js +2 -0
- package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
- package/dist/node_modules/stylis/src/Parser.js +2 -0
- package/dist/node_modules/stylis/src/Parser.js.map +1 -0
- package/dist/node_modules/stylis/src/Serializer.js +2 -0
- package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +2 -0
- package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
- package/dist/node_modules/stylis/src/Utility.js +2 -0
- package/dist/node_modules/stylis/src/Utility.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +2 -0
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/src/components/ConfigProvider/ConfigProvider.js +2 -0
- package/dist/src/components/ConfigProvider/ConfigProvider.js.map +1 -0
- package/dist/src/components/ConfigProvider/GlobalStyle.js +141 -0
- package/dist/src/components/ConfigProvider/GlobalStyle.js.map +1 -0
- package/dist/src/constants.js +2 -0
- package/dist/src/constants.js.map +1 -0
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -0
- package/package.json +3 -3
- package/dist/cjs/index.js +0 -66
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/esm/index.js +0 -66
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/components/Alert/Alert.d.ts +0 -1
- package/dist/esm/types/components/Alert/index.d.ts +0 -1
- package/dist/esm/types/components/Button/Button.d.ts +0 -1
- package/dist/esm/types/components/Button/Button.stories.d.ts +0 -32
- package/dist/esm/types/components/Button/index.d.ts +0 -1
- package/dist/esm/types/components/Button/test.d.ts +0 -3
- package/dist/esm/types/components/ConfigProvider/ConfigProvider.d.ts +0 -7
- package/dist/esm/types/components/ConfigProvider/GlobalStyle.d.ts +0 -5
- package/dist/esm/types/components/ConfigProvider/index.d.ts +0 -1
- package/dist/esm/types/components/Divider/Divider.d.ts +0 -1
- package/dist/esm/types/components/Divider/index.d.ts +0 -1
- package/dist/esm/types/components/Dropdown/Dropdown.d.ts +0 -1
- package/dist/esm/types/components/Dropdown/index.d.ts +0 -1
- package/dist/esm/types/components/Input/Input.d.ts +0 -1
- package/dist/esm/types/components/Input/index.d.ts +0 -1
- package/dist/esm/types/components/Modal/Modal.d.ts +0 -1
- package/dist/esm/types/components/Modal/index.d.ts +0 -1
- package/dist/esm/types/components/Radio/Radio.d.ts +0 -1
- package/dist/esm/types/components/Radio/index.d.ts +0 -1
- package/dist/esm/types/components/Space/Space.d.ts +0 -1
- package/dist/esm/types/components/Space/index.d.ts +0 -1
- package/dist/esm/types/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/esm/types/components/Tooltip/index.d.ts +0 -1
- package/dist/esm/types/components/index.d.ts +0 -10
- package/dist/esm/types/constants.d.ts +0 -12
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/esm/types/test.d.ts +0 -3
- /package/dist/{cjs/types/components → components}/Alert/Alert.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Alert/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Button/Button.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Button/Button.stories.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Button/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Button/test.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/ConfigProvider/ConfigProvider.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/ConfigProvider/GlobalStyle.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/ConfigProvider/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Divider/Divider.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Divider/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Dropdown/Dropdown.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Dropdown/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Input/Input.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Input/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Modal/Modal.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Modal/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Radio/Radio.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Radio/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Space/Space.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Space/index.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{cjs/types/components → components}/Tooltip/index.d.ts +0 -0
- /package/dist/{cjs/types/constants.d.ts → constants.d.ts} +0 -0
- /package/dist/{cjs/types/test.d.ts → test.d.ts} +0 -0
|
@@ -0,0 +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","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,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EAAMyE,UACtBkD,gBAAiB3H,EAAMyE,WAGzB,CAAC,GAAG8D,YAA6B,CAC/B3F,SAAU,WACV8F,IAAK,EACLhB,eAAgB1H,EAAMiD,uBACtB0F,OAAQ,EACRtD,OAAQ,EACRxC,QAAS,cACToE,WAAY,SACZjC,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]}
|
|
@@ -0,0 +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":["hasPrefixSuffix","props","prefix","suffix","allowClear"],"mappings":"AACO,SAASA,EAAgBC,GAC9B,SAAUA,EAAMC,QAAUD,EAAME,QAAUF,EAAMG,WAClD","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
+
//# sourceMappingURL=Sider.js.map
|
|
@@ -0,0 +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":"wjBAAA,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,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,EAAKC,MACpBA,EAAQ,IAAGC,eACXA,EAAiB,GAAEC,sBACnBA,EAAqBC,WACrBA,EAAUC,WACVA,EAAUC,aACVA,GACEjB,EACJkB,EAAQ/C,EAAO6B,EAAI,CAAC,YAAa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,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]}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
+
//# sourceMappingURL=layout.js.map
|
|
@@ -0,0 +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":"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,MAACW,EAA6BC,EAAMC,cAAc,CAC5DC,UAAW,CACTC,SAAU,IAAM,KAChBC,YAAa,IAAM,QAGvB,SAASC,EAAUC,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vF,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]}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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","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,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f,CAAC,GAAGrD,YAAwB,CAC1B4B,OAAQtB,EACRgD,cAAe/C,EACf4B,MAAO3B,EACP4B,WAAY,GAAG9B,MACfgB,WAAYnB,EAGZ,CAAC,GAAGJ,UAAgB,CAClBqC,WAAY,YAIhB,CAAC,GAAGpC,YAAwB,CAC1BuD,QAAS9C,EACT0B,MAAOlC,EACPa,WACAQ,WAAYlB,GAGd,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]}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
+
//# sourceMappingURL=light.js.map
|
|
@@ -0,0 +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":"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]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sources":["../../../../../node_modules/antd/es/locale/context.js"],"sourcesContent":["import { createContext } from 'react';\nconst LocaleContext = /*#__PURE__*/createContext(undefined);\nexport default LocaleContext;"],"names":["LocaleContext$1","createContext","undefined"],"mappings":"sCAEA,IAAAA,EADmCC,OAAcC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../rc-pagination/es/locale/en_US.js";import a from"../date-picker/locale/en_US.js";import l from"../time-picker/locale/en_US.js";const t="${label} is not a valid ${type}";var r={locale:"en",Pagination:e,DatePicker:a,TimePicker:l,Calendar:a,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:t,method:t,array:t,object:t,number:t,date:t,boolean:t,integer:t,float:t,regexp:t,email:t,url:t,hex:t},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"}};export{r as default};
|
|
2
|
+
//# sourceMappingURL=en_US.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en_US.js","sources":["../../../../../node_modules/antd/es/locale/en_US.js"],"sourcesContent":["/* eslint-disable no-template-curly-in-string */\nimport Pagination from \"rc-pagination/es/locale/en_US\";\nimport Calendar from '../calendar/locale/en_US';\nimport DatePicker from '../date-picker/locale/en_US';\nimport TimePicker from '../time-picker/locale/en_US';\nconst typeTemplate = '${label} is not a valid ${type}';\nconst localeValues = {\n locale: 'en',\n Pagination,\n DatePicker,\n TimePicker,\n Calendar,\n global: {\n placeholder: 'Please select'\n },\n Table: {\n filterTitle: 'Filter menu',\n filterConfirm: 'OK',\n filterReset: 'Reset',\n filterEmptyText: 'No filters',\n filterCheckall: 'Select all items',\n filterSearchPlaceholder: 'Search in filters',\n emptyText: 'No data',\n selectAll: 'Select current page',\n selectInvert: 'Invert current page',\n selectNone: 'Clear all data',\n selectionAll: 'Select all data',\n sortTitle: 'Sort',\n expand: 'Expand row',\n collapse: 'Collapse row',\n triggerDesc: 'Click to sort descending',\n triggerAsc: 'Click to sort ascending',\n cancelSort: 'Click to cancel sorting'\n },\n Tour: {\n Next: 'Next',\n Previous: 'Previous',\n Finish: 'Finish'\n },\n Modal: {\n okText: 'OK',\n cancelText: 'Cancel',\n justOkText: 'OK'\n },\n Popconfirm: {\n okText: 'OK',\n cancelText: 'Cancel'\n },\n Transfer: {\n titles: ['', ''],\n searchPlaceholder: 'Search here',\n itemUnit: 'item',\n itemsUnit: 'items',\n remove: 'Remove',\n selectCurrent: 'Select current page',\n removeCurrent: 'Remove current page',\n selectAll: 'Select all data',\n removeAll: 'Remove all data',\n selectInvert: 'Invert current page'\n },\n Upload: {\n uploading: 'Uploading...',\n removeFile: 'Remove file',\n uploadError: 'Upload error',\n previewFile: 'Preview file',\n downloadFile: 'Download file'\n },\n Empty: {\n description: 'No data'\n },\n Icon: {\n icon: 'icon'\n },\n Text: {\n edit: 'Edit',\n copy: 'Copy',\n copied: 'Copied',\n expand: 'Expand'\n },\n PageHeader: {\n back: 'Back'\n },\n Form: {\n optional: '(optional)',\n defaultValidateMessages: {\n default: 'Field validation error for ${label}',\n required: 'Please enter ${label}',\n enum: '${label} must be one of [${enum}]',\n whitespace: '${label} cannot be a blank character',\n date: {\n format: '${label} date format is invalid',\n parse: '${label} cannot be converted to a date',\n invalid: '${label} is an invalid date'\n },\n types: {\n string: typeTemplate,\n method: typeTemplate,\n array: typeTemplate,\n object: typeTemplate,\n number: typeTemplate,\n date: typeTemplate,\n boolean: typeTemplate,\n integer: typeTemplate,\n float: typeTemplate,\n regexp: typeTemplate,\n email: typeTemplate,\n url: typeTemplate,\n hex: typeTemplate\n },\n string: {\n len: '${label} must be ${len} characters',\n min: '${label} must be at least ${min} characters',\n max: '${label} must be up to ${max} characters',\n range: '${label} must be between ${min}-${max} characters'\n },\n number: {\n len: '${label} must be equal to ${len}',\n min: '${label} must be minimum ${min}',\n max: '${label} must be maximum ${max}',\n range: '${label} must be between ${min}-${max}'\n },\n array: {\n len: 'Must be ${len} ${label}',\n min: 'At least ${min} ${label}',\n max: 'At most ${max} ${label}',\n range: 'The amount of ${label} must be between ${min}-${max}'\n },\n pattern: {\n mismatch: '${label} does not match the pattern ${pattern}'\n }\n }\n },\n Image: {\n preview: 'Preview'\n },\n QRCode: {\n expired: 'QR code expired',\n refresh: 'Refresh'\n }\n};\nexport default localeValues;"],"names":["typeTemplate","defaultLocale","locale","Pagination","DatePicker","TimePicker","Calendar","global","placeholder","Table","filterTitle","filterConfirm","filterReset","filterEmptyText","filterCheckall","filterSearchPlaceholder","emptyText","selectAll","selectInvert","selectNone","selectionAll","sortTitle","expand","collapse","triggerDesc","triggerAsc","cancelSort","Tour","Next","Previous","Finish","Modal","okText","cancelText","justOkText","Popconfirm","Transfer","titles","searchPlaceholder","itemUnit","itemsUnit","remove","selectCurrent","removeCurrent","removeAll","Upload","uploading","removeFile","uploadError","previewFile","downloadFile","Empty","description","Icon","icon","Text","edit","copy","copied","PageHeader","back","Form","optional","defaultValidateMessages","default","required","enum","whitespace","date","format","parse","invalid","types","string","method","array","object","number","boolean","integer","float","regexp","email","url","hex","len","min","max","range","pattern","mismatch","Image","preview","QRCode","expired","refresh"],"mappings":"qJAKA,MAAMA,EAAe,kCAu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GAEPyE,OAAQ,CACNY,IAAK,qCACLC,IAAK,8CACLC,IAAK,2CACLC,MAAO,qDAETX,OAAQ,CACNQ,IAAK,mCACLC,IAAK,kCACLC,IAAK,kCACLC,MAAO,0CAETb,MAAO,CACLU,IAAK,0BACLC,IAAK,2BACLC,IAAK,0BACLC,MAAO,wDAETC,QAAS,CACPC,SAAU,oDAIhBC,MAAO,CACLC,QAAS,WAEXC,OAAQ,CACNC,QAAS,kBACTC,QAAS","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as e from"react";import o from"../_util/warning.js";import{changeConfirmLocale as r}from"../modal/locale.js";import t from"./context.js";const a="internalMark",s=s=>{const{locale:i={},children:c,_ANT_MARK__:n}=s;"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&o(n===a,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),e.useEffect((()=>(r(i&&i.Modal),()=>{r()})),[i]);const l=e.useMemo((()=>Object.assign(Object.assign({},i),{exist:!0})),[i]);return e.createElement(t.Provider,{value:l},c)};"production"!==process.env.NODE_ENV&&(s.displayName="LocaleProvider");var i=s;export{a as ANT_MARK,i as default};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/locale/index.js"],"sourcesContent":["import * as React from 'react';\nimport warning from '../_util/warning';\nimport { changeConfirmLocale } from '../modal/locale';\nimport LocaleContext from './context';\nexport const ANT_MARK = 'internalMark';\nconst LocaleProvider = props => {\n const {\n locale = {},\n children,\n _ANT_MARK__\n } = props;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(_ANT_MARK__ === ANT_MARK, 'LocaleProvider', '`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale') : void 0;\n }\n React.useEffect(() => {\n changeConfirmLocale(locale && locale.Modal);\n return () => {\n changeConfirmLocale();\n };\n }, [locale]);\n const getMemoizedContextValue = React.useMemo(() => Object.assign(Object.assign({}, locale), {\n exist: true\n }), [locale]);\n return /*#__PURE__*/React.createElement(LocaleContext.Provider, {\n value: getMemoizedContextValue\n }, children);\n};\nif (process.env.NODE_ENV !== 'production') {\n LocaleProvider.displayName = 'LocaleProvider';\n}\nexport default LocaleProvider;"],"names":["ANT_MARK","LocaleProvider","props","locale","children","_ANT_MARK__","process","env","NODE_ENV","warning","React","useEffect","changeConfirmLocale","Modal","getMemoizedContextValue","useMemo","Object","assign","exist","createElement","LocaleContext","Provider","value","displayName","LocaleProvider$1"],"mappings":"gJAIY,MAACA,EAAW,eAClBC,EAAiBC,IACrB,MAAMC,OACJA,EAAS,CAAE,EAAAC,SACXA,EAAQC,YACRA,GACEH,EACyB,eAAzBI,QAAQC,IAAIC,UACW,eAAzBF,QAAQC,IAAIC,UAA4BC,EAAQJ,IAAgBL,EAAU,iBAAkB,iHAE9FU,EAAMC,WAAU,KACdC,EAAoBT,GAAUA,EAAOU,OAC9B,KACLD,GAAqB,IAEtB,CAACT,IACJ,MAAMW,EAA0BJ,EAAMK,SAAQ,IAAMC,OAAOC,OAAOD,OAAOC,OAAO,GAAId,GAAS,CAC3Fe,OAAO,KACL,CAACf,IACL,OAAoBO,EAAMS,cAAcC,EAAcC,SAAU,CAC9DC,MAAOR,GACNV,EAAS,EAEe,eAAzBE,QAAQC,IAAIC,WACdP,EAAesB,YAAc,kBAE/B,IAAAC,EAAevB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as o from"react";import t from"./context.js";import e from"./en_US.js";var n=(n,r)=>{const s=o.useContext(t);return[o.useMemo((()=>{var o;const t=r||e[n],l=null!==(o=null==s?void 0:s[n])&&void 0!==o?o:{};return Object.assign(Object.assign({},"function"==typeof t?t():t),l||{})}),[n,r,s]),o.useMemo((()=>{const o=null==s?void 0:s.locale;return(null==s?void 0:s.exist)&&!o?e.locale:o}),[s])]};export{n as default};
|
|
2
|
+
//# sourceMappingURL=useLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLocale.js","sources":["../../../../../node_modules/antd/es/locale/useLocale.js"],"sourcesContent":["import * as React from 'react';\nimport LocaleContext from './context';\nimport defaultLocaleData from './en_US';\nconst useLocale = (componentName, defaultLocale) => {\n const fullLocale = React.useContext(LocaleContext);\n const getLocale = React.useMemo(() => {\n var _a;\n const locale = defaultLocale || defaultLocaleData[componentName];\n const localeFromContext = (_a = fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale[componentName]) !== null && _a !== void 0 ? _a : {};\n return Object.assign(Object.assign({}, typeof locale === 'function' ? locale() : locale), localeFromContext || {});\n }, [componentName, defaultLocale, fullLocale]);\n const getLocaleCode = React.useMemo(() => {\n const localeCode = fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale.locale;\n // Had use LocaleProvide but didn't set locale\n if ((fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale.exist) && !localeCode) {\n return defaultLocaleData.locale;\n }\n return localeCode;\n }, [fullLocale]);\n return [getLocale, getLocaleCode];\n};\nexport default useLocale;"],"names":["useLocale$1","componentName","defaultLocale","fullLocale","React","useContext","LocaleContext","useMemo","_a","locale","defaultLocaleData","localeFromContext","Object","assign","localeCode","exist"],"mappings":"8EAqBA,IAAAA,EAlBkB,CAACC,EAAeC,KAChC,MAAMC,EAAaC,EAAMC,WAAWC,GAepC,MAAO,CAdWF,EAAMG,SAAQ,KAC9B,IAAIC,EACJ,MAAMC,EAASP,GAAiBQ,EAAkBT,GAC5CU,EAAiH,QAA5FH,EAAKL,aAA+C,EAASA,EAAWF,UAAmC,IAAPO,EAAgBA,EAAK,GACpJ,OAAOI,OAAOC,OAAOD,OAAOC,OAAO,CAAE,EAAoB,mBAAXJ,EAAwBA,IAAWA,GAASE,GAAqB,CAAE,EAAC,GACjH,CAACV,EAAeC,EAAeC,IACZC,EAAMG,SAAQ,KAClC,MAAMO,EAAaX,aAA+C,EAASA,EAAWM,OAEtF,OAAKN,aAA+C,EAASA,EAAWY,SAAWD,EAC1EJ,EAAkBD,OAEpBK,CAAU,GAChB,CAACX,IAC6B","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuContext.js","sources":["../../../../../node_modules/antd/es/menu/MenuContext.js"],"sourcesContent":["import { createContext } from 'react';\nconst MenuContext = /*#__PURE__*/createContext({\n prefixCls: '',\n firstLevel: true,\n inlineCollapsed: false\n});\nexport default MenuContext;"],"names":["MenuContext$1","createContext","prefixCls","firstLevel","inlineCollapsed"],"mappings":"sCAMA,IAAAA,EALiCC,EAAc,CAC7CC,UAAW,GACXC,YAAY,EACZC,iBAAiB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../classnames/index.js";import"../../../rc-menu/es/index.js";import*as r from"react";import"../config-provider/index.js";import{ConfigContext as t}from"../config-provider/context.js";import o from"../../../rc-menu/es/Divider.js";var s=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)r.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(t[o[s]]=e[o[s]])}return t};var n=n=>{const{prefixCls:i,className:a,dashed:m}=n,c=s(n,["prefixCls","className","dashed"]),{getPrefixCls:p}=r.useContext(t),l=p("menu",i),f=e({[`${l}-item-divider-dashed`]:!!m},a);return r.createElement(o,Object.assign({className:f},c))};export{n as default};
|
|
2
|
+
//# sourceMappingURL=MenuDivider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuDivider.js","sources":["../../../../../node_modules/antd/es/menu/MenuDivider.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { Divider } from 'rc-menu';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nconst MenuDivider = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n dashed\n } = props,\n restProps = __rest(props, [\"prefixCls\", \"className\", \"dashed\"]);\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('menu', customizePrefixCls);\n const classString = classNames({\n [`${prefixCls}-item-divider-dashed`]: !!dashed\n }, className);\n return /*#__PURE__*/React.createElement(Divider, Object.assign({\n className: classString\n }, restProps));\n};\nexport default MenuDivider;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","MenuDivider$1","props","prefixCls","customizePrefixCls","className","dashed","restProps","getPrefixCls","React","useContext","ConfigContext","classString","classNames","createElement","Divider","assign"],"mappings":"yPAAA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAuBA,IAAAW,EAlBoBC,IAClB,MACIC,UAAWC,EAAkBC,UAC7BA,EAASC,OACTA,GACEJ,EACJK,EAAYpB,EAAOe,EAAO,CAAC,YAAa,YAAa,YACjDM,aACJA,GACEC,EAAMC,WAAWC,GACfR,EAAYK,EAAa,OAAQJ,GACjCQ,EAAcC,EAAW,CAC7B,CAAC,GAAGV,2BAAoCG,GACvCD,GACH,OAAoBI,EAAMK,cAAcC,EAASvB,OAAOwB,OAAO,CAC7DX,UAAWO,GACVL,GAAW","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../classnames/index.js";import"../../../rc-menu/es/index.js";import t from"../../../rc-util/es/Children/toArray.js";import i from"../../../rc-util/es/omit.js";import*as o from"react";import{SiderContext as l}from"../layout/Sider.js";import r from"../tooltip/index.js";import{cloneElement as s,isValidElement as n}from"../_util/reactNode.js";import a from"./MenuContext.js";import m from"../../../rc-menu/es/MenuItem.js";var c=c=>{var p;const{className:d,children:u,icon:f,title:j,danger:g}=c,{prefixCls:v,firstLevel:x,direction:C,disableMenuItemTitleTooltip:N,inlineCollapsed:y}=o.useContext(a),{siderCollapsed:h}=o.useContext(l);let $=j;void 0===j?$=x?u:"":!1===j&&($="");const E={title:$};h||y||(E.title=null,E.open=!1);const b=t(u).length;let M=o.createElement(m,Object.assign({},i(c,["title","icon","danger"]),{className:e({[`${v}-item-danger`]:g,[`${v}-item-only-child`]:1===(f?b+1:b)},d),title:"string"==typeof j?j:void 0}),s(f,{className:e(n(f)?null===(p=f.props)||void 0===p?void 0:p.className:"",`${v}-item-icon`)}),(e=>{const t=o.createElement("span",{className:`${v}-title-content`},u);return(!f||n(u)&&"span"===u.type)&&u&&e&&x&&"string"==typeof u?o.createElement("div",{className:`${v}-inline-collapsed-noicon`},u.charAt(0)):t})(y));return N||(M=o.createElement(r,Object.assign({},E,{placement:"rtl"===C?"left":"right",overlayClassName:`${v}-inline-collapsed-tooltip`}),M)),M};export{c as default};
|
|
2
|
+
//# sourceMappingURL=MenuItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItem.js","sources":["../../../../../node_modules/antd/es/menu/MenuItem.js"],"sourcesContent":["import classNames from 'classnames';\nimport { Item } from 'rc-menu';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { SiderContext } from '../layout/Sider';\nimport Tooltip from '../tooltip';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport MenuContext from './MenuContext';\nconst MenuItem = props => {\n var _a;\n const {\n className,\n children,\n icon,\n title,\n danger\n } = props;\n const {\n prefixCls,\n firstLevel,\n direction,\n disableMenuItemTitleTooltip,\n inlineCollapsed: isInlineCollapsed\n } = React.useContext(MenuContext);\n const renderItemChildren = inlineCollapsed => {\n const wrapNode = /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-title-content`\n }, children);\n // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n // ref: https://github.com/ant-design/ant-design/pull/23456\n if (!icon || isValidElement(children) && children.type === 'span') {\n if (children && inlineCollapsed && firstLevel && typeof children === 'string') {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-inline-collapsed-noicon`\n }, children.charAt(0));\n }\n }\n return wrapNode;\n };\n const {\n siderCollapsed\n } = React.useContext(SiderContext);\n let tooltipTitle = title;\n if (typeof title === 'undefined') {\n tooltipTitle = firstLevel ? children : '';\n } else if (title === false) {\n tooltipTitle = '';\n }\n const tooltipProps = {\n title: tooltipTitle\n };\n if (!siderCollapsed && !isInlineCollapsed) {\n tooltipProps.title = null;\n // Reset `open` to fix control mode tooltip display not correct\n // ref: https://github.com/ant-design/ant-design/issues/16742\n tooltipProps.open = false;\n }\n const childrenLength = toArray(children).length;\n let returnNode = /*#__PURE__*/React.createElement(Item, Object.assign({}, omit(props, ['title', 'icon', 'danger']), {\n className: classNames({\n [`${prefixCls}-item-danger`]: danger,\n [`${prefixCls}-item-only-child`]: (icon ? childrenLength + 1 : childrenLength) === 1\n }, className),\n title: typeof title === 'string' ? title : undefined\n }), cloneElement(icon, {\n className: classNames(isValidElement(icon) ? (_a = icon.props) === null || _a === void 0 ? void 0 : _a.className : '', `${prefixCls}-item-icon`)\n }), renderItemChildren(isInlineCollapsed));\n if (!disableMenuItemTitleTooltip) {\n returnNode = /*#__PURE__*/React.createElement(Tooltip, Object.assign({}, tooltipProps, {\n placement: direction === 'rtl' ? 'left' : 'right',\n overlayClassName: `${prefixCls}-inline-collapsed-tooltip`\n }), returnNode);\n }\n return returnNode;\n};\nexport default MenuItem;"],"names":["Item","props","_a","className","children","icon","title","danger","prefixCls","firstLevel","direction","disableMenuItemTitleTooltip","inlineCollapsed","isInlineCollapsed","React","useContext","MenuContext","siderCollapsed","SiderContext","tooltipTitle","tooltipProps","open","childrenLength","toArray","length","returnNode","createElement","Object","assign","omit","classNames","undefined","cloneElement","isValidElement","wrapNode","type","charAt","renderItemChildren","Tooltip","placement","overlayClassName"],"mappings":"wbA4EA,IAAAA,EAnEiBC,IACf,IAAIC,EACJ,MAAMC,UACJA,EAASC,SACTA,EAAQC,KACRA,EAAIC,MACJA,EAAKC,OACLA,GACEN,GACEO,UACJA,EAASC,WACTA,EAAUC,UACVA,EAASC,4BACTA,EACAC,gBAAiBC,GACfC,EAAMC,WAAWC,IAgBfC,eACJA,GACEH,EAAMC,WAAWG,GACrB,IAAIC,EAAeb,OACE,IAAVA,EACTa,EAAeV,EAAaL,EAAW,IACpB,IAAVE,IACTa,EAAe,IAEjB,MAAMC,EAAe,CACnBd,MAAOa,GAEJF,GAAmBJ,IACtBO,EAAad,MAAQ,KAGrBc,EAAaC,MAAO,GAEtB,MAAMC,EAAiBC,EAAQnB,GAAUoB,OACzC,IAAIC,EAA0BX,EAAMY,cAAc1B,EAAM2B,OAAOC,OAAO,CAAE,EAAEC,EAAK5B,EAAO,CAAC,QAAS,OAAQ,WAAY,CAClHE,UAAW2B,EAAW,CACpB,CAAC,GAAGtB,iBAA0BD,EAC9B,CAAC,GAAGC,qBAA+E,KAAhDH,EAAOiB,EAAiB,EAAIA,IAC9DnB,GACHG,MAAwB,iBAAVA,EAAqBA,OAAQyB,IACzCC,EAAa3B,EAAM,CACrBF,UAAW2B,EAAWG,EAAe5B,GAA8B,QAArBH,EAAKG,EAAKJ,aAA0B,IAAPC,OAAgB,EAASA,EAAGC,UAAY,GAAI,GAAGK,iBAzCjGI,KACzB,MAAMsB,EAAwBpB,EAAMY,cAAc,OAAQ,CACxDvB,UAAW,GAAGK,mBACbJ,GAGH,QAAKC,GAAQ4B,EAAe7B,IAA+B,SAAlBA,EAAS+B,OAC5C/B,GAAYQ,GAAmBH,GAAkC,iBAAbL,EAClCU,EAAMY,cAAc,MAAO,CAC7CvB,UAAW,GAAGK,6BACbJ,EAASgC,OAAO,IAGhBF,CAAQ,EA6BbG,CAAmBxB,IAOvB,OANKF,IACHc,EAA0BX,EAAMY,cAAcY,EAASX,OAAOC,OAAO,CAAE,EAAER,EAAc,CACrFmB,UAAyB,QAAd7B,EAAsB,OAAS,QAC1C8B,iBAAkB,GAAGhC,+BACnBiB,IAECA,CAAU","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as e from"react";var t=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const r=e.createContext(null),n=n=>{const{children:o}=n,l=t(n,["children"]),a=e.useContext(r),c=e.useMemo((()=>Object.assign(Object.assign({},a),l)),[a,l.prefixCls,l.mode,l.selectable]);return e.createElement(r.Provider,{value:c},o)};export{n as OverrideProvider,r as default};
|
|
2
|
+
//# sourceMappingURL=OverrideContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverrideContext.js","sources":["../../../../../node_modules/antd/es/menu/OverrideContext.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 * as React from 'react';\n/** @internal Only used for Dropdown component. Do not use this in your production. */\nconst OverrideContext = /*#__PURE__*/React.createContext(null);\n/** @internal Only used for Dropdown component. Do not use this in your production. */\nexport const OverrideProvider = props => {\n const {\n children\n } = props,\n restProps = __rest(props, [\"children\"]);\n const override = React.useContext(OverrideContext);\n const context = React.useMemo(() => Object.assign(Object.assign({}, override), restProps), [override, restProps.prefixCls,\n // restProps.expandIcon, Not mark as deps since this is a ReactNode\n restProps.mode, restProps.selectable\n // restProps.validator, Not mark as deps since this is a function\n ]);\n\n return /*#__PURE__*/React.createElement(OverrideContext.Provider, {\n value: context\n }, children);\n};\nexport default OverrideContext;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","OverrideContext","React","createContext","OverrideProvider","props","children","restProps","override","useContext","context","useMemo","assign","prefixCls","mode","selectable","createElement","Provider","value"],"mappings":"wBAAA,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,EAGK,MAACW,EAA+BC,EAAMC,cAAc,MAE5CC,EAAmBC,IAC9B,MAAMC,SACFA,GACED,EACJE,EAAYpB,EAAOkB,EAAO,CAAC,aACvBG,EAAWN,EAAMO,WAAWR,GAC5BS,EAAUR,EAAMS,SAAQ,IAAMnB,OAAOoB,OAAOpB,OAAOoB,OAAO,CAAE,EAAEJ,GAAWD,IAAY,CAACC,EAAUD,EAAUM,UAEhHN,EAAUO,KAAMP,EAAUQ,aAI1B,OAAoBb,EAAMc,cAAcf,EAAgBgB,SAAU,CAChEC,MAAOR,GACNJ,EAAS","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../classnames/index.js";import"../../../rc-menu/es/index.js";import t from"../../../rc-util/es/omit.js";import*as s from"react";import{isValidElement as n,cloneElement as o}from"../_util/reactNode.js";import a from"./MenuContext.js";import{useFullPath as r}from"../../../rc-menu/es/context/PathContext.js";import i from"../../../rc-menu/es/SubMenu/index.js";var m=m=>{var l;const{popupClassName:c,icon:p,title:u,theme:f}=m,d=s.useContext(a),{prefixCls:j,inlineCollapsed:x,theme:v,mode:N}=d,C=r();let g;if(p){const t=n(u)&&"span"===u.type;g=s.createElement(s.Fragment,null,o(p,{className:e(n(p)?null===(l=p.props)||void 0===l?void 0:l.className:"",`${j}-item-icon`)}),t?u:s.createElement("span",{className:`${j}-title-content`},u))}else g=x&&!C.length&&u&&"string"==typeof u?s.createElement("div",{className:`${j}-inline-collapsed-noicon`},u.charAt(0)):s.createElement("span",{className:`${j}-title-content`},u);const h=s.useMemo((()=>Object.assign(Object.assign({},d),{firstLevel:!1})),[d]),E="horizontal"===N?[0,8]:[10,0];return s.createElement(a.Provider,{value:h},s.createElement(i,Object.assign({popupOffset:E},t(m,["icon"]),{title:g,popupClassName:e(j,c,`${j}-${f||v}`)})))};export{m as default};
|
|
2
|
+
//# sourceMappingURL=SubMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubMenu.js","sources":["../../../../../node_modules/antd/es/menu/SubMenu.js"],"sourcesContent":["import classNames from 'classnames';\nimport { SubMenu as RcSubMenu, useFullPath } from 'rc-menu';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport MenuContext from './MenuContext';\nconst SubMenu = props => {\n var _a;\n const {\n popupClassName,\n icon,\n title,\n theme: customTheme\n } = props;\n const context = React.useContext(MenuContext);\n const {\n prefixCls,\n inlineCollapsed,\n theme: contextTheme,\n mode\n } = context;\n const parentPath = useFullPath();\n let titleNode;\n if (!icon) {\n titleNode = inlineCollapsed && !parentPath.length && title && typeof title === 'string' ? /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-inline-collapsed-noicon`\n }, title.charAt(0)) : /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-title-content`\n }, title);\n } else {\n // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n // ref: https://github.com/ant-design/ant-design/pull/23456\n const titleIsSpan = isValidElement(title) && title.type === 'span';\n titleNode = /*#__PURE__*/React.createElement(React.Fragment, null, cloneElement(icon, {\n className: classNames(isValidElement(icon) ? (_a = icon.props) === null || _a === void 0 ? void 0 : _a.className : '', `${prefixCls}-item-icon`)\n }), titleIsSpan ? title : /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-title-content`\n }, title));\n }\n const contextValue = React.useMemo(() => Object.assign(Object.assign({}, context), {\n firstLevel: false\n }), [context]);\n const popupOffset = mode === 'horizontal' ? [0, 8] : [10, 0];\n return /*#__PURE__*/React.createElement(MenuContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(RcSubMenu, Object.assign({\n popupOffset: popupOffset\n }, omit(props, ['icon']), {\n title: titleNode,\n popupClassName: classNames(prefixCls, popupClassName, `${prefixCls}-${customTheme || contextTheme}`)\n })));\n};\nexport default SubMenu;"],"names":["SubMenu$1","props","_a","popupClassName","icon","title","theme","customTheme","context","React","useContext","MenuContext","prefixCls","inlineCollapsed","contextTheme","mode","parentPath","useFullPath","titleNode","titleIsSpan","isValidElement","type","createElement","Fragment","cloneElement","className","classNames","length","charAt","contextValue","useMemo","Object","assign","firstLevel","popupOffset","Provider","value","RcSubMenu","omit"],"mappings":"0XAoDA,IAAAA,EA9CgBC,IACd,IAAIC,EACJ,MAAMC,eACJA,EAAcC,KACdA,EAAIC,MACJA,EACAC,MAAOC,GACLN,EACEO,EAAUC,EAAMC,WAAWC,IAC3BC,UACJA,EAASC,gBACTA,EACAP,MAAOQ,EAAYC,KACnBA,GACEP,EACEQ,EAAaC,IACnB,IAAIC,EACJ,GAAKd,EAME,CAGL,MAAMe,EAAcC,EAAef,IAAyB,SAAfA,EAAMgB,KACnDH,EAAyBT,EAAMa,cAAcb,EAAMc,SAAU,KAAMC,EAAapB,EAAM,CACpFqB,UAAWC,EAAWN,EAAehB,GAA8B,QAArBF,EAAKE,EAAKH,aAA0B,IAAPC,OAAgB,EAASA,EAAGuB,UAAY,GAAI,GAAGb,iBACxHO,EAAcd,EAAqBI,EAAMa,cAAc,OAAQ,CACjEG,UAAW,GAAGb,mBACbP,GACJ,MAdCa,EAAYL,IAAoBG,EAAWW,QAAUtB,GAA0B,iBAAVA,EAAkCI,EAAMa,cAAc,MAAO,CAChIG,UAAW,GAAGb,6BACbP,EAAMuB,OAAO,IAAmBnB,EAAMa,cAAc,OAAQ,CAC7DG,UAAW,GAAGb,mBACbP,GAWL,MAAMwB,EAAepB,EAAMqB,SAAQ,IAAMC,OAAOC,OAAOD,OAAOC,OAAO,GAAIxB,GAAU,CACjFyB,YAAY,KACV,CAACzB,IACC0B,EAAuB,eAATnB,EAAwB,CAAC,EAAG,GAAK,CAAC,GAAI,GAC1D,OAAoBN,EAAMa,cAAcX,EAAYwB,SAAU,CAC5DC,MAAOP,GACOpB,EAAMa,cAAce,EAAWN,OAAOC,OAAO,CAC3DE,YAAaA,GACZI,EAAKrC,EAAO,CAAC,SAAU,CACxBI,MAAOa,EACPf,eAAgBuB,EAAWd,EAAWT,EAAgB,GAAGS,KAAaL,GAAeO,QACnF","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../../../rc-menu/es/index.js";import*as e from"react";import t from"../MenuDivider.js";import r from"../MenuItem.js";import n from"../SubMenu.js";import o from"../../../../rc-menu/es/MenuItemGroup.js";var i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function l(c){return(c||[]).map(((c,m)=>{if(c&&"object"==typeof c){const p=c,{label:u,children:a,key:s,type:f}=p,y=i(p,["label","children","key","type"]),b=null!=s?s:`tmp-${m}`;return a||"group"===f?"group"===f?e.createElement(o,Object.assign({key:b},y,{title:u}),l(a)):e.createElement(n,Object.assign({key:b},y,{title:u}),l(a)):"divider"===f?e.createElement(t,Object.assign({key:b},y)):e.createElement(r,Object.assign({key:b},y),u)}return null})).filter((e=>e))}function c(t){return e.useMemo((()=>t?l(t):t),[t])}export{c as default};
|
|
2
|
+
//# sourceMappingURL=useItems.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useItems.js","sources":["../../../../../../node_modules/antd/es/menu/hooks/useItems.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 { ItemGroup } from 'rc-menu';\nimport * as React from 'react';\nimport MenuDivider from '../MenuDivider';\nimport MenuItem from '../MenuItem';\nimport SubMenu from '../SubMenu';\nfunction convertItemsToNodes(list) {\n return (list || []).map((opt, index) => {\n if (opt && typeof opt === 'object') {\n const _a = opt,\n {\n label,\n children,\n key,\n type\n } = _a,\n restProps = __rest(_a, [\"label\", \"children\", \"key\", \"type\"]);\n const mergedKey = key !== null && key !== void 0 ? key : `tmp-${index}`;\n // MenuItemGroup & SubMenuItem\n if (children || type === 'group') {\n if (type === 'group') {\n // Group\n return /*#__PURE__*/React.createElement(ItemGroup, Object.assign({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n }\n // Sub Menu\n return /*#__PURE__*/React.createElement(SubMenu, Object.assign({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n }\n // MenuItem & Divider\n if (type === 'divider') {\n return /*#__PURE__*/React.createElement(MenuDivider, Object.assign({\n key: mergedKey\n }, restProps));\n }\n return /*#__PURE__*/React.createElement(MenuItem, Object.assign({\n key: mergedKey\n }, restProps), label);\n }\n return null;\n }).filter(opt => opt);\n}\n// FIXME: Move logic here in v5\n/**\n * We simply convert `items` to ReactNode for reuse origin component logic. But we need move all the\n * logic from component into this hooks when in v5\n */\nexport default function useItems(items) {\n return React.useMemo(() => {\n if (!items) {\n return items;\n }\n return convertItemsToNodes(items);\n }, [items]);\n}"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","convertItemsToNodes","list","map","opt","index","_a","label","children","key","type","restProps","mergedKey","React","createElement","ItemGroup","assign","title","SubMenu","MenuDivider","MenuItem","filter","useItems","items","useMemo"],"mappings":"mNAAA,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,EAMA,SAASW,EAAoBC,GAC3B,OAAQA,GAAQ,IAAIC,KAAI,CAACC,EAAKC,KAC5B,GAAID,GAAsB,iBAARA,EAAkB,CAClC,MAAME,EAAKF,GACTG,MACEA,EAAKC,SACLA,EAAQC,IACRA,EAAGC,KACHA,GACEJ,EACJK,EAAYxB,EAAOmB,EAAI,CAAC,QAAS,WAAY,MAAO,SAChDM,EAAYH,QAAiCA,EAAM,OAAOJ,IAEhE,OAAIG,GAAqB,UAATE,EACD,UAATA,EAEkBG,EAAMC,cAAcC,EAAWvB,OAAOwB,OAAO,CAC/DP,IAAKG,GACJD,EAAW,CACZM,MAAOV,IACLN,EAAoBO,IAGNK,EAAMC,cAAcI,EAAS1B,OAAOwB,OAAO,CAC7DP,IAAKG,GACJD,EAAW,CACZM,MAAOV,IACLN,EAAoBO,IAGb,YAATE,EACkBG,EAAMC,cAAcK,EAAa3B,OAAOwB,OAAO,CACjEP,IAAKG,GACJD,IAEeE,EAAMC,cAAcM,EAAU5B,OAAOwB,OAAO,CAC9DP,IAAKG,GACJD,GAAYJ,EAChB,CACD,OAAO,IAAI,IACVc,QAAOjB,GAAOA,GACnB,CAMe,SAASkB,EAASC,GAC/B,OAAOV,EAAMW,SAAQ,IACdD,EAGEtB,EAAoBsB,GAFlBA,GAGR,CAACA,GACN","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../../rc-menu/es/index.js";import*as r from"react";import{forwardRef as e,useRef as o,useImperativeHandle as t}from"react";import m from"./menu.js";import{SiderContext as u}from"../layout/Sider.js";import n from"./MenuDivider.js";import s from"./MenuItem.js";import i from"./SubMenu.js";import p from"../../../rc-menu/es/MenuItemGroup.js";const c=e(((e,n)=>{const s=o(null),i=r.useContext(u);return t(n,(()=>({menu:s.current,focus:r=>{var e;null===(e=s.current)||void 0===e||e.focus(r)}}))),r.createElement(m,Object.assign({ref:s},e,i))}));c.Item=s,c.SubMenu=i,c.Divider=n,c.ItemGroup=p,"production"!==process.env.NODE_ENV&&(c.displayName="Menu");var a=c;export{a as default};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/menu/index.js"],"sourcesContent":["import { ItemGroup } from 'rc-menu';\nimport * as React from 'react';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport InternalMenu from './menu';\nimport { SiderContext } from '../layout/Sider';\nimport MenuDivider from './MenuDivider';\nimport Item from './MenuItem';\nimport SubMenu from './SubMenu';\nconst Menu = /*#__PURE__*/forwardRef((props, ref) => {\n const menuRef = useRef(null);\n const context = React.useContext(SiderContext);\n useImperativeHandle(ref, () => ({\n menu: menuRef.current,\n focus: options => {\n var _a;\n (_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.focus(options);\n }\n }));\n return /*#__PURE__*/React.createElement(InternalMenu, Object.assign({\n ref: menuRef\n }, props, context));\n});\nMenu.Item = Item;\nMenu.SubMenu = SubMenu;\nMenu.Divider = MenuDivider;\nMenu.ItemGroup = ItemGroup;\nif (process.env.NODE_ENV !== 'production') {\n Menu.displayName = 'Menu';\n}\nexport default Menu;"],"names":["Menu","forwardRef","props","ref","menuRef","useRef","context","React","useContext","SiderContext","useImperativeHandle","menu","current","focus","options","_a","createElement","InternalMenu","Object","assign","Item","SubMenu","Divider","MenuDivider","ItemGroup","process","env","NODE_ENV","displayName","Menu$1"],"mappings":"6VAQA,MAAMA,EAAoBC,GAAW,CAACC,EAAOC,KAC3C,MAAMC,EAAUC,EAAO,MACjBC,EAAUC,EAAMC,WAAWC,GAQjC,OAPAC,EAAoBP,GAAK,KAAO,CAC9BQ,KAAMP,EAAQQ,QACdC,MAAOC,IACL,IAAIC,EACuB,QAA1BA,EAAKX,EAAQQ,eAA4B,IAAPG,GAAyBA,EAAGF,MAAMC,EAAQ,MAG7DP,EAAMS,cAAcC,EAAcC,OAAOC,OAAO,CAClEhB,IAAKC,GACJF,EAAOI,GAAS,IAErBN,EAAKoB,KAAOA,EACZpB,EAAKqB,QAAUA,EACfrB,EAAKsB,QAAUC,EACfvB,EAAKwB,UAAYA,EACY,eAAzBC,QAAQC,IAAIC,WACd3B,EAAK4B,YAAc,QAErB,IAAAC,EAAe7B","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../rc-menu/es/index.js";import*as o from"react";import{forwardRef as i}from"react";import n from"../../../rc-util/es/omit.js";import l from"../../../rc-util/es/hooks/useEvent.js";import t from"../../../classnames/index.js";import r from"../../../@ant-design/icons/es/icons/EllipsisOutlined.js";import s from"../_util/warning.js";import a from"../_util/motion.js";import{cloneElement as m}from"../_util/reactNode.js";import"../config-provider/index.js";import d from"./style/index.js";import p from"./OverrideContext.js";import c from"./hooks/useItems.js";import u from"./MenuContext.js";import{ConfigContext as f}from"../config-provider/context.js";var v=function(e,o){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(i[n[l]]=e[n[l]])}return i};var C=i(((i,C)=>{var x,j;const b=o.useContext(p),N=b||{},{getPrefixCls:h,getPopupContainer:O,direction:g}=o.useContext(f),y=h(),{prefixCls:E,className:I,theme:M="light",expandIcon:P,_internalDisableMenuItemTitleTooltip:w,inlineCollapsed:_,siderCollapsed:$,items:k,children:T,rootClassName:D,mode:S,selectable:V,onClick:z}=i,L=v(i,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick"]),W=n(L,["collapsedWidth"]),q=c(k)||T;"production"!==process.env.NODE_ENV&&s(!("inlineCollapsed"in i&&"inline"!==S),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),"production"!==process.env.NODE_ENV&&s(!(void 0!==i.siderCollapsed&&"inlineCollapsed"in i),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"production"!==process.env.NODE_ENV&&s("items"in i&&!T,"Menu","`children` will be removed in next major version. Please use `items` instead."),null===(x=N.validator)||void 0===x||x.call(N,{mode:S});const A=l((function(){var e;null==z||z.apply(void 0,arguments),null===(e=N.onClick)||void 0===e||e.call(N)})),B=N.mode||S,F=null!=V?V:N.selectable,G=o.useMemo((()=>void 0!==$?$:_),[_,$]),H={horizontal:{motionName:`${y}-slide-up`},inline:a(y),other:{motionName:`${y}-zoom-big`}},J=h("menu",E||N.prefixCls),[K,Q]=d(J,!b),R=t(`${J}-${M}`,I);let U;if("function"==typeof P)U=P;else{const e=P||N.expandIcon;U=m(e,{className:t(`${J}-submenu-expand-icon`,null===(j=null==e?void 0:e.props)||void 0===j?void 0:j.className)})}const X=o.useMemo((()=>({prefixCls:J,inlineCollapsed:G||!1,direction:g,firstLevel:!0,theme:M,mode:B,disableMenuItemTitleTooltip:w})),[J,G,g,w,M]);return K(o.createElement(p.Provider,{value:null},o.createElement(u.Provider,{value:X},o.createElement(e,Object.assign({getPopupContainer:O,overflowedIndicator:o.createElement(r,null),overflowedIndicatorPopupClassName:`${J}-${M}`,mode:B,selectable:F,onClick:A},W,{inlineCollapsed:G,className:R,prefixCls:J,direction:g,defaultMotions:H,expandIcon:U,ref:C,rootClassName:t(D,Q)}),q))))}));export{C as default};
|
|
2
|
+
//# sourceMappingURL=menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.js","sources":["../../../../../node_modules/antd/es/menu/menu.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 RcMenu from 'rc-menu';\nimport * as React from 'react';\nimport { forwardRef } from 'react';\nimport omit from \"rc-util/es/omit\";\nimport useEvent from \"rc-util/es/hooks/useEvent\";\nimport classNames from 'classnames';\nimport EllipsisOutlined from \"@ant-design/icons/es/icons/EllipsisOutlined\";\nimport warning from '../_util/warning';\nimport initCollapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nimport OverrideContext from './OverrideContext';\nimport useItems from './hooks/useItems';\nimport MenuContext from './MenuContext';\nconst InternalMenu = /*#__PURE__*/forwardRef((props, ref) => {\n var _a, _b;\n const override = React.useContext(OverrideContext);\n const overrideObj = override || {};\n const {\n getPrefixCls,\n getPopupContainer,\n direction\n } = React.useContext(ConfigContext);\n const rootPrefixCls = getPrefixCls();\n const {\n prefixCls: customizePrefixCls,\n className,\n theme = 'light',\n expandIcon,\n _internalDisableMenuItemTitleTooltip,\n inlineCollapsed,\n siderCollapsed,\n items,\n children,\n rootClassName,\n mode,\n selectable,\n onClick\n } = props,\n restProps = __rest(props, [\"prefixCls\", \"className\", \"theme\", \"expandIcon\", \"_internalDisableMenuItemTitleTooltip\", \"inlineCollapsed\", \"siderCollapsed\", \"items\", \"children\", \"rootClassName\", \"mode\", \"selectable\", \"onClick\"]);\n const passedProps = omit(restProps, ['collapsedWidth']);\n // ========================= Items ===========================\n const mergedChildren = useItems(items) || children;\n // ======================== Warning ==========================\n process.env.NODE_ENV !== \"production\" ? warning(!('inlineCollapsed' in props && mode !== 'inline'), 'Menu', '`inlineCollapsed` should only be used when `mode` is inline.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(props.siderCollapsed !== undefined && 'inlineCollapsed' in props), 'Menu', '`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning('items' in props && !children, 'Menu', '`children` will be removed in next major version. Please use `items` instead.') : void 0;\n (_a = overrideObj.validator) === null || _a === void 0 ? void 0 : _a.call(overrideObj, {\n mode\n });\n // ========================== Click ==========================\n // Tell dropdown that item clicked\n const onItemClick = useEvent(function () {\n var _a;\n onClick === null || onClick === void 0 ? void 0 : onClick.apply(void 0, arguments);\n (_a = overrideObj.onClick) === null || _a === void 0 ? void 0 : _a.call(overrideObj);\n });\n // ========================== Mode ===========================\n const mergedMode = overrideObj.mode || mode;\n // ======================= Selectable ========================\n const mergedSelectable = selectable !== null && selectable !== void 0 ? selectable : overrideObj.selectable;\n // ======================== Collapsed ========================\n // Inline Collapsed\n const mergedInlineCollapsed = React.useMemo(() => {\n if (siderCollapsed !== undefined) {\n return siderCollapsed;\n }\n return inlineCollapsed;\n }, [inlineCollapsed, siderCollapsed]);\n const defaultMotions = {\n horizontal: {\n motionName: `${rootPrefixCls}-slide-up`\n },\n inline: initCollapseMotion(rootPrefixCls),\n other: {\n motionName: `${rootPrefixCls}-zoom-big`\n }\n };\n const prefixCls = getPrefixCls('menu', customizePrefixCls || overrideObj.prefixCls);\n const [wrapSSR, hashId] = useStyle(prefixCls, !override);\n const menuClassName = classNames(`${prefixCls}-${theme}`, className);\n // ====================== Expand Icon ========================\n let mergedExpandIcon;\n if (typeof expandIcon === 'function') {\n mergedExpandIcon = expandIcon;\n } else {\n const beClone = expandIcon || overrideObj.expandIcon;\n mergedExpandIcon = cloneElement(beClone, {\n className: classNames(`${prefixCls}-submenu-expand-icon`, (_b = beClone === null || beClone === void 0 ? void 0 : beClone.props) === null || _b === void 0 ? void 0 : _b.className)\n });\n }\n // ======================== Context ==========================\n const contextValue = React.useMemo(() => ({\n prefixCls,\n inlineCollapsed: mergedInlineCollapsed || false,\n direction,\n firstLevel: true,\n theme,\n mode: mergedMode,\n disableMenuItemTitleTooltip: _internalDisableMenuItemTitleTooltip\n }), [prefixCls, mergedInlineCollapsed, direction, _internalDisableMenuItemTitleTooltip, theme]);\n // ========================= Render ==========================\n return wrapSSR( /*#__PURE__*/React.createElement(OverrideContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(MenuContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(RcMenu, Object.assign({\n getPopupContainer: getPopupContainer,\n overflowedIndicator: /*#__PURE__*/React.createElement(EllipsisOutlined, null),\n overflowedIndicatorPopupClassName: `${prefixCls}-${theme}`,\n mode: mergedMode,\n selectable: mergedSelectable,\n onClick: onItemClick\n }, passedProps, {\n inlineCollapsed: mergedInlineCollapsed,\n className: menuClassName,\n prefixCls: prefixCls,\n direction: direction,\n defaultMotions: defaultMotions,\n expandIcon: mergedExpandIcon,\n ref: ref,\n rootClassName: classNames(rootClassName, hashId)\n }), mergedChildren))));\n});\nexport default InternalMenu;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","InternalMenu$1","forwardRef","props","ref","_a","_b","override","React","useContext","OverrideContext","overrideObj","getPrefixCls","getPopupContainer","direction","ConfigContext","rootPrefixCls","prefixCls","customizePrefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","restProps","passedProps","omit","mergedChildren","useItems","process","env","NODE_ENV","warning","undefined","validator","onItemClick","useEvent","apply","arguments","mergedMode","mergedSelectable","mergedInlineCollapsed","useMemo","defaultMotions","horizontal","motionName","inline","initCollapseMotion","other","wrapSSR","hashId","useStyle","menuClassName","classNames","mergedExpandIcon","beClone","cloneElement","contextValue","firstLevel","disableMenuItemTitleTooltip","createElement","Provider","value","MenuContext","RcMenu","assign","overflowedIndicator","EllipsisOutlined","overflowedIndicatorPopupClassName"],"mappings":"6pBAAA,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,EA8HA,IAAAW,EA9GkCC,GAAW,CAACC,EAAOC,KACnD,IAAIC,EAAIC,EACR,MAAMC,EAAWC,EAAMC,WAAWC,GAC5BC,EAAcJ,GAAY,IAC1BK,aACJA,EAAYC,kBACZA,EAAiBC,UACjBA,GACEN,EAAMC,WAAWM,GACfC,EAAgBJ,KAElBK,UAAWC,EAAkBC,UAC7BA,EAASC,MACTA,EAAQ,QA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,IAAI0C,EACJ,GAA0B,mBAAfxC,EACTwC,EAAmBxC,MACd,CACL,MAAMyC,EAAUzC,GAAcV,EAAYU,WAC1CwC,EAAmBE,EAAaD,EAAS,CACvC3C,UAAWyC,EAAW,GAAG3C,wBAA4G,QAA1EX,EAAKwD,aAAyC,EAASA,EAAQ3D,aAA0B,IAAPG,OAAgB,EAASA,EAAGa,YAE5K,CAED,MAAM6C,EAAexD,EAAMyC,SAAQ,KAAO,CACxChC,YACAM,gBAAiByB,IAAyB,EAC1ClC,YACAmD,YAAY,EACZ7C,QACAQ,KAAMkB,EACNoB,4BAA6B5C,KAC3B,CAACL,EAAW+B,EAAuBlC,EAAWQ,EAAsCF,IAExF,OAAOoC,EAAsBhD,EAAM2D,cAAczD,EAAgB0D,SAAU,CACzEC,MAAO,MACO7D,EAAM2D,cAAcG,EAAYF,SAAU,CACxDC,MAAOL,GACOxD,EAAM2D,cAAcI,EAAQ/E,OAAOgF,OAAO,CACxD3D,kBAAmBA,EACnB4D,oBAAkCjE,EAAM2D,cAAcO,EAAkB,MACxEC,kCAAmC,GAAG1D,KAAaG,IACnDQ,KAAMkB,EACNjB,WAAYkB,EACZjB,QAASY,GACRV,EAAa,CACdT,gBAAiByB,EACjB7B,UAAWwC,EACX1C,UAAWA,EACXH,UAAWA,EACXoC,eAAgBA,EAChB7B,WAAYwC,EACZzD,IAAKA,EACLuB,cAAeiC,EAAWjC,EAAe8B,KACvCvB,KAAkB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=e=>{const{componentCls:n,motionDurationSlow:o,menuHorizontalHeight:t,colorSplit:i,lineWidth:r,lineType:l,menuItemPaddingInline:a}=e;return{[`${n}-horizontal`]:{lineHeight:`${t}px`,border:0,borderBottom:`${r}px ${l} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${n}-item, ${n}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${n}-item:hover,\n > ${n}-item-active,\n > ${n}-submenu ${n}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${n}-item, ${n}-submenu-title`]:{transition:[`border-color ${o}`,`background ${o}`].join(",")},[`${n}-submenu-arrow`]:{display:"none"}}}};export{e as default};
|
|
2
|
+
//# sourceMappingURL=horizontal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal.js","sources":["../../../../../../node_modules/antd/es/menu/style/horizontal.js"],"sourcesContent":["const getHorizontalStyle = token => {\n const {\n componentCls,\n motionDurationSlow,\n menuHorizontalHeight,\n colorSplit,\n lineWidth,\n lineType,\n menuItemPaddingInline\n } = token;\n return {\n [`${componentCls}-horizontal`]: {\n lineHeight: `${menuHorizontalHeight}px`,\n border: 0,\n borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`,\n boxShadow: 'none',\n '&::after': {\n display: 'block',\n clear: 'both',\n height: 0,\n content: '\"\\\\20\"'\n },\n // ======================= Item =======================\n [`${componentCls}-item, ${componentCls}-submenu`]: {\n position: 'relative',\n display: 'inline-block',\n verticalAlign: 'bottom',\n paddingInline: menuItemPaddingInline\n },\n [`> ${componentCls}-item:hover,\n > ${componentCls}-item-active,\n > ${componentCls}-submenu ${componentCls}-submenu-title:hover`]: {\n backgroundColor: 'transparent'\n },\n [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n transition: [`border-color ${motionDurationSlow}`, `background ${motionDurationSlow}`].join(',')\n },\n // ===================== Sub Menu =====================\n [`${componentCls}-submenu-arrow`]: {\n display: 'none'\n }\n }\n };\n};\nexport default getHorizontalStyle;"],"names":["getHorizontalStyle$1","token","componentCls","motionDurationSlow","menuHorizontalHeight","colorSplit","lineWidth","lineType","menuItemPaddingInline","lineHeight","border","borderBottom","boxShadow","display","clear","height","content","position","verticalAlign","paddingInline","backgroundColor","transition","join"],"mappings":"AA4CA,IAAAA,EA5C2BC,IACzB,MAAMC,aACJA,EAAYC,mBACZA,EAAkBC,qBAClBA,EAAoBC,WACpBA,EAAUC,UACVA,EAASC,SACTA,EAAQC,sBACRA,GACEP,EACJ,MAAO,CACL,CAAC,GAAGC,gBAA4B,CAC9BO,WAAY,GAAGL,MACfM,OAAQ,EACRC,aAAc,GAAGL,OAAeC,KAAYF,IAC5CO,UAAW,OACX,WAAY,CACVC,QAAS,QACTC,MAAO,OACPC,OAAQ,EACRC,QAAS,UAGX,CAAC,GAAGd,WAAsBA,aAAyB,CACjDe,SAAU,WACVJ,QAAS,eACTK,cAAe,SACfC,cAAeX,GAEjB,CAAC,KAAKN,4BACAA,6BACAA,aAAwBA,yBAAqC,CACjEkB,gBAAiB,eAEnB,CAAC,GAAGlB,WAAsBA,mBAA+B,CACvDmB,WAAY,CAAC,gBAAgBlB,IAAsB,cAAcA,KAAsBmB,KAAK,MAG9F,CAAC,GAAGpB,mBAA+B,CACjCW,QAAS,SAGd","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{initSlideMotion as e}from"../../style/motion/slide.js";import{initZoomMotion as o}from"../../style/motion/zoom.js";import t from"../../style/motion/collapse.js";import"../../theme/internal.js";import r from"./horizontal.js";import n from"./rtl.js";import i from"./theme.js";import a from"./vertical.js";import{clearFix as l,resetComponent as s,resetIcon as m}from"../../style/index.js";import c from"../../theme/util/genComponentStyleHook.js";import{merge as d}from"../../theme/util/statistic.js";import{TinyColor as u}from"../../../../@ctrl/tinycolor/dist/module/index.js";const g=e=>{const{componentCls:o,fontSize:t,motionDurationSlow:r,motionDurationMid:n,motionEaseInOut:i,motionEaseOut:a,iconCls:l,controlHeightSM:s}=e;return{[`${o}-item, ${o}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${i}`].join(","),[`${o}-item-icon, ${l}`]:{minWidth:t,fontSize:t,transition:[`font-size ${n} ${a}`,`margin ${r} ${i}`,`color ${r}`].join(","),"+ span":{marginInlineStart:s-t,opacity:1,transition:[`opacity ${r} ${i}`,`margin ${r}`,`color ${r}`].join(",")}},[`${o}-item-icon`]:Object.assign({},m()),[`&${o}-item-only-child`]:{[`> ${l}, > ${o}-item-icon`]:{marginInlineEnd:0}}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${o}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},$=e=>{const{componentCls:o,motionDurationSlow:t,motionEaseInOut:r,borderRadius:n,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${o}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${t} ${r}, opacity ${t}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:.6*i,height:.15*i,backgroundColor:"currentcolor",borderRadius:n,transition:[`background ${t} ${r}`,`transform ${t} ${r}`,`top ${t} ${r}`,`color ${t} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},b=e=>{const{antCls:o,componentCls:t,fontSize:r,motionDurationSlow:n,motionDurationMid:i,motionEaseInOut:a,lineHeight:m,paddingXS:c,padding:d,colorSplit:u,lineWidth:b,zIndexPopup:p,borderRadiusLG:I,radiusSubMenuItem:f,menuArrowSize:h,menuArrowOffset:S,lineType:x,menuPanelMaskInset:j}=e;return[{"":{[`${t}`]:Object.assign(Object.assign({},l()),{"&-hidden":{display:"none"}})},[`${t}-submenu-hidden`]:{display:"none"}},{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s(e)),l()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:[`background ${n}`,`width ${n} cubic-bezier(0.2, 0, 0, 1) 0s`].join(","),"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${t}-item`]:{flex:"none"}},[`${t}-item, ${t}-submenu, ${t}-submenu-title`]:{borderRadius:e.radiusItem},[`${t}-item-group-title`]:{padding:`${c}px ${d}px`,fontSize:r,lineHeight:m,transition:`all ${n}`},[`&-horizontal ${t}-submenu`]:{transition:[`border-color ${n} ${a}`,`background ${n} ${a}`].join(",")},[`${t}-submenu, ${t}-submenu-inline`]:{transition:[`border-color ${n} ${a}`,`background ${n} ${a}`,`padding ${i} ${a}`].join(",")},[`${t}-submenu ${t}-sub`]:{cursor:"initial",transition:[`background ${n} ${a}`,`padding ${n} ${a}`].join(",")},[`${t}-title-content`]:{transition:`color ${n}`},[`${t}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${t}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:x,borderWidth:0,borderTopWidth:b,marginBlock:b,padding:0,"&-dashed":{borderStyle:"dashed"}}}),g(e)),{[`${t}-item-group`]:{[`${t}-item-group-list`]:{margin:0,padding:0,[`${t}-item, ${t}-submenu-title`]:{paddingInline:`${2*r}px ${d}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,background:"transparent",borderRadius:I,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${j}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:j},[`> ${t}`]:Object.assign(Object.assign(Object.assign({borderRadius:I},g(e)),$(e)),{[`${t}-item, ${t}-submenu > ${t}-submenu-title`]:{borderRadius:f},[`${t}-submenu-title::after`]:{transition:`transform ${n} ${a}`}})}}),$(e)),{[`&-inline-collapsed ${t}-submenu-arrow,\n &-inline ${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${S})`},"&::after":{transform:`rotate(45deg) translateX(-${S})`}},[`${t}-submenu-open${t}-submenu-inline > ${t}-submenu-title > ${t}-submenu-arrow`]:{transform:`translateY(-${.2*h}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${S})`},"&::before":{transform:`rotate(45deg) translateX(${S})`}}})},{[`${o}-layout-header`]:{[t]:{lineHeight:"inherit"}}}]};var p=(l,s)=>c("Menu",((l,m)=>{let{overrideComponentToken:c}=m;if(!1===s)return[];const{colorBgElevated:g,colorPrimary:$,colorError:p,colorErrorHover:I,colorTextLightSolid:f}=l,{controlHeightLG:h,fontSize:S}=l,x=S/7*5,j=d(l,{menuItemHeight:h,menuItemPaddingInline:l.margin,menuArrowSize:x,menuHorizontalHeight:1.15*h,menuArrowOffset:.25*x+"px",menuPanelMaskInset:-7,menuSubMenuBg:g}),B=new u(f).setAlpha(.65).toRgbString(),w=d(j,{colorItemText:B,colorItemTextHover:f,colorGroupTitle:B,colorItemTextSelected:f,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:$,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new u(f).setAlpha(.25).toRgbString(),colorDangerItemText:p,colorDangerItemTextHover:I,colorDangerItemTextSelected:f,colorDangerItemBgActive:p,colorDangerItemBgSelected:p,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:f,colorItemBgSelectedHorizontal:$},Object.assign({},c));return[b(j),r(j),a(j),i(j,"light"),i(w,"dark"),n(j),t(j),e(j,"slide-up"),e(j,"slide-down"),o(j,"zoom-big")]}),(e=>{const{colorPrimary:o,colorError:t,colorTextDisabled:r,colorErrorBg:n,colorText:i,colorTextDescription:a,colorBgContainer:l,colorFillAlter:s,colorFillContent:m,lineWidth:c,lineWidthBold:d,controlItemBgActive:u,colorBgTextHover:g}=e;return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,colorItemText:i,colorItemTextHover:i,colorItemTextHoverHorizontal:o,colorGroupTitle:a,colorItemTextSelected:o,colorItemTextSelectedHorizontal:o,colorItemBg:l,colorItemBgHover:g,colorItemBgActive:m,colorSubItemBg:s,colorItemBgSelected:u,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:d,colorActiveBarBorderSize:c,colorItemTextDisabled:r,colorDangerItemText:t,colorDangerItemTextHover:t,colorDangerItemTextSelected:t,colorDangerItemBgActive:n,colorDangerItemBgSelected:n,itemMarginInline:e.marginXXS}}))(l);export{p as default};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/menu/style/index.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nimport { genCollapseMotion, initSlideMotion, initZoomMotion } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport getHorizontalStyle from './horizontal';\nimport getRTLStyle from './rtl';\nimport getThemeStyle from './theme';\nimport getVerticalStyle from './vertical';\nimport { clearFix, resetComponent, resetIcon } from '../../style';\nconst genMenuItemStyle = token => {\n const {\n componentCls,\n fontSize,\n motionDurationSlow,\n motionDurationMid,\n motionEaseInOut,\n motionEaseOut,\n iconCls,\n controlHeightSM\n } = token;\n return {\n // >>>>> Item\n [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n position: 'relative',\n display: 'block',\n margin: 0,\n whiteSpace: 'nowrap',\n cursor: 'pointer',\n transition: [`border-color ${motionDurationSlow}`, `background ${motionDurationSlow}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n [`${componentCls}-item-icon, ${iconCls}`]: {\n minWidth: fontSize,\n fontSize,\n transition: [`font-size ${motionDurationMid} ${motionEaseOut}`, `margin ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow}`].join(','),\n '+ span': {\n marginInlineStart: controlHeightSM - fontSize,\n opacity: 1,\n transition: [`opacity ${motionDurationSlow} ${motionEaseInOut}`, `margin ${motionDurationSlow}`, `color ${motionDurationSlow}`].join(',')\n }\n },\n [`${componentCls}-item-icon`]: Object.assign({}, resetIcon()),\n [`&${componentCls}-item-only-child`]: {\n [`> ${iconCls}, > ${componentCls}-item-icon`]: {\n marginInlineEnd: 0\n }\n }\n },\n // Disabled state sets text to gray and nukes hover/tab effects\n [`${componentCls}-item-disabled, ${componentCls}-submenu-disabled`]: {\n background: 'none !important',\n cursor: 'not-allowed',\n '&::after': {\n borderColor: 'transparent !important'\n },\n a: {\n color: 'inherit !important'\n },\n [`> ${componentCls}-submenu-title`]: {\n color: 'inherit !important',\n cursor: 'not-allowed'\n }\n }\n };\n};\nconst genSubMenuArrowStyle = token => {\n const {\n componentCls,\n motionDurationSlow,\n motionEaseInOut,\n borderRadius,\n menuArrowSize,\n menuArrowOffset\n } = token;\n return {\n [`${componentCls}-submenu`]: {\n [`&-expand-icon, &-arrow`]: {\n position: 'absolute',\n top: '50%',\n insetInlineEnd: token.margin,\n width: menuArrowSize,\n color: 'currentcolor',\n transform: 'translateY(-50%)',\n transition: `transform ${motionDurationSlow} ${motionEaseInOut}, opacity ${motionDurationSlow}`\n },\n '&-arrow': {\n // →\n '&::before, &::after': {\n position: 'absolute',\n width: menuArrowSize * 0.6,\n height: menuArrowSize * 0.15,\n backgroundColor: 'currentcolor',\n borderRadius,\n transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `transform ${motionDurationSlow} ${motionEaseInOut}`, `top ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n content: '\"\"'\n },\n '&::before': {\n transform: `rotate(45deg) translateY(-${menuArrowOffset})`\n },\n '&::after': {\n transform: `rotate(-45deg) translateY(${menuArrowOffset})`\n }\n }\n }\n };\n};\n// =============================== Base ===============================\nconst getBaseStyle = token => {\n const {\n antCls,\n componentCls,\n fontSize,\n motionDurationSlow,\n motionDurationMid,\n motionEaseInOut,\n lineHeight,\n paddingXS,\n padding,\n colorSplit,\n lineWidth,\n zIndexPopup,\n borderRadiusLG,\n radiusSubMenuItem,\n menuArrowSize,\n menuArrowOffset,\n lineType,\n menuPanelMaskInset\n } = token;\n return [\n // Misc\n {\n '': {\n [`${componentCls}`]: Object.assign(Object.assign({}, clearFix()), {\n // Hidden\n [`&-hidden`]: {\n display: 'none'\n }\n })\n },\n [`${componentCls}-submenu-hidden`]: {\n display: 'none'\n }\n }, {\n [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), clearFix()), {\n marginBottom: 0,\n paddingInlineStart: 0,\n // Override default ul/ol\n fontSize,\n lineHeight: 0,\n listStyle: 'none',\n outline: 'none',\n transition: [`background ${motionDurationSlow}`,\n // Magic cubic here but smooth transition\n `width ${motionDurationSlow} cubic-bezier(0.2, 0, 0, 1) 0s`].join(','),\n [`ul, ol`]: {\n margin: 0,\n padding: 0,\n listStyle: 'none'\n },\n // Overflow ellipsis\n [`&-overflow`]: {\n display: 'flex',\n [`${componentCls}-item`]: {\n flex: 'none'\n }\n },\n [`${componentCls}-item, ${componentCls}-submenu, ${componentCls}-submenu-title`]: {\n borderRadius: token.radiusItem\n },\n [`${componentCls}-item-group-title`]: {\n padding: `${paddingXS}px ${padding}px`,\n fontSize,\n lineHeight,\n transition: `all ${motionDurationSlow}`\n },\n [`&-horizontal ${componentCls}-submenu`]: {\n transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n },\n [`${componentCls}-submenu, ${componentCls}-submenu-inline`]: {\n transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationMid} ${motionEaseInOut}`].join(',')\n },\n [`${componentCls}-submenu ${componentCls}-sub`]: {\n cursor: 'initial',\n transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n },\n [`${componentCls}-title-content`]: {\n transition: `color ${motionDurationSlow}`\n },\n [`${componentCls}-item a`]: {\n '&::before': {\n position: 'absolute',\n inset: 0,\n backgroundColor: 'transparent',\n content: '\"\"'\n }\n },\n // Removed a Badge related style seems it's safe\n // https://github.com/ant-design/ant-design/issues/19809\n // >>>>> Divider\n [`${componentCls}-item-divider`]: {\n overflow: 'hidden',\n lineHeight: 0,\n borderColor: colorSplit,\n borderStyle: lineType,\n borderWidth: 0,\n borderTopWidth: lineWidth,\n marginBlock: lineWidth,\n padding: 0,\n '&-dashed': {\n borderStyle: 'dashed'\n }\n }\n }), genMenuItemStyle(token)), {\n [`${componentCls}-item-group`]: {\n [`${componentCls}-item-group-list`]: {\n margin: 0,\n padding: 0,\n [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n paddingInline: `${fontSize * 2}px ${padding}px`\n }\n }\n },\n // ======================= Sub Menu =======================\n '&-submenu': {\n '&-popup': {\n position: 'absolute',\n zIndex: zIndexPopup,\n background: 'transparent',\n borderRadius: borderRadiusLG,\n boxShadow: 'none',\n transformOrigin: '0 0',\n // https://github.com/ant-design/ant-design/issues/13955\n '&::before': {\n position: 'absolute',\n inset: `${menuPanelMaskInset}px 0 0`,\n zIndex: -1,\n width: '100%',\n height: '100%',\n opacity: 0,\n content: '\"\"'\n }\n },\n // https://github.com/ant-design/ant-design/issues/13955\n '&-placement-rightTop::before': {\n top: 0,\n insetInlineStart: menuPanelMaskInset\n },\n [`> ${componentCls}`]: Object.assign(Object.assign(Object.assign({\n borderRadius: borderRadiusLG\n }, genMenuItemStyle(token)), genSubMenuArrowStyle(token)), {\n [`${componentCls}-item, ${componentCls}-submenu > ${componentCls}-submenu-title`]: {\n borderRadius: radiusSubMenuItem\n },\n [`${componentCls}-submenu-title::after`]: {\n transition: `transform ${motionDurationSlow} ${motionEaseInOut}`\n }\n })\n }\n }), genSubMenuArrowStyle(token)), {\n [`&-inline-collapsed ${componentCls}-submenu-arrow,\n &-inline ${componentCls}-submenu-arrow`]: {\n // ↓\n '&::before': {\n transform: `rotate(-45deg) translateX(${menuArrowOffset})`\n },\n '&::after': {\n transform: `rotate(45deg) translateX(-${menuArrowOffset})`\n }\n },\n [`${componentCls}-submenu-open${componentCls}-submenu-inline > ${componentCls}-submenu-title > ${componentCls}-submenu-arrow`]: {\n // ↑\n transform: `translateY(-${menuArrowSize * 0.2}px)`,\n '&::after': {\n transform: `rotate(-45deg) translateX(-${menuArrowOffset})`\n },\n '&::before': {\n transform: `rotate(45deg) translateX(${menuArrowOffset})`\n }\n }\n })\n },\n // Integration with header element so menu items have the same height\n {\n [`${antCls}-layout-header`]: {\n [componentCls]: {\n lineHeight: 'inherit'\n }\n }\n }];\n};\n// ============================== Export ==============================\nexport default ((prefixCls, injectStyle) => {\n const useOriginHook = genComponentStyleHook('Menu', (token, _ref) => {\n let {\n overrideComponentToken\n } = _ref;\n // Dropdown will handle menu style self. We do not need to handle this.\n if (injectStyle === false) {\n return [];\n }\n const {\n colorBgElevated,\n colorPrimary,\n colorError,\n colorErrorHover,\n colorTextLightSolid\n } = token;\n const {\n controlHeightLG,\n fontSize\n } = token;\n const menuArrowSize = fontSize / 7 * 5;\n // Menu Token\n const menuToken = mergeToken(token, {\n menuItemHeight: controlHeightLG,\n menuItemPaddingInline: token.margin,\n menuArrowSize,\n menuHorizontalHeight: controlHeightLG * 1.15,\n menuArrowOffset: `${menuArrowSize * 0.25}px`,\n menuPanelMaskInset: -7,\n menuSubMenuBg: colorBgElevated\n });\n const colorTextDark = new TinyColor(colorTextLightSolid).setAlpha(0.65).toRgbString();\n const menuDarkToken = mergeToken(menuToken, {\n colorItemText: colorTextDark,\n colorItemTextHover: colorTextLightSolid,\n colorGroupTitle: colorTextDark,\n colorItemTextSelected: colorTextLightSolid,\n colorItemBg: '#001529',\n colorSubItemBg: '#000c17',\n colorItemBgActive: 'transparent',\n colorItemBgSelected: colorPrimary,\n colorActiveBarWidth: 0,\n colorActiveBarHeight: 0,\n colorActiveBarBorderSize: 0,\n // Disabled\n colorItemTextDisabled: new TinyColor(colorTextLightSolid).setAlpha(0.25).toRgbString(),\n // Danger\n colorDangerItemText: colorError,\n colorDangerItemTextHover: colorErrorHover,\n colorDangerItemTextSelected: colorTextLightSolid,\n colorDangerItemBgActive: colorError,\n colorDangerItemBgSelected: colorError,\n menuSubMenuBg: '#001529',\n // Horizontal\n colorItemTextSelectedHorizontal: colorTextLightSolid,\n colorItemBgSelectedHorizontal: colorPrimary\n }, Object.assign({}, overrideComponentToken));\n return [\n // Basic\n getBaseStyle(menuToken),\n // Horizontal\n getHorizontalStyle(menuToken),\n // Vertical\n getVerticalStyle(menuToken),\n // Theme\n getThemeStyle(menuToken, 'light'), getThemeStyle(menuDarkToken, 'dark'),\n // RTL\n getRTLStyle(menuToken),\n // Motion\n genCollapseMotion(menuToken), initSlideMotion(menuToken, 'slide-up'), initSlideMotion(menuToken, 'slide-down'), initZoomMotion(menuToken, 'zoom-big')];\n }, token => {\n const {\n colorPrimary,\n colorError,\n colorTextDisabled,\n colorErrorBg,\n colorText,\n colorTextDescription,\n colorBgContainer,\n colorFillAlter,\n colorFillContent,\n lineWidth,\n lineWidthBold,\n controlItemBgActive,\n colorBgTextHover\n } = token;\n return {\n dropdownWidth: 160,\n zIndexPopup: token.zIndexPopupBase + 50,\n radiusItem: token.borderRadiusLG,\n radiusSubMenuItem: token.borderRadiusSM,\n colorItemText: colorText,\n colorItemTextHover: colorText,\n colorItemTextHoverHorizontal: colorPrimary,\n colorGroupTitle: colorTextDescription,\n colorItemTextSelected: colorPrimary,\n colorItemTextSelectedHorizontal: colorPrimary,\n colorItemBg: colorBgContainer,\n colorItemBgHover: colorBgTextHover,\n colorItemBgActive: colorFillContent,\n colorSubItemBg: colorFillAlter,\n colorItemBgSelected: controlItemBgActive,\n colorItemBgSelectedHorizontal: 'transparent',\n colorActiveBarWidth: 0,\n colorActiveBarHeight: lineWidthBold,\n colorActiveBarBorderSize: lineWidth,\n // Disabled\n colorItemTextDisabled: colorTextDisabled,\n // Danger\n colorDangerItemText: colorError,\n colorDangerItemTextHover: colorError,\n colorDangerItemTextSelected: colorError,\n colorDangerItemBgActive: colorErrorBg,\n colorDangerItemBgSelected: colorErrorBg,\n itemMarginInline: token.marginXXS\n };\n });\n return useOriginHook(prefixCls);\n});"],"names":["genMenuItemStyle","token","componentCls","fontSize","motionDurationSlow","motionDurationMid","motionEaseInOut","motionEaseOut","iconCls","controlHeightSM","position","display","margin","whiteSpace","cursor","transition","join","minWidth","marginInlineStart","opacity","Object","assign","resetIcon","marginInlineEnd","background","borderColor","a","color","genSubMenuArrowStyle","borderRadius","menuArrowSize","menuArrowOffset","top","insetInlineEnd","width","transform","height","backgroundColor","content","getBaseStyle","antCls","lineHeight","paddingXS","padding","colorSplit","lineWidth","zIndexPopup","borderRadiusLG","radiusSubMenuItem","lineType","menuPanelMaskInset","clearFix","resetComponent","marginBottom","paddingInlineStart","listStyle","outline","flex","radiusItem","inset","overflow","borderStyle","borderWidth","borderTopWidth","marginBlock","paddingInline","zIndex","boxShadow","transformOrigin","insetInlineStart","useStyle","prefixCls","injectStyle","genComponentStyleHook","_ref","overrideComponentToken","colorBgElevated","colorPrimary","colorError","colorErrorHover","colorTextLightSolid","controlHeightLG","menuToken","mergeToken","menuItemHeight","menuItemPaddingInline","menuHorizontalHeight","menuSubMenuBg","colorTextDark","TinyColor","setAlpha","toRgbString","menuDarkToken","colorItemText","colorItemTextHover","colorGroupTitle","colorItemTextSelected","colorItemBg","colorSubItemBg","colorItemBgActive","colorItemBgSelected","colorActiveBarWidth","colorActiveBarHeight","colorActiveBarBorderSize","colorItemTextDisabled","colorDangerItemText","colorDangerItemTextHover","colorDangerItemTextSelected","colorDangerItemBgActive","colorDangerItemBgSelected","colorItemTextSelectedHorizontal","colorItemBgSelectedHorizontal","getHorizontalStyle","getVerticalStyle","getThemeStyle","getRTLStyle","genCollapseMotion","initSlideMotion","initZoomMotion","colorTextDisabled","colorErrorBg","colorText","colorTextDescription","colorBgContainer","colorFillAlter","colorFillContent","lineWidthBold","controlItemBgActive","colorBgTextHover","dropdownWidth","zIndexPopupBase","borderRadiusSM","colorItemTextHoverHorizontal","colorItemBgHover","itemMarginInline","marginXXS","useOriginHook"],"mappings":"qkBAQA,MAAMA,EAAmBC,IACvB,MAAMC,aACJA,EAAYC,SACZA,EAAQC,mBACRA,EAAkBC,kBAClBA,EAAiBC,gBACjBA,EAAeC,cACfA,EAAaC,QACbA,EAAOC,gBACPA,GACER,EACJ,MAAO,CAEL,CAAC,GAAGC,WAAsBA,mBAA+B,CACvDQ,SAAU,WACVC,QAAS,QACTC,OAAQ,EACRC,WAAY,SACZC,OAAQ,UACRC,WAAY,CAAC,gBAAgBX,IAAsB,cAAcA,IAAsB,WAAWA,KAAsBE,KAAmBU,KAAK,KAChJ,CAAC,GAAGd,gBAA2BM,KAAY,CACzCS,SAAUd,EACVA,WACAY,WAAY,CAAC,aAAaV,KAAqBE,IAAiB,UAAUH,KAAsBE,IAAmB,SAASF,KAAsBY,KAAK,KACvJ,SAAU,CACRE,kBAAmBT,EAAkBN,EACrCgB,QAAS,EACTJ,WAAY,CAAC,WAAWX,KAAsBE,IAAmB,UAAUF,IAAsB,SAASA,KAAsBY,KAAK,OAGzI,CAAC,GAAGd,eAA2BkB,OAAOC,OAAO,CAAA,EAAIC,KACjD,CAAC,IAAIpB,qBAAiC,CACpC,CAAC,KAAKM,QAAcN,eAA2B,CAC7CqB,gBAAiB,KAKvB,CAAC,GAAGrB,oBAA+BA,sBAAkC,CACnEsB,WAAY,kBACZV,OAAQ,cACR,WAAY,CACVW,YAAa,0BAEfC,EAAG,CACDC,MAAO,sBAET,CAAC,KAAKzB,mBAA+B,CACnCyB,MAAO,qBACPb,OAAQ,gBAGb,EAEGc,EAAuB3B,IAC3B,MAAMC,aACJA,EAAYE,mBACZA,EAAkBE,gBAClBA,EAAeuB,aACfA,EAAYC,cACZA,EAAaC,gBACbA,GACE9B,EACJ,MAAO,CACL,CAAC,GAAGC,aAAyB,CAC3B,yBAA4B,CAC1BQ,SAAU,WACVsB,IAAK,MACLC,eAAg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A0B1D,EAE1B2D,sBAAuBe,EAEvBd,oBAAqB3B,EACrB4B,yBAA0B5B,EAC1B6B,4BAA6B7B,EAC7B8B,wBAAyBY,EACzBX,0BAA2BW,EAC3Bc,iBAAkBrI,EAAMsI,UACzB,GAEIC,CAAcjE","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var r=r=>{let{componentCls:t,menuArrowOffset:e}=r;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${e})`},"&::after":{transform:`rotate(45deg) translateY(${e})`}}}}};export{r as default};
|
|
2
|
+
//# sourceMappingURL=rtl.js.map
|