@cruk/cruk-react-components 1.5.1 → 2.0.0
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/package.json +2 -6
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -2
- package/lib/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
- package/lib/cjs/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js +0 -2
- package/lib/cjs/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js.map +0 -1
- package/lib/cjs/node_modules/detect-node-es/esm/node.js +0 -2
- package/lib/cjs/node_modules/detect-node-es/esm/node.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/constants.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/constants.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusInside.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusInside.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusIsHidden.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusIsHidden.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusMerge.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusables.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/focusables.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/index.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/index.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/setFocus.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/setFocus.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/solver.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/DOMutils.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/all-affected.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/all-affected.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/array.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/array.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/auto-focus.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/auto-focus.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/correctFocus.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/correctFocus.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/firstFocus.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/firstFocus.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/is.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/is.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/parenting.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/parenting.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/safe.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/safe.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabOrder.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabOrder.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabUtils.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabUtils.js.map +0 -1
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabbables.js +0 -2
- package/lib/cjs/node_modules/focus-lock/dist/es2015/utils/tabbables.js.map +0 -1
- package/lib/cjs/node_modules/react-clientside-effect/lib/index.es.js +0 -2
- package/lib/cjs/node_modules/react-clientside-effect/lib/index.es.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Combination.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Combination.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/FocusGuard.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/FocusGuard.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Lock.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/Trap.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/index.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/index.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/medium.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/medium.js.map +0 -1
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/util.js +0 -2
- package/lib/cjs/node_modules/react-focus-lock/dist/es2015/util.js.map +0 -1
- package/lib/cjs/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js +0 -2
- package/lib/cjs/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js.map +0 -1
- package/lib/cjs/node_modules/tslib/tslib.es6.js +0 -2
- package/lib/cjs/node_modules/tslib/tslib.es6.js.map +0 -1
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -2
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -2
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -2
- package/lib/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/lib/cjs/node_modules/use-sidecar/dist/es2015/medium.js +0 -2
- package/lib/cjs/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/lib/cjs/src/components/AddressLookup/README.md.js +0 -2
- package/lib/cjs/src/components/AddressLookup/README.md.js.map +0 -1
- package/lib/cjs/src/components/AddressLookup/index.js +0 -2
- package/lib/cjs/src/components/AddressLookup/index.js.map +0 -1
- package/lib/cjs/src/components/AddressLookup/styles.js +0 -2
- package/lib/cjs/src/components/AddressLookup/styles.js.map +0 -1
- package/lib/cjs/src/components/Avatar/README.md.js +0 -2
- package/lib/cjs/src/components/Avatar/README.md.js.map +0 -1
- package/lib/cjs/src/components/Avatar/index.js +0 -2
- package/lib/cjs/src/components/Avatar/index.js.map +0 -1
- package/lib/cjs/src/components/Avatar/styles.js +0 -2
- package/lib/cjs/src/components/Avatar/styles.js.map +0 -1
- package/lib/cjs/src/components/Badge/README.md.js +0 -2
- package/lib/cjs/src/components/Badge/README.md.js.map +0 -1
- package/lib/cjs/src/components/Badge/index.js +0 -2
- package/lib/cjs/src/components/Badge/index.js.map +0 -1
- package/lib/cjs/src/components/Badge/styles.js +0 -2
- package/lib/cjs/src/components/Badge/styles.js.map +0 -1
- package/lib/cjs/src/components/Box/README.md.js +0 -2
- package/lib/cjs/src/components/Box/README.md.js.map +0 -1
- package/lib/cjs/src/components/Box/index.js +0 -2
- package/lib/cjs/src/components/Box/index.js.map +0 -1
- package/lib/cjs/src/components/Box/styles.js +0 -2
- package/lib/cjs/src/components/Box/styles.js.map +0 -1
- package/lib/cjs/src/components/Button/README.md.js +0 -2
- package/lib/cjs/src/components/Button/README.md.js.map +0 -1
- package/lib/cjs/src/components/Button/index.js +0 -2
- package/lib/cjs/src/components/Button/index.js.map +0 -1
- package/lib/cjs/src/components/Button/styles.js +0 -2
- package/lib/cjs/src/components/Button/styles.js.map +0 -1
- package/lib/cjs/src/components/Carousel/Dots.js +0 -2
- package/lib/cjs/src/components/Carousel/Dots.js.map +0 -1
- package/lib/cjs/src/components/Carousel/index.js +0 -2
- package/lib/cjs/src/components/Carousel/index.js.map +0 -1
- package/lib/cjs/src/components/Carousel/styles.js +0 -2
- package/lib/cjs/src/components/Carousel/styles.js.map +0 -1
- package/lib/cjs/src/components/Checkbox/README.md.js +0 -2
- package/lib/cjs/src/components/Checkbox/README.md.js.map +0 -1
- package/lib/cjs/src/components/Checkbox/index.js +0 -2
- package/lib/cjs/src/components/Checkbox/index.js.map +0 -1
- package/lib/cjs/src/components/Checkbox/styles.js +0 -2
- package/lib/cjs/src/components/Checkbox/styles.js.map +0 -1
- package/lib/cjs/src/components/Collapse/README.md.js +0 -2
- package/lib/cjs/src/components/Collapse/README.md.js.map +0 -1
- package/lib/cjs/src/components/Collapse/index.js +0 -2
- package/lib/cjs/src/components/Collapse/index.js.map +0 -1
- package/lib/cjs/src/components/Collapse/styles.js +0 -2
- package/lib/cjs/src/components/Collapse/styles.js.map +0 -1
- package/lib/cjs/src/components/DateField/README.md.js +0 -2
- package/lib/cjs/src/components/DateField/README.md.js.map +0 -1
- package/lib/cjs/src/components/DateField/index.js +0 -2
- package/lib/cjs/src/components/DateField/index.js.map +0 -1
- package/lib/cjs/src/components/DateField/styles.js +0 -2
- package/lib/cjs/src/components/DateField/styles.js.map +0 -1
- package/lib/cjs/src/components/Divider.js +0 -2
- package/lib/cjs/src/components/Divider.js.map +0 -1
- package/lib/cjs/src/components/ErrorText/README.md.js +0 -2
- package/lib/cjs/src/components/ErrorText/README.md.js.map +0 -1
- package/lib/cjs/src/components/ErrorText/index.js +0 -2
- package/lib/cjs/src/components/ErrorText/index.js.map +0 -1
- package/lib/cjs/src/components/ErrorText/styles.js +0 -2
- package/lib/cjs/src/components/ErrorText/styles.js.map +0 -1
- package/lib/cjs/src/components/Flex.js +0 -2
- package/lib/cjs/src/components/Flex.js.map +0 -1
- package/lib/cjs/src/components/Fontface.js +0 -2
- package/lib/cjs/src/components/Fontface.js.map +0 -1
- package/lib/cjs/src/components/Footer/README.md.js +0 -2
- package/lib/cjs/src/components/Footer/README.md.js.map +0 -1
- package/lib/cjs/src/components/Footer/index.js +0 -2
- package/lib/cjs/src/components/Footer/index.js.map +0 -1
- package/lib/cjs/src/components/Footer/styles.js +0 -2
- package/lib/cjs/src/components/Footer/styles.js.map +0 -1
- package/lib/cjs/src/components/GlobalStyle.js +0 -2
- package/lib/cjs/src/components/GlobalStyle.js.map +0 -1
- package/lib/cjs/src/components/GlobalStyleNoFontFace.js +0 -2
- package/lib/cjs/src/components/GlobalStyleNoFontFace.js.map +0 -1
- package/lib/cjs/src/components/Header/README.md.js +0 -2
- package/lib/cjs/src/components/Header/README.md.js.map +0 -1
- package/lib/cjs/src/components/Header/index.js +0 -2
- package/lib/cjs/src/components/Header/index.js.map +0 -1
- package/lib/cjs/src/components/Header/styles.js +0 -2
- package/lib/cjs/src/components/Header/styles.js.map +0 -1
- package/lib/cjs/src/components/Heading/README.md.js +0 -2
- package/lib/cjs/src/components/Heading/README.md.js.map +0 -1
- package/lib/cjs/src/components/Heading/index.js +0 -2
- package/lib/cjs/src/components/Heading/index.js.map +0 -1
- package/lib/cjs/src/components/Heading/styles.js +0 -2
- package/lib/cjs/src/components/Heading/styles.js.map +0 -1
- package/lib/cjs/src/components/Icon/README.md.js +0 -2
- package/lib/cjs/src/components/Icon/README.md.js.map +0 -1
- package/lib/cjs/src/components/Icon/iconList.js +0 -2
- package/lib/cjs/src/components/Icon/iconList.js.map +0 -1
- package/lib/cjs/src/components/Icon/index.js +0 -2
- package/lib/cjs/src/components/Icon/index.js.map +0 -1
- package/lib/cjs/src/components/Icon/styles.js +0 -2
- package/lib/cjs/src/components/Icon/styles.js.map +0 -1
- package/lib/cjs/src/components/IconFa/README.md.js +0 -2
- package/lib/cjs/src/components/IconFa/README.md.js.map +0 -1
- package/lib/cjs/src/components/IconFa/index.js +0 -2
- package/lib/cjs/src/components/IconFa/index.js.map +0 -1
- package/lib/cjs/src/components/IconFa/styles.js +0 -2
- package/lib/cjs/src/components/IconFa/styles.js.map +0 -1
- package/lib/cjs/src/components/InfoBox/README.md.js +0 -2
- package/lib/cjs/src/components/InfoBox/README.md.js.map +0 -1
- package/lib/cjs/src/components/InfoBox/index.js +0 -2
- package/lib/cjs/src/components/InfoBox/index.js.map +0 -1
- package/lib/cjs/src/components/InfoBox/styles.js +0 -2
- package/lib/cjs/src/components/InfoBox/styles.js.map +0 -1
- package/lib/cjs/src/components/LabelWrapper/index.js +0 -2
- package/lib/cjs/src/components/LabelWrapper/index.js.map +0 -1
- package/lib/cjs/src/components/LabelWrapper/styles.js +0 -2
- package/lib/cjs/src/components/LabelWrapper/styles.js.map +0 -1
- package/lib/cjs/src/components/LegendWrapper/README.md.js +0 -2
- package/lib/cjs/src/components/LegendWrapper/README.md.js.map +0 -1
- package/lib/cjs/src/components/LegendWrapper/index.js +0 -2
- package/lib/cjs/src/components/LegendWrapper/index.js.map +0 -1
- package/lib/cjs/src/components/LegendWrapper/styles.js +0 -2
- package/lib/cjs/src/components/LegendWrapper/styles.js.map +0 -1
- package/lib/cjs/src/components/Link/README.md.js +0 -2
- package/lib/cjs/src/components/Link/README.md.js.map +0 -1
- package/lib/cjs/src/components/Link/index.js +0 -2
- package/lib/cjs/src/components/Link/index.js.map +0 -1
- package/lib/cjs/src/components/Link/styles.js +0 -2
- package/lib/cjs/src/components/Link/styles.js.map +0 -1
- package/lib/cjs/src/components/Loader/README.md.js +0 -2
- package/lib/cjs/src/components/Loader/README.md.js.map +0 -1
- package/lib/cjs/src/components/Loader/index.js +0 -2
- package/lib/cjs/src/components/Loader/index.js.map +0 -1
- package/lib/cjs/src/components/Loader/styles.js +0 -2
- package/lib/cjs/src/components/Loader/styles.js.map +0 -1
- package/lib/cjs/src/components/Modal/README.md.js +0 -2
- package/lib/cjs/src/components/Modal/README.md.js.map +0 -1
- package/lib/cjs/src/components/Modal/index.js +0 -2
- package/lib/cjs/src/components/Modal/index.js.map +0 -1
- package/lib/cjs/src/components/Modal/styles.js +0 -2
- package/lib/cjs/src/components/Modal/styles.js.map +0 -1
- package/lib/cjs/src/components/Pagination/README.md.js +0 -2
- package/lib/cjs/src/components/Pagination/README.md.js.map +0 -1
- package/lib/cjs/src/components/Pagination/index.js +0 -2
- package/lib/cjs/src/components/Pagination/index.js.map +0 -1
- package/lib/cjs/src/components/Pagination/styles.js +0 -2
- package/lib/cjs/src/components/Pagination/styles.js.map +0 -1
- package/lib/cjs/src/components/PopOver/README.md.js +0 -2
- package/lib/cjs/src/components/PopOver/README.md.js.map +0 -1
- package/lib/cjs/src/components/PopOver/index.js +0 -2
- package/lib/cjs/src/components/PopOver/index.js.map +0 -1
- package/lib/cjs/src/components/PopOver/styles.js +0 -2
- package/lib/cjs/src/components/PopOver/styles.js.map +0 -1
- package/lib/cjs/src/components/ProgressBar/README.md.js +0 -2
- package/lib/cjs/src/components/ProgressBar/README.md.js.map +0 -1
- package/lib/cjs/src/components/ProgressBar/index.js +0 -2
- package/lib/cjs/src/components/ProgressBar/index.js.map +0 -1
- package/lib/cjs/src/components/ProgressBar/styles.js +0 -2
- package/lib/cjs/src/components/ProgressBar/styles.js.map +0 -1
- package/lib/cjs/src/components/Radio/README.md.js +0 -2
- package/lib/cjs/src/components/Radio/README.md.js.map +0 -1
- package/lib/cjs/src/components/Radio/index.js +0 -2
- package/lib/cjs/src/components/Radio/index.js.map +0 -1
- package/lib/cjs/src/components/Radio/styles.js +0 -2
- package/lib/cjs/src/components/Radio/styles.js.map +0 -1
- package/lib/cjs/src/components/RadioConsent/README.md.js +0 -2
- package/lib/cjs/src/components/RadioConsent/README.md.js.map +0 -1
- package/lib/cjs/src/components/RadioConsent/index.js +0 -2
- package/lib/cjs/src/components/RadioConsent/index.js.map +0 -1
- package/lib/cjs/src/components/RadioConsent/styles.js +0 -2
- package/lib/cjs/src/components/RadioConsent/styles.js.map +0 -1
- package/lib/cjs/src/components/Select/README.md.js +0 -2
- package/lib/cjs/src/components/Select/README.md.js.map +0 -1
- package/lib/cjs/src/components/Select/index.js +0 -2
- package/lib/cjs/src/components/Select/index.js.map +0 -1
- package/lib/cjs/src/components/Select/styles.js +0 -2
- package/lib/cjs/src/components/Select/styles.js.map +0 -1
- package/lib/cjs/src/components/Spacing/index.js +0 -2
- package/lib/cjs/src/components/Spacing/index.js.map +0 -1
- package/lib/cjs/src/components/Step/README.md.js +0 -2
- package/lib/cjs/src/components/Step/README.md.js.map +0 -1
- package/lib/cjs/src/components/Step/index.js +0 -2
- package/lib/cjs/src/components/Step/index.js.map +0 -1
- package/lib/cjs/src/components/Step/styles.js +0 -2
- package/lib/cjs/src/components/Step/styles.js.map +0 -1
- package/lib/cjs/src/components/Text/README.md.js +0 -2
- package/lib/cjs/src/components/Text/README.md.js.map +0 -1
- package/lib/cjs/src/components/Text/index.js +0 -2
- package/lib/cjs/src/components/Text/index.js.map +0 -1
- package/lib/cjs/src/components/Text/styles.js +0 -2
- package/lib/cjs/src/components/Text/styles.js.map +0 -1
- package/lib/cjs/src/components/TextAreaField/README.md.js +0 -2
- package/lib/cjs/src/components/TextAreaField/README.md.js.map +0 -1
- package/lib/cjs/src/components/TextAreaField/index.js +0 -2
- package/lib/cjs/src/components/TextAreaField/index.js.map +0 -1
- package/lib/cjs/src/components/TextAreaField/styles.js +0 -2
- package/lib/cjs/src/components/TextAreaField/styles.js.map +0 -1
- package/lib/cjs/src/components/TextField/README.md.js +0 -2
- package/lib/cjs/src/components/TextField/README.md.js.map +0 -1
- package/lib/cjs/src/components/TextField/index.js +0 -2
- package/lib/cjs/src/components/TextField/index.js.map +0 -1
- package/lib/cjs/src/components/TextField/styles.js +0 -2
- package/lib/cjs/src/components/TextField/styles.js.map +0 -1
- package/lib/cjs/src/components/Totaliser/README.md.js +0 -2
- package/lib/cjs/src/components/Totaliser/README.md.js.map +0 -1
- package/lib/cjs/src/components/Totaliser/index.js +0 -2
- package/lib/cjs/src/components/Totaliser/index.js.map +0 -1
- package/lib/cjs/src/components/Totaliser/styles.js +0 -2
- package/lib/cjs/src/components/Totaliser/styles.js.map +0 -1
- package/lib/cjs/src/components/UserBlock/README.md.js +0 -2
- package/lib/cjs/src/components/UserBlock/README.md.js.map +0 -1
- package/lib/cjs/src/components/UserBlock/index.js +0 -2
- package/lib/cjs/src/components/UserBlock/index.js.map +0 -1
- package/lib/cjs/src/components/UserBlock/styles.js +0 -2
- package/lib/cjs/src/components/UserBlock/styles.js.map +0 -1
- package/lib/cjs/src/components/index.js +0 -2
- package/lib/cjs/src/components/index.js.map +0 -1
- package/lib/cjs/src/hooks/useEffectBrowser.js +0 -2
- package/lib/cjs/src/hooks/useEffectBrowser.js.map +0 -1
- package/lib/cjs/src/hooks/useKey.js +0 -2
- package/lib/cjs/src/hooks/useKey.js.map +0 -1
- package/lib/cjs/src/hooks/useLayoutEffectBrowser.js +0 -2
- package/lib/cjs/src/hooks/useLayoutEffectBrowser.js.map +0 -1
- package/lib/cjs/src/hooks/useScrollPosition.js +0 -2
- package/lib/cjs/src/hooks/useScrollPosition.js.map +0 -1
- package/lib/cjs/src/themes/bowelbabe.js +0 -2
- package/lib/cjs/src/themes/bowelbabe.js.map +0 -1
- package/lib/cjs/src/themes/cruk.js +0 -2
- package/lib/cjs/src/themes/cruk.js.map +0 -1
- package/lib/cjs/src/themes/su2c.js +0 -2
- package/lib/cjs/src/themes/su2c.js.map +0 -1
- package/lib/cjs/src/utils/Helper.js +0 -2
- package/lib/cjs/src/utils/Helper.js.map +0 -1
- package/lib/cjs/src/utils/debounce.js +0 -2
- package/lib/cjs/src/utils/debounce.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sources":["../../../../../node_modules/detect-node-es/esm/node.js"],"sourcesContent":["// Only Node.JS has a process variable that is of [[Class]] process\nexport const isNode = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';\n"],"names":["Object","prototype","toString","call","process"],"mappings":"aACsBA,OAAOC,UAAUC,SAASC,KAAwB,oBAAZC,QAA0BA,QAAU"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.FOCUS_ALLOW="data-no-focus-lock",exports.FOCUS_AUTO="data-autofocus-inside",exports.FOCUS_DISABLED="data-focus-lock-disabled",exports.FOCUS_GROUP="data-focus-lock",exports.FOCUS_NO_AUTOFOCUS="data-no-autofocus";
|
|
2
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../../../node_modules/focus-lock/dist/es2015/constants.js"],"sourcesContent":["/**\n * defines a focus group\n */\nexport var FOCUS_GROUP = 'data-focus-lock';\n/**\n * disables element discovery inside a group marked by key\n */\nexport var FOCUS_DISABLED = 'data-focus-lock-disabled';\n/**\n * allows uncontrolled focus within the marked area, effectively disabling focus lock for it's content\n */\nexport var FOCUS_ALLOW = 'data-no-focus-lock';\n/**\n * instructs autofocus engine to pick default autofocus inside a given node\n * can be set on the element or container\n */\nexport var FOCUS_AUTO = 'data-autofocus-inside';\n/**\n * instructs autofocus to ignore elements within a given node\n * can be set on the element or container\n */\nexport var FOCUS_NO_AUTOFOCUS = 'data-no-autofocus';\n"],"names":[],"mappings":"wFAWyB,wCAKD,+CATI,+CAJH,6CAkBO"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils/DOMutils.js"),t=require("./utils/all-affected.js"),r=require("./utils/array.js"),u=require("./utils/getActiveElement.js");exports.focusInside=function(n,s){return void 0===s&&(s=u.getActiveElement(r.getFirst(n).ownerDocument)),!(!s||s.dataset&&s.dataset.focusGuard)&&t.getAllAffectedNodes(n).some((function(t){return e.contains(t,s)||function(e,t){return Boolean(r.toArray(e.querySelectorAll("iframe")).some((function(e){return function(e,t){return e===t}(e,t)})))}(t,s)}))};
|
|
2
|
-
//# sourceMappingURL=focusInside.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focusInside.js","sources":["../../../../../../node_modules/focus-lock/dist/es2015/focusInside.js"],"sourcesContent":["import { contains } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { getFirst, toArray } from './utils/array';\nimport { getActiveElement } from './utils/getActiveElement';\nvar focusInFrame = function (frame, activeElement) { return frame === activeElement; };\nvar focusInsideIframe = function (topNode, activeElement) {\n return Boolean(toArray(topNode.querySelectorAll('iframe')).some(function (node) { return focusInFrame(node, activeElement); }));\n};\n/**\n * @returns {Boolean} true, if the current focus is inside given node or nodes\n */\nexport var focusInside = function (topNode, activeElement) {\n // const activeElement = document && getActiveElement();\n if (activeElement === void 0) { activeElement = getActiveElement(getFirst(topNode).ownerDocument); }\n if (!activeElement || (activeElement.dataset && activeElement.dataset.focusGuard)) {\n return false;\n }\n return getAllAffectedNodes(topNode).some(function (node) {\n return contains(node, activeElement) || focusInsideIframe(node, activeElement);\n });\n};\n"],"names":["topNode","activeElement","getActiveElement","getFirst","ownerDocument","dataset","focusGuard","getAllAffectedNodes","some","node","contains","Boolean","toArray","querySelectorAll","frame","focusInFrame","focusInsideIframe"],"mappings":"yOAWyB,SAAUA,EAASC,GAGxC,YADsB,IAAlBA,IAA4BA,EAAgBC,mBAAiBC,EAAAA,SAASH,GAASI,mBAC9EH,GAAkBA,EAAcI,SAAWJ,EAAcI,QAAQC,aAG/DC,EAAmBA,oBAACP,GAASQ,MAAK,SAAUC,GAC/C,OAAOC,EAAAA,SAASD,EAAMR,IAbN,SAAUD,EAASC,GACvC,OAAOU,QAAQC,EAAAA,QAAQZ,EAAQa,iBAAiB,WAAWL,MAAK,SAAUC,GAAQ,OAFnE,SAAUK,EAAOb,GAAiB,OAAOa,IAAUb,EAEuBc,CAAaN,EAAMR,EAAiB,IACjI,CAWgDe,CAAkBP,EAAMR,EACxE,GACA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./constants.js"),t=require("./utils/DOMutils.js"),r=require("./utils/array.js"),s=require("./utils/getActiveElement.js");exports.focusIsHidden=function(u){void 0===u&&(u=document);var i=s.getActiveElement(u);return!!i&&r.toArray(u.querySelectorAll("[".concat(e.FOCUS_ALLOW,"]"))).some((function(e){return t.contains(e,i)}))};
|
|
2
|
-
//# sourceMappingURL=focusIsHidden.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focusIsHidden.js","sources":["../../../../../../node_modules/focus-lock/dist/es2015/focusIsHidden.js"],"sourcesContent":["import { FOCUS_ALLOW } from './constants';\nimport { contains } from './utils/DOMutils';\nimport { toArray } from './utils/array';\nimport { getActiveElement } from './utils/getActiveElement';\n/**\n * focus is hidden FROM the focus-lock\n * ie contained inside a node focus-lock shall ignore\n * @returns {boolean} focus is currently is in \"allow\" area\n */\nexport var focusIsHidden = function (inDocument) {\n if (inDocument === void 0) { inDocument = document; }\n var activeElement = getActiveElement(inDocument);\n if (!activeElement) {\n return false;\n }\n // this does not support setting FOCUS_ALLOW within shadow dom\n return toArray(inDocument.querySelectorAll(\"[\".concat(FOCUS_ALLOW, \"]\"))).some(function (node) { return contains(node, activeElement); });\n};\n"],"names":["inDocument","document","activeElement","getActiveElement","toArray","querySelectorAll","concat","FOCUS_ALLOW","some","node","contains"],"mappings":"kOAS2B,SAAUA,QACd,IAAfA,IAAyBA,EAAaC,UAC1C,IAAIC,EAAgBC,mBAAiBH,GACrC,QAAKE,GAIEE,EAAAA,QAAQJ,EAAWK,iBAAiB,IAAIC,OAAOC,EAAAA,YAAa,OAAOC,MAAK,SAAUC,GAAQ,OAAOC,EAAAA,SAASD,EAAMP,EAAe,GAC1I"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./solver.js"),t=require("./utils/DOMutils.js"),r=require("./utils/all-affected.js"),o=require("./utils/array.js"),n=require("./utils/auto-focus.js"),u=require("./utils/getActiveElement.js"),i=require("./utils/is.js"),s=require("./utils/parenting.js");exports.getFocusMerge=function(a,l){var c=u.getActiveElement(o.asArray(a).length>0?document:o.getFirst(a).ownerDocument),f=r.getAllAffectedNodes(a).filter(i.isNotAGuard),d=s.getTopCommonParent(c||a,a,f),g=new Map,v=t.getAllTabbableNodes(f,g),b=t.getTabbableNodes(f,g).filter((function(e){var t=e.node;return i.isNotAGuard(t)}));if(b[0]||(b=v)[0]){var p,A,m,j=t.getAllTabbableNodes([d],g).map((function(e){return e.node})),q=(p=j,A=b,m=new Map,A.forEach((function(e){return m.set(e.node,e)})),p.map((function(e){return m.get(e)})).filter(i.isDefined)),N=q.map((function(e){return e.node})),w=e.newFocus(N,j,c,l);if(w===e.NEW_FOCUS){var M=n.pickAutofocus(v,N,s.allParentAutofocusables(f,g));return M?{node:M}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===w?w:q[w]}};
|
|
2
|
-
//# sourceMappingURL=focusMerge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focusMerge.js","sources":["../../../../../../node_modules/focus-lock/dist/es2015/focusMerge.js"],"sourcesContent":["import { NEW_FOCUS, newFocus } from './solver';\nimport { getAllTabbableNodes, getTabbableNodes } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { asArray, getFirst } from './utils/array';\nimport { pickAutofocus } from './utils/auto-focus';\nimport { getActiveElement } from './utils/getActiveElement';\nimport { isDefined, isNotAGuard } from './utils/is';\nimport { allParentAutofocusables, getTopCommonParent } from './utils/parenting';\nvar reorderNodes = function (srcNodes, dstNodes) {\n var remap = new Map();\n // no Set(dstNodes) for IE11 :(\n dstNodes.forEach(function (entity) { return remap.set(entity.node, entity); });\n // remap to dstNodes\n return srcNodes.map(function (node) { return remap.get(node); }).filter(isDefined);\n};\n/**\n * given top node(s) and the last active element return the element to be focused next\n * @param topNode\n * @param lastNode\n */\nexport var getFocusMerge = function (topNode, lastNode) {\n var activeElement = getActiveElement(asArray(topNode).length > 0 ? document : getFirst(topNode).ownerDocument);\n var entries = getAllAffectedNodes(topNode).filter(isNotAGuard);\n var commonParent = getTopCommonParent(activeElement || topNode, topNode, entries);\n var visibilityCache = new Map();\n var anyFocusable = getAllTabbableNodes(entries, visibilityCache);\n var innerElements = getTabbableNodes(entries, visibilityCache).filter(function (_a) {\n var node = _a.node;\n return isNotAGuard(node);\n });\n if (!innerElements[0]) {\n innerElements = anyFocusable;\n if (!innerElements[0]) {\n return undefined;\n }\n }\n var outerNodes = getAllTabbableNodes([commonParent], visibilityCache).map(function (_a) {\n var node = _a.node;\n return node;\n });\n var orderedInnerElements = reorderNodes(outerNodes, innerElements);\n var innerNodes = orderedInnerElements.map(function (_a) {\n var node = _a.node;\n return node;\n });\n var newId = newFocus(innerNodes, outerNodes, activeElement, lastNode);\n if (newId === NEW_FOCUS) {\n var focusNode = pickAutofocus(anyFocusable, innerNodes, allParentAutofocusables(entries, visibilityCache));\n if (focusNode) {\n return { node: focusNode };\n }\n else {\n console.warn('focus-lock: cannot find any node to move focus into');\n return undefined;\n }\n }\n if (newId === undefined) {\n return newId;\n }\n return orderedInnerElements[newId];\n};\n"],"names":["topNode","lastNode","activeElement","getActiveElement","asArray","length","document","getFirst","ownerDocument","entries","getAllAffectedNodes","filter","isNotAGuard","commonParent","getTopCommonParent","visibilityCache","Map","anyFocusable","getAllTabbableNodes","innerElements","getTabbableNodes","_a","node","srcNodes","dstNodes","remap","outerNodes","map","orderedInnerElements","forEach","entity","set","get","isDefined","innerNodes","newId","newFocus","NEW_FOCUS","focusNode","pickAutofocus","allParentAutofocusables","console","warn","undefined"],"mappings":"oWAoB2B,SAAUA,EAASC,GAC1C,IAAIC,EAAgBC,EAAAA,iBAAiBC,EAAOA,QAACJ,GAASK,OAAS,EAAIC,SAAWC,EAAQA,SAACP,GAASQ,eAC5FC,EAAUC,EAAAA,oBAAoBV,GAASW,OAAOC,EAAWA,aACzDC,EAAeC,EAAAA,mBAAmBZ,GAAiBF,EAASA,EAASS,GACrEM,EAAkB,IAAIC,IACtBC,EAAeC,EAAAA,oBAAoBT,EAASM,GAC5CI,EAAgBC,EAAAA,iBAAiBX,EAASM,GAAiBJ,QAAO,SAAUU,GAC5E,IAAIC,EAAOD,EAAGC,KACd,OAAOV,EAAAA,YAAYU,EAC3B,IACI,GAAKH,EAAc,KACfA,EAAgBF,GACG,GAFvB,CAMA,IA5ByBM,EAAUC,EAC/BC,EA2BAC,EAAaR,EAAmBA,oBAAC,CAACL,GAAeE,GAAiBY,KAAI,SAAUN,GAEhF,OADWA,EAAGC,IAEtB,IACQM,GAhCqBL,EAgCeG,EAhCLF,EAgCiBL,EA/BhDM,EAAQ,IAAIT,IAEhBQ,EAASK,SAAQ,SAAUC,GAAU,OAAOL,EAAMM,IAAID,EAAOR,KAAMQ,EAAU,IAEtEP,EAASI,KAAI,SAAUL,GAAQ,OAAOG,EAAMO,IAAIV,EAAQ,IAAEX,OAAOsB,EAASA,YA4B7EC,EAAaN,EAAqBD,KAAI,SAAUN,GAEhD,OADWA,EAAGC,IAEtB,IACQa,EAAQC,EAAAA,SAASF,EAAYR,EAAYxB,EAAeD,GAC5D,GAAIkC,IAAUE,EAAAA,UAAW,CACrB,IAAIC,EAAYC,EAAaA,cAACtB,EAAciB,EAAYM,EAAAA,wBAAwB/B,EAASM,IACzF,OAAIuB,EACO,CAAEhB,KAAMgB,QAGfG,QAAQC,KAAK,sDAGpB,CACD,YAAcC,IAAVR,EACOA,EAEJP,EAAqBO,EAxB3B,CAyBL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils/DOMutils.js"),r=require("./utils/all-affected.js"),t=require("./utils/is.js"),n=require("./utils/parenting.js");exports.getFocusabledIn=function(i){var u=r.getAllAffectedNodes(i).filter(t.isNotAGuard),o=n.getTopCommonParent(i,i,u),s=new Map,a=e.getTabbableNodes([o],s,!0),d=e.getTabbableNodes(u,s).filter((function(e){var r=e.node;return t.isNotAGuard(r)})).map((function(e){return e.node}));return a.map((function(e){var r=e.node;return{node:r,index:e.index,lockItem:d.indexOf(r)>=0,guard:t.isGuard(r)}}))};
|
|
2
|
-
//# sourceMappingURL=focusables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focusables.js","sources":["../../../../../../node_modules/focus-lock/dist/es2015/focusables.js"],"sourcesContent":["import { getTabbableNodes } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { isGuard, isNotAGuard } from './utils/is';\nimport { getTopCommonParent } from './utils/parenting';\n/**\n * return list of focusable elements inside a given top node\n * @deprecated use {@link getFocusableIn}. Yep, there is typo in the function name\n */\nexport var getFocusabledIn = function (topNode) {\n var entries = getAllAffectedNodes(topNode).filter(isNotAGuard);\n var commonParent = getTopCommonParent(topNode, topNode, entries);\n var visibilityCache = new Map();\n var outerNodes = getTabbableNodes([commonParent], visibilityCache, true);\n var innerElements = getTabbableNodes(entries, visibilityCache)\n .filter(function (_a) {\n var node = _a.node;\n return isNotAGuard(node);\n })\n .map(function (_a) {\n var node = _a.node;\n return node;\n });\n return outerNodes.map(function (_a) {\n var node = _a.node, index = _a.index;\n return ({\n node: node,\n index: index,\n lockItem: innerElements.indexOf(node) >= 0,\n guard: isGuard(node),\n });\n });\n};\n/**\n * return list of focusable elements inside a given top node\n */\nexport var getFocusableIn = getFocusabledIn;\n"],"names":["topNode","entries","getAllAffectedNodes","filter","isNotAGuard","commonParent","getTopCommonParent","visibilityCache","Map","outerNodes","getTabbableNodes","innerElements","_a","node","map","index","lockItem","indexOf","guard","isGuard"],"mappings":"mOAQ6B,SAAUA,GACnC,IAAIC,EAAUC,EAAAA,oBAAoBF,GAASG,OAAOC,EAAWA,aACzDC,EAAeC,EAAkBA,mBAACN,EAASA,EAASC,GACpDM,EAAkB,IAAIC,IACtBC,EAAaC,EAAAA,iBAAiB,CAACL,GAAeE,GAAiB,GAC/DI,EAAgBD,EAAAA,iBAAiBT,EAASM,GACzCJ,QAAO,SAAUS,GAClB,IAAIC,EAAOD,EAAGC,KACd,OAAOT,EAAAA,YAAYS,EAC3B,IACSC,KAAI,SAAUF,GAEf,OADWA,EAAGC,IAEtB,IACI,OAAOJ,EAAWK,KAAI,SAAUF,GAC5B,IAAIC,EAAOD,EAAGC,KACd,MAAQ,CACJA,KAAMA,EACNE,MAHwBH,EAAGG,MAI3BC,SAAUL,EAAcM,QAAQJ,IAAS,EACzCK,MAAOC,EAAOA,QAACN,GAE3B,GACA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./focusMerge.js"),o=function(e,o){"focus"in e&&e.focus(o),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},t=0,n=!1;exports.focusOn=o,exports.setFocus=function(c,s,u){void 0===u&&(u={});var i=e.getFocusMerge(c,s);if(!n&&i){if(t>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),n=!0,void setTimeout((function(){n=!1}),1);t++,o(i.node,u.focusOptions),t--}};
|
|
2
|
-
//# sourceMappingURL=setFocus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setFocus.js","sources":["../../../../../../node_modules/focus-lock/dist/es2015/setFocus.js"],"sourcesContent":["import { getFocusMerge } from './focusMerge';\nexport var focusOn = function (target, focusOptions) {\n if ('focus' in target) {\n target.focus(focusOptions);\n }\n if ('contentWindow' in target && target.contentWindow) {\n target.contentWindow.focus();\n }\n};\nvar guardCount = 0;\nvar lockDisabled = false;\n/**\n * Sets focus at a given node. The last focused element will help to determine which element(first or last) should be focused.\n * HTML markers (see {@link import('./constants').FOCUS_AUTO} constants) can control autofocus\n * @param topNode\n * @param lastNode\n * @param options\n */\nexport var setFocus = function (topNode, lastNode, options) {\n if (options === void 0) { options = {}; }\n var focusable = getFocusMerge(topNode, lastNode);\n if (lockDisabled) {\n return;\n }\n if (focusable) {\n if (guardCount > 2) {\n // tslint:disable-next-line:no-console\n console.error('FocusLock: focus-fighting detected. Only one focus management system could be active. ' +\n 'See https://github.com/theKashey/focus-lock/#focus-fighting');\n lockDisabled = true;\n setTimeout(function () {\n lockDisabled = false;\n }, 1);\n return;\n }\n guardCount++;\n focusOn(focusable.node, options.focusOptions);\n guardCount--;\n }\n};\n"],"names":["focusOn","target","focusOptions","focus","contentWindow","guardCount","lockDisabled","topNode","lastNode","options","focusable","getFocusMerge","console","error","setTimeout","node"],"mappings":"qGACWA,EAAU,SAAUC,EAAQC,GAC/B,UAAWD,GACXA,EAAOE,MAAMD,GAEb,kBAAmBD,GAAUA,EAAOG,eACpCH,EAAOG,cAAcD,OAE7B,EACIE,EAAa,EACbC,GAAe,qCAQG,SAAUC,EAASC,EAAUC,QAC/B,IAAZA,IAAsBA,EAAU,CAAE,GACtC,IAAIC,EAAYC,EAAAA,cAAcJ,EAASC,GACvC,IAAIF,GAGAI,EAAW,CACX,GAAIL,EAAa,EAQb,OANAO,QAAQC,MAAM,qJAEdP,GAAe,OACfQ,YAAW,WACPR,GAAe,CAClB,GAAE,GAGPD,IACAL,EAAQU,EAAUK,KAAMN,EAAQP,cAChCG,GACH,CACL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils/correctFocus.js"),i=require("./utils/firstFocus.js"),s=require("./utils/is.js"),r="NEW_FOCUS";exports.NEW_FOCUS=r,exports.newFocus=function(t,o,u,a){var d=t.length,c=t[0],n=t[d-1],f=s.isGuard(u);if(!(u&&t.indexOf(u)>=0)){var x=void 0!==u?o.indexOf(u):-1,O=a?o.indexOf(a):x,l=a?t.indexOf(a):-1,b=x-O,v=o.indexOf(c),F=o.indexOf(n),p=e.correctNodes(o),h=(void 0!==u?p.indexOf(u):-1)-(a?p.indexOf(a):x),M=i.pickFocusable(t,0),j=i.pickFocusable(t,d-1);return-1===x||-1===l?r:!b&&l>=0?l:x<=v&&f&&Math.abs(b)>1?j:x>=F&&f&&Math.abs(b)>1?M:b&&Math.abs(h)>1?l:x<=v?j:x>F?M:b?Math.abs(b)>1?l:(d+l+b)%d:void 0}};
|
|
2
|
-
//# sourceMappingURL=solver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solver.js","sources":["../../../../../../node_modules/focus-lock/dist/es2015/solver.js"],"sourcesContent":["import { correctNodes } from './utils/correctFocus';\nimport { pickFocusable } from './utils/firstFocus';\nimport { isGuard } from './utils/is';\nexport var NEW_FOCUS = 'NEW_FOCUS';\n/**\n * Main solver for the \"find next focus\" question\n * @param innerNodes\n * @param outerNodes\n * @param activeElement\n * @param lastNode\n * @returns {number|string|undefined|*}\n */\nexport var newFocus = function (innerNodes, outerNodes, activeElement, lastNode) {\n var cnt = innerNodes.length;\n var firstFocus = innerNodes[0];\n var lastFocus = innerNodes[cnt - 1];\n var isOnGuard = isGuard(activeElement);\n // focus is inside\n if (activeElement && innerNodes.indexOf(activeElement) >= 0) {\n return undefined;\n }\n var activeIndex = activeElement !== undefined ? outerNodes.indexOf(activeElement) : -1;\n var lastIndex = lastNode ? outerNodes.indexOf(lastNode) : activeIndex;\n var lastNodeInside = lastNode ? innerNodes.indexOf(lastNode) : -1;\n var indexDiff = activeIndex - lastIndex;\n var firstNodeIndex = outerNodes.indexOf(firstFocus);\n var lastNodeIndex = outerNodes.indexOf(lastFocus);\n var correctedNodes = correctNodes(outerNodes);\n var correctedIndex = activeElement !== undefined ? correctedNodes.indexOf(activeElement) : -1;\n var correctedIndexDiff = correctedIndex - (lastNode ? correctedNodes.indexOf(lastNode) : activeIndex);\n var returnFirstNode = pickFocusable(innerNodes, 0);\n var returnLastNode = pickFocusable(innerNodes, cnt - 1);\n // new focus\n if (activeIndex === -1 || lastNodeInside === -1) {\n return NEW_FOCUS;\n }\n // old focus\n if (!indexDiff && lastNodeInside >= 0) {\n return lastNodeInside;\n }\n // first element\n if (activeIndex <= firstNodeIndex && isOnGuard && Math.abs(indexDiff) > 1) {\n return returnLastNode;\n }\n // last element\n if (activeIndex >= lastNodeIndex && isOnGuard && Math.abs(indexDiff) > 1) {\n return returnFirstNode;\n }\n // jump out, but not on the guard\n if (indexDiff && Math.abs(correctedIndexDiff) > 1) {\n return lastNodeInside;\n }\n // focus above lock\n if (activeIndex <= firstNodeIndex) {\n return returnLastNode;\n }\n // focus below lock\n if (activeIndex > lastNodeIndex) {\n return returnFirstNode;\n }\n // index is inside tab order, but outside Lock\n if (indexDiff) {\n if (Math.abs(indexDiff) > 1) {\n return lastNodeInside;\n }\n return (cnt + lastNodeInside + indexDiff) % cnt;\n }\n // do nothing\n return undefined;\n};\n"],"names":["NEW_FOCUS","innerNodes","outerNodes","activeElement","lastNode","cnt","length","firstFocus","lastFocus","isOnGuard","isGuard","indexOf","activeIndex","undefined","lastIndex","lastNodeInside","indexDiff","firstNodeIndex","lastNodeIndex","correctedNodes","correctNodes","correctedIndexDiff","returnFirstNode","pickFocusable","returnLastNode","Math","abs"],"mappings":"2KAGWA,EAAY,iDASD,SAAUC,EAAYC,EAAYC,EAAeC,GACnE,IAAIC,EAAMJ,EAAWK,OACjBC,EAAaN,EAAW,GACxBO,EAAYP,EAAWI,EAAM,GAC7BI,EAAYC,UAAQP,GAExB,KAAIA,GAAiBF,EAAWU,QAAQR,IAAkB,GAA1D,CAGA,IAAIS,OAAgCC,IAAlBV,EAA8BD,EAAWS,QAAQR,IAAkB,EACjFW,EAAYV,EAAWF,EAAWS,QAAQP,GAAYQ,EACtDG,EAAiBX,EAAWH,EAAWU,QAAQP,IAAa,EAC5DY,EAAYJ,EAAcE,EAC1BG,EAAiBf,EAAWS,QAAQJ,GACpCW,EAAgBhB,EAAWS,QAAQH,GACnCW,EAAiBC,eAAalB,GAE9BmB,QADmCR,IAAlBV,EAA8BgB,EAAeR,QAAQR,IAAkB,IACjDC,EAAWe,EAAeR,QAAQP,GAAYQ,GACrFU,EAAkBC,EAAAA,cAActB,EAAY,GAC5CuB,EAAiBD,EAAaA,cAACtB,EAAYI,EAAM,GAErD,OAAqB,IAAjBO,IAA0C,IAApBG,EACff,GAGNgB,GAAaD,GAAkB,EACzBA,EAGPH,GAAeK,GAAkBR,GAAagB,KAAKC,IAAIV,GAAa,EAC7DQ,EAGPZ,GAAeM,GAAiBT,GAAagB,KAAKC,IAAIV,GAAa,EAC5DM,EAGPN,GAAaS,KAAKC,IAAIL,GAAsB,EACrCN,EAGPH,GAAeK,EACRO,EAGPZ,EAAcM,EACPI,EAGPN,EACIS,KAAKC,IAAIV,GAAa,EACfD,GAEHV,EAAMU,EAAiBC,GAAaX,OAJhD,CAzCC,CAiDL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./array.js"),t=require("./is.js"),r=require("./tabOrder.js"),o=require("./tabUtils.js"),n=function(r,o){return e.toArray(r).filter((function(e){return t.isVisibleCached(o,e)})).filter((function(e){return t.notHiddenInput(e)}))},u=function(t,r){return t.shadowRoot?u(t.shadowRoot,r):!(void 0===Object.getPrototypeOf(t).contains||!Object.getPrototypeOf(t).contains.call(t,r))||e.toArray(t.children).some((function(e){var t;if(e instanceof HTMLIFrameElement){var o=null===(t=e.contentDocument)||void 0===t?void 0:t.body;return!!o&&u(o,r)}return u(e,r)}))};exports.contains=u,exports.filterAutoFocusable=function(r,o){return void 0===o&&(o=new Map),e.toArray(r).filter((function(e){return t.isAutoFocusAllowedCached(o,e)}))},exports.filterFocusable=n,exports.getAllTabbableNodes=function(e,t){return r.orderByTabIndex(n(o.getFocusables(e),t),!1)},exports.getTabbableNodes=function(e,t,u){return r.orderByTabIndex(n(o.getFocusables(e,u),t),!0,u)},exports.parentAutofocusables=function(e,t){return n(o.getParentAutofocusables(e),t)};
|
|
2
|
-
//# sourceMappingURL=DOMutils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DOMutils.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/DOMutils.js"],"sourcesContent":["import { toArray } from './array';\nimport { isAutoFocusAllowedCached, isVisibleCached, notHiddenInput } from './is';\nimport { orderByTabIndex } from './tabOrder';\nimport { getFocusables, getParentAutofocusables } from './tabUtils';\n/**\n * given list of focusable elements keeps the ones user can interact with\n * @param nodes\n * @param visibilityCache\n */\nexport var filterFocusable = function (nodes, visibilityCache) {\n return toArray(nodes)\n .filter(function (node) { return isVisibleCached(visibilityCache, node); })\n .filter(function (node) { return notHiddenInput(node); });\n};\nexport var filterAutoFocusable = function (nodes, cache) {\n if (cache === void 0) { cache = new Map(); }\n return toArray(nodes).filter(function (node) { return isAutoFocusAllowedCached(cache, node); });\n};\n/**\n * only tabbable ones\n * (but with guards which would be ignored)\n */\nexport var getTabbableNodes = function (topNodes, visibilityCache, withGuards) {\n return orderByTabIndex(filterFocusable(getFocusables(topNodes, withGuards), visibilityCache), true, withGuards);\n};\n/**\n * actually anything \"focusable\", not only tabbable\n * (without guards, as long as they are not expected to be focused)\n */\nexport var getAllTabbableNodes = function (topNodes, visibilityCache) {\n return orderByTabIndex(filterFocusable(getFocusables(topNodes), visibilityCache), false);\n};\n/**\n * return list of nodes which are expected to be auto-focused\n * @param topNode\n * @param visibilityCache\n */\nexport var parentAutofocusables = function (topNode, visibilityCache) {\n return filterFocusable(getParentAutofocusables(topNode), visibilityCache);\n};\n/*\n * Determines if element is contained in scope, including nested shadow DOMs\n */\nexport var contains = function (scope, element) {\n if (scope.shadowRoot) {\n return contains(scope.shadowRoot, element);\n }\n else {\n if (Object.getPrototypeOf(scope).contains !== undefined &&\n Object.getPrototypeOf(scope).contains.call(scope, element)) {\n return true;\n }\n return toArray(scope.children).some(function (child) {\n var _a;\n if (child instanceof HTMLIFrameElement) {\n var iframeBody = (_a = child.contentDocument) === null || _a === void 0 ? void 0 : _a.body;\n if (iframeBody) {\n return contains(iframeBody, element);\n }\n return false;\n }\n return contains(child, element);\n });\n }\n};\n"],"names":["filterFocusable","nodes","visibilityCache","toArray","filter","node","isVisibleCached","notHiddenInput","contains","scope","element","shadowRoot","undefined","Object","getPrototypeOf","call","children","some","child","_a","HTMLIFrameElement","iframeBody","contentDocument","body","cache","Map","isAutoFocusAllowedCached","topNodes","orderByTabIndex","getFocusables","withGuards","topNode","getParentAutofocusables"],"mappings":"2KASWA,EAAkB,SAAUC,EAAOC,GAC1C,OAAOC,EAAAA,QAAQF,GACVG,QAAO,SAAUC,GAAQ,OAAOC,EAAeA,gBAACJ,EAAiBG,MACjED,QAAO,SAAUC,GAAQ,OAAOE,EAAcA,eAACF,EAAM,GAC9D,EA8BWG,EAAW,SAAUC,EAAOC,GACnC,OAAID,EAAME,WACCH,EAASC,EAAME,WAAYD,UAGYE,IAA1CC,OAAOC,eAAeL,GAAOD,WAC7BK,OAAOC,eAAeL,GAAOD,SAASO,KAAKN,EAAOC,KAG/CP,EAAAA,QAAQM,EAAMO,UAAUC,MAAK,SAAUC,GAC1C,IAAIC,EACJ,GAAID,aAAiBE,kBAAmB,CACpC,IAAIC,EAA8C,QAAhCF,EAAKD,EAAMI,uBAAoC,IAAPH,OAAgB,EAASA,EAAGI,KACtF,QAAIF,GACOb,EAASa,EAAYX,EAGnC,CACD,OAAOF,EAASU,EAAOR,EACnC,GAEA,iDAlDiC,SAAUT,EAAOuB,GAE9C,YADc,IAAVA,IAAoBA,EAAQ,IAAIC,KAC7BtB,UAAQF,GAAOG,QAAO,SAAUC,GAAQ,OAAOqB,EAAAA,yBAAyBF,EAAOnB,EAAQ,GAClG,wDAYiC,SAAUsB,EAAUzB,GACjD,OAAO0B,EAAAA,gBAAgB5B,EAAgB6B,EAAaA,cAACF,GAAWzB,IAAkB,EACtF,2BAT8B,SAAUyB,EAAUzB,EAAiB4B,GAC/D,OAAOF,EAAeA,gBAAC5B,EAAgB6B,EAAAA,cAAcF,EAAUG,GAAa5B,IAAkB,EAAM4B,EACxG,+BAakC,SAAUC,EAAS7B,GACjD,OAAOF,EAAgBgC,EAAuBA,wBAACD,GAAU7B,EAC7D"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../constants.js"),r=require("./array.js"),t=function(e){return e.parentNode?t(e.parentNode):e};exports.getAllAffectedNodes=function(n){return r.asArray(n).filter(Boolean).reduce((function(n,o){var a=o.getAttribute(e.FOCUS_GROUP);return n.push.apply(n,a?function(e){for(var r=new Set,t=e.length,n=0;n<t;n+=1)for(var o=n+1;o<t;o+=1){var a=e[n].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&r.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&r.add(n)}return e.filter((function(e,t){return!r.has(t)}))}(r.toArray(t(o).querySelectorAll("[".concat(e.FOCUS_GROUP,'="').concat(a,'"]:not([').concat(e.FOCUS_DISABLED,'="disabled"])')))):[o]),n}),[])};
|
|
2
|
-
//# sourceMappingURL=all-affected.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"all-affected.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/all-affected.js"],"sourcesContent":["import { FOCUS_DISABLED, FOCUS_GROUP } from '../constants';\nimport { asArray, toArray } from './array';\n/**\n * in case of multiple nodes nested inside each other\n * keeps only top ones\n * this is O(nlogn)\n * @param nodes\n * @returns {*}\n */\nvar filterNested = function (nodes) {\n var contained = new Set();\n var l = nodes.length;\n for (var i = 0; i < l; i += 1) {\n for (var j = i + 1; j < l; j += 1) {\n var position = nodes[i].compareDocumentPosition(nodes[j]);\n /* eslint-disable no-bitwise */\n if ((position & Node.DOCUMENT_POSITION_CONTAINED_BY) > 0) {\n contained.add(j);\n }\n if ((position & Node.DOCUMENT_POSITION_CONTAINS) > 0) {\n contained.add(i);\n }\n /* eslint-enable */\n }\n }\n return nodes.filter(function (_, index) { return !contained.has(index); });\n};\n/**\n * finds top most parent for a node\n * @param node\n * @returns {*}\n */\nvar getTopParent = function (node) {\n return node.parentNode ? getTopParent(node.parentNode) : node;\n};\n/**\n * returns all \"focus containers\" inside a given node\n * @param node\n * @returns {T}\n */\nexport var getAllAffectedNodes = function (node) {\n var nodes = asArray(node);\n return nodes.filter(Boolean).reduce(function (acc, currentNode) {\n var group = currentNode.getAttribute(FOCUS_GROUP);\n acc.push.apply(acc, (group\n ? filterNested(toArray(getTopParent(currentNode).querySelectorAll(\"[\".concat(FOCUS_GROUP, \"=\\\"\").concat(group, \"\\\"]:not([\").concat(FOCUS_DISABLED, \"=\\\"disabled\\\"])\"))))\n : [currentNode]));\n return acc;\n }, []);\n};\n"],"names":["getTopParent","node","parentNode","asArray","filter","Boolean","reduce","acc","currentNode","group","getAttribute","FOCUS_GROUP","push","apply","nodes","contained","Set","l","length","i","j","position","compareDocumentPosition","Node","DOCUMENT_POSITION_CONTAINED_BY","add","DOCUMENT_POSITION_CONTAINS","_","index","has","filterNested","toArray","querySelectorAll","concat","FOCUS_DISABLED"],"mappings":"6HAgCIA,EAAe,SAAUC,GACzB,OAAOA,EAAKC,WAAaF,EAAaC,EAAKC,YAAcD,CAC7D,8BAMiC,SAAUA,GAEvC,OADYE,UAAQF,GACPG,OAAOC,SAASC,QAAO,SAAUC,EAAKC,GAC/C,IAAIC,EAAQD,EAAYE,aAAaC,EAAWA,aAIhD,OAHAJ,EAAIK,KAAKC,MAAMN,EAAME,EAnCV,SAAUK,GAGzB,IAFA,IAAIC,EAAY,IAAIC,IAChBC,EAAIH,EAAMI,OACLC,EAAI,EAAGA,EAAIF,EAAGE,GAAK,EACxB,IAAK,IAAIC,EAAID,EAAI,EAAGC,EAAIH,EAAGG,GAAK,EAAG,CAC/B,IAAIC,EAAWP,EAAMK,GAAGG,wBAAwBR,EAAMM,KAEjDC,EAAWE,KAAKC,gCAAkC,GACnDT,EAAUU,IAAIL,IAEbC,EAAWE,KAAKG,4BAA8B,GAC/CX,EAAUU,IAAIN,EAGrB,CAEL,OAAOL,EAAMV,QAAO,SAAUuB,EAAGC,GAAS,OAAQb,EAAUc,IAAID,EAAS,GAC7E,CAmBcE,CAAaC,EAAOA,QAAC/B,EAAaQ,GAAawB,iBAAiB,IAAIC,OAAOtB,EAAWA,YAAE,MAAOsB,OAAOxB,EAAO,YAAawB,OAAOC,iBAAgB,oBACjJ,CAAC1B,IACAD,CACV,GAAE,GACP"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.asArray=function(r){return Array.isArray(r)?r:[r]},exports.getFirst=function(r){return Array.isArray(r)?r[0]:r},exports.toArray=function(r){for(var t=Array(r.length),e=0;e<r.length;++e)t[e]=r[e];return t};
|
|
2
|
-
//# sourceMappingURL=array.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"array.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/array.js"],"sourcesContent":["/*\nIE11 support\n */\nexport var toArray = function (a) {\n var ret = Array(a.length);\n for (var i = 0; i < a.length; ++i) {\n ret[i] = a[i];\n }\n return ret;\n};\nexport var asArray = function (a) { return (Array.isArray(a) ? a : [a]); };\nexport var getFirst = function (a) { return (Array.isArray(a) ? a[0] : a); };\n"],"names":["a","Array","isArray","ret","length","i"],"mappings":"oFAUqB,SAAUA,GAAK,OAAQC,MAAMC,QAAQF,GAAKA,EAAI,CAACA,EAAO,mBACrD,SAAUA,GAAK,OAAQC,MAAMC,QAAQF,GAAKA,EAAE,GAAKA,CAAG,kBARrD,SAAUA,GAE3B,IADA,IAAIG,EAAMF,MAAMD,EAAEI,QACTC,EAAI,EAAGA,EAAIL,EAAEI,SAAUC,EAC5BF,EAAIE,GAAKL,EAAEK,GAEf,OAAOF,CACX"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./DOMutils.js"),t=require("./firstFocus.js"),u=require("./is.js");exports.pickAutofocus=function(r,o,i){var s,c=r.map((function(e){return e.node})),n=e.filterAutoFocusable(c.filter((s=i,function(e){var t,r=null===(t=u.getDataset(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||s.indexOf(e)>=0})));return n&&n.length?t.pickFirstFocus(n):t.pickFirstFocus(e.filterAutoFocusable(o))};
|
|
2
|
-
//# sourceMappingURL=auto-focus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auto-focus.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/auto-focus.js"],"sourcesContent":["import { filterAutoFocusable } from './DOMutils';\nimport { pickFirstFocus } from './firstFocus';\nimport { getDataset } from './is';\nvar findAutoFocused = function (autoFocusables) {\n return function (node) {\n var _a;\n var autofocus = (_a = getDataset(node)) === null || _a === void 0 ? void 0 : _a.autofocus;\n return (\n // @ts-expect-error\n node.autofocus ||\n //\n (autofocus !== undefined && autofocus !== 'false') ||\n //\n autoFocusables.indexOf(node) >= 0);\n };\n};\nexport var pickAutofocus = function (nodesIndexes, orderedNodes, groups) {\n var nodes = nodesIndexes.map(function (_a) {\n var node = _a.node;\n return node;\n });\n var autoFocusable = filterAutoFocusable(nodes.filter(findAutoFocused(groups)));\n if (autoFocusable && autoFocusable.length) {\n return pickFirstFocus(autoFocusable);\n }\n return pickFirstFocus(filterAutoFocusable(orderedNodes));\n};\n"],"names":["nodesIndexes","orderedNodes","groups","autoFocusables","nodes","map","_a","node","autoFocusable","filterAutoFocusable","filter","autofocus","getDataset","undefined","indexOf","length","pickFirstFocus"],"mappings":"2KAgB2B,SAAUA,EAAcC,EAAcC,GAC7D,IAd4BC,EAcxBC,EAAQJ,EAAaK,KAAI,SAAUC,GAEnC,OADWA,EAAGC,IAEtB,IACQC,EAAgBC,EAAAA,oBAAoBL,EAAMM,QAlBlBP,EAkByCD,EAjB9D,SAAUK,GACb,IAAID,EACAK,EAAwC,QAA3BL,EAAKM,EAAUA,WAACL,UAA0B,IAAPD,OAAgB,EAASA,EAAGK,UAChF,OAEAJ,EAAKI,gBAEcE,IAAdF,GAAyC,UAAdA,GAE5BR,EAAeW,QAAQP,IAAS,CAC5C,KAQI,OAAIC,GAAiBA,EAAcO,OACxBC,EAAAA,eAAeR,GAEnBQ,iBAAeP,EAAAA,oBAAoBR,GAC9C"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./is.js"),r=function(r,t){return e.isRadioElement(r)&&r.name?function(r,t){return t.filter(e.isRadioElement).filter((function(e){return e.name===r.name})).filter((function(e){return e.checked}))[0]||r}(r,t):r};exports.correctNode=r,exports.correctNodes=function(e){var t=new Set;return e.forEach((function(n){return t.add(r(n,e))})),e.filter((function(e){return t.has(e)}))};
|
|
2
|
-
//# sourceMappingURL=correctFocus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"correctFocus.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/correctFocus.js"],"sourcesContent":["import { isRadioElement } from './is';\nvar findSelectedRadio = function (node, nodes) {\n return nodes\n .filter(isRadioElement)\n .filter(function (el) { return el.name === node.name; })\n .filter(function (el) { return el.checked; })[0] || node;\n};\nexport var correctNode = function (node, nodes) {\n if (isRadioElement(node) && node.name) {\n return findSelectedRadio(node, nodes);\n }\n return node;\n};\n/**\n * giving a set of radio inputs keeps only selected (tabbable) ones\n * @param nodes\n */\nexport var correctNodes = function (nodes) {\n // IE11 has no Set(array) constructor\n var resultSet = new Set();\n nodes.forEach(function (node) { return resultSet.add(correctNode(node, nodes)); });\n // using filter to support IE11\n return nodes.filter(function (node) { return resultSet.has(node); });\n};\n"],"names":["correctNode","node","nodes","isRadioElement","name","filter","el","checked","findSelectedRadio","resultSet","Set","forEach","add","has"],"mappings":"6FAOWA,EAAc,SAAUC,EAAMC,GACrC,OAAIC,iBAAeF,IAASA,EAAKG,KAPb,SAAUH,EAAMC,GACpC,OAAOA,EACFG,OAAOF,EAAAA,gBACPE,QAAO,SAAUC,GAAM,OAAOA,EAAGF,OAASH,EAAKG,QAC/CC,QAAO,SAAUC,GAAM,OAAOA,EAAGC,WAAY,IAAMN,CAC5D,CAGeO,CAAkBP,EAAMC,GAE5BD,CACX,6CAK0B,SAAUC,GAEhC,IAAIO,EAAY,IAAIC,IAGpB,OAFAR,EAAMS,SAAQ,SAAUV,GAAQ,OAAOQ,EAAUG,IAAIZ,EAAYC,EAAMC,GAAU,IAE1EA,EAAMG,QAAO,SAAUJ,GAAQ,OAAOQ,EAAUI,IAAIZ,EAAM,GACrE"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./correctFocus.js");exports.pickFirstFocus=function(r){return r[0]&&r.length>1?e.correctNode(r[0],r):r[0]},exports.pickFocusable=function(r,t){return r.length>1?r.indexOf(e.correctNode(r[t],r)):t};
|
|
2
|
-
//# sourceMappingURL=firstFocus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"firstFocus.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/firstFocus.js"],"sourcesContent":["import { correctNode } from './correctFocus';\nexport var pickFirstFocus = function (nodes) {\n if (nodes[0] && nodes.length > 1) {\n return correctNode(nodes[0], nodes);\n }\n return nodes[0];\n};\nexport var pickFocusable = function (nodes, index) {\n if (nodes.length > 1) {\n return nodes.indexOf(correctNode(nodes[index], nodes));\n }\n return index;\n};\n"],"names":["nodes","length","correctNode","index","indexOf"],"mappings":"8HAC4B,SAAUA,GAClC,OAAIA,EAAM,IAAMA,EAAMC,OAAS,EACpBC,EAAWA,YAACF,EAAM,GAAIA,GAE1BA,EAAM,EACjB,wBAC2B,SAAUA,EAAOG,GACxC,OAAIH,EAAMC,OAAS,EACRD,EAAMI,QAAQF,EAAWA,YAACF,EAAMG,GAAQH,IAE5CG,CACX"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./safe.js"),t=function(n){if(void 0===n&&(n=document),n&&n.activeElement){var o=n.activeElement;return o.shadowRoot?t(o.shadowRoot):o instanceof HTMLIFrameElement&&e.safeProbe((function(){return o.contentWindow.document}))?t(o.contentWindow.document):o}};exports.getActiveElement=t;
|
|
2
|
-
//# sourceMappingURL=getActiveElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getActiveElement.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/getActiveElement.js"],"sourcesContent":["/**\n * returns active element from document or from nested shadowdoms\n */\nimport { safeProbe } from './safe';\nexport var getActiveElement = function (inDocument) {\n if (inDocument === void 0) { inDocument = document; }\n if (!inDocument || !inDocument.activeElement) {\n return undefined;\n }\n var activeElement = inDocument.activeElement;\n return (activeElement.shadowRoot\n ? getActiveElement(activeElement.shadowRoot)\n : activeElement instanceof HTMLIFrameElement && safeProbe(function () { return activeElement.contentWindow.document; })\n ? getActiveElement(activeElement.contentWindow.document)\n : activeElement);\n};\n"],"names":["getActiveElement","inDocument","document","activeElement","shadowRoot","HTMLIFrameElement","safeProbe","contentWindow"],"mappings":"+FAIWA,EAAmB,SAAUC,GAEpC,QADmB,IAAfA,IAAyBA,EAAaC,UACrCD,GAAeA,EAAWE,cAA/B,CAGA,IAAIA,EAAgBF,EAAWE,cAC/B,OAAQA,EAAcC,WAChBJ,EAAiBG,EAAcC,YAC/BD,aAAyBE,mBAAqBC,EAAAA,WAAU,WAAc,OAAOH,EAAcI,cAAcL,YACrGF,EAAiBG,EAAcI,cAAcL,UAC7CC,CANT,CAOL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../constants.js"),t=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},n=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},r=function(e,r){return!e||n(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&r(t(e))},o=function(e,t){var n=e.get(t);if(void 0!==n)return n;var u=r(t,o.bind(void 0,e));return e.set(t,u),u},u=function(e,r){var o=e.get(r);if(void 0!==o)return o;var i=function(e,r){return!(e&&!n(e))||!!a(e)&&r(t(e))}(r,u.bind(void 0,e));return e.set(r,i),i},i=function(e){return e.dataset},d=function(e){return"BUTTON"===e.tagName},s=function(e){return"INPUT"===e.tagName},a=function(t){var n=t.getAttribute(e.FOCUS_NO_AUTOFOCUS);return![!0,"true",""].includes(n)},p=function(e){var t;return Boolean(e&&(null===(t=i(e))||void 0===t?void 0:t.focusGuard))};exports.getDataset=i,exports.isAutoFocusAllowed=a,exports.isAutoFocusAllowedCached=u,exports.isDefined=function(e){return Boolean(e)},exports.isGuard=p,exports.isHTMLButtonElement=d,exports.isHTMLInputElement=s,exports.isNotAGuard=function(e){return!p(e)},exports.isRadioElement=function(e){return s(e)&&"radio"===e.type},exports.isVisibleCached=o,exports.notHiddenInput=function(e){return!((s(e)||d(e))&&("hidden"===e.type||e.disabled))};
|
|
2
|
-
//# sourceMappingURL=is.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/is.js"],"sourcesContent":["import { FOCUS_NO_AUTOFOCUS } from '../constants';\nvar isElementHidden = function (node) {\n // we can measure only \"elements\"\n // consider others as \"visible\"\n if (node.nodeType !== Node.ELEMENT_NODE) {\n return false;\n }\n var computedStyle = window.getComputedStyle(node, null);\n if (!computedStyle || !computedStyle.getPropertyValue) {\n return false;\n }\n return (computedStyle.getPropertyValue('display') === 'none' || computedStyle.getPropertyValue('visibility') === 'hidden');\n};\nvar getParentNode = function (node) {\n // DOCUMENT_FRAGMENT_NODE can also point on ShadowRoot. In this case .host will point on the next node\n return node.parentNode && node.parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n node.parentNode.host\n : node.parentNode;\n};\nvar isTopNode = function (node) {\n // @ts-ignore\n return node === document || (node && node.nodeType === Node.DOCUMENT_NODE);\n};\nvar isVisibleUncached = function (node, checkParent) {\n return !node || isTopNode(node) || (!isElementHidden(node) && checkParent(getParentNode(node)));\n};\nexport var isVisibleCached = function (visibilityCache, node) {\n var cached = visibilityCache.get(node);\n if (cached !== undefined) {\n return cached;\n }\n var result = isVisibleUncached(node, isVisibleCached.bind(undefined, visibilityCache));\n visibilityCache.set(node, result);\n return result;\n};\nvar isAutoFocusAllowedUncached = function (node, checkParent) {\n return node && !isTopNode(node) ? (isAutoFocusAllowed(node) ? checkParent(getParentNode(node)) : false) : true;\n};\nexport var isAutoFocusAllowedCached = function (cache, node) {\n var cached = cache.get(node);\n if (cached !== undefined) {\n return cached;\n }\n var result = isAutoFocusAllowedUncached(node, isAutoFocusAllowedCached.bind(undefined, cache));\n cache.set(node, result);\n return result;\n};\nexport var getDataset = function (node) {\n // @ts-ignore\n return node.dataset;\n};\nexport var isHTMLButtonElement = function (node) { return node.tagName === 'BUTTON'; };\nexport var isHTMLInputElement = function (node) { return node.tagName === 'INPUT'; };\nexport var isRadioElement = function (node) {\n return isHTMLInputElement(node) && node.type === 'radio';\n};\nexport var notHiddenInput = function (node) {\n return !((isHTMLInputElement(node) || isHTMLButtonElement(node)) && (node.type === 'hidden' || node.disabled));\n};\nexport var isAutoFocusAllowed = function (node) {\n var attribute = node.getAttribute(FOCUS_NO_AUTOFOCUS);\n return ![true, 'true', ''].includes(attribute);\n};\nexport var isGuard = function (node) { var _a; return Boolean(node && ((_a = getDataset(node)) === null || _a === void 0 ? void 0 : _a.focusGuard)); };\nexport var isNotAGuard = function (node) { return !isGuard(node); };\nexport var isDefined = function (x) { return Boolean(x); };\n"],"names":["getParentNode","node","parentNode","nodeType","Node","DOCUMENT_FRAGMENT_NODE","host","isTopNode","document","DOCUMENT_NODE","isVisibleUncached","checkParent","ELEMENT_NODE","computedStyle","window","getComputedStyle","getPropertyValue","isElementHidden","isVisibleCached","visibilityCache","cached","get","undefined","result","bind","set","isAutoFocusAllowedCached","cache","isAutoFocusAllowed","isAutoFocusAllowedUncached","getDataset","dataset","isHTMLButtonElement","tagName","isHTMLInputElement","attribute","getAttribute","FOCUS_NO_AUTOFOCUS","includes","isGuard","_a","Boolean","focusGuard","x","type","disabled"],"mappings":"qGAaIA,EAAgB,SAAUC,GAE1B,OAAOA,EAAKC,YAAcD,EAAKC,WAAWC,WAAaC,KAAKC,uBAEpDJ,EAAKC,WAAWI,KAClBL,EAAKC,UACf,EACIK,EAAY,SAAUN,GAEtB,OAAOA,IAASO,UAAaP,GAAQA,EAAKE,WAAaC,KAAKK,aAChE,EACIC,EAAoB,SAAUT,EAAMU,GACpC,OAAQV,GAAQM,EAAUN,KAxBR,SAAUA,GAG5B,GAAIA,EAAKE,WAAaC,KAAKQ,aACvB,OAAO,EAEX,IAAIC,EAAgBC,OAAOC,iBAAiBd,EAAM,MAClD,SAAKY,IAAkBA,EAAcG,kBAGiB,SAA9CH,EAAcG,iBAAiB,YAA0E,WAAjDH,EAAcG,iBAAiB,cACnG,CAayCC,CAAgBhB,IAASU,EAAYX,EAAcC,GAC5F,EACWiB,EAAkB,SAAUC,EAAiBlB,GACpD,IAAImB,EAASD,EAAgBE,IAAIpB,GACjC,QAAeqB,IAAXF,EACA,OAAOA,EAEX,IAAIG,EAASb,EAAkBT,EAAMiB,EAAgBM,UAAKF,EAAWH,IAErE,OADAA,EAAgBM,IAAIxB,EAAMsB,GACnBA,CACX,EAIWG,EAA2B,SAAUC,EAAO1B,GACnD,IAAImB,EAASO,EAAMN,IAAIpB,GACvB,QAAeqB,IAAXF,EACA,OAAOA,EAEX,IAAIG,EARyB,SAAUtB,EAAMU,GAC7C,QAAOV,IAASM,EAAUN,OAAS2B,EAAmB3B,IAAQU,EAAYX,EAAcC,GAC5F,CAMiB4B,CAA2B5B,EAAMyB,EAAyBF,UAAKF,EAAWK,IAEvF,OADAA,EAAMF,IAAIxB,EAAMsB,GACTA,CACX,EACWO,EAAa,SAAU7B,GAE9B,OAAOA,EAAK8B,OAChB,EACWC,EAAsB,SAAU/B,GAAQ,MAAwB,WAAjBA,EAAKgC,OAAwB,EAC5EC,EAAqB,SAAUjC,GAAQ,MAAwB,UAAjBA,EAAKgC,OAAuB,EAO1EL,EAAqB,SAAU3B,GACtC,IAAIkC,EAAYlC,EAAKmC,aAAaC,EAAkBA,oBACpD,OAAQ,EAAC,EAAM,OAAQ,IAAIC,SAASH,EACxC,EACWI,EAAU,SAAUtC,GAAQ,IAAIuC,EAAI,OAAOC,QAAQxC,IAAqC,QAA3BuC,EAAKV,EAAW7B,UAA0B,IAAPuC,OAAgB,EAASA,EAAGE,YAAgB,yGAEhI,SAAUC,GAAK,OAAOF,QAAQE,EAAG,mGAD/B,SAAU1C,GAAQ,OAAQsC,EAAQtC,EAAS,yBAXxC,SAAUA,GAClC,OAAOiC,EAAmBjC,IAAuB,UAAdA,EAAK2C,IAC5C,mDAC4B,SAAU3C,GAClC,SAAUiC,EAAmBjC,IAAS+B,EAAoB/B,MAAyB,WAAdA,EAAK2C,MAAqB3C,EAAK4C,UACxG"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./DOMutils.js"),e=require("./array.js"),t=function(r,e){return void 0===e&&(e=[]),e.push(r),r.parentNode&&t(r.parentNode.host||r.parentNode,e),e},n=function(r,e){for(var n=t(r),o=t(e),a=0;a<n.length;a+=1){var u=n[a];if(o.indexOf(u)>=0)return u}return!1};exports.allParentAutofocusables=function(e,t){return e.reduce((function(e,n){return e.concat(r.parentAutofocusables(n,t))}),[])},exports.getCommonParent=n,exports.getTopCommonParent=function(t,o,a){var u=e.asArray(t),s=e.asArray(o),i=u[0],c=!1;return s.filter(Boolean).forEach((function(e){c=n(c||e,e)||c,a.filter(Boolean).forEach((function(e){var t=n(i,e);t&&(c=!c||r.contains(t,c)?t:n(t,c))}))})),c};
|
|
2
|
-
//# sourceMappingURL=parenting.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parenting.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/parenting.js"],"sourcesContent":["import { parentAutofocusables } from './DOMutils';\nimport { contains } from './DOMutils';\nimport { asArray } from './array';\nvar getParents = function (node, parents) {\n if (parents === void 0) { parents = []; }\n parents.push(node);\n if (node.parentNode) {\n getParents(node.parentNode.host || node.parentNode, parents);\n }\n return parents;\n};\n/**\n * finds a parent for both nodeA and nodeB\n * @param nodeA\n * @param nodeB\n * @returns {boolean|*}\n */\nexport var getCommonParent = function (nodeA, nodeB) {\n var parentsA = getParents(nodeA);\n var parentsB = getParents(nodeB);\n // tslint:disable-next-line:prefer-for-of\n for (var i = 0; i < parentsA.length; i += 1) {\n var currentParent = parentsA[i];\n if (parentsB.indexOf(currentParent) >= 0) {\n return currentParent;\n }\n }\n return false;\n};\nexport var getTopCommonParent = function (baseActiveElement, leftEntry, rightEntries) {\n var activeElements = asArray(baseActiveElement);\n var leftEntries = asArray(leftEntry);\n var activeElement = activeElements[0];\n var topCommon = false;\n leftEntries.filter(Boolean).forEach(function (entry) {\n topCommon = getCommonParent(topCommon || entry, entry) || topCommon;\n rightEntries.filter(Boolean).forEach(function (subEntry) {\n var common = getCommonParent(activeElement, subEntry);\n if (common) {\n if (!topCommon || contains(common, topCommon)) {\n topCommon = common;\n }\n else {\n topCommon = getCommonParent(common, topCommon);\n }\n }\n });\n });\n // TODO: add assert here?\n return topCommon;\n};\n/**\n * return list of nodes which are expected to be autofocused inside a given top nodes\n * @param entries\n * @param visibilityCache\n */\nexport var allParentAutofocusables = function (entries, visibilityCache) {\n return entries.reduce(function (acc, node) { return acc.concat(parentAutofocusables(node, visibilityCache)); }, []);\n};\n"],"names":["getParents","node","parents","push","parentNode","host","getCommonParent","nodeA","nodeB","parentsA","parentsB","i","length","currentParent","indexOf","entries","visibilityCache","reduce","acc","concat","parentAutofocusables","baseActiveElement","leftEntry","rightEntries","activeElements","asArray","leftEntries","activeElement","topCommon","filter","Boolean","forEach","entry","subEntry","common","contains"],"mappings":"2HAGIA,EAAa,SAAUC,EAAMC,GAM7B,YALgB,IAAZA,IAAsBA,EAAU,IACpCA,EAAQC,KAAKF,GACTA,EAAKG,YACLJ,EAAWC,EAAKG,WAAWC,MAAQJ,EAAKG,WAAYF,GAEjDA,CACX,EAOWI,EAAkB,SAAUC,EAAOC,GAI1C,IAHA,IAAIC,EAAWT,EAAWO,GACtBG,EAAWV,EAAWQ,GAEjBG,EAAI,EAAGA,EAAIF,EAASG,OAAQD,GAAK,EAAG,CACzC,IAAIE,EAAgBJ,EAASE,GAC7B,GAAID,EAASI,QAAQD,IAAkB,EACnC,OAAOA,CAEd,CACD,OAAO,CACX,kCA4BqC,SAAUE,EAASC,GACpD,OAAOD,EAAQE,QAAO,SAAUC,EAAKjB,GAAQ,OAAOiB,EAAIC,OAAOC,EAAoBA,qBAACnB,EAAMe,GAAoB,GAAE,GACpH,uDA7BgC,SAAUK,EAAmBC,EAAWC,GACpE,IAAIC,EAAiBC,UAAQJ,GACzBK,EAAcD,UAAQH,GACtBK,EAAgBH,EAAe,GAC/BI,GAAY,EAgBhB,OAfAF,EAAYG,OAAOC,SAASC,SAAQ,SAAUC,GAC1CJ,EAAYtB,EAAgBsB,GAAaI,EAAOA,IAAUJ,EAC1DL,EAAaM,OAAOC,SAASC,SAAQ,SAAUE,GAC3C,IAAIC,EAAS5B,EAAgBqB,EAAeM,GACxCC,IAEIN,GADCA,GAAaO,EAAAA,SAASD,EAAQN,GACnBM,EAGA5B,EAAgB4B,EAAQN,GAGxD,GACA,IAEWA,CACX"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"safe.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/safe.js"],"sourcesContent":["export var safeProbe = function (cb) {\n try {\n return cb();\n }\n catch (e) {\n return undefined;\n }\n};\n"],"names":["cb","e"],"mappings":"sFAAuB,SAAUA,GAC7B,IACI,OAAOA,GAIV,CAFD,MAAOC,GACH,MACH,CACL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./array.js"),r=function(e,r){var t=e.tabIndex-r.tabIndex,n=e.index-r.index;if(t){if(!e.tabIndex)return 1;if(!r.tabIndex)return-1}return t||n};exports.orderByTabIndex=function(t,n,a){return e.toArray(t).map((function(e,r){return{node:e,index:r,tabIndex:a&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!n||e.tabIndex>=0})).sort(r)},exports.tabSort=r;
|
|
2
|
-
//# sourceMappingURL=tabOrder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabOrder.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/tabOrder.js"],"sourcesContent":["import { toArray } from './array';\nexport var tabSort = function (a, b) {\n var tabDiff = a.tabIndex - b.tabIndex;\n var indexDiff = a.index - b.index;\n if (tabDiff) {\n if (!a.tabIndex) {\n return 1;\n }\n if (!b.tabIndex) {\n return -1;\n }\n }\n return tabDiff || indexDiff;\n};\nexport var orderByTabIndex = function (nodes, filterNegative, keepGuards) {\n return toArray(nodes)\n .map(function (node, index) { return ({\n node: node,\n index: index,\n tabIndex: keepGuards && node.tabIndex === -1 ? ((node.dataset || {}).focusGuard ? 0 : -1) : node.tabIndex,\n }); })\n .filter(function (data) { return !filterNegative || data.tabIndex >= 0; })\n .sort(tabSort);\n};\n"],"names":["tabSort","a","b","tabDiff","tabIndex","indexDiff","index","nodes","filterNegative","keepGuards","toArray","map","node","dataset","focusGuard","filter","data","sort"],"mappings":"gGACWA,EAAU,SAAUC,EAAGC,GAC9B,IAAIC,EAAUF,EAAEG,SAAWF,EAAEE,SACzBC,EAAYJ,EAAEK,MAAQJ,EAAEI,MAC5B,GAAIH,EAAS,CACT,IAAKF,EAAEG,SACH,OAAO,EAEX,IAAKF,EAAEE,SACH,OAAQ,CAEf,CACD,OAAOD,GAAWE,CACtB,0BAC6B,SAAUE,EAAOC,EAAgBC,GAC1D,OAAOC,EAAAA,QAAQH,GACVI,KAAI,SAAUC,EAAMN,GAAS,MAAQ,CACtCM,KAAMA,EACNN,MAAOA,EACPF,SAAUK,IAAiC,IAAnBG,EAAKR,UAAoBQ,EAAKC,SAAW,CAAA,GAAIC,WAAa,GAAK,EAAKF,EAAKR,aAEhGW,QAAO,SAAUC,GAAQ,OAAQR,GAAkBQ,EAAKZ,UAAY,KACpEa,KAAKjB,EACd"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../constants.js"),t=require("./array.js"),r=require("./tabbables.js").tabbables.join(","),n="".concat(r,", [data-focus-guard]"),o=function(e,c){return t.toArray((e.shadowRoot||e).children).reduce((function(e,t){return e.concat(t.matches(c?n:r)?[t]:[],o(t))}),[])},c=function(e,n){return e.reduce((function(e,u){var a,i=o(u,n),s=(a=[]).concat.apply(a,i.map((function(e){return function(e,t){var r;return e instanceof HTMLIFrameElement&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?c([e.contentDocument.body],t):[e]}(e,n)})));return e.concat(s,u.parentNode?t.toArray(u.parentNode.querySelectorAll(r)).filter((function(e){return e===u})):[])}),[])};exports.getFocusables=c,exports.getParentAutofocusables=function(r){var n=r.querySelectorAll("[".concat(e.FOCUS_AUTO,"]"));return t.toArray(n).map((function(e){return c([e])})).reduce((function(e,t){return e.concat(t)}),[])};
|
|
2
|
-
//# sourceMappingURL=tabUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabUtils.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/tabUtils.js"],"sourcesContent":["import { FOCUS_AUTO } from '../constants';\nimport { toArray } from './array';\nimport { tabbables } from './tabbables';\nvar queryTabbables = tabbables.join(',');\nvar queryGuardTabbables = \"\".concat(queryTabbables, \", [data-focus-guard]\");\nvar getFocusablesWithShadowDom = function (parent, withGuards) {\n return toArray((parent.shadowRoot || parent).children).reduce(function (acc, child) {\n return acc.concat(child.matches(withGuards ? queryGuardTabbables : queryTabbables) ? [child] : [], getFocusablesWithShadowDom(child));\n }, []);\n};\nvar getFocusablesWithIFrame = function (parent, withGuards) {\n var _a;\n // contentDocument of iframe will be null if current origin cannot access it\n if (parent instanceof HTMLIFrameElement && ((_a = parent.contentDocument) === null || _a === void 0 ? void 0 : _a.body)) {\n return getFocusables([parent.contentDocument.body], withGuards);\n }\n return [parent];\n};\nexport var getFocusables = function (parents, withGuards) {\n return parents.reduce(function (acc, parent) {\n var _a;\n var focusableWithShadowDom = getFocusablesWithShadowDom(parent, withGuards);\n var focusableWithIframes = (_a = []).concat.apply(_a, focusableWithShadowDom.map(function (node) { return getFocusablesWithIFrame(node, withGuards); }));\n return acc.concat(\n // add all tabbables inside and within shadow DOMs in DOM order\n focusableWithIframes, \n // add if node is tabbable itself\n parent.parentNode\n ? toArray(parent.parentNode.querySelectorAll(queryTabbables)).filter(function (node) { return node === parent; })\n : []);\n }, []);\n};\n/**\n * return a list of focusable nodes within an area marked as \"auto-focusable\"\n * @param parent\n */\nexport var getParentAutofocusables = function (parent) {\n var parentFocus = parent.querySelectorAll(\"[\".concat(FOCUS_AUTO, \"]\"));\n return toArray(parentFocus)\n .map(function (node) { return getFocusables([node]); })\n .reduce(function (acc, nodes) { return acc.concat(nodes); }, []);\n};\n"],"names":["queryTabbables","tabbables","join","queryGuardTabbables","concat","getFocusablesWithShadowDom","parent","withGuards","toArray","shadowRoot","children","reduce","acc","child","matches","getFocusables","parents","_a","focusableWithShadowDom","focusableWithIframes","apply","map","node","HTMLIFrameElement","contentDocument","body","getFocusablesWithIFrame","parentNode","querySelectorAll","filter","parentFocus","FOCUS_AUTO","nodes"],"mappings":"6HAGIA,4BAA0BC,UAACC,KAAK,KAChCC,EAAsB,GAAGC,OAAOJ,EAAgB,wBAChDK,EAA6B,SAAUC,EAAQC,GAC/C,OAAOC,EAAOA,SAAEF,EAAOG,YAAcH,GAAQI,UAAUC,QAAO,SAAUC,EAAKC,GACzE,OAAOD,EAAIR,OAAOS,EAAMC,QAAQP,EAAaJ,EAAsBH,GAAkB,CAACa,GAAS,GAAIR,EAA2BQ,GACjI,GAAE,GACP,EASWE,EAAgB,SAAUC,EAAST,GAC1C,OAAOS,EAAQL,QAAO,SAAUC,EAAKN,GACjC,IAAIW,EACAC,EAAyBb,EAA2BC,EAAQC,GAC5DY,GAAwBF,EAAK,IAAIb,OAAOgB,MAAMH,EAAIC,EAAuBG,KAAI,SAAUC,GAAQ,OAZ7E,SAAUhB,EAAQC,GAC5C,IAAIU,EAEJ,OAAIX,aAAkBiB,oBAAwD,QAAjCN,EAAKX,EAAOkB,uBAAoC,IAAPP,OAAgB,EAASA,EAAGQ,MACvGV,EAAc,CAACT,EAAOkB,gBAAgBC,MAAOlB,GAEjD,CAACD,EACZ,CAKkHoB,CAAwBJ,EAAMf,EAAc,KACtJ,OAAOK,EAAIR,OAEXe,EAEAb,EAAOqB,WACDnB,EAAAA,QAAQF,EAAOqB,WAAWC,iBAAiB5B,IAAiB6B,QAAO,SAAUP,GAAQ,OAAOA,IAAShB,CAAO,IAC5G,GACT,GAAE,GACP,0DAKqC,SAAUA,GAC3C,IAAIwB,EAAcxB,EAAOsB,iBAAiB,IAAIxB,OAAO2B,EAAUA,WAAE,MACjE,OAAOvB,EAAAA,QAAQsB,GACVT,KAAI,SAAUC,GAAQ,OAAOP,EAAc,CAACO,OAC5CX,QAAO,SAAUC,EAAKoB,GAAS,OAAOpB,EAAIR,OAAO4B,KAAW,GACrE"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.tabbables=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"];
|
|
2
|
-
//# sourceMappingURL=tabbables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabbables.js","sources":["../../../../../../../node_modules/focus-lock/dist/es2015/utils/tabbables.js"],"sourcesContent":["/**\n * list of the object to be considered as focusable\n */\nexport var tabbables = [\n 'button:enabled',\n 'select:enabled',\n 'textarea:enabled',\n 'input:enabled',\n // elements with explicit roles will also use explicit tabindex\n // '[role=\"button\"]',\n 'a[href]',\n 'area[href]',\n 'summary',\n 'iframe',\n 'object',\n 'embed',\n 'audio[controls]',\n 'video[controls]',\n '[tabindex]',\n '[contenteditable]',\n '[autofocus]',\n];\n"],"names":[],"mappings":"sFAGuB,CACnB,iBACA,iBACA,mBACA,gBAGA,UACA,aACA,UACA,SACA,SACA,QACA,kBACA,kBACA,aACA,oBACA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),t=require("../../@babel/runtime/helpers/esm/defineProperty.js"),n=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(n);exports.default=function(r,i){if("production"!==process.env.NODE_ENV){if("function"!=typeof r)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof i)throw new Error("Expected handleStateChangeOnClient to be a function.")}return function(u){if("production"!==process.env.NODE_ENV&&"function"!=typeof u)throw new Error("Expected WrappedComponent to be a React component.");var p,c=[];function f(){p=r(c.map((function(e){return e.props}))),i(p)}var a=function(t){function n(){return t.apply(this,arguments)||this}e.default(n,t),n.peek=function(){return p};var r=n.prototype;return r.componentDidMount=function(){c.push(this),f()},r.componentDidUpdate=function(){f()},r.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),f()},r.render=function(){return o.default.createElement(u,this.props)},n}(n.PureComponent);return t.default(a,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(u)+")"),a}};
|
|
2
|
-
//# sourceMappingURL=index.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../../../../node_modules/react-clientside-effect/lib/index.es.js"],"sourcesContent":["import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport React, { PureComponent } from 'react';\n\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n handleStateChangeOnClient(state);\n }\n\n var SideEffect = /*#__PURE__*/function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n }\n\n // Try to use displayName of wrapped component\n SideEffect.peek = function peek() {\n return state;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return /*#__PURE__*/React.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n return SideEffect;\n };\n}\n\nexport default withSideEffect;\n"],"names":["reducePropsToState","handleStateChangeOnClient","process","env","NODE_ENV","Error","WrappedComponent","state","mountedInstances","emitChange","map","instance","props","SideEffect","_PureComponent","apply","this","arguments","_inheritsLoose","peek","_proto","prototype","componentDidMount","push","componentDidUpdate","componentWillUnmount","index","indexOf","splice","render","React","createElement","PureComponent","_defineProperty","displayName","name","getDisplayName"],"mappings":"6TAIA,SAAwBA,EAAoBC,GAC1C,GAA6B,eAAzBC,QAAQC,IAAIC,SAA2B,CACzC,GAAkC,mBAAvBJ,EACT,MAAM,IAAIK,MAAM,iDAGlB,GAAyC,mBAA9BJ,EACT,MAAM,IAAII,MAAM,uDAEnB,CAMD,OAAO,SAAcC,GACnB,GAA6B,eAAzBJ,QAAQC,IAAIC,UACkB,mBAArBE,EACT,MAAM,IAAID,MAAM,sDAIpB,IACIE,EADAC,EAAmB,GAGvB,SAASC,IACPF,EAAQP,EAAmBQ,EAAiBE,KAAI,SAAUC,GACxD,OAAOA,EAASC,KACjB,KACDX,EAA0BM,EAC3B,CAED,IAAIM,EAA0B,SAAUC,GAGtC,SAASD,IACP,OAAOC,EAAeC,MAAMC,KAAMC,YAAcD,IACjD,CAJDE,UAAeL,EAAYC,GAO3BD,EAAWM,KAAO,WAChB,OAAOZ,CACf,EAEM,IAAIa,EAASP,EAAWQ,UAqBxB,OAnBAD,EAAOE,kBAAoB,WACzBd,EAAiBe,KAAKP,MACtBP,GACR,EAEMW,EAAOI,mBAAqB,WAC1Bf,GACR,EAEMW,EAAOK,qBAAuB,WAC5B,IAAIC,EAAQlB,EAAiBmB,QAAQX,MACrCR,EAAiBoB,OAAOF,EAAO,GAC/BjB,GACR,EAEMW,EAAOS,OAAS,WACd,OAAoBC,EAAK,QAACC,cAAczB,EAAkBU,KAAKJ,MACvE,EAEaC,CACR,CAlC6B,CAkC5BmB,EAAaA,eAIf,OAFAC,EAAe,QAACpB,EAAY,cAAe,cAzD7C,SAAwBP,GACtB,OAAOA,EAAiB4B,aAAe5B,EAAiB6B,MAAQ,WACjE,CAuD4DC,CAAe9B,GAAoB,KAEvFO,CACX,CACA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AutoFocusInside.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\n\n/* eslint-disable react/require-default-props */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as constants from 'focus-lock/constants';\nimport { inlineProp } from './util';\n\nvar AutoFocusInside = function AutoFocusInside(_ref) {\n var _ref$disabled = _ref.disabled,\n disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n children = _ref.children,\n _ref$className = _ref.className,\n className = _ref$className === void 0 ? undefined : _ref$className;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, inlineProp(constants.FOCUS_AUTO, !disabled), {\n className: className\n }), children);\n};\n\nAutoFocusInside.propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node.isRequired,\n disabled: PropTypes.bool,\n className: PropTypes.string\n} : {};\nexport default AutoFocusInside;"],"names":["process","env","NODE_ENV","PropTypes","node","isRequired","bool","string"],"mappings":"qIAmBqD,eAAzBA,QAAQC,IAAIC,WAC5BC,EAAAA,QAAUC,KAAKC,WACfF,EAAS,QAACG,KACTH,EAAS,QAACI"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),r=require("../../../@babel/runtime/helpers/esm/extends.js"),t=require("react"),u=require("./Lock.js"),a=require("./Trap.js");function s(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var u=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,u.get?u:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var o=s(t),i=o.forwardRef((function(e,t){return o.createElement(u.default,r.default({sideCar:a.default,ref:t},e))})),n=u.default.propTypes||{};n.sideCar;var f=e.default(n,["sideCar"]);i.propTypes="production"!==process.env.NODE_ENV?f:{},exports.default=i;
|
|
2
|
-
//# sourceMappingURL=Combination.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Combination.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/Combination.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport FocusLockUI from './Lock';\nimport FocusTrap from './Trap';\n/* that would be a BREAKING CHANGE!\n// delaying sidecar execution till the first usage\nconst RequireSideCar = (props) => {\n // eslint-disable-next-line global-require\n const SideCar = require('./Trap').default;\n return <SideCar {...props} />;\n};\n*/\n\nvar FocusLockCombination = /*#__PURE__*/React.forwardRef(function FocusLockUICombination(props, ref) {\n return /*#__PURE__*/React.createElement(FocusLockUI, _extends({\n sideCar: FocusTrap,\n ref: ref\n }, props));\n});\n\nvar _ref = FocusLockUI.propTypes || {},\n sideCar = _ref.sideCar,\n propTypes = _objectWithoutPropertiesLoose(_ref, [\"sideCar\"]);\n\nFocusLockCombination.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nexport default FocusLockCombination;"],"names":["FocusLockCombination","React","forwardRef","props","ref","createElement","FocusLockUI","_extends","sideCar","FocusTrap","_ref","propTypes","_objectWithoutPropertiesLoose","process","env","NODE_ENV"],"mappings":"gkBAcIA,EAAoCC,EAAMC,YAAW,SAAgCC,EAAOC,GAC9F,OAAoBH,EAAMI,cAAcC,EAAW,QAAEC,UAAS,CAC5DC,QAASC,EAAS,QAClBL,IAAKA,GACJD,GACL,IAEIO,EAAOJ,EAAAA,QAAYK,WAAa,GACtBD,EAAKF,QACf,IAAAG,EAAYC,EAA6B,QAACF,EAAM,CAAC,YAErDV,EAAqBW,UAAqC,eAAzBE,QAAQC,IAAIC,SAA4BJ,EAAY,CAAE"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0}),require("react");var t=e(require("prop-types"));"production"===process.env.NODE_ENV||t.default.node,exports.hiddenGuard={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};
|
|
2
|
-
//# sourceMappingURL=FocusGuard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FocusGuard.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/FocusGuard.js"],"sourcesContent":["import * as React from 'react';\nimport PropTypes from 'prop-types';\nexport var hiddenGuard = {\n width: '1px',\n height: '0px',\n padding: 0,\n overflow: 'hidden',\n position: 'fixed',\n top: '1px',\n left: '1px'\n};\n\nvar InFocusGuard = function InFocusGuard(_ref) {\n var children = _ref.children;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n key: \"guard-first\",\n \"data-focus-guard\": true,\n \"data-focus-auto-guard\": true,\n style: hiddenGuard\n }), children, children && /*#__PURE__*/React.createElement(\"div\", {\n key: \"guard-last\",\n \"data-focus-guard\": true,\n \"data-focus-auto-guard\": true,\n style: hiddenGuard\n }));\n};\n\nInFocusGuard.propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node\n} : {};\nInFocusGuard.defaultProps = {\n children: null\n};\nexport default InFocusGuard;"],"names":["process","env","NODE_ENV","PropTypes","node","width","height","padding","overflow","position","top","left"],"mappings":"4LA2BkD,eAAzBA,QAAQC,IAAIC,UACzBC,EAAS,QAACC,yBA1BG,CACvBC,MAAO,MACPC,OAAQ,MACRC,QAAS,EACTC,SAAU,SACVC,SAAU,QACVC,IAAK,MACLC,KAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FreeFocusInside.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as constants from 'focus-lock/constants';\nimport { inlineProp } from './util';\n\nvar FreeFocusInside = function FreeFocusInside(_ref) {\n var children = _ref.children,\n className = _ref.className;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, inlineProp(constants.FOCUS_ALLOW, true), {\n className: className\n }), children);\n};\n\nFreeFocusInside.propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node.isRequired,\n className: PropTypes.string\n} : {};\nFreeFocusInside.defaultProps = {\n className: undefined\n};\nexport default FreeFocusInside;"],"names":["process","env","NODE_ENV","PropTypes","node","isRequired","string"],"mappings":"qIAcqD,eAAzBA,QAAQC,IAAIC,WAC5BC,EAAAA,QAAUC,KAAKC,WACdF,EAAS,QAACG"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/extends.js"),o=require("react"),t=require("prop-types"),r=require("../../../focus-lock/dist/es2015/constants.js"),s=require("../../../use-callback-ref/dist/es2015/useMergeRef.js"),n=require("./FocusGuard.js"),u=require("./medium.js");function c(e){if(e&&e.__esModule)return e;var o=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})),o.default=e,Object.freeze(o)}var i=c(o),a=[],d=i.forwardRef((function(t,c){var d,l=i.useState(),f=l[0],v=l[1],b=i.useRef(),p=i.useRef(!1),m=i.useRef(null),F=t.children,h=t.disabled,y=t.noFocusGuards,O=t.persistentFocus,g=t.crossFrame,j=t.autoFocus,k=t.allowTextSelection,E=t.group,P=t.className,w=t.whiteList,x=t.hasPositiveIndices,C=t.shards,S=void 0===C?a:C,D=t.as,R=void 0===D?"div":D,q=t.lockProps,G=void 0===q?{}:q,N=t.sideCar,_=t.returnFocus,I=t.focusOptions,L=t.onActivation,T=t.onDeactivation,M=i.useState({})[0],A=i.useCallback((function(){m.current=m.current||document&&document.activeElement,b.current&&L&&L(b.current),p.current=!0}),[L]),B=i.useCallback((function(){p.current=!1,T&&T(b.current)}),[T]);o.useEffect((function(){h||(m.current=null)}),[]);var U=i.useCallback((function(e){var o=m.current;if(o&&o.focus){var t="function"==typeof _?_(o):_;if(t){var r="object"==typeof t?t:void 0;m.current=null,e?Promise.resolve().then((function(){return o.focus(r)})):o.focus(r)}}}),[_]),V=i.useCallback((function(e){p.current&&u.mediumFocus.useMedium(e)}),[]),z=u.mediumBlur.useMedium,H=i.useCallback((function(e){b.current!==e&&(b.current=e,v(e))}),[]);"production"!==process.env.NODE_ENV&&(void 0!==k&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),i.useEffect((function(){b.current||"string"==typeof R||console.error("FocusLock: could not obtain ref to internal node")}),[]));var J=e.default(((d={})[r.FOCUS_DISABLED]=h&&"disabled",d[r.FOCUS_GROUP]=E,d),G),K=!0!==y,Q=K&&"tail"!==y,W=s.useMergeRefs([c,H]);return i.createElement(i.Fragment,null,K&&[i.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:n.hiddenGuard}),x?i.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:n.hiddenGuard}):null],!h&&i.createElement(N,{id:M,sideCar:u.mediumSidecar,observed:f,disabled:h,persistentFocus:O,crossFrame:g,autoFocus:j,whiteList:w,shards:S,onActivation:A,onDeactivation:B,returnFocus:U,focusOptions:I}),i.createElement(R,e.default({ref:W},J,{className:P,onBlur:z,onFocus:V}),F),Q&&i.createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:n.hiddenGuard}))}));d.propTypes="production"!==process.env.NODE_ENV?{children:t.node,disabled:t.bool,returnFocus:t.oneOfType([t.bool,t.object,t.func]),focusOptions:t.object,noFocusGuards:t.bool,hasPositiveIndices:t.bool,allowTextSelection:t.bool,autoFocus:t.bool,persistentFocus:t.bool,crossFrame:t.bool,group:t.string,className:t.string,whiteList:t.func,shards:t.arrayOf(t.any),as:t.oneOfType([t.string,t.func,t.object]),lockProps:t.object,onActivation:t.func,onDeactivation:t.func,sideCar:t.any.isRequired}:{},d.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0},exports.default=d;
|
|
2
|
-
//# sourceMappingURL=Lock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Lock.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/Lock.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { node, bool, string, any, arrayOf, oneOfType, object, func } from 'prop-types';\nimport * as constants from 'focus-lock/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { useEffect } from 'react';\nimport { hiddenGuard } from './FocusGuard';\nimport { mediumFocus, mediumBlur, mediumSidecar } from './medium';\nvar emptyArray = [];\nvar FocusLock = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, parentRef) {\n var _extends2;\n\n var _React$useState = React.useState(),\n realObserved = _React$useState[0],\n setObserved = _React$useState[1];\n\n var observed = React.useRef();\n var isActive = React.useRef(false);\n var originalFocusedElement = React.useRef(null);\n var children = props.children,\n disabled = props.disabled,\n noFocusGuards = props.noFocusGuards,\n persistentFocus = props.persistentFocus,\n crossFrame = props.crossFrame,\n autoFocus = props.autoFocus,\n allowTextSelection = props.allowTextSelection,\n group = props.group,\n className = props.className,\n whiteList = props.whiteList,\n hasPositiveIndices = props.hasPositiveIndices,\n _props$shards = props.shards,\n shards = _props$shards === void 0 ? emptyArray : _props$shards,\n _props$as = props.as,\n Container = _props$as === void 0 ? 'div' : _props$as,\n _props$lockProps = props.lockProps,\n containerProps = _props$lockProps === void 0 ? {} : _props$lockProps,\n SideCar = props.sideCar,\n shouldReturnFocus = props.returnFocus,\n focusOptions = props.focusOptions,\n onActivationCallback = props.onActivation,\n onDeactivationCallback = props.onDeactivation;\n\n var _React$useState2 = React.useState({}),\n id = _React$useState2[0]; // SIDE EFFECT CALLBACKS\n\n\n var onActivation = React.useCallback(function () {\n originalFocusedElement.current = originalFocusedElement.current || document && document.activeElement;\n\n if (observed.current && onActivationCallback) {\n onActivationCallback(observed.current);\n }\n\n isActive.current = true;\n }, [onActivationCallback]);\n var onDeactivation = React.useCallback(function () {\n isActive.current = false;\n\n if (onDeactivationCallback) {\n onDeactivationCallback(observed.current);\n }\n }, [onDeactivationCallback]);\n useEffect(function () {\n if (!disabled) {\n // cleanup return focus on trap deactivation\n // sideEffect/returnFocus should happen by this time\n originalFocusedElement.current = null;\n }\n }, []);\n var returnFocus = React.useCallback(function (allowDefer) {\n var returnFocusTo = originalFocusedElement.current;\n\n if (returnFocusTo && returnFocusTo.focus) {\n var howToReturnFocus = typeof shouldReturnFocus === 'function' ? shouldReturnFocus(returnFocusTo) : shouldReturnFocus;\n\n if (howToReturnFocus) {\n var returnFocusOptions = typeof howToReturnFocus === 'object' ? howToReturnFocus : undefined;\n originalFocusedElement.current = null;\n\n if (allowDefer) {\n // React might return focus after update\n // it's safer to defer the action\n Promise.resolve().then(function () {\n return returnFocusTo.focus(returnFocusOptions);\n });\n } else {\n returnFocusTo.focus(returnFocusOptions);\n }\n }\n }\n }, [shouldReturnFocus]); // MEDIUM CALLBACKS\n\n var onFocus = React.useCallback(function (event) {\n if (isActive.current) {\n mediumFocus.useMedium(event);\n }\n }, []);\n var onBlur = mediumBlur.useMedium; // REF PROPAGATION\n // not using real refs due to race conditions\n\n var setObserveNode = React.useCallback(function (newObserved) {\n if (observed.current !== newObserved) {\n observed.current = newObserved;\n setObserved(newObserved);\n }\n }, []);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof allowTextSelection !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn('React-Focus-Lock: allowTextSelection is deprecated and enabled by default');\n }\n\n React.useEffect(function () {\n // report incorrect integration - https://github.com/theKashey/react-focus-lock/issues/123\n if (!observed.current && typeof Container !== 'string') {\n // eslint-disable-next-line no-console\n console.error('FocusLock: could not obtain ref to internal node');\n }\n }, []);\n }\n\n var lockProps = _extends((_extends2 = {}, _extends2[constants.FOCUS_DISABLED] = disabled && 'disabled', _extends2[constants.FOCUS_GROUP] = group, _extends2), containerProps);\n\n var hasLeadingGuards = noFocusGuards !== true;\n var hasTailingGuards = hasLeadingGuards && noFocusGuards !== 'tail';\n var mergedRef = useMergeRefs([parentRef, setObserveNode]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, hasLeadingGuards && [\n /*#__PURE__*/\n // nearest focus guard\n React.createElement(\"div\", {\n key: \"guard-first\",\n \"data-focus-guard\": true,\n tabIndex: disabled ? -1 : 0,\n style: hiddenGuard\n }), // first tabbed element guard\n hasPositiveIndices ? /*#__PURE__*/React.createElement(\"div\", {\n key: \"guard-nearest\",\n \"data-focus-guard\": true,\n tabIndex: disabled ? -1 : 1,\n style: hiddenGuard\n }) : null], !disabled && /*#__PURE__*/React.createElement(SideCar, {\n id: id,\n sideCar: mediumSidecar,\n observed: realObserved,\n disabled: disabled,\n persistentFocus: persistentFocus,\n crossFrame: crossFrame,\n autoFocus: autoFocus,\n whiteList: whiteList,\n shards: shards,\n onActivation: onActivation,\n onDeactivation: onDeactivation,\n returnFocus: returnFocus,\n focusOptions: focusOptions\n }), /*#__PURE__*/React.createElement(Container, _extends({\n ref: mergedRef\n }, lockProps, {\n className: className,\n onBlur: onBlur,\n onFocus: onFocus\n }), children), hasTailingGuards && /*#__PURE__*/React.createElement(\"div\", {\n \"data-focus-guard\": true,\n tabIndex: disabled ? -1 : 0,\n style: hiddenGuard\n }));\n});\nFocusLock.propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: node,\n disabled: bool,\n returnFocus: oneOfType([bool, object, func]),\n focusOptions: object,\n noFocusGuards: bool,\n hasPositiveIndices: bool,\n allowTextSelection: bool,\n autoFocus: bool,\n persistentFocus: bool,\n crossFrame: bool,\n group: string,\n className: string,\n whiteList: func,\n shards: arrayOf(any),\n as: oneOfType([string, func, object]),\n lockProps: object,\n onActivation: func,\n onDeactivation: func,\n sideCar: any.isRequired\n} : {};\nFocusLock.defaultProps = {\n children: undefined,\n disabled: false,\n returnFocus: false,\n focusOptions: undefined,\n noFocusGuards: false,\n autoFocus: true,\n persistentFocus: false,\n crossFrame: true,\n hasPositiveIndices: undefined,\n allowTextSelection: undefined,\n group: undefined,\n className: undefined,\n whiteList: undefined,\n shards: undefined,\n as: 'div',\n lockProps: {},\n onActivation: undefined,\n onDeactivation: undefined\n};\nexport default FocusLock;"],"names":["emptyArray","FocusLock","React","forwardRef","props","parentRef","_extends2","_React$useState","useState","realObserved","setObserved","observed","useRef","isActive","originalFocusedElement","children","disabled","noFocusGuards","persistentFocus","crossFrame","autoFocus","allowTextSelection","group","className","whiteList","hasPositiveIndices","_props$shards","shards","_props$as","as","Container","_props$lockProps","lockProps","containerProps","SideCar","sideCar","shouldReturnFocus","returnFocus","focusOptions","onActivationCallback","onActivation","onDeactivationCallback","onDeactivation","id","useCallback","current","document","activeElement","useEffect","allowDefer","returnFocusTo","focus","howToReturnFocus","returnFocusOptions","undefined","Promise","resolve","then","onFocus","event","mediumFocus","useMedium","onBlur","mediumBlur","setObserveNode","newObserved","process","env","NODE_ENV","console","warn","error","_extends","constants.FOCUS_DISABLED","constants.FOCUS_GROUP","FOCUS_GROUP","hasLeadingGuards","hasTailingGuards","mergedRef","useMergeRefs","createElement","Fragment","key","tabIndex","style","hiddenGuard","mediumSidecar","ref","propTypes","node","bool","oneOfType","object","func","string","arrayOf","any","isRequired","defaultProps"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";require("react");var e=require("prop-types");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./medium.js");var t=r(e);"production"===process.env.NODE_ENV||(t.default.node.isRequired,t.default.bool,t.default.string);
|
|
2
|
-
//# sourceMappingURL=MoveFocusInside.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MoveFocusInside.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as constants from 'focus-lock/constants';\nimport { inlineProp } from './util';\nimport { mediumEffect } from './medium';\nexport var useFocusInside = function useFocusInside(observedRef) {\n React.useEffect(function () {\n var enabled = true;\n mediumEffect.useMedium(function (car) {\n var observed = observedRef && observedRef.current;\n\n if (enabled && observed) {\n if (!car.focusInside(observed)) {\n car.moveFocusInside(observed, null);\n }\n }\n });\n return function () {\n enabled = false;\n };\n }, [observedRef]);\n};\n\nfunction MoveFocusInside(_ref) {\n var isDisabled = _ref.disabled,\n className = _ref.className,\n children = _ref.children;\n var ref = React.useRef(null);\n useFocusInside(isDisabled ? undefined : ref);\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, inlineProp(constants.FOCUS_AUTO, !isDisabled), {\n ref: ref,\n className: className\n }), children);\n}\n\nMoveFocusInside.propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node.isRequired,\n disabled: PropTypes.bool,\n className: PropTypes.string\n} : {};\nMoveFocusInside.defaultProps = {\n disabled: false,\n className: undefined\n};\nexport default MoveFocusInside;"],"names":["process","env","NODE_ENV","PropTypes","node","isRequired","bool","string"],"mappings":"oKAoCqD,eAAzBA,QAAQC,IAAIC,WAC5BC,EAAAA,QAAUC,KAAKC,WACfF,EAAS,QAACG,KACTH,EAAS,QAACI"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("react");var e=require("prop-types"),n=require("../../../react-clientside-effect/lib/index.es.js"),t=require("../../../focus-lock/dist/es2015/focusInside.js"),u=require("../../../focus-lock/dist/es2015/focusIsHidden.js"),o=require("../../../focus-lock/dist/es2015/focusables.js"),r=require("../../../focus-lock/dist/es2015/setFocus.js"),i=require("./util.js"),c=require("./medium.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=s(e),a=function(){return document&&document.activeElement===document.body||u.focusIsHidden()},f=null,l=null,m=null,v=!1,p=function(){return!0};function b(e,n,t,u){var o=null,r=e;do{var i=u[r];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else{if(!i.lockItem)break;if(r!==e)return;o=null}}while((r+=t)!==n);o&&(o.node.tabIndex=0)}var E=function(e){return e&&"current"in e?e.current:e},g=function e(n,t,u){return t&&(t.host===n&&(!t.activeElement||u.contains(t.activeElement))||t.parentNode&&e(n,t.parentNode,u))},I=function(){var e,n=!1;if(f){var u=f,i=u.observed,c=u.persistentFocus,s=u.autoFocus,d=u.shards,I=u.crossFrame,j=u.focusOptions,q=i||m&&m.portaledElement,F=document&&document.activeElement;if(q){var h=[q].concat(d.map(E).filter(Boolean));if(F&&!function(e){return(f.whiteList||p)(e)}(F)||(c||(I?Boolean(v):"meanwhile"===v)||!a()||!l&&s)&&(q&&!(t.focusInside(h)||F&&function(e,n){return n.some((function(n){return g(e,n,n)}))}(F,h)||(e=F,m&&m.portaledElement===e))&&(document&&!l&&F&&!s?(F.blur&&F.blur(),document.body.focus()):(n=r.setFocus(h,l,{focusOptions:j}),m={})),v=!1,l=document&&document.activeElement),document){var w=document&&document.activeElement,L=o.getFocusabledIn(h),k=L.map((function(e){return e.node})).indexOf(w);k>-1&&(L.filter((function(e){var n=e.guard,t=e.node;return n&&t.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),b(k,L.length,1,L),b(k,-1,-1,L))}}}return n},j=function(e){I()&&e&&(e.stopPropagation(),e.preventDefault())},q=function(){return i.deferAction(I)};"production"===process.env.NODE_ENV||d.default.node.isRequired;var F=function(){v="just",setTimeout((function(){v="meanwhile"}),0)};c.mediumFocus.assignSyncMedium((function(e){var n=e.target,t=e.currentTarget;t.contains(n)||(m={observerNode:t,portaledElement:n})})),c.mediumBlur.assignMedium(q),c.mediumEffect.assignMedium((function(e){return e({moveFocusInside:r.setFocus,focusInside:t.focusInside})}));var h=n.default((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var n=e.slice(-1)[0];n&&!f&&(document.addEventListener("focusin",j),document.addEventListener("focusout",q),window.addEventListener("blur",F));var t=f,u=t&&n&&n.id===t.id;f=n,t&&!u&&(t.onDeactivation(),e.filter((function(e){return e.id===t.id})).length||t.returnFocus(!n)),n?(l=null,u&&t.observed===n.observed||n.onActivation(),I(),i.deferAction(I)):(document.removeEventListener("focusin",j),document.removeEventListener("focusout",q),window.removeEventListener("blur",F),l=null)}))((function(){return null}));exports.default=h;
|
|
2
|
-
//# sourceMappingURL=Trap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Trap.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/Trap.js"],"sourcesContent":["/* eslint-disable no-mixed-operators */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport withSideEffect from 'react-clientside-effect';\nimport moveFocusInside, { focusInside, focusIsHidden, getFocusabledIn } from 'focus-lock';\nimport { deferAction } from './util';\nimport { mediumFocus, mediumBlur, mediumEffect } from './medium';\n\nvar focusOnBody = function focusOnBody() {\n return document && document.activeElement === document.body;\n};\n\nvar isFreeFocus = function isFreeFocus() {\n return focusOnBody() || focusIsHidden();\n};\n\nvar lastActiveTrap = null;\nvar lastActiveFocus = null;\nvar lastPortaledElement = null;\nvar focusWasOutsideWindow = false;\n\nvar defaultWhitelist = function defaultWhitelist() {\n return true;\n};\n\nvar focusWhitelisted = function focusWhitelisted(activeElement) {\n return (lastActiveTrap.whiteList || defaultWhitelist)(activeElement);\n};\n\nvar recordPortal = function recordPortal(observerNode, portaledElement) {\n lastPortaledElement = {\n observerNode: observerNode,\n portaledElement: portaledElement\n };\n};\n\nvar focusIsPortaledPair = function focusIsPortaledPair(element) {\n return lastPortaledElement && lastPortaledElement.portaledElement === element;\n};\n\nfunction autoGuard(startIndex, end, step, allNodes) {\n var lastGuard = null;\n var i = startIndex;\n\n do {\n var item = allNodes[i];\n\n if (item.guard) {\n if (item.node.dataset.focusAutoGuard) {\n lastGuard = item;\n }\n } else if (item.lockItem) {\n if (i !== startIndex) {\n // we will tab to the next element\n return;\n }\n\n lastGuard = null;\n } else {\n break;\n }\n } while ((i += step) !== end);\n\n if (lastGuard) {\n lastGuard.node.tabIndex = 0;\n }\n}\n\nvar extractRef = function extractRef(ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\n\nvar focusWasOutside = function focusWasOutside(crossFrameOption) {\n if (crossFrameOption) {\n // with cross frame return true for any value\n return Boolean(focusWasOutsideWindow);\n } // in other case return only of focus went a while aho\n\n\n return focusWasOutsideWindow === 'meanwhile';\n};\n\nvar checkInHost = function checkInHost(check, el, boundary) {\n return el && ( // find host equal to active element and check nested active element\n el.host === check && (!el.activeElement || boundary.contains(el.activeElement)) // dive up\n || el.parentNode && checkInHost(check, el.parentNode, boundary));\n};\n\nvar withinHost = function withinHost(activeElement, workingArea) {\n return workingArea.some(function (area) {\n return checkInHost(activeElement, area, area);\n });\n};\n\nvar activateTrap = function activateTrap() {\n var result = false;\n\n if (lastActiveTrap) {\n var _lastActiveTrap = lastActiveTrap,\n observed = _lastActiveTrap.observed,\n persistentFocus = _lastActiveTrap.persistentFocus,\n autoFocus = _lastActiveTrap.autoFocus,\n shards = _lastActiveTrap.shards,\n crossFrame = _lastActiveTrap.crossFrame,\n focusOptions = _lastActiveTrap.focusOptions;\n var workingNode = observed || lastPortaledElement && lastPortaledElement.portaledElement;\n var activeElement = document && document.activeElement;\n\n if (workingNode) {\n var workingArea = [workingNode].concat(shards.map(extractRef).filter(Boolean));\n\n if (!activeElement || focusWhitelisted(activeElement)) {\n if (persistentFocus || focusWasOutside(crossFrame) || !isFreeFocus() || !lastActiveFocus && autoFocus) {\n if (workingNode && !( // active element is \"inside\" working area\n focusInside(workingArea) || // check for shadow-dom contained elements\n activeElement && withinHost(activeElement, workingArea) || focusIsPortaledPair(activeElement, workingNode))) {\n if (document && !lastActiveFocus && activeElement && !autoFocus) {\n // Check if blur() exists, which is missing on certain elements on IE\n if (activeElement.blur) {\n activeElement.blur();\n }\n\n document.body.focus();\n } else {\n result = moveFocusInside(workingArea, lastActiveFocus, {\n focusOptions: focusOptions\n });\n lastPortaledElement = {};\n }\n }\n\n focusWasOutsideWindow = false;\n lastActiveFocus = document && document.activeElement;\n }\n }\n\n if (document) {\n var newActiveElement = document && document.activeElement;\n var allNodes = getFocusabledIn(workingArea);\n var focusedIndex = allNodes.map(function (_ref) {\n var node = _ref.node;\n return node;\n }).indexOf(newActiveElement);\n\n if (focusedIndex > -1) {\n // remove old focus\n allNodes.filter(function (_ref2) {\n var guard = _ref2.guard,\n node = _ref2.node;\n return guard && node.dataset.focusAutoGuard;\n }).forEach(function (_ref3) {\n var node = _ref3.node;\n return node.removeAttribute('tabIndex');\n });\n autoGuard(focusedIndex, allNodes.length, +1, allNodes);\n autoGuard(focusedIndex, -1, -1, allNodes);\n }\n }\n }\n }\n\n return result;\n};\n\nvar onTrap = function onTrap(event) {\n if (activateTrap() && event) {\n // prevent scroll jump\n event.stopPropagation();\n event.preventDefault();\n }\n};\n\nvar onBlur = function onBlur() {\n return deferAction(activateTrap);\n};\n\nvar onFocus = function onFocus(event) {\n // detect portal\n var source = event.target;\n var currentNode = event.currentTarget;\n\n if (!currentNode.contains(source)) {\n recordPortal(currentNode, source);\n }\n};\n\nvar FocusWatcher = function FocusWatcher() {\n return null;\n};\n\nvar FocusTrap = function FocusTrap(_ref4) {\n var children = _ref4.children;\n return /*#__PURE__*/React.createElement(\"div\", {\n onBlur: onBlur,\n onFocus: onFocus\n }, children);\n};\n\nFocusTrap.propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node.isRequired\n} : {};\n\nvar onWindowBlur = function onWindowBlur() {\n focusWasOutsideWindow = 'just'; // using setTimeout to set this variable after React/sidecar reaction\n\n setTimeout(function () {\n focusWasOutsideWindow = 'meanwhile';\n }, 0);\n};\n\nvar attachHandler = function attachHandler() {\n document.addEventListener('focusin', onTrap);\n document.addEventListener('focusout', onBlur);\n window.addEventListener('blur', onWindowBlur);\n};\n\nvar detachHandler = function detachHandler() {\n document.removeEventListener('focusin', onTrap);\n document.removeEventListener('focusout', onBlur);\n window.removeEventListener('blur', onWindowBlur);\n};\n\nfunction reducePropsToState(propsList) {\n return propsList.filter(function (_ref5) {\n var disabled = _ref5.disabled;\n return !disabled;\n });\n}\n\nfunction handleStateChangeOnClient(traps) {\n var trap = traps.slice(-1)[0];\n\n if (trap && !lastActiveTrap) {\n attachHandler();\n }\n\n var lastTrap = lastActiveTrap;\n var sameTrap = lastTrap && trap && trap.id === lastTrap.id;\n lastActiveTrap = trap;\n\n if (lastTrap && !sameTrap) {\n lastTrap.onDeactivation(); // return focus only of last trap was removed\n\n if (!traps.filter(function (_ref6) {\n var id = _ref6.id;\n return id === lastTrap.id;\n }).length) {\n // allow defer is no other trap is awaiting restore\n lastTrap.returnFocus(!trap);\n }\n }\n\n if (trap) {\n lastActiveFocus = null;\n\n if (!sameTrap || lastTrap.observed !== trap.observed) {\n trap.onActivation();\n }\n\n activateTrap(true);\n deferAction(activateTrap);\n } else {\n detachHandler();\n lastActiveFocus = null;\n }\n} // bind medium\n\n\nmediumFocus.assignSyncMedium(onFocus);\nmediumBlur.assignMedium(onBlur);\nmediumEffect.assignMedium(function (cb) {\n return cb({\n moveFocusInside: moveFocusInside,\n focusInside: focusInside\n });\n});\nexport default withSideEffect(reducePropsToState, handleStateChangeOnClient)(FocusWatcher);"],"names":["isFreeFocus","document","activeElement","body","focusIsHidden","lastActiveTrap","lastActiveFocus","lastPortaledElement","focusWasOutsideWindow","defaultWhitelist","autoGuard","startIndex","end","step","allNodes","lastGuard","i","item","guard","node","dataset","focusAutoGuard","lockItem","tabIndex","extractRef","ref","current","checkInHost","check","el","boundary","host","contains","parentNode","activateTrap","element","result","_lastActiveTrap","observed","persistentFocus","autoFocus","shards","crossFrame","focusOptions","workingNode","portaledElement","workingArea","concat","map","filter","Boolean","whiteList","focusWhitelisted","focusInside","some","area","withinHost","blur","focus","moveFocusInside","newActiveElement","getFocusabledIn","focusedIndex","_ref","indexOf","_ref2","forEach","_ref3","removeAttribute","length","onTrap","event","stopPropagation","preventDefault","onBlur","deferAction","process","env","NODE_ENV","PropTypes","isRequired","onWindowBlur","setTimeout","mediumFocus","assignSyncMedium","source","target","currentNode","currentTarget","observerNode","mediumBlur","assignMedium","mediumEffect","cb","setFocus","withSideEffect","propsList","_ref5","disabled","traps","trap","slice","addEventListener","window","lastTrap","sameTrap","id","onDeactivation","_ref6","returnFocus","onActivation","removeEventListener"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Combination.js"),r=require("./Lock.js");require("./AutoFocusInside.js"),require("./MoveFocusInside.js"),require("./FreeFocusInside.js"),require("./FocusGuard.js"),exports.default=e.default,exports.FocusLockUI=r.default;
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("react"),require("../../../detect-node-es/esm/node.js");var e=require("../../../use-sidecar/dist/es2015/medium.js"),r=e.createMedium({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),t=e.createMedium(),u=e.createMedium(),i=e.createSidecarMedium({async:!0});exports.mediumBlur=t,exports.mediumEffect=u,exports.mediumFocus=r,exports.mediumSidecar=i;
|
|
2
|
-
//# sourceMappingURL=medium.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"medium.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/medium.js"],"sourcesContent":["import { createMedium, createSidecarMedium } from 'use-sidecar';\nexport var mediumFocus = createMedium({}, function (_ref) {\n var target = _ref.target,\n currentTarget = _ref.currentTarget;\n return {\n target: target,\n currentTarget: currentTarget\n };\n});\nexport var mediumBlur = createMedium();\nexport var mediumEffect = createMedium();\nexport var mediumSidecar = createSidecarMedium({\n async: true // focus-lock sidecar is not required on the server\n // however, it might be required for JSDOM tests\n // ssr: true,\n\n});"],"names":["mediumFocus","createMedium","_ref","target","currentTarget","mediumBlur","mediumEffect","mediumSidecar","createSidecarMedium","async"],"mappings":"gMACWA,EAAcC,EAAYA,aAAC,IAAI,SAAUC,GAGlD,MAAO,CACLC,OAHWD,EAAKC,OAIhBC,cAHkBF,EAAKE,cAK3B,IACWC,EAAaJ,EAAAA,eACbK,EAAeL,EAAAA,eACfM,EAAgBC,EAAAA,oBAAoB,CAC7CC,OAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sources":["../../../../../../node_modules/react-focus-lock/dist/es2015/util.js"],"sourcesContent":["export function deferAction(action) {\n // Hidding setImmediate from Webpack to avoid inserting polyfill\n var _window = window,\n setImmediate = _window.setImmediate;\n\n if (typeof setImmediate !== 'undefined') {\n setImmediate(action);\n } else {\n setTimeout(action, 1);\n }\n}\nexport var inlineProp = function inlineProp(name, value) {\n var obj = {};\n obj[name] = value;\n return obj;\n};"],"names":["action","setImmediate","window","setTimeout"],"mappings":"wFAAO,SAAqBA,GAE1B,IACIC,EADUC,OACaD,kBAEC,IAAjBA,EACTA,EAAaD,GAEbG,WAAWH,EAAQ,EAEvB"}
|
package/lib/cjs/node_modules/react-intersection-observer/react-intersection-observer.modern.mjs.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},r.apply(this,arguments)}const i=new Map,n=new WeakMap;let s,o=0;function h(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(r=e.root,r?(n.has(r)||(o+=1,n.set(r,o.toString())),n.get(r)):"0"):e[t]}`;var r})).toString()}function l(e,t,r={},n=s){if(void 0===window.IntersectionObserver&&void 0!==n){const i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:o,observer:l,elements:a}=function(e){let t=h(e),r=i.get(t);if(!r){const n=new Map;let s;const o=new IntersectionObserver((t=>{t.forEach((t=>{var r;const i=t.isIntersecting&&s.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(r=n.get(t.target))||r.forEach((e=>{e(i,t)}))}))}),e);s=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:o,elements:n},i.set(t,r)}return r}(r);let c=a.get(e)||[];return a.has(e)||a.set(e,c),c.push(t),l.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(a.delete(e),l.unobserve(e)),0===a.size&&(l.disconnect(),i.delete(o))}}const a=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function c(e){return"function"!=typeof e.children}class p extends t.Component{constructor(e){super(e),this.node=null,this._unobserveCb=null,this.handleNode=e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()},this.handleChange=(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),c(this.props)||this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)},this.state={inView:!!e.initialInView,entry:void 0}}componentDidUpdate(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve(),this.node=null}observeNode(){if(!this.node||this.props.skip)return;const{threshold:e,root:t,rootMargin:r,trackVisibility:i,delay:n,fallbackInView:s}=this.props;this._unobserveCb=l(this.node,this.handleChange,{threshold:e,root:t,rootMargin:r,trackVisibility:i,delay:n},s)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){if(!c(this.props)){const{inView:e,entry:t}=this.state;return this.props.children({inView:e,entry:t,ref:this.handleNode})}const e=this.props,{children:i,as:n}=e,s=function(e,t){if(null==e)return{};var r,i,n={},s=Object.keys(e);for(i=0;i<s.length;i++)r=s[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,a);return t.createElement(n||"div",r({ref:this.handleNode},s),i)}}exports.InView=p,exports.observe=l;
|
|
2
|
-
//# sourceMappingURL=react-intersection-observer.modern.mjs.js.map
|