1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-21 09:50:13 -07:00
2021-02-11 01:23:43 +02:00

822 lines
40 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should match exact snapshot 1`] = `
<BrowserRouter>
<Router
history={
Object {
"action": "POP",
"block": [Function],
"createHref": [Function],
"go": [Function],
"goBack": [Function],
"goForward": [Function],
"length": 1,
"listen": [Function],
"location": Object {
"hash": "",
"pathname": "/",
"search": "",
"state": undefined,
},
"push": [Function],
"replace": [Function],
}
}
>
<ChooseAppOrScreenOverlay
handleClose={[Function]}
handleNextApplicationWindow={[Function]}
handleNextEntireScreen={[Function]}
isChooseAppOrScreenOverlayOpen={true}
isEntireScreenToShareChosen={true}
>
<Blueprint3.Dialog
autoFocus={true}
canEscapeKeyClose={true}
canOutsideClickClose={true}
className="makeStyles-dialogRoot-1 choose-app-or-screen-dialog"
enforceFocus={true}
hasBackdrop={true}
isOpen={true}
onClose={[Function]}
transitionDuration={0}
usePortal={true}
>
<Blueprint3.Overlay
autoFocus={true}
backdropProps={Object {}}
canEscapeKeyClose={true}
canOutsideClickClose={true}
className="bp3-overlay-scroll-container"
enforceFocus={true}
hasBackdrop={true}
isOpen={true}
lazy={true}
onClose={[Function]}
transitionDuration={0}
transitionName="bp3-overlay"
usePortal={true}
>
<Blueprint3.Portal
container={
<body
class="bp3-overlay-open"
>
<div
class="bp3-portal"
>
<div
class="bp3-overlay bp3-overlay-open bp3-overlay-scroll-container"
>
<div
class="bp3-overlay-backdrop bp3-overlay-appear bp3-overlay-appear-active"
tabindex="0"
/>
<div
class="bp3-dialog-container bp3-overlay-content bp3-overlay-appear bp3-overlay-appear-active"
tabindex="0"
>
<div
class="bp3-dialog makeStyles-dialogRoot-1 choose-app-or-screen-dialog"
>
<div
id="choose-app-or-screen-overlay-container"
style="min-height: 95%;"
>
<div
class="react-reveal"
style="position: fixed; z-index: 99999; width: 90%; padding-top: 0px; padding-left: 15px; padding-right: 15px;"
>
<div
class="bp3-card bp3-elevation-2"
style="padding: 10px; border-radius: 5px; height: 60px; width: 100%;"
>
<div
class="row middle-xs between-xs"
style="width: 100%;"
>
<div
class="col-xs-9"
>
<div>
<h3
class="bp3-heading"
style="margin-bottom: 0px;"
/>
</div>
</div>
<div
class="col-xs-2"
>
<button
class="bp3-button bp3-intent-warning"
style="border-radius: 100px;"
type="button"
>
<span
class="bp3-icon bp3-icon-refresh"
icon="refresh"
>
<svg
data-icon="refresh"
height="16"
viewBox="0 0 16 16"
width="16"
>
<desc>
refresh
</desc>
<path
d="M14.99 6.99c-.55 0-1 .45-1 1 0 3.31-2.69 6-6 6-1.77 0-3.36-.78-4.46-2h1.46c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-1.74a7.95 7.95 0 006 2.74c4.42 0 8-3.58 8-8 0-.55-.45-1-1-1zm0-7c-.55 0-1 .45-1 1v1.74a7.95 7.95 0 00-6-2.74c-4.42 0-8 3.58-8 8 0 .55.45 1 1 1s1-.45 1-1c0-3.31 2.69-6 6-6 1.77 0 3.36.78 4.46 2h-1.46c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1z"
fill-rule="evenodd"
/>
</svg>
</span>
</button>
</div>
<div
class="col-xs-1"
>
<button
class="bp3-button"
id="close-overlay-button"
style="border-radius: 100px; width: 40px; height: 40px;"
type="button"
>
<span
class="bp3-button-text"
>
<span
class="bp3-icon bp3-icon-cross"
icon="cross"
>
<svg
data-icon="cross"
height="30"
viewBox="0 0 20 20"
width="30"
>
<desc>
cross
</desc>
<path
d="M11.41 10l4.29-4.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-4.29-4.3a1.003 1.003 0 00-1.42 1.42L8.59 10 4.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.29-4.3 4.29 4.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10z"
fill-rule="evenodd"
/>
</svg>
</span>
</span>
</button>
</div>
</div>
</div>
</div>
<div
class="react-reveal"
>
<div
class="bp3-card bp3-elevation-0"
style="position: relative; z-index: 1; height: 100%;"
>
<div
class="row"
>
<div
class="makeStyles-sharePreviewsContainer-4"
>
<div
class="row center-xs around-xs"
style="height: 90%;"
/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
}
>
<Portal
containerInfo={
<div
class="bp3-portal"
>
<div
class="bp3-overlay bp3-overlay-open bp3-overlay-scroll-container"
>
<div
class="bp3-overlay-backdrop bp3-overlay-appear bp3-overlay-appear-active"
tabindex="0"
/>
<div
class="bp3-dialog-container bp3-overlay-content bp3-overlay-appear bp3-overlay-appear-active"
tabindex="0"
>
<div
class="bp3-dialog makeStyles-dialogRoot-1 choose-app-or-screen-dialog"
>
<div
id="choose-app-or-screen-overlay-container"
style="min-height: 95%;"
>
<div
class="react-reveal"
style="position: fixed; z-index: 99999; width: 90%; padding-top: 0px; padding-left: 15px; padding-right: 15px;"
>
<div
class="bp3-card bp3-elevation-2"
style="padding: 10px; border-radius: 5px; height: 60px; width: 100%;"
>
<div
class="row middle-xs between-xs"
style="width: 100%;"
>
<div
class="col-xs-9"
>
<div>
<h3
class="bp3-heading"
style="margin-bottom: 0px;"
/>
</div>
</div>
<div
class="col-xs-2"
>
<button
class="bp3-button bp3-intent-warning"
style="border-radius: 100px;"
type="button"
>
<span
class="bp3-icon bp3-icon-refresh"
icon="refresh"
>
<svg
data-icon="refresh"
height="16"
viewBox="0 0 16 16"
width="16"
>
<desc>
refresh
</desc>
<path
d="M14.99 6.99c-.55 0-1 .45-1 1 0 3.31-2.69 6-6 6-1.77 0-3.36-.78-4.46-2h1.46c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-1.74a7.95 7.95 0 006 2.74c4.42 0 8-3.58 8-8 0-.55-.45-1-1-1zm0-7c-.55 0-1 .45-1 1v1.74a7.95 7.95 0 00-6-2.74c-4.42 0-8 3.58-8 8 0 .55.45 1 1 1s1-.45 1-1c0-3.31 2.69-6 6-6 1.77 0 3.36.78 4.46 2h-1.46c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1z"
fill-rule="evenodd"
/>
</svg>
</span>
</button>
</div>
<div
class="col-xs-1"
>
<button
class="bp3-button"
id="close-overlay-button"
style="border-radius: 100px; width: 40px; height: 40px;"
type="button"
>
<span
class="bp3-button-text"
>
<span
class="bp3-icon bp3-icon-cross"
icon="cross"
>
<svg
data-icon="cross"
height="30"
viewBox="0 0 20 20"
width="30"
>
<desc>
cross
</desc>
<path
d="M11.41 10l4.29-4.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-4.29-4.3a1.003 1.003 0 00-1.42 1.42L8.59 10 4.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.29-4.3 4.29 4.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10z"
fill-rule="evenodd"
/>
</svg>
</span>
</span>
</button>
</div>
</div>
</div>
</div>
<div
class="react-reveal"
>
<div
class="bp3-card bp3-elevation-0"
style="position: relative; z-index: 1; height: 100%;"
>
<div
class="row"
>
<div
class="makeStyles-sharePreviewsContainer-4"
>
<div
class="row center-xs around-xs"
style="height: 90%;"
/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
}
>
<TransitionGroup
appear={true}
childFactory={[Function]}
className="bp3-overlay bp3-overlay-open bp3-overlay-scroll-container"
component="div"
onKeyDown={[Function]}
>
<div
className="bp3-overlay bp3-overlay-open bp3-overlay-scroll-container"
onKeyDown={[Function]}
>
<CSSTransition
addEndListener={[Function]}
appear={true}
classNames="bp3-overlay"
in={true}
key=".$__backdrop"
onExited={[Function]}
timeout={0}
>
<Transition
addEndListener={[Function]}
appear={true}
enter={true}
exit={true}
in={true}
mountOnEnter={false}
onEnter={[Function]}
onEntered={[Function]}
onEntering={[Function]}
onExit={[Function]}
onExited={[Function]}
onExiting={[Function]}
timeout={0}
unmountOnExit={false}
>
<div
className="bp3-overlay-backdrop"
onMouseDown={[Function]}
tabIndex={0}
/>
</Transition>
</CSSTransition>
<CSSTransition
addEndListener={[Function]}
appear={true}
classNames="bp3-overlay"
in={true}
key=".$.0"
onExited={[Function]}
timeout={0}
>
<Transition
addEndListener={[Function]}
appear={true}
enter={true}
exit={true}
in={true}
mountOnEnter={false}
onEnter={[Function]}
onEntered={[Function]}
onEntering={[Function]}
onExit={[Function]}
onExited={[Function]}
onExiting={[Function]}
timeout={0}
unmountOnExit={false}
>
<div
className="bp3-dialog-container bp3-overlay-content"
tabIndex={0}
>
<div
className="bp3-dialog makeStyles-dialogRoot-1 choose-app-or-screen-dialog"
>
<div
id="choose-app-or-screen-overlay-container"
style={
Object {
"minHeight": "95%",
}
}
>
<Fade
delay={0}
duration={0}
>
<RevealBase
fraction={0.2}
inEffect={
Object {
"count": 1,
"delay": 0,
"duration": 0,
"forever": undefined,
"make": [Function],
"reverse": undefined,
"style": Object {
"animationFillMode": "both",
},
}
}
outEffect={
Object {
"count": 1,
"delay": 0,
"duration": 0,
"forever": undefined,
"make": [Function],
"reverse": undefined,
"style": Object {
"animationFillMode": "both",
},
}
}
refProp="ref"
>
<div
className="react-reveal"
style={
Object {
"opacity": undefined,
"paddingLeft": "15px",
"paddingRight": "15px",
"paddingTop": "0px",
"position": "fixed",
"width": "90%",
"zIndex": 99999,
}
}
>
<Blueprint3.Card
elevation={2}
interactive={false}
style={
Object {
"borderRadius": "5px",
"height": "60px",
"padding": "10px",
"width": "100%",
}
}
>
<div
className="bp3-card bp3-elevation-2"
style={
Object {
"borderRadius": "5px",
"height": "60px",
"padding": "10px",
"width": "100%",
}
}
>
<Row
between="xs"
middle="xs"
style={
Object {
"width": "100%",
}
}
>
<div
className="row middle-xs between-xs"
style={
Object {
"width": "100%",
}
}
>
<Col
xs={9}
>
<div
className="col-xs-9"
>
<div>
<Component
style={
Object {
"marginBottom": "0px",
}
}
>
<h3
className="bp3-heading"
style={
Object {
"marginBottom": "0px",
}
}
/>
</Component>
</div>
</div>
</Col>
<Col
xs={2}
>
<div
className="col-xs-2"
>
<Blueprint3.Button
icon="refresh"
intent="warning"
onClick={[Function]}
style={
Object {
"borderRadius": "100px",
}
}
>
<button
className="bp3-button bp3-intent-warning"
onBlur={[Function]}
onClick={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
style={
Object {
"borderRadius": "100px",
}
}
type="button"
>
<Blueprint3.Icon
icon="refresh"
key="leftIcon"
>
<span
className="bp3-icon bp3-icon-refresh"
icon="refresh"
>
<svg
data-icon="refresh"
height={16}
viewBox="0 0 16 16"
width={16}
>
<desc>
refresh
</desc>
<path
d="M14.99 6.99c-.55 0-1 .45-1 1 0 3.31-2.69 6-6 6-1.77 0-3.36-.78-4.46-2h1.46c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-1.74a7.95 7.95 0 006 2.74c4.42 0 8-3.58 8-8 0-.55-.45-1-1-1zm0-7c-.55 0-1 .45-1 1v1.74a7.95 7.95 0 00-6-2.74c-4.42 0-8 3.58-8 8 0 .55.45 1 1 1s1-.45 1-1c0-3.31 2.69-6 6-6 1.77 0 3.36.78 4.46 2h-1.46c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1z"
fillRule="evenodd"
key="0"
/>
</svg>
</span>
</Blueprint3.Icon>
<Blueprint3.Icon
key="rightIcon"
/>
</button>
</Blueprint3.Button>
</div>
</Col>
<Col
xs={1}
>
<div
className="col-xs-1"
>
<CloseOverlayButton
onClick={[Function]}
style={
Object {
"borderRadius": "100px",
"height": "40px",
"width": "40px",
}
}
>
<Blueprint3.Button
className=""
id="close-overlay-button"
onClick={[Function]}
style={
Object {
"borderRadius": "100px",
"height": "40px",
"width": "40px",
}
}
>
<button
className="bp3-button"
id="close-overlay-button"
onBlur={[Function]}
onClick={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
style={
Object {
"borderRadius": "100px",
"height": "40px",
"width": "40px",
}
}
type="button"
>
<Blueprint3.Icon
key="leftIcon"
/>
<span
className="bp3-button-text"
key="text"
>
<Blueprint3.Icon
icon="cross"
iconSize={30}
>
<span
className="bp3-icon bp3-icon-cross"
icon="cross"
>
<svg
data-icon="cross"
height={30}
viewBox="0 0 20 20"
width={30}
>
<desc>
cross
</desc>
<path
d="M11.41 10l4.29-4.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-4.29-4.3a1.003 1.003 0 00-1.42 1.42L8.59 10 4.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.29-4.3 4.29 4.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10z"
fillRule="evenodd"
key="0"
/>
</svg>
</span>
</Blueprint3.Icon>
</span>
<Blueprint3.Icon
key="rightIcon"
/>
</button>
</Blueprint3.Button>
</CloseOverlayButton>
</div>
</Col>
</div>
</Row>
</div>
</Blueprint3.Card>
</div>
</RevealBase>
</Fade>
<Zoom
duration={0}
style={
Object {
"position": "relative",
"zIndex": "1",
}
}
>
<RevealBase
fraction={0.2}
inEffect={
Object {
"count": 1,
"delay": 0,
"duration": 0,
"forever": undefined,
"make": [Function],
"reverse": undefined,
"style": Object {
"animationFillMode": "both",
},
}
}
outEffect={
Object {
"count": 1,
"delay": 0,
"duration": 0,
"forever": undefined,
"make": [Function],
"reverse": undefined,
"style": Object {
"animationFillMode": "both",
},
}
}
refProp="ref"
style={
Object {
"position": "relative",
"zIndex": "1",
}
}
>
<div
className="react-reveal"
style={
Object {
"opacity": undefined,
}
}
>
<Blueprint3.Card
elevation={0}
interactive={false}
style={
Object {
"height": "100%",
"position": "relative",
"zIndex": 1,
}
}
>
<div
className="bp3-card bp3-elevation-0"
style={
Object {
"height": "100%",
"position": "relative",
"zIndex": 1,
}
}
>
<Row>
<div
className="row"
>
<div
className="makeStyles-sharePreviewsContainer-4"
>
<PreviewGridList
handleNextApplicationWindow={[Function]}
handleNextEntireScreen={[Function]}
isEntireScreen={true}
viewSharingObjectsMap={Map {}}
>
<Row
around="xs"
center="xs"
style={
Object {
"height": "90%",
}
}
>
<div
className="row center-xs around-xs"
style={
Object {
"height": "90%",
}
}
/>
</Row>
</PreviewGridList>
</div>
</div>
</Row>
</div>
</Blueprint3.Card>
</div>
</RevealBase>
</Zoom>
</div>
</div>
</div>
</Transition>
</CSSTransition>
</div>
</TransitionGroup>
</Portal>
</Blueprint3.Portal>
</Blueprint3.Overlay>
</Blueprint3.Dialog>
</ChooseAppOrScreenOverlay>
</Router>
</BrowserRouter>
`;