@datacrest/dcuikit 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_virtual/_commonjsHelpers.js +2 -0
- package/build/_virtual/_commonjsHelpers.js.map +1 -0
- package/build/_virtual/index.js +2 -0
- package/build/_virtual/index2.js +2 -0
- package/build/_virtual/index2.js.map +1 -0
- package/build/_virtual/index3.js +2 -0
- package/build/_virtual/index3.js.map +1 -0
- package/build/_virtual/index4.js +2 -0
- package/build/_virtual/index4.js.map +1 -0
- package/build/_virtual/react-is.development.js +2 -0
- package/build/_virtual/react-is.development.js.map +1 -0
- package/build/_virtual/react-is.development2.js +2 -0
- package/build/_virtual/react-is.development2.js.map +1 -0
- package/build/_virtual/react-is.production.min.js +2 -0
- package/build/_virtual/react-is.production.min.js.map +1 -0
- package/build/_virtual/react-is.production.min2.js +2 -0
- package/build/_virtual/react-is.production.min2.js.map +1 -0
- package/build/components/Atom/Button/Button.d.ts +1 -11
- package/build/components/Atom/Button/Button.stories.d.ts +1 -1
- package/build/components/Atom/Button/Button.types.d.ts +10 -0
- package/build/components/Atom/Button/index.d.ts +1 -2
- package/build/components/Atom/Checkbox/Checkbox.d.ts +12 -0
- package/build/components/Atom/Checkbox/Checkbox.stories.d.ts +4 -0
- package/build/components/Atom/Checkbox/Checkbox.test.d.ts +1 -0
- package/build/components/Atom/Checkbox/Checkbox.types.d.ts +2 -0
- package/build/components/Atom/Checkbox/index.d.ts +3 -0
- package/build/components/Atom/Icon/Custom/Icons/Success.d.ts +3 -0
- package/build/components/Atom/Icon/Custom/index.d.ts +1 -0
- package/build/components/Atom/Icon/Icon.d.ts +1 -8
- package/build/components/Atom/Icon/Icon.stories.d.ts +1 -1
- package/build/components/Atom/Icon/Icon.types.d.ts +8 -0
- package/build/components/Atom/Icon/index.d.ts +1 -1
- package/build/components/Atom/Input/Input.d.ts +21 -0
- package/build/components/Atom/Input/Input.stories.d.ts +8 -0
- package/build/components/Atom/Input/Input.test.d.ts +1 -0
- package/build/components/Atom/Input/Input.types.d.ts +6 -0
- package/build/components/Atom/Input/index.d.ts +3 -0
- package/build/components/Atom/Typography/Heading.stories.d.ts +5 -0
- package/build/components/Atom/Typography/Heading.test.d.ts +1 -0
- package/build/components/Atom/Typography/Text.stories.d.ts +5 -0
- package/build/components/Atom/Typography/Text.test.d.ts +1 -0
- package/build/components/Atom/Typography/Typography.d.ts +4 -0
- package/build/components/Atom/Typography/Typography.types.d.ts +20 -0
- package/build/components/Atom/Typography/index.d.ts +2 -0
- package/build/components/Molecule/Message/Message.d.ts +13 -0
- package/build/components/Molecule/Message/Message.stories.d.ts +4 -0
- package/build/components/Molecule/Message/Message.test.d.ts +1 -0
- package/build/components/Molecule/Message/Message.types.d.ts +6 -0
- package/build/components/Molecule/Message/MessageManager.d.ts +20 -0
- package/build/components/Molecule/Message/index.d.ts +3 -0
- package/build/components/Molecule/Table/Table.d.ts +3 -0
- package/build/components/Molecule/Table/Table.stories.d.ts +5 -0
- package/build/components/Molecule/Table/Table.test.d.ts +1 -0
- package/build/components/Molecule/Table/Table.types.d.ts +23 -0
- package/build/components/Molecule/Table/index.d.ts +2 -0
- package/build/components/Molecule/Tooltip/Tooltip.d.ts +13 -0
- package/build/components/Molecule/Tooltip/Tooltip.stories.d.ts +5 -0
- package/build/components/Molecule/Tooltip/Tooltip.test.d.ts +1 -0
- package/build/components/Molecule/Tooltip/index.d.ts +2 -0
- package/build/index.d.ts +8 -0
- package/build/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/createClass.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/createSuper.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/defineProperty.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/extends.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/inherits.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/typeof.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/build/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +2 -0
- package/build/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
- package/build/node_modules/@rc-component/portal/es/Context.js +2 -0
- package/build/node_modules/@rc-component/portal/es/Context.js.map +1 -0
- package/build/node_modules/@rc-component/portal/es/Portal.js +2 -0
- package/build/node_modules/@rc-component/portal/es/Portal.js.map +1 -0
- package/build/node_modules/@rc-component/portal/es/index.js +2 -0
- package/build/node_modules/@rc-component/portal/es/index.js.map +1 -0
- package/build/node_modules/@rc-component/portal/es/mock.js +2 -0
- package/build/node_modules/@rc-component/portal/es/mock.js.map +1 -0
- package/build/node_modules/@rc-component/portal/es/useDom.js +2 -0
- package/build/node_modules/@rc-component/portal/es/useDom.js.map +1 -0
- package/build/node_modules/@rc-component/portal/es/useScrollLocker.js +2 -0
- package/build/node_modules/@rc-component/portal/es/useScrollLocker.js.map +1 -0
- package/build/node_modules/@rc-component/portal/es/util.js +2 -0
- package/build/node_modules/@rc-component/portal/es/util.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/Arrow.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/Arrow.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/Mask.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/Mask.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/PopupContent.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/PopupContent.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/index.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/TriggerWrapper.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/TriggerWrapper.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/context.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/context.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useAction.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useAction.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useAlign.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useWatch.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useWatch.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useWinClick.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/hooks/useWinClick.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/index.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/index.js.map +1 -0
- package/build/node_modules/@rc-component/trigger/es/util.js +2 -0
- package/build/node_modules/@rc-component/trigger/es/util.js.map +1 -0
- package/build/node_modules/classnames/index.js +8 -0
- package/build/node_modules/classnames/index.js.map +1 -0
- package/build/node_modules/object-assign/index.js +7 -0
- package/build/node_modules/object-assign/index.js.map +1 -0
- package/build/node_modules/prop-types/checkPropTypes.js +2 -0
- package/build/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/build/node_modules/prop-types/factoryWithThrowingShims.js +2 -0
- package/build/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/build/node_modules/prop-types/factoryWithTypeCheckers.js +2 -0
- package/build/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/build/node_modules/prop-types/index.js +2 -0
- package/build/node_modules/prop-types/index.js.map +1 -0
- package/build/node_modules/prop-types/lib/ReactPropTypesSecret.js +2 -0
- package/build/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/build/node_modules/prop-types/lib/has.js +2 -0
- package/build/node_modules/prop-types/lib/has.js.map +1 -0
- package/build/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +10 -0
- package/build/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/build/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +10 -0
- package/build/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/build/node_modules/prop-types/node_modules/react-is/index.js +2 -0
- package/build/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/build/node_modules/rc-motion/es/CSSMotion.js +2 -0
- package/build/node_modules/rc-motion/es/CSSMotion.js.map +1 -0
- package/build/node_modules/rc-motion/es/CSSMotionList.js +2 -0
- package/build/node_modules/rc-motion/es/CSSMotionList.js.map +1 -0
- package/build/node_modules/rc-motion/es/DomWrapper.js +2 -0
- package/build/node_modules/rc-motion/es/DomWrapper.js.map +1 -0
- package/build/node_modules/rc-motion/es/context.js +2 -0
- package/build/node_modules/rc-motion/es/context.js.map +1 -0
- package/build/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +2 -0
- package/build/node_modules/rc-motion/es/hooks/useDomMotionEvents.js.map +1 -0
- package/build/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +2 -0
- package/build/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js.map +1 -0
- package/build/node_modules/rc-motion/es/hooks/useNextFrame.js +2 -0
- package/build/node_modules/rc-motion/es/hooks/useNextFrame.js.map +1 -0
- package/build/node_modules/rc-motion/es/hooks/useStatus.js +2 -0
- package/build/node_modules/rc-motion/es/hooks/useStatus.js.map +1 -0
- package/build/node_modules/rc-motion/es/hooks/useStepQueue.js +2 -0
- package/build/node_modules/rc-motion/es/hooks/useStepQueue.js.map +1 -0
- package/build/node_modules/rc-motion/es/index.js +2 -0
- package/build/node_modules/rc-motion/es/index.js.map +1 -0
- package/build/node_modules/rc-motion/es/interface.js +2 -0
- package/build/node_modules/rc-motion/es/interface.js.map +1 -0
- package/build/node_modules/rc-motion/es/util/diff.js +2 -0
- package/build/node_modules/rc-motion/es/util/diff.js.map +1 -0
- package/build/node_modules/rc-motion/es/util/motion.js +2 -0
- package/build/node_modules/rc-motion/es/util/motion.js.map +1 -0
- package/build/node_modules/rc-resize-observer/es/Collection.js +2 -0
- package/build/node_modules/rc-resize-observer/es/Collection.js.map +1 -0
- package/build/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +2 -0
- package/build/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js.map +1 -0
- package/build/node_modules/rc-resize-observer/es/SingleObserver/index.js +2 -0
- package/build/node_modules/rc-resize-observer/es/SingleObserver/index.js.map +1 -0
- package/build/node_modules/rc-resize-observer/es/index.js +2 -0
- package/build/node_modules/rc-resize-observer/es/index.js.map +1 -0
- package/build/node_modules/rc-resize-observer/es/utils/observerUtil.js +2 -0
- package/build/node_modules/rc-resize-observer/es/utils/observerUtil.js.map +1 -0
- package/build/node_modules/rc-tooltip/es/Popup.js +2 -0
- package/build/node_modules/rc-tooltip/es/Popup.js.map +1 -0
- package/build/node_modules/rc-tooltip/es/Tooltip.js +2 -0
- package/build/node_modules/rc-tooltip/es/Tooltip.js.map +1 -0
- package/build/node_modules/rc-tooltip/es/index.js +2 -0
- package/build/node_modules/rc-tooltip/es/index.js.map +1 -0
- package/build/node_modules/rc-tooltip/es/placements.js +2 -0
- package/build/node_modules/rc-tooltip/es/placements.js.map +1 -0
- package/build/node_modules/rc-util/es/Children/toArray.js +2 -0
- package/build/node_modules/rc-util/es/Children/toArray.js.map +1 -0
- package/build/node_modules/rc-util/es/Dom/canUseDom.js +2 -0
- package/build/node_modules/rc-util/es/Dom/canUseDom.js.map +1 -0
- package/build/node_modules/rc-util/es/Dom/contains.js +2 -0
- package/build/node_modules/rc-util/es/Dom/contains.js.map +1 -0
- package/build/node_modules/rc-util/es/Dom/dynamicCSS.js +2 -0
- package/build/node_modules/rc-util/es/Dom/dynamicCSS.js.map +1 -0
- package/build/node_modules/rc-util/es/Dom/findDOMNode.js +2 -0
- package/build/node_modules/rc-util/es/Dom/findDOMNode.js.map +1 -0
- package/build/node_modules/rc-util/es/Dom/isVisible.js +2 -0
- package/build/node_modules/rc-util/es/Dom/isVisible.js.map +1 -0
- package/build/node_modules/rc-util/es/Dom/shadow.js +2 -0
- package/build/node_modules/rc-util/es/Dom/shadow.js.map +1 -0
- package/build/node_modules/rc-util/es/getScrollBarSize.js +2 -0
- package/build/node_modules/rc-util/es/getScrollBarSize.js.map +1 -0
- package/build/node_modules/rc-util/es/hooks/useEvent.js +2 -0
- package/build/node_modules/rc-util/es/hooks/useEvent.js.map +1 -0
- package/build/node_modules/rc-util/es/hooks/useId.js +2 -0
- package/build/node_modules/rc-util/es/hooks/useId.js.map +1 -0
- package/build/node_modules/rc-util/es/hooks/useLayoutEffect.js +2 -0
- package/build/node_modules/rc-util/es/hooks/useLayoutEffect.js.map +1 -0
- package/build/node_modules/rc-util/es/hooks/useMemo.js +2 -0
- package/build/node_modules/rc-util/es/hooks/useMemo.js.map +1 -0
- package/build/node_modules/rc-util/es/hooks/useState.js +2 -0
- package/build/node_modules/rc-util/es/hooks/useState.js.map +1 -0
- package/build/node_modules/rc-util/es/hooks/useSyncState.js +2 -0
- package/build/node_modules/rc-util/es/hooks/useSyncState.js.map +1 -0
- package/build/node_modules/rc-util/es/isMobile.js +2 -0
- package/build/node_modules/rc-util/es/isMobile.js.map +1 -0
- package/build/node_modules/rc-util/es/raf.js +2 -0
- package/build/node_modules/rc-util/es/raf.js.map +1 -0
- package/build/node_modules/rc-util/es/ref.js +2 -0
- package/build/node_modules/rc-util/es/ref.js.map +1 -0
- package/build/node_modules/rc-util/es/warning.js +2 -0
- package/build/node_modules/rc-util/es/warning.js.map +1 -0
- package/build/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +11 -0
- package/build/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/build/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +11 -0
- package/build/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/build/node_modules/rc-util/node_modules/react-is/index.js +2 -0
- package/build/node_modules/rc-util/node_modules/react-is/index.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/activity.js +2 -0
- package/build/node_modules/react-feather/dist/icons/activity.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/airplay.js +2 -0
- package/build/node_modules/react-feather/dist/icons/airplay.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/alert-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/alert-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/alert-octagon.js +2 -0
- package/build/node_modules/react-feather/dist/icons/alert-octagon.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/alert-triangle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/alert-triangle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/align-center.js +2 -0
- package/build/node_modules/react-feather/dist/icons/align-center.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/align-justify.js +2 -0
- package/build/node_modules/react-feather/dist/icons/align-justify.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/align-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/align-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/align-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/align-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/anchor.js +2 -0
- package/build/node_modules/react-feather/dist/icons/anchor.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/aperture.js +2 -0
- package/build/node_modules/react-feather/dist/icons/aperture.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/archive.js +2 -0
- package/build/node_modules/react-feather/dist/icons/archive.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-down.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-left-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-left-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-right-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-right-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up.js +2 -0
- package/build/node_modules/react-feather/dist/icons/arrow-up.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/at-sign.js +2 -0
- package/build/node_modules/react-feather/dist/icons/at-sign.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/award.js +2 -0
- package/build/node_modules/react-feather/dist/icons/award.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/bar-chart-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/bar-chart-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/bar-chart.js +2 -0
- package/build/node_modules/react-feather/dist/icons/bar-chart.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/battery-charging.js +2 -0
- package/build/node_modules/react-feather/dist/icons/battery-charging.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/battery.js +2 -0
- package/build/node_modules/react-feather/dist/icons/battery.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/bell-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/bell-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/bell.js +2 -0
- package/build/node_modules/react-feather/dist/icons/bell.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/bluetooth.js +2 -0
- package/build/node_modules/react-feather/dist/icons/bluetooth.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/bold.js +2 -0
- package/build/node_modules/react-feather/dist/icons/bold.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/book-open.js +2 -0
- package/build/node_modules/react-feather/dist/icons/book-open.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/book.js +2 -0
- package/build/node_modules/react-feather/dist/icons/book.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/bookmark.js +2 -0
- package/build/node_modules/react-feather/dist/icons/bookmark.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/box.js +2 -0
- package/build/node_modules/react-feather/dist/icons/box.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/briefcase.js +2 -0
- package/build/node_modules/react-feather/dist/icons/briefcase.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/calendar.js +2 -0
- package/build/node_modules/react-feather/dist/icons/calendar.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/camera-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/camera-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/camera.js +2 -0
- package/build/node_modules/react-feather/dist/icons/camera.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cast.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cast.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/check-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/check-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/check-square.js +2 -0
- package/build/node_modules/react-feather/dist/icons/check-square.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/check.js +2 -0
- package/build/node_modules/react-feather/dist/icons/check.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevron-down.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevron-down.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevron-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevron-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevron-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevron-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevron-up.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevron-up.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-down.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-down.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-up.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chevrons-up.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/chrome.js +2 -0
- package/build/node_modules/react-feather/dist/icons/chrome.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/clipboard.js +2 -0
- package/build/node_modules/react-feather/dist/icons/clipboard.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/clock.js +2 -0
- package/build/node_modules/react-feather/dist/icons/clock.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cloud-drizzle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cloud-drizzle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cloud-lightning.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cloud-lightning.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cloud-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cloud-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cloud-rain.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cloud-rain.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cloud-snow.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cloud-snow.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cloud.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cloud.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/code.js +2 -0
- package/build/node_modules/react-feather/dist/icons/code.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/codepen.js +2 -0
- package/build/node_modules/react-feather/dist/icons/codepen.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/codesandbox.js +2 -0
- package/build/node_modules/react-feather/dist/icons/codesandbox.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/coffee.js +2 -0
- package/build/node_modules/react-feather/dist/icons/coffee.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/columns.js +2 -0
- package/build/node_modules/react-feather/dist/icons/columns.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/command.js +2 -0
- package/build/node_modules/react-feather/dist/icons/command.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/compass.js +2 -0
- package/build/node_modules/react-feather/dist/icons/compass.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/copy.js +2 -0
- package/build/node_modules/react-feather/dist/icons/copy.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-down-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-down-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-down-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-down-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-left-down.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-left-down.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-left-up.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-left-up.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-right-down.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-right-down.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-right-up.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-right-up.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-up-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-up-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/corner-up-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/corner-up-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/cpu.js +2 -0
- package/build/node_modules/react-feather/dist/icons/cpu.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/credit-card.js +2 -0
- package/build/node_modules/react-feather/dist/icons/credit-card.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/crop.js +2 -0
- package/build/node_modules/react-feather/dist/icons/crop.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/crosshair.js +2 -0
- package/build/node_modules/react-feather/dist/icons/crosshair.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/database.js +2 -0
- package/build/node_modules/react-feather/dist/icons/database.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/delete.js +2 -0
- package/build/node_modules/react-feather/dist/icons/delete.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/disc.js +2 -0
- package/build/node_modules/react-feather/dist/icons/disc.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/divide-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/divide-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/divide-square.js +2 -0
- package/build/node_modules/react-feather/dist/icons/divide-square.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/divide.js +2 -0
- package/build/node_modules/react-feather/dist/icons/divide.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/dollar-sign.js +2 -0
- package/build/node_modules/react-feather/dist/icons/dollar-sign.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/download-cloud.js +2 -0
- package/build/node_modules/react-feather/dist/icons/download-cloud.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/download.js +2 -0
- package/build/node_modules/react-feather/dist/icons/download.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/dribbble.js +2 -0
- package/build/node_modules/react-feather/dist/icons/dribbble.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/droplet.js +2 -0
- package/build/node_modules/react-feather/dist/icons/droplet.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/edit-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/edit-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/edit-3.js +2 -0
- package/build/node_modules/react-feather/dist/icons/edit-3.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/edit.js +2 -0
- package/build/node_modules/react-feather/dist/icons/edit.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/external-link.js +2 -0
- package/build/node_modules/react-feather/dist/icons/external-link.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/eye-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/eye-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/eye.js +2 -0
- package/build/node_modules/react-feather/dist/icons/eye.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/facebook.js +2 -0
- package/build/node_modules/react-feather/dist/icons/facebook.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/fast-forward.js +2 -0
- package/build/node_modules/react-feather/dist/icons/fast-forward.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/feather.js +2 -0
- package/build/node_modules/react-feather/dist/icons/feather.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/figma.js +2 -0
- package/build/node_modules/react-feather/dist/icons/figma.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/file-minus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/file-minus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/file-plus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/file-plus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/file-text.js +2 -0
- package/build/node_modules/react-feather/dist/icons/file-text.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/file.js +2 -0
- package/build/node_modules/react-feather/dist/icons/file.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/film.js +2 -0
- package/build/node_modules/react-feather/dist/icons/film.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/filter.js +2 -0
- package/build/node_modules/react-feather/dist/icons/filter.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/flag.js +2 -0
- package/build/node_modules/react-feather/dist/icons/flag.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/folder-minus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/folder-minus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/folder-plus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/folder-plus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/folder.js +2 -0
- package/build/node_modules/react-feather/dist/icons/folder.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/framer.js +2 -0
- package/build/node_modules/react-feather/dist/icons/framer.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/frown.js +2 -0
- package/build/node_modules/react-feather/dist/icons/frown.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/gift.js +2 -0
- package/build/node_modules/react-feather/dist/icons/gift.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/git-branch.js +2 -0
- package/build/node_modules/react-feather/dist/icons/git-branch.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/git-commit.js +2 -0
- package/build/node_modules/react-feather/dist/icons/git-commit.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/git-merge.js +2 -0
- package/build/node_modules/react-feather/dist/icons/git-merge.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/git-pull-request.js +2 -0
- package/build/node_modules/react-feather/dist/icons/git-pull-request.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/github.js +2 -0
- package/build/node_modules/react-feather/dist/icons/github.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/gitlab.js +2 -0
- package/build/node_modules/react-feather/dist/icons/gitlab.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/globe.js +2 -0
- package/build/node_modules/react-feather/dist/icons/globe.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/grid.js +2 -0
- package/build/node_modules/react-feather/dist/icons/grid.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/hard-drive.js +2 -0
- package/build/node_modules/react-feather/dist/icons/hard-drive.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/hash.js +2 -0
- package/build/node_modules/react-feather/dist/icons/hash.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/headphones.js +2 -0
- package/build/node_modules/react-feather/dist/icons/headphones.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/heart.js +2 -0
- package/build/node_modules/react-feather/dist/icons/heart.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/help-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/help-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/hexagon.js +2 -0
- package/build/node_modules/react-feather/dist/icons/hexagon.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/home.js +2 -0
- package/build/node_modules/react-feather/dist/icons/home.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/image.js +2 -0
- package/build/node_modules/react-feather/dist/icons/image.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/inbox.js +2 -0
- package/build/node_modules/react-feather/dist/icons/inbox.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/info.js +2 -0
- package/build/node_modules/react-feather/dist/icons/info.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/instagram.js +2 -0
- package/build/node_modules/react-feather/dist/icons/instagram.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/italic.js +2 -0
- package/build/node_modules/react-feather/dist/icons/italic.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/key.js +2 -0
- package/build/node_modules/react-feather/dist/icons/key.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/layers.js +2 -0
- package/build/node_modules/react-feather/dist/icons/layers.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/layout.js +2 -0
- package/build/node_modules/react-feather/dist/icons/layout.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/life-buoy.js +2 -0
- package/build/node_modules/react-feather/dist/icons/life-buoy.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/link-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/link-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/link.js +2 -0
- package/build/node_modules/react-feather/dist/icons/link.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/linkedin.js +2 -0
- package/build/node_modules/react-feather/dist/icons/linkedin.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/list.js +2 -0
- package/build/node_modules/react-feather/dist/icons/list.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/loader.js +2 -0
- package/build/node_modules/react-feather/dist/icons/loader.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/lock.js +2 -0
- package/build/node_modules/react-feather/dist/icons/lock.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/log-in.js +2 -0
- package/build/node_modules/react-feather/dist/icons/log-in.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/log-out.js +2 -0
- package/build/node_modules/react-feather/dist/icons/log-out.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/mail.js +2 -0
- package/build/node_modules/react-feather/dist/icons/mail.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/map-pin.js +2 -0
- package/build/node_modules/react-feather/dist/icons/map-pin.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/map.js +2 -0
- package/build/node_modules/react-feather/dist/icons/map.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/maximize-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/maximize-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/maximize.js +2 -0
- package/build/node_modules/react-feather/dist/icons/maximize.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/meh.js +2 -0
- package/build/node_modules/react-feather/dist/icons/meh.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/menu.js +2 -0
- package/build/node_modules/react-feather/dist/icons/menu.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/message-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/message-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/message-square.js +2 -0
- package/build/node_modules/react-feather/dist/icons/message-square.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/mic-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/mic-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/mic.js +2 -0
- package/build/node_modules/react-feather/dist/icons/mic.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/minimize-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/minimize-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/minimize.js +2 -0
- package/build/node_modules/react-feather/dist/icons/minimize.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/minus-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/minus-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/minus-square.js +2 -0
- package/build/node_modules/react-feather/dist/icons/minus-square.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/minus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/minus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/monitor.js +2 -0
- package/build/node_modules/react-feather/dist/icons/monitor.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/moon.js +2 -0
- package/build/node_modules/react-feather/dist/icons/moon.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/more-horizontal.js +2 -0
- package/build/node_modules/react-feather/dist/icons/more-horizontal.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/more-vertical.js +2 -0
- package/build/node_modules/react-feather/dist/icons/more-vertical.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/mouse-pointer.js +2 -0
- package/build/node_modules/react-feather/dist/icons/mouse-pointer.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/move.js +2 -0
- package/build/node_modules/react-feather/dist/icons/move.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/music.js +2 -0
- package/build/node_modules/react-feather/dist/icons/music.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/navigation-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/navigation-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/navigation.js +2 -0
- package/build/node_modules/react-feather/dist/icons/navigation.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/octagon.js +2 -0
- package/build/node_modules/react-feather/dist/icons/octagon.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/package.js +2 -0
- package/build/node_modules/react-feather/dist/icons/package.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/paperclip.js +2 -0
- package/build/node_modules/react-feather/dist/icons/paperclip.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/pause-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/pause-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/pause.js +2 -0
- package/build/node_modules/react-feather/dist/icons/pause.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/pen-tool.js +2 -0
- package/build/node_modules/react-feather/dist/icons/pen-tool.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/percent.js +2 -0
- package/build/node_modules/react-feather/dist/icons/percent.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/phone-call.js +2 -0
- package/build/node_modules/react-feather/dist/icons/phone-call.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/phone-forwarded.js +2 -0
- package/build/node_modules/react-feather/dist/icons/phone-forwarded.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/phone-incoming.js +2 -0
- package/build/node_modules/react-feather/dist/icons/phone-incoming.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/phone-missed.js +2 -0
- package/build/node_modules/react-feather/dist/icons/phone-missed.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/phone-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/phone-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/phone-outgoing.js +2 -0
- package/build/node_modules/react-feather/dist/icons/phone-outgoing.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/phone.js +2 -0
- package/build/node_modules/react-feather/dist/icons/phone.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/pie-chart.js +2 -0
- package/build/node_modules/react-feather/dist/icons/pie-chart.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/play-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/play-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/play.js +2 -0
- package/build/node_modules/react-feather/dist/icons/play.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/plus-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/plus-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/plus-square.js +2 -0
- package/build/node_modules/react-feather/dist/icons/plus-square.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/plus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/plus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/pocket.js +2 -0
- package/build/node_modules/react-feather/dist/icons/pocket.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/power.js +2 -0
- package/build/node_modules/react-feather/dist/icons/power.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/printer.js +2 -0
- package/build/node_modules/react-feather/dist/icons/printer.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/radio.js +2 -0
- package/build/node_modules/react-feather/dist/icons/radio.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/refresh-ccw.js +2 -0
- package/build/node_modules/react-feather/dist/icons/refresh-ccw.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/refresh-cw.js +2 -0
- package/build/node_modules/react-feather/dist/icons/refresh-cw.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/repeat.js +2 -0
- package/build/node_modules/react-feather/dist/icons/repeat.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/rewind.js +2 -0
- package/build/node_modules/react-feather/dist/icons/rewind.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/rotate-ccw.js +2 -0
- package/build/node_modules/react-feather/dist/icons/rotate-ccw.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/rotate-cw.js +2 -0
- package/build/node_modules/react-feather/dist/icons/rotate-cw.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/rss.js +2 -0
- package/build/node_modules/react-feather/dist/icons/rss.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/save.js +2 -0
- package/build/node_modules/react-feather/dist/icons/save.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/scissors.js +2 -0
- package/build/node_modules/react-feather/dist/icons/scissors.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/search.js +2 -0
- package/build/node_modules/react-feather/dist/icons/search.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/send.js +2 -0
- package/build/node_modules/react-feather/dist/icons/send.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/server.js +2 -0
- package/build/node_modules/react-feather/dist/icons/server.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/settings.js +2 -0
- package/build/node_modules/react-feather/dist/icons/settings.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/share-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/share-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/share.js +2 -0
- package/build/node_modules/react-feather/dist/icons/share.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/shield-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/shield-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/shield.js +2 -0
- package/build/node_modules/react-feather/dist/icons/shield.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/shopping-bag.js +2 -0
- package/build/node_modules/react-feather/dist/icons/shopping-bag.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/shopping-cart.js +2 -0
- package/build/node_modules/react-feather/dist/icons/shopping-cart.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/shuffle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/shuffle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/sidebar.js +2 -0
- package/build/node_modules/react-feather/dist/icons/sidebar.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/skip-back.js +2 -0
- package/build/node_modules/react-feather/dist/icons/skip-back.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/skip-forward.js +2 -0
- package/build/node_modules/react-feather/dist/icons/skip-forward.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/slack.js +2 -0
- package/build/node_modules/react-feather/dist/icons/slack.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/slash.js +2 -0
- package/build/node_modules/react-feather/dist/icons/slash.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/sliders.js +2 -0
- package/build/node_modules/react-feather/dist/icons/sliders.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/smartphone.js +2 -0
- package/build/node_modules/react-feather/dist/icons/smartphone.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/smile.js +2 -0
- package/build/node_modules/react-feather/dist/icons/smile.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/speaker.js +2 -0
- package/build/node_modules/react-feather/dist/icons/speaker.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/square.js +2 -0
- package/build/node_modules/react-feather/dist/icons/square.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/star.js +2 -0
- package/build/node_modules/react-feather/dist/icons/star.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/stop-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/stop-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/sun.js +2 -0
- package/build/node_modules/react-feather/dist/icons/sun.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/sunrise.js +2 -0
- package/build/node_modules/react-feather/dist/icons/sunrise.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/sunset.js +2 -0
- package/build/node_modules/react-feather/dist/icons/sunset.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/table.js +2 -0
- package/build/node_modules/react-feather/dist/icons/table.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/tablet.js +2 -0
- package/build/node_modules/react-feather/dist/icons/tablet.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/tag.js +2 -0
- package/build/node_modules/react-feather/dist/icons/tag.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/target.js +2 -0
- package/build/node_modules/react-feather/dist/icons/target.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/terminal.js +2 -0
- package/build/node_modules/react-feather/dist/icons/terminal.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/thermometer.js +2 -0
- package/build/node_modules/react-feather/dist/icons/thermometer.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/thumbs-down.js +2 -0
- package/build/node_modules/react-feather/dist/icons/thumbs-down.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/thumbs-up.js +2 -0
- package/build/node_modules/react-feather/dist/icons/thumbs-up.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/toggle-left.js +2 -0
- package/build/node_modules/react-feather/dist/icons/toggle-left.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/toggle-right.js +2 -0
- package/build/node_modules/react-feather/dist/icons/toggle-right.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/tool.js +2 -0
- package/build/node_modules/react-feather/dist/icons/tool.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/trash-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/trash-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/trash.js +2 -0
- package/build/node_modules/react-feather/dist/icons/trash.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/trello.js +2 -0
- package/build/node_modules/react-feather/dist/icons/trello.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/trending-down.js +2 -0
- package/build/node_modules/react-feather/dist/icons/trending-down.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/trending-up.js +2 -0
- package/build/node_modules/react-feather/dist/icons/trending-up.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/triangle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/triangle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/truck.js +2 -0
- package/build/node_modules/react-feather/dist/icons/truck.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/tv.js +2 -0
- package/build/node_modules/react-feather/dist/icons/tv.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/twitch.js +2 -0
- package/build/node_modules/react-feather/dist/icons/twitch.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/twitter.js +2 -0
- package/build/node_modules/react-feather/dist/icons/twitter.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/type.js +2 -0
- package/build/node_modules/react-feather/dist/icons/type.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/umbrella.js +2 -0
- package/build/node_modules/react-feather/dist/icons/umbrella.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/underline.js +2 -0
- package/build/node_modules/react-feather/dist/icons/underline.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/unlock.js +2 -0
- package/build/node_modules/react-feather/dist/icons/unlock.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/upload-cloud.js +2 -0
- package/build/node_modules/react-feather/dist/icons/upload-cloud.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/upload.js +2 -0
- package/build/node_modules/react-feather/dist/icons/upload.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/user-check.js +2 -0
- package/build/node_modules/react-feather/dist/icons/user-check.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/user-minus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/user-minus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/user-plus.js +2 -0
- package/build/node_modules/react-feather/dist/icons/user-plus.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/user-x.js +2 -0
- package/build/node_modules/react-feather/dist/icons/user-x.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/user.js +2 -0
- package/build/node_modules/react-feather/dist/icons/user.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/users.js +2 -0
- package/build/node_modules/react-feather/dist/icons/users.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/video-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/video-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/video.js +2 -0
- package/build/node_modules/react-feather/dist/icons/video.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/voicemail.js +2 -0
- package/build/node_modules/react-feather/dist/icons/voicemail.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/volume-1.js +2 -0
- package/build/node_modules/react-feather/dist/icons/volume-1.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/volume-2.js +2 -0
- package/build/node_modules/react-feather/dist/icons/volume-2.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/volume-x.js +2 -0
- package/build/node_modules/react-feather/dist/icons/volume-x.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/volume.js +2 -0
- package/build/node_modules/react-feather/dist/icons/volume.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/watch.js +2 -0
- package/build/node_modules/react-feather/dist/icons/watch.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/wifi-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/wifi-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/wifi.js +2 -0
- package/build/node_modules/react-feather/dist/icons/wifi.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/wind.js +2 -0
- package/build/node_modules/react-feather/dist/icons/wind.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/x-circle.js +2 -0
- package/build/node_modules/react-feather/dist/icons/x-circle.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/x-octagon.js +2 -0
- package/build/node_modules/react-feather/dist/icons/x-octagon.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/x-square.js +2 -0
- package/build/node_modules/react-feather/dist/icons/x-square.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/x.js +2 -0
- package/build/node_modules/react-feather/dist/icons/x.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/youtube.js +2 -0
- package/build/node_modules/react-feather/dist/icons/youtube.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/zap-off.js +2 -0
- package/build/node_modules/react-feather/dist/icons/zap-off.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/zap.js +2 -0
- package/build/node_modules/react-feather/dist/icons/zap.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/zoom-in.js +2 -0
- package/build/node_modules/react-feather/dist/icons/zoom-in.js.map +1 -0
- package/build/node_modules/react-feather/dist/icons/zoom-out.js +2 -0
- package/build/node_modules/react-feather/dist/icons/zoom-out.js.map +1 -0
- package/build/node_modules/react-feather/dist/index.js +2 -0
- package/build/node_modules/react-feather/dist/index.js.map +1 -0
- package/build/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +2 -0
- package/build/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js.map +1 -0
- package/build/src/components/Atom/Button/Button.js.map +1 -0
- package/build/src/components/Atom/Checkbox/Checkbox.js +2 -0
- package/build/src/components/Atom/Checkbox/Checkbox.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Disable.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Disable.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/EditFilled.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/EditFilled.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Error.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Error.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/ExcelFile.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/ExcelFile.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/FBLike.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/FBLike.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/FBLove.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/FBLove.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/FileUpload.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/FileUpload.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Hide.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Hide.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Info.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Info.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Success.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Success.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Upload.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Upload.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Warning.js +2 -0
- package/build/src/components/Atom/Icon/Custom/Icons/Warning.js.map +1 -0
- package/build/src/components/Atom/Icon/Custom/index.js +2 -0
- package/build/src/components/Atom/Icon/Custom/index.js.map +1 -0
- package/build/src/components/Atom/Icon/Icon.js +2 -0
- package/build/src/components/Atom/Icon/Icon.js.map +1 -0
- package/build/src/components/Atom/Input/Input.js +2 -0
- package/build/src/components/Atom/Input/Input.js.map +1 -0
- package/build/src/components/Atom/Typography/Typography.js +2 -0
- package/build/src/components/Atom/Typography/Typography.js.map +1 -0
- package/build/src/components/Molecule/Message/Message.js +2 -0
- package/build/src/components/Molecule/Message/Message.js.map +1 -0
- package/build/src/components/Molecule/Message/Message.types.js +2 -0
- package/build/src/components/Molecule/Message/Message.types.js.map +1 -0
- package/build/src/components/Molecule/Message/MessageManager.js +2 -0
- package/build/src/components/Molecule/Message/MessageManager.js.map +1 -0
- package/build/src/components/Molecule/Table/Table.js +2 -0
- package/build/src/components/Molecule/Table/Table.js.map +1 -0
- package/build/src/components/Molecule/Table/Table.types.js +2 -0
- package/build/src/components/Molecule/Table/Table.types.js.map +1 -0
- package/build/src/components/Molecule/Tooltip/Tooltip.js +2 -0
- package/build/src/components/Molecule/Tooltip/Tooltip.js.map +1 -0
- package/build/src/index.js +2 -0
- package/build/src/index.js.map +1 -0
- package/build/tsconfig.prod.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -4
- package/build/components/Atom/Button/Button.js.map +0 -1
- package/build/index.js +0 -2
- /package/build/{index.js.map → _virtual/index.js.map} +0 -0
- /package/build/{components → src/components}/Atom/Button/Button.js +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../rc-util/es/raf.js");function r(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var t=r(require("react"));module.exports=function(){var r=t.useRef(null);function n(){e.cancel(r.current)}return t.useEffect((function(){return function(){n()}}),[]),[function t(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;n();var f=e((function(){c<=1?u({isCanceled:function(){return f!==r.current}}):t(u,c-1)}));r.current=f},n]};
|
|
2
|
+
//# sourceMappingURL=useNextFrame.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNextFrame.js","sources":["../../../../../node_modules/rc-motion/es/hooks/useNextFrame.js"],"sourcesContent":["import raf from \"rc-util/es/raf\";\nimport * as React from 'react';\nexport default (function () {\n var nextFrameRef = React.useRef(null);\n function cancelNextFrame() {\n raf.cancel(nextFrameRef.current);\n }\n function nextFrame(callback) {\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n cancelNextFrame();\n var nextFrameId = raf(function () {\n if (delay <= 1) {\n callback({\n isCanceled: function isCanceled() {\n return nextFrameId !== nextFrameRef.current;\n }\n });\n } else {\n nextFrame(callback, delay - 1);\n }\n });\n nextFrameRef.current = nextFrameId;\n }\n React.useEffect(function () {\n return function () {\n cancelNextFrame();\n };\n }, []);\n return [nextFrame, cancelNextFrame];\n});"],"names":["nextFrameRef","React","useRef","cancelNextFrame","raf","cancel","current","useEffect","nextFrame","callback","delay","arguments","length","undefined","nextFrameId","isCanceled"],"mappings":"qWAEe,WACb,IAAIA,EAAeC,EAAMC,OAAO,MAChC,SAASC,IACPC,EAAIC,OAAOL,EAAaM,QACzB,CAsBD,OALAL,EAAMM,WAAU,WACd,OAAO,WACLJ,GACN,CACG,GAAE,IACI,CArBP,SAASK,EAAUC,GACjB,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAChFR,IACA,IAAIW,EAAcV,GAAI,WAChBM,GAAS,EACXD,EAAS,CACPM,WAAY,WACV,OAAOD,IAAgBd,EAAaM,OACrC,IAGHE,EAAUC,EAAUC,EAAQ,EAEpC,IACIV,EAAaM,QAAUQ,CACxB,EAMkBX,EACpB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/objectSpread2.js"),r=require("../../../@babel/runtime/helpers/esm/defineProperty.js"),t=require("../../../@babel/runtime/helpers/esm/slicedToArray.js"),n=require("../../../rc-util/es/hooks/useEvent.js");require("../../../rc-util/es/hooks/useLayoutEffect.js");var u=require("../../../rc-util/es/hooks/useState.js");require("../../../rc-util/es/ref.js"),require("../../../rc-util/es/warning.js");var i=require("../../../rc-util/es/hooks/useSyncState.js"),o=require("react"),E=require("../interface.js"),T=require("./useDomMotionEvents.js"),S=require("./useIsomorphicLayoutEffect.js"),a=require("./useStepQueue.js");function c(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var s=c(o);module.exports=function(c,A,l,P){var f=P.motionEnter,v=void 0===f||f,_=P.motionAppear,R=void 0===_||_,d=P.motionLeave,p=void 0===d||d,m=P.motionDeadline,j=P.motionLeaveImmediately,U=P.onAppearPrepare,N=P.onEnterPrepare,b=P.onLeavePrepare,q=P.onAppearStart,O=P.onEnterStart,L=P.onLeaveStart,h=P.onAppearActive,y=P.onEnterActive,V=P.onLeaveActive,g=P.onAppearEnd,k=P.onEnterEnd,I=P.onLeaveEnd,C=P.onVisibleChanged,D=u(),w=t(D,2),M=w[0],x=w[1],z=i(E.STATUS_NONE),Q=t(z,2),B=Q[0],F=Q[1],G=u(null),H=t(G,2),J=H[0],K=H[1],W=B(),X=o.useRef(!1),Y=o.useRef(null);function Z(){return l()}var $=o.useRef(!1);function ee(){F(E.STATUS_NONE),K(null,!0)}var re=n((function(e){var r=B();if(r!==E.STATUS_NONE){var t=Z();if(!e||e.deadline||e.target===t){var n,u=$.current;r===E.STATUS_APPEAR&&u?n=null==g?void 0:g(t,e):r===E.STATUS_ENTER&&u?n=null==k?void 0:k(t,e):r===E.STATUS_LEAVE&&u&&(n=null==I?void 0:I(t,e)),u&&!1!==n&&ee()}}})),te=T(re),ne=t(te,1)[0],ue=function(e){switch(e){case E.STATUS_APPEAR:return r(r(r({},E.STEP_PREPARE,U),E.STEP_START,q),E.STEP_ACTIVE,h);case E.STATUS_ENTER:return r(r(r({},E.STEP_PREPARE,N),E.STEP_START,O),E.STEP_ACTIVE,y);case E.STATUS_LEAVE:return r(r(r({},E.STEP_PREPARE,b),E.STEP_START,L),E.STEP_ACTIVE,V);default:return{}}},ie=s.useMemo((function(){return ue(W)}),[W]),oe=a.default(W,!c,(function(e){if(e===E.STEP_PREPARE){var r=ie[E.STEP_PREPARE];return r?r(Z()):a.SkipStep}var t;Se in ie&&K((null===(t=ie[Se])||void 0===t?void 0:t.call(ie,Z(),null))||null);return Se===E.STEP_ACTIVE&&W!==E.STATUS_NONE&&(ne(Z()),m>0&&(clearTimeout(Y.current),Y.current=setTimeout((function(){re({deadline:!0})}),m))),Se===E.STEP_PREPARED&&ee(),a.DoStep})),Ee=t(oe,2),Te=Ee[0],Se=Ee[1],ae=a.isActive(Se);$.current=ae,S((function(){x(A);var e,r=X.current;X.current=!0,!r&&A&&R&&(e=E.STATUS_APPEAR),r&&A&&v&&(e=E.STATUS_ENTER),(r&&!A&&p||!r&&j&&!A&&p)&&(e=E.STATUS_LEAVE);var t=ue(e);e&&(c||t[E.STEP_PREPARE])?(F(e),Te()):F(E.STATUS_NONE)}),[A]),o.useEffect((function(){(W===E.STATUS_APPEAR&&!R||W===E.STATUS_ENTER&&!v||W===E.STATUS_LEAVE&&!p)&&F(E.STATUS_NONE)}),[R,v,p]),o.useEffect((function(){return function(){X.current=!1,clearTimeout(Y.current)}}),[]);var ce=s.useRef(!1);o.useEffect((function(){M&&(ce.current=!0),void 0!==M&&W===E.STATUS_NONE&&((ce.current||M)&&(null==C||C(M)),ce.current=!0)}),[M,W]);var se=J;return ie[E.STEP_PREPARE]&&Se===E.STEP_START&&(se=e({transition:"none"},se)),[W,Se,se,null!=M?M:A]};
|
|
2
|
+
//# sourceMappingURL=useStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStatus.js","sources":["../../../../../node_modules/rc-motion/es/hooks/useStatus.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useEvent } from 'rc-util';\nimport useState from \"rc-util/es/hooks/useState\";\nimport useSyncState from \"rc-util/es/hooks/useSyncState\";\nimport * as React from 'react';\nimport { useEffect, useRef } from 'react';\nimport { STATUS_APPEAR, STATUS_ENTER, STATUS_LEAVE, STATUS_NONE, STEP_ACTIVE, STEP_PREPARE, STEP_PREPARED, STEP_START } from \"../interface\";\nimport useDomMotionEvents from \"./useDomMotionEvents\";\nimport useIsomorphicLayoutEffect from \"./useIsomorphicLayoutEffect\";\nimport useStepQueue, { DoStep, isActive, SkipStep } from \"./useStepQueue\";\nexport default function useStatus(supportMotion, visible, getElement, _ref) {\n var _ref$motionEnter = _ref.motionEnter,\n motionEnter = _ref$motionEnter === void 0 ? true : _ref$motionEnter,\n _ref$motionAppear = _ref.motionAppear,\n motionAppear = _ref$motionAppear === void 0 ? true : _ref$motionAppear,\n _ref$motionLeave = _ref.motionLeave,\n motionLeave = _ref$motionLeave === void 0 ? true : _ref$motionLeave,\n motionDeadline = _ref.motionDeadline,\n motionLeaveImmediately = _ref.motionLeaveImmediately,\n onAppearPrepare = _ref.onAppearPrepare,\n onEnterPrepare = _ref.onEnterPrepare,\n onLeavePrepare = _ref.onLeavePrepare,\n onAppearStart = _ref.onAppearStart,\n onEnterStart = _ref.onEnterStart,\n onLeaveStart = _ref.onLeaveStart,\n onAppearActive = _ref.onAppearActive,\n onEnterActive = _ref.onEnterActive,\n onLeaveActive = _ref.onLeaveActive,\n onAppearEnd = _ref.onAppearEnd,\n onEnterEnd = _ref.onEnterEnd,\n onLeaveEnd = _ref.onLeaveEnd,\n onVisibleChanged = _ref.onVisibleChanged;\n // Used for outer render usage to avoid `visible: false & status: none` to render nothing\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n asyncVisible = _useState2[0],\n setAsyncVisible = _useState2[1];\n var _useSyncState = useSyncState(STATUS_NONE),\n _useSyncState2 = _slicedToArray(_useSyncState, 2),\n getStatus = _useSyncState2[0],\n setStatus = _useSyncState2[1];\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n style = _useState4[0],\n setStyle = _useState4[1];\n var currentStatus = getStatus();\n var mountedRef = useRef(false);\n var deadlineRef = useRef(null);\n\n // =========================== Dom Node ===========================\n function getDomElement() {\n return getElement();\n }\n\n // ========================== Motion End ==========================\n var activeRef = useRef(false);\n\n /**\n * Clean up status & style\n */\n function updateMotionEndStatus() {\n setStatus(STATUS_NONE);\n setStyle(null, true);\n }\n var onInternalMotionEnd = useEvent(function (event) {\n var status = getStatus();\n // Do nothing since not in any transition status.\n // This may happen when `motionDeadline` trigger.\n if (status === STATUS_NONE) {\n return;\n }\n var element = getDomElement();\n if (event && !event.deadline && event.target !== element) {\n // event exists\n // not initiated by deadline\n // transitionEnd not fired by inner elements\n return;\n }\n var currentActive = activeRef.current;\n var canEnd;\n if (status === STATUS_APPEAR && currentActive) {\n canEnd = onAppearEnd === null || onAppearEnd === void 0 ? void 0 : onAppearEnd(element, event);\n } else if (status === STATUS_ENTER && currentActive) {\n canEnd = onEnterEnd === null || onEnterEnd === void 0 ? void 0 : onEnterEnd(element, event);\n } else if (status === STATUS_LEAVE && currentActive) {\n canEnd = onLeaveEnd === null || onLeaveEnd === void 0 ? void 0 : onLeaveEnd(element, event);\n }\n\n // Only update status when `canEnd` and not destroyed\n if (currentActive && canEnd !== false) {\n updateMotionEndStatus();\n }\n });\n var _useDomMotionEvents = useDomMotionEvents(onInternalMotionEnd),\n _useDomMotionEvents2 = _slicedToArray(_useDomMotionEvents, 1),\n patchMotionEvents = _useDomMotionEvents2[0];\n\n // ============================= Step =============================\n var getEventHandlers = function getEventHandlers(targetStatus) {\n switch (targetStatus) {\n case STATUS_APPEAR:\n return _defineProperty(_defineProperty(_defineProperty({}, STEP_PREPARE, onAppearPrepare), STEP_START, onAppearStart), STEP_ACTIVE, onAppearActive);\n case STATUS_ENTER:\n return _defineProperty(_defineProperty(_defineProperty({}, STEP_PREPARE, onEnterPrepare), STEP_START, onEnterStart), STEP_ACTIVE, onEnterActive);\n case STATUS_LEAVE:\n return _defineProperty(_defineProperty(_defineProperty({}, STEP_PREPARE, onLeavePrepare), STEP_START, onLeaveStart), STEP_ACTIVE, onLeaveActive);\n default:\n return {};\n }\n };\n var eventHandlers = React.useMemo(function () {\n return getEventHandlers(currentStatus);\n }, [currentStatus]);\n var _useStepQueue = useStepQueue(currentStatus, !supportMotion, function (newStep) {\n // Only prepare step can be skip\n if (newStep === STEP_PREPARE) {\n var onPrepare = eventHandlers[STEP_PREPARE];\n if (!onPrepare) {\n return SkipStep;\n }\n return onPrepare(getDomElement());\n }\n\n // Rest step is sync update\n if (step in eventHandlers) {\n var _eventHandlers$step;\n setStyle(((_eventHandlers$step = eventHandlers[step]) === null || _eventHandlers$step === void 0 ? void 0 : _eventHandlers$step.call(eventHandlers, getDomElement(), null)) || null);\n }\n if (step === STEP_ACTIVE && currentStatus !== STATUS_NONE) {\n // Patch events when motion needed\n patchMotionEvents(getDomElement());\n if (motionDeadline > 0) {\n clearTimeout(deadlineRef.current);\n deadlineRef.current = setTimeout(function () {\n onInternalMotionEnd({\n deadline: true\n });\n }, motionDeadline);\n }\n }\n if (step === STEP_PREPARED) {\n updateMotionEndStatus();\n }\n return DoStep;\n }),\n _useStepQueue2 = _slicedToArray(_useStepQueue, 2),\n startStep = _useStepQueue2[0],\n step = _useStepQueue2[1];\n var active = isActive(step);\n activeRef.current = active;\n\n // ============================ Status ============================\n // Update with new status\n useIsomorphicLayoutEffect(function () {\n setAsyncVisible(visible);\n var isMounted = mountedRef.current;\n mountedRef.current = true;\n\n // if (!supportMotion) {\n // return;\n // }\n\n var nextStatus;\n\n // Appear\n if (!isMounted && visible && motionAppear) {\n nextStatus = STATUS_APPEAR;\n }\n\n // Enter\n if (isMounted && visible && motionEnter) {\n nextStatus = STATUS_ENTER;\n }\n\n // Leave\n if (isMounted && !visible && motionLeave || !isMounted && motionLeaveImmediately && !visible && motionLeave) {\n nextStatus = STATUS_LEAVE;\n }\n var nextEventHandlers = getEventHandlers(nextStatus);\n\n // Update to next status\n if (nextStatus && (supportMotion || nextEventHandlers[STEP_PREPARE])) {\n setStatus(nextStatus);\n startStep();\n } else {\n // Set back in case no motion but prev status has prepare step\n setStatus(STATUS_NONE);\n }\n }, [visible]);\n\n // ============================ Effect ============================\n // Reset when motion changed\n useEffect(function () {\n if (\n // Cancel appear\n currentStatus === STATUS_APPEAR && !motionAppear ||\n // Cancel enter\n currentStatus === STATUS_ENTER && !motionEnter ||\n // Cancel leave\n currentStatus === STATUS_LEAVE && !motionLeave) {\n setStatus(STATUS_NONE);\n }\n }, [motionAppear, motionEnter, motionLeave]);\n useEffect(function () {\n return function () {\n mountedRef.current = false;\n clearTimeout(deadlineRef.current);\n };\n }, []);\n\n // Trigger `onVisibleChanged`\n var firstMountChangeRef = React.useRef(false);\n useEffect(function () {\n // [visible & motion not end] => [!visible & motion end] still need trigger onVisibleChanged\n if (asyncVisible) {\n firstMountChangeRef.current = true;\n }\n if (asyncVisible !== undefined && currentStatus === STATUS_NONE) {\n // Skip first render is invisible since it's nothing changed\n if (firstMountChangeRef.current || asyncVisible) {\n onVisibleChanged === null || onVisibleChanged === void 0 || onVisibleChanged(asyncVisible);\n }\n firstMountChangeRef.current = true;\n }\n }, [asyncVisible, currentStatus]);\n\n // ============================ Styles ============================\n var mergedStyle = style;\n if (eventHandlers[STEP_PREPARE] && step === STEP_START) {\n mergedStyle = _objectSpread({\n transition: 'none'\n }, mergedStyle);\n }\n return [currentStatus, step, mergedStyle, asyncVisible !== null && asyncVisible !== void 0 ? asyncVisible : visible];\n}"],"names":["supportMotion","visible","getElement","_ref","_ref$motionEnter","motionEnter","_ref$motionAppear","motionAppear","_ref$motionLeave","motionLeave","motionDeadline","motionLeaveImmediately","onAppearPrepare","onEnterPrepare","onLeavePrepare","onAppearStart","onEnterStart","onLeaveStart","onAppearActive","onEnterActive","onLeaveActive","onAppearEnd","onEnterEnd","onLeaveEnd","onVisibleChanged","_useState","useState","_useState2","_slicedToArray","asyncVisible","setAsyncVisible","_useSyncState","useSyncState","STATUS_NONE","_useSyncState2","getStatus","setStatus","_useState3","_useState4","style","setStyle","currentStatus","mountedRef","useRef","deadlineRef","getDomElement","activeRef","updateMotionEndStatus","onInternalMotionEnd","useEvent","event","status","element","deadline","target","canEnd","currentActive","current","STATUS_APPEAR","STATUS_ENTER","STATUS_LEAVE","_useDomMotionEvents","useDomMotionEvents","patchMotionEvents","getEventHandlers","targetStatus","_defineProperty","STEP_PREPARE","STEP_START","STEP_ACTIVE","eventHandlers","React","useMemo","_useStepQueue","useStepQueue","newStep","onPrepare","SkipStep","_eventHandlers$step","step","call","clearTimeout","setTimeout","STEP_PREPARED","DoStep","_useStepQueue2","startStep","active","isActive","useIsomorphicLayoutEffect","nextStatus","isMounted","nextEventHandlers","useEffect","firstMountChangeRef","undefined","mergedStyle","_objectSpread","transition"],"mappings":"k8BAYe,SAAmBA,EAAeC,EAASC,EAAYC,GACpE,IAAIC,EAAmBD,EAAKE,YAC1BA,OAAmC,IAArBD,GAAqCA,EACnDE,EAAoBH,EAAKI,aACzBA,OAAqC,IAAtBD,GAAsCA,EACrDE,EAAmBL,EAAKM,YACxBA,OAAmC,IAArBD,GAAqCA,EACnDE,EAAiBP,EAAKO,eACtBC,EAAyBR,EAAKQ,uBAC9BC,EAAkBT,EAAKS,gBACvBC,EAAiBV,EAAKU,eACtBC,EAAiBX,EAAKW,eACtBC,EAAgBZ,EAAKY,cACrBC,EAAeb,EAAKa,aACpBC,EAAed,EAAKc,aACpBC,EAAiBf,EAAKe,eACtBC,EAAgBhB,EAAKgB,cACrBC,EAAgBjB,EAAKiB,cACrBC,EAAclB,EAAKkB,YACnBC,EAAanB,EAAKmB,WAClBC,EAAapB,EAAKoB,WAClBC,EAAmBrB,EAAKqB,iBAEtBC,EAAYC,IACdC,EAAaC,EAAeH,EAAW,GACvCI,EAAeF,EAAW,GAC1BG,EAAkBH,EAAW,GAC3BI,EAAgBC,EAAaC,eAC/BC,EAAiBN,EAAeG,EAAe,GAC/CI,EAAYD,EAAe,GAC3BE,EAAYF,EAAe,GACzBG,EAAaX,EAAS,MACxBY,EAAaV,EAAeS,EAAY,GACxCE,EAAQD,EAAW,GACnBE,EAAWF,EAAW,GACpBG,EAAgBN,IAChBO,EAAaC,UAAO,GACpBC,EAAcD,SAAO,MAGzB,SAASE,IACP,OAAO3C,GACR,CAGD,IAAI4C,EAAYH,UAAO,GAKvB,SAASI,KACPX,EAAUH,EAAWA,aACrBO,EAAS,MAAM,EAChB,CACD,IAAIQ,GAAsBC,GAAS,SAAUC,GAC3C,IAAIC,EAAShB,IAGb,GAAIgB,IAAWlB,EAAAA,YAAf,CAGA,IAAImB,EAAUP,IACd,IAAIK,GAAUA,EAAMG,UAAYH,EAAMI,SAAWF,EAAjD,CAMA,IACIG,EADAC,EAAgBV,EAAUW,QAE1BN,IAAWO,EAAaA,eAAIF,EAC9BD,EAASlC,aAAiD,EAASA,EAAY+B,EAASF,GAC/EC,IAAWQ,EAAYA,cAAIH,EACpCD,EAASjC,aAA+C,EAASA,EAAW8B,EAASF,GAC5EC,IAAWS,EAAYA,cAAIJ,IACpCD,EAAShC,aAA+C,EAASA,EAAW6B,EAASF,IAInFM,IAA4B,IAAXD,GACnBR,IAbD,CAPA,CAsBL,IACMc,GAAsBC,EAAmBd,IAE3Ce,GADuBnC,EAAeiC,GAAqB,GAClB,GAGvCG,GAAmB,SAA0BC,GAC/C,OAAQA,GACN,KAAKP,EAAaA,cAChB,OAAOQ,EAAgBA,EAAgBA,EAAgB,CAAE,EAAEC,EAAYA,aAAEvD,GAAkBwD,EAAUA,WAAErD,GAAgBsD,EAAWA,YAAEnD,GACtI,KAAKyC,EAAYA,aACf,OAAOO,EAAgBA,EAAgBA,EAAgB,CAAE,EAAEC,EAAYA,aAAEtD,GAAiBuD,EAAUA,WAAEpD,GAAeqD,EAAWA,YAAElD,GACpI,KAAKyC,EAAYA,aACf,OAAOM,EAAgBA,EAAgBA,EAAgB,CAAE,EAAEC,EAAYA,aAAErD,GAAiBsD,EAAUA,WAAEnD,GAAeoD,EAAWA,YAAEjD,GACpI,QACE,MAAO,GAEf,EACMkD,GAAgBC,EAAMC,SAAQ,WAChC,OAAOR,GAAiBvB,EAC5B,GAAK,CAACA,IACAgC,GAAgBC,EAAAA,QAAajC,GAAgBzC,GAAe,SAAU2E,GAEtE,GAAIA,IAAYR,EAAAA,aAAc,CAC5B,IAAIS,EAAYN,GAAcH,EAAAA,cAC9B,OAAKS,EAGEA,EAAU/B,KAFRgC,UAGV,CAIC,IAAIC,EADFC,MAAQT,IAEV9B,GAA0D,QAA/CsC,EAAsBR,GAAcS,WAA2C,IAAxBD,OAAiC,EAASA,EAAoBE,KAAKV,GAAezB,IAAiB,QAAU,MAiBjL,OAfIkC,KAASV,EAAAA,aAAe5B,IAAkBR,gBAE5C8B,GAAkBlB,KACdnC,EAAiB,IACnBuE,aAAarC,EAAYa,SACzBb,EAAYa,QAAUyB,YAAW,WAC/BlC,GAAoB,CAClBK,UAAU,GAEb,GAAE3C,KAGHqE,KAASI,EAAAA,eACXpC,KAEKqC,QACb,IACIC,GAAiBzD,EAAe6C,GAAe,GAC/Ca,GAAYD,GAAe,GAC3BN,GAAOM,GAAe,GACpBE,GAASC,WAAST,IACtBjC,EAAUW,QAAU8B,GAIpBE,GAA0B,WACxB3D,EAAgB7B,GAChB,IAOIyF,EAPAC,EAAYjD,EAAWe,QAC3Bf,EAAWe,SAAU,GAShBkC,GAAa1F,GAAWM,IAC3BmF,EAAahC,EAAAA,eAIXiC,GAAa1F,GAAWI,IAC1BqF,EAAa/B,EAAAA,eAIXgC,IAAc1F,GAAWQ,IAAgBkF,GAAahF,IAA2BV,GAAWQ,KAC9FiF,EAAa9B,EAAAA,cAEf,IAAIgC,EAAoB5B,GAAiB0B,GAGrCA,IAAe1F,GAAiB4F,EAAkBzB,EAAAA,gBACpD/B,EAAUsD,GACVJ,MAGAlD,EAAUH,EAAWA,YAE3B,GAAK,CAAChC,IAIJ4F,EAAAA,WAAU,YAGRpD,IAAkBiB,EAAaA,gBAAKnD,GAEpCkC,IAAkBkB,EAAYA,eAAKtD,GAEnCoC,IAAkBmB,EAAAA,eAAiBnD,IACjC2B,EAAUH,EAAWA,YAExB,GAAE,CAAC1B,EAAcF,EAAaI,IAC/BoF,EAAAA,WAAU,WACR,OAAO,WACLnD,EAAWe,SAAU,EACrBwB,aAAarC,EAAYa,QAC/B,CACG,GAAE,IAGH,IAAIqC,GAAsBvB,EAAM5B,QAAO,GACvCkD,EAAAA,WAAU,WAEJhE,IACFiE,GAAoBrC,SAAU,QAEXsC,IAAjBlE,GAA8BY,IAAkBR,iBAE9C6D,GAAoBrC,SAAW5B,KACjCL,SAA4DA,EAAiBK,IAE/EiE,GAAoBrC,SAAU,EAEpC,GAAK,CAAC5B,EAAcY,IAGlB,IAAIuD,GAAczD,EAMlB,OALI+B,GAAcH,EAAAA,eAAiBY,KAASX,EAAAA,aAC1C4B,GAAcC,EAAc,CAC1BC,WAAY,QACXF,KAEE,CAACvD,EAAesC,GAAMiB,GAAanE,QAAmDA,EAAe5B,EAC9G","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/slicedToArray.js"),r=require("../../../rc-util/es/hooks/useState.js"),t=require("react"),n=require("../interface.js"),u=require("./useIsomorphicLayoutEffect.js"),i=require("./useNextFrame.js");function o(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var c=o(t),E=[n.STEP_PREPARE,n.STEP_START,n.STEP_ACTIVE,n.STEP_ACTIVATED],s=[n.STEP_PREPARE,n.STEP_PREPARED],f=!1;exports.DoStep=!0,exports.SkipStep=f,exports.default=function(t,o,P){var T=r(n.STEP_NONE),a=e(T,2),S=a[0],A=a[1],l=i(),p=e(l,2),_=p[0],j=p[1];var v=o?s:E;return u((function(){if(S!==n.STEP_NONE&&S!==n.STEP_ACTIVATED){var e=v.indexOf(S),r=v[e+1],t=P(S);t===f?A(r,!0):r&&_((function(e){function n(){e.isCanceled()||A(r,!0)}!0===t?n():Promise.resolve(t).then(n)}))}}),[t,S]),c.useEffect((function(){return function(){j()}}),[]),[function(){A(n.STEP_PREPARE,!0)},S]},exports.isActive=function(e){return e===n.STEP_ACTIVE||e===n.STEP_ACTIVATED};
|
|
2
|
+
//# sourceMappingURL=useStepQueue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStepQueue.js","sources":["../../../../../node_modules/rc-motion/es/hooks/useStepQueue.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport useState from \"rc-util/es/hooks/useState\";\nimport * as React from 'react';\nimport { STEP_ACTIVATED, STEP_ACTIVE, STEP_NONE, STEP_PREPARE, STEP_PREPARED, STEP_START } from \"../interface\";\nimport useIsomorphicLayoutEffect from \"./useIsomorphicLayoutEffect\";\nimport useNextFrame from \"./useNextFrame\";\nvar FULL_STEP_QUEUE = [STEP_PREPARE, STEP_START, STEP_ACTIVE, STEP_ACTIVATED];\nvar SIMPLE_STEP_QUEUE = [STEP_PREPARE, STEP_PREPARED];\n\n/** Skip current step */\nexport var SkipStep = false;\n/** Current step should be update in */\nexport var DoStep = true;\nexport function isActive(step) {\n return step === STEP_ACTIVE || step === STEP_ACTIVATED;\n}\nexport default (function (status, prepareOnly, callback) {\n var _useState = useState(STEP_NONE),\n _useState2 = _slicedToArray(_useState, 2),\n step = _useState2[0],\n setStep = _useState2[1];\n var _useNextFrame = useNextFrame(),\n _useNextFrame2 = _slicedToArray(_useNextFrame, 2),\n nextFrame = _useNextFrame2[0],\n cancelNextFrame = _useNextFrame2[1];\n function startQueue() {\n setStep(STEP_PREPARE, true);\n }\n var STEP_QUEUE = prepareOnly ? SIMPLE_STEP_QUEUE : FULL_STEP_QUEUE;\n useIsomorphicLayoutEffect(function () {\n if (step !== STEP_NONE && step !== STEP_ACTIVATED) {\n var index = STEP_QUEUE.indexOf(step);\n var nextStep = STEP_QUEUE[index + 1];\n var result = callback(step);\n if (result === SkipStep) {\n // Skip when no needed\n setStep(nextStep, true);\n } else if (nextStep) {\n // Do as frame for step update\n nextFrame(function (info) {\n function doNext() {\n // Skip since current queue is ood\n if (info.isCanceled()) return;\n setStep(nextStep, true);\n }\n if (result === true) {\n doNext();\n } else {\n // Only promise should be async\n Promise.resolve(result).then(doNext);\n }\n });\n }\n }\n }, [status, step]);\n React.useEffect(function () {\n return function () {\n cancelNextFrame();\n };\n }, []);\n return [startQueue, step];\n});"],"names":["FULL_STEP_QUEUE","STEP_PREPARE","STEP_START","STEP_ACTIVE","STEP_ACTIVATED","SIMPLE_STEP_QUEUE","STEP_PREPARED","SkipStep","status","prepareOnly","callback","_useState","useState","STEP_NONE","_useState2","_slicedToArray","step","setStep","_useNextFrame","useNextFrame","_useNextFrame2","nextFrame","cancelNextFrame","STEP_QUEUE","useIsomorphicLayoutEffect","index","indexOf","nextStep","result","info","doNext","isCanceled","Promise","resolve","then","React","useEffect"],"mappings":"skBAMIA,EAAkB,CAACC,EAAYA,aAAEC,EAAUA,WAAEC,EAAWA,YAAEC,EAAcA,gBACxEC,EAAoB,CAACJ,eAAcK,EAAAA,eAG5BC,GAAW,kBAEF,qCAIL,SAAWC,EAAQC,EAAaC,GAC7C,IAAIC,EAAYC,EAASC,aACvBC,EAAaC,EAAeJ,EAAW,GACvCK,EAAOF,EAAW,GAClBG,EAAUH,EAAW,GACnBI,EAAgBC,IAClBC,EAAiBL,EAAeG,EAAe,GAC/CG,EAAYD,EAAe,GAC3BE,EAAkBF,EAAe,GAInC,IAAIG,EAAad,EAAcJ,EAAoBL,EAgCnD,OA/BAwB,GAA0B,WACxB,GAAIR,IAASH,EAAAA,WAAaG,IAASZ,iBAAgB,CACjD,IAAIqB,EAAQF,EAAWG,QAAQV,GAC3BW,EAAWJ,EAAWE,EAAQ,GAC9BG,EAASlB,EAASM,GAClBY,IAAWrB,EAEbU,EAAQU,GAAU,GACTA,GAETN,GAAU,SAAUQ,GAClB,SAASC,IAEHD,EAAKE,cACTd,EAAQU,GAAU,EACnB,EACc,IAAXC,EACFE,IAGAE,QAAQC,QAAQL,GAAQM,KAAKJ,EAEzC,GAEK,CACL,GAAK,CAACtB,EAAQQ,IACZmB,EAAMC,WAAU,WACd,OAAO,WACLd,GACN,CACG,GAAE,IACI,CAnCP,WACEL,EAAQhB,EAAAA,cAAc,EACvB,EAiCmBe,EACrB,mBAhDM,SAAkBA,GACvB,OAAOA,IAASb,EAAAA,aAAea,IAASZ,gBAC1C","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";exports.STATUS_APPEAR="appear",exports.STATUS_ENTER="enter",exports.STATUS_LEAVE="leave",exports.STATUS_NONE="none",exports.STEP_ACTIVATED="end",exports.STEP_ACTIVE="active",exports.STEP_NONE="none",exports.STEP_PREPARE="prepare",exports.STEP_PREPARED="prepared",exports.STEP_START="start";
|
|
2
|
+
//# sourceMappingURL=interface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.js","sources":["../../../../node_modules/rc-motion/es/interface.js"],"sourcesContent":["export var STATUS_NONE = 'none';\nexport var STATUS_APPEAR = 'appear';\nexport var STATUS_ENTER = 'enter';\nexport var STATUS_LEAVE = 'leave';\nexport var STEP_NONE = 'none';\nexport var STEP_PREPARE = 'prepare';\nexport var STEP_START = 'start';\nexport var STEP_ACTIVE = 'active';\nexport var STEP_ACTIVATED = 'end';\n/**\n * Used for disabled motion case.\n * Prepare stage will still work but start & active will be skipped.\n */\nexport var STEP_PREPARED = 'prepared';"],"names":[],"mappings":"mCAC2B,8BACD,6BACA,4BAHD,8BAQG,0BADH,2BAHF,4BACG,gCAQC,8BAPH","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/objectSpread2.js"),t=require("../../../@babel/runtime/helpers/esm/typeof.js"),r="add",n="keep",s="remove";function o(r){var n;return n=r&&"object"===t(r)&&"key"in r?r:{key:r},e(e({},n),{},{key:String(n.key)})}function u(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(o)}exports.STATUS_ADD=r,exports.STATUS_KEEP=n,exports.STATUS_REMOVE=s,exports.STATUS_REMOVED="removed",exports.diffKeys=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=[],i=0,c=o.length,f=u(t),p=u(o);f.forEach((function(t){for(var o=!1,u=i;u<c;u+=1){var f=p[u];if(f.key===t.key){i<u&&(a=a.concat(p.slice(i,u).map((function(t){return e(e({},t),{},{status:r})}))),i=u),a.push(e(e({},f),{},{status:n})),i+=1,o=!0;break}}o||a.push(e(e({},t),{},{status:s}))})),i<c&&(a=a.concat(p.slice(i).map((function(t){return e(e({},t),{},{status:r})}))));var y={};return a.forEach((function(e){var t=e.key;y[t]=(y[t]||0)+1})),Object.keys(y).filter((function(e){return y[e]>1})).forEach((function(e){(a=a.filter((function(t){var r=t.key,n=t.status;return r!==e||n!==s}))).forEach((function(t){t.key===e&&(t.status=n)}))})),a},exports.parseKeys=u,exports.wrapKeyToObject=o;
|
|
2
|
+
//# sourceMappingURL=diff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diff.js","sources":["../../../../../node_modules/rc-motion/es/util/diff.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport var STATUS_ADD = 'add';\nexport var STATUS_KEEP = 'keep';\nexport var STATUS_REMOVE = 'remove';\nexport var STATUS_REMOVED = 'removed';\nexport function wrapKeyToObject(key) {\n var keyObj;\n if (key && _typeof(key) === 'object' && 'key' in key) {\n keyObj = key;\n } else {\n keyObj = {\n key: key\n };\n }\n return _objectSpread(_objectSpread({}, keyObj), {}, {\n key: String(keyObj.key)\n });\n}\nexport function parseKeys() {\n var keys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n return keys.map(wrapKeyToObject);\n}\nexport function diffKeys() {\n var prevKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var currentKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var list = [];\n var currentIndex = 0;\n var currentLen = currentKeys.length;\n var prevKeyObjects = parseKeys(prevKeys);\n var currentKeyObjects = parseKeys(currentKeys);\n\n // Check prev keys to insert or keep\n prevKeyObjects.forEach(function (keyObj) {\n var hit = false;\n for (var i = currentIndex; i < currentLen; i += 1) {\n var currentKeyObj = currentKeyObjects[i];\n if (currentKeyObj.key === keyObj.key) {\n // New added keys should add before current key\n if (currentIndex < i) {\n list = list.concat(currentKeyObjects.slice(currentIndex, i).map(function (obj) {\n return _objectSpread(_objectSpread({}, obj), {}, {\n status: STATUS_ADD\n });\n }));\n currentIndex = i;\n }\n list.push(_objectSpread(_objectSpread({}, currentKeyObj), {}, {\n status: STATUS_KEEP\n }));\n currentIndex += 1;\n hit = true;\n break;\n }\n }\n\n // If not hit, it means key is removed\n if (!hit) {\n list.push(_objectSpread(_objectSpread({}, keyObj), {}, {\n status: STATUS_REMOVE\n }));\n }\n });\n\n // Add rest to the list\n if (currentIndex < currentLen) {\n list = list.concat(currentKeyObjects.slice(currentIndex).map(function (obj) {\n return _objectSpread(_objectSpread({}, obj), {}, {\n status: STATUS_ADD\n });\n }));\n }\n\n /**\n * Merge same key when it remove and add again:\n * [1 - add, 2 - keep, 1 - remove] -> [1 - keep, 2 - keep]\n */\n var keys = {};\n list.forEach(function (_ref) {\n var key = _ref.key;\n keys[key] = (keys[key] || 0) + 1;\n });\n var duplicatedKeys = Object.keys(keys).filter(function (key) {\n return keys[key] > 1;\n });\n duplicatedKeys.forEach(function (matchKey) {\n // Remove `STATUS_REMOVE` node.\n list = list.filter(function (_ref2) {\n var key = _ref2.key,\n status = _ref2.status;\n return key !== matchKey || status !== STATUS_REMOVE;\n });\n\n // Update `STATUS_ADD` to `STATUS_KEEP`\n list.forEach(function (node) {\n if (node.key === matchKey) {\n // eslint-disable-next-line no-param-reassign\n node.status = STATUS_KEEP;\n }\n });\n });\n return list;\n}"],"names":["STATUS_ADD","STATUS_KEEP","STATUS_REMOVE","wrapKeyToObject","key","keyObj","_typeof","_objectSpread","String","parseKeys","arguments","length","undefined","map","prevKeys","currentKeys","list","currentIndex","currentLen","prevKeyObjects","currentKeyObjects","forEach","hit","i","currentKeyObj","concat","slice","obj","status","push","keys","_ref","Object","filter","matchKey","_ref2","node"],"mappings":"8IAEWA,EAAa,MACbC,EAAc,OACdC,EAAgB,SAEpB,SAASC,EAAgBC,GAC9B,IAAIC,EAQJ,OANEA,EADED,GAAwB,WAAjBE,EAAQF,IAAqB,QAASA,EACtCA,EAEA,CACPA,IAAKA,GAGFG,EAAcA,EAAc,CAAE,EAAEF,GAAS,CAAA,EAAI,CAClDD,IAAKI,OAAOH,EAAOD,MAEvB,CACO,SAASK,IAEd,OADWC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,IACnEG,IAAIV,EAClB,2FAjB4B,2BAkBrB,WACL,IAAIW,EAAWJ,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,GAC/EK,EAAcL,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,GAClFM,EAAO,GACPC,EAAe,EACfC,EAAaH,EAAYJ,OACzBQ,EAAiBV,EAAUK,GAC3BM,EAAoBX,EAAUM,GAGlCI,EAAeE,SAAQ,SAAUhB,GAE/B,IADA,IAAIiB,GAAM,EACDC,EAAIN,EAAcM,EAAIL,EAAYK,GAAK,EAAG,CACjD,IAAIC,EAAgBJ,EAAkBG,GACtC,GAAIC,EAAcpB,MAAQC,EAAOD,IAAK,CAEhCa,EAAeM,IACjBP,EAAOA,EAAKS,OAAOL,EAAkBM,MAAMT,EAAcM,GAAGV,KAAI,SAAUc,GACxE,OAAOpB,EAAcA,EAAc,CAAE,EAAEoB,GAAM,CAAA,EAAI,CAC/CC,OAAQ5B,GAEX,KACDiB,EAAeM,GAEjBP,EAAKa,KAAKtB,EAAcA,EAAc,CAAA,EAAIiB,GAAgB,GAAI,CAC5DI,OAAQ3B,KAEVgB,GAAgB,EAChBK,GAAM,EACN,KACD,CACF,CAGIA,GACHN,EAAKa,KAAKtB,EAAcA,EAAc,CAAA,EAAIF,GAAS,GAAI,CACrDuB,OAAQ1B,IAGhB,IAGMe,EAAeC,IACjBF,EAAOA,EAAKS,OAAOL,EAAkBM,MAAMT,GAAcJ,KAAI,SAAUc,GACrE,OAAOpB,EAAcA,EAAc,CAAE,EAAEoB,GAAM,CAAA,EAAI,CAC/CC,OAAQ5B,GAEX,MAOH,IAAI8B,EAAO,CAAA,EAwBX,OAvBAd,EAAKK,SAAQ,SAAUU,GACrB,IAAI3B,EAAM2B,EAAK3B,IACf0B,EAAK1B,IAAQ0B,EAAK1B,IAAQ,GAAK,CACnC,IACuB4B,OAAOF,KAAKA,GAAMG,QAAO,SAAU7B,GACtD,OAAO0B,EAAK1B,GAAO,CACvB,IACiBiB,SAAQ,SAAUa,IAE/BlB,EAAOA,EAAKiB,QAAO,SAAUE,GAC3B,IAAI/B,EAAM+B,EAAM/B,IACdwB,EAASO,EAAMP,OACjB,OAAOxB,IAAQ8B,GAAYN,IAAW1B,CAC5C,KAGSmB,SAAQ,SAAUe,GACjBA,EAAKhC,MAAQ8B,IAEfE,EAAKR,OAAS3B,EAEtB,GACA,IACSe,CACT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var n=require("../../../@babel/runtime/helpers/esm/typeof.js"),t=require("../../../rc-util/es/Dom/canUseDom.js");function e(n,t){var e={};return e[n.toLowerCase()]=t.toLowerCase(),e["Webkit".concat(n)]="webkit".concat(t),e["Moz".concat(n)]="moz".concat(t),e["ms".concat(n)]="MS".concat(t),e["O".concat(n)]="o".concat(t.toLowerCase()),e}function o(n,t){var o={animationend:e("Animation","AnimationEnd"),transitionend:e("Transition","TransitionEnd")};return n&&("AnimationEvent"in t||delete o.animationend.animation,"TransitionEvent"in t||delete o.transitionend.transition),o}var i=o(t(),"undefined"!=typeof window?window:{}),r={};if(t()){var a=document.createElement("div");r=a.style}var c={};function s(n){if(c[n])return c[n];var t=i[n];if(t)for(var e=Object.keys(t),o=e.length,a=0;a<o;a+=1){var s=e[a];if(Object.prototype.hasOwnProperty.call(t,s)&&s in r)return c[n]=t[s],c[n]}return""}var d=s("animationend"),m=s("transitionend"),u=!(!d||!m),p=d||"animationend",f=m||"transitionend";exports.animationEndName=p,exports.getTransitionName=function(t,e){return t?"object"===n(t)?t[e.replace(/-\w/g,(function(n){return n[1].toUpperCase()}))]:"".concat(t,"-").concat(e):null},exports.getVendorPrefixedEventName=s,exports.getVendorPrefixes=o,exports.supportTransition=u,exports.transitionEndName=f;
|
|
2
|
+
//# sourceMappingURL=motion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.js","sources":["../../../../../node_modules/rc-motion/es/util/motion.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport canUseDOM from \"rc-util/es/Dom/canUseDom\";\n// ================= Transition =================\n// Event wrapper. Copy from react source code\nfunction makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes[\"Webkit\".concat(styleProp)] = \"webkit\".concat(eventName);\n prefixes[\"Moz\".concat(styleProp)] = \"moz\".concat(eventName);\n prefixes[\"ms\".concat(styleProp)] = \"MS\".concat(eventName);\n prefixes[\"O\".concat(styleProp)] = \"o\".concat(eventName.toLowerCase());\n return prefixes;\n}\nexport function getVendorPrefixes(domSupport, win) {\n var prefixes = {\n animationend: makePrefixMap('Animation', 'AnimationEnd'),\n transitionend: makePrefixMap('Transition', 'TransitionEnd')\n };\n if (domSupport) {\n if (!('AnimationEvent' in win)) {\n delete prefixes.animationend.animation;\n }\n if (!('TransitionEvent' in win)) {\n delete prefixes.transitionend.transition;\n }\n }\n return prefixes;\n}\nvar vendorPrefixes = getVendorPrefixes(canUseDOM(), typeof window !== 'undefined' ? window : {});\nvar style = {};\nif (canUseDOM()) {\n var _document$createEleme = document.createElement('div');\n style = _document$createEleme.style;\n}\nvar prefixedEventNames = {};\nexport function getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) {\n return prefixedEventNames[eventName];\n }\n var prefixMap = vendorPrefixes[eventName];\n if (prefixMap) {\n var stylePropList = Object.keys(prefixMap);\n var len = stylePropList.length;\n for (var i = 0; i < len; i += 1) {\n var styleProp = stylePropList[i];\n if (Object.prototype.hasOwnProperty.call(prefixMap, styleProp) && styleProp in style) {\n prefixedEventNames[eventName] = prefixMap[styleProp];\n return prefixedEventNames[eventName];\n }\n }\n }\n return '';\n}\nvar internalAnimationEndName = getVendorPrefixedEventName('animationend');\nvar internalTransitionEndName = getVendorPrefixedEventName('transitionend');\nexport var supportTransition = !!(internalAnimationEndName && internalTransitionEndName);\nexport var animationEndName = internalAnimationEndName || 'animationend';\nexport var transitionEndName = internalTransitionEndName || 'transitionend';\nexport function getTransitionName(transitionName, transitionType) {\n if (!transitionName) return null;\n if (_typeof(transitionName) === 'object') {\n var type = transitionType.replace(/-\\w/g, function (match) {\n return match[1].toUpperCase();\n });\n return transitionName[type];\n }\n return \"\".concat(transitionName, \"-\").concat(transitionType);\n}"],"names":["makePrefixMap","styleProp","eventName","prefixes","toLowerCase","concat","getVendorPrefixes","domSupport","win","animationend","transitionend","animation","transition","vendorPrefixes","canUseDOM","window","style","_document$createEleme","document","createElement","prefixedEventNames","getVendorPrefixedEventName","prefixMap","stylePropList","Object","keys","len","length","i","prototype","hasOwnProperty","call","internalAnimationEndName","internalTransitionEndName","supportTransition","animationEndName","transitionEndName","transitionName","transitionType","_typeof","replace","match","toUpperCase"],"mappings":"8HAIA,SAASA,EAAcC,EAAWC,GAChC,IAAIC,EAAW,CAAA,EAMf,OALAA,EAASF,EAAUG,eAAiBF,EAAUE,cAC9CD,EAAS,SAASE,OAAOJ,IAAc,SAASI,OAAOH,GACvDC,EAAS,MAAME,OAAOJ,IAAc,MAAMI,OAAOH,GACjDC,EAAS,KAAKE,OAAOJ,IAAc,KAAKI,OAAOH,GAC/CC,EAAS,IAAIE,OAAOJ,IAAc,IAAII,OAAOH,EAAUE,eAChDD,CACT,CACO,SAASG,EAAkBC,EAAYC,GAC5C,IAAIL,EAAW,CACbM,aAAcT,EAAc,YAAa,gBACzCU,cAAeV,EAAc,aAAc,kBAU7C,OARIO,IACI,mBAAoBC,UACjBL,EAASM,aAAaE,UAEzB,oBAAqBH,UAClBL,EAASO,cAAcE,YAG3BT,CACT,CACA,IAAIU,EAAiBP,EAAkBQ,IAA+B,oBAAXC,OAAyBA,OAAS,CAAA,GACzFC,EAAQ,CAAA,EACZ,GAAIF,IAAa,CACf,IAAIG,EAAwBC,SAASC,cAAc,OACnDH,EAAQC,EAAsBD,KAChC,CACA,IAAII,EAAqB,CAAA,EAClB,SAASC,EAA2BnB,GACzC,GAAIkB,EAAmBlB,GACrB,OAAOkB,EAAmBlB,GAE5B,IAAIoB,EAAYT,EAAeX,GAC/B,GAAIoB,EAGF,IAFA,IAAIC,EAAgBC,OAAOC,KAAKH,GAC5BI,EAAMH,EAAcI,OACfC,EAAI,EAAGA,EAAIF,EAAKE,GAAK,EAAG,CAC/B,IAAI3B,EAAYsB,EAAcK,GAC9B,GAAIJ,OAAOK,UAAUC,eAAeC,KAAKT,EAAWrB,IAAcA,KAAae,EAE7E,OADAI,EAAmBlB,GAAaoB,EAAUrB,GACnCmB,EAAmBlB,EAE7B,CAEH,MAAO,EACT,CACA,IAAI8B,EAA2BX,EAA2B,gBACtDY,EAA4BZ,EAA2B,iBAChDa,KAAuBF,IAA4BC,GACnDE,EAAmBH,GAA4B,eAC/CI,EAAoBH,GAA6B,qEACrD,SAA2BI,EAAgBC,GAChD,OAAKD,EAC2B,WAA5BE,EAAQF,GAIHA,EAHIC,EAAeE,QAAQ,QAAQ,SAAUC,GAClD,OAAOA,EAAM,GAAGC,aACtB,KAGS,GAAGrC,OAAOgC,EAAgB,KAAKhC,OAAOiC,GAPjB,IAQ9B","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";function e(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var t=e(require("react")),r=t.createContext(null);exports.Collection=function(e){var n=e.children,u=e.onBatchResize,c=t.useRef(0),o=t.useRef([]),l=t.useContext(r),a=t.useCallback((function(e,t,r){c.current+=1;var n=c.current;o.current.push({size:e,element:t,data:r}),Promise.resolve().then((function(){n===c.current&&(null==u||u(o.current),o.current=[])})),null==l||l(e,t,r)}),[u,l]);return t.createElement(r.Provider,{value:a},n)},exports.CollectionContext=r;
|
|
2
|
+
//# sourceMappingURL=Collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collection.js","sources":["../../../../node_modules/rc-resize-observer/es/Collection.js"],"sourcesContent":["import * as React from 'react';\nexport var CollectionContext = /*#__PURE__*/React.createContext(null);\n/**\n * Collect all the resize event from children ResizeObserver\n */\nexport function Collection(_ref) {\n var children = _ref.children,\n onBatchResize = _ref.onBatchResize;\n var resizeIdRef = React.useRef(0);\n var resizeInfosRef = React.useRef([]);\n var onCollectionResize = React.useContext(CollectionContext);\n var onResize = React.useCallback(function (size, element, data) {\n resizeIdRef.current += 1;\n var currentId = resizeIdRef.current;\n resizeInfosRef.current.push({\n size: size,\n element: element,\n data: data\n });\n Promise.resolve().then(function () {\n if (currentId === resizeIdRef.current) {\n onBatchResize === null || onBatchResize === void 0 || onBatchResize(resizeInfosRef.current);\n resizeInfosRef.current = [];\n }\n });\n\n // Continue bubbling if parent exist\n onCollectionResize === null || onCollectionResize === void 0 || onCollectionResize(size, element, data);\n }, [onBatchResize, onCollectionResize]);\n return /*#__PURE__*/React.createElement(CollectionContext.Provider, {\n value: onResize\n }, children);\n}"],"names":["CollectionContext","React","createContext","_ref","children","onBatchResize","resizeIdRef","useRef","resizeInfosRef","onCollectionResize","useContext","onResize","useCallback","size","element","data","current","currentId","push","Promise","resolve","then","createElement","Provider","value"],"mappings":"0SACWA,EAAiCC,EAAMC,cAAc,yBAIzD,SAAoBC,GACzB,IAAIC,EAAWD,EAAKC,SAClBC,EAAgBF,EAAKE,cACnBC,EAAcL,EAAMM,OAAO,GAC3BC,EAAiBP,EAAMM,OAAO,IAC9BE,EAAqBR,EAAMS,WAAWV,GACtCW,EAAWV,EAAMW,aAAY,SAAUC,EAAMC,EAASC,GACxDT,EAAYU,SAAW,EACvB,IAAIC,EAAYX,EAAYU,QAC5BR,EAAeQ,QAAQE,KAAK,CAC1BL,KAAMA,EACNC,QAASA,EACTC,KAAMA,IAERI,QAAQC,UAAUC,MAAK,WACjBJ,IAAcX,EAAYU,UAC5BX,SAAsDA,EAAcG,EAAeQ,SACnFR,EAAeQ,QAAU,GAEjC,IAGIP,SAAgEA,EAAmBI,EAAMC,EAASC,EACtG,GAAK,CAACV,EAAeI,IACnB,OAAoBR,EAAMqB,cAActB,EAAkBuB,SAAU,CAClEC,MAAOb,GACNP,EACL","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/classCallCheck.js"),r=require("../../../@babel/runtime/helpers/esm/createClass.js"),t=require("../../../@babel/runtime/helpers/esm/inherits.js"),n=require("../../../@babel/runtime/helpers/esm/createSuper.js");function u(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var s=function(u){t(i,u);var s=n(i);function i(){return e(this,i),s.apply(this,arguments)}return r(i,[{key:"render",value:function(){return this.props.children}}]),i}(u(require("react")).Component);module.exports=s;
|
|
2
|
+
//# sourceMappingURL=DomWrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomWrapper.js","sources":["../../../../../node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js"],"sourcesContent":["import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\n/**\n * Fallback to findDOMNode if origin ref do not provide any dom element\n */\nvar DomWrapper = /*#__PURE__*/function (_React$Component) {\n _inherits(DomWrapper, _React$Component);\n var _super = _createSuper(DomWrapper);\n function DomWrapper() {\n _classCallCheck(this, DomWrapper);\n return _super.apply(this, arguments);\n }\n _createClass(DomWrapper, [{\n key: \"render\",\n value: function render() {\n return this.props.children;\n }\n }]);\n return DomWrapper;\n}(React.Component);\nexport { DomWrapper as default };"],"names":["DomWrapper","_React$Component","_inherits","_super","_createSuper","_classCallCheck","this","apply","arguments","_createClass","key","value","props","children","Component"],"mappings":"whBAQIA,EAA0B,SAAUC,GACtCC,EAAUF,EAAYC,GACtB,IAAIE,EAASC,EAAaJ,GAC1B,SAASA,IAEP,OADAK,EAAgBC,KAAMN,GACfG,EAAOI,MAAMD,KAAME,UAC3B,CAOD,OANAC,EAAaT,EAAY,CAAC,CACxBU,IAAK,SACLC,MAAO,WACL,OAAOL,KAAKM,MAAMC,QACnB,KAEIb,CACT,CAd8B,qBActBc","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/objectSpread2.js"),r=require("../../../@babel/runtime/helpers/esm/typeof.js"),t=require("../../../rc-util/es/Dom/findDOMNode.js"),n=require("../../../rc-util/es/ref.js"),u=require("react"),i=require("../Collection.js"),o=require("../utils/observerUtil.js"),f=require("./DomWrapper.js");function s(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var l=s(u);function c(u,s){var c=u.children,a=u.disabled,d=l.useRef(null),h=l.useRef(null),v=l.useContext(i.CollectionContext),b="function"==typeof c,p=b?c(d):c,m=l.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),g=!b&&l.isValidElement(p)&&n.supportRef(p),j=g?p.ref:null,O=n.useComposeRef(j,d),R=function(){var e;return t.default(d.current)||(d.current&&"object"===r(d.current)?t.default(null===(e=d.current)||void 0===e?void 0:e.nativeElement):null)||t.default(h.current)};l.useImperativeHandle(s,(function(){return R()}));var q=l.useRef(u);q.current=u;var E=l.useCallback((function(r){var t=q.current,n=t.onResize,u=t.data,i=r.getBoundingClientRect(),o=i.width,f=i.height,s=r.offsetWidth,l=r.offsetHeight,c=Math.floor(o),a=Math.floor(f);if(m.current.width!==c||m.current.height!==a||m.current.offsetWidth!==s||m.current.offsetHeight!==l){var d={width:c,height:a,offsetWidth:s,offsetHeight:l};m.current=d;var h=s===Math.round(o)?o:s,b=l===Math.round(f)?f:l,p=e(e({},d),{},{offsetWidth:h,offsetHeight:b});null==v||v(p,r,u),n&&Promise.resolve().then((function(){n(p,r)}))}}),[]);return l.useEffect((function(){var e=R();return e&&!a&&o.observe(e,E),function(){return o.unobserve(e,E)}}),[d.current,a]),l.createElement(f,{ref:h},g?l.cloneElement(p,{ref:O}):p)}var a=l.forwardRef(c);"production"!==process.env.NODE_ENV&&(a.displayName="SingleObserver"),module.exports=a;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/rc-resize-observer/es/SingleObserver/index.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport { supportRef, useComposeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { CollectionContext } from \"../Collection\";\nimport { observe, unobserve } from \"../utils/observerUtil\";\nimport DomWrapper from \"./DomWrapper\";\nfunction SingleObserver(props, ref) {\n var children = props.children,\n disabled = props.disabled;\n var elementRef = React.useRef(null);\n var wrapperRef = React.useRef(null);\n var onCollectionResize = React.useContext(CollectionContext);\n\n // =========================== Children ===========================\n var isRenderProps = typeof children === 'function';\n var mergedChildren = isRenderProps ? children(elementRef) : children;\n\n // ============================= Size =============================\n var sizeRef = React.useRef({\n width: -1,\n height: -1,\n offsetWidth: -1,\n offsetHeight: -1\n });\n\n // ============================= Ref ==============================\n var canRef = !isRenderProps && /*#__PURE__*/React.isValidElement(mergedChildren) && supportRef(mergedChildren);\n var originRef = canRef ? mergedChildren.ref : null;\n var mergedRef = useComposeRef(originRef, elementRef);\n var getDom = function getDom() {\n var _elementRef$current;\n return findDOMNode(elementRef.current) || (\n // Support `nativeElement` format\n elementRef.current && _typeof(elementRef.current) === 'object' ? findDOMNode((_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.nativeElement) : null) || findDOMNode(wrapperRef.current);\n };\n React.useImperativeHandle(ref, function () {\n return getDom();\n });\n\n // =========================== Observe ============================\n var propsRef = React.useRef(props);\n propsRef.current = props;\n\n // Handler\n var onInternalResize = React.useCallback(function (target) {\n var _propsRef$current = propsRef.current,\n onResize = _propsRef$current.onResize,\n data = _propsRef$current.data;\n var _target$getBoundingCl = target.getBoundingClientRect(),\n width = _target$getBoundingCl.width,\n height = _target$getBoundingCl.height;\n var offsetWidth = target.offsetWidth,\n offsetHeight = target.offsetHeight;\n\n /**\n * Resize observer trigger when content size changed.\n * In most case we just care about element size,\n * let's use `boundary` instead of `contentRect` here to avoid shaking.\n */\n var fixedWidth = Math.floor(width);\n var fixedHeight = Math.floor(height);\n if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) {\n var size = {\n width: fixedWidth,\n height: fixedHeight,\n offsetWidth: offsetWidth,\n offsetHeight: offsetHeight\n };\n sizeRef.current = size;\n\n // IE is strange, right?\n var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth;\n var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight;\n var sizeInfo = _objectSpread(_objectSpread({}, size), {}, {\n offsetWidth: mergedOffsetWidth,\n offsetHeight: mergedOffsetHeight\n });\n\n // Let collection know what happened\n onCollectionResize === null || onCollectionResize === void 0 || onCollectionResize(sizeInfo, target, data);\n if (onResize) {\n // defer the callback but not defer to next frame\n Promise.resolve().then(function () {\n onResize(sizeInfo, target);\n });\n }\n }\n }, []);\n\n // Dynamic observe\n React.useEffect(function () {\n var currentElement = getDom();\n if (currentElement && !disabled) {\n observe(currentElement, onInternalResize);\n }\n return function () {\n return unobserve(currentElement, onInternalResize);\n };\n }, [elementRef.current, disabled]);\n\n // ============================ Render ============================\n return /*#__PURE__*/React.createElement(DomWrapper, {\n ref: wrapperRef\n }, canRef ? /*#__PURE__*/React.cloneElement(mergedChildren, {\n ref: mergedRef\n }) : mergedChildren);\n}\nvar RefSingleObserver = /*#__PURE__*/React.forwardRef(SingleObserver);\nif (process.env.NODE_ENV !== 'production') {\n RefSingleObserver.displayName = 'SingleObserver';\n}\nexport default RefSingleObserver;"],"names":["SingleObserver","props","ref","children","disabled","elementRef","React","useRef","wrapperRef","onCollectionResize","useContext","CollectionContext","isRenderProps","mergedChildren","sizeRef","width","height","offsetWidth","offsetHeight","canRef","isValidElement","supportRef","originRef","mergedRef","useComposeRef","getDom","_elementRef$current","findDOMNode","default","current","_typeof","nativeElement","useImperativeHandle","propsRef","onInternalResize","useCallback","target","_propsRef$current","onResize","data","_target$getBoundingCl","getBoundingClientRect","fixedWidth","Math","floor","fixedHeight","size","mergedOffsetWidth","round","mergedOffsetHeight","sizeInfo","_objectSpread","Promise","resolve","then","useEffect","currentElement","observe","unobserve","createElement","DomWrapper","cloneElement","RefSingleObserver","forwardRef","process","env","NODE_ENV","displayName"],"mappings":"4mBAQA,SAASA,EAAeC,EAAOC,GAC7B,IAAIC,EAAWF,EAAME,SACnBC,EAAWH,EAAMG,SACfC,EAAaC,EAAMC,OAAO,MAC1BC,EAAaF,EAAMC,OAAO,MAC1BE,EAAqBH,EAAMI,WAAWC,EAAiBA,mBAGvDC,EAAoC,mBAAbT,EACvBU,EAAiBD,EAAgBT,EAASE,GAAcF,EAGxDW,EAAUR,EAAMC,OAAO,CACzBQ,OAAQ,EACRC,QAAS,EACTC,aAAc,EACdC,cAAe,IAIbC,GAAUP,GAA8BN,EAAMc,eAAeP,IAAmBQ,aAAWR,GAC3FS,EAAYH,EAASN,EAAeX,IAAM,KAC1CqB,EAAYC,EAAAA,cAAcF,EAAWjB,GACrCoB,EAAS,WACX,IAAIC,EACJ,OAAOC,EAAWC,QAACvB,EAAWwB,WAE9BxB,EAAWwB,SAA2C,WAAhCC,EAAQzB,EAAWwB,SAAwBF,UAA2D,QAA9CD,EAAsBrB,EAAWwB,eAA6C,IAAxBH,OAAiC,EAASA,EAAoBK,eAAiB,OAASJ,EAAAA,QAAYnB,EAAWqB,QACvP,EACEvB,EAAM0B,oBAAoB9B,GAAK,WAC7B,OAAOuB,GACX,IAGE,IAAIQ,EAAW3B,EAAMC,OAAON,GAC5BgC,EAASJ,QAAU5B,EAGnB,IAAIiC,EAAmB5B,EAAM6B,aAAY,SAAUC,GACjD,IAAIC,EAAoBJ,EAASJ,QAC/BS,EAAWD,EAAkBC,SAC7BC,EAAOF,EAAkBE,KACvBC,EAAwBJ,EAAOK,wBACjC1B,EAAQyB,EAAsBzB,MAC9BC,EAASwB,EAAsBxB,OAC7BC,EAAcmB,EAAOnB,YACvBC,EAAekB,EAAOlB,aAOpBwB,EAAaC,KAAKC,MAAM7B,GACxB8B,EAAcF,KAAKC,MAAM5B,GAC7B,GAAIF,EAAQe,QAAQd,QAAU2B,GAAc5B,EAAQe,QAAQb,SAAW6B,GAAe/B,EAAQe,QAAQZ,cAAgBA,GAAeH,EAAQe,QAAQX,eAAiBA,EAAc,CAClL,IAAI4B,EAAO,CACT/B,MAAO2B,EACP1B,OAAQ6B,EACR5B,YAAaA,EACbC,aAAcA,GAEhBJ,EAAQe,QAAUiB,EAGlB,IAAIC,EAAoB9B,IAAgB0B,KAAKK,MAAMjC,GAASA,EAAQE,EAChEgC,EAAqB/B,IAAiByB,KAAKK,MAAMhC,GAAUA,EAASE,EACpEgC,EAAWC,EAAcA,EAAc,CAAA,EAAIL,GAAO,GAAI,CACxD7B,YAAa8B,EACb7B,aAAc+B,IAIhBxC,SAAgEA,EAAmByC,EAAUd,EAAQG,GACjGD,GAEFc,QAAQC,UAAUC,MAAK,WACrBhB,EAASY,EAAUd,EAC7B,GAEK,CACF,GAAE,IAcH,OAXA9B,EAAMiD,WAAU,WACd,IAAIC,EAAiB/B,IAIrB,OAHI+B,IAAmBpD,GACrBqD,UAAQD,EAAgBtB,GAEnB,WACL,OAAOwB,EAASA,UAACF,EAAgBtB,EACvC,CACG,GAAE,CAAC7B,EAAWwB,QAASzB,IAGJE,EAAMqD,cAAcC,EAAY,CAClD1D,IAAKM,GACJW,EAAsBb,EAAMuD,aAAahD,EAAgB,CAC1DX,IAAKqB,IACFV,EACP,CACG,IAACiD,EAAiCxD,EAAMyD,WAAW/D,GACzB,eAAzBgE,QAAQC,IAAIC,WACdJ,EAAkBK,YAAc","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../@babel/runtime/helpers/esm/extends.js"),r=require("react"),n=require("../../rc-util/es/Children/toArray.js"),i=require("../../rc-util/es/warning.js"),t=require("./SingleObserver/index.js"),o=require("./Collection.js");function s(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),r.default=e,Object.freeze(r)}require("./utils/observerUtil.js");var c=s(r);function l(r,o){var s=r.children,l="function"==typeof s?[s]:n(s);return"production"!==process.env.NODE_ENV&&(l.length>1?i.warning(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):0===l.length&&i.warning(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),l.map((function(n,i){var s=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return c.createElement(t,e({},r,{key:s,ref:0===i?o:void 0}),n)}))}var u=c.forwardRef(l);"production"!==process.env.NODE_ENV&&(u.displayName="ResizeObserver"),u.Collection=o.Collection,module.exports=u;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../node_modules/rc-resize-observer/es/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport { warning } from \"rc-util/es/warning\";\nimport SingleObserver from \"./SingleObserver\";\nimport { Collection } from \"./Collection\";\nvar INTERNAL_PREFIX_KEY = 'rc-observer-key';\nimport { _rs } from \"./utils/observerUtil\";\nexport { /** @private Test only for mock trigger resize event */\n_rs };\nfunction ResizeObserver(props, ref) {\n var children = props.children;\n var childNodes = typeof children === 'function' ? [children] : toArray(children);\n if (process.env.NODE_ENV !== 'production') {\n if (childNodes.length > 1) {\n warning(false, 'Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.');\n } else if (childNodes.length === 0) {\n warning(false, '`children` of ResizeObserver is empty. Nothing is in observe.');\n }\n }\n return childNodes.map(function (child, index) {\n var key = (child === null || child === void 0 ? void 0 : child.key) || \"\".concat(INTERNAL_PREFIX_KEY, \"-\").concat(index);\n return /*#__PURE__*/React.createElement(SingleObserver, _extends({}, props, {\n key: key,\n ref: index === 0 ? ref : undefined\n }), child);\n });\n}\nvar RefResizeObserver = /*#__PURE__*/React.forwardRef(ResizeObserver);\nif (process.env.NODE_ENV !== 'production') {\n RefResizeObserver.displayName = 'ResizeObserver';\n}\nRefResizeObserver.Collection = Collection;\nexport default RefResizeObserver;"],"names":["ResizeObserver","props","ref","children","childNodes","toArray","process","env","NODE_ENV","length","warning","map","child","index","key","concat","React","createElement","SingleObserver","_extends","undefined","RefResizeObserver","forwardRef","displayName","Collection"],"mappings":"6iBAUA,SAASA,EAAeC,EAAOC,GAC7B,IAAIC,EAAWF,EAAME,SACjBC,EAAiC,mBAAbD,EAA0B,CAACA,GAAYE,EAAQF,GAQvE,MAP6B,eAAzBG,QAAQC,IAAIC,WACVJ,EAAWK,OAAS,EACtBC,WAAQ,EAAO,kHACgB,IAAtBN,EAAWK,QACpBC,WAAQ,EAAO,kEAGZN,EAAWO,KAAI,SAAUC,EAAOC,GACrC,IAAIC,GAAOF,aAAqC,EAASA,EAAME,MAAQ,GAAGC,OAfpD,kBAegF,KAAKA,OAAOF,GAClH,OAAoBG,EAAMC,cAAcC,EAAgBC,EAAS,CAAA,EAAIlB,EAAO,CAC1Ea,IAAKA,EACLZ,IAAe,IAAVW,EAAcX,OAAMkB,IACvBR,EACR,GACA,CACG,IAACS,EAAiCL,EAAMM,WAAWtB,GACzB,eAAzBM,QAAQC,IAAIC,WACda,EAAkBE,YAAc,kBAElCF,EAAkBG,WAAaA,EAAUA","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../resize-observer-polyfill/dist/ResizeObserver.es.js"),r=new Map;function s(e){e.forEach((function(e){var s,t=e.target;null===(s=r.get(t))||void 0===s||s.forEach((function(e){return e(t)}))}))}var t=new e(s);process.env.NODE_ENV,process.env.NODE_ENV,exports.observe=function(e,s){r.has(e)||(r.set(e,new Set),t.observe(e)),r.get(e).add(s)},exports.unobserve=function(e,s){r.has(e)&&(r.get(e).delete(s),r.get(e).size||(t.unobserve(e),r.delete(e)))};
|
|
2
|
+
//# sourceMappingURL=observerUtil.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observerUtil.js","sources":["../../../../../node_modules/rc-resize-observer/es/utils/observerUtil.js"],"sourcesContent":["import ResizeObserver from 'resize-observer-polyfill';\n// =============================== Const ===============================\nvar elementListeners = new Map();\nfunction onResize(entities) {\n entities.forEach(function (entity) {\n var _elementListeners$get;\n var target = entity.target;\n (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 || _elementListeners$get.forEach(function (listener) {\n return listener(target);\n });\n });\n}\n\n// Note: ResizeObserver polyfill not support option to measure border-box resize\nvar resizeObserver = new ResizeObserver(onResize);\n\n// Dev env only\nexport var _el = process.env.NODE_ENV !== 'production' ? elementListeners : null; // eslint-disable-line\nexport var _rs = process.env.NODE_ENV !== 'production' ? onResize : null; // eslint-disable-line\n\n// ============================== Observe ==============================\nexport function observe(element, callback) {\n if (!elementListeners.has(element)) {\n elementListeners.set(element, new Set());\n resizeObserver.observe(element);\n }\n elementListeners.get(element).add(callback);\n}\nexport function unobserve(element, callback) {\n if (elementListeners.has(element)) {\n elementListeners.get(element).delete(callback);\n if (!elementListeners.get(element).size) {\n resizeObserver.unobserve(element);\n elementListeners.delete(element);\n }\n }\n}"],"names":["elementListeners","Map","onResize","entities","forEach","entity","_elementListeners$get","target","get","listener","resizeObserver","ResizeObserver","process","env","NODE_ENV","element","callback","has","set","Set","observe","add","delete","size","unobserve"],"mappings":"0FAEIA,EAAmB,IAAIC,IAC3B,SAASC,EAASC,GAChBA,EAASC,SAAQ,SAAUC,GACzB,IAAIC,EACAC,EAASF,EAAOE,OACuC,QAA1DD,EAAwBN,EAAiBQ,IAAID,UAA+C,IAA1BD,GAAoCA,EAAsBF,SAAQ,SAAUK,GAC7I,OAAOA,EAASF,EACtB,GACA,GACA,CAGA,IAAIG,EAAiB,IAAIC,EAAeT,GAGvBU,QAAQC,IAAIC,SACZF,QAAQC,IAAIC,yBAGtB,SAAiBC,EAASC,GAC1BhB,EAAiBiB,IAAIF,KACxBf,EAAiBkB,IAAIH,EAAS,IAAII,KAClCT,EAAeU,QAAQL,IAEzBf,EAAiBQ,IAAIO,GAASM,IAAIL,EACpC,oBACO,SAAmBD,EAASC,GAC7BhB,EAAiBiB,IAAIF,KACvBf,EAAiBQ,IAAIO,GAASO,OAAON,GAChChB,EAAiBQ,IAAIO,GAASQ,OACjCb,EAAec,UAAUT,GACzBf,EAAiBsB,OAAOP,IAG9B","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../classnames/index.js");function t(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var r=t(require("react"));module.exports=function(t){var n=t.children,c=t.prefixCls,a=t.id,l=t.overlayInnerStyle,i=t.className,o=t.style;return r.createElement("div",{className:e("".concat(c,"-content"),i),style:o},r.createElement("div",{className:"".concat(c,"-inner"),id:a,role:"tooltip",style:l},"function"==typeof n?n():n))};
|
|
2
|
+
//# sourceMappingURL=Popup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popup.js","sources":["../../../../node_modules/rc-tooltip/es/Popup.js"],"sourcesContent":["import classNames from 'classnames';\nimport * as React from 'react';\nexport default function Popup(props) {\n var children = props.children,\n prefixCls = props.prefixCls,\n id = props.id,\n overlayInnerStyle = props.overlayInnerStyle,\n className = props.className,\n style = props.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner\"),\n id: id,\n role: \"tooltip\",\n style: overlayInnerStyle\n }, typeof children === 'function' ? children() : children));\n}"],"names":["props","children","prefixCls","id","overlayInnerStyle","className","style","React","createElement","classNames","concat","role"],"mappings":"oWAEe,SAAeA,GAC5B,IAAIC,EAAWD,EAAMC,SACnBC,EAAYF,EAAME,UAClBC,EAAKH,EAAMG,GACXC,EAAoBJ,EAAMI,kBAC1BC,EAAYL,EAAMK,UAClBC,EAAQN,EAAMM,MAChB,OAAoBC,EAAMC,cAAc,MAAO,CAC7CH,UAAWI,EAAW,GAAGC,OAAOR,EAAW,YAAaG,GACxDC,MAAOA,GACOC,EAAMC,cAAc,MAAO,CACzCH,UAAW,GAAGK,OAAOR,EAAW,UAChCC,GAAIA,EACJQ,KAAM,UACNL,MAAOF,GACc,mBAAbH,EAA0BA,IAAaA,GACnD","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../@babel/runtime/helpers/esm/extends.js"),r=require("../../@babel/runtime/helpers/esm/objectSpread2.js"),t=require("../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=require("../../@rc-component/trigger/es/index.js"),o=require("react"),n=require("./placements.js"),a=require("./Popup.js");function l(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var p=l(o),s=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],u=function(l,u){var m=l.overlayClassName,c=l.trigger,v=void 0===c?["hover"]:c,d=l.mouseEnterDelay,y=void 0===d?0:d,b=l.mouseLeaveDelay,f=void 0===b?.1:b,g=l.overlayStyle,C=l.prefixCls,h=void 0===C?"rc-tooltip":C,j=l.children,P=l.onVisibleChange,V=l.afterVisibleChange,w=l.transitionName,D=l.animation,O=l.motion,q=l.placement,x=void 0===q?"right":q,S=l.align,E=void 0===S?{}:S,N=l.destroyTooltipOnHide,T=void 0!==N&&N,A=l.defaultVisible,I=l.getTooltipContainer,H=l.overlayInnerStyle;l.arrowContent;var L=l.overlay,k=l.id,R=l.showArrow,z=void 0===R||R,M=t(l,s),W=o.useRef(null);o.useImperativeHandle(u,(function(){return W.current}));var B=r({},M);"visible"in l&&(B.popupVisible=l.visible);return p.createElement(i.default,e({popupClassName:m,prefixCls:h,popup:function(){return p.createElement(a,{key:"content",prefixCls:h,id:k,overlayInnerStyle:H},L)},action:v,builtinPlacements:n.placements,popupPlacement:x,ref:W,popupAlign:E,getPopupContainer:I,onPopupVisibleChange:P,afterPopupVisibleChange:V,popupTransitionName:w,popupAnimation:D,popupMotion:O,defaultPopupVisible:A,autoDestroy:T,mouseLeaveDelay:f,popupStyle:g,mouseEnterDelay:y,arrow:z},B),j)},m=o.forwardRef(u);module.exports=m;
|
|
2
|
+
//# sourceMappingURL=Tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":["../../../../node_modules/rc-tooltip/es/Tooltip.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"overlayClassName\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\", \"prefixCls\", \"children\", \"onVisibleChange\", \"afterVisibleChange\", \"transitionName\", \"animation\", \"motion\", \"placement\", \"align\", \"destroyTooltipOnHide\", \"defaultVisible\", \"getTooltipContainer\", \"overlayInnerStyle\", \"arrowContent\", \"overlay\", \"id\", \"showArrow\"];\nimport Trigger from '@rc-component/trigger';\nimport * as React from 'react';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { placements } from \"./placements\";\nimport Popup from \"./Popup\";\nvar Tooltip = function Tooltip(props, ref) {\n var overlayClassName = props.overlayClassName,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n overlayStyle = props.overlayStyle,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls,\n children = props.children,\n onVisibleChange = props.onVisibleChange,\n afterVisibleChange = props.afterVisibleChange,\n transitionName = props.transitionName,\n animation = props.animation,\n motion = props.motion,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'right' : _props$placement,\n _props$align = props.align,\n align = _props$align === void 0 ? {} : _props$align,\n _props$destroyTooltip = props.destroyTooltipOnHide,\n destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip,\n defaultVisible = props.defaultVisible,\n getTooltipContainer = props.getTooltipContainer,\n overlayInnerStyle = props.overlayInnerStyle,\n arrowContent = props.arrowContent,\n overlay = props.overlay,\n id = props.id,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow,\n restProps = _objectWithoutProperties(props, _excluded);\n var triggerRef = useRef(null);\n useImperativeHandle(ref, function () {\n return triggerRef.current;\n });\n var extraProps = _objectSpread({}, restProps);\n if ('visible' in props) {\n extraProps.popupVisible = props.visible;\n }\n var getPopupElement = function getPopupElement() {\n return /*#__PURE__*/React.createElement(Popup, {\n key: \"content\",\n prefixCls: prefixCls,\n id: id,\n overlayInnerStyle: overlayInnerStyle\n }, overlay);\n };\n return /*#__PURE__*/React.createElement(Trigger, _extends({\n popupClassName: overlayClassName,\n prefixCls: prefixCls,\n popup: getPopupElement,\n action: trigger,\n builtinPlacements: placements,\n popupPlacement: placement,\n ref: triggerRef,\n popupAlign: align,\n getPopupContainer: getTooltipContainer,\n onPopupVisibleChange: onVisibleChange,\n afterPopupVisibleChange: afterVisibleChange,\n popupTransitionName: transitionName,\n popupAnimation: animation,\n popupMotion: motion,\n defaultPopupVisible: defaultVisible,\n autoDestroy: destroyTooltipOnHide,\n mouseLeaveDelay: mouseLeaveDelay,\n popupStyle: overlayStyle,\n mouseEnterDelay: mouseEnterDelay,\n arrow: showArrow\n }, extraProps), children);\n};\nexport default /*#__PURE__*/forwardRef(Tooltip);"],"names":["_excluded","Tooltip","props","ref","overlayClassName","_props$trigger","trigger","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","overlayStyle","_props$prefixCls","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","_props$placement","placement","_props$align","align","_props$destroyTooltip","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","_props$showArrow","showArrow","restProps","_objectWithoutProperties","triggerRef","useRef","useImperativeHandle","current","extraProps","_objectSpread","popupVisible","visible","React","createElement","Trigger","default","_extends","popupClassName","popup","Popup","key","action","builtinPlacements","placements","popupPlacement","popupAlign","getPopupContainer","onPopupVisibleChange","afterPopupVisibleChange","popupTransitionName","popupAnimation","popupMotion","defaultPopupVisible","autoDestroy","popupStyle","arrow","Tooltip$1","forwardRef"],"mappings":"6lBAGIA,EAAY,CAAC,mBAAoB,UAAW,kBAAmB,kBAAmB,eAAgB,YAAa,WAAY,kBAAmB,qBAAsB,iBAAkB,YAAa,SAAU,YAAa,QAAS,uBAAwB,iBAAkB,sBAAuB,oBAAqB,eAAgB,UAAW,KAAM,aAM1VC,EAAU,SAAiBC,EAAOC,GACjC,IAACC,EAAmBF,EAAME,iBAC3BC,EAAiBH,EAAMI,QACvBA,OAA6B,IAAnBD,EAA4B,CAAC,SAAWA,EAClDE,EAAwBL,EAAMM,gBAC9BA,OAA4C,IAA1BD,EAAmC,EAAIA,EACzDE,EAAwBP,EAAMQ,gBAC9BA,OAA4C,IAA1BD,EAAmC,GAAMA,EAC3DE,EAAeT,EAAMS,aACrBC,EAAmBV,EAAMW,UACzBA,OAAiC,IAArBD,EAA8B,aAAeA,EACzDE,EAAWZ,EAAMY,SACjBC,EAAkBb,EAAMa,gBACxBC,EAAqBd,EAAMc,mBAC3BC,EAAiBf,EAAMe,eACvBC,EAAYhB,EAAMgB,UAClBC,EAASjB,EAAMiB,OACfC,EAAmBlB,EAAMmB,UACzBA,OAAiC,IAArBD,EAA8B,QAAUA,EACpDE,EAAepB,EAAMqB,MACrBA,OAAyB,IAAjBD,EAA0B,CAAA,EAAKA,EACvCE,EAAwBtB,EAAMuB,qBAC9BA,OAAiD,IAA1BD,GAA2CA,EAClEE,EAAiBxB,EAAMwB,eACvBC,EAAsBzB,EAAMyB,oBAC5BC,EAAoB1B,EAAM0B,kBACX1B,EAAM2B,aACzB,IAAIC,EAAU5B,EAAM4B,QAChBC,EAAK7B,EAAM6B,GACXC,EAAmB9B,EAAM+B,UACzBA,OAAiC,IAArBD,GAAqCA,EACjDE,EAAYC,EAAyBjC,EAAOF,GAC1CoC,EAAaC,SAAO,MACxBC,EAAmBA,oBAACnC,GAAK,WACvB,OAAOiC,EAAWG,OACtB,IACE,IAAIC,EAAaC,EAAc,CAAE,EAAEP,GAC/B,YAAahC,IACfsC,EAAWE,aAAexC,EAAMyC,SAUlC,OAAoBC,EAAMC,cAAcC,EAAOC,QAAEC,EAAS,CACxDC,eAAgB7C,EAChBS,UAAWA,EACXqC,MAXoB,WACpB,OAAoBN,EAAMC,cAAcM,EAAO,CAC7CC,IAAK,UACLvC,UAAWA,EACXkB,GAAIA,EACJH,kBAAmBA,GAClBE,EACP,EAKIuB,OAAQ/C,EACRgD,kBAAmBC,EAAUA,WAC7BC,eAAgBnC,EAChBlB,IAAKiC,EACLqB,WAAYlC,EACZmC,kBAAmB/B,EACnBgC,qBAAsB5C,EACtB6C,wBAAyB5C,EACzB6C,oBAAqB5C,EACrB6C,eAAgB5C,EAChB6C,YAAa5C,EACb6C,oBAAqBtC,EACrBuC,YAAaxC,EACbf,gBAAiBA,EACjBwD,WAAYvD,EACZH,gBAAiBA,EACjB2D,MAAOlC,GACNO,GAAa1B,EAClB,EACAsD,EAA4BC,EAAAA,WAAWpE","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t={shiftX:64,adjustY:1},f={adjustX:1,shiftY:!0},o=[0,0],e={left:{points:["cr","cl"],overflow:f,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:f,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:t,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:t,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:t,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:f,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:t,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:f,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:t,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:f,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:t,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:f,offset:[-4,0],targetOffset:o}};exports.default=e,exports.placements=e;
|
|
2
|
+
//# sourceMappingURL=placements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"placements.js","sources":["../../../../node_modules/rc-tooltip/es/placements.js"],"sourcesContent":["var autoAdjustOverflowTopBottom = {\n shiftX: 64,\n adjustY: 1\n};\nvar autoAdjustOverflowLeftRight = {\n adjustX: 1,\n shiftY: true\n};\nvar targetOffset = [0, 0];\nexport var placements = {\n left: {\n points: ['cr', 'cl'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n right: {\n points: ['cl', 'cr'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n top: {\n points: ['bc', 'tc'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n bottom: {\n points: ['tc', 'bc'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n leftTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n topRight: {\n points: ['br', 'tr'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n rightTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomRight: {\n points: ['tr', 'br'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n rightBottom: {\n points: ['bl', 'br'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n leftBottom: {\n points: ['br', 'bl'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [-4, 0],\n targetOffset: targetOffset\n }\n};\nexport default placements;"],"names":["autoAdjustOverflowTopBottom","shiftX","adjustY","autoAdjustOverflowLeftRight","adjustX","shiftY","targetOffset","placements","left","points","overflow","offset","right","top","bottom","topLeft","leftTop","topRight","rightTop","bottomRight","rightBottom","bottomLeft","leftBottom"],"mappings":"oEAAA,IAAIA,EAA8B,CAChCC,OAAQ,GACRC,QAAS,GAEPC,EAA8B,CAChCC,QAAS,EACTC,QAAQ,GAENC,EAAe,CAAC,EAAG,GACZC,EAAa,CACtBC,KAAM,CACJC,OAAQ,CAAC,KAAM,MACfC,SAAUP,EACVQ,OAAQ,EAAE,EAAG,GACbL,aAAcA,GAEhBM,MAAO,CACLH,OAAQ,CAAC,KAAM,MACfC,SAAUP,EACVQ,OAAQ,CAAC,EAAG,GACZL,aAAcA,GAEhBO,IAAK,CACHJ,OAAQ,CAAC,KAAM,MACfC,SAAUV,EACVW,OAAQ,CAAC,GAAI,GACbL,aAAcA,GAEhBQ,OAAQ,CACNL,OAAQ,CAAC,KAAM,MACfC,SAAUV,EACVW,OAAQ,CAAC,EAAG,GACZL,aAAcA,GAEhBS,QAAS,CACPN,OAAQ,CAAC,KAAM,MACfC,SAAUV,EACVW,OAAQ,CAAC,GAAI,GACbL,aAAcA,GAEhBU,QAAS,CACPP,OAAQ,CAAC,KAAM,MACfC,SAAUP,EACVQ,OAAQ,EAAE,EAAG,GACbL,aAAcA,GAEhBW,SAAU,CACRR,OAAQ,CAAC,KAAM,MACfC,SAAUV,EACVW,OAAQ,CAAC,GAAI,GACbL,aAAcA,GAEhBY,SAAU,CACRT,OAAQ,CAAC,KAAM,MACfC,SAAUP,EACVQ,OAAQ,CAAC,EAAG,GACZL,aAAcA,GAEhBa,YAAa,CACXV,OAAQ,CAAC,KAAM,MACfC,SAAUV,EACVW,OAAQ,CAAC,EAAG,GACZL,aAAcA,GAEhBc,YAAa,CACXX,OAAQ,CAAC,KAAM,MACfC,SAAUP,EACVQ,OAAQ,CAAC,EAAG,GACZL,aAAcA,GAEhBe,WAAY,CACVZ,OAAQ,CAAC,KAAM,MACfC,SAAUV,EACVW,OAAQ,CAAC,EAAG,GACZL,aAAcA,GAEhBgB,WAAY,CACVb,OAAQ,CAAC,KAAM,MACfC,SAAUP,EACVQ,OAAQ,EAAE,EAAG,GACbL,aAAcA","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var r=require("react"),e=require("../../node_modules/react-is/index.js");module.exports=function t(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=[];return r.Children.forEach(n,(function(r){(null!=r||o.keepEmpty)&&(Array.isArray(r)?s=s.concat(t(r)):e.reactIsExports.isFragment(r)&&r.props?s=s.concat(t(r.props.children,o)):s.push(r))})),s};
|
|
2
|
+
//# sourceMappingURL=toArray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toArray.js","sources":["../../../../../node_modules/rc-util/es/Children/toArray.js"],"sourcesContent":["import React from 'react';\nimport { isFragment } from 'react-is';\nexport default function toArray(children) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var ret = [];\n React.Children.forEach(children, function (child) {\n if ((child === undefined || child === null) && !option.keepEmpty) {\n return;\n }\n if (Array.isArray(child)) {\n ret = ret.concat(toArray(child));\n } else if (isFragment(child) && child.props) {\n ret = ret.concat(toArray(child.props.children, option));\n } else {\n ret.push(child);\n }\n });\n return ret;\n}"],"names":["toArray","children","option","arguments","length","undefined","ret","React","Children","forEach","child","keepEmpty","Array","isArray","concat","isFragment","props","push"],"mappings":"qGAEe,SAASA,EAAQC,GAC9B,IAAIC,EAASC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CAAA,EAC7EG,EAAM,GAaV,OAZAC,EAAMC,SAASC,QAAQR,GAAU,SAAUS,IACrC,MAACA,GAA2CR,EAAOS,aAGnDC,MAAMC,QAAQH,GAChBJ,EAAMA,EAAIQ,OAAOd,EAAQU,IAChBK,EAAAA,eAAAA,WAAWL,IAAUA,EAAMM,MACpCV,EAAMA,EAAIQ,OAAOd,EAAQU,EAAMM,MAAMf,SAAUC,IAE/CI,EAAIW,KAAKP,GAEf,IACSJ,CACT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canUseDom.js","sources":["../../../../../node_modules/rc-util/es/Dom/canUseDom.js"],"sourcesContent":["export default function canUseDom() {\n return !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n}"],"names":["window","document","createElement"],"mappings":"4BAAe,WACb,QAA4B,oBAAXA,SAA0BA,OAAOC,WAAYD,OAAOC,SAASC,cAChF","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contains.js","sources":["../../../../../node_modules/rc-util/es/Dom/contains.js"],"sourcesContent":["export default function contains(root, n) {\n if (!root) {\n return false;\n }\n\n // Use native if support\n if (root.contains) {\n return root.contains(n);\n }\n\n // `document.contains` not support with IE11\n var node = n;\n while (node) {\n if (node === root) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}"],"names":["root","n","contains","node","parentNode"],"mappings":"4BAAe,SAAkBA,EAAMC,GACrC,IAAKD,EACH,OAAO,EAIT,GAAIA,EAAKE,SACP,OAAOF,EAAKE,SAASD,GAKvB,IADA,IAAIE,EAAOF,EACJE,GAAM,CACX,GAAIA,IAASH,EACX,OAAO,EAETG,EAAOA,EAAKC,UACb,CACD,OAAO,CACT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/objectSpread2.js"),t=require("./canUseDom.js"),n=require("./contains.js"),r="data-rc-order",i="data-rc-priority",u="rc-util-key",o=new Map;function c(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):u}function a(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return Array.from((o.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t())return null;var u=n.csp,o=n.prepend,c=n.priority,l=void 0===c?0:c,s=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(o),p="prependQueue"===s,v=document.createElement("style");v.setAttribute(r,s),p&&l&&v.setAttribute(i,"".concat(l)),null!=u&&u.nonce&&(v.nonce=null==u?void 0:u.nonce),v.innerHTML=e;var f=a(n),h=f.firstChild;if(o){if(p){var m=(n.styles||d(f)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(r)))return!1;var t=Number(e.getAttribute(i)||0);return l>=t}));if(m.length)return f.insertBefore(v,m[m.length-1].nextSibling),v}f.insertBefore(v,h)}else f.appendChild(v);return v}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a(t);return(t.styles||d(n)).find((function(n){return n.getAttribute(c(t))===e}))}exports.injectCSS=l,exports.removeCSS=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=s(e,t);n&&a(t).removeChild(n)},exports.updateCSS=function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=a(i),p=d(u),v=e(e({},i),{},{styles:p});!function(e,t){var r=o.get(e);if(!r||!n(document,r)){var i=l("",t),u=i.parentNode;o.set(e,u),e.removeChild(i)}}(u,v);var f=s(r,v);if(f){var h,m,g;if(null!==(h=v.csp)&&void 0!==h&&h.nonce&&f.nonce!==(null===(m=v.csp)||void 0===m?void 0:m.nonce))f.nonce=null===(g=v.csp)||void 0===g?void 0:g.nonce;return f.innerHTML!==t&&(f.innerHTML=t),f}var b=l(t,v);return b.setAttribute(c(v),r),b};
|
|
2
|
+
//# sourceMappingURL=dynamicCSS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicCSS.js","sources":["../../../../../node_modules/rc-util/es/Dom/dynamicCSS.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport canUseDom from \"./canUseDom\";\nimport contains from \"./contains\";\nvar APPEND_ORDER = 'data-rc-order';\nvar APPEND_PRIORITY = 'data-rc-priority';\nvar MARK_KEY = \"rc-util-key\";\nvar containerCache = new Map();\nfunction getMark() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n mark = _ref.mark;\n if (mark) {\n return mark.startsWith('data-') ? mark : \"data-\".concat(mark);\n }\n return MARK_KEY;\n}\nfunction getContainer(option) {\n if (option.attachTo) {\n return option.attachTo;\n }\n var head = document.querySelector('head');\n return head || document.body;\n}\nfunction getOrder(prepend) {\n if (prepend === 'queue') {\n return 'prependQueue';\n }\n return prepend ? 'prepend' : 'append';\n}\n\n/**\n * Find style which inject by rc-util\n */\nfunction findStyles(container) {\n return Array.from((containerCache.get(container) || container).children).filter(function (node) {\n return node.tagName === 'STYLE';\n });\n}\nexport function injectCSS(css) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!canUseDom()) {\n return null;\n }\n var csp = option.csp,\n prepend = option.prepend,\n _option$priority = option.priority,\n priority = _option$priority === void 0 ? 0 : _option$priority;\n var mergedOrder = getOrder(prepend);\n var isPrependQueue = mergedOrder === 'prependQueue';\n var styleNode = document.createElement('style');\n styleNode.setAttribute(APPEND_ORDER, mergedOrder);\n if (isPrependQueue && priority) {\n styleNode.setAttribute(APPEND_PRIORITY, \"\".concat(priority));\n }\n if (csp !== null && csp !== void 0 && csp.nonce) {\n styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce;\n }\n styleNode.innerHTML = css;\n var container = getContainer(option);\n var firstChild = container.firstChild;\n if (prepend) {\n // If is queue `prepend`, it will prepend first style and then append rest style\n if (isPrependQueue) {\n var existStyle = (option.styles || findStyles(container)).filter(function (node) {\n // Ignore style which not injected by rc-util with prepend\n if (!['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER))) {\n return false;\n }\n\n // Ignore style which priority less then new style\n var nodePriority = Number(node.getAttribute(APPEND_PRIORITY) || 0);\n return priority >= nodePriority;\n });\n if (existStyle.length) {\n container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);\n return styleNode;\n }\n }\n\n // Use `insertBefore` as `prepend`\n container.insertBefore(styleNode, firstChild);\n } else {\n container.appendChild(styleNode);\n }\n return styleNode;\n}\nfunction findExistNode(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var container = getContainer(option);\n return (option.styles || findStyles(container)).find(function (node) {\n return node.getAttribute(getMark(option)) === key;\n });\n}\nexport function removeCSS(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var existNode = findExistNode(key, option);\n if (existNode) {\n var container = getContainer(option);\n container.removeChild(existNode);\n }\n}\n\n/**\n * qiankun will inject `appendChild` to insert into other\n */\nfunction syncRealContainer(container, option) {\n var cachedRealContainer = containerCache.get(container);\n\n // Find real container when not cached or cached container removed\n if (!cachedRealContainer || !contains(document, cachedRealContainer)) {\n var placeholderStyle = injectCSS('', option);\n var parentNode = placeholderStyle.parentNode;\n containerCache.set(container, parentNode);\n container.removeChild(placeholderStyle);\n }\n}\n\n/**\n * manually clear container cache to avoid global cache in unit testes\n */\nexport function clearContainerCache() {\n containerCache.clear();\n}\nexport function updateCSS(css, key) {\n var originOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var container = getContainer(originOption);\n var styles = findStyles(container);\n var option = _objectSpread(_objectSpread({}, originOption), {}, {\n styles: styles\n });\n\n // Sync real parent\n syncRealContainer(container, option);\n var existNode = findExistNode(key, option);\n if (existNode) {\n var _option$csp, _option$csp2;\n if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) {\n var _option$csp3;\n existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce;\n }\n if (existNode.innerHTML !== css) {\n existNode.innerHTML = css;\n }\n return existNode;\n }\n var newNode = injectCSS(css, option);\n newNode.setAttribute(getMark(option), key);\n return newNode;\n}"],"names":["APPEND_ORDER","APPEND_PRIORITY","MARK_KEY","containerCache","Map","getMark","mark","arguments","length","undefined","startsWith","concat","getContainer","option","attachTo","document","querySelector","body","findStyles","container","Array","from","get","children","filter","node","tagName","injectCSS","css","canUseDom","csp","prepend","_option$priority","priority","mergedOrder","getOrder","isPrependQueue","styleNode","createElement","setAttribute","nonce","innerHTML","firstChild","existStyle","styles","includes","getAttribute","nodePriority","Number","insertBefore","nextSibling","appendChild","findExistNode","key","find","existNode","removeChild","originOption","_objectSpread","cachedRealContainer","contains","placeholderStyle","parentNode","set","syncRealContainer","_option$csp","_option$csp2","_option$csp3","newNode"],"mappings":"0IAGIA,EAAe,gBACfC,EAAkB,mBAClBC,EAAW,cACXC,EAAiB,IAAIC,IACzB,SAASC,IACP,IACEC,GADSC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CAAE,GACnED,KACd,OAAIA,EACKA,EAAKI,WAAW,SAAWJ,EAAO,QAAQK,OAAOL,GAEnDJ,CACT,CACA,SAASU,EAAaC,GACpB,OAAIA,EAAOC,SACFD,EAAOC,SAELC,SAASC,cAAc,SACnBD,SAASE,IAC1B,CAWA,SAASC,EAAWC,GAClB,OAAOC,MAAMC,MAAMlB,EAAemB,IAAIH,IAAcA,GAAWI,UAAUC,QAAO,SAAUC,GACxF,MAAwB,UAAjBA,EAAKC,OAChB,GACA,CACO,SAASC,EAAUC,GACxB,IAAIf,EAASN,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CAAA,EACjF,IAAKsB,IACH,OAAO,KAET,IAAIC,EAAMjB,EAAOiB,IACfC,EAAUlB,EAAOkB,QACjBC,EAAmBnB,EAAOoB,SAC1BA,OAAgC,IAArBD,EAA8B,EAAIA,EAC3CE,EAxBN,SAAkBH,GAChB,MAAgB,UAAZA,EACK,eAEFA,EAAU,UAAY,QAC/B,CAmBoBI,CAASJ,GACvBK,EAAiC,iBAAhBF,EACjBG,EAAYtB,SAASuB,cAAc,SACvCD,EAAUE,aAAavC,EAAckC,GACjCE,GAAkBH,GACpBI,EAAUE,aAAatC,EAAiB,GAAGU,OAAOsB,IAEhDH,SAAkCA,EAAIU,QACxCH,EAAUG,MAAQV,aAAiC,EAASA,EAAIU,OAElEH,EAAUI,UAAYb,EACtB,IAAIT,EAAYP,EAAaC,GACzB6B,EAAavB,EAAUuB,WAC3B,GAAIX,EAAS,CAEX,GAAIK,EAAgB,CAClB,IAAIO,GAAc9B,EAAO+B,QAAU1B,EAAWC,IAAYK,QAAO,SAAUC,GAEzE,IAAK,CAAC,UAAW,gBAAgBoB,SAASpB,EAAKqB,aAAa9C,IAC1D,OAAO,EAIT,IAAI+C,EAAeC,OAAOvB,EAAKqB,aAAa7C,IAAoB,GAChE,OAAOgC,GAAYc,CAC3B,IACM,GAAIJ,EAAWnC,OAEb,OADAW,EAAU8B,aAAaZ,EAAWM,EAAWA,EAAWnC,OAAS,GAAG0C,aAC7Db,CAEV,CAGDlB,EAAU8B,aAAaZ,EAAWK,EACtC,MACIvB,EAAUgC,YAAYd,GAExB,OAAOA,CACT,CACA,SAASe,EAAcC,GACrB,IAAIxC,EAASN,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CAAA,EAC7EY,EAAYP,EAAaC,GAC7B,OAAQA,EAAO+B,QAAU1B,EAAWC,IAAYmC,MAAK,SAAU7B,GAC7D,OAAOA,EAAKqB,aAAazC,EAAQQ,MAAawC,CAClD,GACA,uCACO,SAAmBA,GACxB,IAAIxC,EAASN,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CAAA,EAC7EgD,EAAYH,EAAcC,EAAKxC,GAC/B0C,GACc3C,EAAaC,GACnB2C,YAAYD,EAE1B,oBAuBO,SAAmB3B,EAAKyB,GAC7B,IAAII,EAAelD,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CAAA,EACnFY,EAAYP,EAAa6C,GACzBb,EAAS1B,EAAWC,GACpBN,EAAS6C,EAAcA,EAAc,CAAA,EAAID,GAAe,GAAI,CAC9Db,OAAQA,KAvBZ,SAA2BzB,EAAWN,GACpC,IAAI8C,EAAsBxD,EAAemB,IAAIH,GAG7C,IAAKwC,IAAwBC,EAAS7C,SAAU4C,GAAsB,CACpE,IAAIE,EAAmBlC,EAAU,GAAId,GACjCiD,EAAaD,EAAiBC,WAClC3D,EAAe4D,IAAI5C,EAAW2C,GAC9B3C,EAAUqC,YAAYK,EACvB,CACH,CAiBEG,CAAkB7C,EAAWN,GAC7B,IAAI0C,EAAYH,EAAcC,EAAKxC,GACnC,GAAI0C,EAAW,CACb,IAAIU,EAAaC,EAEXC,EADN,GAAmC,QAA9BF,EAAcpD,EAAOiB,WAAiC,IAAhBmC,GAA0BA,EAAYzB,OAASe,EAAUf,SAA2C,QAA/B0B,EAAerD,EAAOiB,WAAkC,IAAjBoC,OAA0B,EAASA,EAAa1B,OAErMe,EAAUf,MAAwC,QAA/B2B,EAAetD,EAAOiB,WAAkC,IAAjBqC,OAA0B,EAASA,EAAa3B,MAK5G,OAHIe,EAAUd,YAAcb,IAC1B2B,EAAUd,UAAYb,GAEjB2B,CACR,CACD,IAAIa,EAAUzC,EAAUC,EAAKf,GAE7B,OADAuD,EAAQ7B,aAAalC,EAAQQ,GAASwC,GAC/Be,CACT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/typeof.js"),t=require("react"),n=require("react-dom");function r(e){return e instanceof HTMLElement||e instanceof SVGElement}function o(t){return t&&"object"===e(t)&&r(t.nativeElement)?t.nativeElement:r(t)?t:null}exports.default=function(e){var r,i=o(e);return i||(e instanceof t.Component?null===(r=n.findDOMNode)||void 0===r?void 0:r.call(n,e):null)},exports.getDOM=o,exports.isDOM=r;
|
|
2
|
+
//# sourceMappingURL=findDOMNode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findDOMNode.js","sources":["../../../../../node_modules/rc-util/es/Dom/findDOMNode.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nexport function isDOM(node) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Element\n // Since XULElement is also subclass of Element, we only need HTMLElement and SVGElement\n return node instanceof HTMLElement || node instanceof SVGElement;\n}\n\n/**\n * Retrieves a DOM node via a ref, and does not invoke `findDOMNode`.\n */\nexport function getDOM(node) {\n if (node && _typeof(node) === 'object' && isDOM(node.nativeElement)) {\n return node.nativeElement;\n }\n if (isDOM(node)) {\n return node;\n }\n return null;\n}\n\n/**\n * Return if a node is a DOM node. Else will return by `findDOMNode`\n */\nexport default function findDOMNode(node) {\n var domNode = getDOM(node);\n if (domNode) {\n return domNode;\n }\n if (node instanceof React.Component) {\n var _ReactDOM$findDOMNode;\n return (_ReactDOM$findDOMNode = ReactDOM.findDOMNode) === null || _ReactDOM$findDOMNode === void 0 ? void 0 : _ReactDOM$findDOMNode.call(ReactDOM, node);\n }\n return null;\n}"],"names":["isDOM","node","HTMLElement","SVGElement","getDOM","_typeof","nativeElement","_ReactDOM$findDOMNode","domNode","React","Component","ReactDOM","findDOMNode","call"],"mappings":"6KAGO,SAASA,EAAMC,GAGpB,OAAOA,aAAgBC,aAAeD,aAAgBE,UACxD,CAKO,SAASC,EAAOH,GACrB,OAAIA,GAA0B,WAAlBI,EAAQJ,IAAsBD,EAAMC,EAAKK,eAC5CL,EAAKK,cAEVN,EAAMC,GACDA,EAEF,IACT,iBAKe,SAAqBA,GAClC,IAKMM,EALFC,EAAUJ,EAAOH,GACrB,OAAIO,IAGAP,aAAgBQ,EAAMC,UAEkC,QAAlDH,EAAwBI,EAASC,mBAAmD,IAA1BL,OAAmC,EAASA,EAAsBM,KAAKF,EAAUV,GAE9I,KACT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";module.exports=function(t){if(!t)return!1;if(t instanceof Element){if(t.offsetParent)return!0;if(t.getBBox){var e=t.getBBox(),i=e.width,n=e.height;if(i||n)return!0}if(t.getBoundingClientRect){var r=t.getBoundingClientRect(),f=r.width,u=r.height;if(f||u)return!0}}return!1};
|
|
2
|
+
//# sourceMappingURL=isVisible.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isVisible.js","sources":["../../../../../node_modules/rc-util/es/Dom/isVisible.js"],"sourcesContent":["export default (function (element) {\n if (!element) {\n return false;\n }\n if (element instanceof Element) {\n if (element.offsetParent) {\n return true;\n }\n if (element.getBBox) {\n var _getBBox = element.getBBox(),\n width = _getBBox.width,\n height = _getBBox.height;\n if (width || height) {\n return true;\n }\n }\n if (element.getBoundingClientRect) {\n var _element$getBoundingC = element.getBoundingClientRect(),\n _width = _element$getBoundingC.width,\n _height = _element$getBoundingC.height;\n if (_width || _height) {\n return true;\n }\n }\n }\n return false;\n});"],"names":["element","Element","offsetParent","getBBox","_getBBox","width","height","getBoundingClientRect","_element$getBoundingC","_width","_height"],"mappings":"4BAAe,SAAWA,GACxB,IAAKA,EACH,OAAO,EAET,GAAIA,aAAmBC,QAAS,CAC9B,GAAID,EAAQE,aACV,OAAO,EAET,GAAIF,EAAQG,QAAS,CACnB,IAAIC,EAAWJ,EAAQG,UACrBE,EAAQD,EAASC,MACjBC,EAASF,EAASE,OACpB,GAAID,GAASC,EACX,OAAO,CAEV,CACD,GAAIN,EAAQO,sBAAuB,CACjC,IAAIC,EAAwBR,EAAQO,wBAClCE,EAASD,EAAsBH,MAC/BK,EAAUF,EAAsBF,OAClC,GAAIG,GAAUC,EACZ,OAAO,CAEV,CACF,CACD,OAAO,CACR","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadow.js","sources":["../../../../../node_modules/rc-util/es/Dom/shadow.js"],"sourcesContent":["function getRoot(ele) {\n var _ele$getRootNode;\n return ele === null || ele === void 0 || (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele);\n}\n\n/**\n * Check if is in shadowRoot\n */\nexport function inShadow(ele) {\n return getRoot(ele) instanceof ShadowRoot;\n}\n\n/**\n * Return shadowRoot if possible\n */\nexport function getShadowRoot(ele) {\n return inShadow(ele) ? getRoot(ele) : null;\n}"],"names":["getRoot","ele","_ele$getRootNode","getRootNode","call","inShadow","ShadowRoot"],"mappings":"aAAA,SAASA,EAAQC,GACf,IAAIC,EACJ,OAAOD,SAA2E,QAAxCC,EAAmBD,EAAIE,mBAA8C,IAArBD,OAA8B,EAASA,EAAiBE,KAAKH,EACzJ,CAKO,SAASI,EAASJ,GACvB,OAAOD,EAAQC,aAAgBK,UACjC,uBAKO,SAAuBL,GAC5B,OAAOI,EAASJ,GAAOD,EAAQC,GAAO,IACxC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var t=require("./Dom/dynamicCSS.js");exports.getTargetScrollBarSize=function(e){return"undefined"!=typeof document&&e&&e instanceof Element?function(e){var r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=r;var i,c,n=o.style;if(n.position="absolute",n.left="0",n.top="0",n.width="100px",n.height="100px",n.overflow="scroll",e){var a=getComputedStyle(e);n.scrollbarColor=a.scrollbarColor,n.scrollbarWidth=a.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),d=parseInt(l.width,10),h=parseInt(l.height,10);try{var s=d?"width: ".concat(l.width,";"):"",u=h?"height: ".concat(l.height,";"):"";t.updateCSS("\n#".concat(r,"::-webkit-scrollbar {\n").concat(s,"\n").concat(u,"\n}"),r)}catch(t){console.error(t),i=d,c=h}}document.body.appendChild(o);var g=e&&i&&!isNaN(i)?i:o.offsetWidth-o.clientWidth,m=e&&c&&!isNaN(c)?c:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),t.removeCSS(r),{width:g,height:m}}(e):{width:0,height:0}};
|
|
2
|
+
//# sourceMappingURL=getScrollBarSize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScrollBarSize.js","sources":["../../../../node_modules/rc-util/es/getScrollBarSize.js"],"sourcesContent":["/* eslint-disable no-param-reassign */\nimport { removeCSS, updateCSS } from \"./Dom/dynamicCSS\";\nvar cached;\nfunction measureScrollbarSize(ele) {\n var randomId = \"rc-scrollbar-measure-\".concat(Math.random().toString(36).substring(7));\n var measureEle = document.createElement('div');\n measureEle.id = randomId;\n\n // Create Style\n var measureStyle = measureEle.style;\n measureStyle.position = 'absolute';\n measureStyle.left = '0';\n measureStyle.top = '0';\n measureStyle.width = '100px';\n measureStyle.height = '100px';\n measureStyle.overflow = 'scroll';\n\n // Clone Style if needed\n var fallbackWidth;\n var fallbackHeight;\n if (ele) {\n var targetStyle = getComputedStyle(ele);\n measureStyle.scrollbarColor = targetStyle.scrollbarColor;\n measureStyle.scrollbarWidth = targetStyle.scrollbarWidth;\n\n // Set Webkit style\n var webkitScrollbarStyle = getComputedStyle(ele, '::-webkit-scrollbar');\n var width = parseInt(webkitScrollbarStyle.width, 10);\n var height = parseInt(webkitScrollbarStyle.height, 10);\n\n // Try wrap to handle CSP case\n try {\n var widthStyle = width ? \"width: \".concat(webkitScrollbarStyle.width, \";\") : '';\n var heightStyle = height ? \"height: \".concat(webkitScrollbarStyle.height, \";\") : '';\n updateCSS(\"\\n#\".concat(randomId, \"::-webkit-scrollbar {\\n\").concat(widthStyle, \"\\n\").concat(heightStyle, \"\\n}\"), randomId);\n } catch (e) {\n // Can't wrap, just log error\n console.error(e);\n\n // Get from style directly\n fallbackWidth = width;\n fallbackHeight = height;\n }\n }\n document.body.appendChild(measureEle);\n\n // Measure. Get fallback style if provided\n var scrollWidth = ele && fallbackWidth && !isNaN(fallbackWidth) ? fallbackWidth : measureEle.offsetWidth - measureEle.clientWidth;\n var scrollHeight = ele && fallbackHeight && !isNaN(fallbackHeight) ? fallbackHeight : measureEle.offsetHeight - measureEle.clientHeight;\n\n // Clean up\n document.body.removeChild(measureEle);\n removeCSS(randomId);\n return {\n width: scrollWidth,\n height: scrollHeight\n };\n}\nexport default function getScrollBarSize(fresh) {\n if (typeof document === 'undefined') {\n return 0;\n }\n if (fresh || cached === undefined) {\n cached = measureScrollbarSize();\n }\n return cached.width;\n}\nexport function getTargetScrollBarSize(target) {\n if (typeof document === 'undefined' || !target || !(target instanceof Element)) {\n return {\n width: 0,\n height: 0\n };\n }\n return measureScrollbarSize(target);\n}"],"names":["target","document","Element","ele","randomId","concat","Math","random","toString","substring","measureEle","createElement","id","fallbackWidth","fallbackHeight","measureStyle","style","position","left","top","width","height","overflow","targetStyle","getComputedStyle","scrollbarColor","scrollbarWidth","webkitScrollbarStyle","parseInt","widthStyle","heightStyle","updateCSS","e","console","error","body","appendChild","scrollWidth","isNaN","offsetWidth","clientWidth","scrollHeight","offsetHeight","clientHeight","removeChild","removeCSS","measureScrollbarSize"],"mappings":"iFAmEO,SAAgCA,GACrC,MAAwB,oBAAbC,UAA6BD,GAAYA,aAAkBE,QAjExE,SAA8BC,GAC5B,IAAIC,EAAW,wBAAwBC,OAAOC,KAAKC,SAASC,SAAS,IAAIC,UAAU,IAC/EC,EAAaT,SAASU,cAAc,OACxCD,EAAWE,GAAKR,EAGhB,IASIS,EACAC,EAVAC,EAAeL,EAAWM,MAW9B,GAVAD,EAAaE,SAAW,WACxBF,EAAaG,KAAO,IACpBH,EAAaI,IAAM,IACnBJ,EAAaK,MAAQ,QACrBL,EAAaM,OAAS,QACtBN,EAAaO,SAAW,SAKpBnB,EAAK,CACP,IAAIoB,EAAcC,iBAAiBrB,GACnCY,EAAaU,eAAiBF,EAAYE,eAC1CV,EAAaW,eAAiBH,EAAYG,eAG1C,IAAIC,EAAuBH,iBAAiBrB,EAAK,uBAC7CiB,EAAQQ,SAASD,EAAqBP,MAAO,IAC7CC,EAASO,SAASD,EAAqBN,OAAQ,IAGnD,IACE,IAAIQ,EAAaT,EAAQ,UAAUf,OAAOsB,EAAqBP,MAAO,KAAO,GACzEU,EAAcT,EAAS,WAAWhB,OAAOsB,EAAqBN,OAAQ,KAAO,GACjFU,EAAAA,UAAU,MAAM1B,OAAOD,EAAU,2BAA2BC,OAAOwB,EAAY,MAAMxB,OAAOyB,EAAa,OAAQ1B,EAClH,CAAC,MAAO4B,GAEPC,QAAQC,MAAMF,GAGdnB,EAAgBO,EAChBN,EAAiBO,CAClB,CACF,CACDpB,SAASkC,KAAKC,YAAY1B,GAG1B,IAAI2B,EAAclC,GAAOU,IAAkByB,MAAMzB,GAAiBA,EAAgBH,EAAW6B,YAAc7B,EAAW8B,YAClHC,EAAetC,GAAOW,IAAmBwB,MAAMxB,GAAkBA,EAAiBJ,EAAWgC,aAAehC,EAAWiC,aAK3H,OAFA1C,SAASkC,KAAKS,YAAYlC,GAC1BmC,EAASA,UAACzC,GACH,CACLgB,MAAOiB,EACPhB,OAAQoB,EAEZ,CAiBSK,CAAqB9C,GALnB,CACLoB,MAAO,EACPC,OAAQ,EAId","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";function e(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var r=e(require("react"));module.exports=function(e){var t=r.useRef();return t.current=e,r.useCallback((function(){for(var e,r=arguments.length,n=new Array(r),c=0;c<r;c++)n[c]=arguments[c];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(n))}),[])};
|
|
2
|
+
//# sourceMappingURL=useEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEvent.js","sources":["../../../../../node_modules/rc-util/es/hooks/useEvent.js"],"sourcesContent":["import * as React from 'react';\nexport default function useEvent(callback) {\n var fnRef = React.useRef();\n fnRef.current = callback;\n var memoFn = React.useCallback(function () {\n var _fnRef$current;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args));\n }, []);\n return memoFn;\n}"],"names":["callback","fnRef","React","useRef","current","useCallback","_fnRef$current","_len","arguments","length","args","Array","_key","call","apply","concat"],"mappings":"yTACe,SAAkBA,GAC/B,IAAIC,EAAQC,EAAMC,SASlB,OARAF,EAAMG,QAAUJ,EACHE,EAAMG,aAAY,WAE7B,IADA,IAAIC,EACKC,EAAOC,UAAUC,OAAQC,EAAO,IAAIC,MAAMJ,GAAOK,EAAO,EAAGA,EAAOL,EAAMK,IAC/EF,EAAKE,GAAQJ,UAAUI,GAEzB,OAA4C,QAApCN,EAAiBL,EAAMG,eAAwC,IAAnBE,OAA4B,EAASA,EAAeO,KAAKC,MAAMR,EAAgB,CAACL,GAAOc,OAAOL,GACnJ,GAAE,GAEL","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/slicedToArray.js"),r=require("../../../@babel/runtime/helpers/esm/objectSpread2.js");function t(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var n=t(require("react"));var u=0,s=r({},n).useId,c=s?function(e){var r=s();return e||("test"===process.env.NODE_ENV?"test-id":r)}:function(r){var t=n.useState("ssr-id"),s=e(t,2),c=s[0],a=s[1];return n.useEffect((function(){var e=u;u+=1,a("rc_unique_".concat(e))}),[]),r||("test"===process.env.NODE_ENV?"test-id":c)};module.exports=c;
|
|
2
|
+
//# sourceMappingURL=useId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useId.js","sources":["../../../../../node_modules/rc-util/es/hooks/useId.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nfunction getUseId() {\n // We need fully clone React function here to avoid webpack warning React 17 do not export `useId`\n var fullClone = _objectSpread({}, React);\n return fullClone.useId;\n}\nvar uuid = 0;\n\n/** @private Note only worked in develop env. Not work in production. */\nexport function resetUuid() {\n if (process.env.NODE_ENV !== 'production') {\n uuid = 0;\n }\n}\nvar useOriginId = getUseId();\nexport default useOriginId ?\n// Use React `useId`\nfunction useId(id) {\n var reactId = useOriginId();\n\n // Developer passed id is single source of truth\n if (id) {\n return id;\n }\n\n // Test env always return mock id\n if (process.env.NODE_ENV === 'test') {\n return 'test-id';\n }\n return reactId;\n} :\n// Use compatible of `useId`\nfunction useCompatId(id) {\n // Inner id for accessibility usage. Only work in client side\n var _React$useState = React.useState('ssr-id'),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerId = _React$useState2[0],\n setInnerId = _React$useState2[1];\n React.useEffect(function () {\n var nextId = uuid;\n uuid += 1;\n setInnerId(\"rc_unique_\".concat(nextId));\n }, []);\n\n // Developer passed id is single source of truth\n if (id) {\n return id;\n }\n\n // Test env always return mock id\n if (process.env.NODE_ENV === 'test') {\n return 'test-id';\n }\n\n // Return react native id or inner id\n return innerId;\n};"],"names":["uuid","useOriginId","_objectSpread","React","useId","id","reactId","process","env","NODE_ENV","_React$useState","useState","_React$useState2","_slicedToArray","innerId","setInnerId","useEffect","nextId","concat"],"mappings":"kbAQA,IAAIA,EAAO,EAQPC,EAXcC,EAAc,CAAE,EAAEC,GACjBC,MAWnBA,EAAeH,EAEf,SAAeI,GACb,IAAIC,EAAUL,IAGd,OAAII,IAKyB,SAAzBE,QAAQC,IAAIC,SACP,UAEFH,EACT,EAEA,SAAqBD,GAEnB,IAAIK,EAAkBP,EAAMQ,SAAS,UACnCC,EAAmBC,EAAeH,EAAiB,GACnDI,EAAUF,EAAiB,GAC3BG,EAAaH,EAAiB,GAQhC,OAPAT,EAAMa,WAAU,WACd,IAAIC,EAASjB,EACbA,GAAQ,EACRe,EAAW,aAAaG,OAAOD,GAChC,GAAE,IAGCZ,IAKyB,SAAzBE,QAAQC,IAAIC,SACP,UAIFK,EACT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("react"),r=require("../Dom/canUseDom.js");function t(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var n=t(e),u="test"!==process.env.NODE_ENV&&r()?n.useLayoutEffect:n.useEffect;module.exports=function(e,r){var t=n.useRef(!0);u((function(){return e(t.current)}),r),u((function(){return t.current=!1,function(){t.current=!0}}),[])};
|
|
2
|
+
//# sourceMappingURL=useLayoutEffect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLayoutEffect.js","sources":["../../../../../node_modules/rc-util/es/hooks/useLayoutEffect.js"],"sourcesContent":["import * as React from 'react';\nimport canUseDom from \"../Dom/canUseDom\";\n\n/**\n * Wrap `React.useLayoutEffect` which will not throw warning message in test env\n */\nvar useInternalLayoutEffect = process.env.NODE_ENV !== 'test' && canUseDom() ? React.useLayoutEffect : React.useEffect;\nvar useLayoutEffect = function useLayoutEffect(callback, deps) {\n var firstMountRef = React.useRef(true);\n useInternalLayoutEffect(function () {\n return callback(firstMountRef.current);\n }, deps);\n\n // We tell react that first mount has passed\n useInternalLayoutEffect(function () {\n firstMountRef.current = false;\n return function () {\n firstMountRef.current = true;\n };\n }, []);\n};\nexport var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {\n useLayoutEffect(function (firstMount) {\n if (!firstMount) {\n return callback();\n }\n }, deps);\n};\nexport default useLayoutEffect;"],"names":["useInternalLayoutEffect","process","env","NODE_ENV","canUseDom","React","useLayoutEffect","useEffect","callback","deps","firstMountRef","useRef","current"],"mappings":"mVAMIA,EAAmD,SAAzBC,QAAQC,IAAIC,UAAuBC,IAAcC,EAAMC,gBAAkBD,EAAME,yBACvF,SAAyBC,EAAUC,GACvD,IAAIC,EAAgBL,EAAMM,QAAO,GACjCX,GAAwB,WACtB,OAAOQ,EAASE,EAAcE,QAC/B,GAAEH,GAGHT,GAAwB,WAEtB,OADAU,EAAcE,SAAU,EACjB,WACLF,EAAcE,SAAU,CAC9B,CACG,GAAE,GACL","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";function e(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var r=e(require("react"));module.exports=function(e,t,n){var u=r.useRef({});return"value"in u.current&&!n(u.current.condition,t)||(u.current.value=e(),u.current.condition=t),u.current.value};
|
|
2
|
+
//# sourceMappingURL=useMemo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMemo.js","sources":["../../../../../node_modules/rc-util/es/hooks/useMemo.js"],"sourcesContent":["import * as React from 'react';\nexport default function useMemo(getValue, condition, shouldUpdate) {\n var cacheRef = React.useRef({});\n if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {\n cacheRef.current.value = getValue();\n cacheRef.current.condition = condition;\n }\n return cacheRef.current.value;\n}"],"names":["getValue","condition","shouldUpdate","cacheRef","React","useRef","current","value"],"mappings":"yTACe,SAAiBA,EAAUC,EAAWC,GACnD,IAAIC,EAAWC,EAAMC,OAAO,CAAE,GAK9B,MAJM,UAAWF,EAASG,UAAYJ,EAAaC,EAASG,QAAQL,UAAWA,KAC7EE,EAASG,QAAQC,MAAQP,IACzBG,EAASG,QAAQL,UAAYA,GAExBE,EAASG,QAAQC,KAC1B","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/slicedToArray.js");function r(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var t=r(require("react"));module.exports=function(r){var n=t.useRef(!1),u=t.useState(r),c=e(u,2),f=c[0],i=c[1];return t.useEffect((function(){return n.current=!1,function(){n.current=!0}}),[]),[f,function(e,r){r&&n.current||i(e)}]};
|
|
2
|
+
//# sourceMappingURL=useState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useState.js","sources":["../../../../../node_modules/rc-util/es/hooks/useState.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\n/**\n * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed.\n * We do not make this auto is to avoid real memory leak.\n * Developer should confirm it's safe to ignore themselves.\n */\nexport default function useSafeState(defaultValue) {\n var destroyRef = React.useRef(false);\n var _React$useState = React.useState(defaultValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n value = _React$useState2[0],\n setValue = _React$useState2[1];\n React.useEffect(function () {\n destroyRef.current = false;\n return function () {\n destroyRef.current = true;\n };\n }, []);\n function safeSetState(updater, ignoreDestroy) {\n if (ignoreDestroy && destroyRef.current) {\n return;\n }\n setValue(updater);\n }\n return [value, safeSetState];\n}"],"names":["defaultValue","destroyRef","React","useRef","_React$useState","useState","_React$useState2","_slicedToArray","value","setValue","useEffect","current","updater","ignoreDestroy"],"mappings":"+XAOe,SAAsBA,GACnC,IAAIC,EAAaC,EAAMC,QAAO,GAC1BC,EAAkBF,EAAMG,SAASL,GACnCM,EAAmBC,EAAeH,EAAiB,GACnDI,EAAQF,EAAiB,GACzBG,EAAWH,EAAiB,GAa9B,OAZAJ,EAAMQ,WAAU,WAEd,OADAT,EAAWU,SAAU,EACd,WACLV,EAAWU,SAAU,CAC3B,CACG,GAAE,IAOI,CAACH,EANR,SAAsBI,EAASC,GACzBA,GAAiBZ,EAAWU,SAGhCF,EAASG,EACV,EAEH","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../@babel/runtime/helpers/esm/slicedToArray.js"),r=require("react"),t=require("./useEvent.js");function n(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var u=n(r);module.exports=function(r){var n=u.useReducer((function(e){return e+1}),0),c=e(n,2)[1],i=u.useRef(r);return[t((function(){return i.current})),t((function(e){i.current="function"==typeof e?e(i.current):e,c()}))]};
|
|
2
|
+
//# sourceMappingURL=useSyncState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSyncState.js","sources":["../../../../../node_modules/rc-util/es/hooks/useSyncState.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useEvent from \"./useEvent\";\n/**\n * Same as React.useState but will always get latest state.\n * This is useful when React merge multiple state updates into one.\n * e.g. onTransitionEnd trigger multiple event at once will be merged state update in React.\n */\nexport default function useSyncState(defaultValue) {\n var _React$useReducer = React.useReducer(function (x) {\n return x + 1;\n }, 0),\n _React$useReducer2 = _slicedToArray(_React$useReducer, 2),\n forceUpdate = _React$useReducer2[1];\n var currentValueRef = React.useRef(defaultValue);\n var getValue = useEvent(function () {\n return currentValueRef.current;\n });\n var setValue = useEvent(function (updater) {\n currentValueRef.current = typeof updater === 'function' ? updater(currentValueRef.current) : updater;\n forceUpdate();\n });\n return [getValue, setValue];\n}"],"names":["defaultValue","_React$useReducer","React","useReducer","x","forceUpdate","_slicedToArray","currentValueRef","useRef","useEvent","current","updater"],"mappings":"8ZAQe,SAAsBA,GACnC,IAAIC,EAAoBC,EAAMC,YAAW,SAAUC,GAC/C,OAAOA,EAAI,CACZ,GAAE,GAEHC,EADqBC,EAAeL,EAAmB,GACtB,GAC/BM,EAAkBL,EAAMM,OAAOR,GAQnC,MAAO,CAPQS,GAAS,WACtB,OAAOF,EAAgBG,OAC3B,IACiBD,GAAS,SAAUE,GAChCJ,EAAgBG,QAA6B,mBAAZC,EAAyBA,EAAQJ,EAAgBG,SAAWC,EAC7FN,GACJ,IAEA","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";module.exports=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var i=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==i?void 0:i.substr(0,4))};
|
|
2
|
+
//# sourceMappingURL=isMobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isMobile.js","sources":["../../../../node_modules/rc-util/es/isMobile.js"],"sourcesContent":["export default (function () {\n if (typeof navigator === 'undefined' || typeof window === 'undefined') {\n return false;\n }\n var agent = navigator.userAgent || navigator.vendor || window.opera;\n return /(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(agent === null || agent === void 0 ? void 0 : agent.substr(0, 4));\n});"],"names":["navigator","window","agent","userAgent","vendor","opera","test","substr"],"mappings":"4BAAe,WACb,GAAyB,oBAAdA,WAA+C,oBAAXC,OAC7C,OAAO,EAET,IAAIC,EAAQF,UAAUG,WAAaH,UAAUI,QAAUH,OAAOI,MAC9D,MAAO,sVAAsVC,KAAKJ,IAAU,4hDAA4hDI,KAAKJ,aAAqC,EAASA,EAAMK,OAAO,EAAG,GAC58D","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var n=function(n){return+setTimeout(n,16)},e=function(n){return clearTimeout(n)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(n=function(n){return window.requestAnimationFrame(n)},e=function(n){return window.cancelAnimationFrame(n)});var t=0,r=new Map;function i(n){r.delete(n)}var o=function(e){var o=t+=1;return function t(u){if(0===u)i(o),e();else{var c=n((function(){t(u-1)}));r.set(o,c)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),o};o.cancel=function(n){var t=r.get(n);return i(n),e(t)},"production"!==process.env.NODE_ENV&&(o.ids=function(){return r}),module.exports=o;
|
|
2
|
+
//# sourceMappingURL=raf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"raf.js","sources":["../../../../node_modules/rc-util/es/raf.js"],"sourcesContent":["var raf = function raf(callback) {\n return +setTimeout(callback, 16);\n};\nvar caf = function caf(num) {\n return clearTimeout(num);\n};\nif (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {\n raf = function raf(callback) {\n return window.requestAnimationFrame(callback);\n };\n caf = function caf(handle) {\n return window.cancelAnimationFrame(handle);\n };\n}\nvar rafUUID = 0;\nvar rafIds = new Map();\nfunction cleanup(id) {\n rafIds.delete(id);\n}\nvar wrapperRaf = function wrapperRaf(callback) {\n var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n rafUUID += 1;\n var id = rafUUID;\n function callRef(leftTimes) {\n if (leftTimes === 0) {\n // Clean up\n cleanup(id);\n\n // Trigger\n callback();\n } else {\n // Next raf\n var realId = raf(function () {\n callRef(leftTimes - 1);\n });\n\n // Bind real raf id\n rafIds.set(id, realId);\n }\n }\n callRef(times);\n return id;\n};\nwrapperRaf.cancel = function (id) {\n var realId = rafIds.get(id);\n cleanup(id);\n return caf(realId);\n};\nif (process.env.NODE_ENV !== 'production') {\n wrapperRaf.ids = function () {\n return rafIds;\n };\n}\nexport default wrapperRaf;"],"names":["raf","callback","setTimeout","caf","num","clearTimeout","window","requestAnimationFrame","handle","cancelAnimationFrame","rafUUID","rafIds","Map","cleanup","id","delete","wrapperRaf","callRef","leftTimes","realId","set","arguments","length","undefined","cancel","get","process","env","NODE_ENV","ids"],"mappings":"aAAA,IAAIA,EAAM,SAAaC,GACrB,OAAQC,WAAWD,EAAU,GAC/B,EACIE,EAAM,SAAaC,GACrB,OAAOC,aAAaD,EACtB,EACsB,oBAAXE,QAA0B,0BAA2BA,SAC9DN,EAAM,SAAaC,GACjB,OAAOK,OAAOC,sBAAsBN,EACxC,EACEE,EAAM,SAAaK,GACjB,OAAOF,OAAOG,qBAAqBD,EACvC,GAEA,IAAIE,EAAU,EACVC,EAAS,IAAIC,IACjB,SAASC,EAAQC,GACfH,EAAOI,OAAOD,EAChB,CACG,IAACE,EAAa,SAAoBf,GACnC,IAEIa,EADJJ,GAAW,EAoBX,OAlBA,SAASO,EAAQC,GACf,GAAkB,IAAdA,EAEFL,EAAQC,GAGRb,QACK,CAEL,IAAIkB,EAASnB,GAAI,WACfiB,EAAQC,EAAY,EAC5B,IAGMP,EAAOS,IAAIN,EAAIK,EAChB,CACF,CACDF,CApBYI,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,GAqBzEP,CACT,EACAE,EAAWQ,OAAS,SAAUV,GAC5B,IAAIK,EAASR,EAAOc,IAAIX,GAExB,OADAD,EAAQC,GACDX,EAAIgB,EACb,EAC6B,eAAzBO,QAAQC,IAAIC,WACdZ,EAAWa,IAAM,WACf,OAAOlB,CACX","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../@babel/runtime/helpers/esm/typeof.js"),r=require("react"),t=require("../node_modules/react-is/index.js"),o=require("./hooks/useMemo.js"),n=function(r,t){"function"==typeof r?r(t):"object"===e(r)&&r&&"current"in r&&(r.current=t)},u=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var o=r.filter(Boolean);return o.length<=1?o[0]:function(e){r.forEach((function(r){n(r,e)}))}};Number(r.version.split(".")[0]),exports.composeRef=u,exports.fillRef=n,exports.supportRef=function(e){var r,o,n=t.reactIsExports.isMemo(e)?e.type.type:e.type;return!!("function"!=typeof n||null!==(r=n.prototype)&&void 0!==r&&r.render||n.$$typeof===t.reactIsExports.ForwardRef)&&!!("function"!=typeof e||null!==(o=e.prototype)&&void 0!==o&&o.render||e.$$typeof===t.reactIsExports.ForwardRef)},exports.useComposeRef=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return o((function(){return u.apply(void 0,r)}),r,(function(e,r){return e.length!==r.length||e.every((function(e,t){return e!==r[t]}))}))};
|
|
2
|
+
//# sourceMappingURL=ref.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref.js","sources":["../../../../node_modules/rc-util/es/ref.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { isValidElement, version } from 'react';\nimport { ForwardRef, isFragment, isMemo } from 'react-is';\nimport useMemo from \"./hooks/useMemo\";\nexport var fillRef = function fillRef(ref, node) {\n if (typeof ref === 'function') {\n ref(node);\n } else if (_typeof(ref) === 'object' && ref && 'current' in ref) {\n ref.current = node;\n }\n};\n\n/**\n * Merge refs into one ref function to support ref passing.\n */\nexport var composeRef = function composeRef() {\n for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {\n refs[_key] = arguments[_key];\n }\n var refList = refs.filter(Boolean);\n if (refList.length <= 1) {\n return refList[0];\n }\n return function (node) {\n refs.forEach(function (ref) {\n fillRef(ref, node);\n });\n };\n};\nexport var useComposeRef = function useComposeRef() {\n for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n refs[_key2] = arguments[_key2];\n }\n return useMemo(function () {\n return composeRef.apply(void 0, refs);\n }, refs, function (prev, next) {\n return prev.length !== next.length || prev.every(function (ref, i) {\n return ref !== next[i];\n });\n });\n};\nexport var supportRef = function supportRef(nodeOrComponent) {\n var _type$prototype, _nodeOrComponent$prot;\n var type = isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;\n\n // Function component node\n if (typeof type === 'function' && !((_type$prototype = type.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type.$$typeof !== ForwardRef) {\n return false;\n }\n\n // Class component\n if (typeof nodeOrComponent === 'function' && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== ForwardRef) {\n return false;\n }\n return true;\n};\nfunction isReactElement(node) {\n return /*#__PURE__*/isValidElement(node) && !isFragment(node);\n}\nexport var supportNodeRef = function supportNodeRef(node) {\n return isReactElement(node) && supportRef(node);\n};\n\n/**\n * In React 19. `ref` is not a property from node.\n * But a property from `props.ref`.\n * To check if `props.ref` exist or fallback to `ref`.\n */\nexport var getNodeRef = Number(version.split('.')[0]) >= 19 ?\n// >= React 19\nfunction (node) {\n if (isReactElement(node)) {\n return node.props.ref;\n }\n return null;\n} :\n// < React 19\nfunction (node) {\n if (isReactElement(node)) {\n return node.ref;\n }\n return null;\n};"],"names":["fillRef","ref","node","_typeof","current","composeRef","_len","arguments","length","refs","Array","_key","refList","filter","Boolean","forEach","Number","version","split","nodeOrComponent","_type$prototype","_nodeOrComponent$prot","type","isMemo","reactIsExports","prototype","render","$$typeof","ForwardRef","_len2","_key2","useMemo","apply","prev","next","every","i"],"mappings":"2KAIWA,EAAU,SAAiBC,EAAKC,GACtB,mBAARD,EACTA,EAAIC,GACsB,WAAjBC,EAAQF,IAAqBA,GAAO,YAAaA,IAC1DA,EAAIG,QAAUF,EAElB,EAKWG,EAAa,WACtB,IAAK,IAAIC,EAAOC,UAAUC,OAAQC,EAAO,IAAIC,MAAMJ,GAAOK,EAAO,EAAGA,EAAOL,EAAMK,IAC/EF,EAAKE,GAAQJ,UAAUI,GAEzB,IAAIC,EAAUH,EAAKI,OAAOC,SAC1B,OAAIF,EAAQJ,QAAU,EACbI,EAAQ,GAEV,SAAUV,GACfO,EAAKM,SAAQ,SAAUd,GACrBD,EAAQC,EAAKC,EACnB,GACA,CACA,EAwCwBc,OAAOC,EAAAA,QAAQC,MAAM,KAAK,8DA3B1B,SAAoBC,GAC1C,IAAIC,EAAiBC,EACjBC,EAAOC,EAAMC,eAAAD,OAACJ,GAAmBA,EAAgBG,KAAKA,KAAOH,EAAgBG,KAGjF,SAAoB,mBAATA,GAAgE,QAAtCF,EAAkBE,EAAKG,iBAA2C,IAApBL,GAA8BA,EAAgBM,QAAWJ,EAAKK,WAAaC,iCAK/H,mBAApBT,GAA4F,QAAvDE,EAAwBF,EAAgBM,iBAAiD,IAA1BJ,GAAoCA,EAAsBK,QAAWP,EAAgBQ,WAAaC,4BAInN,wBA1B2B,WACzB,IAAK,IAAIC,EAAQtB,UAAUC,OAAQC,EAAO,IAAIC,MAAMmB,GAAQC,EAAQ,EAAGA,EAAQD,EAAOC,IACpFrB,EAAKqB,GAASvB,UAAUuB,GAE1B,OAAOC,GAAQ,WACb,OAAO1B,EAAW2B,WAAM,EAAQvB,EACpC,GAAKA,GAAM,SAAUwB,EAAMC,GACvB,OAAOD,EAAKzB,SAAW0B,EAAK1B,QAAUyB,EAAKE,OAAM,SAAUlC,EAAKmC,GAC9D,OAAOnC,IAAQiC,EAAKE,EAC1B,GACA,GACA","x_google_ignoreList":[0]}
|