Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

illustration / add move 2d #251

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<template>
<g>
<rect
x="36.5"
y="19.5"
width="128"
height="108"
fill="#F2F2F2"
stroke="#9E9E9E"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M117.882 39H74V98.7199H106.659V82.6722H129V66.5853H117.882V39ZM77.5005 57.1138V42.5005H96.8326V57.1138H93.2984L90.8496 52.8606L89.9386 53.3851L92.4274 57.7077V59.2116L96.8326 59.2116V69.8051H98.9303V59.2116H98.9303V57.1138H98.9303V42.5005H114.381V70.0857H125.5V79.1717H103.283V79.1399H97.7172L95.1147 74.6198L94.2037 75.1443L96.7802 79.6192L96.7802 81.2376L103.159 81.2376V95.2194H77.5005V81.2376L90.8016 81.2376V79.1399H77.5005V59.2116L86.4488 59.2116V57.1138H77.5005Z"
fill="#2F374A"
/>
<rect
x="82.1608"
y="85.9082"
width="15.9102"
height="5.45814"
fill="#F8C62C"
/>
<path
d="M30.6003 169.558H30.1824C21.0753 169.558 13.5555 162.038 13.5555 152.93V138.978C13.5555 129.87 21.0753 122.35 30.1824 122.35H30.6003C39.7075 122.35 47.2274 129.87 47.2274 138.978V152.93C47.2274 162.038 39.7075 169.558 30.6003 169.558Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M29.6811 170.561H31.3522C40.7937 170.561 48.4806 162.957 48.397 153.516V138.309C48.397 128.951 40.7937 121.264 31.3522 121.264H29.6811C20.3232 121.264 12.6363 128.867 12.6363 138.309V153.516C12.6363 162.873 20.2396 170.561 29.6811 170.561ZM15.1429 138.225C15.1429 130.204 21.66 123.687 29.6811 123.687H31.3522C39.3733 123.687 45.8904 130.204 45.8904 138.225V153.432C45.8904 161.453 39.3733 167.97 31.3522 167.97H29.6811C21.66 167.97 15.1429 161.453 15.1429 153.432V138.225Z"
fill="#30374B"
/>
<path
d="M30.6838 143.573C29.7647 143.573 29.0128 142.82 29.0128 141.901V136.972C29.0128 136.053 29.7647 135.301 30.6838 135.301C31.6029 135.301 32.3549 136.053 32.3549 136.972V141.901C32.3549 142.82 31.6029 143.573 30.6838 143.573Z"
fill="#30374B"
/>
<path
d="M18.6521 121.348C18.0673 121.348 17.566 120.846 17.566 120.261V111.906C17.566 111.321 18.0673 110.82 18.6521 110.82C19.237 110.82 19.7383 111.321 19.7383 111.906V120.261C19.7383 120.846 19.237 121.348 18.6521 121.348Z"
fill="#F8C62C"
/>
<path
d="M12.3857 128.199C12.3857 128.784 11.8844 129.285 11.2995 129.285H2.94422C2.35935 129.285 1.85803 128.784 1.85803 128.199C1.85803 127.614 2.35935 127.113 2.94422 127.113H11.2995C11.8844 127.113 12.3857 127.614 12.3857 128.199Z"
fill="#F8C62C"
/>
<path
d="M14.8922 123.854C14.4745 124.272 13.7225 124.272 13.3048 123.854L5.95208 116.501C5.53432 116.084 5.53432 115.332 5.95208 114.914C6.36985 114.496 7.12183 114.496 7.53959 114.914L14.8922 122.267C15.3101 122.684 15.3101 123.436 14.8922 123.854Z"
fill="#F8C62C"
/>
<path
d="M69.2688 144.909H64.0885V139.729H61.7491V144.909H56.6524V147.166H61.7491V152.346H64.0885V147.166H69.2688V144.909Z"
fill="#F8C62C"
/>
<path
d="M128.474 144.909H123.294V139.729H120.955V144.909H115.858V147.166H120.955V152.346H123.294V147.166H128.474V144.909Z"
fill="#F8C62C"
/>
<rect
x="76.2611"
y="138.474"
width="32.6048"
height="15.5848"
rx="3"
fill="#F2F2F2"
/>
<rect
x="82.6672"
y="146.235"
width="5.04505"
height="2.77423"
fill="#2F374A"
/>
<path
d="M85.1898 143.523L89.6768 146.235H80.7027L85.1898 143.523Z"
fill="#2F374A"
/>
<path
d="M168.186 169.558H167.768C158.661 169.558 151.141 162.038 151.141 152.93V138.978C151.141 129.87 158.661 122.35 167.768 122.35H168.186C177.293 122.35 184.813 129.87 184.813 138.978V152.93C184.813 162.038 177.293 169.558 168.186 169.558Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M167.1 170.561H168.771C178.212 170.561 185.899 162.957 185.816 153.516V138.309C185.816 128.951 178.212 121.264 168.771 121.264H167.1C157.742 121.264 150.055 128.867 150.055 138.309V153.516C150.055 162.873 157.658 170.561 167.1 170.561ZM152.562 138.225C152.562 130.204 159.078 123.687 167.1 123.687H168.771C176.792 123.687 183.309 130.204 183.309 138.225V153.432C183.309 161.453 176.792 167.97 168.771 167.97H167.1C159.078 167.97 152.562 161.453 152.562 153.432V138.225Z"
fill="#30374B"
/>
<path
d="M168.102 143.573C167.183 143.573 166.432 142.82 166.432 141.901V136.972C166.432 136.053 167.183 135.301 168.102 135.301C169.021 135.301 169.774 136.053 169.774 136.972V141.901C169.774 142.82 169.021 143.573 168.102 143.573Z"
fill="#30374B"
/>
<path
d="M139.654 146.08L145.503 140.231C146.005 139.729 146.005 138.978 145.503 138.476C145.002 137.975 144.25 137.975 143.748 138.476L137.064 145.161C136.814 145.411 136.729 145.745 136.729 146.08C136.729 146.414 136.814 146.747 137.064 146.998L143.748 153.683C144.25 154.184 145.002 154.184 145.503 153.683C146.005 153.182 146.005 152.429 145.503 151.928L139.654 146.08Z"
fill="#F8C62C"
/>
<path
d="M196.217 146.079L190.368 151.928C189.867 152.429 189.867 153.181 190.368 153.682C190.87 154.184 191.621 154.184 192.123 153.682L198.808 146.998C199.058 146.748 199.142 146.413 199.142 146.079C199.142 145.745 199.058 145.411 198.808 145.16L192.123 138.475C191.621 137.975 190.87 137.975 190.368 138.475C189.867 138.977 189.867 139.73 190.368 140.23L196.217 146.079Z"
fill="#F8C62C"
/>
<path
d="M114.327 75L114 103.41L121.197 96.1929L132.21 96.9948L114.327 75Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M114.084 103.41L114 75L132.21 96.7253L121.267 95.0541L114.084 103.41ZM116.339 81.2669L116.422 97.2266L120.432 92.5474L126.613 93.4665L116.339 81.2669Z"
fill="black"
/>
</g>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -22,89 +22,67 @@
fill="#F8C62C"
/>
<path
d="M30.6003 169.558H30.1824C21.0753 169.558 13.5555 162.038 13.5555 152.93V138.978C13.5555 129.87 21.0753 122.35 30.1824 122.35H30.6003C39.7075 122.35 47.2274 129.87 47.2274 138.978V152.93C47.2274 162.038 39.7075 169.558 30.6003 169.558Z"
d="M114.327 75L114 103.41L121.197 96.1929L132.21 96.9948L114.327 75Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M29.6811 170.561H31.3522C40.7937 170.561 48.4806 162.957 48.397 153.516V138.309C48.397 128.951 40.7937 121.264 31.3522 121.264H29.6811C20.3232 121.264 12.6363 128.867 12.6363 138.309V153.516C12.6363 162.873 20.2396 170.561 29.6811 170.561ZM15.1429 138.225C15.1429 130.204 21.66 123.687 29.6811 123.687H31.3522C39.3733 123.687 45.8904 130.204 45.8904 138.225V153.432C45.8904 161.453 39.3733 167.97 31.3522 167.97H29.6811C21.66 167.97 15.1429 161.453 15.1429 153.432V138.225Z"
d="M114.084 103.41L114 75L132.21 96.7253L121.267 95.0541L114.084 103.41ZM116.339 81.2669L116.422 97.2266L120.432 92.5474L126.613 93.4665L116.339 81.2669Z"
fill="black"
/>
<path
d="M135.563 166.214H135.069C124.304 166.214 115.416 157.474 115.416 146.889V130.67C115.416 120.084 124.304 111.344 135.069 111.344H135.563C146.328 111.344 155.216 120.084 155.216 130.67V146.889C155.216 157.474 146.426 166.214 135.563 166.214Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M115.416 146.312C115.416 157.286 124.343 166.214 135.316 166.214C146.289 166.214 155.216 157.193 155.216 146.312V131.246C155.216 120.272 146.289 111.344 135.316 111.344C124.343 111.344 115.416 120.272 115.416 131.246V146.312ZM118.206 131.153C118.206 121.76 125.831 114.041 135.316 114.041C144.708 114.041 152.426 121.667 152.426 131.153V146.219C152.426 155.612 144.801 163.33 135.316 163.33C125.924 163.33 118.206 155.705 118.206 146.219V131.153Z"
fill="#30374B"
/>
<path
d="M30.6838 143.573C29.7647 143.573 29.0128 142.82 29.0128 141.901V136.972C29.0128 136.053 29.7647 135.301 30.6838 135.301C31.6029 135.301 32.3549 136.053 32.3549 136.972V141.901C32.3549 142.82 31.6029 143.573 30.6838 143.573Z"
d="M135 137.613C133.91 137.613 133.018 136.721 133.018 135.631V131.27C133.018 130.179 133.91 129.288 135 129.288C136.091 129.288 136.983 130.179 136.983 131.27V135.631C136.983 136.721 136.091 137.613 135 137.613Z"
fill="#30374B"
/>
<path
d="M18.6521 121.348C18.0673 121.348 17.566 120.846 17.566 120.261V111.906C17.566 111.321 18.0673 110.82 18.6521 110.82C19.237 110.82 19.7383 111.321 19.7383 111.906V120.261C19.7383 120.846 19.237 121.348 18.6521 121.348Z"
fill="#F8C62C"
d="M135 127.206C133.91 127.206 133.018 126.314 133.018 125.224C133.018 124.134 133.91 123.242 135 123.242C136.091 123.242 136.983 124.134 136.983 125.224C136.983 126.314 136.091 127.206 135 127.206Z"
fill="#30374B"
/>
<path
d="M12.3857 128.199C12.3857 128.784 11.8844 129.285 11.2995 129.285H2.94422C2.35935 129.285 1.85803 128.784 1.85803 128.199C1.85803 127.614 2.35935 127.113 2.94422 127.113H11.2995C11.8844 127.113 12.3857 127.614 12.3857 128.199Z"
fill="#F8C62C"
d="M135 143.56C133.91 143.56 133.018 142.668 133.018 141.578C133.018 140.488 133.91 139.595 135 139.595C136.091 139.595 136.983 140.488 136.983 141.578C136.983 142.668 136.091 143.56 135 143.56Z"
fill="#30374B"
/>
<path
d="M14.8922 123.854C14.4745 124.272 13.7225 124.272 13.3048 123.854L5.95208 116.501C5.53432 116.084 5.53432 115.332 5.95208 114.914C6.36985 114.496 7.12183 114.496 7.53959 114.914L14.8922 122.267C15.3101 122.684 15.3101 123.436 14.8922 123.854Z"
d="M135 182.908L141.938 175.97C142.533 175.376 143.425 175.376 144.02 175.97C144.614 176.565 144.614 177.456 144.02 178.052L136.091 185.981C135.793 186.278 135.397 186.377 135 186.377C134.604 186.377 134.207 186.278 133.91 185.981L125.981 178.052C125.386 177.456 125.386 176.565 125.981 175.97C126.576 175.376 127.468 175.376 128.062 175.97L135 182.908Z"
fill="#F8C62C"
/>
<path
d="M69.2688 144.909H64.0885V139.729H61.7491V144.909H56.6524V147.166H61.7491V152.346H64.0885V147.166H69.2688V144.909Z"
d="M135 191.531L141.938 184.593C142.533 183.998 143.425 183.998 144.02 184.593C144.614 185.188 144.614 186.079 144.02 186.675L136.091 194.604C135.793 194.901 135.397 195 135 195C134.604 195 134.207 194.901 133.91 194.604L125.981 186.675C125.386 186.079 125.386 185.188 125.981 184.593C126.576 183.998 127.468 183.998 128.062 184.593L135 191.531Z"
fill="#F8C62C"
/>
<path
d="M128.474 144.909H123.294V139.729H120.955V144.909H115.858V147.166H120.955V152.346H123.294V147.166H128.474V144.909Z"
d="M104.213 151.909H99.033V146.729H96.6936V151.909H91.5969V154.166H96.6936V159.346H99.033V154.166H104.213V151.909Z"
fill="#F8C62C"
/>
<rect
x="76.2611"
y="138.474"
x="47"
y="145.474"
width="32.6048"
height="15.5848"
rx="3"
fill="#F2F2F2"
/>
<rect
x="82.6672"
y="146.235"
x="53.4061"
y="153.235"
width="5.04505"
height="2.77423"
fill="#2F374A"
/>
<path
d="M85.1898 143.523L89.6768 146.235H80.7027L85.1898 143.523Z"
d="M55.9286 150.523L60.4157 153.235H51.4416L55.9286 150.523Z"
fill="#2F374A"
/>
<path
d="M168.186 169.558H167.768C158.661 169.558 151.141 162.038 151.141 152.93V138.978C151.141 129.87 158.661 122.35 167.768 122.35H168.186C177.293 122.35 184.813 129.87 184.813 138.978V152.93C184.813 162.038 177.293 169.558 168.186 169.558Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M167.1 170.561H168.771C178.212 170.561 185.899 162.957 185.816 153.516V138.309C185.816 128.951 178.212 121.264 168.771 121.264H167.1C157.742 121.264 150.055 128.867 150.055 138.309V153.516C150.055 162.873 157.658 170.561 167.1 170.561ZM152.562 138.225C152.562 130.204 159.078 123.687 167.1 123.687H168.771C176.792 123.687 183.309 130.204 183.309 138.225V153.432C183.309 161.453 176.792 167.97 168.771 167.97H167.1C159.078 167.97 152.562 161.453 152.562 153.432V138.225Z"
fill="#30374B"
/>
<path
d="M168.102 143.573C167.183 143.573 166.432 142.82 166.432 141.901V136.972C166.432 136.053 167.183 135.301 168.102 135.301C169.021 135.301 169.774 136.053 169.774 136.972V141.901C169.774 142.82 169.021 143.573 168.102 143.573Z"
fill="#30374B"
/>
<path
d="M139.654 146.08L145.503 140.231C146.005 139.729 146.005 138.978 145.503 138.476C145.002 137.975 144.25 137.975 143.748 138.476L137.064 145.161C136.814 145.411 136.729 145.745 136.729 146.08C136.729 146.414 136.814 146.747 137.064 146.998L143.748 153.683C144.25 154.184 145.002 154.184 145.503 153.683C146.005 153.182 146.005 152.429 145.503 151.928L139.654 146.08Z"
fill="#F8C62C"
/>
<path
d="M196.217 146.079L190.368 151.928C189.867 152.429 189.867 153.181 190.368 153.682C190.87 154.184 191.621 154.184 192.123 153.682L198.808 146.998C199.058 146.748 199.142 146.413 199.142 146.079C199.142 145.745 199.058 145.411 198.808 145.16L192.123 138.475C191.621 137.975 190.87 137.975 190.368 138.475C189.867 138.977 189.867 139.73 190.368 140.23L196.217 146.079Z"
fill="#F8C62C"
/>
<path
d="M114.327 75L114 103.41L121.197 96.1929L132.21 96.9948L114.327 75Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M114.084 103.41L114 75L132.21 96.7253L121.267 95.0541L114.084 103.41ZM116.339 81.2669L116.422 97.2266L120.432 92.5474L126.613 93.4665L116.339 81.2669Z"
fill="black"
/>
</g>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import emptyPdf from "./EmptyPdf.vue";
import shortcutOpen from "./ShortcutOpen.vue";
import shortcutRotate from "./ShortcutRotate.vue";
import shortcutZoom from "./ShortcutZoom.vue";
import shortcutMove2D from "./ShortcutMove2D.vue";
import shortcutOpen2D from "./ShortcutOpen2D.vue";
import shortcutRotate2D from "./ShortcutRotate2D.vue";
import shortcutZoom2D from "./ShortcutZoom2D.vue";
Expand All @@ -30,6 +31,7 @@ export default {
shortcutOpen,
shortcutRotate,
shortcutZoom,
shortcutMove2D,
shortcutOpen2D,
shortcutRotate2D,
shortcutZoom2D,
Expand Down
5 changes: 5 additions & 0 deletions src/web/views/Components/Illustrations/Illustrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ export default Object.freeze([
x: "200",
y: "200",
},
{
name: "shortcutMove2D",
x: "200",
y: "200",
},
{
name: "shortcutOpen2D",
x: "200",
Expand Down