Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
initial commit
天舟9ae40d2a4a35
diff --git a/frontend/.gitignore b/frontend/.gitignorenew file mode 100644index 0000000000..f793532f56--- /dev/null+++ b/frontend/.gitignore@@ -0,0 +1,22 @@+.DS_Store+node_modules+/dist++# local env files+.env.local+.env.*.local++# Log files+npm-debug.log*+yarn-debug.log*+yarn-error.log*+pnpm-debug.log*++# Editor directories and files+.idea+#.vscode+*.suo+*.ntvs*+*.njsproj+*.sln+*.sw?diff --git a/frontend/index.html b/frontend/index.htmlnew file mode 100644index 0000000000..7c1a5b3453--- /dev/null+++ b/frontend/index.html@@ -0,0 +1,14 @@+<!DOCTYPE html>+<html lang="en">+ <head>+ <meta charset="UTF-8" />+ <link rel="icon" type="image/png" href="/static/favicon.svg" />+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <link rel="stylesheet" href="https://rsms.me/inter/inter.css" />+ <title>Bytebase</title>+ </head>+ <body>+ <div id="app"></div>+ <script type="module" src="/src/main.js"></script>+ </body>+</html>diff --git a/frontend/package.json b/frontend/package.jsonnew file mode 100644index 0000000000..0d25327eaa--- /dev/null+++ b/frontend/package.json@@ -0,0 +1,30 @@+{+ "name": "bytebase",+ "version": "0.0.0",+ "license": "UNLICENSED",+ "scripts": {+ "dev": "vite",+ "build": "vite build"+ },+ "dependencies": {+ "@tailwindcss/forms": "^0.2.1",+ "autoprefixer": "^9",+ "axios": "^0.20.0",+ "faker": "^5.1.0",+ "focus-visible": "^5.2.0",+ "lodash-es": "^4.17.20",+ "miragejs": "^0.1.41",+ "moment": "^2.29.1",+ "postcss": "^7",+ "postcss-focus-visible": "^5.0.0",+ "tailwindcss": "npm:@tailwindcss/postcss7-compat",+ "vue": "^3.0.0",+ "vue-router": "^4.0.0-0",+ "vuex": "^4.0.0-beta.4"+ },+ "devDependencies": {+ "@types/lodash-es": "^4.17.4",+ "@vue/compiler-sfc": "^3.0.0-rc.1",+ "vite": "^1.0.0-rc.1"+ }+}diff --git a/frontend/postcss.config.js b/frontend/postcss.config.jsnew file mode 100644index 0000000000..22c0b8ff97--- /dev/null+++ b/frontend/postcss.config.js@@ -0,0 +1,9 @@+module.exports = {+ plugins: [+ // ...+ require("tailwindcss"),+ require("postcss-focus-visible"),+ require("autoprefixer"),+ // ...+ ],+};diff --git a/frontend/src/App.vue b/frontend/src/App.vuenew file mode 100644index 0000000000..84454e559c--- /dev/null+++ b/frontend/src/App.vue@@ -0,0 +1,15 @@+<template>+ <ProvideUser>+ <router-view />+ </ProvideUser>+</template>++<script lang="ts">+import ProvideUser from "./components/ProvideUser.vue";++export default {+ name: "App",+ components: { ProvideUser },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/assets/avatar.jpeg b/frontend/src/assets/avatar.jpegnew file mode 100644index 0000000000..b92c83e3b6Binary files /dev/null and b/frontend/src/assets/avatar.jpeg differdiff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.cssnew file mode 100644index 0000000000..6f6c371d48--- /dev/null+++ b/frontend/src/assets/css/tailwind.css@@ -0,0 +1,41 @@+:root {+ --color-accent: #111827;+ --color-accent-hover: #374151;+ --color-accent-text: #ffffff;++ --color-normal: #f5f7f9;+ --color-normal-hover: #9ca3af;+ --color-normal-text: #24292e;++ --color-error: #dc2626;+ --color-error-hover: #b91v1v;++ --color-link-hover: #e5e7eb;++ --color-block-border: #e5e7eb;+ --color-control-border: #d1d5db;+}++@tailwind base;+@tailwind components;+@tailwind utilities;++.btn-primary {+ @apply border border-transparent rounded-md text-accent-text bg-accent hover:bg-accent-hover disabled:bg-accent disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-accent focus:outline-none focus-visible:ring-2 focus:ring-offset-2;+}++.btn-normal {+ @apply border border-control-border rounded-md text-normal-text bg-normal hover:bg-normal-hover disabled:bg-normal disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-accent focus:outline-none focus-visible:ring-2 focus:ring-offset-2;+}++.btn-danger {+ @apply border border-transparent rounded-md text-accent-text bg-error hover:bg-error-hover disabled:bg-error disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-accent focus:outline-none focus-visible:ring-2 focus:ring-offset-2;+}++.link {+ @apply text-normal-text hover:underline;+}++.sidebar-link {+ @apply text-normal-text hover:bg-link-hover text-sm leading-5 font-medium focus:outline-none;+}diff --git a/frontend/src/assets/logo-imageonly-blue.svg b/frontend/src/assets/logo-imageonly-blue.svgnew file mode 100644index 0000000000..91e35ea7f9--- /dev/null+++ b/frontend/src/assets/logo-imageonly-blue.svg@@ -0,0 +1,5 @@+<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M46.1905 152.505C29.9046 144.91 16.6497 132.054 8.56169 116.008C0.473636 99.9615 -1.97652 81.6593 1.60602 64.0506C5.18857 46.4418 14.5952 30.5519 28.3101 18.9414C42.025 7.33087 59.2495 0.675864 77.208 0.0487342C95.1666 -0.578395 112.813 4.85888 127.305 15.4844C141.796 26.11 152.288 41.3049 157.09 58.6209C161.893 75.9369 160.725 94.3654 153.776 110.937C146.827 127.508 134.501 141.258 118.785 149.97L80 80L46.1905 152.505Z" fill="#3B82F6"/>+<path d="M118.708 150.012C107.686 156.106 95.3806 159.511 82.7937 159.951C70.2068 160.391 57.694 157.853 46.2734 152.543L80 80L118.708 150.012Z" fill="white"/>+<path d="M35 47.0375L125.88 47.0375L125.88 85.4375C125.88 95.4215 123.533 102.931 118.84 107.965C114.232 113.086 108.259 115.646 100.92 115.646C96.2267 115.646 92.1307 114.494 88.632 112.19C85.2187 109.971 82.616 106.899 80.824 102.974C79.2027 107.24 76.6427 110.611 73.144 113.086C69.6453 115.646 65.5067 116.926 60.728 116.926C52.7067 116.926 46.392 114.366 41.784 109.246C37.2613 104.126 35 96.7442 35 87.1015L35 47.0375ZM109.112 65.2135L89.4 65.2135V85.3095C89.4 88.9788 90.2107 91.7948 91.832 93.7575C93.5387 95.8055 96.0133 96.8295 99.256 96.8295C102.157 96.8295 104.504 95.8482 106.296 93.8855C108.173 92.0082 109.112 89.1495 109.112 85.3095L109.112 65.2135ZM72.504 65.2135H51.768V86.5895C51.768 90.4295 52.664 93.2882 54.456 95.1655C56.248 97.1282 58.808 98.1095 62.136 98.1095C65.2933 98.1095 67.8107 97.1282 69.688 95.1655C71.5653 93.2882 72.504 90.4295 72.504 86.5895V65.2135Z" fill="white"/>+</svg>diff --git a/frontend/src/assets/logo-wordonly-black.svg b/frontend/src/assets/logo-wordonly-black.svgnew file mode 100644index 0000000000..fb8255299d--- /dev/null+++ b/frontend/src/assets/logo-wordonly-black.svg@@ -0,0 +1,3 @@+<svg width="554" height="125" viewBox="0 0 554 125" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M0.6 96V5.12H39C48.984 5.12 56.4933 7.46666 61.528 12.16C66.648 16.768 69.208 22.7413 69.208 30.08C69.208 34.7733 68.056 38.8693 65.752 42.368C63.5333 45.7813 60.4613 48.384 56.536 50.176C60.8027 51.7973 64.1733 54.3573 66.648 57.856C69.208 61.3547 70.488 65.4933 70.488 70.272C70.488 78.2933 67.928 84.608 62.808 89.216C57.688 93.7387 50.3067 96 40.664 96H0.6ZM18.776 21.888V41.6H38.872C42.5413 41.6 45.3573 40.7893 47.32 39.168C49.368 37.4613 50.392 34.9867 50.392 31.744C50.392 28.8427 49.4107 26.496 47.448 24.704C45.5707 22.8267 42.712 21.888 38.872 21.888H18.776ZM18.776 58.496V79.232H40.152C43.992 79.232 46.8507 78.336 48.728 76.544C50.6907 74.752 51.672 72.192 51.672 68.864C51.672 65.7067 50.6907 63.1893 48.728 61.312C46.8507 59.4347 43.992 58.496 40.152 58.496H18.776ZM76.125 28.928H95.453L111.581 73.728L127.837 28.928H146.781L117.725 101.504C114.482 109.611 110.6 115.371 106.077 118.784C101.554 122.283 96.1357 124.032 89.821 124.032C88.1997 124.032 86.365 123.904 84.317 123.648V108.032C85.341 108.203 86.493 108.288 87.773 108.288C90.845 108.288 93.4477 107.605 95.581 106.24C97.7143 104.96 99.5917 102.315 101.213 98.304L102.621 94.976L76.125 28.928ZM186.558 95.616C184.339 96.128 181.481 96.384 177.982 96.384C170.814 96.384 165.566 94.6347 162.238 91.136C158.995 87.6373 157.374 82.56 157.374 75.904V43.264H148.286V28.928H157.374V12.288H175.55V28.928H186.686V43.264H175.55V73.984C175.55 76.2027 176.062 77.8667 177.086 78.976C178.195 80 179.945 80.512 182.334 80.512C183.87 80.512 185.278 80.2987 186.558 79.872V95.616ZM256.605 77.952C254.045 84.096 250.162 88.9173 244.957 92.416C239.837 95.8293 233.522 97.536 226.013 97.536C219.442 97.536 213.597 96.0427 208.477 93.056C203.357 90.0693 199.346 85.9307 196.445 80.64C193.629 75.264 192.221 69.1627 192.221 62.336C192.221 55.7653 193.629 49.8347 196.445 44.544C199.346 39.168 203.357 34.9867 208.477 32C213.597 28.928 219.4 27.392 225.885 27.392C232.37 27.392 238.13 28.928 243.165 32C248.2 34.9867 252.125 39.168 254.941 44.544C257.757 49.8347 259.165 55.7653 259.165 62.336C259.165 64.2133 259.08 66.0053 258.909 67.712H210.269C210.866 72.32 212.573 75.8613 215.389 78.336C218.205 80.7253 221.917 81.92 226.525 81.92C229.597 81.92 232.285 81.28 234.589 80C236.893 78.72 238.642 76.7573 239.837 74.112L256.605 77.952ZM225.757 41.984C221.661 41.984 218.29 43.136 215.645 45.44C213 47.6587 211.293 50.7307 210.525 54.656H240.989C240.306 50.816 238.642 47.744 235.997 45.44C233.352 43.136 229.938 41.984 225.757 41.984ZM289.621 36.096C291.498 33.6213 294.144 31.5733 297.557 29.952C301.056 28.2453 305.024 27.392 309.461 27.392C315.776 27.392 321.237 28.9707 325.845 32.128C330.538 35.2 334.122 39.3813 336.597 44.672C339.072 49.9627 340.309 55.8933 340.309 62.464C340.309 69.0347 339.072 74.9653 336.597 80.256C334.122 85.5467 330.538 89.7707 325.845 92.928C321.237 96 315.776 97.536 309.461 97.536C304.768 97.536 300.586 96.6827 296.917 94.976C293.248 93.2693 290.346 90.88 288.213 87.808V96H271.445V-7.62939e-06H289.621V36.096ZM289.109 62.464C289.109 68.0107 290.602 72.576 293.589 76.16C296.661 79.744 300.672 81.536 305.621 81.536C310.57 81.536 314.538 79.744 317.525 76.16C320.597 72.576 322.133 68.0107 322.133 62.464C322.133 56.9173 320.597 52.352 317.525 48.768C314.538 45.184 310.57 43.392 305.621 43.392C300.672 43.392 296.661 45.184 293.589 48.768C290.602 52.352 289.109 56.9173 289.109 62.464ZM350.903 47.872C352.012 41.8987 354.956 36.992 359.735 33.152C364.599 29.312 371.596 27.392 380.727 27.392C390.455 27.392 397.794 29.568 402.743 33.92C407.692 38.272 410.167 44.416 410.167 52.352V78.336C410.167 81.2373 411.362 82.688 413.751 82.688C414.604 82.688 415.244 82.6453 415.671 82.56V96.384C414.647 96.7253 413.068 96.896 410.935 96.896C403.255 96.896 398.178 94.1227 395.703 88.576C390.156 94.5493 382.434 97.536 372.535 97.536C364.77 97.536 358.882 95.7013 354.871 92.032C350.946 88.3627 348.983 83.6267 348.983 77.824C348.983 65.9627 357.687 58.5813 375.095 55.68L392.887 52.736V52.224C392.887 45.6533 388.834 42.368 380.727 42.368C373.303 42.368 369.164 45.2693 368.311 51.072L350.903 47.872ZM376.887 68.608C373.218 69.2907 370.572 70.272 368.951 71.552C367.33 72.7467 366.519 74.368 366.519 76.416C366.519 78.72 367.287 80.4693 368.823 81.664C370.359 82.8587 372.962 83.456 376.631 83.456C381.836 83.456 385.847 82.0907 388.663 79.36C391.479 76.544 392.887 72.7893 392.887 68.096V65.664L376.887 68.608ZM439.998 73.856C440.169 76.5013 441.193 78.6773 443.07 80.384C444.947 82.0907 447.678 82.944 451.262 82.944C454.675 82.944 457.278 82.3893 459.07 81.28C460.862 80.1707 461.758 78.6773 461.758 76.8C461.758 74.8373 460.734 73.4293 458.686 72.576C456.723 71.7227 453.523 70.8693 449.086 70.016C444.137 69.1627 440.041 68.1813 436.798 67.072C433.555 65.8773 430.739 63.9147 428.35 61.184C425.961 58.368 424.766 54.4853 424.766 49.536C424.766 45.44 425.875 41.728 428.094 38.4C430.313 34.9867 433.427 32.2987 437.438 30.336C441.534 28.3733 446.27 27.392 451.646 27.392C460.094 27.392 466.494 29.3973 470.846 33.408C475.283 37.3333 477.971 42.0267 478.91 47.488L461.758 50.688C461.587 48.128 460.606 46.0373 458.814 44.416C457.107 42.7947 454.675 41.984 451.518 41.984C448.617 41.984 446.355 42.624 444.734 43.904C443.113 45.0987 442.302 46.6347 442.302 48.512C442.302 50.4747 443.283 51.8827 445.246 52.736C447.294 53.504 450.451 54.272 454.718 55.04C459.667 55.8933 463.763 56.8747 467.006 57.984C470.334 59.0933 473.193 61.0987 475.582 64C477.971 66.816 479.166 70.8267 479.166 76.032C479.166 80.128 478.014 83.7973 475.71 87.04C473.491 90.2827 470.249 92.8427 465.982 94.72C461.715 96.5973 456.638 97.536 450.75 97.536C441.534 97.536 434.622 95.616 430.014 91.776C425.491 87.936 422.803 82.816 421.95 76.416L439.998 73.856ZM551.355 77.952C548.795 84.096 544.912 88.9173 539.707 92.416C534.587 95.8293 528.272 97.536 520.763 97.536C514.192 97.536 508.347 96.0427 503.227 93.056C498.107 90.0693 494.096 85.9307 491.195 80.64C488.379 75.264 486.971 69.1627 486.971 62.336C486.971 55.7653 488.379 49.8347 491.195 44.544C494.096 39.168 498.107 34.9867 503.227 32C508.347 28.928 514.15 27.392 520.635 27.392C527.12 27.392 532.88 28.928 537.915 32C542.95 34.9867 546.875 39.168 549.691 44.544C552.507 49.8347 553.915 55.7653 553.915 62.336C553.915 64.2133 553.83 66.0053 553.659 67.712H505.019C505.616 72.32 507.323 75.8613 510.139 78.336C512.955 80.7253 516.667 81.92 521.275 81.92C524.347 81.92 527.035 81.28 529.339 80C531.643 78.72 533.392 76.7573 534.587 74.112L551.355 77.952ZM520.507 41.984C516.411 41.984 513.04 43.136 510.395 45.44C507.75 47.6587 506.043 50.7307 505.275 54.656H535.739C535.056 50.816 533.392 47.744 530.747 45.44C528.102 43.136 524.688 41.984 520.507 41.984Z" fill="black"/>+</svg>diff --git a/frontend/src/assets/logo-wordonly-blue.svg b/frontend/src/assets/logo-wordonly-blue.svgnew file mode 100644index 0000000000..b137dbe385--- /dev/null+++ b/frontend/src/assets/logo-wordonly-blue.svg@@ -0,0 +1,3 @@+<svg width="554" height="125" viewBox="0 0 554 125" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M0.6 96V5.12H39C48.984 5.12 56.4933 7.46666 61.528 12.16C66.648 16.768 69.208 22.7413 69.208 30.08C69.208 34.7733 68.056 38.8693 65.752 42.368C63.5333 45.7813 60.4613 48.384 56.536 50.176C60.8027 51.7973 64.1733 54.3573 66.648 57.856C69.208 61.3547 70.488 65.4933 70.488 70.272C70.488 78.2933 67.928 84.608 62.808 89.216C57.688 93.7387 50.3067 96 40.664 96H0.6ZM18.776 21.888V41.6H38.872C42.5413 41.6 45.3573 40.7893 47.32 39.168C49.368 37.4613 50.392 34.9867 50.392 31.744C50.392 28.8427 49.4107 26.496 47.448 24.704C45.5707 22.8267 42.712 21.888 38.872 21.888H18.776ZM18.776 58.496V79.232H40.152C43.992 79.232 46.8507 78.336 48.728 76.544C50.6907 74.752 51.672 72.192 51.672 68.864C51.672 65.7067 50.6907 63.1893 48.728 61.312C46.8507 59.4347 43.992 58.496 40.152 58.496H18.776ZM76.125 28.928H95.453L111.581 73.728L127.837 28.928H146.781L117.725 101.504C114.482 109.611 110.6 115.371 106.077 118.784C101.554 122.283 96.1357 124.032 89.821 124.032C88.1997 124.032 86.365 123.904 84.317 123.648V108.032C85.341 108.203 86.493 108.288 87.773 108.288C90.845 108.288 93.4477 107.605 95.581 106.24C97.7143 104.96 99.5917 102.315 101.213 98.304L102.621 94.976L76.125 28.928ZM186.558 95.616C184.339 96.128 181.481 96.384 177.982 96.384C170.814 96.384 165.566 94.6347 162.238 91.136C158.995 87.6373 157.374 82.56 157.374 75.904V43.264H148.286V28.928H157.374V12.288H175.55V28.928H186.686V43.264H175.55V73.984C175.55 76.2027 176.062 77.8667 177.086 78.976C178.195 80 179.945 80.512 182.334 80.512C183.87 80.512 185.278 80.2987 186.558 79.872V95.616ZM256.605 77.952C254.045 84.096 250.162 88.9173 244.957 92.416C239.837 95.8293 233.522 97.536 226.013 97.536C219.442 97.536 213.597 96.0427 208.477 93.056C203.357 90.0693 199.346 85.9307 196.445 80.64C193.629 75.264 192.221 69.1627 192.221 62.336C192.221 55.7653 193.629 49.8347 196.445 44.544C199.346 39.168 203.357 34.9867 208.477 32C213.597 28.928 219.4 27.392 225.885 27.392C232.37 27.392 238.13 28.928 243.165 32C248.2 34.9867 252.125 39.168 254.941 44.544C257.757 49.8347 259.165 55.7653 259.165 62.336C259.165 64.2133 259.08 66.0053 258.909 67.712H210.269C210.866 72.32 212.573 75.8613 215.389 78.336C218.205 80.7253 221.917 81.92 226.525 81.92C229.597 81.92 232.285 81.28 234.589 80C236.893 78.72 238.642 76.7573 239.837 74.112L256.605 77.952ZM225.757 41.984C221.661 41.984 218.29 43.136 215.645 45.44C213 47.6587 211.293 50.7307 210.525 54.656H240.989C240.306 50.816 238.642 47.744 235.997 45.44C233.352 43.136 229.938 41.984 225.757 41.984ZM289.621 36.096C291.498 33.6213 294.144 31.5733 297.557 29.952C301.056 28.2453 305.024 27.392 309.461 27.392C315.776 27.392 321.237 28.9707 325.845 32.128C330.538 35.2 334.122 39.3813 336.597 44.672C339.072 49.9627 340.309 55.8933 340.309 62.464C340.309 69.0347 339.072 74.9653 336.597 80.256C334.122 85.5467 330.538 89.7707 325.845 92.928C321.237 96 315.776 97.536 309.461 97.536C304.768 97.536 300.586 96.6827 296.917 94.976C293.248 93.2693 290.346 90.88 288.213 87.808V96H271.445V-7.62939e-06H289.621V36.096ZM289.109 62.464C289.109 68.0107 290.602 72.576 293.589 76.16C296.661 79.744 300.672 81.536 305.621 81.536C310.57 81.536 314.538 79.744 317.525 76.16C320.597 72.576 322.133 68.0107 322.133 62.464C322.133 56.9173 320.597 52.352 317.525 48.768C314.538 45.184 310.57 43.392 305.621 43.392C300.672 43.392 296.661 45.184 293.589 48.768C290.602 52.352 289.109 56.9173 289.109 62.464ZM350.903 47.872C352.012 41.8987 354.956 36.992 359.735 33.152C364.599 29.312 371.596 27.392 380.727 27.392C390.455 27.392 397.794 29.568 402.743 33.92C407.692 38.272 410.167 44.416 410.167 52.352V78.336C410.167 81.2373 411.362 82.688 413.751 82.688C414.604 82.688 415.244 82.6453 415.671 82.56V96.384C414.647 96.7253 413.068 96.896 410.935 96.896C403.255 96.896 398.178 94.1227 395.703 88.576C390.156 94.5493 382.434 97.536 372.535 97.536C364.77 97.536 358.882 95.7013 354.871 92.032C350.946 88.3627 348.983 83.6267 348.983 77.824C348.983 65.9627 357.687 58.5813 375.095 55.68L392.887 52.736V52.224C392.887 45.6533 388.834 42.368 380.727 42.368C373.303 42.368 369.164 45.2693 368.311 51.072L350.903 47.872ZM376.887 68.608C373.218 69.2907 370.572 70.272 368.951 71.552C367.33 72.7467 366.519 74.368 366.519 76.416C366.519 78.72 367.287 80.4693 368.823 81.664C370.359 82.8587 372.962 83.456 376.631 83.456C381.836 83.456 385.847 82.0907 388.663 79.36C391.479 76.544 392.887 72.7893 392.887 68.096V65.664L376.887 68.608ZM439.998 73.856C440.169 76.5013 441.193 78.6773 443.07 80.384C444.947 82.0907 447.678 82.944 451.262 82.944C454.675 82.944 457.278 82.3893 459.07 81.28C460.862 80.1707 461.758 78.6773 461.758 76.8C461.758 74.8373 460.734 73.4293 458.686 72.576C456.723 71.7227 453.523 70.8693 449.086 70.016C444.137 69.1627 440.041 68.1813 436.798 67.072C433.555 65.8773 430.739 63.9147 428.35 61.184C425.961 58.368 424.766 54.4853 424.766 49.536C424.766 45.44 425.875 41.728 428.094 38.4C430.313 34.9867 433.427 32.2987 437.438 30.336C441.534 28.3733 446.27 27.392 451.646 27.392C460.094 27.392 466.494 29.3973 470.846 33.408C475.283 37.3333 477.971 42.0267 478.91 47.488L461.758 50.688C461.587 48.128 460.606 46.0373 458.814 44.416C457.107 42.7947 454.675 41.984 451.518 41.984C448.617 41.984 446.355 42.624 444.734 43.904C443.113 45.0987 442.302 46.6347 442.302 48.512C442.302 50.4747 443.283 51.8827 445.246 52.736C447.294 53.504 450.451 54.272 454.718 55.04C459.667 55.8933 463.763 56.8747 467.006 57.984C470.334 59.0933 473.193 61.0987 475.582 64C477.971 66.816 479.166 70.8267 479.166 76.032C479.166 80.128 478.014 83.7973 475.71 87.04C473.491 90.2827 470.249 92.8427 465.982 94.72C461.715 96.5973 456.638 97.536 450.75 97.536C441.534 97.536 434.622 95.616 430.014 91.776C425.491 87.936 422.803 82.816 421.95 76.416L439.998 73.856ZM551.355 77.952C548.795 84.096 544.912 88.9173 539.707 92.416C534.587 95.8293 528.272 97.536 520.763 97.536C514.192 97.536 508.347 96.0427 503.227 93.056C498.107 90.0693 494.096 85.9307 491.195 80.64C488.379 75.264 486.971 69.1627 486.971 62.336C486.971 55.7653 488.379 49.8347 491.195 44.544C494.096 39.168 498.107 34.9867 503.227 32C508.347 28.928 514.15 27.392 520.635 27.392C527.12 27.392 532.88 28.928 537.915 32C542.95 34.9867 546.875 39.168 549.691 44.544C552.507 49.8347 553.915 55.7653 553.915 62.336C553.915 64.2133 553.83 66.0053 553.659 67.712H505.019C505.616 72.32 507.323 75.8613 510.139 78.336C512.955 80.7253 516.667 81.92 521.275 81.92C524.347 81.92 527.035 81.28 529.339 80C531.643 78.72 533.392 76.7573 534.587 74.112L551.355 77.952ZM520.507 41.984C516.411 41.984 513.04 43.136 510.395 45.44C507.75 47.6587 506.043 50.7307 505.275 54.656H535.739C535.056 50.816 533.392 47.744 530.747 45.44C528.102 43.136 524.688 41.984 520.507 41.984Z" fill="#3B82F6"/>+</svg>diff --git a/frontend/src/assets/logo-wordonly-semiblack.svg b/frontend/src/assets/logo-wordonly-semiblack.svgnew file mode 100644index 0000000000..9b3098bd10--- /dev/null+++ b/frontend/src/assets/logo-wordonly-semiblack.svg@@ -0,0 +1,3 @@+<svg width="554" height="125" viewBox="0 0 554 125" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M0.6 96V5.12H39C48.984 5.12 56.4933 7.46666 61.528 12.16C66.648 16.768 69.208 22.7413 69.208 30.08C69.208 34.7733 68.056 38.8693 65.752 42.368C63.5333 45.7813 60.4613 48.384 56.536 50.176C60.8027 51.7973 64.1733 54.3573 66.648 57.856C69.208 61.3547 70.488 65.4933 70.488 70.272C70.488 78.2933 67.928 84.608 62.808 89.216C57.688 93.7387 50.3067 96 40.664 96H0.6ZM18.776 21.888V41.6H38.872C42.5413 41.6 45.3573 40.7893 47.32 39.168C49.368 37.4613 50.392 34.9867 50.392 31.744C50.392 28.8427 49.4107 26.496 47.448 24.704C45.5707 22.8267 42.712 21.888 38.872 21.888H18.776ZM18.776 58.496V79.232H40.152C43.992 79.232 46.8507 78.336 48.728 76.544C50.6907 74.752 51.672 72.192 51.672 68.864C51.672 65.7067 50.6907 63.1893 48.728 61.312C46.8507 59.4347 43.992 58.496 40.152 58.496H18.776ZM76.125 28.928H95.453L111.581 73.728L127.837 28.928H146.781L117.725 101.504C114.482 109.611 110.6 115.371 106.077 118.784C101.554 122.283 96.1357 124.032 89.821 124.032C88.1997 124.032 86.365 123.904 84.317 123.648V108.032C85.341 108.203 86.493 108.288 87.773 108.288C90.845 108.288 93.4477 107.605 95.581 106.24C97.7143 104.96 99.5917 102.315 101.213 98.304L102.621 94.976L76.125 28.928ZM186.558 95.616C184.339 96.128 181.481 96.384 177.982 96.384C170.814 96.384 165.566 94.6347 162.238 91.136C158.995 87.6373 157.374 82.56 157.374 75.904V43.264H148.286V28.928H157.374V12.288H175.55V28.928H186.686V43.264H175.55V73.984C175.55 76.2027 176.062 77.8667 177.086 78.976C178.195 80 179.945 80.512 182.334 80.512C183.87 80.512 185.278 80.2987 186.558 79.872V95.616ZM256.605 77.952C254.045 84.096 250.162 88.9173 244.957 92.416C239.837 95.8293 233.522 97.536 226.013 97.536C219.442 97.536 213.597 96.0427 208.477 93.056C203.357 90.0693 199.346 85.9307 196.445 80.64C193.629 75.264 192.221 69.1627 192.221 62.336C192.221 55.7653 193.629 49.8347 196.445 44.544C199.346 39.168 203.357 34.9867 208.477 32C213.597 28.928 219.4 27.392 225.885 27.392C232.37 27.392 238.13 28.928 243.165 32C248.2 34.9867 252.125 39.168 254.941 44.544C257.757 49.8347 259.165 55.7653 259.165 62.336C259.165 64.2133 259.08 66.0053 258.909 67.712H210.269C210.866 72.32 212.573 75.8613 215.389 78.336C218.205 80.7253 221.917 81.92 226.525 81.92C229.597 81.92 232.285 81.28 234.589 80C236.893 78.72 238.642 76.7573 239.837 74.112L256.605 77.952ZM225.757 41.984C221.661 41.984 218.29 43.136 215.645 45.44C213 47.6587 211.293 50.7307 210.525 54.656H240.989C240.306 50.816 238.642 47.744 235.997 45.44C233.352 43.136 229.938 41.984 225.757 41.984ZM289.621 36.096C291.498 33.6213 294.144 31.5733 297.557 29.952C301.056 28.2453 305.024 27.392 309.461 27.392C315.776 27.392 321.237 28.9707 325.845 32.128C330.538 35.2 334.122 39.3813 336.597 44.672C339.072 49.9627 340.309 55.8933 340.309 62.464C340.309 69.0347 339.072 74.9653 336.597 80.256C334.122 85.5467 330.538 89.7707 325.845 92.928C321.237 96 315.776 97.536 309.461 97.536C304.768 97.536 300.586 96.6827 296.917 94.976C293.248 93.2693 290.346 90.88 288.213 87.808V96H271.445V-7.62939e-06H289.621V36.096ZM289.109 62.464C289.109 68.0107 290.602 72.576 293.589 76.16C296.661 79.744 300.672 81.536 305.621 81.536C310.57 81.536 314.538 79.744 317.525 76.16C320.597 72.576 322.133 68.0107 322.133 62.464C322.133 56.9173 320.597 52.352 317.525 48.768C314.538 45.184 310.57 43.392 305.621 43.392C300.672 43.392 296.661 45.184 293.589 48.768C290.602 52.352 289.109 56.9173 289.109 62.464ZM350.903 47.872C352.012 41.8987 354.956 36.992 359.735 33.152C364.599 29.312 371.596 27.392 380.727 27.392C390.455 27.392 397.794 29.568 402.743 33.92C407.692 38.272 410.167 44.416 410.167 52.352V78.336C410.167 81.2373 411.362 82.688 413.751 82.688C414.604 82.688 415.244 82.6453 415.671 82.56V96.384C414.647 96.7253 413.068 96.896 410.935 96.896C403.255 96.896 398.178 94.1227 395.703 88.576C390.156 94.5493 382.434 97.536 372.535 97.536C364.77 97.536 358.882 95.7013 354.871 92.032C350.946 88.3627 348.983 83.6267 348.983 77.824C348.983 65.9627 357.687 58.5813 375.095 55.68L392.887 52.736V52.224C392.887 45.6533 388.834 42.368 380.727 42.368C373.303 42.368 369.164 45.2693 368.311 51.072L350.903 47.872ZM376.887 68.608C373.218 69.2907 370.572 70.272 368.951 71.552C367.33 72.7467 366.519 74.368 366.519 76.416C366.519 78.72 367.287 80.4693 368.823 81.664C370.359 82.8587 372.962 83.456 376.631 83.456C381.836 83.456 385.847 82.0907 388.663 79.36C391.479 76.544 392.887 72.7893 392.887 68.096V65.664L376.887 68.608ZM439.998 73.856C440.169 76.5013 441.193 78.6773 443.07 80.384C444.947 82.0907 447.678 82.944 451.262 82.944C454.675 82.944 457.278 82.3893 459.07 81.28C460.862 80.1707 461.758 78.6773 461.758 76.8C461.758 74.8373 460.734 73.4293 458.686 72.576C456.723 71.7227 453.523 70.8693 449.086 70.016C444.137 69.1627 440.041 68.1813 436.798 67.072C433.555 65.8773 430.739 63.9147 428.35 61.184C425.961 58.368 424.766 54.4853 424.766 49.536C424.766 45.44 425.875 41.728 428.094 38.4C430.313 34.9867 433.427 32.2987 437.438 30.336C441.534 28.3733 446.27 27.392 451.646 27.392C460.094 27.392 466.494 29.3973 470.846 33.408C475.283 37.3333 477.971 42.0267 478.91 47.488L461.758 50.688C461.587 48.128 460.606 46.0373 458.814 44.416C457.107 42.7947 454.675 41.984 451.518 41.984C448.617 41.984 446.355 42.624 444.734 43.904C443.113 45.0987 442.302 46.6347 442.302 48.512C442.302 50.4747 443.283 51.8827 445.246 52.736C447.294 53.504 450.451 54.272 454.718 55.04C459.667 55.8933 463.763 56.8747 467.006 57.984C470.334 59.0933 473.193 61.0987 475.582 64C477.971 66.816 479.166 70.8267 479.166 76.032C479.166 80.128 478.014 83.7973 475.71 87.04C473.491 90.2827 470.249 92.8427 465.982 94.72C461.715 96.5973 456.638 97.536 450.75 97.536C441.534 97.536 434.622 95.616 430.014 91.776C425.491 87.936 422.803 82.816 421.95 76.416L439.998 73.856ZM551.355 77.952C548.795 84.096 544.912 88.9173 539.707 92.416C534.587 95.8293 528.272 97.536 520.763 97.536C514.192 97.536 508.347 96.0427 503.227 93.056C498.107 90.0693 494.096 85.9307 491.195 80.64C488.379 75.264 486.971 69.1627 486.971 62.336C486.971 55.7653 488.379 49.8347 491.195 44.544C494.096 39.168 498.107 34.9867 503.227 32C508.347 28.928 514.15 27.392 520.635 27.392C527.12 27.392 532.88 28.928 537.915 32C542.95 34.9867 546.875 39.168 549.691 44.544C552.507 49.8347 553.915 55.7653 553.915 62.336C553.915 64.2133 553.83 66.0053 553.659 67.712H505.019C505.616 72.32 507.323 75.8613 510.139 78.336C512.955 80.7253 516.667 81.92 521.275 81.92C524.347 81.92 527.035 81.28 529.339 80C531.643 78.72 533.392 76.7573 534.587 74.112L551.355 77.952ZM520.507 41.984C516.411 41.984 513.04 43.136 510.395 45.44C507.75 47.6587 506.043 50.7307 505.275 54.656H535.739C535.056 50.816 533.392 47.744 530.747 45.44C528.102 43.136 524.688 41.984 520.507 41.984Z" fill="#100B3B"/>+</svg>diff --git a/frontend/src/assets/logo.svg b/frontend/src/assets/logo.svgnew file mode 100644index 0000000000..b1a7510a2c--- /dev/null+++ b/frontend/src/assets/logo.svg@@ -0,0 +1,6 @@+<svg width="828" height="169" viewBox="0 0 828 169" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M200.8 137V34.76H244C255.232 34.76 263.68 37.4 269.344 42.68C275.104 47.864 277.984 54.584 277.984 62.84C277.984 68.12 276.688 72.728 274.096 76.664C271.6 80.504 268.144 83.432 263.728 85.448C268.528 87.272 272.32 90.152 275.104 94.088C277.984 98.024 279.424 102.68 279.424 108.056C279.424 117.08 276.544 124.184 270.784 129.368C265.024 134.456 256.72 137 245.872 137H200.8ZM221.248 53.624V75.8H243.856C247.984 75.8 251.152 74.888 253.36 73.064C255.664 71.144 256.816 68.36 256.816 64.712C256.816 61.448 255.712 58.808 253.504 56.792C251.392 54.68 248.176 53.624 243.856 53.624H221.248ZM221.248 94.808V118.136H245.296C249.616 118.136 252.832 117.128 254.944 115.112C257.152 113.096 258.256 110.216 258.256 106.472C258.256 102.92 257.152 100.088 254.944 97.976C252.832 95.864 249.616 94.808 245.296 94.808H221.248ZM285.766 61.544H307.51L325.654 111.944L343.942 61.544H365.254L332.566 143.192C328.918 152.312 324.55 158.792 319.462 162.632C314.374 166.568 308.278 168.536 301.174 168.536C299.35 168.536 297.286 168.392 294.982 168.104V150.536C296.134 150.728 297.43 150.824 298.87 150.824C302.326 150.824 305.254 150.056 307.654 148.52C310.054 147.08 312.166 144.104 313.99 139.592L315.574 135.848L285.766 61.544ZM410.003 136.568C407.507 137.144 404.291 137.432 400.355 137.432C392.291 137.432 386.387 135.464 382.643 131.528C378.995 127.592 377.171 121.88 377.171 114.392V77.672H366.947V61.544H377.171V42.824H397.619V61.544H410.147V77.672H397.619V112.232C397.619 114.728 398.195 116.6 399.347 117.848C400.595 119 402.563 119.576 405.251 119.576C406.979 119.576 408.563 119.336 410.003 118.856V136.568ZM488.806 116.696C485.926 123.608 481.558 129.032 475.702 132.968C469.942 136.808 462.838 138.728 454.39 138.728C446.998 138.728 440.422 137.048 434.662 133.688C428.902 130.328 424.39 125.672 421.126 119.72C417.958 113.672 416.374 106.808 416.374 99.128C416.374 91.736 417.958 85.064 421.126 79.112C424.39 73.064 428.902 68.36 434.662 65C440.422 61.544 446.95 59.816 454.246 59.816C461.542 59.816 468.022 61.544 473.686 65C479.35 68.36 483.766 73.064 486.934 79.112C490.102 85.064 491.686 91.736 491.686 99.128C491.686 101.24 491.59 103.256 491.398 105.176H436.678C437.35 110.36 439.27 114.344 442.438 117.128C445.606 119.816 449.782 121.16 454.966 121.16C458.422 121.16 461.446 120.44 464.038 119C466.63 117.56 468.598 115.352 469.942 112.376L488.806 116.696ZM454.102 76.232C449.494 76.232 445.702 77.528 442.726 80.12C439.75 82.616 437.83 86.072 436.966 90.488H471.238C470.47 86.168 468.598 82.712 465.622 80.12C462.646 77.528 458.806 76.232 454.102 76.232ZM525.949 69.608C528.061 66.824 531.037 64.52 534.877 62.696C538.813 60.776 543.277 59.816 548.269 59.816C555.373 59.816 561.517 61.592 566.701 65.144C571.981 68.6 576.013 73.304 578.797 79.256C581.581 85.208 582.973 91.88 582.973 99.272C582.973 106.664 581.581 113.336 578.797 119.288C576.013 125.24 571.981 129.992 566.701 133.544C561.517 137 555.373 138.728 548.269 138.728C542.989 138.728 538.285 137.768 534.157 135.848C530.029 133.928 526.765 131.24 524.365 127.784V137H505.501V29H525.949V69.608ZM525.373 99.272C525.373 105.512 527.053 110.648 530.413 114.68C533.869 118.712 538.381 120.728 543.949 120.728C549.517 120.728 553.981 118.712 557.341 114.68C560.797 110.648 562.525 105.512 562.525 99.272C562.525 93.032 560.797 87.896 557.341 83.864C553.981 79.832 549.517 77.816 543.949 77.816C538.381 77.816 533.869 79.832 530.413 83.864C527.053 87.896 525.373 93.032 525.373 99.272ZM594.891 82.856C596.139 76.136 599.451 70.616 604.827 66.296C610.299 61.976 618.171 59.816 628.443 59.816C639.387 59.816 647.643 62.264 653.211 67.16C658.779 72.056 661.563 78.968 661.563 87.896V117.128C661.563 120.392 662.907 122.024 665.595 122.024C666.555 122.024 667.275 121.976 667.755 121.88V137.432C666.603 137.816 664.827 138.008 662.427 138.008C653.787 138.008 648.075 134.888 645.291 128.648C639.051 135.368 630.363 138.728 619.227 138.728C610.491 138.728 603.867 136.664 599.355 132.536C594.939 128.408 592.731 123.08 592.731 116.552C592.731 103.208 602.523 94.904 622.107 91.64L642.123 88.328V87.752C642.123 80.36 637.563 76.664 628.443 76.664C620.091 76.664 615.435 79.928 614.475 86.456L594.891 82.856ZM624.123 106.184C619.995 106.952 617.019 108.056 615.195 109.496C613.371 110.84 612.459 112.664 612.459 114.968C612.459 117.56 613.323 119.528 615.051 120.872C616.779 122.216 619.707 122.888 623.835 122.888C629.691 122.888 634.203 121.352 637.371 118.28C640.539 115.112 642.123 110.888 642.123 105.608V102.872L624.123 106.184ZM695.123 112.088C695.315 115.064 696.467 117.512 698.579 119.432C700.691 121.352 703.763 122.312 707.795 122.312C711.635 122.312 714.563 121.688 716.579 120.44C718.595 119.192 719.603 117.512 719.603 115.4C719.603 113.192 718.451 111.608 716.147 110.648C713.939 109.688 710.339 108.728 705.347 107.768C699.779 106.808 695.171 105.704 691.523 104.456C687.875 103.112 684.707 100.904 682.019 97.832C679.331 94.664 677.987 90.296 677.987 84.728C677.987 80.12 679.235 75.944 681.731 72.2C684.227 68.36 687.731 65.336 692.243 63.128C696.851 60.92 702.179 59.816 708.227 59.816C717.731 59.816 724.931 62.072 729.827 66.584C734.819 71 737.843 76.28 738.899 82.424L719.603 86.024C719.411 83.144 718.307 80.792 716.291 78.968C714.371 77.144 711.635 76.232 708.083 76.232C704.819 76.232 702.275 76.952 700.451 78.392C698.627 79.736 697.715 81.464 697.715 83.576C697.715 85.784 698.819 87.368 701.027 88.328C703.331 89.192 706.883 90.056 711.683 90.92C717.251 91.88 721.859 92.984 725.507 94.232C729.251 95.48 732.467 97.736 735.155 101C737.843 104.168 739.187 108.68 739.187 114.536C739.187 119.144 737.891 123.272 735.299 126.92C732.803 130.568 729.155 133.448 724.355 135.56C719.555 137.672 713.843 138.728 707.219 138.728C696.851 138.728 689.075 136.568 683.891 132.248C678.803 127.928 675.779 122.168 674.819 114.968L695.123 112.088ZM820.399 116.696C817.519 123.608 813.151 129.032 807.295 132.968C801.535 136.808 794.431 138.728 785.983 138.728C778.591 138.728 772.015 137.048 766.255 133.688C760.495 130.328 755.983 125.672 752.719 119.72C749.551 113.672 747.967 106.808 747.967 99.128C747.967 91.736 749.551 85.064 752.719 79.112C755.983 73.064 760.495 68.36 766.255 65C772.015 61.544 778.543 59.816 785.839 59.816C793.135 59.816 799.615 61.544 805.279 65C810.943 68.36 815.359 73.064 818.527 79.112C821.695 85.064 823.279 91.736 823.279 99.128C823.279 101.24 823.183 103.256 822.991 105.176H768.271C768.943 110.36 770.863 114.344 774.031 117.128C777.199 119.816 781.375 121.16 786.559 121.16C790.015 121.16 793.039 120.44 795.631 119C798.223 117.56 800.191 115.352 801.535 112.376L820.399 116.696ZM785.695 76.232C781.087 76.232 777.295 77.528 774.319 80.12C771.343 82.616 769.423 86.072 768.559 90.488H802.831C802.063 86.168 800.191 82.712 797.215 80.12C794.239 77.528 790.399 76.232 785.695 76.232Z" fill="#111827"/>+<path d="M46.1905 158.505C29.9046 150.91 16.6497 138.054 8.56169 122.008C0.473636 105.961 -1.97652 87.6593 1.60602 70.0506C5.18857 52.4418 14.5952 36.5519 28.3101 24.9414C42.025 13.3309 59.2495 6.67586 77.208 6.04873C95.1666 5.4216 112.813 10.8589 127.305 21.4844C141.796 32.11 152.288 47.3049 157.09 64.6209C161.893 81.9369 160.725 100.365 153.776 116.937C146.827 133.508 134.501 147.258 118.785 155.97L80 86L46.1905 158.505Z" fill="#111827"/>+<path d="M118.708 156.012C107.686 162.106 95.3806 165.511 82.7937 165.951C70.2068 166.391 57.694 163.853 46.2734 158.543L80 86L118.708 156.012Z" fill="white"/>+<path d="M35 53.0375L125.88 53.0375L125.88 91.4375C125.88 101.422 123.533 108.931 118.84 113.965C114.232 119.086 108.259 121.646 100.92 121.646C96.2267 121.646 92.1307 120.494 88.632 118.19C85.2187 115.971 82.616 112.899 80.824 108.974C79.2027 113.24 76.6427 116.611 73.144 119.086C69.6453 121.646 65.5067 122.926 60.728 122.926C52.7067 122.926 46.392 120.366 41.784 115.246C37.2613 110.126 35 102.744 35 93.1015L35 53.0375ZM109.112 71.2135L89.4 71.2135V91.3095C89.4 94.9788 90.2107 97.7948 91.832 99.7575C93.5387 101.806 96.0133 102.83 99.256 102.83C102.157 102.83 104.504 101.848 106.296 99.8855C108.173 98.0082 109.112 95.1495 109.112 91.3095L109.112 71.2135ZM72.504 71.2135H51.768V92.5895C51.768 96.4295 52.664 99.2882 54.456 101.166C56.248 103.128 58.808 104.11 62.136 104.11C65.2933 104.11 67.8107 103.128 69.688 101.166C71.5653 99.2882 72.504 96.4295 72.504 92.5895V71.2135Z" fill="white"/>+</svg>diff --git a/frontend/src/assets/signin-splash.jpeg b/frontend/src/assets/signin-splash.jpegnew file mode 100644index 0000000000..235a8dedb1Binary files /dev/null and b/frontend/src/assets/signin-splash.jpeg differdiff --git a/frontend/src/bbkit/BBAlert.vue b/frontend/src/bbkit/BBAlert.vuenew file mode 100644index 0000000000..2da25c3353--- /dev/null+++ b/frontend/src/bbkit/BBAlert.vue@@ -0,0 +1,233 @@+<template>+ <!-- This example requires Tailwind CSS v2.0+ -->+ <div v-if="showing" class="fixed z-10 inset-0 overflow-y-auto">+ <div+ class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"+ >+ <!--+ Background overlay, show/hide based on modal state.++ Entering: "ease-out duration-300"+ From: "opacity-0"+ To: "opacity-100"+ Leaving: "ease-in duration-200"+ From: "opacity-100"+ To: "opacity-0"+ -->+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">+ <div+ class="absolute inset-0 bg-gray-500 opacity-75"+ @click.self="clickBackground"+ ></div>+ </div>++ <!-- This element is to trick the browser into centering the modal contents. -->+ <span+ class="hidden sm:inline-block sm:align-middle sm:h-screen"+ aria-hidden="true"+ >​</span+ >+ <!--+ Modal panel, show/hide based on modal state.++ Entering: "ease-out duration-300"+ From: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"+ To: "opacity-100 translate-y-0 sm:scale-100"+ Leaving: "ease-in duration-200"+ From: "opacity-100 translate-y-0 sm:scale-100"+ To: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"+ -->+ <div+ class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6"+ role="dialog"+ aria-modal="true"+ aria-labelledby="modal-headline"+ >+ <div>+ <div+ v-if="style == 'success'"+ class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-green-100"+ >+ <svg+ class="h-6 w-6 text-green-600"+ xmlns="http://www.w3.org/2000/svg"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ aria-hidden="true"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M5 13l4 4L19 7"+ />+ </svg>+ </div>+ <div+ v-if="style == 'warning'"+ class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-yellow-100"+ >+ <svg+ class="w-6 h-6 text-yellow-600"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"+ ></path>+ </svg>+ </div>+ <div+ v-if="style == 'critical'"+ class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-red-100"+ >+ <svg+ class="w-6 h-6 text-red-600"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"+ ></path>+ </svg>+ </div>+ <div+ v-else+ class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-blue-100"+ >+ <svg+ class="w-6 h-6 text-blue-600"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"+ ></path>+ </svg>+ </div>+ <div class="mt-3 text-center sm:mt-5">+ <h3+ class="text-lg leading-6 font-medium text-gray-900"+ id="modal-headline"+ >+ {{ title }}+ </h3>+ <div class="mt-2">+ <p class="text-sm text-gray-500">+ {{ description }}+ </p>+ </div>+ </div>+ </div>+ <div+ class="mt-5 sm:mt-6 sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense"+ >+ <button+ type="button"+ class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white focus:outline-none focus-visible:ring-2 focus:ring-accent sm:col-start-2 sm:text-sm"+ v-bind:class="okButtonStyle"+ @click.prevent="$emit('ok')"+ >+ {{ okText }}+ </button>+ <button+ type="button"+ class="btn-normal mt-3 w-full inline-flex justify-center shadow-sm px-4 py-2 sm:mt-0 sm:col-start-1 sm:text-sm"+ @click.prevent="cancel"+ >+ {{ cancelText }}+ </button>+ </div>+ </div>+ </div>+ </div>+</template>++<script lang="ts">+import { onMounted } from "vue";++export default {+ name: "BBAlert",+ emits: ["ok", "cancel"],+ props: {+ showing: {+ required: true,+ type: Boolean,+ },+ style: {+ default: "info",+ type: String,+ },+ title: {+ required: true,+ type: String,+ },+ description: {+ type: String,+ default: "",+ },+ okText: {+ type: String,+ default: "OK",+ },+ cancelText: {+ type: String,+ default: "Cancel",+ },+ backgroundClose: {+ type: Boolean,+ default: true,+ },+ },+ setup(props, { emit }) {+ const cancel = () => {+ emit("cancel");+ };++ const clickBackground = () => {+ if (props.backgroundClose) {+ cancel();+ }+ };++ onMounted(() => {+ document.addEventListener("keydown", (e) => {+ if (e.keyCode == 27) {+ cancel();+ }+ });+ });++ const buttonStyleMap: Record<string, string> = {+ info: "bg-blue-600 hover:bg-blue-700",+ success: "bg-blue-600 hover:bg-blue-700",+ warning: "bg-red-600 hover:bg-red-700",+ critical: "bg-red-600 hover:bg-red-700",+ };++ const okButtonStyle = buttonStyleMap[props.style];++ return {+ okButtonStyle,+ cancel,+ clickBackground,+ };+ },+};+</script>diff --git a/frontend/src/bbkit/BBAvatar.vue b/frontend/src/bbkit/BBAvatar.vuenew file mode 100644index 0000000000..df04e5ee19--- /dev/null+++ b/frontend/src/bbkit/BBAvatar.vue@@ -0,0 +1,99 @@+<template>+ <div+ class="flex font-normal tracking-wide justify-center items-center select-none"+ :class="textClass"+ :style="[style]"+ >+ <slot>{{ initials }}</slot>+ </div>+</template>++<script lang="ts">+import { computed, PropType } from "vue";+import isEmpty from "lodash-es/isEmpty";++import { hashCode } from "./BBUtil";++const BACKGROUND_COLOR_LIST: string[] = [+ "#94A3B8",+ "#F87171",+ "#FB923C",+ "#FACC15",+ "#A3E635",+ "#4ADE80",+ "#34D399",+ "#22D3EE",+ "#60A5FA",+ "#818CF8",+ "#A78BFA",+ "#E879F9",+ "#F472B6",+ "#FB7185",+];++type SizeType = "normal" | "large";++const sizeClassMap: Map<SizeType, string> = new Map([+ ["normal", "w-8 h-8 text-sm"],+ ["large", "w-24 h-24 text-4xl"],+]);++export default {+ name: "BBAvatar",+ props: {+ username: {+ type: String,+ default: "",+ },+ size: {+ type: String as PropType<SizeType>,+ default: "normal",+ },+ rounded: {+ type: Boolean,+ default: true,+ },+ },+ setup(props, ctx) {+ const initials = computed(() => {+ let parts = props.username.split(/[ -]/);+ let initials = "";+ for (var i = 0; i < parts.length; i++) {+ for (var j = 0; j < parts[i].length; j++) {+ // Skip non-alphabet leading letters+ if (/[a-zA-Z]/.test(parts[i].charAt(j))) {+ initials += parts[i].charAt(j);+ break;+ }+ }+ }+ initials = initials.substr(0, 3).toUpperCase();+ return initials;+ });++ const backgroundColor = computed(() => {+ return BACKGROUND_COLOR_LIST[+ (hashCode(props.username) & 0xfffffff) % BACKGROUND_COLOR_LIST.length+ ];+ });++ const style = computed(() => {+ return {+ borderRadius: props.rounded ? "50%" : 0,+ backgroundColor: backgroundColor.value,+ color: "white",+ };+ });++ const textClass = computed(() => {+ return sizeClassMap.get(props.size);+ });++ return {+ initials,+ textClass,+ style,+ };+ },+};+</script>diff --git a/frontend/src/bbkit/BBContextMenu.vue b/frontend/src/bbkit/BBContextMenu.vuenew file mode 100644index 0000000000..b08a7f6bef--- /dev/null+++ b/frontend/src/bbkit/BBContextMenu.vue@@ -0,0 +1,87 @@+<!-- Usage+<button+ @click.prevent="$refs.menu.toggle($event, 'left click')"+ @contextmenu.capture.prevent="$refs.menu.toggle($event, 'right click')"+>+<BBContextMenu ref="menu" v-slot="slotProps">+ <div>+ Click using {{slotProps.context}}+ </div>+</BBContextMenu>+-->+<template>+ <!--+ Profile dropdown panel, show/hide based on dropdown state.++ Entering: "transition ease-out duration-100"+ From: "transform opacity-0 scale-95"+ To: "transform opacity-100 scale-100"+ Leaving: "transition ease-in duration-75"+ From: "transform opacity-100 scale-100"+ To: "transform opacity-0 scale-95"+ -->+ <transition+ enter-active-class="transition ease-out duration-100"+ enter-class="transform opacity-0 scale-95"+ enter-to-class="transform opacity-100 scale-100"+ leave-active-class="transition ease-in duration-75"+ leave-class="transform opacity-100 scale-100"+ leave-to-class="transform opacity-0 scale-95"+ >+ <div+ v-show="isOpen"+ v-click-inside-outside="close"+ @contextmenu.capture.prevent+ >+ <div+ class="bg-white py-1 rounded-md shadow-xs"+ role="menu"+ aria-orientation="vertical"+ aria-labelledby="user-menu"+ >+ <slot :context="context" />+ </div>+ </div>+ </transition>+</template>++<script>+import clickInsideOutside from "./click-inside-outside";++export default {+ name: "BBContextMenu",+ directives: {+ "click-inside-outside": clickInsideOutside,+ },+ data: function () {+ return {+ isOpen: false,+ context: {},+ };+ },+ methods: {+ open(evt, context) {+ // This is a hack, upon intial click to bring up the context menu, it will+ // trigger both open and close. The latter is triggered because the click+ // is outside of the menu which hasn't brought up yet. So here, we use+ // setTimeout to schedule open after close.+ setTimeout(() => {+ this.isOpen = true;+ this.context = context;+ }, 1);+ },+ close(evt, inside) {+ // Close the menu regardless of whether the click is inside the menu.+ this.isOpen = false;+ this.context = null;+ },+ toggle(evt, context) {+ if (!this.isOpen) {+ this.open(evt, context);+ } else {+ this.close(evt, false);+ }+ },+ },+};+</script>diff --git a/frontend/src/bbkit/BBModal.vue b/frontend/src/bbkit/BBModal.vuenew file mode 100644index 0000000000..be6b1bb152--- /dev/null+++ b/frontend/src/bbkit/BBModal.vue@@ -0,0 +1,98 @@+<!--+ rgba(209, 213, 219, 0.8) is bg-gray-300+-->+<template>+ <div+ v-if="showing"+ class="fixed inset-0 w-full h-screen flex items-center justify-center z-50"+ @click.self="closeIfShown"+ style="background-color: rgba(209, 213, 219, 0.8)"+ >+ <div+ class="relative max-h-screen w-full max-w-max bg-white shadow-lg rounded-lg p-8 flex space-y-6 divide-y divide-block-border"+ >+ <div>+ <div class="absolute left-0 top-0 my-4 mx-8 text-2xl text-black">+ {{ $props.title }}+ </div>+ <button+ v-if="showClose"+ class="absolute right-0 top-0 my-4 mx-4 text-gray-500"+ aria-label="close"+ @click.prevent="close"+ >+ <span class="sr-only">Close</span>+ <!-- Heroicon name: x -->+ <svg+ class="h-6 w-6"+ xmlns="http://www.w3.org/2000/svg"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ aria-hidden="true"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M6 18L18 6M6 6l12 12"+ />+ </svg>+ </button>+ </div>+ <div class="max-h-screen w-full">+ <slot />+ </div>+ </div>+ </div>+</template>++<script>+import { onMounted } from "vue";++export default {+ name: "BBModal",+ props: {+ showing: {+ required: true,+ type: Boolean,+ },+ title: {+ required: true,+ type: String,+ },+ showClose: {+ type: Boolean,+ default: true,+ },+ backgroundClose: {+ type: Boolean,+ default: true,+ },+ },+ setup(props, { emit }) {+ const close = () => {+ emit("close");+ };++ const closeIfShown = () => {+ if (props.showClose && props.backgroundClose) {+ close();+ }+ };++ onMounted(() => {+ document.addEventListener("keydown", (e) => {+ if (e.keyCode == 27) {+ close();+ }+ });+ });++ return {+ close,+ closeIfShown,+ };+ },+};+</script>diff --git a/frontend/src/bbkit/BBStepBar.vue b/frontend/src/bbkit/BBStepBar.vuenew file mode 100644index 0000000000..ea92ecd9bc--- /dev/null+++ b/frontend/src/bbkit/BBStepBar.vue@@ -0,0 +1,137 @@+<template>+ <nav aria-label="Progress">+ <ol class="flex items-center">+ <li v-for="(step, index) in stepList" :key="index" class="relative pr-1">+ <div+ v-if="index != stepList.length - 1"+ class="absolute inset-0 flex items-center"+ aria-hidden="true"+ >+ <div class="h-0.5 w-full bg-gray-300"></div>+ </div>+ <router-link+ :to="step.link()"+ class="group relative w-8 h-8 flex items-center justify-center rounded-full"+ :class="stepClass(step.status)"+ >+ <template v-if="step.status == `CREATED`">+ <span+ class="h-2.5 w-2.5 bg-gray-300 rounded-full"+ aria-hidden="true"+ ></span>+ </template>+ <template v-else-if="step.status == `RUNNING`">+ <svg+ class="w-6 h-6"+ fill="currentColor"+ viewBox="0 0 20 20"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path d="M2 10a8 8 0 018-8v8h8a8 8 0 11-16 0z"></path>+ </svg>+ </template>+ <template v-else-if="step.status == `DONE`">+ <svg+ class="w-5 h-5"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"+ clip-rule="evenodd"+ />+ </svg>+ </template>+ <template v-else-if="step.status == `FAILED`">+ <svg+ class="w-5 h-5"+ fill="currentColor"+ viewBox="0 0 20 20"+ xmlns="http://www.w3.org/2000/svg"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"+ clip-rule="evenodd"+ />+ </svg>+ </template>+ <template v-else-if="step.status == `CANCELED`">+ <svg+ class="w-5 h-5"+ fill="currentColor"+ viewBox="0 0 20 20"+ xmlns="http://www.w3.org/2000/svg"+ aria-hidden="true"+ >+ >+ <path+ fill-rule="evenodd"+ d="M13.477 14.89A6 6 0 015.11 6.524l8.367 8.368zm1.414-1.414L6.524 5.11a6 6 0 018.367 8.367zM18 10a8 8 0 11-16 0 8 8 0 0116 0z"+ clip-rule="evenodd"+ ></path>+ </svg>+ </template>+ <template v-else-if="step.status == `SKIPPED`">+ <svg+ class="w-5 h-5"+ fill="currentColor"+ viewBox="0 0 20 20"+ xmlns="http://www.w3.org/2000/svg"+ aria-hidden="true"+ >+ >+ <path+ fill-rule="evenodd"+ d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"+ clip-rule="evenodd"+ ></path>+ </svg>+ </template>+ <span class="sr-only">{{ step.title }}</span>+ </router-link>+ </li>+ </ol>+ </nav>+</template>++<script lang="ts">+import { computed, reactive, PropType } from "vue";+import { BBStep, BBStepStatus } from "./types";++export default {+ name: "BBStepBar",+ props: {+ stepList: {+ required: true,+ type: Object as PropType<BBStep[]>,+ },+ },+ setup(props, ctx) {+ const stepClass = (status: BBStepStatus) => {+ switch (status) {+ case "CREATED":+ return "bg-white border-2 border-gray-300 hover:border-gray-400";+ case "RUNNING":+ return "bg-white border-2 border-accent hover:border-accent-hover";+ case "DONE":+ return "bg-accent hover:bg-accent-hover text-white";+ case "FAILED":+ return "bg-error hover:bg-error-hover text-white";+ case "CANCELED":+ return "bg-white border-2 border-accent hover:border-accent-hover";+ case "SKIPPED":+ return "bg-white border-2 border-accent hover:border-accent-hover";+ }+ };++ return {+ stepClass,+ };+ },+};+</script>diff --git a/frontend/src/bbkit/BBTab.vue b/frontend/src/bbkit/BBTab.vuenew file mode 100644index 0000000000..200bdff529--- /dev/null+++ b/frontend/src/bbkit/BBTab.vue@@ -0,0 +1,146 @@+<template>+ <div class="border-b border-block-border">+ <nav class="-mb-px flex" aria-label="Tabs">+ <div+ v-for="(item, index) in itemList"+ :key="item.id"+ class="cursor-pointer flex justify-between py-2 px-1 font-medium border-b-2 border-transparent"+ v-bind:class="tabClass(item.id == selectedId)"+ @click.self="$emit('select-item', item.id)"+ @mouseenter="state.hoverIndex = index"+ @mouseleave="state.hoverIndex = -1"+ >+ <button+ v-if="allowReorder && index != 0 && state.hoverIndex == index"+ @click.prevent="+ () => {+ $emit('select-item', item.id);+ $emit('reorder-item', index, index - 1);+ }+ "+ type="button"+ class="text-gray-500 hover:text-gray-900 focus:outline-none"+ >+ <svg+ class="w-6 h-6"+ fill="currentColor"+ viewBox="0 0 20 20"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ fill-rule="evenodd"+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm.707-10.293a1 1 0 00-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L9.414 11H13a1 1 0 100-2H9.414l1.293-1.293z"+ clip-rule="evenodd"+ ></path>+ </svg>+ </button>+ <div v-else class="pl-6"></div>+ {{ item.name }}+ <button+ v-if="+ allowReorder &&+ index != itemList.length - 1 &&+ state.hoverIndex == index+ "+ @click.prevent="+ () => {+ $emit('select-item', item.id);+ $emit('reorder-item', index, index + 1);+ }+ "+ type="button"+ class="text-gray-500 hover:text-gray-900 focus:outline-none"+ >+ <svg+ class="w-6 h-6"+ fill="currentColor"+ viewBox="0 0 20 20"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ fill-rule="evenodd"+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z"+ clip-rule="evenodd"+ ></path>+ </svg>+ </button>+ <div v-else class="pr-6"></div>+ </div>+ <button+ @click.prevent="$emit('create-item')"+ type="button"+ class="flex justify-center py-2 text-gray-500 hover:text-gray-900 focus:outline-none focus-visible:ring-2 focus:ring-accent"+ v-bind:class="addTabClass()"+ >+ <svg+ class="w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M12 6v6m0 0v6m0-6h6m-6 0H6"+ ></path>+ </svg>+ </button>+ </nav>+ </div>+ <slot />+</template>++<script lang="ts">+import { computed, reactive } from "vue";++export default {+ name: "BBTab",+ emits: ["create-item", "reorder-item", "select-item"],+ props: {+ itemList: {+ required: true,+ type: Array,+ },+ selectedId: {+ required: true,+ },+ allowReorder: {+ default: false,+ type: Boolean,+ },+ },+ data: function () {+ return {};+ },+ setup(props, ctx) {+ const state = reactive({+ hoverIndex: -1,+ });++ const tabClass = (selected: boolean) => {+ const width = "w-1/" + (props.itemList.length + 1);+ if (selected) {+ return width + " text-gray-900 border-gray-500";+ }+ return (+ width + " text-gray-500 hover:text-gray-900 hover:border-control-border"+ );+ };++ const addTabClass = () => {+ if (props.itemList.length == 0) {+ return "w-1/6 ";+ }+ return "w-1/12";+ };++ return {+ tabClass,+ addTabClass,+ state,+ };+ },+};+</script>diff --git a/frontend/src/bbkit/BBTabPanel.vue b/frontend/src/bbkit/BBTabPanel.vuenew file mode 100644index 0000000000..9cd5e054e2--- /dev/null+++ b/frontend/src/bbkit/BBTabPanel.vue@@ -0,0 +1,24 @@+<template>+ <section v-if="active" :aria-hiddem="!active" :id="$props.id">+ <slot />+ </section>+</template>++<script lang="ts">+import { computed, reactive } from "vue";++export default {+ name: "BBTabPanel",+ props: {+ active: {+ required: true,+ type: Boolean,+ },+ id: {+ required: true,+ type: String,+ },+ },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/bbkit/BBTable/BBTable.vue b/frontend/src/bbkit/BBTable/BBTable.vuenew file mode 100644index 0000000000..6dc77a5745--- /dev/null+++ b/frontend/src/bbkit/BBTable/BBTable.vue@@ -0,0 +1,56 @@+<template>+ <div class="overflow-hidden border-t border-b border-block-border">+ <table class="min-w-full divide-y divide-block-border">+ <thead v-if="showHeader" class="bg-gray-50">+ <tr>+ <th+ v-for="(column, index) in columnList"+ :key="index"+ scope="col"+ class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"+ >+ {{ column.title }}+ </th>+ </tr>+ </thead>+ <tbody class="bg-normal divide-y divide-block-border">+ <tr+ v-for="(item, index) in dataSource"+ :key="index"+ class="cursor-pointer hover:bg-gray-200"+ @click.stop="$emit('click-row', index)"+ >+ <slot name="body" :rowData="item" />+ </tr>+ </tbody>+ </table>+ </div>+</template>++<script lang="ts">+import { computed, reactive, PropType } from "vue";+import { BBTableColumn } from "../types";++export default {+ name: "BBTable",+ components: {},+ emits: ["click-row"],+ props: {+ columnList: {+ required: true,+ type: Object as PropType<BBTableColumn[]>,+ },+ dataSource: {+ default: function () {+ return new Array();+ },+ type: Object as PropType<Object[]>,+ },+ showHeader: {+ default: true,+ type: Boolean,+ },+ },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/bbkit/BBTable/BBTableCell.vue b/frontend/src/bbkit/BBTable/BBTableCell.vuenew file mode 100644index 0000000000..04ce204fac--- /dev/null+++ b/frontend/src/bbkit/BBTable/BBTableCell.vue@@ -0,0 +1,15 @@+<template>+ <td class="table-cell px-4 py-2 whitespace-nowrap text-sm leading-5">+ <slot />+ </td>+</template>++<script lang="ts">+import { computed, reactive } from "vue";++export default {+ name: "BBTableCell",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/bbkit/BBTable/BBTableTabFilter.vue b/frontend/src/bbkit/BBTable/BBTableTabFilter.vuenew file mode 100644index 0000000000..913c6f2398--- /dev/null+++ b/frontend/src/bbkit/BBTable/BBTableTabFilter.vue@@ -0,0 +1,66 @@+<template>+ <div class="sm:hidden">+ <label for="tabs" class="sr-only">Select a tab</label>+ <select+ id="tabs"+ name="tabs"+ class="block w-full focus:ring-accent focus:border-accent border-gray-300 rounded-md"+ @change="+ (e) => {+ $emit('select-index', parseInt(e.target.value));+ }+ "+ >+ <option+ v-for="(item, index) in itemList"+ :key="index"+ :value="index"+ :selected="index == selectedIndex"+ >+ {{ item.title }}+ </option>+ </select>+ </div>+ <div class="hidden sm:block">+ <div class="flex space-x-4" aria-label="Tabs">+ <button+ v-for="(item, index) in itemList"+ :key="index"+ class="focus:outline-none px-3 py-2 font-medium text-sm rounded-md"+ :class="buttonClass(index == selectedIndex)"+ @click.prevent="$emit('select-index', index)"+ >+ {{ item.title }}+ </button>+ </div>+ </div>+</template>++<script lang="ts">+import { computed, reactive } from "vue";++export default {+ name: "BBTableTabFilter",+ emits: ["select-index"],+ props: {+ itemList: {+ required: true,+ type: Array,+ },+ selectedIndex: {+ required: true,+ type: Number,+ },+ },+ setup(props, ctx) {+ const buttonClass = (selected: boolean) => {+ if (selected) {+ return "bg-gray-200 text-gray-800";+ }+ return "text-gray-500 hover:text-gray-700";+ };++ return { buttonClass };+ },+};+</script>diff --git a/frontend/src/bbkit/BBTable/index.ts b/frontend/src/bbkit/BBTable/index.tsnew file mode 100644index 0000000000..d165b2651c--- /dev/null+++ b/frontend/src/bbkit/BBTable/index.ts@@ -0,0 +1,5 @@+import BBTable from "./BBTable.vue";+import BBTableCell from "./BBTableCell.vue";+import BBTableTabFilter from "./BBTableTabFilter.vue";++export { BBTable, BBTableCell, BBTableTabFilter };diff --git a/frontend/src/bbkit/BBUtil.ts b/frontend/src/bbkit/BBUtil.tsnew file mode 100644index 0000000000..cd358c5826--- /dev/null+++ b/frontend/src/bbkit/BBUtil.ts@@ -0,0 +1,8 @@+export function hashCode(s: string): number {+ var hash: number = 0;+ for (let i = 0; i < s.length; i++) {+ hash = (hash << 5) - hash + s.charCodeAt(i);+ hash |= 0; // Convert to 32bit integer+ }+ return hash;+}diff --git a/frontend/src/bbkit/click-inside-outside.js b/frontend/src/bbkit/click-inside-outside.jsnew file mode 100644index 0000000000..e89c86c3cf--- /dev/null+++ b/frontend/src/bbkit/click-inside-outside.js@@ -0,0 +1,121 @@+// Based on v-click-outside f9fa3a0+const HANDLERS_PROPERTY = "__v-click-inside-outside";+const HAS_WINDOWS = typeof window !== "undefined";+const HAS_NAVIGATOR = typeof navigator !== "undefined";+const IS_TOUCH =+ HAS_WINDOWS &&+ ("ontouchstart" in window ||+ (HAS_NAVIGATOR && navigator.msMaxTouchPoints > 0));+const EVENTS = IS_TOUCH ? ["touchstart"] : ["click"];++function processDirectiveArguments(bindingValue) {+ const isFunction = typeof bindingValue === "function";+ if (!isFunction && typeof bindingValue !== "object") {+ throw new Error(+ "v-click-inside-outside: Binding value must be a function or an object"+ );+ }++ return {+ handler: isFunction ? bindingValue : bindingValue.handler,+ middleware: bindingValue.middleware || ((item) => item),+ events: bindingValue.events || EVENTS,+ isActive: !(bindingValue.isActive === false),+ detectIframe: !(bindingValue.detectIframe === false),+ };+}++function execHandler({ event, handler, middleware }, isClickInside) {+ if (middleware(event, isClickInside)) {+ handler(event, isClickInside);+ }+}++function onFauxIframeClick({ el, event, handler, middleware }) {+ // Note: on firefox clicking on iframe triggers blur, but only on+ // next event loop it becomes document.activeElement+ // https://stackoverflow.com/q/2381336#comment61192398_23231136+ setTimeout(() => {+ const { activeElement } = document;+ if (activeElement && activeElement.tagName === "IFRAME") {+ execHandler({ event, handler, middleware }, el.contains(activeElement));+ }+ }, 0);+}++function onEvent({ el, event, handler, middleware }) {+ // Note: composedPath is not supported on IE and Edge, more information here:+ // https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath+ // In the meanwhile, we are using el.contains for those browsers, not+ // the ideal solution, but using IE or EDGE is not ideal either.+ const path = event.path || (event.composedPath && event.composedPath());+ const isClickInside = path+ ? path.indexOf(el) >= 0+ : el.contains(event.target);++ execHandler({ event, handler, middleware }, isClickInside);+}++function beforeMount(el, { value }) {+ const {+ events,+ handler,+ middleware,+ isActive,+ detectIframe,+ } = processDirectiveArguments(value);+ if (!isActive) {+ return;+ }++ el[HANDLERS_PROPERTY] = events.map((eventName) => ({+ event: eventName,+ srcTarget: document.documentElement,+ handler: (event) => onEvent({ el, event, handler, middleware }),+ }));++ if (detectIframe) {+ const detectIframeEvent = {+ event: "blur",+ srcTarget: window,+ handler: (event) => onFauxIframeClick({ el, event, handler, middleware }),+ };++ el[HANDLERS_PROPERTY] = [...el[HANDLERS_PROPERTY], detectIframeEvent];+ }++ el[HANDLERS_PROPERTY].forEach(({ event, srcTarget, handler }) =>+ setTimeout(() => {+ // Note: More info about this implementation can be found here:+ // https://github.com/ndelvalle/v-click-outside/issues/137+ if (!el[HANDLERS_PROPERTY]) {+ return;+ }+ srcTarget.addEventListener(event, handler, false);+ }, 0)+ );+}++function unmounted(el) {+ const handlers = el[HANDLERS_PROPERTY] || [];+ handlers.forEach(({ event, srcTarget, handler }) =>+ srcTarget.removeEventListener(event, handler, false)+ );+ delete el[HANDLERS_PROPERTY];+}++function updated(el, { value, oldValue }) {+ if (JSON.stringify(value) === JSON.stringify(oldValue)) {+ return;+ }+ unmounted(el);+ beforeMount(el, { value });+}++const directive = {+ beforeMount,+ updated,+ unmounted,+};++export default HAS_WINDOWS ? directive : {};diff --git a/frontend/src/bbkit/index.ts b/frontend/src/bbkit/index.tsnew file mode 100644index 0000000000..8193c78143--- /dev/null+++ b/frontend/src/bbkit/index.ts@@ -0,0 +1,21 @@+import BBAlert from "./BBAlert.vue";+import BBAvatar from "./BBAvatar.vue";+import BBContextMenu from "./BBContextMenu.vue";+import BBModal from "./BBModal.vue";+import BBStepBar from "./BBStepBar.vue";+import BBTab from "./BBTab.vue";+import BBTabPanel from "./BBTabPanel.vue";+import { BBTable, BBTableCell, BBTableTabFilter } from "./BBTable";++export {+ BBAlert,+ BBAvatar,+ BBContextMenu,+ BBModal,+ BBStepBar,+ BBTab,+ BBTabPanel,+ BBTable,+ BBTableCell,+ BBTableTabFilter,+};diff --git a/frontend/src/bbkit/types.ts b/frontend/src/bbkit/types.tsnew file mode 100644index 0000000000..72f037c0cc--- /dev/null+++ b/frontend/src/bbkit/types.ts@@ -0,0 +1,17 @@+export type BBTableColumn = {+ title: string;+};++export type BBStepStatus =+ | "CREATED"+ | "RUNNING"+ | "DONE"+ | "FAILED"+ | "CANCELED"+ | "SKIPPED";++export type BBStep = {+ title: string;+ status: BBStepStatus;+ link(): string;+};diff --git a/frontend/src/components/BookmarkListSidePanel.vue b/frontend/src/components/BookmarkListSidePanel.vuenew file mode 100644index 0000000000..eb1d2a81da--- /dev/null+++ b/frontend/src/components/BookmarkListSidePanel.vue@@ -0,0 +1,58 @@+<template>+ <!-- Secondary navigation -->+ <h3+ class="px-3 text-xs leading-4 font-semibold text-gray-500 uppercase tracking-wider"+ id="bookmark-headline"+ >+ Bookmarks+ </h3>+ <div+ class="mt-2 space-y-1"+ role="group"+ aria-labelledby="bookmark-headline"+ v-for="item in bookmarkList"+ :key="item.id"+ >+ <router-link+ :to="item.attributes.link"+ class="sidebar-link group flex items-center px-3 py-1 text-sm"+ >+ {{ item.attributes.name }}+ </router-link>+ </div>+</template>++<script lang="ts">+import { watchEffect, computed, inject } from "vue";+import { useStore } from "vuex";+import { UserStateSymbol } from "../components/ProvideUser.vue";+import { User } from "../types";++export default {+ name: "BookmarkListSidePanel",+ props: {},+ setup(props, ctx) {+ const store = useStore();++ const currentUser = inject<User>(UserStateSymbol);++ const prepareBookmarkList = () => {+ store+ .dispatch("bookmark/fetchBookmarkListForUser", currentUser!.id)+ .catch((error) => {+ console.log(error);+ });+ };++ const bookmarkList = computed(() =>+ store.getters["bookmark/bookmarkListByUser"](currentUser!.id)+ );++ watchEffect(prepareBookmarkList);++ return {+ bookmarkList,+ };+ },+};+</script>diff --git a/frontend/src/components/Breadcrumb.vue b/frontend/src/components/Breadcrumb.vuenew file mode 100644index 0000000000..29ac6c4b90--- /dev/null+++ b/frontend/src/components/Breadcrumb.vue@@ -0,0 +1,154 @@+<template>+ <ol class="flex items-center space-x-2">+ <li v-for="(item, index) in breadcrumbList" :key="index">+ <div class="flex items-center space-x-2">+ <svg+ v-if="index > 0"+ class="flex-shrink-0 h-5 w-5 text-gray-400"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"+ clip-rule="evenodd"+ />+ </svg>+ <router-link+ v-if="item.path"+ :to="item.path"+ class="link"+ active-class="link"+ exact-active-class="link"+ >{{ item.name }}</router-link+ >+ <div v-else>+ {{ item.name }}+ </div>+ <button+ v-if="index == breadcrumbList.length - 1"+ class="relative focus:outline-none"+ type="button"+ @click.prevent="toggleBookmark"+ >+ <svg+ v-if="state.bookmarked"+ class="h-6 w-6 text-yellow-300 hover:text-yellow-400"+ x-description="Heroicon name: star"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"+ ></path>+ </svg>+ <svg+ v-else+ class="h-6 w-6 text-gray-300 hover:text-gray-400"+ x-description="Heroicon name: star"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"+ ></path>+ </svg>+ </button>+ </div>+ </li>+ </ol>+</template>++<script lang="ts">+import { reactive, computed } from "vue";+import { useStore } from "vuex";+import { useRouter } from "vue-router";+import { RouterSlug } from "../types";++interface LocalState {+ bookmarked: boolean;+}++interface BreadcrumbItem {+ name: string;+ path?: string;+}++export default {+ name: "Breadcrumb",+ components: {},+ setup(props, ctx) {+ const store = useStore();++ const state = reactive<LocalState>({+ bookmarked: Math.random() > 0.5,+ });++ const breadcrumbList = computed(() => {+ const currentRoute = useRouter().currentRoute.value;+ const routeSlug: RouterSlug = store.getters["router/routeSlug"](+ currentRoute+ );+ const pipelineId = routeSlug.pipelineId;+ const groupSlug = routeSlug.groupSlug;+ const projectSlug = routeSlug.projectSlug;+ const list: Array<BreadcrumbItem> = [];+ if (pipelineId) {+ list.push({+ name: "Pipeline",+ });+ list.push({+ name: pipelineId,+ path: "/pipeline/" + pipelineId,+ });+ } else if (groupSlug) {+ list.push({+ name: groupSlug,+ path: "/" + groupSlug,+ });+ if (+ projectSlug &&+ currentRoute.name?.toString().startsWith("workspace.project")+ ) {+ list.push({+ name: projectSlug,+ path: "/" + groupSlug + "/" + projectSlug,+ });+ if (pipelineId) {+ list.push({+ name: "Pipeline",+ path: "/" + groupSlug + "/" + projectSlug + "/pipeline",+ });+ list.push({+ name: pipelineId,+ path:+ "/" + groupSlug + "/" + projectSlug + "/pipeline/" + pipelineId,+ });+ }+ }+ if (currentRoute.meta.displayName) {+ list.push({+ name: currentRoute.meta.displayName,+ path: currentRoute.path,+ });+ }+ }+ return list;+ });++ const toggleBookmark = () => {+ state.bookmarked = !state.bookmarked;+ };++ return {+ state,+ breadcrumbList,+ toggleBookmark,+ };+ },+};+</script>diff --git a/frontend/src/components/EnvironmentForm.vue b/frontend/src/components/EnvironmentForm.vuenew file mode 100644index 0000000000..3ae86bdaed--- /dev/null+++ b/frontend/src/components/EnvironmentForm.vue@@ -0,0 +1,238 @@+<style scoped>+/* Removed the ticker in the number field */+input::-webkit-outer-spin-button,+input::-webkit-inner-spin-button {+ -webkit-appearance: none;+ margin: 0;+}++/* Firefox */+input[type="number"] {+ -moz-appearance: textfield;+}+</style>++<template>+ <form+ class="px-4 space-y-6 divide-y divide-gray-200"+ @submit.prevent="$emit('submit', state.environment)"+ >+ <div class="pt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">+ <div class="sm:col-span-2">+ <label for="name" class="text-lg leading-6 font-medium text-gray-900">+ Environment Name <span style="color: red">*</span>+ </label>+ <input+ required+ id="name"+ name="name"+ type="text"+ class="shadow-sm mt-4 focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"+ :value="state.environment.attributes.name"+ @input="updateEnvironment('name', $event.target.value)"+ />+ </div>+ </div>+ <div class="pt-6">+ <h3 class="text-lg leading-6 font-medium text-gray-900">+ Connection Info+ </h3>+ <p class="mt-1 text-sm text-gray-500">+ Provide the info to connect to the database.+ </p>+ <button type="button" class="btn-normal mt-4">Test Connection</button>+ </div>+ <div class="pt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">+ <div class="sm:col-span-3">+ <label for="host" class="block text-sm font-medium text-gray-700">+ Host or Socket <span style="color: red">*</span>+ </label>+ <div class="mt-1">+ <input+ required+ type="text"+ id="host"+ name="host"+ placeholder="e.g. 127.0.0.1 | localhost | /tmp/mysql.sock"+ class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"+ :value="state.environment.attributes.host"+ @input="updateEnvironment('host', $event.target.value)"+ />+ </div>+ </div>++ <div class="sm:col-span-3">+ <label for="port" class="block text-sm font-medium text-gray-700">+ Port (Only applicable when connecting via Host)+ </label>+ <div class="mt-1">+ <input+ type="number"+ id="port"+ name="port"+ placeholder="3306"+ class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"+ :value="state.environment.attributes.port"+ @input="updateEnvironment('port', $event.target.value)"+ />+ </div>+ </div>++ <div class="sm:col-span-2">+ <label for="username" class="block text-sm font-medium text-gray-700">+ Username <span style="color: red">*</span>+ </label>+ <div class="mt-1">+ <input+ required+ id="username"+ name="username"+ type="text"+ class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"+ :value="state.environment.attributes.username"+ @input="updateEnvironment('username', $event.target.value)"+ />+ </div>+ </div>++ <div class="sm:col-span-2 sm:col-start-1">+ <label for="password" class="block text-sm font-medium text-gray-700">+ Password+ </label>+ <div class="mt-1">+ <input+ id="password"+ name="password"+ type="password"+ class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"+ :value="state.environment.attributes.password"+ @input="updateEnvironment('password', $event.target.value)"+ />+ </div>+ </div>++ <div class="sm:col-span-2 sm:col-start-1">+ <label for="database" class="block text-sm font-medium text-gray-700">+ Database+ </label>+ <div class="mt-1">+ <input+ id="database"+ name="database"+ type="text"+ class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"+ :value="state.environment.attributes.database"+ @input="updateEnvironment('database', $event.target.value)"+ />+ </div>+ </div>+ </div>+ <!-- Create button group -->+ <div v-if="create" class="flex justify-end pt-5">+ <button+ type="button"+ class="btn-normal py-2 px-4"+ @click.prevent="$emit('cancel')"+ >+ Cancel+ </button>+ <button+ type="submit"+ class="btn-primary ml-3 inline-flex justify-center py-2 px-4"+ >+ Create+ </button>+ </div>+ <!-- Update button group -->+ <div v-else class="flex justify-between pt-5">+ <button+ type="button"+ class="btn-danger py-2 px-4"+ @click.prevent="$emit('delete')"+ >+ Delete+ </button>+ <div>+ <button+ type="button"+ class="btn-normal py-2 px-4"+ :disabled="!valueChanged"+ @click.prevent="revertEnvironment"+ >+ Revert+ </button>+ <button+ type="submit"+ class="btn-primary ml-3 inline-flex justify-center py-2 px-4"+ :disabled="!valueChanged"+ >+ Update+ </button>+ </div>+ </div>+ </form>+</template>++<script lang="ts">+import { computed, reactive, PropType } from "vue";+import isEqual from "lodash-es/isEqual";+import { Environment, NewEnvironment } from "../types";+import environment from "../store/modules/environment";++interface LocalState {+ environment?: Environment | NewEnvironment;+}++export default {+ name: "EnvironmentForm",+ emits: ["submit", "cancel", "delete"],+ props: {+ create: {+ type: Boolean,+ default: false,+ },+ environment: {+ // Can be false when create is true+ required: false,+ type: Object as PropType<Environment>,+ },+ },+ setup(props, ctx) {+ const state = reactive<LocalState>({});++ // [NOTE] Ternary operator doesn't trigger VS type checking, so we use a separate+ // IF block.+ if (props.environment) {+ state.environment = JSON.parse(JSON.stringify(props.environment));+ } else {+ state.environment = {+ type: "environment",+ attributes: {+ name: "New Env",+ host: "127.0.0.1",+ username: "root",+ },+ };+ }++ const valueChanged = computed(() => {+ return !isEqual(props.environment, state.environment);+ });++ return {+ state,+ valueChanged,+ };+ },+ methods: {+ updateEnvironment: function (field: string, value: string) {+ this.state.environment!.attributes[field] = value;+ },+ revertEnvironment: function () {+ this.state.environment = JSON.parse(+ JSON.stringify(this.$props.environment)+ );+ },+ },+};+</script>diff --git a/frontend/src/components/GroupListSidePanel.vue b/frontend/src/components/GroupListSidePanel.vuenew file mode 100644index 0000000000..5dbd2d8ddc--- /dev/null+++ b/frontend/src/components/GroupListSidePanel.vue@@ -0,0 +1,48 @@+<template>+ <h3+ class="px-3 text-xs leading-4 font-semibold text-gray-500 uppercase tracking-wider"+ id="group-headline"+ >+ Groups+ </h3>+ <GroupSidePanel v-for="item in groupList" :key="item.id" :group="item" />+</template>++<script lang="ts">+import { watchEffect, computed, inject } from "vue";+import { useStore } from "vuex";+import { UserStateSymbol } from "./ProvideUser.vue";+import GroupSidePanel from "./GroupSidePanel.vue";+import { User } from "../types";++export default {+ name: "GroupListSidePanel",+ props: {},+ components: {+ GroupSidePanel,+ },+ setup(props, ctx) {+ const store = useStore();++ const currentUser = inject<User>(UserStateSymbol);++ const prepareGroupList = () => {+ store+ .dispatch("group/fetchGroupListForUser", currentUser!.id)+ .catch((error) => {+ console.log(error);+ });+ };++ const groupList = computed(() =>+ store.getters["group/groupListByUser"](currentUser!.id)+ );++ watchEffect(prepareGroupList);++ return {+ groupList,+ };+ },+};+</script>diff --git a/frontend/src/components/GroupSidePanel.vue b/frontend/src/components/GroupSidePanel.vuenew file mode 100644index 0000000000..d3a8f6b8cd--- /dev/null+++ b/frontend/src/components/GroupSidePanel.vue@@ -0,0 +1,82 @@+<template>+ <div class="mt-1 space-y-1" role="group" aria-labelledby="groups-headline">+ <button+ @click.prevent="toggleExpand"+ class="sidebar-link mt-1 group w-full flex items-center pr-2 py-2"+ >+ <svg+ v-if="expandState"+ class="mr-2 h-5 w-5 transform rotate-90 group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"+ viewBox="0 0 20 20"+ >+ <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />+ </svg>+ <svg+ v-else+ class="mr-2 h-5 w-5 transform group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"+ viewBox="0 0 20 20"+ >+ <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />+ </svg>+ {{ group.attributes.name }}+ </button>+ <!-- Expandable link section, show/hide based on state. -->+ <div v-if="expandState" class="mt-1 space-y-1">+ <router-link+ :to="`/${group.attributes.slug}`"+ class="sidebar-link group w-full flex items-center pl-10 pr-2 py-1"+ >+ Dashboard+ </router-link>+ <router-link+ :to="`/${group.attributes.slug}/setting`"+ class="sidebar-link group w-full flex items-center pl-10 pr-2 py-1"+ >+ Setting+ </router-link>+ </div>+ </div>+</template>++<script lang="ts">+import { onMounted, computed, inject, PropType } from "vue";+import { useStore } from "vuex";+import { Group, GroupId } from "../types";++export default {+ name: "GroupSidePanel",+ props: {+ group: {+ required: true,+ type: Object as PropType<Group>,+ },+ },+ setup(props, ctx) {+ const store = useStore();++ const groupId: GroupId = props.group.id;++ const expandState = computed(() =>+ store.getters["uistate/expandStateByGroup"](groupId)+ );++ const toggleExpand = () => {+ const newState = !expandState.value;+ store+ .dispatch("uistate/saveExpandStateByGroup", {+ groupId,+ expand: newState,+ })+ .catch((error) => {+ console.log(error);+ return;+ });+ };++ return {+ expandState,+ toggleExpand,+ };+ },+};+</script>diff --git a/frontend/src/components/PinnedProject.vue b/frontend/src/components/PinnedProject.vuenew file mode 100644index 0000000000..75fb520679--- /dev/null+++ b/frontend/src/components/PinnedProject.vue@@ -0,0 +1,25 @@+<template>+ <div>+ <h2 class="text-gray-500 text-xs font-medium uppercase tracking-wide">+ Pinned Projects+ </h2>+ <ul class="grid grid-cols-1 gap-4 grid-cols-4 mt-3">+ <li class="relative col-span-1 flex shadow-sm rounded-md">+ <PinnedProjectCard />+ </li>++ <!-- More project cards... -->+ </ul>+ </div>+</template>++<script lang="ts">+import PinnedProjectCard from "./PinnedProjectCard.vue";++export default {+ name: "PinnedProject",+ components: {+ PinnedProjectCard,+ },+};+</script>diff --git a/frontend/src/components/PinnedProjectCard.vue b/frontend/src/components/PinnedProjectCard.vuenew file mode 100644index 0000000000..ac21c60317--- /dev/null+++ b/frontend/src/components/PinnedProjectCard.vue@@ -0,0 +1,62 @@+<template>+ <a+ href="#"+ class="bg-normal flex-1 flex items-center justify-between border border-block-border rounded-md hover:shadow-md truncate"+ >+ <div class="flex-1 px-4 py-2 text-sm leading-5 truncate">+ <div class="text-gray-900 font-medium hover:text-gray-600">+ GraphQL API+ </div>+ </div>+ <div class="flex-shrink-0 pr-2">+ <button+ @click.prevent="$refs.menu.toggle($event)"+ @contextmenu.capture.prevent="$refs.menu.toggle($event)"+ id="pinned-project-options-menu-0"+ aria-has-popup="true"+ class="w-8 h-8 inline-flex items-center justify-center text-gray-400 rounded-full bg-transparent hover:text-gray-500 focus:outline-none focus:text-gray-500 focus:bg-gray-100"+ >+ <svg class="w-5 h-5" viewBox="0 0 20 20" fill="currentColor">+ <path+ d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"+ />+ </svg>+ </button>+ <BBContextMenu+ ref="menu"+ class="z-10 ml-2 origin-top-right absolute top-13 w-48 rounded-md shadow-lg"+ >+ <div class="py-1">+ <a+ href="#"+ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >View</a+ >+ </div>+ <div class="border-t border-gray-100"></div>+ <div class="py-1">+ <a+ href="#"+ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >Removed from pinned</a+ >+ <a+ href="#"+ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >Share</a+ >+ </div>+ </BBContextMenu>+ </div>+ </a>+</template>++<script lang="ts">+export default {+ name: "PinnedProjectCard",+ components: {},+};+</script>diff --git a/frontend/src/components/PipelineTable.vue b/frontend/src/components/PipelineTable.vuenew file mode 100644index 0000000000..4b3a6e0419--- /dev/null+++ b/frontend/src/components/PipelineTable.vue@@ -0,0 +1,168 @@+<template>+ <BBTable+ :columnList="state.columnList"+ :dataSource="pipelineList"+ :showHeader="false"+ @click-row="clickPipeline"+ >+ <template v-slot:body="{ rowData: pipeline }">+ <BBTableCell class="w-1/12">+ <span class="">#{{ pipeline.id }}</span>+ </BBTableCell>+ <BBTableCell class="w-1/12">+ <span class="">{{ pipeline.attributes.type }}</span>+ </BBTableCell>+ <BBTableCell class="w-1/12">+ <span+ class="px-2 inline-flex text-xs font-semibold rounded-full"+ :class="statusMap[pipeline.attributes.status].class"+ >+ {{ statusMap[pipeline.attributes.status].name }}+ </span>+ </BBTableCell>+ <BBTableCell class="w-5/12">+ {{ pipeline.attributes.name }}+ </BBTableCell>+ <BBTableCell class="w-2/12">+ <BBStepBar :stepList="stageList(pipeline)" />+ </BBTableCell>+ <BBTableCell class="w-1/12">+ <BBAvatar :username="`Darth Vader`"> </BBAvatar>+ </BBTableCell>+ <BBTableCell class="w-1/12 hidden md:table-cell">+ {{ humanize(pipeline.attributes.createdTs) }}+ </BBTableCell>+ </template>+ </BBTable>+</template>++<script lang="ts">+import { reactive, PropType } from "vue";+import { useRouter } from "vue-router";+import moment from "moment";+import { BBTableColumn, BBStep, BBStepStatus } from "../bbkit/types";+import { UserStateSymbol } from "./ProvideUser.vue";+import { Pipeline } from "../types";++interface LocalState {+ columnList: BBTableColumn[];+ dataSource: Object[];+}++const statusMap = {+ CREATED: {+ name: "Created",+ class: "bg-green-200 text-green-800",+ },+ RUNNING: {+ name: "Running",+ class: "bg-yellow-200 text-yellow-800",+ },+ DONE: {+ name: "Done",+ class: "bg-blue-200 text-blue-800",+ },+ FAILED: {+ name: "Failed",+ class: "bg-red-200 text-red-800",+ },+ CANCELED: {+ name: "Canceled",+ class: "bg-gray-200 text-gray-800",+ },+};++export default {+ name: "PipelineTable",+ components: {},+ props: {+ pipelineList: {+ required: true,+ type: Object as PropType<Pipeline[]>,+ },+ },+ setup(props, ctx) {+ const state = reactive<LocalState>({+ columnList: [+ {+ title: "ID",+ },+ {+ title: "Status",+ },+ {+ title: "Title",+ },+ {+ title: "Progress",+ },+ {+ title: "Assignee",+ },+ {+ title: "Created",+ },+ ],+ dataSource: [],+ });++ const router = useRouter();++ const stageList = function (pipeline: Pipeline): BBStep[] {+ return pipeline.attributes.stageProgressList.map((stageProgress) => {+ let stepStatus: BBStepStatus = "CREATED";+ switch (stageProgress.status) {+ case "RUNNING":+ stepStatus = "RUNNING";+ break;+ case "DONE":+ stepStatus = "DONE";+ break;+ case "FAILED":+ stepStatus = "FAILED";+ break;+ case "CREATED":+ stepStatus = "CREATED";+ break;+ case "CANCELED":+ stepStatus = "CANCELED";+ break;+ case "SKIPPED":+ stepStatus = "SKIPPED";+ break;+ }+ return {+ title: stageProgress.stageName,+ status: stepStatus,+ link: (): string => {+ return `/pipeline/${pipeline.id}#${stageProgress.stageId}`;+ },+ };+ });+ };++ const humanize = function (ts: number) {+ const time = moment.utc(ts);+ if (moment().year() == time.year()) {+ if (moment().dayOfYear() == time.dayOfYear()) {+ return time.format("HH:mm");+ }+ return time.format("MMM D");+ }+ return time.format("MMM D YYYY");+ };++ const clickPipeline = function (index: number) {+ router.push(`/pipeline/${props.pipelineList[index].id}`);+ };++ return {+ state,+ statusMap,+ stageList,+ humanize,+ clickPipeline,+ };+ },+};+</script>diff --git a/frontend/src/components/ProfileDropdown.vue b/frontend/src/components/ProfileDropdown.vuenew file mode 100644index 0000000000..cdee8f7a47--- /dev/null+++ b/frontend/src/components/ProfileDropdown.vue@@ -0,0 +1,90 @@+<template>+ <div class="relative">+ <button+ type="button"+ @click.prevent="$refs.menu.toggle($event)"+ @contextmenu.capture.prevent="$refs.menu.toggle($event)"+ class="flex text-sm text-white focus:outline-none focus:shadow-solid"+ id="user-menu"+ aria-label="User menu"+ aria-haspopup="true"+ >+ <BBAvatar :username="currentUser.attributes.name">+ <img class="rounded-full" src="../assets/avatar.jpeg" alt="" />+ </BBAvatar>+ </button>+ <BBContextMenu+ ref="menu"+ class="z-10 origin-top-left absolute right-0 mt-2 w-32 rounded-md shadow-lg"+ >+ <div class="py-1">+ <router-link+ to="/setting"+ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >Settings</router-link+ >+ </div>+ <div class="border-t border-gray-100"></div>+ <div class="py-1">+ <a+ href="#"+ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >Changelog</a+ >+ <a+ href="#"+ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >Support</a+ >+ </div>+ <div class="border-t border-gray-100"></div>+ <div class="py-1">+ <a+ @click.prevent="logout"+ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >Logout</a+ >+ </div>+ </BBContextMenu>+ </div>+</template>++<script lang="ts">+import { inject } from "vue";+import { useStore } from "vuex";+import { UserStateSymbol } from "../components/ProvideUser.vue";+import { User } from "../types";++export default {+ name: "ProfileDropdown",+ props: {},+ setup(props, ctx) {+ const store = useStore();++ const currentUser = inject<User>(UserStateSymbol);++ const logout = () => {+ store+ .dispatch("auth/logout")+ .then(() => {+ // Just do a reload. router.push won't refresh the app.vue page.+ // It's acceptable to use reload for logout.+ location.reload();+ })+ .catch((error: Error) => {+ console.log(error);+ return;+ });+ };++ return {+ currentUser,+ logout,+ };+ },+};+</script>diff --git a/frontend/src/components/ProjectListMobile.vue b/frontend/src/components/ProjectListMobile.vuenew file mode 100644index 0000000000..18568d6fe8--- /dev/null+++ b/frontend/src/components/ProjectListMobile.vue@@ -0,0 +1,42 @@+<template>+ <div>+ <div class="px-4 sm:px-6">+ <h2 class="text-gray-500 text-xs font-medium uppercase tracking-wide">+ Projects+ </h2>+ </div>+ <ul class="mt-3 border-t border-block-border divide-y divide-gray-100">+ <li>+ <a+ href="#"+ class="flex items-center justify-between px-4 py-4 hover:bg-gray-300 sm:px-6"+ >+ <div class="flex items-center truncate space-x-3">+ <div+ class="w-2.5 h-2.5 flex-shrink-0 rounded-full bg-pink-600"+ ></div>+ <p class="font-medium truncate text-sm leading-6">+ GraphQL API+ <span class="truncate font-normal text-gray-500"+ >in Engineering</span+ >+ </p>+ </div>+ <svg+ class="ml-4 h-5 w-5 text-gray-400 group-hover:text-gray-500 group-focus:text-gray-600"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ fill-rule="evenodd"+ d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"+ clip-rule="evenodd"+ />+ </svg>+ </a>+ </li>++ <!-- More project rows... -->+ </ul>+ </div>+</template>diff --git a/frontend/src/components/ProjectListSidePanel.vue b/frontend/src/components/ProjectListSidePanel.vuenew file mode 100644index 0000000000..f9be5e7505--- /dev/null+++ b/frontend/src/components/ProjectListSidePanel.vue@@ -0,0 +1,52 @@+<template>+ <h3+ class="px-3 text-xs leading-4 font-semibold text-gray-500 uppercase tracking-wider"+ id="projects-headline"+ >+ Projects+ </h3>+ <ProjectSidePanel+ v-for="item in projectList"+ :key="item.id"+ :project="item"+ />+</template>++<script lang="ts">+import { watchEffect, computed, inject } from "vue";+import { useStore } from "vuex";+import { UserStateSymbol } from "./ProvideUser.vue";+import ProjectSidePanel from "./ProjectSidePanel.vue";+import { User } from "../types";++export default {+ name: "ProjectListSidePanel",+ props: {},+ components: {+ ProjectSidePanel,+ },+ setup(props, ctx) {+ const store = useStore();++ const currentUser = inject<User>(UserStateSymbol);++ const prepareProjectList = () => {+ store+ .dispatch("project/fetchProjectListForUser", currentUser!.id)+ .catch((error) => {+ console.log(error);+ });+ };++ const projectList = computed(() =>+ store.getters["project/projectListByUser"](currentUser!.id)+ );++ watchEffect(prepareProjectList);++ return {+ projectList,+ };+ },+};+</script>diff --git a/frontend/src/components/ProjectSidePanel.vue b/frontend/src/components/ProjectSidePanel.vuenew file mode 100644index 0000000000..f6e2abe248--- /dev/null+++ b/frontend/src/components/ProjectSidePanel.vue@@ -0,0 +1,88 @@+<template>+ <div class="mt-1 space-y-1" role="group" aria-labelledby="projects-headline">+ <button+ @click.prevent="toggleExpand"+ class="sidebar-link mt-1 group w-full flex items-center pr-2 py-2"+ >+ <svg+ v-if="expandState"+ class="mr-2 h-5 w-5 transform rotate-90 group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"+ viewBox="0 0 20 20"+ >+ <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />+ </svg>+ <svg+ v-else+ class="mr-2 h-5 w-5 transform group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"+ viewBox="0 0 20 20"+ >+ <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />+ </svg>+ {{ project.attributes.name }}+ </button>+ <!-- Expandable link section, show/hide based on state. -->+ <div v-if="expandState" class="mt-1 space-y-1">+ <router-link+ :to="`/${project.attributes.namespace}/${project.attributes.slug}/pipeline`"+ class="sidebar-link group w-full flex items-center pl-10 pr-2 py-1"+ >+ Pipeline+ </router-link>+ <router-link+ :to="`/${project.attributes.namespace}/${project.attributes.slug}/environment`"+ class="sidebar-link group w-full flex items-center pl-10 pr-2 py-1"+ >+ Environment+ </router-link>+ <router-link+ :to="`/${project.attributes.namespace}/${project.attributes.slug}/repository`"+ class="sidebar-link group w-full flex items-center pl-10 pr-2 py-1"+ >+ Repository+ </router-link>+ </div>+ </div>+</template>++<script lang="ts">+import { onMounted, computed, inject, PropType } from "vue";+import { useStore } from "vuex";+import { Project, ProjectId } from "../types";++export default {+ name: "ProjectSidePanel",+ props: {+ project: {+ required: true,+ type: Object as PropType<Project>,+ },+ },+ setup(props, ctx) {+ const store = useStore();++ const projectId: ProjectId = props.project.id;++ const expandState = computed(() =>+ store.getters["uistate/expandStateByProject"](projectId)+ );++ const toggleExpand = () => {+ const newState = !expandState.value;+ store+ .dispatch("uistate/saveExpandStateByProject", {+ projectId,+ expand: newState,+ })+ .catch((error) => {+ console.log(error);+ return;+ });+ };++ return {+ expandState,+ toggleExpand,+ };+ },+};+</script>diff --git a/frontend/src/components/ProjectTable.vue b/frontend/src/components/ProjectTable.vuenew file mode 100644index 0000000000..0acec207e7--- /dev/null+++ b/frontend/src/components/ProjectTable.vue@@ -0,0 +1,92 @@+<template>+ <div+ class="align-middle inline-block min-w-full border-b border-block-border"+ >+ <table class="min-w-full">+ <thead>+ <tr class="border-t border-block-border">+ <th+ class="px-6 py-3 border-b border-block-border bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider"+ >+ <span class="lg:pl-2">Project</span>+ </th>+ <th+ class="hidden md:table-cell px-6 py-3 border-b border-block-border bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider"+ >+ Slug+ </th>+ <th+ class="hidden md:table-cell px-6 py-3 border-b border-block-border bg-gray-50 text-right text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider"+ >+ Last updated+ </th>+ <th+ class="pr-6 py-3 border-b border-block-border bg-gray-50 text-right text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider"+ ></th>+ </tr>+ </thead>+ <tbody class="bg-normal divide-y divide-gray-100">+ <tr v-for="project in projectList" :key="project.id">+ <td+ class="px-6 py-3 max-w-0 w-full whitespace-nowrap text-sm leading-5 font-medium text-gray-900"+ >+ <div class="flex items-center space-x-3 lg:pl-2">+ <router-link+ :to="`/${project.attributes.namespace}/${project.attributes.slug}`"+ class="truncate hover:text-gray-600"+ >+ {{ project.attributes.name }}+ </router-link>+ </div>+ </td>+ <td+ class="hidden md:table-cell px-6 py-3 whitespace-nowrap text-sm leading-5 text-gray-900 text-left"+ >+ {{ project.attributes.slug }}+ </td>+ <td+ class="hidden md:table-cell px-6 py-3 whitespace-nowrap text-sm leading-5 text-gray-500 text-right"+ >+ March 17, 2020+ </td>+ <td class="pr-6">+ <div class="relative flex justify-end items-center">+ <ProjectTableActionButton />+ </div>+ </td>+ </tr>++ <!-- More project rows... -->+ </tbody>+ </table>+ </div>+</template>++<script lang="ts">+import { computed, inject } from "vue";+import { useStore } from "vuex";+import { UserStateSymbol } from "./ProvideUser.vue";+import ProjectTableActionButton from "./ProjectTableActionButton.vue";+import { User } from "../types";++export default {+ name: "ProjectTable",+ components: {+ ProjectTableActionButton,+ },+ props: {},+ setup(props, ctx) {+ const store = useStore();++ const currentUser = inject<User>(UserStateSymbol);++ const projectList = computed(() =>+ store.getters["project/projectListByUser"](currentUser!.id)+ );++ return {+ projectList,+ };+ },+};+</script>diff --git a/frontend/src/components/ProjectTableActionButton.vue b/frontend/src/components/ProjectTableActionButton.vuenew file mode 100644index 0000000000..2f567c34ef--- /dev/null+++ b/frontend/src/components/ProjectTableActionButton.vue@@ -0,0 +1,105 @@+<template>+ <button+ @click.prevent="$refs.menu.toggle($event)"+ @contextmenu.capture.prevent="$refs.menu.toggle($event)"+ id="project-options-menu-0"+ aria-has-popup="true"+ type="button"+ class="w-8 h-8 inline-flex items-center justify-center text-gray-400 rounded-full bg-transparent hover:text-gray-500 focus:outline-none focus:text-gray-500 focus:bg-gray-100"+ >+ <svg class="w-5 h-5" viewBox="0 0 20 20" fill="currentColor">+ <path+ d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"+ />+ </svg>+ </button>+ <BBContextMenu+ ref="menu"+ class="z-10 mx-3 origin-top-right absolute right-7 top-0 w-48 mt-1 rounded-md shadow-lg"+ >+ <div class="py-1">+ <a+ href="#"+ class="group flex items-center px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >+ <svg+ class="mr-3 h-5 w-5 text-gray-400 group-hover:text-gray-500 group-focus:text-gray-500"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ d="M17.414 2.586a2 2 0 00-2.828 0L7 10.172V13h2.828l7.586-7.586a2 2 0 000-2.828z"+ />+ <path+ fill-rule="evenodd"+ d="M2 6a2 2 0 012-2h4a1 1 0 010 2H4v10h10v-4a1 1 0 112 0v4a2 2 0 01-2 2H4a2 2 0 01-2-2V6z"+ clip-rule="evenodd"+ />+ </svg>+ Edit+ </a>+ <a+ href="#"+ class="group flex items-center px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >+ <svg+ class="mr-3 h-5 w-5 text-gray-400 group-hover:text-gray-500 group-focus:text-gray-500"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ d="M7 9a2 2 0 012-2h6a2 2 0 012 2v6a2 2 0 01-2 2H9a2 2 0 01-2-2V9z"+ />+ <path d="M5 3a2 2 0 00-2 2v6a2 2 0 002 2V5h8a2 2 0 00-2-2H5z" />+ </svg>+ Duplicate+ </a>+ <a+ href="#"+ class="group flex items-center px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >+ <svg+ class="mr-3 h-5 w-5 text-gray-400 group-hover:text-gray-500 group-focus:text-gray-500"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ d="M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z"+ />+ </svg>+ Share+ </a>+ </div>+ <div class="border-t border-gray-100"></div>+ <div class="py-1">+ <a+ href="#"+ class="group flex items-center px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"+ role="menuitem"+ >+ <svg+ class="mr-3 h-5 w-5 text-gray-400 group-hover:text-gray-500 group-focus:text-gray-500"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ fill-rule="evenodd"+ d="M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z"+ clip-rule="evenodd"+ />+ </svg>+ Delete+ </a>+ </div>+ </BBContextMenu>+</template>++<script lang="ts">+export default {+ name: "ProjectTableActionButton",+ components: {},+};+</script>diff --git a/frontend/src/components/ProvideUser.vue b/frontend/src/components/ProvideUser.vuenew file mode 100644index 0000000000..f4c1881551--- /dev/null+++ b/frontend/src/components/ProvideUser.vue@@ -0,0 +1,24 @@+<template>+ <slot />+</template>++<script lang="ts">+import { provide, computed } from "vue";+import { useStore } from "vuex";+import { User } from "../types";++// We use symbols as unique identifiers.+export const UserStateSymbol = Symbol("user");++export default {+ name: "ProvideUser",+ setup() {+ const store = useStore();++ const currentUser: User = computed(() =>+ store.getters["auth/currentUser"]()+ )?.value;+ provide(UserStateSymbol, currentUser);+ },+};+</script>diff --git a/frontend/src/components/SettingProjectListSidePanel.vue b/frontend/src/components/SettingProjectListSidePanel.vuenew file mode 100644index 0000000000..c71983cc2a--- /dev/null+++ b/frontend/src/components/SettingProjectListSidePanel.vue@@ -0,0 +1,47 @@+<template>+ <div class="mt-1 space-y-1" role="group" aria-labelledby="projects-headline">+ <template v-for="project in projectList" :key="project.id">+ <router-link+ :to="`/${project.attributes.namespace}/${project.attributes.slug}/setting`"+ class="sidebar-link group w-full flex items-center pl-11 pr-2 py-2"+ >+ {{ project.attributes.name }}+ </router-link>+ </template>+ </div>+</template>++<script lang="ts">+import { watchEffect, computed, inject } from "vue";+import { useStore } from "vuex";+import { UserStateSymbol } from "./ProvideUser.vue";+import { User } from "../types";++export default {+ name: "SettingProjectListSidePanel",+ props: {},+ setup(props, ctx) {+ const store = useStore();++ const currentUser = inject<User>(UserStateSymbol);++ const prepareProjectList = () => {+ store+ .dispatch("project/fetchProjectListForUser", currentUser!.id)+ .catch((error) => {+ console.log(error);+ });+ };++ const projectList = computed(() =>+ store.getters["project/projectListByUser"](currentUser!.id)+ );++ watchEffect(prepareProjectList);++ return {+ projectList,+ };+ },+};+</script>diff --git a/frontend/src/components/TheFooter.vue b/frontend/src/components/TheFooter.vuenew file mode 100644index 0000000000..efbb45f4de--- /dev/null+++ b/frontend/src/components/TheFooter.vue@@ -0,0 +1,19 @@+<template>+ <div class="bg-normal">+ <div+ class="max-w-screen-xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"+ >+ <nav class="-mx-5 -my-2 flex flex-wrap justify-center">+ <div class="px-5 py-2">+ <router-link+ to="/"+ class="text-base leading-6 text-gray-500 hover:text-gray-900"+ >+ © 2020+ <U>bytebase.com</U>+ </router-link>+ </div>+ </nav>+ </div>+ </div>+</template>diff --git a/frontend/src/components/TheHeader.vue b/frontend/src/components/TheHeader.vuenew file mode 100644index 0000000000..411e5cbd6c--- /dev/null+++ b/frontend/src/components/TheHeader.vue@@ -0,0 +1,116 @@+<template>+ <!-- Navbar -->+ <div class="max-w-full mx-auto px-2">+ <div class="relative flex items-center justify-between h-16">+ <!-- Sidebar toggle, controls the 'sidebarOpen' sidebar state. -->+ <button+ @click.prevent="$emit('open-sidebar')"+ class="px-2 text-gray-500 focus:outline-none focus:bg-gray-100 focus:text-gray-600 lg:hidden"+ aria-label="Open sidebar"+ >+ <svg+ class="h-6 w-6"+ fill="none"+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ viewBox="0 0 24 24"+ stroke="currentColor"+ >+ <path d="M4 6h16M4 12h8m-8 6h16" />+ </svg>+ </button>+ <div class="flex-1 flex">+ <form class="w-full flex md:ml-0" action="#" method="GET">+ <label for="search_field" class="sr-only">Search</label>+ <div class="relative w-full text-gray-400 focus-within:text-gray-600">+ <div+ class="pointer-events-none absolute inset-y-0 left-0 flex items-center"+ >+ <!-- Heroicon name: search -->+ <svg+ class="flex-shrink-0 h-5 w-5"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ fill-rule="evenodd"+ d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"+ clip-rule="evenodd"+ />+ </svg>+ </div>+ <input+ id="search_field_mobile"+ class="h-full w-full rounded-md py-2 pl-8 pr-3 border-transparent text-base text-gray-900 placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 sm:hidden"+ placeholder="Search"+ type="search"+ />+ <input+ id="search_field"+ class="bg-normal hidden h-full w-full py-2 pl-8 pr-3 border-transparent text-sm text-gray-900 placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 sm:block"+ placeholder="Search jobs, applicants, and more"+ type="search"+ />+ </div>+ </form>+ </div>+ <!-- Links section -->+ <div class="hidden lg:block lg:w-80">+ <div class="flex items-center justify-end">+ <div class="flex">+ <a href="#" class="link px-3 py-2">Documentation</a>+ <a href="#" class="link px-3 py-2">Support</a>+ </div>+ </div>+ </div>++ <!--+ Mobile menu, toggle classes based on menu state.++ Menu open: "block", Menu closed: "hidden"+ -->+ <div class="hidden lg:hidden">+ <div class="px-2 pt-2 pb-3">+ <a+ href="#"+ class="block px-3 py-2 rounded-md text-base font-medium text-white bg-indigo-800 focus:outline-none focus:text-indigo-100 focus:bg-indigo-600"+ >Dashboard</a+ >+ <a+ href="#"+ class="mt-1 block px-3 py-2 rounded-md text-base font-medium text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 focus:outline-none focus:text-white focus:bg-indigo-600"+ >Support</a+ >+ </div>+ <div class="pt-4 pb-3 border-t border-indigo-800">+ <div class="px-2">+ <a+ href="#"+ class="block px-3 py-2 rounded-md text-base font-medium text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 focus:outline-none focus:text-white focus:bg-indigo-600"+ >Your Profile</a+ >+ <a+ href="#"+ class="mt-1 block px-3 py-2 rounded-md text-base font-medium text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 focus:outline-none focus:text-white focus:bg-indigo-600"+ >Settings</a+ >+ <a+ href="#"+ class="mt-1 block px-3 py-2 rounded-md text-base font-medium text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 focus:outline-none focus:text-white focus:bg-indigo-600"+ >Sign out</a+ >+ </div>+ </div>+ </div>+ </div>+ </div>+</template>++<script lang="ts">+export default {+ name: "TheHeader",+ components: {},+};+</script>diff --git a/frontend/src/index.css b/frontend/src/index.cssnew file mode 100644index 0000000000..4260f17e18--- /dev/null+++ b/frontend/src/index.css@@ -0,0 +1,8 @@+/* #app {+ font-family: Avenir, Helvetica, Arial, sans-serif;+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;+ text-align: center;+ color: #2c3e50;+ margin-top: 60px;+} */diff --git a/frontend/src/main.js b/frontend/src/main.jsnew file mode 100644index 0000000000..52b7355785--- /dev/null+++ b/frontend/src/main.js@@ -0,0 +1,38 @@+import { createApp } from "vue";+import App from "./App.vue";+import { store } from "./store";+import { router } from "./router";+import "./index.css";+import "./assets/css/tailwind.css";+import { makeServer } from "./miragejs/server";+import {+ BBAlert,+ BBAvatar,+ BBContextMenu,+ BBModal,+ BBStepBar,+ BBTab,+ BBTabPanel,+ BBTable,+ BBTableCell,+ BBTableTabFilter,+} from "./bbkit";++if (process.env.NODE_ENV === "development") {+ makeServer();+}++createApp(App)+ .use(store)+ .use(router)+ .component("BBAlert", BBAlert)+ .component("BBAvatar", BBAvatar)+ .component("BBContextMenu", BBContextMenu)+ .component("BBModal", BBModal)+ .component("BBStepBar", BBStepBar)+ .component("BBTab", BBTab)+ .component("BBTabPanel", BBTabPanel)+ .component("BBTable", BBTable)+ .component("BBTableCell", BBTableCell)+ .component("BBTableTabFilter", BBTableTabFilter)+ .mount("#app");diff --git a/frontend/src/miragejs/factories/activity.js b/frontend/src/miragejs/factories/activity.jsnew file mode 100644index 0000000000..ac36dc8605--- /dev/null+++ b/frontend/src/miragejs/factories/activity.js@@ -0,0 +1,28 @@+import { randomNumber } from "./utils";+import { Factory } from "miragejs";+import faker from "faker";++export default {+ activity: Factory.extend({+ name() {+ return "activity " + faker.fake("{{lorem.word}}");+ },+ description() {+ return faker.fake("{{lorem.sentence}}");+ },+ creator() {+ return (+ faker.fake("{{name.lastName}}") + " " + faker.fake("{{name.firstName}}")+ );+ },+ link(i) {+ return "actlink" + (i + 1);+ },+ startTs() {+ return Date.now() - 3600 * 1000;+ },+ endTs() {+ return Date.now() + randomNumber(3600 * 1000);+ },+ }),+};diff --git a/frontend/src/miragejs/factories/bookmark.js b/frontend/src/miragejs/factories/bookmark.jsnew file mode 100644index 0000000000..7bf23bd354--- /dev/null+++ b/frontend/src/miragejs/factories/bookmark.js@@ -0,0 +1,13 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ bookmark: Factory.extend({+ name() {+ return "bookmark " + faker.fake("{{lorem.word}}");+ },+ link(i) {+ return "favlink" + (i + 1);+ },+ }),+};diff --git a/frontend/src/miragejs/factories/environment.js b/frontend/src/miragejs/factories/environment.jsnew file mode 100644index 0000000000..3922a6a0cb--- /dev/null+++ b/frontend/src/miragejs/factories/environment.js@@ -0,0 +1,52 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ environment: Factory.extend({+ name(i) {+ if (i == 0) {+ return "dev env";+ } else if (i == 1) {+ return "test env";+ } else if (i == 2) {+ return "staging env";+ } else {+ return "prod env " + i;+ }+ },+ order(i) {+ return i;+ },+ host(i) {+ if (i == 0) {+ return "localhost";+ } else if (i == 1) {+ return "127.0.0.1";+ } else if (i == 2) {+ return "13.24.32.122";+ } else {+ return "mydb.com";+ }+ },+ port(i) {+ if (i == 0) {+ return "3306";+ } else if (i == 1) {+ return "";+ } else if (i == 2) {+ return "15202";+ } else {+ return "5432";+ }+ },+ username() {+ return "root";+ },+ password() {+ return "root";+ },+ database() {+ return "";+ },+ }),+};diff --git a/frontend/src/miragejs/factories/group.js b/frontend/src/miragejs/factories/group.jsnew file mode 100644index 0000000000..6e492f3d2f--- /dev/null+++ b/frontend/src/miragejs/factories/group.js@@ -0,0 +1,17 @@+import { Factory, association } from "miragejs";+import faker from "faker";++export default {+ group: Factory.extend({+ name(i) {+ return "grp " + (i + 1);+ },+ slug(i) {+ return "grp" + (i + 1);+ },+ namespace() {+ return "";+ },+ afterCreate(group, server) {},+ }),+};diff --git a/frontend/src/miragejs/factories/groupRole.js b/frontend/src/miragejs/factories/groupRole.jsnew file mode 100644index 0000000000..5e3393e606--- /dev/null+++ b/frontend/src/miragejs/factories/groupRole.js@@ -0,0 +1,30 @@+import { randomNumber } from "./utils";++/*+ * Mirage JS guide on Factories: https://miragejs.com/docs/data-layer/factories+ */+import { Factory, trait, association } from "miragejs";++/*+ * Faker Github repository: https://github.com/Marak/Faker.js#readme+ */+import faker from "faker";++export default {+ groupRole: Factory.extend({+ role() {+ let dice = Math.random();+ if (dice < 0.5) {+ return "OWNER";+ } else {+ return "DEVELOPER";+ }+ },++ group: association(),++ user: association(),++ afterCreate(groupRole, server) {},+ }),+};diff --git a/frontend/src/miragejs/factories/index.js b/frontend/src/miragejs/factories/index.jsnew file mode 100644index 0000000000..debf05b8b5--- /dev/null+++ b/frontend/src/miragejs/factories/index.js@@ -0,0 +1,41 @@+/*+ * Mirage JS guide on Factories: https://miragejs.com/docs/data-layer/factories+ */++import activity from "./activity";+import user from "./user";+import bookmark from "./bookmark";+import project from "./project";+import environment from "./environment";+import repository from "./repository";+import job from "./job";+import step from "./step";+import pipeline from "./pipeline";+import sortOrder from "./sortOrder";+import group from "./group";+import workspace from "./workspace";+import workspaceRole from "./workspaceRole";++import loginInfo from "./loginInfo";++/*+ * factories are contained in a single object, that's why we+ * destructure what's coming from users and the same should+ * be done for all future factories+ */+export default {+ ...activity,+ ...user,+ ...bookmark,+ ...project,+ ...environment,+ ...repository,+ ...job,+ ...step,+ ...pipeline,+ ...sortOrder,+ ...group,+ ...workspace,+ ...workspaceRole,+ ...loginInfo,+};diff --git a/frontend/src/miragejs/factories/job.js b/frontend/src/miragejs/factories/job.jsnew file mode 100644index 0000000000..8fce584d28--- /dev/null+++ b/frontend/src/miragejs/factories/job.js@@ -0,0 +1,31 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ job: Factory.extend({+ name() {+ return "pipeline job " + faker.fake("{{lorem.word}}");+ },+ slug(i) {+ return 1000 + i;+ },+ lastUpdated() {+ return Date.now() - 3600 * 1000;+ },+ status() {+ let dice = Math.random();+ return dice < 0.33 ? "RUNNING" : dice < 0.66 ? "SUCCEEDED" : "FAILED";+ },+ afterCreate(job, server) {+ let stepList = [];+ for (let i = 0; i < 3; i++) {+ stepList.push(+ server.create("step", {+ job,+ })+ );+ }+ job.update({ step: stepList });+ },+ }),+};diff --git a/frontend/src/miragejs/factories/loginInfo.js b/frontend/src/miragejs/factories/loginInfo.jsnew file mode 100644index 0000000000..9dfca37810--- /dev/null+++ b/frontend/src/miragejs/factories/loginInfo.js@@ -0,0 +1,13 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ loginInfo: Factory.extend({+ usename() {+ return "[email protected]";+ },+ password() {+ return "blablabla";+ },+ }),+};diff --git a/frontend/src/miragejs/factories/pipeline.js b/frontend/src/miragejs/factories/pipeline.jsnew file mode 100644index 0000000000..63b4061a29--- /dev/null+++ b/frontend/src/miragejs/factories/pipeline.js@@ -0,0 +1,62 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ pipeline: Factory.extend({+ name(i) {+ return faker.fake("{{lorem.sentence}}");+ },+ createdTs(i) {+ const scaleFactor = Math.random() * i;+ return Date.now() - scaleFactor * 3600 * 6 * 1000;+ },+ lastUpdatedTs(i) {+ const scaleFactor = Math.random() * i;+ return Date.now() - scaleFactor * 3600 * 20 * 1000;+ },+ status(i) {+ if (i % 5 == 0) {+ return "CREATED";+ } else if (i % 5 == 1) {+ return "RUNNING";+ } else if (i % 5 == 2) {+ return "DONE";+ } else if (i % 5 == 3) {+ return "FAILED";+ } else {+ return "CANCELED";+ }+ },+ type() {+ let dice = Math.random();+ if (dice < 0.33) {+ return "DDL";+ } else if (dice < 0.66) {+ return "DML";+ } else {+ return "OTHER";+ }+ },+ currentStageId() {+ return "1";+ },+ stageProgressList() {+ return [+ {+ stageId: "1",+ stageName: "Stage Foo",+ status: "DONE",+ },+ ];+ },+ creatorId() {+ return 100;+ },+ assigneeId() {+ return 200;+ },+ subscriberIdList() {+ return new Array();+ },+ }),+};diff --git a/frontend/src/miragejs/factories/project.js b/frontend/src/miragejs/factories/project.jsnew file mode 100644index 0000000000..8de4577cb7--- /dev/null+++ b/frontend/src/miragejs/factories/project.js@@ -0,0 +1,25 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ project: Factory.extend({+ name() {+ return "project " + faker.fake("{{lorem.word}}");+ },+ slug(i) {+ return "pro" + (i + 1);+ },+ namespace() {+ return "";+ },+ lastUpdated() {+ return Date.now() - 3600 * 1000;+ },+ pinned(i) {+ return i % 2 == 0;+ },+ afterCreate(project, server) {+ server.create("repository", { project });+ },+ }),+};diff --git a/frontend/src/miragejs/factories/repository.js b/frontend/src/miragejs/factories/repository.jsnew file mode 100644index 0000000000..8ba3da8658--- /dev/null+++ b/frontend/src/miragejs/factories/repository.js@@ -0,0 +1,16 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ repository: Factory.extend({+ type() {+ return "Gitlab";+ },+ content() {+ return {+ accessToken: faker.internet.password(10, false, /[0-9A-Za-z]/),+ url: "localhost:1234",+ };+ },+ }),+};diff --git a/frontend/src/miragejs/factories/sortOrder.js b/frontend/src/miragejs/factories/sortOrder.jsnew file mode 100644index 0000000000..f7981a5b06--- /dev/null+++ b/frontend/src/miragejs/factories/sortOrder.js@@ -0,0 +1,13 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ sortOrder: Factory.extend({+ from() {+ return 0;+ },+ to() {+ return 1;+ },+ }),+};diff --git a/frontend/src/miragejs/factories/step.js b/frontend/src/miragejs/factories/step.jsnew file mode 100644index 0000000000..c19e3d5b9d--- /dev/null+++ b/frontend/src/miragejs/factories/step.js@@ -0,0 +1,23 @@+import { Factory } from "miragejs";+import faker from "faker";++export default {+ step: Factory.extend({+ name() {+ return "step " + faker.fake("{{lorem.word}}");+ },+ slug(i) {+ return "step" + i;+ },+ lastUpdated() {+ return Date.now() - 3600 * 1000;+ },+ created() {+ return Date.now();+ },+ status() {+ let dice = Math.random();+ return dice < 0.33 ? "RUNNING" : dice < 0.66 ? "SUCCEEDED" : "FAILED";+ },+ }),+};diff --git a/frontend/src/miragejs/factories/user.js b/frontend/src/miragejs/factories/user.jsnew file mode 100644index 0000000000..661a7f92d1--- /dev/null+++ b/frontend/src/miragejs/factories/user.js@@ -0,0 +1,28 @@+import { randomNumber } from "./utils";++/*+ * Mirage JS guide on Factories: https://miragejs.com/docs/data-layer/factories+ */+import { Factory } from "miragejs";++/*+ * Faker Github repository: https://github.com/Marak/Faker.js#readme+ */+import faker from "faker";++export default {+ user: Factory.extend({+ name() {+ return faker.fake("{{name.findName}}");+ },+ email() {+ return faker.fake("{{internet.email}}");+ },+ passwordHash() {+ return faker.fake("{{internet.password}}");+ },+ mobile() {+ return faker.fake("{{phone.phoneNumber}}");+ },+ }),+};diff --git a/frontend/src/miragejs/factories/utils.js b/frontend/src/miragejs/factories/utils.jsnew file mode 100644index 0000000000..8283fab0c8--- /dev/null+++ b/frontend/src/miragejs/factories/utils.js@@ -0,0 +1 @@+export const randomNumber = quantity => Math.floor(Math.random() * quantity) + 1;diff --git a/frontend/src/miragejs/factories/workspace.js b/frontend/src/miragejs/factories/workspace.jsnew file mode 100644index 0000000000..d4f67c3e82--- /dev/null+++ b/frontend/src/miragejs/factories/workspace.js@@ -0,0 +1,23 @@+import { Factory, association } from "miragejs";+import faker from "faker";++export default {+ workspace: Factory.extend({+ name(i) {+ return "ws " + (i + 1);+ },+ slug(i) {+ return "ws" + (i + 1);+ },+ afterCreate(workspace, server) {+ server.create("activity", {+ workspace,+ name: workspace.name + " activity1 " + faker.fake("{{lorem.word}}"),+ });+ server.create("activity", {+ workspace,+ name: workspace.name + " activity2 " + faker.fake("{{lorem.word}}"),+ });+ },+ }),+};diff --git a/frontend/src/miragejs/factories/workspaceRole.js b/frontend/src/miragejs/factories/workspaceRole.jsnew file mode 100644index 0000000000..185e3f5f85--- /dev/null+++ b/frontend/src/miragejs/factories/workspaceRole.js@@ -0,0 +1,31 @@+import { randomNumber } from "./utils";++/*+ * Mirage JS guide on Factories: https://miragejs.com/docs/data-layer/factories+ */+import { Factory, trait, association } from "miragejs";++/*+ * Faker Github repository: https://github.com/Marak/Faker.js#readme+ */+import faker from "faker";++export default {+ workspaceRole: Factory.extend({+ role() {+ let dice = Math.random();+ if (dice < 0.33) {+ return "OWNER";+ } else if (dice < 0.66) {+ return "DBA";+ } else {+ return "DEVELOPER";+ }+ },+ workspace: association(),++ user: association(),++ afterCreate(workspaceRole, server) {},+ }),+};diff --git a/frontend/src/miragejs/fixtures/index.js b/frontend/src/miragejs/fixtures/index.jsnew file mode 100644index 0000000000..31f4eda308--- /dev/null+++ b/frontend/src/miragejs/fixtures/index.js@@ -0,0 +1,13 @@+/*+ * Mirage JS guide on Fixtures: https://miragejs.com/docs/data-layer/fixtures+ */++import workspaces from "./workspaceList.json";+import workspaceRoles from "./workspaceRoleList.json";+import users from "./userList.json";++export default {+ workspaces,+ workspaceRoles,+ users,+};diff --git a/frontend/src/miragejs/fixtures/userList.json b/frontend/src/miragejs/fixtures/userList.jsonnew file mode 100644index 0000000000..61f26f8269--- /dev/null+++ b/frontend/src/miragejs/fixtures/userList.json@@ -0,0 +1,32 @@+[+ {+ "id": "1",+ "name": "Bob (Owner and Developer)",+ "email": "[email protected]",+ "passwordHash": "aaa"+ },+ {+ "id": "2",+ "name": "Alice (DBA)",+ "email": "[email protected]",+ "passwordHash": "aaa"+ },+ {+ "id": "3",+ "name": "Tom (Developer)",+ "email": "[email protected]",+ "passwordHash": "aaa"+ },+ {+ "id": "4",+ "name": "Mary (DBA)",+ "email": "[email protected]",+ "passwordHash": "aaa"+ },+ {+ "id": "5",+ "name": "Jane (Developer)",+ "email": "[email protected]",+ "passwordHash": "aaa"+ }+]diff --git a/frontend/src/miragejs/fixtures/workspaceList.json b/frontend/src/miragejs/fixtures/workspaceList.jsonnew file mode 100644index 0000000000..111e1331d5--- /dev/null+++ b/frontend/src/miragejs/fixtures/workspaceList.json@@ -0,0 +1,10 @@+[+ {+ "id": "1",+ "slug": "ws1"+ },+ {+ "id": "101",+ "slug": "ws101"+ }+]diff --git a/frontend/src/miragejs/fixtures/workspaceRoleList.json b/frontend/src/miragejs/fixtures/workspaceRoleList.jsonnew file mode 100644index 0000000000..6839ac897d--- /dev/null+++ b/frontend/src/miragejs/fixtures/workspaceRoleList.json@@ -0,0 +1,38 @@+[+ {+ "id": "1",+ "workspaceId": "1",+ "role": "OWNER",+ "userId": "1"+ },+ {+ "id": "2",+ "workspaceId": "101",+ "role": "DEVELOPER",+ "userId": "1"+ },+ {+ "id": "3",+ "workspaceId": "1",+ "role": "DBA",+ "userId": "2"+ },+ {+ "id": "4",+ "workspaceId": "1",+ "role": "DEVELOPER",+ "userId": "3"+ },+ {+ "id": "5",+ "workspaceId": "101",+ "role": "DBA",+ "userId": "4"+ },+ {+ "id": "6",+ "workspaceId": "1",+ "role": "DEVELOPER",+ "userId": "5"+ }+]diff --git a/frontend/src/miragejs/models/index.js b/frontend/src/miragejs/models/index.jsnew file mode 100644index 0000000000..1863f482de--- /dev/null+++ b/frontend/src/miragejs/models/index.js@@ -0,0 +1,84 @@+/*+ * Mirage JS guide on Models: https://miragejs.com/docs/data-layer/models+ */++import { Model, hasMany, belongsTo } from "miragejs";++/*+ * Everytime you create a new resource you have+ * to create a new Model and add it here. It is+ * true for Factories and for Fixtures.+ *+ * Mirage JS guide on Relationships: https://miragejs.com/docs/main-concepts/relationships/+ */+export default {+ user: Model.extend({+ workspaceRole: hasMany(),+ }),++ workspace: Model.extend({+ group: hasMany(),+ project: hasMany(),+ workspaceRole: hasMany(),+ pipeline: hasMany(),+ environment: hasMany(),+ }),++ workspaceRole: Model.extend({+ workspace: belongsTo(),+ user: belongsTo(),+ }),++ bookmark: Model.extend({+ workspace: belongsTo(),+ }),++ activity: Model.extend({+ workspace: belongsTo(),+ }),++ group: Model.extend({+ workspace: belongsTo(),+ project: hasMany(),+ groupRole: hasMany(),+ }),++ groupRole: Model.extend({+ group: belongsTo(),+ user: belongsTo(),+ }),++ pipeline: Model.extend({+ workspace: belongsTo(),+ }),++ environment: Model.extend({+ workspace: belongsTo(),+ }),++ project: Model.extend({+ workspace: belongsTo(),+ group: belongsTo(),+ environment: hasMany(),+ // To signal 1:1 relationship+ repository: belongsTo(),+ }),++ repository: Model.extend({+ project: belongsTo(),+ }),++ job: Model.extend({+ step: hasMany(),+ }),++ step: Model.extend({+ job: belongsTo(),+ }),++ sortOrder: Model,++ signupInfo: Model,++ loginInfo: Model,+};diff --git a/frontend/src/miragejs/routes/index.js b/frontend/src/miragejs/routes/index.jsnew file mode 100644index 0000000000..afd468f0bf--- /dev/null+++ b/frontend/src/miragejs/routes/index.js@@ -0,0 +1,266 @@+/*+ * Mirage JS guide on Routes: https://miragejs.com/docs/route-handlers/functions+ */++import user from "../factories/user";+import { Response } from "miragejs";++const WORKSPACE_ID = 1;++export default function routes() {+ // Change this value to simulate response delay.+ // By default development environment has a 400ms delay.+ this.timing = 0;++ this.namespace = "api";++ this.get("/user/:id");++ this.post("/auth/login", function (schema, request) {+ const loginInfo = this.normalizedRequestAttrs("login-info");+ const user = schema.users.findBy({+ email: loginInfo.username,+ passwordHash: loginInfo.password,+ });+ if (user) {+ return user;+ }+ return new Response(+ 401,+ {},+ { errors: loginInfo.username + " not found or incorrect password" }+ );+ });++ this.post("/auth/signup", function (schema, request) {+ const signupInfo = this.normalizedRequestAttrs("signup-info");+ const user = schema.users.findBy({ email: signupInfo.username });+ if (user) {+ return new Response(+ 409,+ {},+ { errors: signupInfo.username + " already exists" }+ );+ }+ return schema.users.create(signupInfo);+ });++ this.get("/pipeline", function (schema, request) {+ const {+ queryParams: { userid: userId },+ } = request;++ if (userId) {+ return schema.pipelines.where((pipeline) => {+ return (+ pipeline.workspaceId == WORKSPACE_ID &&+ (pipeline.creatorId == userId ||+ pipeline.assigneeId == userId ||+ pipeline.subscriberIdList.includes(userId))+ );+ });+ }+ return schema.pipelines.none();+ });++ this.get("/pipeline/:id", function (schema, request) {+ const pipeline = schema.pipelines.find(request.params.id);+ if (pipeline) {+ return pipeline;+ }+ return new Response(+ 404,+ {},+ { errors: "Pipeline " + request.params.id + " not found" }+ );+ });++ this.get("/group", function (schema, request) {+ const {+ queryParams: { userid: userId },+ } = request;++ if (userId) {+ return schema.groups.where((group) => {+ return (+ group.workspaceId == WORKSPACE_ID &&+ group.groupRoleIds?.find((roleId) => {+ return schema.groupRoles.where({+ userId,+ groupId: group.id,+ });+ })+ );+ });+ }+ return schema.groups.where({+ workspaceId: WORKSPACE_ID,+ });+ });++ this.get("/environment", function (schema, request) {+ return schema.environments+ .where((environment) => {+ return environment.workspaceId == WORKSPACE_ID;+ })+ .sort((a, b) => a.order - b.order);+ });++ this.post("/environment", function (schema, request) {+ let order = 0;+ const list = schema.environments.where((environment) => {+ return environment.workspaceId == WORKSPACE_ID;+ });+ if (list.length > 0) {+ order = list.sort((a, b) => b.order - a.order).models[0].order + 1;+ }+ const newEnvironment = {+ ...this.normalizedRequestAttrs("environment"),+ workspaceId: WORKSPACE_ID,+ order,+ };+ return schema.environments.create(newEnvironment);+ });++ this.patch("/environment/order", function (schema, request) {+ const attrs = this.normalizedRequestAttrs("sort-order");+ const list = schema.environments+ .where((environment) => {+ return environment.workspaceId == WORKSPACE_ID;+ })+ .sort((a, b) => a.order - b.order).models;+ const fromOrder = list[attrs.sourceIndex].order;+ const toOrder = list[attrs.targetIndex].order;+ if (toOrder > fromOrder) {+ list.forEach((item) => {+ if (item.order == fromOrder) {+ item.update({+ order: toOrder,+ });+ } else if (item.order > fromOrder && item.order <= toOrder) {+ item.update({+ order: item.order - 1,+ });+ }+ });+ } else if (toOrder < fromOrder) {+ list.forEach((item) => {+ if (item.order == fromOrder) {+ item.update({+ order: toOrder,+ });+ } else if (item.order >= toOrder && item.order < fromOrder) {+ item.update({+ order: item.order + 1,+ });+ }+ });+ }+ return schema.environments+ .where((environment) => {+ return environment.workspaceId == WORKSPACE_ID;+ })+ .sort((a, b) => a.order - b.order);+ });++ this.patch("/environment/:environmentId", function (schema, request) {+ const attrs = this.normalizedRequestAttrs("environment");+ return schema.environments.find(request.params.environmentId).update(attrs);+ });++ this.delete("/environment/:environmentId", function (schema, request) {+ return schema.environments.find(request.params.environmentId).destroy();+ });++ this.get("/bookmark", function (schema, request) {+ return schema.bookmarks.where({+ workspaceId: WORKSPACE_ID,+ });+ });++ this.get("/activity", function (schema, request) {+ return schema.activities.where({+ workspaceId: WORKSPACE_ID,+ });+ });++ this.get("/project", function (schema, request) {+ const {+ queryParams: { groupid: groupId, userid: userId },+ } = request;++ if (groupId && userId) {+ return new Response(+ 400,+ {},+ { errors: "groupid and userid can't be specified together" }+ );+ }++ if (!groupId && !userId) {+ return schema.projects.where({+ workspaceId: WORKSPACE_ID,+ });+ }++ const groupIdList = [];+ if (groupId) {+ groupIdList.push(groupId);+ } else if (userId) {+ const groupList = schema.groups.where((group) => {+ return (+ group.workspaceId == WORKSPACE_ID &&+ group.groupRoleIds?.find((roleId) => {+ return schema.groupRoles.where({+ userId,+ groupId: group.id,+ });+ })+ );+ });+ groupList.models.forEach((group) => {+ groupIdList.push(group.id);+ });+ }++ if (groupIdList.length) {+ return schema.projects.where((project) => {+ return (+ project.workspaceId == WORKSPACE_ID &&+ groupIdList.includes(project.groupId)+ );+ });+ }+ return schema.environments.none();+ });++ this.get("/project/:id/pipeline", function (schema, request) {+ const project = schema.projects.find(request.params.id);+ if (project) {+ return schema.pipelines.where({+ projectId: project.id,+ });+ }+ return schema.environments.none();+ });++ this.get("/project/:id/pipeline/:pipelineId", function (schema, request) {+ const project = schema.projects.find(request.params.id);+ if (project) {+ return schema.pipelines.findBy({+ slug: request.params.pipelineId,+ });+ }+ return null;+ });++ this.get("/project/:id/repository", function (schema, request) {+ const project = schema.projects.find(request.params.id);+ if (project) {+ return schema.repositories.findBy({+ projectId: project.id,+ });+ }+ return null;+ });+}diff --git a/frontend/src/miragejs/seeds/index.js b/frontend/src/miragejs/seeds/index.jsnew file mode 100644index 0000000000..10b1827145--- /dev/null+++ b/frontend/src/miragejs/seeds/index.js@@ -0,0 +1,340 @@+/*+ * Mirage JS guide on Seeds: https://miragejs.com/docs/data-layer/factories#in-development+ */+const workspacesSeeder = (server) => {+ // Workspace id is ALWAYS 1 for on-premise deployment+ const workspace1 = server.schema.workspaces.find(1);++ // Workspace 2 is just for verifying we are not returning+ // resources from different workspaces.+ const workspace2 = server.schema.workspaces.find(101);++ let environmentList1 = [];+ for (let i = 0; i < 4; i++) {+ environmentList1.push(+ server.create("environment", {+ workspace: workspace1,+ })+ );+ }+ workspace1.update({ environment: environmentList1 });++ let environmentList2 = [];+ for (let i = 0; i < 4; i++) {+ environmentList2.push(+ server.create("environment", {+ workspace: workspace2,+ })+ );+ }+ workspace2.update({ environment: environmentList2 });++ const ws1Owner = server.schema.users.find(1);+ const ws1DBA = server.schema.users.find(2);+ const ws1Dev1 = server.schema.users.find(3);+ const ws1Dev2 = server.schema.users.find(5);++ const ws2DBA = server.schema.users.find(4);+ const ws2Dev = server.schema.users.find(1);++ for (let i = 0; i < 15; i++) {+ server.create("pipeline", {+ creatorId: ws1Dev1.id,+ assigneeId: ws1Owner.id,+ subscriberIdList: [ws1DBA.id, ws1Dev2.id],+ ...fillStage(environmentList1),+ workspace: workspace1,+ });+ }++ for (let i = 0; i < 15; i++) {+ server.create("pipeline", {+ creatorId: ws1Owner.id,+ assigneeId: ws1DBA.id,+ subscriberIdList: [ws1Dev2.id],+ ...fillStage(environmentList1),+ workspace: workspace1,+ });+ }++ for (let i = 0; i < 15; i++) {+ server.create("pipeline", {+ creatorId: ws1Dev2.id,+ assigneeId: ws1DBA.id,+ subscriberIdList: [ws1Owner.id, ws1Dev1.id],+ ...fillStage(environmentList1),+ workspace: workspace1,+ });+ }++ server.create("pipeline", {+ creatorId: ws2Dev.id,+ assigneeId: ws2DBA.id,+ ...fillStage(environmentList2),+ workspace: workspace2,+ });++ // Naming convention+ // xxx <<workspace #>><<group #>><<project #>>+ // e.g. group 12 (1st workspace and 1st group inside)+ // e.g. project 241 (2nd workspace, 4th group inside and 1st project inside)++ // Group+ // Workspace 1+ const group1 = server.create("group", {+ name: "group 11",+ slug: "grp11",+ namepsace: "",+ workspace: workspace1,+ });+ const group2 = server.create("group", {+ name: "group 12",+ slug: "grp12",+ namepsace: "",+ workspace: workspace1,+ });+ const group3 = server.create("group", {+ name: "group 13",+ slug: "grp13",+ namepsace: "",+ workspace: workspace1,+ });+ // Workspace 2+ const group4 = server.create("group", {+ name: "group 24",+ slug: "grp24",+ namepsace: "",+ workspace: workspace2,+ });++ // Project+ // Workspace 1+ const project1 = server.create("project", {+ name: "proj 111",+ slug: "proj111",+ namespace: "grp11",+ workspace: workspace1,+ group: group1,+ });+ const project2 = server.create("project", {+ name: "proj 122",+ slug: "proj122",+ namespace: "grp12",+ workspace: workspace1,+ group: group2,+ });+ const project3 = server.create("project", {+ name: "proj 131",+ slug: "proj131",+ namespace: "grp13",+ workspace: workspace1,+ group: group3,+ });+ // Workspace 2+ const project4 = server.create("project", {+ name: "proj 241",+ slug: "proj241",+ namespace: "grp24",+ workspace: workspace2,+ group: group4,+ });++ // User 1 is owner of group1, developer of group3 and owner of group4+ const user1 = server.schema.users.find(1);+ server.create("groupRole", {+ role: "OWNER",+ user: user1,+ group: group1,+ });+ server.create("groupRole", {+ role: "DEVELOPER",+ user: user1,+ group: group3,+ });+ server.create("groupRole", "owner", {+ role: "OWNER",+ user: user1,+ group: group4,+ });++ // User 2 is owner of group3 and developer of group4+ const user2 = server.schema.users.find(2);+ server.create("groupRole", "owner", {+ role: "OWNER",+ user: user2,+ group: group3,+ });++ server.create("groupRole", "developer", {+ role: "DEVELOPER",+ user: user2,+ group: group4,+ });++ // Bookmarks+ // Pipeline 1+ const pipeline1 = server.schema.pipelines.find(1);+ server.create("bookmark", {+ workspace: workspace1,+ name: "Pipeline #" + pipeline1.id,+ link: `/pipeline/${pipeline1.id}`,+ });++ // Pipeline 2+ const pipeline2 = server.schema.pipelines.find(2);+ server.create("bookmark", {+ workspace: workspace1,+ name: "Pipeline #" + pipeline2.id,+ link: `/pipeline/${pipeline2.id}`,+ });++ // Pipeline 3+ const pipeline3 = server.schema.pipelines.findBy({+ workspaceId: workspace2.id,+ });+ server.create("bookmark", {+ workspace: workspace2,+ name: "Pipeline #" + pipeline3.id,+ link: `/pipeline/${pipeline3.id}`,+ });+};++const fillStage = (environmentList) => {+ const i = Math.floor(Math.random() * 5);+ if (i % 5 == 0) {+ return {+ currentStageId: environmentList[0].id,+ stageProgressList: [+ {+ stageId: environmentList[0].id,+ stageName: environmentList[0].name,+ status: "CREATED",+ },+ {+ stageId: environmentList[1].id,+ stageName: environmentList[1].name,+ status: "CREATED",+ },+ {+ stageId: environmentList[2].id,+ stageName: environmentList[2].name,+ status: "CREATED",+ },+ {+ stageId: environmentList[3].id,+ stageName: environmentList[3].name,+ status: "CREATED",+ },+ ],+ };+ } else if (i % 5 == 1) {+ return {+ currentStageId: environmentList[2].id,+ stageProgressList: [+ {+ stageId: environmentList[0].id,+ stageName: environmentList[0].name,+ status: "DONE",+ },+ {+ stageId: environmentList[1].id,+ stageName: environmentList[1].name,+ status: "DONE",+ },+ {+ stageId: environmentList[2].id,+ stageName: environmentList[2].name,+ status: "RUNNING",+ },+ {+ stageId: environmentList[3].id,+ stageName: environmentList[3].name,+ status: "CREATED",+ },+ ],+ };+ } else if (i % 5 == 2) {+ return {+ currentStageId: environmentList[3].id,+ stageProgressList: [+ {+ stageId: environmentList[0].id,+ stageName: environmentList[0].name,+ status: "DONE",+ },+ {+ stageId: environmentList[1].id,+ stageName: environmentList[1].name,+ status: "SKIPPED",+ },+ {+ stageId: environmentList[2].id,+ stageName: environmentList[2].name,+ status: "DONE",+ },+ {+ stageId: environmentList[3].id,+ stageName: environmentList[3].name,+ status: "DONE",+ },+ ],+ };+ } else if (i % 5 == 3) {+ return {+ currentStageId: environmentList[1].id,+ stageProgressList: [+ {+ stageId: environmentList[0].id,+ stageName: environmentList[0].name,+ status: "DONE",+ },+ {+ stageId: environmentList[1].id,+ stageName: environmentList[1].name,+ status: "FAILED",+ },+ {+ stageId: environmentList[2].id,+ stageName: environmentList[2].name,+ status: "CREATED",+ },+ {+ stageId: environmentList[3].id,+ stageName: environmentList[3].name,+ status: "CREATED",+ },+ ],+ };+ } else {+ return {+ currentStageId: environmentList[3].id,+ stageProgressList: [+ {+ stageId: environmentList[0].id,+ stageName: environmentList[0].name,+ status: "DONE",+ },+ {+ stageId: environmentList[1].id,+ stageName: environmentList[1].name,+ status: "SKIPPED",+ },+ {+ stageId: environmentList[2].id,+ stageName: environmentList[2].name,+ status: "DONE",+ },+ {+ stageId: environmentList[3].id,+ stageName: environmentList[3].name,+ status: "CANCELED",+ },+ ],+ };+ }+};++export default function seeds(server) {+ server.loadFixtures();+ workspacesSeeder(server);+}diff --git a/frontend/src/miragejs/server.js b/frontend/src/miragejs/server.jsnew file mode 100644index 0000000000..0a9f54e711--- /dev/null+++ b/frontend/src/miragejs/server.js@@ -0,0 +1,49 @@+import { Server, JSONAPISerializer } from "miragejs";+import factories from "./factories";+import fixtures from "./fixtures";+import routes from "./routes";+import models from "./models";+import seeds from "./seeds";++const config = (environment) => {+ const config = {+ environment,+ factories,+ models,+ routes,+ seeds,+ serializers: {+ application: JSONAPISerializer.extend({+ shouldIncludeLinkageData(relationshipKey, model) {+ return false;+ },+ keyForAttribute(modelName) {+ return modelName;+ },+ keyForModel(modelName) {+ return modelName;+ },+ keyForRelationship(modelName) {+ return modelName;+ },+ typeKeyForModel(model) {+ return model.modelName;+ },+ }),+ },+ };++ if (Object.keys(fixtures).length) {+ config.fixtures = fixtures;+ }++ return config;+};++export function makeServer({ environment = "development" } = {}) {+ const server = new Server(config(environment));+ console.log("===Mirage DB Dump Start===");+ console.log(server.db.dump());+ console.log("==========================");+ return server;+}diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.tsnew file mode 100644index 0000000000..44a8ceff49--- /dev/null+++ b/frontend/src/router/index.ts@@ -0,0 +1,380 @@+import { defineAsyncComponent } from "vue";+import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";+import MainContent from "../views/MainContent.vue";+import MainSidebar from "../views/MainSidebar.vue";+import EmptyView from "../views/EmptyView.vue";+import ActivitySidebar from "../views/ActivitySidebar.vue";+import Home from "../views/Home.vue";+import ActionbarHome from "../views/ActionbarHome.vue";+import Signin from "../views/auth/Signin.vue";+import Signup from "../views/auth/Signup.vue";+import PasswordReset from "../views/auth/PasswordReset.vue";+import MasterDetail from "../views/MasterDetail.vue";+import { store } from "../store";+import { Group, Project } from "../types";++const HOME_MODULE = "workspace.home";+const SIGNIN_MODULE = "auth.signin";+const SIGNUP_MODULE = "auth.signup";+const PASSWORD_RESET_MODULE = "auth.password.reset";++const routes: Array<RouteRecordRaw> = [+ {+ path: "/signin",+ name: SIGNIN_MODULE,+ meta: { displayName: "Signin" },+ component: Signin,+ },+ {+ path: "/signup",+ name: SIGNUP_MODULE,+ meta: { displayName: "Signup" },+ component: Signup,+ },+ {+ path: "/password-reset",+ name: PASSWORD_RESET_MODULE,+ meta: { displayName: "Reset Password" },+ component: PasswordReset,+ },+ {+ path: "/",+ name: HOME_MODULE,+ component: MasterDetail,+ children: [+ {+ path: "404",+ name: "error.404",+ meta: { displayName: "404" },+ components: {+ content: defineAsyncComponent(() => import("../views/Page404.vue")),+ leftsidebar: MainSidebar,+ rightsidebar: ActivitySidebar,+ },+ },+ {+ path: "500",+ name: "error.500",+ meta: { displayName: "500" },+ components: {+ content: defineAsyncComponent(() => import("../views/Page500.vue")),+ leftsidebar: MainSidebar,+ rightsidebar: ActivitySidebar,+ },+ },+ {+ path: "inbox",+ name: "workspace.inbox",+ meta: { displayName: "Inbox" },+ components: {+ content: defineAsyncComponent(() => import("../views/Inbox.vue")),+ leftsidebar: MainSidebar,+ rightsidebar: ActivitySidebar,+ },+ props: { actionbar: true, content: true },+ },+ {+ path: "environment",+ name: "workspace.environment",+ meta: { displayName: "Environment" },+ components: {+ content: defineAsyncComponent(+ () => import("../views/EnvironmentDashboard.vue")+ ),+ leftsidebar: MainSidebar,+ rightsidebar: ActivitySidebar,+ },+ props: { actionbar: true, content: true },+ },+ {+ path: "setting",+ name: "setting",+ meta: { displayName: "Setting" },+ components: {+ content: defineAsyncComponent(() => import("../views/Setting.vue")),+ leftsidebar: defineAsyncComponent(+ () => import("../views/SettingSidebar.vue")+ ),+ rightsidebar: ActivitySidebar,+ },+ children: [+ {+ path: "",+ name: "setting.accountprofile",+ meta: { displayName: "Account Profile" },+ component: defineAsyncComponent(+ () => import("../views/SettingAccountProfile.vue")+ ),+ alias: "account/profile",+ props: true,+ },+ {+ path: "general",+ name: "setting.workspace.general",+ meta: { displayName: "General" },+ component: defineAsyncComponent(+ () => import("../views/SettingWorkspaceGeneral.vue")+ ),+ props: true,+ },+ {+ path: "agent",+ name: "setting.workspace.agent",+ meta: { displayName: "Agents" },+ component: defineAsyncComponent(+ () => import("../views/SettingWorkspaceAgent.vue")+ ),+ props: true,+ },+ {+ path: "member",+ name: "setting.workspace.member",+ meta: { displayName: "Members" },+ component: defineAsyncComponent(+ () => import("../views/SettingWorkspaceMember.vue")+ ),+ props: true,+ },+ {+ path: "plan",+ name: "setting.workspace.plan",+ meta: { displayName: "Plans" },+ component: defineAsyncComponent(+ () => import("../views/SettingWorkspacePlan.vue")+ ),+ props: true,+ },+ {+ path: "billing",+ name: "setting.workspace.billing",+ meta: { displayName: "Billings" },+ component: defineAsyncComponent(+ () => import("../views/SettingWorkspaceBilling.vue")+ ),+ props: true,+ },+ {+ path: "integration/slack",+ name: "setting.workspace.integration.slack",+ meta: { displayName: "Slack" },+ component: defineAsyncComponent(+ () => import("../views/SettingWorkspaceIntegrationSlack.vue")+ ),+ props: true,+ },+ {+ // Use absolute path to specify the whole path while still leverages the nested route+ path: "/:groupSlug/:projectSlug/setting",+ name: "setting.workspace.project",+ meta: { displayName: "Setting" },+ component: defineAsyncComponent(+ () => import("../views/SettingWorkspaceProject.vue")+ ),+ props: true,+ },+ ],+ },+ {+ path: "",+ name: HOME_MODULE,+ components: {+ content: MainContent,+ leftsidebar: MainSidebar,+ rightsidebar: ActivitySidebar,+ },++ children: [+ {+ path: "",+ name: HOME_MODULE,+ meta: { displayName: "Home" },+ components: {+ actionbar: ActionbarHome,+ content: Home,+ },+ props: { actionbar: true, content: true },+ },+ {+ path: "pipeline/:pipelineId",+ name: "workspace.pipeline.detail",+ meta: { displayName: "Pipeline" },+ components: {+ actionbar: EmptyView,+ content: defineAsyncComponent(+ () => import("../views/PipelineDetail.vue")+ ),+ },+ props: { actionbar: true, content: true },+ },+ {+ path: ":groupSlug",+ name: "workspace.group",+ meta: { displayName: "Dashboard" },+ components: {+ actionbar: defineAsyncComponent(+ () => import("../views/ActionbarGroup.vue")+ ),+ content: defineAsyncComponent(+ () => import("../views/GroupDashboard.vue")+ ),+ },+ props: { actionbar: true, content: true },+ },+ {+ path: ":groupSlug/setting",+ name: "workspace.group.setting",+ meta: { displayName: "Setting" },+ components: {+ actionbar: EmptyView,+ content: defineAsyncComponent(+ () => import("../views/GroupSetting.vue")+ ),+ },+ props: { actionbar: true, content: true },+ },+ {+ path: ":groupSlug/:projectSlug/repository",+ name: "workspace.project.repository",+ meta: { displayName: "Repository" },+ components: {+ actionbar: EmptyView,+ content: defineAsyncComponent(+ () => import("../views/RepositoryDashboard.vue")+ ),+ },+ props: { actionbar: true, content: true },+ },+ ],+ },+ ],+ },+];++export const router = createRouter({+ history: createWebHistory(process.env.BASE_URL),+ routes,+ linkActiveClass: "text-gray-900 bg-link-hover",+ linkExactActiveClass: "text-gray-900 bg-link-hover",+});++router.beforeEach((to, from, next) => {+ const loginUser = store.getters["auth/currentUser"]();+ console.log("LoginUser:", loginUser);++ const fromModule = from.name+ ? from.name.toString().split(".")[0]+ : HOME_MODULE;+ const toModule = to.name ? to.name.toString().split(".")[0] : HOME_MODULE;++ console.log("Route module:", fromModule, "->", toModule);++ if (toModule != fromModule) {+ store.dispatch("router/setBackPath", from.fullPath);+ }++ if (+ to.name === SIGNIN_MODULE ||+ to.name === SIGNUP_MODULE ||+ to.name === PASSWORD_RESET_MODULE+ ) {+ if (loginUser) {+ next({ name: HOME_MODULE, replace: true });+ } else {+ next();+ }+ return;+ } else {+ if (!loginUser) {+ next({ name: SIGNIN_MODULE, replace: true });+ return;+ }+ }++ if (+ to.name === "error.404" ||+ to.name === "error.500" ||+ to.name === "workspace.home" ||+ to.name === "workspace.inbox" ||+ to.name === "workspace.environment" ||+ to.name?.toString().startsWith("setting")+ ) {+ next();+ return;+ }++ const routerSlug = store.getters["router/routeSlug"](to);+ const pipelineId = routerSlug.pipelineId;+ const groupSlug = routerSlug.groupSlug;+ const projectSlug = routerSlug.projectSlug;++ console.log("RouterSlug:", routerSlug);++ if (pipelineId) {+ store+ .dispatch("pipeline/fetchPipelineById", pipelineId)+ .then((pipeline) => {+ next();+ })+ .catch((error) => {+ next({+ name: "error.404",+ replace: false,+ });+ });+ return;+ }++ store+ .dispatch("group/fetchGroupListForUser", loginUser.id)+ .then((list: Group[]) => {+ let matchedGroup;+ if (groupSlug) {+ matchedGroup = list.find(+ (group: Group) => group.attributes.slug === groupSlug+ );+ }++ if (!matchedGroup) {+ next({+ name: "error.404",+ replace: false,+ });+ return;+ }++ // If no project path is specified, just go to group default page+ if (!projectSlug || to.name === "workspace.group.setting") {+ next();+ return;+ }++ let matchedProject;+ store+ .dispatch("project/fetchProjectListForGroup", matchedGroup.id)+ .then((list: Project[]) => {+ matchedProject = list.find(+ (project: Project) => project.attributes.slug === projectSlug+ );++ if (!matchedProject) {+ next({+ name: "error.404",+ replace: false,+ });+ return;+ }++ next();+ return;+ })+ .catch((error: Error) => {+ console.log("error", typeof error);+ next(error);+ return;+ });+ })+ .catch((error: Error) => {+ next(error);+ return;+ });+});diff --git a/frontend/src/shims-vue.d.ts b/frontend/src/shims-vue.d.tsnew file mode 100644index 0000000000..17da72b062--- /dev/null+++ b/frontend/src/shims-vue.d.ts@@ -0,0 +1,6 @@+// Declare vue component type+declare module "*.vue" {+ import { defineComponent } from "vue";+ const component: ReturnType<typeof defineComponent>;+ export default component;+}diff --git a/frontend/src/store/index.ts b/frontend/src/store/index.tsnew file mode 100644index 0000000000..4dc027f76a--- /dev/null+++ b/frontend/src/store/index.ts@@ -0,0 +1,29 @@+import { createStore, Store } from "vuex";+import activity from "./modules/activity";+import bookmark from "./modules/bookmark";+import project from "./modules/project";+import environment from "./modules/environment";+import repository from "./modules/repository";+import auth from "./modules/auth";+import group from "./modules/group";+import pipeline from "./modules/pipeline";+import uistate from "./modules/uistate";+import router from "./modules/router";++const debug = process.env.NODE_ENV !== "production";++export const store: Store<any> = createStore({+ modules: {+ activity,+ bookmark,+ project,+ environment,+ repository,+ auth,+ group,+ pipeline,+ uistate,+ router,+ },+ strict: debug,+});diff --git a/frontend/src/store/modules/activity.ts b/frontend/src/store/modules/activity.tsnew file mode 100644index 0000000000..e18ac2953d--- /dev/null+++ b/frontend/src/store/modules/activity.ts@@ -0,0 +1,43 @@+import axios from "axios";+import { UserId, Activity, ActivityState } from "../../types";++const state: () => ActivityState = () => ({+ activityListByUser: new Map(),+});++const getters = {+ activityListByUser: (state: ActivityState) => (userId: UserId) => {+ return state.activityListByUser.get(userId);+ },+};++const actions = {+ async fetchActivityListForUser({ commit }: any, userId: UserId) {+ const activityList = (await axios.get(`/api/activity`)).data.data;+ commit("setActivityListForUser", { userId, activityList });+ return activityList;+ },+};++const mutations = {+ setActivityListForUser(+ state: ActivityState,+ {+ userId,+ activityList,+ }: {+ userId: UserId;+ activityList: Activity[];+ }+ ) {+ state.activityListByUser.set(userId, activityList);+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/auth.ts b/frontend/src/store/modules/auth.tsnew file mode 100644index 0000000000..ef450b7b64--- /dev/null+++ b/frontend/src/store/modules/auth.ts@@ -0,0 +1,72 @@+import axios from "axios";+import { User, AuthState, LoginInfo, SignupInfo } from "../../types";++const state: () => AuthState = () => ({+ currentUser: null,+});++const getters = {+ currentUser: (state: AuthState) => () => {+ if (state.currentUser) {+ return state.currentUser;+ }+ const user = localStorage.getItem("bb.auth.user");+ if (user) {+ return JSON.parse(user);+ }+ return null;+ },+};++const actions = {+ async login({ commit }: any, loginInfo: LoginInfo) {+ const loggedInUser = (+ await axios.post("/api/auth/login", {+ data: loginInfo,+ })+ ).data.data;++ localStorage.setItem("bb.auth.user", JSON.stringify(loggedInUser));+ commit("setCurrentUser", loggedInUser);+ return loggedInUser;+ },++ async signup({ commit }: any, signupInfo: SignupInfo) {+ const newUser = (+ await axios.post("/api/auth/signup", {+ data: signupInfo,+ })+ ).data.data;++ localStorage.setItem("bb.auth.user", JSON.stringify(newUser));+ commit("setCurrentUser", newUser);+ return newUser;+ },++ async fetchCurrentUser({ commit }: any) {+ const currentUser = (await axios.get("/api/user/1")).data.data;+ localStorage.setItem("bb.auth.user", JSON.stringify(currentUser));+ commit("setCurrentUser", currentUser);+ return currentUser;+ },++ async logout({ commit }: any) {+ localStorage.removeItem("bb.auth.user");+ commit("setCurrentUser", null);+ return null;+ },+};++const mutations = {+ setCurrentUser(state: AuthState, user: User) {+ state.currentUser = user;+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/bookmark.ts b/frontend/src/store/modules/bookmark.tsnew file mode 100644index 0000000000..2cfd2a6a44--- /dev/null+++ b/frontend/src/store/modules/bookmark.ts@@ -0,0 +1,43 @@+import axios from "axios";+import { UserId, Bookmark, BookmarkState } from "../../types";++const state: () => BookmarkState = () => ({+ bookmarkListByUser: new Map(),+});++const getters = {+ bookmarkListByUser: (state: BookmarkState) => (userId: UserId) => {+ return state.bookmarkListByUser.get(userId);+ },+};++const actions = {+ async fetchBookmarkListForUser({ commit }: any, userId: UserId) {+ const bookmarkList = (await axios.get(`/api/bookmark`)).data.data;+ commit("setBookmarkListForUser", { userId, bookmarkList });+ return bookmarkList;+ },+};++const mutations = {+ setBookmarkListForUser(+ state: BookmarkState,+ {+ userId,+ bookmarkList,+ }: {+ userId: UserId;+ bookmarkList: Bookmark[];+ }+ ) {+ state.bookmarkListByUser.set(userId, bookmarkList);+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/environment.ts b/frontend/src/store/modules/environment.tsnew file mode 100644index 0000000000..5635784527--- /dev/null+++ b/frontend/src/store/modules/environment.ts@@ -0,0 +1,153 @@+import axios from "axios";+import { EnvironmentId, Environment, EnvironmentState } from "../../types";++const state: () => EnvironmentState = () => ({+ environmentList: [],+});++const getters = {+ environmentList: (state: EnvironmentState) => () => {+ return state.environmentList;+ },+};++const actions = {+ async fetchEnvironmentList({ commit }: any) {+ const environmentList = (await axios.get(`/api/environment`)).data.data;++ commit("setEnvironmentList", {+ environmentList,+ });++ return environmentList;+ },++ async createEnvironment(+ { commit }: any,+ { newEnvironment }: { newEnvironment: Environment }+ ) {+ const createdEnvironment = (+ await axios.post(`/api/environment`, {+ data: newEnvironment,+ })+ ).data.data;++ commit("appendEnvironment", {+ newEnvironment: createdEnvironment,+ });++ return createdEnvironment;+ },++ async reorderEnvironmentList(+ { commit }: any,+ { sourceIndex, targetIndex }: { sourceIndex: number; targetIndex: number }+ ) {+ const environmentList = (+ await axios.patch(`/api/environment/order`, {+ data: {+ attributes: {+ sourceIndex,+ targetIndex,+ },+ type: "sortorder",+ },+ })+ ).data.data;++ commit("setEnvironmentList", {+ environmentList,+ });++ return environmentList;+ },++ async patchEnvironmentById(+ { commit }: any,+ {+ environmentId,+ environment,+ }: {+ environmentId: EnvironmentId;+ environment: Environment;+ }+ ) {+ const updatedEnvironment = (+ await axios.patch(`/api/environment/${environmentId}`, {+ data: environment,+ })+ ).data.data;++ commit("replaceEnvironmentInList", {+ updatedEnvironment,+ });++ return updatedEnvironment;+ },++ async deleteEnvironmentById(+ { state, commit }: { state: EnvironmentState; commit: any },+ {+ id,+ }: {+ id: EnvironmentId;+ }+ ) {+ await axios.delete(`/api/environment/${id}`);++ const newList = state.environmentList.filter((item: Environment) => {+ return item.id != id;+ });++ commit("setEnvironmentList", {+ environmentList: newList,+ });+ },+};++const mutations = {+ setEnvironmentList(+ state: EnvironmentState,+ {+ environmentList,+ }: {+ environmentList: Environment[];+ }+ ) {+ state.environmentList = environmentList;+ },+ appendEnvironment(+ state: EnvironmentState,+ {+ newEnvironment,+ }: {+ newEnvironment: Environment;+ }+ ) {+ state.environmentList.push(newEnvironment);+ },++ replaceEnvironmentInList(+ state: EnvironmentState,+ {+ updatedEnvironment,+ }: {+ updatedEnvironment: Environment;+ }+ ) {+ const i = state.environmentList.findIndex(+ (item: Environment) => item.id == updatedEnvironment.id+ );+ if (i != -1) {+ state.environmentList[i] = updatedEnvironment;+ }+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/group.ts b/frontend/src/store/modules/group.tsnew file mode 100644index 0000000000..72772bf39b--- /dev/null+++ b/frontend/src/store/modules/group.ts@@ -0,0 +1,44 @@+import axios from "axios";+import { UserId, Group, GroupState } from "../../types";++const state: () => GroupState = () => ({+ groupListByUser: new Map(),+});++const getters = {+ groupListByUser: (state: GroupState) => (userId: UserId) => {+ return state.groupListByUser.get(userId);+ },+};++const actions = {+ async fetchGroupListForUser({ commit }: any, userId: UserId) {+ const groupList = (await axios.get(`/api/group?userid=${userId}`)).data+ .data;+ commit("setGroupListForUser", { userId, groupList });+ return groupList;+ },+};++const mutations = {+ setGroupListForUser(+ state: GroupState,+ {+ userId,+ groupList,+ }: {+ userId: UserId;+ groupList: Group[];+ }+ ) {+ state.groupListByUser.set(userId, groupList);+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/pipeline.ts b/frontend/src/store/modules/pipeline.tsnew file mode 100644index 0000000000..8d651d6c6f--- /dev/null+++ b/frontend/src/store/modules/pipeline.ts@@ -0,0 +1,69 @@+import axios from "axios";+import { UserId, PipelineId, Pipeline, PipelineState } from "../../types";++const state: () => PipelineState = () => ({+ pipelineListByUser: new Map(),+ pipelineById: new Map(),+});++const getters = {+ pipelineListByUser: (state: PipelineState) => (userId: UserId) => {+ return state.pipelineListByUser.get(userId);+ },+ pipelineById: (state: PipelineState) => (pipelineId: PipelineId) => {+ return state.pipelineById.get(pipelineId);+ },+};++const actions = {+ async fetchPipelineListForUser({ commit }: any, userId: UserId) {+ const pipelineList = (await axios.get(`/api/pipeline?userid=${userId}`))+ .data.data;+ commit("setPipelineListForUser", { userId, pipelineList });+ return pipelineList;+ },++ async fetchPipelineById({ commit }: any, pipelineId: PipelineId) {+ const pipeline = (await axios.get(`/api/pipeline/${pipelineId}`)).data.data;+ commit("setPipelineById", {+ pipelineId,+ pipeline,+ });+ return pipeline;+ },+};++const mutations = {+ setPipelineListForUser(+ state: PipelineState,+ {+ userId,+ pipelineList,+ }: {+ userId: UserId;+ pipelineList: Pipeline[];+ }+ ) {+ state.pipelineListByUser.set(userId, pipelineList);+ },+ setPipelineById(+ state: PipelineState,+ {+ pipelineId,+ pipeline,+ }: {+ pipelineId: PipelineId;+ pipeline: Pipeline;+ }+ ) {+ state.pipelineById.set(pipelineId, pipeline);+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/project.ts b/frontend/src/store/modules/project.tsnew file mode 100644index 0000000000..8ec8a5f626--- /dev/null+++ b/frontend/src/store/modules/project.ts@@ -0,0 +1,88 @@+import axios from "axios";+import { UserId, GroupId, Project, ProjectState } from "../../types";++const state: () => ProjectState = () => ({+ projectListByGroup: new Map(),+ projectListByUser: new Map(),+});++const getters = {+ projectListByGroup: (state: ProjectState) => (groupId: GroupId) => {+ return state.projectListByGroup.get(groupId);+ },+ projectListByUser: (state: ProjectState) => (userId: UserId) => {+ return state.projectListByUser.get(userId);+ },+ projectByNamespaceAndSlug: (state: ProjectState) => (+ namespace: string,+ slug: string+ ) => {+ for (const projectList of state.projectListByGroup.values()) {+ for (const project of projectList) {+ if (+ project.attributes.namespace === namespace &&+ project.attributes.slug === slug+ ) {+ return project;+ }+ }+ }+ return null;+ },+};++const actions = {+ async fetchProjectListForGroup({ commit }: any, groupId: GroupId) {+ const projectList = (await axios.get(`/api/project?groupid=${groupId}`))+ .data.data;+ commit("setProjectListForGroup", {+ groupId,+ projectList,+ });+ return projectList;+ },+ async fetchProjectListForUser({ commit }: any, userId: UserId) {+ const projectList = (await axios.get(`/api/project?userid=${userId}`)).data+ .data;+ commit("setProjectListForUser", {+ userId,+ projectList,+ });+ return projectList;+ },+};++const mutations = {+ setProjectListForGroup(+ state: ProjectState,+ {+ groupId,+ projectList,+ }: {+ groupId: GroupId;+ projectList: Project[];+ }+ ) {+ state.projectListByGroup.set(groupId, projectList);+ },+ setProjectListForUser(+ state: ProjectState,+ {+ userId,+ projectList,+ }: {+ userId: UserId;+ projectList: Project[];+ }+ ) {+ state.projectListByUser.set(userId, projectList);+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/repository.ts b/frontend/src/store/modules/repository.tsnew file mode 100644index 0000000000..c499de1897--- /dev/null+++ b/frontend/src/store/modules/repository.ts@@ -0,0 +1,47 @@+import axios from "axios";+import { ProjectId, Repository, RepositoryState } from "../../types";++const state: () => RepositoryState = () => ({+ repositoryByProject: new Map(),+});++const getters = {+ repositoryByProject: (state: RepositoryState) => (projectId: ProjectId) => {+ return state.repositoryByProject.get(projectId);+ },+};++const actions = {+ async fetchRepositoryForProject({ commit }: any, projectId: ProjectId) {+ const repository = (await axios.get(`/api/project/${projectId}/repository`))+ .data.data;+ commit("setRepositoryForProject", {+ projectId,+ repository,+ });+ return repository;+ },+};++const mutations = {+ setRepositoryForProject(+ state: RepositoryState,+ {+ projectId,+ repository,+ }: {+ projectId: ProjectId;+ repository: Repository;+ }+ ) {+ state.repositoryByProject.set(projectId, repository);+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/store/modules/router.ts b/frontend/src/store/modules/router.tsnew file mode 100644index 0000000000..92df97edd9--- /dev/null+++ b/frontend/src/store/modules/router.ts@@ -0,0 +1,91 @@+import { RouteLocationNormalized } from "vue-router";+import { RouterSlug } from "../../types";++export interface RouterState {}++const getters = {+ backPath: (state: RouterState) => (): string => {+ return localStorage.getItem("ui.backPath") || "/";+ },+ routeSlug: (state: RouterState) => (+ currentRoute: RouteLocationNormalized+ ): RouterSlug => {+ // /pipeline/<<pipeline-id>>+ // Total 2 elements, 2nd element is the pipeline id+ const pipelineComponents = currentRoute.path.match(+ "/pipeline/([0-9a-zA-Z_]+)"+ ) || ["/", undefined];+ if (pipelineComponents[1]) {+ return {+ pipelineId: pipelineComponents[1],+ };+ }++ // /<<group-slug>>/<<project-slug>>/pipeline/<<pipelineId>>+ // Total 7 elements, 1st element is always the fullpath+ //+ // case 1: "" or /+ // [+ // "/",+ // ]+ // case 2: <<group-slug>> or /<<group-slug>>/project+ // [+ // "<<fullpath>>",+ // "<<group-slug>>"+ // ]+ // case 3: /<<group-slug>>/<<project-slug>>+ // [+ // "<<fullpath>>",+ // "<<group-slug>>",+ // "/project/<<project-slug>>",+ // "<<project-slug>>",+ // "<<project-slug>>"+ // ]+ // case 4: /<<group-slug>>/<<project-slug>>/pipeline+ // [+ // "<<fullpath>>",+ // "<<group-slug>>",+ // "/project/<<project-slug>>",+ // "<<project-slug>>",+ // "<<project-slug>>"+ // ]+ // case 5: /<<group-slug>>/<<project-slug>>/pipeline/<<pipelineId>>+ // [+ // "<<fullpath>>",+ // "<<group-slug>>",+ // "/project/<<project-slug>>/pipeline/<<pipelineId>>",+ // "<<project-slug>>/pipeline/<<pipelineId",+ // "<<project-slug>>",+ // "/pipeline/<<pipelineId>>",+ // "<<pipelineId>>",+ // ]+ const pathComponents = currentRoute.path.match(+ "/([0-9a-zA-Z_]+)(/(([0-9a-zA-Z_]+)(/pipeline/([0-9a-zA-Z_]+)?)?)?)?"+ ) || [+ "/",+ undefined,+ undefined,+ undefined,+ undefined,+ undefined,+ undefined,+ ];+ return {+ groupSlug: pathComponents[1],+ projectSlug: pathComponents[4],+ };+ },+};++const actions = {+ setBackPath({ commit }: any, backPath: string) {+ localStorage.setItem("ui.backPath", backPath);+ return backPath;+ },+};++export default {+ namespaced: true,+ getters,+ actions,+};diff --git a/frontend/src/store/modules/uistate.ts b/frontend/src/store/modules/uistate.tsnew file mode 100644index 0000000000..cb8c5b9ae9--- /dev/null+++ b/frontend/src/store/modules/uistate.ts@@ -0,0 +1,115 @@+import isUndefined from "lodash-es/isUndefined";+import { GroupId, ProjectId } from "../../types";++export interface UIState {+ expandStateByKey: Map<string, boolean>;+}++const state: () => UIState = () => ({+ expandStateByKey: new Map(),+});++const expandStateByKey = function (state: UIState, key: string): boolean {+ const expandState = state.expandStateByKey.get(key);+ if (!isUndefined(expandState)) {+ return expandState;+ }+ const localStorageExpandState = localStorage.getItem("ui.list.expand");+ if (localStorageExpandState) {+ return JSON.parse(localStorageExpandState)[key];+ }+ return false;+};++const saveExpandStateByKey = function (+ commit: any,+ key: string,+ expand: boolean+): boolean {+ const item = localStorage.getItem("ui.list.expand");+ const fullState = item ? JSON.parse(item) : {};+ fullState[key] = expand;+ localStorage.setItem("ui.list.expand", JSON.stringify(fullState));+ commit("setExpandStateByKey", { key, expand });+ return fullState[key];+};++const getters = {+ expandStateByGroup: (state: UIState) => (groupId: GroupId) => {+ const key = ["grp", groupId].join(".");+ return expandStateByKey(state, key);+ },+ expandStateByProject: (state: UIState) => (projectId: ProjectId) => {+ const key = ["proj", projectId].join(".");+ return expandStateByKey(state, key);+ },+};++const actions = {+ async restoreExpandState({ commit }: any) {+ const item = localStorage.getItem("ui.list.expand");+ const fullState = item ? JSON.parse(item) : {};+ if (fullState) {+ commit("setExpandState", fullState);+ }+ return fullState;+ },++ async saveExpandStateByGroup(+ { commit }: any,+ {+ groupId,+ expand,+ }: {+ groupId: GroupId;+ expand: boolean;+ }+ ) {+ const key = ["grp", groupId].join(".");+ return saveExpandStateByKey(commit, key, expand);+ },++ async saveExpandStateByProject(+ { commit }: any,+ {+ projectId,+ expand,+ }: {+ projectId: ProjectId;+ expand: boolean;+ }+ ) {+ const key = ["proj", projectId].join(".");+ return saveExpandStateByKey(commit, key, expand);+ },+};++const mutations = {+ setExpandState(state: UIState, fullState: any) {+ const newMap = new Map();+ for (const key in fullState) {+ newMap.set(key, fullState[key]);+ }+ state.expandStateByKey = newMap;+ },+ setExpandStateByKey(+ state: UIState,+ {+ key,+ expand,+ }: {+ key: string;+ expand: boolean;+ }+ ) {+ state.expandStateByKey.set(key, expand);+ },+};++export default {+ namespaced: true,+ state,+ getters,+ actions,+ mutations,+};diff --git a/frontend/src/types/bytebase.ts b/frontend/src/types/bytebase.tsnew file mode 100644index 0000000000..a798d070bf--- /dev/null+++ b/frontend/src/types/bytebase.ts@@ -0,0 +1,141 @@+import { ResourceObject } from "./jsonapi";++// These ID format may change in the future, so we encapsulate with a type.+// Also good for readability.+export type UserId = string;++export type PipelineId = string;++export type GroupId = string;++export type ProjectId = string;++export type EnvironmentId = string;++// Various Fully-Qualified Id+export type FQPipelineId = {+ id: PipelineId;+ // id alone is globally unique, projectId is for constructing API path+ // since Pipeline resource is under Project resource.+ projectId: ProjectId;+};++// Models+export type User = ResourceObject & {};+export type NewUser = Omit<ResourceObject, "id">;++export type Bookmark = ResourceObject & {};+export type NewBookmark = Omit<ResourceObject, "id">;++export type Activity = ResourceObject & {};+export type NewActivity = Omit<ResourceObject, "id">;++export type Pipeline = ResourceObject & {+ attributes: {+ title: string;+ createdTs: number;+ lastUpdatedTs: number;+ status: "CREATED" | "RUNNING" | "DONE" | "FAILED" | "CANCELED";+ type: "DDL" | "DML" | "OTHER";+ currentStageId: string;+ stageProgressList: {+ stageId: string;+ stageName: string;+ status:+ | "CREATED"+ | "RUNNING"+ | "DONE"+ | "FAILED"+ | "CANCELED"+ | "SKIPPED";+ }[];+ creatorId: string;+ assigneeId: string;+ subscriberIdList: Array<string>;+ };+};+export type NewPipeline = Omit<ResourceObject, "id">;++export type Environment = ResourceObject & {+ attributes: {+ name: string;+ order: number;+ host: string;+ port: string;+ username: string;+ password: string;+ database: string;+ };+};+export type NewEnvironment = Omit<ResourceObject, "id">;++export type Group = ResourceObject & {};+export type NewGroup = Omit<ResourceObject, "id">;++export type Project = ResourceObject & {};+export type NewProject = Omit<ResourceObject, "id">;++export type Repository = ResourceObject & {};+export type NewRepository = Omit<ResourceObject, "id">;++export type LoginInfo = Omit<+ ResourceObject & {+ attributes: {+ username: string;+ password: string;+ };+ },+ "id"+>;++export type SignupInfo = Omit<+ ResourceObject & {+ attributes: {+ username: string;+ password: string;+ };+ },+ "id"+>;++// Store+export interface AuthState {+ currentUser: User | null;+}++export interface BookmarkState {+ bookmarkListByUser: Map<UserId, Bookmark[]>;+}++export interface ActivityState {+ activityListByUser: Map<UserId, Activity[]>;+}++export interface PipelineState {+ pipelineListByUser: Map<UserId, Pipeline[]>;+ pipelineById: Map<PipelineId, Pipeline>;+}++export interface GroupState {+ groupListByUser: Map<UserId, Group[]>;+}++export interface ProjectState {+ projectListByGroup: Map<GroupId, Project[]>;+ projectListByUser: Map<UserId, Project[]>;+}++export interface EnvironmentState {+ environmentList: Environment[];+}++export interface RepositoryState {+ repositoryByProject: Map<ProjectId, Repository>;+}++// UI+export interface RouterSlug {+ pipelineId?: PipelineId;+ groupSlug?: string;+ projectSlug?: string;+}diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.tsnew file mode 100644index 0000000000..78a056822e--- /dev/null+++ b/frontend/src/types/index.ts@@ -0,0 +1,2 @@+export * from "./bytebase";+export * from "./jsonapi";diff --git a/frontend/src/types/jsonapi/index.ts b/frontend/src/types/jsonapi/index.tsnew file mode 100644index 0000000000..5dd955f1fc--- /dev/null+++ b/frontend/src/types/jsonapi/index.ts@@ -0,0 +1,5 @@+// Based on https://github.com/rmarganti/json-api+export * from "./request";+export * from "./resourceObject";+export * from "./response";+export * from "./shared";diff --git a/frontend/src/types/jsonapi/request.ts b/frontend/src/types/jsonapi/request.tsnew file mode 100644index 0000000000..19d4b438fc--- /dev/null+++ b/frontend/src/types/jsonapi/request.ts@@ -0,0 +1,17 @@+import { NewResourceObject, ResourceObject } from "./resourceObject";+import { Links, Meta } from "./shared";++/**+ * A Request to be sent to a JSON API-compliant server.+ */+export interface Request<+ D extends NewResourceObject | NewResourceObject[] =+ | NewResourceObject+ | NewResourceObject[]+> {+ data: D;+ included?: ResourceObject[];+ links?: Links;+ errors?: [Error];+ meta?: Meta;+}diff --git a/frontend/src/types/jsonapi/resourceObject.ts b/frontend/src/types/jsonapi/resourceObject.tsnew file mode 100644index 0000000000..cf8bf572c4--- /dev/null+++ b/frontend/src/types/jsonapi/resourceObject.ts@@ -0,0 +1,77 @@+import { Links, Meta } from "./shared";++/**+ * A representation of a single resource.+ */+export interface ResourceObject {+ type: string;+ id: string;+ // [NOTE] This diverges from the spec a bit to make attributes required to avoid "possibly undefined ts warning"+ attributes: Attributes;+ relationships?: Relationships;+ links?: Links;+ meta?: Meta;+}++/**+ * An array of Resource Objects.+ */+export type ResourceObjects = ResourceObject[];++/**+ * Either or a single Resource Object or an array of Resource Objects.+ */+export type ResourceObjectOrObjects = ResourceObject | ResourceObjects;++/**+ * A ResourceIdentifier identifies and individual resource.+ */+export type ResourceIdentifier<+ T extends ResourceObject = ResourceObject+> = Pick<T, "type" | "id" | "meta">;++/**+ * A representation of a new Resource Object that+ * originates at the client and is yet to be created+ * on the server. The main difference between a regular+ * Resource Object is that this may not have an `id` yet.+ */+export interface NewResourceObject {+ type: string;+ id?: string;+ attributes?: Attributes;+ relationships?: Relationships;+ links?: Links;+}++/**+ * Attributes describing a Resource Object+ */+export interface Attributes {+ [index: string]: string | number | boolean | object | undefined;+}++/**+ * A Resource object's Relationships.+ */+export interface Relationships {+ [index: string]: Relationship;+}++/**+ * Describes a single Relationship type between a+ * Resource Object and one or more other Resource Objects.+ */+export interface Relationship<+ D extends ResourceObject | ResourceObject[] =+ | ResourceObject+ | ResourceObject[]+> {+ data?: D extends ResourceObject+ ? ResourceIdentifier<D>+ : D extends ResourceObject[]+ ? ResourceIdentifier<D[0]>[]+ : ResourceIdentifier | ResourceIdentifier[];+ links?: Links;+ meta?: Meta;+}diff --git a/frontend/src/types/jsonapi/response.ts b/frontend/src/types/jsonapi/response.tsnew file mode 100644index 0000000000..56e4da1bdd--- /dev/null+++ b/frontend/src/types/jsonapi/response.ts@@ -0,0 +1,71 @@+import { ResourceObject, ResourceObjectOrObjects } from "./resourceObject";+import { Links, Meta } from "./shared";++/**+ * A Response for sure containing data.+ */+export interface ResponseWithData<+ D extends ResourceObjectOrObjects = ResourceObjectOrObjects+> {+ data: D;+ included?: ResourceObject[];+ links?: Links;+ errors?: Error[];+ meta?: Meta;+}++/**+ * A Response for sure containing Errors.+ */+export interface ResponseWithErrors<+ D extends ResourceObjectOrObjects = ResourceObjectOrObjects+> {+ data?: D;+ included?: ResourceObject[];+ links?: Links;+ errors: Error[];+ meta?: Meta;+}++/**+ * A Response for sure containing top-level Meta data.+ */+export interface ResponseWithMetaData<+ D extends ResourceObjectOrObjects = ResourceObjectOrObjects+> {+ data?: D;+ included?: ResourceObject[];+ links?: Links;+ errors?: Error[];+ meta: Meta;+}++/**+ * A Response from a JSON API-compliant server.+ */+export interface Response<+ D extends ResourceObjectOrObjects = ResourceObjectOrObjects+> {+ data?: D;+ included?: ResourceObject[];+ links?: Links;+ errors?: Error[];+ meta?: Meta;+}++/**+ * An Error.+ */+export interface Error {+ id?: string;+ links?: Links;+ status?: string;+ code?: string;+ title?: string;+ detail?: string;+ source?: {+ pointer?: string;+ parameter?: string;+ };+ meta?: Meta;+}diff --git a/frontend/src/types/jsonapi/shared.ts b/frontend/src/types/jsonapi/shared.tsnew file mode 100644index 0000000000..472a311f3d--- /dev/null+++ b/frontend/src/types/jsonapi/shared.ts@@ -0,0 +1,21 @@+/**+ * An index of Links.+ */+export interface Links {+ [index: string]: string | LinkObject;+}++/**+ * A Link.+ */+export interface LinkObject {+ href: string;+ meta: Meta;+}++/**+ * An index of Meta data.+ */+export interface Meta {+ [index: string]: any;+}diff --git a/frontend/src/views/Account.vue b/frontend/src/views/Account.vuenew file mode 100644index 0000000000..52612b6e11--- /dev/null+++ b/frontend/src/views/Account.vue@@ -0,0 +1,11 @@+<template>+ <h1>Account</h1>+</template>++<script lang="ts">+export default {+ name: "Account",+ components: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/ActionbarEnvironment.vue b/frontend/src/views/ActionbarEnvironment.vuenew file mode 100644index 0000000000..8970454f78--- /dev/null+++ b/frontend/src/views/ActionbarEnvironment.vue@@ -0,0 +1,17 @@+<template>+ <div />+</template>++<script lang="ts">+import { computed, inject } from "vue";++export default {+ name: "ActionbarEnvironment",+ components: {},+ props: {},+ setup(props, ctx) {+ return {};+ },+ methods: {},+};+</script>diff --git a/frontend/src/views/ActionbarGroup.vue b/frontend/src/views/ActionbarGroup.vuenew file mode 100644index 0000000000..aa94529521--- /dev/null+++ b/frontend/src/views/ActionbarGroup.vue@@ -0,0 +1,22 @@+<template>+ <button+ type="button"+ class="btn-primary relative inline-flex items-center px-4 py-2"+ >+ New Project+ </button>+</template>++<script lang="ts">+export default {+ name: "ActionbarGroup",+ components: {},+ props: {+ groupSlug: {+ required: false,+ type: String,+ },+ },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/ActionbarHome.vue b/frontend/src/views/ActionbarHome.vuenew file mode 100644index 0000000000..1d47a0e863--- /dev/null+++ b/frontend/src/views/ActionbarHome.vue@@ -0,0 +1,21 @@+<template>+ <button+ type="button"+ class="btn-primary relative inline-flex items-center px-4 py-2"+ >+ Create Project+ </button>+</template>++<script lang="ts">+export default {+ name: "ActionbarHome",+ components: {},+ props: {+ projectSlug: {+ required: false,+ },+ },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/ActivitySidebar.vue b/frontend/src/views/ActivitySidebar.vuenew file mode 100644index 0000000000..c32ae5781c--- /dev/null+++ b/frontend/src/views/ActivitySidebar.vue@@ -0,0 +1,78 @@+<template>+ <div class="pt-6 pb-2">+ <h2 class="text-sm leading-5 font-semibold">Activity</h2>+ </div>+ <div>+ <ul class="divide-y divide-block-border pr-4">+ <li class="py-4" v-for="item in activityList" :key="item.id">+ <div class="flex space-x-3">+ <img+ class="h-6 w-6 rounded-full"+ src="../assets/avatar.jpeg"+ alt=""+ />+ <div class="flex-1 space-y-1">+ <div class="flex items-center justify-between">+ <h3 class="text-sm font-medium leading-5">+ {{ item.attributes.creator }}+ </h3>+ <p class="text-sm leading-5 text-gray-500">+ {{ humanize(item.attributes.endTs) }}+ </p>+ </div>+ <p class="text-sm leading-5 text-gray-500">+ {{ item.attributes.description }}+ </p>+ </div>+ </div>+ </li>++ <!-- More items... -->+ </ul>+ <div class="py-4 text-sm leading-5 border-t border-block-border">+ <a href="#" class="link">View all activity →</a>+ </div>+ </div>+</template>++<script lang="ts">+import moment from "moment";+import { watchEffect, computed, inject } from "vue";+import { useStore } from "vuex";+import { UserStateSymbol } from "../components/ProvideUser.vue";+import { User } from "../types";++export default {+ name: "ActivitySidebar",+ props: {},+ components: {},+ setup(props, ctx) {+ const store = useStore();++ const currentUser = inject<User>(UserStateSymbol);+ const prepareActivityList = () => {+ store+ .dispatch("activity/fetchActivityListForUser", currentUser!.id)+ .catch((error) => {+ console.log(error);+ });+ };++ const activityList = computed(() =>+ store.getters["activity/activityListByUser"](currentUser!.id)+ );++ watchEffect(prepareActivityList);++ return {+ currentUser,+ activityList,+ };+ },+ methods: {+ humanize(ts: number) {+ return moment().from(ts);+ },+ },+};+</script>diff --git a/frontend/src/views/EmptyView.vue b/frontend/src/views/EmptyView.vuenew file mode 100644index 0000000000..f6c8b9423a--- /dev/null+++ b/frontend/src/views/EmptyView.vue@@ -0,0 +1,11 @@+<template>+ <div></div>+</template>++<script lang="ts">+export default {+ name: "EmptyView",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/EnvironmentDashboard.vue b/frontend/src/views/EnvironmentDashboard.vuenew file mode 100644index 0000000000..7e39fb6efa--- /dev/null+++ b/frontend/src/views/EnvironmentDashboard.vue@@ -0,0 +1,154 @@+<template>+ <div>+ <BBTab+ :itemList="tabItemList"+ :selectedId="state.selectedId"+ allowReorder+ @create-item="createEnvironment"+ @reorder-item="redorderEnvironment"+ @select-item="selectEnvironment"+ >+ <BBTabPanel+ v-for="item in environmentList"+ :key="item.id"+ :id="item.id"+ :active="item.id == state.selectedId"+ >+ <EnvironmentDetail :environment="item" @delete="deleteEnvironment" />+ </BBTabPanel>+ </BBTab>+ </div>+ <BBModal+ :showing="state.showCreateModal"+ :title="'Create Environment'"+ @close="state.showCreateModal = false"+ >+ <EnvironmentForm+ :create="true"+ @submit="tryCreate"+ @cancel="state.showCreateModal = false"+ />+ </BBModal>+</template>++<script lang="ts">+import { watchEffect, computed, inject, reactive, readonly } from "vue";+import { useStore } from "vuex";+import EnvironmentForm from "../components/EnvironmentForm.vue";+import EnvironmentDetail from "../views/EnvironmentDetail.vue";+import { Environment, NewEnvironment } from "../types";++interface LocalState {+ selectedId: string;+ showCreateModal: boolean;+}++export default {+ name: "EnvironmentDashboard",+ components: {+ EnvironmentDetail,+ EnvironmentForm,+ },+ props: {},+ setup(props, ctx) {+ const store = useStore();++ const state = reactive<LocalState>({+ selectedId: "",+ showCreateModal: false,+ });++ const prepareEnvironmentList = () => {+ store+ .dispatch("environment/fetchEnvironmentList")+ .then((list) => {+ if (list.length > 0) {+ selectEnvironment(list[0].id);+ }+ })+ .catch((error) => {+ console.log(error);+ });+ };++ watchEffect(prepareEnvironmentList);++ const environmentList = computed(() => {+ return store.getters["environment/environmentList"]();+ });++ const tabItemList = computed(() => {+ if (environmentList.value) {+ return environmentList.value?.map((item: Environment) => ({+ id: item.id,+ name: item.attributes.name,+ }));+ }+ return new Array();+ });++ const tryCreate = (newEnvironment: NewEnvironment) => {+ store+ .dispatch("environment/createEnvironment", {+ newEnvironment,+ })+ .then((createdEnvironment) => {+ state.showCreateModal = false;+ selectEnvironment(createdEnvironment.id);+ })+ .catch((error) => {+ console.log(error);+ });+ };++ const createEnvironment = () => {+ state.showCreateModal = true;+ };++ const redorderEnvironment = (sourceIndex: number, targetIndex: number) => {+ store+ .dispatch("environment/reorderEnvironmentList", {+ sourceIndex,+ targetIndex,+ })+ .then((list) => {})+ .catch((error) => {+ console.log(error);+ });+ };++ const deleteEnvironment = (environment: Environment) => {+ store+ .dispatch("environment/deleteEnvironmentById", {+ id: environment.id,+ })+ .then(() => {+ if (tabItemList.value.length > 0) {+ selectEnvironment(tabItemList.value[0].id);+ }+ })+ .catch((error) => {+ console.log(error);+ });+ };++ const selectEnvironment = (id: string) => {+ state.selectedId = id;+ };++ const tabClass = computed(() => "w-1/" + environmentList.value.length);++ return {+ state,+ environmentList,+ tabItemList,+ tryCreate,+ createEnvironment,+ redorderEnvironment,+ deleteEnvironment,+ selectEnvironment,+ tabClass,+ };+ },+};+</script>diff --git a/frontend/src/views/EnvironmentDetail.vue b/frontend/src/views/EnvironmentDetail.vuenew file mode 100644index 0000000000..4936c271cc--- /dev/null+++ b/frontend/src/views/EnvironmentDetail.vue@@ -0,0 +1,85 @@+<template>+ <EnvironmentForm+ v-if="state.environment"+ :environment="state.environment"+ @submit="doUpdate"+ @delete="state.showDeleteModal = true"+ />+ <BBAlert+ :showing="state.showDeleteModal"+ :style="'critical'"+ :okText="'Delete'"+ :title="+ 'Delete environment \'' + state.environment.attributes.name + '\' ?'+ "+ @ok="+ () => {+ state.showDeleteModal = false;+ doDelete();+ }+ "+ @cancel="state.showDeleteModal = false"+ >+ </BBAlert>+</template>++<script lang="ts">+import { watchEffect, computed, inject, reactive, PropType } from "vue";+import { useStore } from "vuex";+import { useRouter } from "vue-router";+import EnvironmentForm from "../components/EnvironmentForm.vue";+import { Environment, EnvironmentId } from "../types";+import environment from "../store/modules/environment";++export default {+ name: "EnvironmentDetail",+ emits: ["delete"],+ components: {+ EnvironmentForm,+ },+ props: {+ environment: {+ required: true,+ type: Object as PropType<Environment>,+ },+ },+ setup(props, { emit }) {+ const store = useStore();++ const state = reactive({+ environment: props.environment,+ showDeleteModal: false,+ });++ const router = useRouter();++ const assignEnvironment = (environment: Environment) => {+ state.environment = environment;+ };++ const doUpdate = (newEnvironment: Environment) => {+ store+ .dispatch("environment/patchEnvironmentById", {+ environmentId: props.environment.id,+ environment: newEnvironment,+ })+ .then((environment) => {+ assignEnvironment(environment);+ })+ .catch((error) => {+ console.log(error);+ });+ };++ const doDelete = () => {+ emit("delete", props.environment);+ };++ return {+ state,+ doUpdate,+ doDelete,+ };+ },+};+</script>diff --git a/frontend/src/views/GroupDashboard.vue b/frontend/src/views/GroupDashboard.vuenew file mode 100644index 0000000000..b43b1aa57f--- /dev/null+++ b/frontend/src/views/GroupDashboard.vue@@ -0,0 +1,17 @@+<template>+ <h1>Group {{ groupSlug }}</h1>+</template>++<script lang="ts">+export default {+ name: "Group Dashboard",+ components: {},+ props: {+ groupSlug: {+ required: true,+ type: String,+ },+ },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/GroupSetting.vue b/frontend/src/views/GroupSetting.vuenew file mode 100644index 0000000000..24ce9f3e08--- /dev/null+++ b/frontend/src/views/GroupSetting.vue@@ -0,0 +1,17 @@+<template>+ <h1>Group {{ groupSlug }} Setting</h1>+</template>++<script lang="ts">+export default {+ name: "Group Setting",+ components: {},+ props: {+ groupSlug: {+ required: true,+ type: String,+ },+ },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vuenew file mode 100644index 0000000000..d9d1310963--- /dev/null+++ b/frontend/src/views/Home.vue@@ -0,0 +1,167 @@+<template>+ <div class="px-2 py-2 border-b">+ <BBTableTabFilter+ :itemList="state.environmentFilterList"+ :selectedIndex="state.selectedFilterIndex"+ @select-index="selectFilter"+ />+ </div>+ <h3 class="mt-4 pl-4 text-base leading-6 font-medium text-gray-900">+ Attention+ </h3>+ <div class="overflow-x-auto sm:-mx-6 lg:-mx-8">+ <div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8">+ <PipelineTable :pipelineList="filteredList(state.attentionList)" />+ </div>+ </div>++ <h3 class="mt-4 pl-4 text-base leading-6 font-medium text-gray-900">+ Subscribed+ </h3>+ <div class="overflow-x-auto sm:-mx-6 lg:-mx-8">+ <div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8">+ <PipelineTable :pipelineList="filteredList(state.subscribeList)" />+ </div>+ </div>++ <h3 class="mt-4 pl-4 text-base leading-6 font-medium text-gray-900">+ Recently Closed+ </h3>+ <div class="overflow-x-auto sm:-mx-6 lg:-mx-8">+ <div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8">+ <PipelineTable :pipelineList="filteredList(state.closeList)" />+ </div>+ </div>+</template>++<script lang="ts">+import { watchEffect, computed, inject, reactive, PropType } from "vue";+import PipelineTable from "../components/PipelineTable.vue";+import { useStore } from "vuex";+import { useRouter } from "vue-router";+import { UserStateSymbol } from "../components/ProvideUser.vue";+import { Environment, Pipeline } from "../types";+import environment from "../store/modules/environment";++interface EnvironmentFilter {+ id: string;+ title: string;+}++interface LocalState {+ attentionList: Pipeline[];+ subscribeList: Pipeline[];+ closeList: Pipeline[];+ environmentFilterList: EnvironmentFilter[];+ selectedFilterIndex: number;+}++export default {+ name: "Home",+ components: {+ PipelineTable,+ },+ props: {},+ setup(props, ctx) {+ const state = reactive<LocalState>({+ attentionList: [],+ subscribeList: [],+ closeList: [],+ environmentFilterList: [],+ selectedFilterIndex: 0,+ });+ const store = useStore();+ const router = useRouter();+ const currentUser = inject<Pipeline>(UserStateSymbol);++ const preparePipelineList = () => {+ store+ .dispatch("pipeline/fetchPipelineListForUser", currentUser!.id)+ .then((pipelineList: Pipeline[]) => {+ state.attentionList = [];+ state.subscribeList = [];+ state.closeList = [];+ for (const pipeline of pipelineList) {+ if (+ pipeline.attributes.assigneeId === currentUser!.id &&+ (pipeline.attributes.status === "CREATED" ||+ pipeline.attributes.status === "RUNNING" ||+ pipeline.attributes.status === "FAILED")+ ) {+ state.attentionList.push(pipeline);+ } else if (+ pipeline.attributes.subscriberIdList.includes(currentUser!.id) &&+ (pipeline.attributes.status === "CREATED" ||+ pipeline.attributes.status === "RUNNING" ||+ pipeline.attributes.status === "FAILED")+ ) {+ state.subscribeList.push(pipeline);+ } else if (+ pipeline.attributes.creatorId === currentUser!.id &&+ (pipeline.attributes.status === "DONE" ||+ pipeline.attributes.status === "CANCELED")+ ) {+ state.closeList.push(pipeline);+ }+ }+ })+ .catch((error) => {+ console.log(error);+ });+ };++ const prepareEnvironmentList = () => {+ store+ .dispatch("environment/fetchEnvironmentList")+ .then((list: Environment[]) => {+ state.environmentFilterList = [+ {+ id: "",+ title: "All",+ },+ ...list+ .map((environment) => {+ return {+ id: environment.id,+ title: environment.attributes.name,+ };+ })+ // Usually env is ordered by ascending importantance, thus we rervese the order to put+ // more important ones first.+ .reverse(),+ ];+ })+ .catch((error) => {+ console.log(error);+ });+ };++ const selectFilter = (index: number) => {+ state.selectedFilterIndex = index;+ };++ const filteredList = (list: Pipeline[]) => {+ if (state.selectedFilterIndex == 0) {+ // Select "All"+ return list;+ }+ return list.filter((pipeline) => {+ return (+ pipeline.attributes.currentStageId ==+ state.environmentFilterList[state.selectedFilterIndex].id+ );+ });+ };++ watchEffect(preparePipelineList);++ watchEffect(prepareEnvironmentList);++ return {+ state,+ filteredList,+ selectFilter,+ };+ },+};+</script>diff --git a/frontend/src/views/Inbox.vue b/frontend/src/views/Inbox.vuenew file mode 100644index 0000000000..ee9fdb2ba5--- /dev/null+++ b/frontend/src/views/Inbox.vue@@ -0,0 +1,11 @@+<template>+ <h1>Inbox</h1>+</template>++<script lang="ts">+export default {+ name: "Inbox",+ components: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/MainContent.vue b/frontend/src/views/MainContent.vuenew file mode 100644index 0000000000..8ed016369a--- /dev/null+++ b/frontend/src/views/MainContent.vue@@ -0,0 +1,31 @@+<template>+ <div class="bg-normal py-4 sm:px-6">+ <div class="flex -ml-4 justify-between flex-wrap sm:flex-no-wrap">+ <!-- Breadcrumb section -->+ <div class="ml-4 mt-2" aria-label="Breadcrumb">+ <Breadcrumb />+ </div>+ <div class="ml-4 mt-2 flex-shrink-0">+ <span class="inline-flex rounded-md shadow-sm">+ <router-view name="actionbar"></router-view>+ </span>+ </div>+ </div>+ </div>+ <div class="mt-2">+ <router-view name="content"></router-view>+ </div>+</template>++<script lang="ts">+import Breadcrumb from "../components/Breadcrumb.vue";++export default {+ name: "MainContent",+ components: {+ Breadcrumb,+ },+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/MainSidebar.vue b/frontend/src/views/MainSidebar.vuenew file mode 100644index 0000000000..7639a4d6fc--- /dev/null+++ b/frontend/src/views/MainSidebar.vue@@ -0,0 +1,126 @@+<template>+ <!-- Navigation -->+ <nav class="flex-1 flex flex-col mt-2 px-3 overflow-y-auto">+ <div class="space-y-1">+ <router-link+ to="/"+ class="sidebar-link group flex items-center px-2 py-2"+ active-class="sidebar-link"+ >+ <svg+ class="mr-3 h-6 w-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"+ />+ </svg>+ Home+ </router-link>++ <router-link+ to="/inbox"+ class="sidebar-link group flex items-center px-2 py-2"+ >+ <svg+ class="mr-3 h-6 w-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ v-if="state.hasUnreadMessage"+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M8 4H6a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-2m-4-1v8m0 0l3-3m-3 3L9 8m-5 5h2.586a1 1 0 01.707.293l2.414 2.414a1 1 0 00.707.293h3.172a1 1 0 00.707-.293l2.414-2.414a1 1 0 01.707-.293H20"+ ></path>+ <path+ v-else+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"+ ></path>+ </svg>+ Inbox+ </router-link>+ <router-link+ to="/environment"+ class="sidebar-link group flex items-center px-2 py-2"+ >+ <svg+ class="mr-3 w-6 h-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"+ ></path>+ </svg>+ Environment+ </router-link>+ </div>+ <div class="mt-4">+ <BookmarkListSidePanel />+ </div>+ <!-- <div class="mt-4">+ <ProjectListSidePanel />+ </div>+ <div class="mt-4">+ <GroupListSidePanel />+ </div> -->+ </nav>+</template>++<script lang="ts">+import { onMounted, reactive } from "vue";+import { useStore } from "vuex";+import BookmarkListSidePanel from "../components/BookmarkListSidePanel.vue";+// import GroupListSidePanel from "../components/GroupListSidePanel.vue";+// import ProjectListSidePanel from "../components/ProjectListSidePanel.vue";++interface LocalState {+ hasUnreadMessage: boolean;+}++export default {+ name: "MainSidebar",+ props: {},+ components: {+ BookmarkListSidePanel,+ // GroupListSidePanel,+ // ProjectListSidePanel,+ },+ setup(props, ctx) {+ const store = useStore();++ const state = reactive<LocalState>({+ hasUnreadMessage: Math.random() > 0.5,+ });++ const restoreExpandState = () => {+ store.dispatch("uistate/restoreExpandState").catch((error) => {+ console.log(error);+ });+ };++ onMounted(restoreExpandState);++ return {+ state,+ };+ },+};+</script>diff --git a/frontend/src/views/MasterDetail.vue b/frontend/src/views/MasterDetail.vuenew file mode 100644index 0000000000..13fc8218ee--- /dev/null+++ b/frontend/src/views/MasterDetail.vue@@ -0,0 +1,171 @@+<template>+ <!--+ Tailwind UI components require Tailwind CSS v1.8 and the @tailwindcss/ui plugin.+ Read the documentation to get started: https://tailwindui.com/documentation+-->+ <!-- Background color split screen for large screens -->+ <div class="relative min-h-screen flex flex-col">+ <div class="flex-grow w-full max-w-full mx-auto lg:flex">+ <!-- Off-canvas menu for mobile, show/hide based on off-canvas menu state. -->+ <div v-if="showMobileOverlay" class="lg:hidden">+ <div class="fixed inset-0 flex z-40">+ <!--+ Off-canvas menu overlay, show/hide based on off-canvas menu state.++ Entering: "transition-opacity ease-linear duration-300"+ From: "opacity-0"+ To: "opacity-100"+ Leaving: "transition-opacity ease-linear duration-300"+ From: "opacity-100"+ To: "opacity-0"+ -->+ <div class="fixed inset-0">+ <div class="absolute inset-0 bg-gray-600 opacity-75"></div>+ </div>+ <!--+ Off-canvas menu, show/hide based on off-canvas menu state.++ Entering: "transition ease-in-out duration-300 transform"+ From: "-translate-x-full"+ To: "translate-x-0"+ Leaving: "transition ease-in-out duration-300 transform"+ From: "translate-x-0"+ To: "-translate-x-full"+ -->+ <div class="sidebar relative flex-1 flex flex-col max-w-xs pt-4">+ <div class="absolute top-0 right-0 -mr-14 p-1">+ <button+ @click.prevent="state.showMobileOverlay = false"+ class="flex items-center justify-center h-12 w-12 rounded-full focus:outline-none focus:bg-gray-600"+ aria-label="Close sidebar"+ >+ <svg+ class="h-6 w-6 text-white"+ stroke="currentColor"+ fill="none"+ viewBox="0 0 24 24"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M6 18L18 6M6 6l12 12"+ />+ </svg>+ </button>+ </div>+ <div class="flex-shrink-0 flex justify-between px-4 mb-6">+ <router-link to="/" active-class="" exact-active-class=""+ ><img+ class="h-10 w-auto"+ src="../assets/logo.svg"+ alt="Bytebase"+ /></router-link>+ <ProfileDropdown />+ </div>+ <router-view name="leftsidebar" />+ <div+ class="flex-shrink-0 flex flex-row border-t border-block-border p-3 text-gray-700"+ >+ <svg+ class="w-5 h-5"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"+ ></path>+ </svg>+ <a href="/" class="ml-1 text-sm">Help & Feedback</a>+ </div>+ </div>+ </div>+ </div>+ <div+ class="bg-normal hidden lg:flex lg:flex-shrink-0 flex-col w-64 border-r border-block-border pt-4"+ >+ <div class="flex justify-between flex-shrink-0 px-4 mb-2">+ <router-link to="/" active-class="" exact-active-class=""+ ><img class="h-10 w-auto" src="../assets/logo.svg" alt="Bytebase"+ /></router-link>+ <div class="flex items-center flex-shrink-0 pl-4">+ <ProfileDropdown />+ </div>+ </div>+ <router-view name="leftsidebar" />+ <div+ class="flex-shrink-0 flex flex-row border-t border-block-border p-3 text-gray-700"+ >+ <svg+ class="w-5 h-5"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"+ ></path>+ </svg>+ <a href="/" class="ml-1 text-sm">Help & Feedback</a>+ </div>+ </div>+ <div class="lg:flex flex-col flex-1">+ <div+ class="bg-normal flex-shrink-0 border-b border-block-border px-2 py-2"+ >+ <TheHeader v-on:open-sidebar="state.showMobileOverlay = true" />+ </div>+ <div class="lg:flex flex-1">+ <!-- Main Content-->+ <div class="bg-normal lg:min-w-0 lg:flex-1">+ <router-view name="content" />+ </div>+ <!-- Activity feed -->+ <div+ class="lg:block bg-gray-50 pr-4 sm:pr-6 lg:pr-8 lg:flex-shrink-0 lg:border-l lg:border-block-border xl:pr-0"+ >+ <div class="pl-6 lg:w-80">+ <router-view name="rightsidebar" />+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+</template>++<script lang="ts">+import { reactive } from "vue";+import ActivitySidebar from "../views/ActivitySidebar.vue";+import ProfileDropdown from "../components/ProfileDropdown.vue";+import TheHeader from "../components/TheHeader.vue";++interface LocalState {+ showMobileOverlay: boolean;+}++export default {+ name: "MaseterDetail",+ components: {+ ActivitySidebar,+ ProfileDropdown,+ TheHeader,+ },+ setup(props, ctx) {+ const state = reactive<LocalState>({+ showMobileOverlay: false,+ });++ return state;+ },+};+</script>diff --git a/frontend/src/views/Page404.vue b/frontend/src/views/Page404.vuenew file mode 100644index 0000000000..4bd406ca49--- /dev/null+++ b/frontend/src/views/Page404.vue@@ -0,0 +1,12 @@+<template>+ <h1>404</h1>+ <div class="flex-shrink-0 flex border-t border-block-border p-4"></div>+</template>++<script lang="ts">+export default {+ name: "404",+ components: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/Page500.vue b/frontend/src/views/Page500.vuenew file mode 100644index 0000000000..9eaa23759e--- /dev/null+++ b/frontend/src/views/Page500.vue@@ -0,0 +1,11 @@+<template>+ <h1>500</h1>+</template>++<script lang="ts">+export default {+ name: "500",+ components: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/PipelineDetail.vue b/frontend/src/views/PipelineDetail.vuenew file mode 100644index 0000000000..d9eb613b7f--- /dev/null+++ b/frontend/src/views/PipelineDetail.vue@@ -0,0 +1,607 @@+<template>+ <!-- Page header -->+ <div+ class="max-w-3xl mx-auto px-4 sm:px-6 md:flex md:items-center md:justify-between md:space-x-5 lg:max-w-7xl lg:px-8"+ >+ <div class="flex items-center space-x-5">+ <div class="flex-shrink-0">+ <div class="relative">+ <img+ class="h-16 w-16 rounded-full"+ src="https://images.unsplash.com/photo-1463453091185-61582044d556?ixlib=rb-=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=8&w=1024&h=1024&q=80"+ alt=""+ />+ <span+ class="absolute inset-0 shadow-inner rounded-full"+ aria-hidden="true"+ ></span>+ </div>+ </div>+ <div>+ <h1 class="text-2xl font-bold text-gray-900">+ {{ pipeline.attributes.name }}+ </h1>+ <p class="text-sm font-medium text-gray-500">+ Created on+ <time datetime="2020-08-25">+ {{ humanize(pipeline.attributes.createdTs) }}</time+ >+ </p>+ </div>+ </div>+ <div+ class="mt-6 flex flex-col-reverse justify-stretch space-y-4 space-y-reverse sm:flex-row-reverse sm:justify-end sm:space-x-reverse sm:space-y-0 sm:space-x-3 md:mt-0 md:flex-row md:space-x-3"+ >+ <button+ type="button"+ class="inline-flex items-center justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-blue-500"+ >+ Disqualify+ </button>+ <button+ type="button"+ class="inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-blue-500"+ >+ Advance to offer+ </button>+ </div>+ </div>++ <div+ class="mt-8 max-w-3xl mx-auto grid grid-cols-1 gap-6 sm:px-6 lg:max-w-7xl lg:grid-flow-col-dense lg:grid-cols-3"+ >+ <div class="space-y-6 lg:col-start-1 lg:col-span-2">+ <!-- Description list-->+ <section aria-labelledby="applicant-information-title">+ <div class="bg-white shadow sm:rounded-lg">+ <div class="px-4 py-5 sm:px-6">+ <h2+ id="applicant-information-title"+ class="text-lg leading-6 font-medium text-gray-900"+ >+ Applicant Information+ </h2>+ <p class="mt-1 max-w-2xl text-sm text-gray-500">+ Personal details and application.+ </p>+ </div>+ <div class="border-t border-gray-200 px-4 py-5 sm:px-6">+ <dl class="grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2">+ <div class="sm:col-span-1">+ <dt class="text-sm font-medium text-gray-500">+ Application for+ </dt>+ <dd class="mt-1 text-sm text-gray-900">Backend Developer</dd>+ </div>+ <div class="sm:col-span-1">+ <dt class="text-sm font-medium text-gray-500">Email address</dt>+ <dd class="mt-1 text-sm text-gray-900">+ </dd>+ </div>+ <div class="sm:col-span-1">+ <dt class="text-sm font-medium text-gray-500">+ Salary expectation+ </dt>+ <dd class="mt-1 text-sm text-gray-900">$120,000</dd>+ </div>+ <div class="sm:col-span-1">+ <dt class="text-sm font-medium text-gray-500">Phone</dt>+ <dd class="mt-1 text-sm text-gray-900">+1 555-555-5555</dd>+ </div>+ <div class="sm:col-span-2">+ <dt class="text-sm font-medium text-gray-500">About</dt>+ <dd class="mt-1 text-sm text-gray-900">+ Fugiat ipsum ipsum deserunt culpa aute sint do nostrud anim+ incididunt cillum culpa consequat. Excepteur qui ipsum aliquip+ consequat sint. Sit id mollit nulla mollit nostrud in ea+ officia proident. Irure nostrud pariatur mollit ad adipisicing+ reprehenderit deserunt qui eu.+ </dd>+ </div>+ <div class="sm:col-span-2">+ <dt class="text-sm font-medium text-gray-500">Attachments</dt>+ <dd class="mt-1 text-sm text-gray-900">+ <ul+ class="border border-gray-200 rounded-md divide-y divide-gray-200"+ >+ <li+ class="pl-3 pr-4 py-3 flex items-center justify-between text-sm"+ >+ <div class="w-0 flex-1 flex items-center">+ <!-- Heroicon name: paper-clip -->+ <svg+ class="flex-shrink-0 h-5 w-5 text-gray-400"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M8 4a3 3 0 00-3 3v4a5 5 0 0010 0V7a1 1 0 112 0v4a7 7 0 11-14 0V7a5 5 0 0110 0v4a3 3 0 11-6 0V7a1 1 0 012 0v4a1 1 0 102 0V7a3 3 0 00-3-3z"+ clip-rule="evenodd"+ />+ </svg>+ <span class="ml-2 flex-1 w-0 truncate">+ resume_back_end_developer.pdf+ </span>+ </div>+ <div class="ml-4 flex-shrink-0">+ <a+ href="#"+ class="font-medium text-blue-600 hover:text-blue-500"+ >+ Download+ </a>+ </div>+ </li>+ <li+ class="pl-3 pr-4 py-3 flex items-center justify-between text-sm"+ >+ <div class="w-0 flex-1 flex items-center">+ <!-- Heroicon name: paper-clip -->+ <svg+ class="flex-shrink-0 h-5 w-5 text-gray-400"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M8 4a3 3 0 00-3 3v4a5 5 0 0010 0V7a1 1 0 112 0v4a7 7 0 11-14 0V7a5 5 0 0110 0v4a3 3 0 11-6 0V7a1 1 0 012 0v4a1 1 0 102 0V7a3 3 0 00-3-3z"+ clip-rule="evenodd"+ />+ </svg>+ <span class="ml-2 flex-1 w-0 truncate">+ coverletter_back_end_developer.pdf+ </span>+ </div>+ <div class="ml-4 flex-shrink-0">+ <a+ href="#"+ class="font-medium text-blue-600 hover:text-blue-500"+ >+ Download+ </a>+ </div>+ </li>+ </ul>+ </dd>+ </div>+ </dl>+ </div>+ <div>+ <a+ href="#"+ class="block bg-gray-50 text-sm font-medium text-gray-500 text-center px-4 py-4 hover:text-gray-700 sm:rounded-b-lg"+ >Read full application</a+ >+ </div>+ </div>+ </section>++ <!-- Comments-->+ <section aria-labelledby="notes-title">+ <div class="bg-white shadow sm:rounded-lg sm:overflow-hidden">+ <div class="divide-y divide-gray-200">+ <div class="px-4 py-5 sm:px-6">+ <h2 id="notes-title" class="text-lg font-medium text-gray-900">+ Notes+ </h2>+ </div>+ <div class="bg-gray-50 px-4 py-6 sm:px-6">+ <div class="flex space-x-3">+ <div class="flex-shrink-0">+ <img+ class="h-10 w-10 rounded-full"+ src="https://images.unsplash.com/photo-1517365830460-955ce3ccd263?ixlib=rb-=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=8&w=256&h=256&q=80"+ alt=""+ />+ </div>+ <div class="min-w-0 flex-1">+ <form action="#">+ <div>+ <label for="comment" class="sr-only">About</label>+ <textarea+ id="comment"+ name="comment"+ rows="3"+ class="shadow-sm block w-full focus:ring-blue-500 focus:border-blue-500 sm:text-sm border-gray-300 rounded-md"+ placeholder="Add a note"+ ></textarea>+ </div>+ <div class="mt-3 flex items-center justify-between">+ <a+ href="#"+ class="group inline-flex items-start text-sm space-x-2 text-gray-500 hover:text-gray-900"+ >+ <!-- Heroicon name: question-mark-circle -->+ <svg+ class="flex-shrink-0 h-5 w-5 text-gray-400 group-hover:text-gray-500"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z"+ clip-rule="evenodd"+ />+ </svg>+ <span> Some HTML is okay. </span>+ </a>+ <button+ type="submit"+ class="inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"+ >+ Comment+ </button>+ </div>+ </form>+ </div>+ </div>+ </div>+ <div class="px-4 py-6 sm:px-6">+ <ul class="space-y-8">+ <li>+ <div class="flex space-x-3">+ <div class="flex-shrink-0">+ <img+ class="h-10 w-10 rounded-full"+ src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"+ alt=""+ />+ </div>+ <div>+ <div class="text-sm">+ <a href="#" class="font-medium text-gray-900"+ >Leslie Alexander</a+ >+ </div>+ <div class="mt-1 text-sm text-gray-700">+ <p>+ Ducimus quas delectus ad maxime totam doloribus+ reiciendis ex. Tempore dolorem maiores. Similique+ voluptatibus tempore non ut.+ </p>+ </div>+ <div class="mt-2 text-sm space-x-2">+ <span class="text-gray-500 font-medium">4d ago</span>+ <span class="text-gray-500 font-medium">·</span>+ <button type="button" class="text-gray-900 font-medium">+ Reply+ </button>+ </div>+ </div>+ </div>+ </li>++ <li>+ <div class="flex space-x-3">+ <div class="flex-shrink-0">+ <img+ class="h-10 w-10 rounded-full"+ src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"+ alt=""+ />+ </div>+ <div>+ <div class="text-sm">+ <a href="#" class="font-medium text-gray-900"+ >Michael Foster</a+ >+ </div>+ <div class="mt-1 text-sm text-gray-700">+ <p>+ Et ut autem. Voluptatem eum dolores sint+ necessitatibus quos. Quis eum qui dolorem accusantium+ voluptas voluptatem ipsum. Quo facere iusto quia+ accusamus veniam id explicabo et aut.+ </p>+ </div>+ <div class="mt-2 text-sm space-x-2">+ <span class="text-gray-500 font-medium">4d ago</span>+ <span class="text-gray-500 font-medium">·</span>+ <button type="button" class="text-gray-900 font-medium">+ Reply+ </button>+ </div>+ </div>+ </div>+ </li>+ </ul>+ </div>+ </div>+ </div>+ </section>+ </div>++ <section+ aria-labelledby="timeline-title"+ class="lg:col-start-3 lg:col-span-1"+ >+ <div class="bg-white px-4 py-5 shadow sm:rounded-lg sm:px-6">+ <h2 id="timeline-title" class="text-lg font-medium text-gray-900">+ Timeline+ </h2>++ <!-- Activity Feed -->+ <div class="mt-6 flow-root">+ <ul class="-mb-8">+ <li>+ <div class="relative pb-8">+ <span+ class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"+ aria-hidden="true"+ ></span>+ <div class="relative flex space-x-3">+ <div>+ <span+ class="h-8 w-8 rounded-full bg-gray-400 flex items-center justify-center ring-8 ring-white"+ >+ <!-- Heroicon name: user -->+ <svg+ class="h-5 w-5 text-white"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z"+ clip-rule="evenodd"+ />+ </svg>+ </span>+ </div>+ <div+ class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"+ >+ <div>+ <p class="text-sm text-gray-500">+ Applied to+ <a href="#" class="font-medium text-gray-900"+ >Front End Developer</a+ >+ </p>+ </div>+ <div+ class="text-right text-sm whitespace-nowrap text-gray-500"+ >+ <time datetime="2020-09-20">Sep 20</time>+ </div>+ </div>+ </div>+ </div>+ </li>++ <li>+ <div class="relative pb-8">+ <span+ class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"+ aria-hidden="true"+ ></span>+ <div class="relative flex space-x-3">+ <div>+ <span+ class="h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"+ >+ <!-- Heroicon name: thumb-up -->+ <svg+ class="h-5 w-5 text-white"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ d="M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"+ />+ </svg>+ </span>+ </div>+ <div+ class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"+ >+ <div>+ <p class="text-sm text-gray-500">+ Advanced to phone screening by+ <a href="#" class="font-medium text-gray-900"+ >Bethany Blake</a+ >+ </p>+ </div>+ <div+ class="text-right text-sm whitespace-nowrap text-gray-500"+ >+ <time datetime="2020-09-22">Sep 22</time>+ </div>+ </div>+ </div>+ </div>+ </li>++ <li>+ <div class="relative pb-8">+ <span+ class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"+ aria-hidden="true"+ ></span>+ <div class="relative flex space-x-3">+ <div>+ <span+ class="h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"+ >+ <!-- Heroicon name: check -->+ <svg+ class="h-5 w-5 text-white"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"+ clip-rule="evenodd"+ />+ </svg>+ </span>+ </div>+ <div+ class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"+ >+ <div>+ <p class="text-sm text-gray-500">+ Completed phone screening with+ <a href="#" class="font-medium text-gray-900"+ >Martha Gardner</a+ >+ </p>+ </div>+ <div+ class="text-right text-sm whitespace-nowrap text-gray-500"+ >+ <time datetime="2020-09-28">Sep 28</time>+ </div>+ </div>+ </div>+ </div>+ </li>++ <li>+ <div class="relative pb-8">+ <span+ class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"+ aria-hidden="true"+ ></span>+ <div class="relative flex space-x-3">+ <div>+ <span+ class="h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"+ >+ <!-- Heroicon name: thumb-up -->+ <svg+ class="h-5 w-5 text-white"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ d="M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"+ />+ </svg>+ </span>+ </div>+ <div+ class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"+ >+ <div>+ <p class="text-sm text-gray-500">+ Advanced to interview by+ <a href="#" class="font-medium text-gray-900"+ >Bethany Blake</a+ >+ </p>+ </div>+ <div+ class="text-right text-sm whitespace-nowrap text-gray-500"+ >+ <time datetime="2020-09-30">Sep 30</time>+ </div>+ </div>+ </div>+ </div>+ </li>++ <li>+ <div class="relative pb-8">+ <div class="relative flex space-x-3">+ <div>+ <span+ class="h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"+ >+ <!-- Heroicon name: check -->+ <svg+ class="h-5 w-5 text-white"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fill-rule="evenodd"+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"+ clip-rule="evenodd"+ />+ </svg>+ </span>+ </div>+ <div+ class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"+ >+ <div>+ <p class="text-sm text-gray-500">+ Completed interview with+ <a href="#" class="font-medium text-gray-900"+ >Katherine Snyder</a+ >+ </p>+ </div>+ <div+ class="text-right text-sm whitespace-nowrap text-gray-500"+ >+ <time datetime="2020-10-04">Oct 4</time>+ </div>+ </div>+ </div>+ </div>+ </li>+ </ul>+ </div>+ <div class="mt-6 flex flex-col justify-stretch">+ <button+ type="button"+ class="inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"+ >+ Advance to offer+ </button>+ </div>+ </div>+ </section>+ </div>+</template>++<script lang="ts">+import { computed } from "vue";+import { useStore } from "vuex";+import moment from "moment";++export default {+ name: "PipelineDetail",+ props: {+ pipelineId: {+ required: true,+ type: String,+ },+ },+ setup(props, ctx) {+ const store = useStore();+ const pipeline = computed(() =>+ store.getters["pipeline/pipelineById"](props.pipelineId)+ );++ const humanize = function (ts: number) {+ const time = moment.utc(ts);+ return time.format("LLL");+ };++ return { pipeline, humanize };+ },+};+</script>diff --git a/frontend/src/views/RepositoryDashboard.vue b/frontend/src/views/RepositoryDashboard.vuenew file mode 100644index 0000000000..907ff94e32--- /dev/null+++ b/frontend/src/views/RepositoryDashboard.vue@@ -0,0 +1,53 @@+<template>+ Repository+ {{ repository?.attributes.type }}+ <br />+ Access Token+ {{ repository?.attributes.content.accessToken }}+</template>++<script lang="ts">+import { watchEffect, computed } from "vue";+import { useStore } from "vuex";+import { Project } from "../types";++export default {+ name: "RepositoryDashboard",+ props: {+ groupSlug: {+ required: true,+ type: String,+ },+ projectSlug: {+ required: true,+ type: String,+ },+ },+ setup(props, ctx) {+ const store = useStore();++ const project: Project = store.getters["project/projectByNamespaceAndSlug"](+ props.groupSlug,+ props.projectSlug+ );++ const prepareRepository = () => {+ store+ .dispatch("repository/fetchRepositoryForProject", project.id)+ .catch((error) => {+ console.log(error);+ });+ };++ const repository = computed(() =>+ store.getters["repository/repositoryByProject"](project.id)+ );++ watchEffect(prepareRepository);++ return {+ repository,+ };+ },+};+</script>diff --git a/frontend/src/views/Setting.vue b/frontend/src/views/Setting.vuenew file mode 100644index 0000000000..9effe22488--- /dev/null+++ b/frontend/src/views/Setting.vue@@ -0,0 +1,11 @@+<template>+ <router-view />+</template>++<script lang="ts">+export default {+ name: "Setting",+ components: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingAccountProfile.vue b/frontend/src/views/SettingAccountProfile.vuenew file mode 100644index 0000000000..6acc27ee5d--- /dev/null+++ b/frontend/src/views/SettingAccountProfile.vue@@ -0,0 +1,11 @@+<template>+ <h1>Account Profile</h1>+</template>++<script lang="ts">+export default {+ name: "SettingAccountProfile",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingSidebar.vue b/frontend/src/views/SettingSidebar.vuenew file mode 100644index 0000000000..baa3dd2d98--- /dev/null+++ b/frontend/src/views/SettingSidebar.vue@@ -0,0 +1,208 @@+<template>+ <!-- Navigation -->+ <nav class="flex-1 flex flex-col px-3 overflow-y-auto">+ <div class="space-y-1">+ <button+ @click.prevent="goBack"+ class="group flex items-center px-2 py-2 text-base leading-5 font-normal rounded-md text-gray-700 focus:outline-none"+ >+ <svg+ class="mr-1 h-6 w-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ >+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M15 19l-7-7 7-7"+ ></path>+ </svg>+ Back+ </button>++ <div class="mt-8">+ <div+ class="group flex items-center px-2 py-2 text-sm leading-5 font-medium rounded-md text-gray-700"+ >+ <svg+ class="mr-3 h-6 w-6 text-gray-500"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"+ ></path>+ </svg>+ Account+ </div>+ <div class="space-y-1">+ <router-link+ to="/setting/account/profile"+ class="navlink group w-full flex items-center pl-11 pr-2 py-2"+ >+ Profile+ </router-link>+ </div>+ </div>+ <div class="mt-8">+ <div+ class="group flex items-center px-2 py-2 text-sm leading-5 font-medium rounded-md text-gray-700"+ >+ <svg+ class="mr-3 h-6 w-6 text-gray-500"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"+ ></path>+ </svg>+ Workspace+ </div>+ <div class="space-y-1">+ <router-link+ to="/setting/general"+ class="sidebar-link group w-full flex items-center pl-11 pr-2 py-2"+ >+ General+ </router-link>+ <router-link+ to="/setting/agent"+ class="sidebar-link group w-full flex items-center pl-11 pr-2 py-2"+ >+ Agents+ </router-link>+ <router-link+ to="/setting/member"+ class="sidebar-link group w-full flex items-center pl-11 pr-2 py-2"+ >+ Members+ </router-link>+ <router-link+ to="/setting/plan"+ class="sidebar-link group w-full flex items-center pl-11 pr-2 py-2"+ >+ Plans+ </router-link>+ <router-link+ to="/setting/billing"+ class="sidebar-link group w-full flex items-center pl-11 pr-2 py-2"+ >+ Billing+ </router-link>+ <div+ class="pl-4 mt-1 space-y-1"+ role="group"+ aria-labelledby="projects-headline"+ >+ <button+ @click.prevent="toggleExpand"+ class="sidebar-link mt-1 group w-full flex items-center pr-2 py-2"+ >+ <svg+ v-if="state.expandState"+ class="mr-2 h-5 w-5 transform rotate-90 group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"+ viewBox="0 0 20 20"+ >+ <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />+ </svg>+ <svg+ v-else+ class="mr-2 h-5 w-5 transform group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"+ viewBox="0 0 20 20"+ >+ <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />+ </svg>+ Integrations+ </button>+ <!-- Expandable link section, show/hide based on state. -->+ <div v-if="state.expandState" class="mt-1 space-y-1">+ <router-link+ to="/setting/integration/slack"+ class="sidebar-link group w-full flex items-center pl-10 pr-2 py-1"+ >+ Slack+ </router-link>+ </div>+ </div>+ </div>+ </div>+ <div class="mt-8">+ <div+ class="group flex items-center px-2 py-2 text-sm leading-5 font-medium rounded-md text-gray-700"+ >+ <svg+ class="mr-3 h-6 w-6 text-gray-500"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"+ ></path>+ </svg>+ Projects+ </div>+ <!-- <SettingProjectListSidePanel /> -->+ </div>+ </div>+ </nav>+</template>++<script lang="ts">+import { reactive } from "vue";+import { useStore } from "vuex";+import { useRouter } from "vue-router";+// import SettingProjectListSidePanel from "../components/SettingProjectListSidePanel.vue";++interface LocalState {+ expandState: boolean;+}++export default {+ name: "SettingSidebar",+ props: {},+ components: {+ // SettingProjectListSidePanel,+ },+ setup(props, ctx) {+ const store = useStore();+ const router = useRouter();++ const state = reactive<LocalState>({+ expandState: true,+ });++ const goBack = () => {+ router.push(store.getters["router/backPath"]());+ };++ const toggleExpand = () => {+ state.expandState = !state.expandState;+ };++ return {+ state,+ goBack,+ toggleExpand,+ };+ },+};+</script>diff --git a/frontend/src/views/SettingWorkspaceAgent.vue b/frontend/src/views/SettingWorkspaceAgent.vuenew file mode 100644index 0000000000..256724fb62--- /dev/null+++ b/frontend/src/views/SettingWorkspaceAgent.vue@@ -0,0 +1,11 @@+<template>+ <h1>Agent</h1>+</template>++<script lang="ts">+export default {+ name: "SettingWorkspaceAgent",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingWorkspaceBilling.vue b/frontend/src/views/SettingWorkspaceBilling.vuenew file mode 100644index 0000000000..56edac974d--- /dev/null+++ b/frontend/src/views/SettingWorkspaceBilling.vue@@ -0,0 +1,11 @@+<template>+ <h1>Billing</h1>+</template>++<script lang="ts">+export default {+ name: "SettingWorkspaceBilling",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingWorkspaceGeneral.vue b/frontend/src/views/SettingWorkspaceGeneral.vuenew file mode 100644index 0000000000..107e5494fa--- /dev/null+++ b/frontend/src/views/SettingWorkspaceGeneral.vue@@ -0,0 +1,11 @@+<template>+ <h1>General</h1>+</template>++<script lang="ts">+export default {+ name: "SettingWorkspaceGeneral",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingWorkspaceIntegrationSlack.vue b/frontend/src/views/SettingWorkspaceIntegrationSlack.vuenew file mode 100644index 0000000000..17cd6c2aa4--- /dev/null+++ b/frontend/src/views/SettingWorkspaceIntegrationSlack.vue@@ -0,0 +1,11 @@+<template>+ <h1>Slack</h1>+</template>++<script lang="ts">+export default {+ name: "SettingWorkspaceIntegrationSlack",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingWorkspaceMember.vue b/frontend/src/views/SettingWorkspaceMember.vuenew file mode 100644index 0000000000..66bd2bbd12--- /dev/null+++ b/frontend/src/views/SettingWorkspaceMember.vue@@ -0,0 +1,11 @@+<template>+ <h1>Member</h1>+</template>++<script lang="ts">+export default {+ name: "SettingWorkspaceMember",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingWorkspacePlan.vue b/frontend/src/views/SettingWorkspacePlan.vuenew file mode 100644index 0000000000..514eb9c0ef--- /dev/null+++ b/frontend/src/views/SettingWorkspacePlan.vue@@ -0,0 +1,11 @@+<template>+ <h1>Plan</h1>+</template>++<script lang="ts">+export default {+ name: "SettingWorkspacePlan",+ props: {},+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/SettingWorkspaceProject.vue b/frontend/src/views/SettingWorkspaceProject.vuenew file mode 100644index 0000000000..be0ab9d62b--- /dev/null+++ b/frontend/src/views/SettingWorkspaceProject.vue@@ -0,0 +1,15 @@+<template>+ <h1>Project Setting</h1>+</template>++<script lang="ts">+export default {+ name: "SettingWorkspaceProject",+ props: {+ projectSlug: {+ required: true,+ },+ },+ setup(props, ctx) {},+};+</script>diff --git a/frontend/src/views/auth/PasswordReset.vue b/frontend/src/views/auth/PasswordReset.vuenew file mode 100644index 0000000000..6cb5227ad1--- /dev/null+++ b/frontend/src/views/auth/PasswordReset.vue@@ -0,0 +1,94 @@+<template>+ <!--+ Tailwind UI components require Tailwind CSS v1.8 and the @tailwindcss/ui plugin.+ Read the documentation to get started: https://tailwindui.com/documentation+-->+ <div class="bg-normal min-h-screen flex">+ <div+ class="flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"+ >+ <div class="mx-auto w-full max-w-sm lg:w-96">+ <div>+ <img class="h-12 w-auto" src="../../assets/logo.svg" alt="Bytebase" />+ <h2 class="mt-6 text-3xl leading-9 font-extrabold text-gray-900">+ Reset your password+ </h2>+ </div>++ <div class="mt-8">+ <div class="mt-6">+ <form @submit.prevent="trySignin" class="space-y-6">+ <div>+ <label+ for="email"+ class="block text-base font-medium leading-5 text-gray-700"+ >+ Enter your email address and we will send you a password reset+ link+ </label>+ <div class="mt-4 rounded-md shadow-sm">+ <input+ id="email"+ type="email"+ v-model="email"+ required+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"+ />+ </div>+ </div>++ <div>+ <span class="block w-full rounded-md shadow-sm">+ <button+ type="submit"+ class="btn-primary w-full flex justify-center py-2 px-4"+ >+ Send reset link+ </button>+ </span>+ </div>+ </form>+ </div>+ </div>++ <div class="mt-6 relative">+ <div class="absolute inset-0 flex items-center" aria-hidden="true">+ <div class="w-full border-t border-control-border"></div>+ </div>+ <div class="relative flex justify-center text-sm">+ <router-link+ to="signin"+ class="text-accent bg-normal px-2 font-medium hover:underline focus:outline-none focus:underline"+ >+ Return to Sign in+ </router-link>+ </div>+ </div>+ </div>+ </div>+ <div class="hidden lg:block relative w-0 flex-1">+ <img+ class="absolute inset-0 h-full w-full object-cover"+ src="../../assets/Signin-splash.jpeg"+ alt=""+ />+ </div>+ </div>+</template>++<script lang="ts">+export default {+ name: "PasswordReset",+ setup(props, ctx) {},+ data: function () {+ return {+ email: null,+ };+ },+ methods: {+ tryReset: function () {+ console.log("Reset Email", this.email);+ },+ },+};+</script>diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vuenew file mode 100644index 0000000000..068c841bb5--- /dev/null+++ b/frontend/src/views/auth/Signin.vue@@ -0,0 +1,171 @@+<template>+ <!--+ Tailwind UI components require Tailwind CSS v1.8 and the @tailwindcss/ui plugin.+ Read the documentation to get started: https://tailwindui.com/documentation+-->+ <div class="bg-normal min-h-screen flex">+ <div+ class="flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"+ >+ <div class="mx-auto w-full max-w-sm lg:w-96">+ <div>+ <img class="h-12 w-auto" src="../../assets/logo.svg" alt="Bytebase" />+ <h2 class="mt-6 text-3xl leading-9 font-extrabold text-gray-900">+ Sign in to your account+ </h2>+ </div>++ <div class="mt-8">+ <div class="mt-6">+ <form @submit.prevent="trySignin" class="space-y-6">+ <div>+ <label+ for="email"+ class="block text-sm font-medium leading-5 text-gray-700"+ >+ </label>+ <div class="mt-1 rounded-md shadow-sm">+ <input+ id="email"+ type="email"+ v-model="state.email"+ required+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"+ />+ </div>+ </div>++ <div>+ <label+ for="password"+ class="block text-sm font-medium leading-5 text-gray-700"+ >+ Password+ </label>+ <div class="mt-1 rounded-md shadow-sm">+ <input+ id="password"+ type="password"+ v-model="state.password"+ required+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"+ />+ </div>+ </div>++ <div class="flex items-center justify-between">+ <div class="flex items-center">+ <input+ id="remember_me"+ type="checkbox"+ v-model="state.rememberMe"+ class="text-accent form-checkbox h-4 w-4"+ />+ <label+ for="remember_me"+ class="ml-2 block text-sm leading-5 text-gray-900"+ >+ Remember me+ </label>+ </div>++ <div class="text-sm leading-5">+ <router-link+ to="password-reset"+ class="text-accent font-medium hover:underline focus:outline-none focus:underline"+ >+ Forgot your password?+ </router-link>+ </div>+ </div>++ <div>+ <span class="block w-full rounded-md shadow-sm">+ <button+ type="submit"+ class="btn-primary w-full flex justify-center py-2 px-4"+ >+ Sign in+ </button>+ </span>+ </div>+ </form>+ </div>+ </div>++ <div class="mt-6 relative">+ <div class="absolute inset-0 flex items-center" aria-hidden="true">+ <div class="w-full border-t border-control-border"></div>+ </div>+ <div class="relative flex justify-center text-sm">+ <span class="pl-2 bg-normal text-gray-500"> New to Bytebase? </span>+ <router-link+ to="signup"+ class="text-accent bg-normal px-2 font-medium hover:underline focus:outline-none focus:underline"+ >+ Sign up+ </router-link>+ </div>+ </div>+ </div>+ </div>+ <div class="hidden lg:block relative w-0 flex-1">+ <img+ class="absolute inset-0 h-full w-full object-cover"+ src="../../assets/signin-splash.jpeg"+ alt=""+ />+ </div>+ </div>+</template>++<script lang="ts">+import { reactive } from "vue";+import { useStore } from "vuex";+import { LoginInfo } from "../../types";++interface LocalState {+ email: string;+ password: string;+ rememberMe: boolean;+}++export default {+ name: "Signin",+ setup(props, ctx) {+ const store = useStore();++ const state = reactive<LocalState>({+ email: "",+ password: "",+ rememberMe: true,+ });++ const trySignin = () => {+ const loginInfo: LoginInfo = {+ type: "loginInfo",+ attributes: {+ username: state.email,+ password: state.password,+ },+ };+ store+ .dispatch("auth/login", loginInfo)+ .then(() => {+ // Do a full page reload to avoid stale UI state.+ location.replace("/");+ })+ .catch((error: Error) => {+ console.log(error);+ return;+ });+ };++ return {+ state,+ trySignin,+ };+ },+};+</script>diff --git a/frontend/src/views/auth/Signup.vue b/frontend/src/views/auth/Signup.vuenew file mode 100644index 0000000000..ba69157be2--- /dev/null+++ b/frontend/src/views/auth/Signup.vue@@ -0,0 +1,164 @@+<template>+ <!--+ Tailwind UI components require Tailwind CSS v1.8 and the @tailwindcss/ui plugin.+ Read the documentation to get started: https://tailwindui.com/documentation+-->+ <div class="bg-normal min-h-screen flex">+ <div+ class="flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"+ >+ <div class="mx-auto w-full max-w-sm lg:w-96">+ <div>+ <img class="h-12 w-auto" src="../../assets/logo.svg" alt="Bytebase" />+ <h2 class="mt-6 text-3xl leading-9 font-extrabold text-gray-900">+ Register your account+ </h2>+ </div>++ <div class="mt-8">+ <div class="mt-6">+ <form @submit.prevent="trySignup" class="space-y-6">+ <div>+ <label+ for="email"+ class="block text-sm font-medium leading-5 text-gray-700"+ >+ </label>+ <div class="mt-1 rounded-md shadow-sm">+ <input+ id="email"+ type="email"+ v-model="state.email"+ required+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"+ />+ </div>+ </div>++ <div>+ <label+ for="password"+ class="block text-sm font-medium leading-5 text-gray-700"+ >+ Password+ </label>+ <div class="mt-1 rounded-md shadow-sm">+ <input+ id="password"+ type="password"+ v-model="state.password"+ required+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"+ />+ </div>+ </div>++ <div class="flex items-center justify-between">+ <div class="flex items-center">+ <input+ id="remember_me"+ type="checkbox"+ v-model="state.rememberMe"+ class="text-accent form-checkbox h-4 w-4"+ />+ <label+ for="remember_me"+ class="ml-2 block text-sm leading-5 text-gray-900"+ >+ Remember me+ </label>+ </div>+ </div>++ <div>+ <span class="block w-full rounded-md shadow-sm">+ <button+ type="submit"+ class="btn-primary w-full flex justify-center py-2 px-4"+ >+ Register+ </button>+ </span>+ </div>+ </form>+ </div>+ </div>++ <div class="mt-6 relative">+ <div class="absolute inset-0 flex items-center" aria-hidden="true">+ <div class="w-full border-t border-control-border"></div>+ </div>+ <div class="relative flex justify-center text-sm">+ <span class="pl-2 bg-normal text-gray-500">+ Already have an account?+ </span>+ <router-link+ to="signin"+ class="text-accent bg-normal px-2 font-medium hover:underline focus:outline-none focus:underline"+ >+ Sign in+ </router-link>+ </div>+ </div>+ </div>+ </div>+ <div class="hidden lg:block relative w-0 flex-1">+ <img+ class="absolute inset-0 h-full w-full object-cover"+ src="../../assets/Signin-splash.jpeg"+ alt=""+ />+ </div>+ </div>+</template>++<script lang="ts">+import { reactive } from "vue";+import { useStore } from "vuex";+import { SignupInfo } from "../../types";++interface LocalState {+ email: string;+ password: string;+ rememberMe: boolean;+}++export default {+ name: "Signup",+ setup(props, ctx) {+ const store = useStore();++ const state = reactive<LocalState>({+ email: "",+ password: "",+ rememberMe: true,+ });++ const trySignup = () => {+ const signupInfo: SignupInfo = {+ type: "signupInfo",+ attributes: {+ username: state.email,+ password: state.password,+ },+ };+ store+ .dispatch("auth/signup", signupInfo)+ .then(() => {+ // Do a full page reload to avoid stale UI state.+ location.replace("/");+ })+ .catch((error: Error) => {+ console.log(error);+ return;+ });+ };++ return {+ state,+ trySignup,+ };+ },+};+</script>diff --git a/frontend/static/favicon.svg b/frontend/static/favicon.svgnew file mode 100644index 0000000000..5d25a8b6f5--- /dev/null+++ b/frontend/static/favicon.svg@@ -0,0 +1,5 @@+<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M46.1905 152.505C29.9046 144.91 16.6497 132.054 8.56169 116.008C0.473633 99.9615 -1.97652 81.6593 1.60602 64.0506C5.18857 46.4418 14.5952 30.5519 28.3101 18.9414C42.025 7.33087 59.2495 0.675864 77.208 0.0487342C95.1666 -0.578395 112.813 4.85888 127.305 15.4844C141.796 26.11 152.288 41.3049 157.09 58.6209C161.893 75.9369 160.725 94.3654 153.776 110.937C146.827 127.508 134.501 141.258 118.785 149.97L80 80L46.1905 152.505Z" fill="#111827"/>+<path d="M118.708 150.012C107.686 156.106 95.3806 159.511 82.7937 159.951C70.2068 160.391 57.694 157.853 46.2734 152.543L80 80L118.708 150.012Z" fill="white"/>+<path d="M35 47.0375L125.88 47.0375L125.88 85.4375C125.88 95.4215 123.533 102.931 118.84 107.965C114.232 113.086 108.259 115.646 100.92 115.646C96.2267 115.646 92.1307 114.494 88.632 112.19C85.2187 109.971 82.616 106.899 80.824 102.974C79.2027 107.24 76.6427 110.611 73.144 113.086C69.6453 115.646 65.5067 116.926 60.728 116.926C52.7067 116.926 46.392 114.366 41.784 109.246C37.2613 104.126 35 96.7442 35 87.1015L35 47.0375ZM109.112 65.2135L89.4 65.2135V85.3095C89.4 88.9788 90.2107 91.7948 91.832 93.7575C93.5387 95.8055 96.0133 96.8295 99.256 96.8295C102.157 96.8295 104.504 95.8482 106.296 93.8855C108.173 92.0082 109.112 89.1495 109.112 85.3095L109.112 65.2135ZM72.504 65.2135H51.768V86.5895C51.768 90.4295 52.664 93.2882 54.456 95.1655C56.248 97.1282 58.808 98.1095 62.136 98.1095C65.2933 98.1095 67.8107 97.1282 69.688 95.1655C71.5653 93.2882 72.504 90.4295 72.504 86.5895V65.2135Z" fill="white"/>+</svg>diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.jsnew file mode 100644index 0000000000..a9b89fb524--- /dev/null+++ b/frontend/tailwind.config.js@@ -0,0 +1,41 @@+const defaultTheme = require("tailwindcss/defaultTheme");+const colors = require("tailwindcss/colors");++module.exports = {+ future: {+ // removeDeprecatedGapUtilities: true,+ // purgeLayersByDefault: true,+ },+ purge: [],+ theme: {+ extend: {+ colors: {+ accent: "var(--color-accent)",+ "accent-hover": "var(--color-accent-hover)",+ "accent-text": "var(--color-accent-text)",+ normal: "var(--color-normal)",+ "normal-hover": "var(--color-normal-hover)",+ "normal-text": "var(--color-normal-text)",+ error: "var(--color-error)",+ "error-hover": "var(--color-error-hover)",++ "link-hover": "var(--color-link-hover)",++ "block-border": "var(--color-block-border)",+ "control-border": "var(--color-control-border)",+ },+ fontFamily: {+ sans: ["Inter var", ...defaultTheme.fontFamily.sans],+ },+ },+ },+ variants: {+ extend: {+ ringWidth: ["focus-visible"],+ opacity: ["disabled"],+ backgroundColor: ["disabled"],+ cursor: ["disabled"],+ },+ },+ plugins: [require("@tailwindcss/forms")],+};diff --git a/frontend/tsconfig.json b/frontend/tsconfig.jsonnew file mode 100644index 0000000000..75e7b427db--- /dev/null+++ b/frontend/tsconfig.json@@ -0,0 +1,66 @@+{+ "compilerOptions": {+ /* Basic Options */+ // "incremental": true, /* Enable incremental compilation */+ "target": "esnext", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */+ "module": "esnext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */+ // "lib": [], /* Specify library files to be included in the compilation. */+ // "allowJs": true, /* Allow javascript files to be compiled. */+ // "checkJs": true, /* Report errors in .js files. */+ "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */+ // "declaration": true, /* Generates corresponding '.d.ts' file. */+ // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */+ // "sourceMap": true, /* Generates corresponding '.map' file. */+ // "outFile": "./", /* Concatenate and emit output to single file. */+ // "outDir": "./", /* Redirect output structure to the directory. */+ // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */+ // "composite": true, /* Enable project compilation */+ // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */+ // "removeComments": true, /* Do not emit comments to output. */+ // "noEmit": true, /* Do not emit outputs. */+ // "importHelpers": true, /* Import emit helpers from 'tslib'. */+ // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */+ // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */++ /* Strict Type-Checking Options */+ "strict": true, /* Enable all strict type-checking options. */+ // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */+ // "strictNullChecks": true, /* Enable strict null checks. */+ // "strictFunctionTypes": true, /* Enable strict checking of function types. */+ // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */+ // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */+ // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */+ // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */++ /* Additional Checks */+ // "noUnusedLocals": true, /* Report errors on unused locals. */+ // "noUnusedParameters": true, /* Report errors on unused parameters. */+ // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */+ // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */++ /* Module Resolution Options */+ "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */+ // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */+ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */+ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */+ // "typeRoots": [], /* List of folders to include type definitions from. */+ // "types": [], /* Type declaration files to be included in compilation. */+ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */+ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */+ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */+ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */++ /* Source Map Options */+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */+ // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */+ // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */++ /* Experimental Options */+ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */+ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */++ /* Advanced Options */+ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */+ }+}diff --git a/frontend/vite.config.js b/frontend/vite.config.jsnew file mode 100644index 0000000000..80285db378--- /dev/null+++ b/frontend/vite.config.js@@ -0,0 +1,20 @@+// const path = require("path");++module.exports = {+ optimizeDeps: {+ allowNodeBuiltins: ["postcss", "bytebase"],+ },+ proxy: {+ // // string shorthand+ // '/foo': 'http://localhost:4567/foo',+ // // with options+ // '/api': {+ // target: 'http://jsonplaceholder.typicode.com',+ // changeOrigin: true,+ // rewrite: path => path.replace(/^\/api/, '')+ // }+ },+ alias: {+ // "/@/": path.resolve(__dirname, "./src"),+ },+};diff --git a/frontend/yarn.lock b/frontend/yarn.locknew file mode 100644index 0000000000..b7422d5964--- /dev/null+++ b/frontend/yarn.lock@@ -0,0 +1,2604 @@+# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.+# yarn lockfile v1+++"@babel/code-frame@^7.5.5":+ version "7.10.4"+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a"+ integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==+ dependencies:+ "@babel/highlight" "^7.10.4"++"@babel/helper-validator-identifier@^7.10.4":+ version "7.10.4"+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2"+ integrity sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==++"@babel/highlight@^7.10.4":+ version "7.10.4"+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143"+ integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==+ dependencies:+ "@babel/helper-validator-identifier" "^7.10.4"+ chalk "^2.0.0"+ js-tokens "^4.0.0"++"@babel/parser@^7.11.5", "@babel/parser@^7.9.4":+ version "7.11.5"+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.11.5.tgz#c7ff6303df71080ec7a4f5b8c003c58f1cf51037"+ integrity sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q==++"@babel/types@^7.11.5":+ version "7.11.5"+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.5.tgz#d9de577d01252d77c6800cee039ee64faf75662d"+ integrity sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==+ dependencies:+ "@babel/helper-validator-identifier" "^7.10.4"+ lodash "^4.17.19"+ to-fast-properties "^2.0.0"++"@fullhuman/postcss-purgecss@^3.0.0":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@fullhuman/postcss-purgecss/-/postcss-purgecss-3.0.0.tgz#e39bf7a7d2a2c664ed151b639785b2efcbca33ff"+ integrity sha512-cvuOgMwIVlfgWcUMqg5p33NbGUxLwMrKtDKkm3QRfOo4PRVNR6+y/xd9OyXTVZiB1bIpKNJ0ZObYPWD3DRQDtw==+ dependencies:+ postcss "7.0.32"+ purgecss "^3.0.0"++"@miragejs/pretender-node-polyfill@^0.1.0":+ version "0.1.2"+ resolved "https://registry.yarnpkg.com/@miragejs/pretender-node-polyfill/-/pretender-node-polyfill-0.1.2.tgz#d26b6b7483fb70cd62189d05c95d2f67153e43f2"+ integrity sha512-M/BexG/p05C5lFfMunxo/QcgIJnMT2vDVCd00wNqK2ImZONIlEETZwWJu1QtLxtmYlSHlCFl3JNzp0tLe7OJ5g==++"@nodelib/[email protected]":+ version "2.1.3"+ resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b"+ integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==+ dependencies:+ "@nodelib/fs.stat" "2.0.3"+ run-parallel "^1.1.9"++"@nodelib/[email protected]", "@nodelib/fs.stat@^2.0.2":+ version "2.0.3"+ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3"+ integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==++"@nodelib/fs.walk@^1.2.3":+ version "1.2.4"+ resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976"+ integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==+ dependencies:+ "@nodelib/fs.scandir" "2.1.3"+ fastq "^1.6.0"++"@rollup/plugin-commonjs@^14.0.0":+ version "14.0.0"+ resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-14.0.0.tgz#4285f9ec2db686a31129e5a2b415c94aa1f836f0"+ integrity sha512-+PSmD9ePwTAeU106i9FRdc+Zb3XUWyW26mo5Atr2mk82hor8+nPwkztEjFo8/B1fJKfaQDg9aM2bzQkjhi7zOw==+ dependencies:+ "@rollup/pluginutils" "^3.0.8"+ commondir "^1.0.1"+ estree-walker "^1.0.1"+ glob "^7.1.2"+ is-reference "^1.1.2"+ magic-string "^0.25.2"+ resolve "^1.11.0"++"@rollup/plugin-json@^4.0.3":+ version "4.1.0"+ resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz#54e09867ae6963c593844d8bd7a9c718294496f3"+ integrity sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==+ dependencies:+ "@rollup/pluginutils" "^3.0.8"++"@rollup/plugin-node-resolve@^8.4.0":+ version "8.4.0"+ resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-8.4.0.tgz#261d79a680e9dc3d86761c14462f24126ba83575"+ integrity sha512-LFqKdRLn0ShtQyf6SBYO69bGE1upV6wUhBX0vFOUnLAyzx5cwp8svA0eHUnu8+YU57XOkrMtfG63QOpQx25pHQ==+ dependencies:+ "@rollup/pluginutils" "^3.1.0"+ "@types/resolve" "1.17.1"+ builtin-modules "^3.1.0"+ deep-freeze "^0.0.1"+ deepmerge "^4.2.2"+ is-module "^1.0.0"+ resolve "^1.17.0"++"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.0.9", "@rollup/pluginutils@^3.1.0":+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"+ integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==+ dependencies:+ "@types/estree" "0.0.39"+ estree-walker "^1.0.1"+ picomatch "^2.2.2"++"@tailwindcss/forms@^0.2.1":+ version "0.2.1"+ resolved "https://registry.yarnpkg.com/@tailwindcss/forms/-/forms-0.2.1.tgz#3244b185854fae1a7cbe8d2456314d8b2d98cf43"+ integrity sha512-czfvEdY+J2Ogfd6RUSr/ZSUmDxTujr34M++YLnp2cCPC3oJ4kFvFMaRXA6cEXKw7F1hJuapdjXRjsXIEXGgORg==+ dependencies:+ mini-svg-data-uri "^1.2.3"++"@types/accepts@*":+ version "1.3.5"+ resolved "https://registry.yarnpkg.com/@types/accepts/-/accepts-1.3.5.tgz#c34bec115cfc746e04fe5a059df4ce7e7b391575"+ integrity sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==+ dependencies:+ "@types/node" "*"++"@types/body-parser@*":+ version "1.19.0"+ resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.0.tgz#0685b3c47eb3006ffed117cdd55164b61f80538f"+ integrity sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==+ dependencies:+ "@types/connect" "*"+ "@types/node" "*"++"@types/connect@*":+ version "3.4.33"+ resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.33.tgz#31610c901eca573b8713c3330abc6e6b9f588546"+ integrity sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==+ dependencies:+ "@types/node" "*"++"@types/content-disposition@*":+ version "0.5.3"+ resolved "https://registry.yarnpkg.com/@types/content-disposition/-/content-disposition-0.5.3.tgz#0aa116701955c2faa0717fc69cd1596095e49d96"+ integrity sha512-P1bffQfhD3O4LW0ioENXUhZ9OIa0Zn+P7M+pWgkCKaT53wVLSq0mrKksCID/FGHpFhRSxRGhgrQmfhRuzwtKdg==++"@types/cookies@*":+ version "0.7.4"+ resolved "https://registry.yarnpkg.com/@types/cookies/-/cookies-0.7.4.tgz#26dedf791701abc0e36b5b79a5722f40e455f87b"+ integrity sha512-oTGtMzZZAVuEjTwCjIh8T8FrC8n/uwy+PG0yTvQcdZ7etoel7C7/3MSd7qrukENTgQtotG7gvBlBojuVs7X5rw==+ dependencies:+ "@types/connect" "*"+ "@types/express" "*"+ "@types/keygrip" "*"+ "@types/node" "*"++"@types/estree@*":+ version "0.0.45"+ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884"+ integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==++"@types/[email protected]":+ version "0.0.39"+ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"+ integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==++"@types/express-serve-static-core@*":+ version "4.17.13"+ resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.13.tgz#d9af025e925fc8b089be37423b8d1eac781be084"+ integrity sha512-RgDi5a4nuzam073lRGKTUIaL3eF2+H7LJvJ8eUnCI0wA6SNjXc44DCmWNiTLs/AZ7QlsFWZiw/gTG3nSQGL0fA==+ dependencies:+ "@types/node" "*"+ "@types/qs" "*"+ "@types/range-parser" "*"++"@types/express@*":+ version "4.17.8"+ resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.8.tgz#3df4293293317e61c60137d273a2e96cd8d5f27a"+ integrity sha512-wLhcKh3PMlyA2cNAB9sjM1BntnhPMiM0JOBwPBqttjHev2428MLEB4AYVN+d8s2iyCVZac+o41Pflm/ZH5vLXQ==+ dependencies:+ "@types/body-parser" "*"+ "@types/express-serve-static-core" "*"+ "@types/qs" "*"+ "@types/serve-static" "*"++"@types/http-assert@*":+ version "1.5.1"+ resolved "https://registry.yarnpkg.com/@types/http-assert/-/http-assert-1.5.1.tgz#d775e93630c2469c2f980fc27e3143240335db3b"+ integrity sha512-PGAK759pxyfXE78NbKxyfRcWYA/KwW17X290cNev/qAsn9eQIxkH4shoNBafH37wewhDG/0p1cHPbK6+SzZjWQ==++"@types/http-errors@*":+ version "1.8.0"+ resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-1.8.0.tgz#682477dbbbd07cd032731cb3b0e7eaee3d026b69"+ integrity sha512-2aoSC4UUbHDj2uCsCxcG/vRMXey/m17bC7UwitVm5hn22nI8O8Y9iDpA76Orc+DWkQ4zZrOKEshCqR/jSuXAHA==++"@types/keygrip@*":+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/@types/keygrip/-/keygrip-1.0.2.tgz#513abfd256d7ad0bf1ee1873606317b33b1b2a72"+ integrity sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==++"@types/koa-compose@*":+ version "3.2.5"+ resolved "https://registry.yarnpkg.com/@types/koa-compose/-/koa-compose-3.2.5.tgz#85eb2e80ac50be95f37ccf8c407c09bbe3468e9d"+ integrity sha512-B8nG/OoE1ORZqCkBVsup/AKcvjdgoHnfi4pZMn5UwAPCbhk/96xyv284eBYW8JlQbQ7zDmnpFr68I/40mFoIBQ==+ dependencies:+ "@types/koa" "*"++"@types/koa@*", "@types/koa@^2.11.3":+ version "2.11.4"+ resolved "https://registry.yarnpkg.com/@types/koa/-/koa-2.11.4.tgz#8af02a069a9f8e08fa47b8da28d982e652f69cfb"+ integrity sha512-Etqs0kdqbuAsNr5k6mlZQelpZKVwMu9WPRHVVTLnceZlhr0pYmblRNJbCgoCMzKWWePldydU0AYEOX4Q9fnGUQ==+ dependencies:+ "@types/accepts" "*"+ "@types/content-disposition" "*"+ "@types/cookies" "*"+ "@types/http-assert" "*"+ "@types/http-errors" "*"+ "@types/keygrip" "*"+ "@types/koa-compose" "*"+ "@types/node" "*"++"@types/lodash-es@^4.17.4":+ version "4.17.4"+ resolved "https://registry.yarnpkg.com/@types/lodash-es/-/lodash-es-4.17.4.tgz#b2e440d2bf8a93584a9fd798452ec497986c9b97"+ integrity sha512-BBz79DCJbD2CVYZH67MBeHZRX++HF+5p8Mo5MzjZi64Wac39S3diedJYHZtScbRVf4DjZyN6LzA0SB0zy+HSSQ==+ dependencies:+ "@types/lodash" "*"++"@types/lodash@*":+ version "4.14.167"+ resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.167.tgz#ce7d78553e3c886d4ea643c37ec7edc20f16765e"+ integrity sha512-w7tQPjARrvdeBkX/Rwg95S592JwxqOjmms3zWQ0XZgSyxSLdzWaYH3vErBhdVS/lRBX7F8aBYcYJYTr5TMGOzw==++"@types/lru-cache@^5.1.0":+ version "5.1.0"+ resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-5.1.0.tgz#57f228f2b80c046b4a1bd5cac031f81f207f4f03"+ integrity sha512-RaE0B+14ToE4l6UqdarKPnXwVDuigfFv+5j9Dze/Nqr23yyuqdNvzcZi3xB+3Agvi5R4EOgAksfv3lXX4vBt9w==++"@types/mime@*":+ version "2.0.3"+ resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.3.tgz#c893b73721db73699943bfc3653b1deb7faa4a3a"+ integrity sha512-Jus9s4CDbqwocc5pOAnh8ShfrnMcPHuJYzVcSUU7lrh8Ni5HuIqX3oilL86p3dlTrk0LzHRCgA/GQ7uNCw6l2Q==++"@types/node@*":+ version "14.11.2"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.11.2.tgz#2de1ed6670439387da1c9f549a2ade2b0a799256"+ integrity sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==++"@types/qs@*":+ version "6.9.5"+ resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.5.tgz#434711bdd49eb5ee69d90c1d67c354a9a8ecb18b"+ integrity sha512-/JHkVHtx/REVG0VVToGRGH2+23hsYLHdyG+GrvoUGlGAd0ErauXDyvHtRI/7H7mzLm+tBCKA7pfcpkQ1lf58iQ==++"@types/range-parser@*":+ version "1.2.3"+ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c"+ integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==++"@types/[email protected]":+ version "1.17.1"+ resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6"+ integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==+ dependencies:+ "@types/node" "*"++"@types/serve-static@*":+ version "1.13.5"+ resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.5.tgz#3d25d941a18415d3ab092def846e135a08bbcf53"+ integrity sha512-6M64P58N+OXjU432WoLLBQxbA0LRGBCRm7aAGQJ+SMC1IMl0dgRVi9EFfoDcS2a7Xogygk/eGN94CfwU9UF7UQ==+ dependencies:+ "@types/express-serve-static-core" "*"+ "@types/mime" "*"++"@vue/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.0.0.tgz#25e4f079cf6c39f83bad23700f814c619105a0f2"+ integrity sha512-XqPC7vdv4rFE77S71oCHmT1K4Ks3WE2Gi6Lr4B5wn0Idmp+NyQQBUHsCNieMDRiEpgtJrw+yOHslrsV0AfAsfQ==+ dependencies:+ "@babel/parser" "^7.11.5"+ "@babel/types" "^7.11.5"+ "@vue/shared" "3.0.0"+ estree-walker "^2.0.1"+ source-map "^0.6.1"++"@vue/[email protected]", "@vue/compiler-dom@^3.0.0-rc.5":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.0.0.tgz#4cbb48fcf1f852daef2babcf9953b681ac463526"+ integrity sha512-ukDEGOP8P7lCPyStuM3F2iD5w2QPgUu2xwCW2XNeqPjFKIlR2xMsWjy4raI/cLjN6W16GtlMFaZdK8tLj5PRog==+ dependencies:+ "@vue/compiler-core" "3.0.0"+ "@vue/shared" "3.0.0"++"@vue/compiler-sfc@^3.0.0-rc.1", "@vue/compiler-sfc@^3.0.0-rc.5":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.0.0.tgz#efa38037984bd64aae315828aa5c1248c6eadca9"+ integrity sha512-1Bn4L5jNRm6tlb79YwqYUGGe+Yc9PRoRSJi67NJX6icdhf84+tRMtESbx1zCLL9QixQXu2+7aLkXHxvh4RpqAA==+ dependencies:+ "@babel/parser" "^7.11.5"+ "@babel/types" "^7.11.5"+ "@vue/compiler-core" "3.0.0"+ "@vue/compiler-dom" "3.0.0"+ "@vue/compiler-ssr" "3.0.0"+ "@vue/shared" "3.0.0"+ consolidate "^0.16.0"+ estree-walker "^2.0.1"+ hash-sum "^2.0.0"+ lru-cache "^5.1.1"+ magic-string "^0.25.7"+ merge-source-map "^1.1.0"+ postcss "^7.0.32"+ postcss-modules "^3.2.2"+ postcss-selector-parser "^6.0.2"+ source-map "^0.6.1"++"@vue/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.0.0.tgz#d717abcd23a89fb38d1497228633a21bcf9a0e28"+ integrity sha512-Er41F9ZFyKB3YnNbE6JSTIGCVWve3NAQimgDOk4uP42OnckxBYKGBTutDeFNeqUZBMu/9vRHYrxlGFC9Z5jBVQ==+ dependencies:+ "@vue/compiler-dom" "3.0.0"+ "@vue/shared" "3.0.0"++"@vue/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.0.0.tgz#fd15632a608650ce2a969c721787e27e2c80aa6b"+ integrity sha512-mEGkztGQrAPZRhV7C6PorrpT3+NtuA4dY2QjMzzrW31noKhssWTajRZTwpLF39NBRrF5UU6cp9+1I0FfavMgEQ==+ dependencies:+ "@vue/shared" "3.0.0"++"@vue/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.0.0.tgz#480febf1bfe32798b6abbd71a88f8e8b473a51c2"+ integrity sha512-3ABMLeA0ZbeVNLbGGLXr+pNUwqXILOqz8WCVGfDWwQb+jW114Cm8djOHVVDoqdvRETQvDf8yHSUmpKHZpQuTkA==+ dependencies:+ "@vue/reactivity" "3.0.0"+ "@vue/shared" "3.0.0"++"@vue/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.0.0.tgz#e0d1f7c7e22e1318696014cc3501e06b288c2e11"+ integrity sha512-f312n5w9gK6mVvkDSj6/Xnot1XjlKXzFBYybmoy6ahAVC8ExbQ+LOWti1IZM/adU8VMNdKaw7Q53Hxz3y5jX8g==+ dependencies:+ "@vue/runtime-core" "3.0.0"+ "@vue/shared" "3.0.0"+ csstype "^2.6.8"++"@vue/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.0.0.tgz#ec089236629ecc0f10346b92f101ff4339169f1a"+ integrity sha512-4XWL/avABGxU2E2ZF1eZq3Tj7fvksCMssDZUHOykBIMmh5d+KcAnQMC5XHMhtnA0NAvktYsA2YpdsVwVmhWzvA==++accepts@^1.3.5:+ version "1.3.7"+ resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"+ integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==+ dependencies:+ mime-types "~2.1.24"+ negotiator "0.6.2"++acorn-node@^1.6.1:+ version "1.8.2"+ resolved "https://registry.yarnpkg.com/acorn-node/-/acorn-node-1.8.2.tgz#114c95d64539e53dede23de8b9d96df7c7ae2af8"+ integrity sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==+ dependencies:+ acorn "^7.0.0"+ acorn-walk "^7.0.0"+ xtend "^4.0.2"++acorn-walk@^7.0.0:+ version "7.2.0"+ resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc"+ integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==++acorn@^7.0.0:+ version "7.4.1"+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"+ integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==++ansi-regex@^5.0.0:+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"+ integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==++ansi-styles@^3.2.1:+ version "3.2.1"+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"+ integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==+ dependencies:+ color-convert "^1.9.0"++ansi-styles@^4.1.0:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"+ integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==+ dependencies:+ color-convert "^2.0.1"++any-promise@^1.0.0, any-promise@^1.1.0:+ version "1.3.0"+ resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"+ integrity sha1-q8av7tzqUugJzcA3au0845Y10X8=++anymatch@~3.1.1:+ version "3.1.1"+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142"+ integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==+ dependencies:+ normalize-path "^3.0.0"+ picomatch "^2.0.4"++argparse@^1.0.7:+ version "1.0.10"+ resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"+ integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==+ dependencies:+ sprintf-js "~1.0.2"++array-union@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"+ integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==++at-least-node@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"+ integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==++autoprefixer@^9:+ version "9.8.6"+ resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.6.tgz#3b73594ca1bf9266320c5acf1588d74dea74210f"+ integrity sha512-XrvP4VVHdRBCdX1S3WXVD8+RyG9qeb1D5Sn1DeLiG2xfSpzellk5k54xbUERJ3M5DggQxes39UGOTP8CFrEGbg==+ dependencies:+ browserslist "^4.12.0"+ caniuse-lite "^1.0.30001109"+ colorette "^1.2.1"+ normalize-range "^0.1.2"+ num2fraction "^1.2.2"+ postcss "^7.0.32"+ postcss-value-parser "^4.1.0"++axios@^0.20.0:+ version "0.20.0"+ resolved "https://registry.yarnpkg.com/axios/-/axios-0.20.0.tgz#057ba30f04884694993a8cd07fa394cff11c50bd"+ integrity sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==+ dependencies:+ follow-redirects "^1.10.0"++balanced-match@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"+ integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=++big.js@^5.2.2:+ version "5.2.2"+ resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"+ integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==++binary-extensions@^2.0.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9"+ integrity sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==++bluebird@^3.7.2:+ version "3.7.2"+ resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"+ integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==++brace-expansion@^1.1.7:+ version "1.1.11"+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"+ integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==+ dependencies:+ balanced-match "^1.0.0"+ concat-map "0.0.1"++braces@^3.0.1, braces@~3.0.2:+ version "3.0.2"+ resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"+ integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==+ dependencies:+ fill-range "^7.0.1"++brotli-size@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/brotli-size/-/brotli-size-4.0.0.tgz#a05ee3faad3c0e700a2f2da826ba6b4d76e69e5e"+ integrity sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA==+ dependencies:+ duplexer "0.1.1"++browserslist@^4.12.0:+ version "4.14.7"+ resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.14.7.tgz#c071c1b3622c1c2e790799a37bb09473a4351cb6"+ integrity sha512-BSVRLCeG3Xt/j/1cCGj1019Wbty0H+Yvu2AOuZSuoaUWn3RatbL33Cxk+Q4jRMRAbOm0p7SLravLjpnT6s0vzQ==+ dependencies:+ caniuse-lite "^1.0.30001157"+ colorette "^1.2.1"+ electron-to-chromium "^1.3.591"+ escalade "^3.1.1"+ node-releases "^1.1.66"++buffer-from@^1.0.0:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"+ integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==++builtin-modules@^1.1.1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"+ integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=++builtin-modules@^3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484"+ integrity sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==++bytes@^3.0.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6"+ integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==++cache-content-type@^1.0.0:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/cache-content-type/-/cache-content-type-1.0.1.tgz#035cde2b08ee2129f4a8315ea8f00a00dba1453c"+ integrity sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==+ dependencies:+ mime-types "^2.1.18"+ ylru "^1.2.0"++caller-callsite@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134"+ integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=+ dependencies:+ callsites "^2.0.0"++caller-path@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4"+ integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=+ dependencies:+ caller-callsite "^2.0.0"++callsites@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50"+ integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=++camelcase-css@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5"+ integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==++caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001157:+ version "1.0.30001159"+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001159.tgz#bebde28f893fa9594dadcaa7d6b8e2aa0299df20"+ integrity sha512-w9Ph56jOsS8RL20K9cLND3u/+5WASWdhC/PPrf+V3/HsM3uHOavWOR1Xzakbv4Puo/srmPHudkmCRWM7Aq+/UA==++chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2:+ version "2.4.2"+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"+ integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==+ dependencies:+ ansi-styles "^3.2.1"+ escape-string-regexp "^1.0.5"+ supports-color "^5.3.0"++chalk@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"+ integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==+ dependencies:+ ansi-styles "^4.1.0"+ supports-color "^7.1.0"++chalk@^4.0.0, chalk@^4.1.0:+ version "4.1.0"+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"+ integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==+ dependencies:+ ansi-styles "^4.1.0"+ supports-color "^7.1.0"++chokidar@^3.3.1:+ version "3.4.2"+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.4.2.tgz#38dc8e658dec3809741eb3ef7bb0a47fe424232d"+ integrity sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==+ dependencies:+ anymatch "~3.1.1"+ braces "~3.0.2"+ glob-parent "~5.1.0"+ is-binary-path "~2.1.0"+ is-glob "~4.0.1"+ normalize-path "~3.0.0"+ readdirp "~3.4.0"+ optionalDependencies:+ fsevents "~2.1.2"++clean-css@^4.2.3:+ version "4.2.3"+ resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78"+ integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==+ dependencies:+ source-map "~0.6.0"++cli-cursor@^3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307"+ integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==+ dependencies:+ restore-cursor "^3.1.0"++cli-spinners@^2.2.0:+ version "2.4.0"+ resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.4.0.tgz#c6256db216b878cfba4720e719cec7cf72685d7f"+ integrity sha512-sJAofoarcm76ZGpuooaO0eDy8saEy+YoZBLjC4h8srt4jeBnkYeOgqxgsJQTpyt2LjI5PTfLJHSL+41Yu4fEJA==++clone@^1.0.2:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"+ integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4=++co@^4.6.0:+ version "4.6.0"+ resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"+ integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=++color-convert@^1.9.0, color-convert@^1.9.1:+ version "1.9.3"+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"+ integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==+ dependencies:+ color-name "1.1.3"++color-convert@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"+ integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==+ dependencies:+ color-name "~1.1.4"++ version "1.1.3"+ resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"+ integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=++color-name@^1.0.0, color-name@~1.1.4:+ version "1.1.4"+ resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"+ integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==++color-string@^1.5.4:+ version "1.5.4"+ resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.5.4.tgz#dd51cd25cfee953d138fe4002372cc3d0e504cb6"+ integrity sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==+ dependencies:+ color-name "^1.0.0"+ simple-swizzle "^0.2.2"++color@^3.1.3:+ version "3.1.3"+ resolved "https://registry.yarnpkg.com/color/-/color-3.1.3.tgz#ca67fb4e7b97d611dcde39eceed422067d91596e"+ integrity sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==+ dependencies:+ color-convert "^1.9.1"+ color-string "^1.5.4"++colorette@^1.2.1:+ version "1.2.1"+ resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"+ integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==++commander@^2.20.0:+ version "2.20.3"+ resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"+ integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==++commander@^6.0.0:+ version "6.2.0"+ resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.0.tgz#b990bfb8ac030aedc6d11bc04d1488ffef56db75"+ integrity sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==++commondir@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"+ integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=++ version "0.0.1"+ resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"+ integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=++consolidate@^0.16.0:+ version "0.16.0"+ resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.16.0.tgz#a11864768930f2f19431660a65906668f5fbdc16"+ integrity sha512-Nhl1wzCslqXYTJVDyJCu3ODohy9OfBMB5uD2BiBTzd7w+QY0lBzafkR8y8755yMYHAaMD4NuzbAw03/xzfw+eQ==+ dependencies:+ bluebird "^3.7.2"++content-disposition@~0.5.2:+ version "0.5.3"+ resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd"+ integrity sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==+ dependencies:+ safe-buffer "5.1.2"++content-type@^1.0.4:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"+ integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==++cookies@~0.8.0:+ version "0.8.0"+ resolved "https://registry.yarnpkg.com/cookies/-/cookies-0.8.0.tgz#1293ce4b391740a8406e3c9870e828c4b54f3f90"+ integrity sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==+ dependencies:+ depd "~2.0.0"+ keygrip "~1.1.0"++cosmiconfig@^5.0.0:+ version "5.2.1"+ resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a"+ integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==+ dependencies:+ import-fresh "^2.0.0"+ is-directory "^0.3.1"+ js-yaml "^3.13.1"+ parse-json "^4.0.0"++cross-spawn@^7.0.0:+ version "7.0.3"+ resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"+ integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==+ dependencies:+ path-key "^3.1.0"+ shebang-command "^2.0.0"+ which "^2.0.1"++css-unit-converter@^1.1.1:+ version "1.1.2"+ resolved "https://registry.yarnpkg.com/css-unit-converter/-/css-unit-converter-1.1.2.tgz#4c77f5a1954e6dbff60695ecb214e3270436ab21"+ integrity sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA==++cssesc@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"+ integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==++csstype@^2.6.8:+ version "2.6.13"+ resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.13.tgz#a6893015b90e84dd6e85d0e3b442a1e84f2dbe0f"+ integrity sha512-ul26pfSQTZW8dcOnD2iiJssfXw0gdNVX9IJDH/X3K5DGPfj+fUYe3kB+swUY6BF3oZDxaID3AJt+9/ojSAE05A==++debug@^3.1.0:+ version "3.2.6"+ resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"+ integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==+ dependencies:+ ms "^2.1.1"++debug@^4.1.1:+ version "4.2.0"+ resolved "https://registry.yarnpkg.com/debug/-/debug-4.2.0.tgz#7f150f93920e94c58f5574c2fd01a3110effe7f1"+ integrity sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==+ dependencies:+ ms "2.1.2"++debug@~3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"+ integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==+ dependencies:+ ms "2.0.0"++deep-equal@~1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5"+ integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=++deep-freeze@^0.0.1:+ version "0.0.1"+ resolved "https://registry.yarnpkg.com/deep-freeze/-/deep-freeze-0.0.1.tgz#3a0b0005de18672819dfd38cd31f91179c893e84"+ integrity sha1-OgsABd4YZygZ39OM0x+RF5yJPoQ=++deepmerge@^4.2.2:+ version "4.2.2"+ resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"+ integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==++defaults@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d"+ integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=+ dependencies:+ clone "^1.0.2"++defined@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693"+ integrity sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=++delegates@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"+ integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=++depd@^1.1.2, depd@~1.1.2:+ version "1.1.2"+ resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"+ integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=++depd@~2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"+ integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==++destroy@^1.0.4:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"+ integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=++detective@^5.2.0:+ version "5.2.0"+ resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.0.tgz#feb2a77e85b904ecdea459ad897cc90a99bd2a7b"+ integrity sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==+ dependencies:+ acorn-node "^1.6.1"+ defined "^1.0.0"+ minimist "^1.1.1"++didyoumean@^1.2.1:+ version "1.2.1"+ resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.1.tgz#e92edfdada6537d484d73c0172fd1eba0c4976ff"+ integrity sha1-6S7f2tplN9SE1zwBcv0eugxJdv8=++dir-glob@^3.0.1:+ version "3.0.1"+ resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"+ integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==+ dependencies:+ path-type "^4.0.0"++dotenv-expand@^5.1.0:+ version "5.1.0"+ resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"+ integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==++dotenv@^8.2.0:+ version "8.2.0"+ resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"+ integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==++ version "0.1.1"+ resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1"+ integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=++ version "1.1.1"+ resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"+ integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=++electron-to-chromium@^1.3.591:+ version "1.3.603"+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.603.tgz#1b71bec27fb940eccd79245f6824c63d5f7e8abf"+ integrity sha512-J8OHxOeJkoSLgBXfV9BHgKccgfLMHh+CoeRo6wJsi6m0k3otaxS/5vrHpMNSEYY4MISwewqanPOuhAtuE8riQQ==++emojis-list@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78"+ integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==++encodeurl@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"+ integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=++end-of-stream@^1.1.0:+ version "1.4.4"+ resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"+ integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==+ dependencies:+ once "^1.4.0"++error-ex@^1.3.1:+ version "1.3.2"+ resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"+ integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==+ dependencies:+ is-arrayish "^0.2.1"++es-module-lexer@^0.3.18:+ version "0.3.25"+ resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.3.25.tgz#24a1abcb9c5dc96923a8e42be033b801f788de06"+ integrity sha512-H9VoFD5H9zEfiOX2LeTWDwMvAbLqcAyA2PIb40TOAvGpScOjit02oTGWgIh+M0rx2eJOKyJVM9wtpKFVgnyC3A==++esbuild@^0.6.10:+ version "0.6.34"+ resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.6.34.tgz#76565a60e006f45d5f273b6e59e61ed0816551f5"+ integrity sha512-InRdL/Q96pUucPqovJzvuLhquZr6jOn81FDVwFjCKz1rYKIm9OdOC+7Fs4vr6x48vKBl5LzKgtjU39BUpO636A==++escalade@^3.1.1:+ version "3.1.1"+ resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"+ integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==++escape-html@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"+ integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=++escape-string-regexp@^1.0.5:+ version "1.0.5"+ resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"+ integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=++esprima@^4.0.0:+ version "4.0.1"+ resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"+ integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==++estree-walker@^0.6.1:+ version "0.6.1"+ resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362"+ integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==++estree-walker@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"+ integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==++estree-walker@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.1.tgz#f8e030fb21cefa183b44b7ad516b747434e7a3e0"+ integrity sha512-tF0hv+Yi2Ot1cwj9eYHtxC0jB9bmjacjQs6ZBTj82H8JwUywFuc+7E83NWfNMwHXZc11mjfFcVXPe9gEP4B8dg==++etag@^1.3.0, etag@^1.8.1:+ version "1.8.1"+ resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"+ integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=++eventemitter3@^4.0.0:+ version "4.0.7"+ resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"+ integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==++execa@^4.0.1:+ version "4.0.3"+ resolved "https://registry.yarnpkg.com/execa/-/execa-4.0.3.tgz#0a34dabbad6d66100bd6f2c576c8669403f317f2"+ integrity sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==+ dependencies:+ cross-spawn "^7.0.0"+ get-stream "^5.0.0"+ human-signals "^1.1.1"+ is-stream "^2.0.0"+ merge-stream "^2.0.0"+ npm-run-path "^4.0.0"+ onetime "^5.1.0"+ signal-exit "^3.0.2"+ strip-final-newline "^2.0.0"++fake-xml-http-request@^2.1.1:+ version "2.1.1"+ resolved "https://registry.yarnpkg.com/fake-xml-http-request/-/fake-xml-http-request-2.1.1.tgz#279fdac235840d7a4dff77d98ec44bce9fc690a6"+ integrity sha512-Kn2WYYS6cDBS5jq/voOfSGCA0TafOYAUPbEp8mUVpD/DVV5bQIDjlq+MLLvNUokkbTpjBVlLDaM5PnX+PwZMlw==++faker@^5.1.0:+ version "5.1.0"+ resolved "https://registry.yarnpkg.com/faker/-/faker-5.1.0.tgz#e10fa1dec4502551aee0eb771617a7e7b94692e8"+ integrity sha512-RrWKFSSA/aNLP0g3o2WW1Zez7/MnMr7xkiZmoCfAGZmdkDQZ6l2KtuXHN5XjdvpRjDl8+3vf+Rrtl06Z352+Mw==++fast-glob@^3.1.1:+ version "3.2.4"+ resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3"+ integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ==+ dependencies:+ "@nodelib/fs.stat" "^2.0.2"+ "@nodelib/fs.walk" "^1.2.3"+ glob-parent "^5.1.0"+ merge2 "^1.3.0"+ micromatch "^4.0.2"+ picomatch "^2.2.1"++fastq@^1.6.0:+ version "1.8.0"+ resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.8.0.tgz#550e1f9f59bbc65fe185cb6a9b4d95357107f481"+ integrity sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==+ dependencies:+ reusify "^1.0.4"++fill-range@^7.0.1:+ version "7.0.1"+ resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"+ integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==+ dependencies:+ to-regex-range "^5.0.1"++focus-visible@^5.2.0:+ version "5.2.0"+ resolved "https://registry.yarnpkg.com/focus-visible/-/focus-visible-5.2.0.tgz#3a9e41fccf587bd25dcc2ef045508284f0a4d6b3"+ integrity sha512-Rwix9pBtC1Nuy5wysTmKy+UjbDJpIfg8eHjw0rjZ1mX4GNLz1Bmd16uDpI3Gk1i70Fgcs8Csg2lPm8HULFg9DQ==++follow-redirects@^1.0.0, follow-redirects@^1.10.0:+ version "1.13.0"+ resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db"+ integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==++fresh@~0.5.2:+ version "0.5.2"+ resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"+ integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=++fs-extra@^9.0.0, fs-extra@^9.0.1:+ version "9.0.1"+ resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc"+ integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==+ dependencies:+ at-least-node "^1.0.0"+ graceful-fs "^4.2.0"+ jsonfile "^6.0.1"+ universalify "^1.0.0"++fs.realpath@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"+ integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=++fsevents@~2.1.2:+ version "2.1.3"+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"+ integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==++function-bind@^1.1.1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"+ integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==++generic-names@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/generic-names/-/generic-names-2.0.1.tgz#f8a378ead2ccaa7a34f0317b05554832ae41b872"+ integrity sha512-kPCHWa1m9wGG/OwQpeweTwM/PYiQLrUIxXbt/P4Nic3LbGjCP0YwrALHW1uNLKZ0LIMg+RF+XRlj2ekT9ZlZAQ==+ dependencies:+ loader-utils "^1.1.0"++get-stream@^5.0.0:+ version "5.2.0"+ resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3"+ integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==+ dependencies:+ pump "^3.0.0"++glob-parent@^5.1.0, glob-parent@~5.1.0:+ version "5.1.1"+ resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229"+ integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==+ dependencies:+ is-glob "^4.0.1"++glob@^7.0.0, glob@^7.1.2:+ version "7.1.6"+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"+ integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==+ dependencies:+ fs.realpath "^1.0.0"+ inflight "^1.0.4"+ inherits "2"+ minimatch "^3.0.4"+ once "^1.3.0"+ path-is-absolute "^1.0.0"++globby@^11.0.0:+ version "11.0.1"+ resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357"+ integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==+ dependencies:+ array-union "^2.1.0"+ dir-glob "^3.0.1"+ fast-glob "^3.1.1"+ ignore "^5.1.4"+ merge2 "^1.3.0"+ slash "^3.0.0"++graceful-fs@^4.1.6, graceful-fs@^4.2.0:+ version "4.2.4"+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb"+ integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==++has-flag@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"+ integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=++has-flag@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"+ integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==++has@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"+ integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==+ dependencies:+ function-bind "^1.1.1"++hash-sum@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-2.0.0.tgz#81d01bb5de8ea4a214ad5d6ead1b523460b0b45a"+ integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==++html-tags@^3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140"+ integrity sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==++http-assert@^1.3.0:+ version "1.4.1"+ resolved "https://registry.yarnpkg.com/http-assert/-/http-assert-1.4.1.tgz#c5f725d677aa7e873ef736199b89686cceb37878"+ integrity sha512-rdw7q6GTlibqVVbXr0CKelfV5iY8G2HqEUkhSk297BMbSpSL8crXC+9rjKoMcZZEsksX30le6f/4ul4E28gegw==+ dependencies:+ deep-equal "~1.0.1"+ http-errors "~1.7.2"++http-errors@^1.6.3, http-errors@^1.7.3:+ version "1.8.0"+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.0.tgz#75d1bbe497e1044f51e4ee9e704a62f28d336507"+ integrity sha512-4I8r0C5JDhT5VkvI47QktDW75rNlGVsUf/8hzjCC/wkWI/jdTRmBb9aI7erSG82r1bjKY3F6k28WnsVxB1C73A==+ dependencies:+ depd "~1.1.2"+ inherits "2.0.4"+ setprototypeof "1.2.0"+ statuses ">= 1.5.0 < 2"+ toidentifier "1.0.0"++http-errors@~1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.4.0.tgz#6c0242dea6b3df7afda153c71089b31c6e82aabf"+ integrity sha1-bAJC3qaz33r9oVPHEImzHG6Cqr8=+ dependencies:+ inherits "2.0.1"+ statuses ">= 1.2.1 < 2"++http-errors@~1.6.2:+ version "1.6.3"+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d"+ integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=+ dependencies:+ depd "~1.1.2"+ inherits "2.0.3"+ setprototypeof "1.1.0"+ statuses ">= 1.4.0 < 2"++http-errors@~1.7.2:+ version "1.7.3"+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06"+ integrity sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==+ dependencies:+ depd "~1.1.2"+ inherits "2.0.4"+ setprototypeof "1.1.1"+ statuses ">= 1.5.0 < 2"+ toidentifier "1.0.0"++http-proxy@^1.16.2:+ version "1.18.1"+ resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"+ integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==+ dependencies:+ eventemitter3 "^4.0.0"+ follow-redirects "^1.0.0"+ requires-port "^1.0.0"++human-signals@^1.1.1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"+ integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==++icss-replace-symbols@^1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded"+ integrity sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=++icss-utils@^4.0.0, icss-utils@^4.1.1:+ version "4.1.1"+ resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467"+ integrity sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==+ dependencies:+ postcss "^7.0.14"++ignore@^5.1.4:+ version "5.1.8"+ resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57"+ integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==++import-cwd@^2.0.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9"+ integrity sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=+ dependencies:+ import-from "^2.1.0"++import-fresh@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546"+ integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY=+ dependencies:+ caller-path "^2.0.0"+ resolve-from "^3.0.0"++import-from@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1"+ integrity sha1-M1238qev/VOqpHHUuAId7ja387E=+ dependencies:+ resolve-from "^3.0.0"++indexes-of@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607"+ integrity sha1-8w9xbI4r00bHtn0985FVZqfAVgc=++inflected@^2.0.4:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/inflected/-/inflected-2.1.0.tgz#2816ac17a570bbbc8303ca05bca8bf9b3f959687"+ integrity sha512-hAEKNxvHf2Iq3H60oMBHkB4wl5jn3TPF3+fXek/sRwAB5gP9xWs4r7aweSF95f99HFoz69pnZTcu8f0SIHV18w==++inflight@^1.0.4:+ version "1.0.6"+ resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"+ integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=+ dependencies:+ once "^1.3.0"+ wrappy "1"++inherits@2, [email protected]:+ version "2.0.4"+ resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"+ integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==++ version "2.0.1"+ resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"+ integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=++ version "2.0.3"+ resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"+ integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=++is-arrayish@^0.2.1:+ version "0.2.1"+ resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"+ integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=++is-arrayish@^0.3.1:+ version "0.3.2"+ resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03"+ integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==++is-binary-path@~2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"+ integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==+ dependencies:+ binary-extensions "^2.0.0"++is-core-module@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.1.0.tgz#a4cc031d9b1aca63eecbd18a650e13cb4eeab946"+ integrity sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==+ dependencies:+ has "^1.0.3"++is-directory@^0.3.1:+ version "0.3.1"+ resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1"+ integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=++is-docker@^2.0.0:+ version "2.1.1"+ resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.1.1.tgz#4125a88e44e450d384e09047ede71adc2d144156"+ integrity sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==++is-extglob@^2.1.1:+ version "2.1.1"+ resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"+ integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=++is-generator-function@^1.0.7:+ version "1.0.7"+ resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522"+ integrity sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw==++is-glob@^4.0.1, is-glob@~4.0.1:+ version "4.0.1"+ resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"+ integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==+ dependencies:+ is-extglob "^2.1.1"++is-interactive@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e"+ integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==++is-module@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"+ integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=++is-number@^7.0.0:+ version "7.0.0"+ resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"+ integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==++is-reference@^1.1.2:+ version "1.2.1"+ resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7"+ integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==+ dependencies:+ "@types/estree" "*"++is-stream@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3"+ integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==++is-wsl@^2.1.1:+ version "2.2.0"+ resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"+ integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==+ dependencies:+ is-docker "^2.0.0"++ version "0.0.1"+ resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"+ integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=++isbuiltin@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/isbuiltin/-/isbuiltin-1.0.0.tgz#4453b2915690cb47c0cb9c9255a0807778315c96"+ integrity sha1-RFOykVaQy0fAy5ySVaCAd3gxXJY=+ dependencies:+ builtin-modules "^1.1.1"++isexe@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"+ integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=++jest-worker@^24.9.0:+ version "24.9.0"+ resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5"+ integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==+ dependencies:+ merge-stream "^2.0.0"+ supports-color "^6.1.0"++js-tokens@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"+ integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==++js-yaml@^3.13.1:+ version "3.14.0"+ resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"+ integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==+ dependencies:+ argparse "^1.0.7"+ esprima "^4.0.0"++json-parse-better-errors@^1.0.1:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"+ integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==++json5@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe"+ integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==+ dependencies:+ minimist "^1.2.0"++jsonfile@^6.0.1:+ version "6.0.1"+ resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179"+ integrity sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==+ dependencies:+ universalify "^1.0.0"+ optionalDependencies:+ graceful-fs "^4.1.6"++keygrip@~1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/keygrip/-/keygrip-1.1.0.tgz#871b1681d5e159c62a445b0c74b615e0917e7226"+ integrity sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==+ dependencies:+ tsscmp "1.0.6"++koa-compose@^3.0.0:+ version "3.2.1"+ resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-3.2.1.tgz#a85ccb40b7d986d8e5a345b3a1ace8eabcf54de7"+ integrity sha1-qFzLQLfZhtjlo0Wzoazo6rz1Tec=+ dependencies:+ any-promise "^1.1.0"++koa-compose@^4.1.0:+ version "4.1.0"+ resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-4.1.0.tgz#507306b9371901db41121c812e923d0d67d3e877"+ integrity sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==++koa-conditional-get@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/koa-conditional-get/-/koa-conditional-get-2.0.0.tgz#a43f3723c1d014b730a34ece8adf30b93c8233f2"+ integrity sha1-pD83I8HQFLcwo07Oit8wuTyCM/I=++koa-convert@^1.2.0:+ version "1.2.0"+ resolved "https://registry.yarnpkg.com/koa-convert/-/koa-convert-1.2.0.tgz#da40875df49de0539098d1700b50820cebcd21d0"+ integrity sha1-2kCHXfSd4FOQmNFwC1CCDOvNIdA=+ dependencies:+ co "^4.6.0"+ koa-compose "^3.0.0"++koa-etag@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/koa-etag/-/koa-etag-3.0.0.tgz#9ef7382ddd5a82ab0deb153415c915836f771d3f"+ integrity sha1-nvc4Ld1agqsN6xU0FckVg293HT8=+ dependencies:+ etag "^1.3.0"+ mz "^2.1.0"++koa-proxies@^0.11.0:+ version "0.11.0"+ resolved "https://registry.yarnpkg.com/koa-proxies/-/koa-proxies-0.11.0.tgz#43dde4260080f7cb0f284655f85cf654bbe9ec84"+ integrity sha512-iXGRADBE0fM7g7AttNOlLZ/cCFKXeVMHbFJKIRb0dUCrSYXi02loyVSdBlKlBQ5ZfVKJLo9Q9FyqwVTp1poVVA==+ dependencies:+ http-proxy "^1.16.2"+ path-match "^1.2.4"++koa-send@^5.0.0:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/koa-send/-/koa-send-5.0.1.tgz#39dceebfafb395d0d60beaffba3a70b4f543fe79"+ integrity sha512-tmcyQ/wXXuxpDxyNXv5yNNkdAMdFRqwtegBXUaowiQzUKqJehttS0x2j0eOZDQAyloAth5w6wwBImnFzkUz3pQ==+ dependencies:+ debug "^4.1.1"+ http-errors "^1.7.3"+ resolve-path "^1.4.0"++koa-static@^5.0.0:+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/koa-static/-/koa-static-5.0.0.tgz#5e92fc96b537ad5219f425319c95b64772776943"+ integrity sha512-UqyYyH5YEXaJrf9S8E23GoJFQZXkBVJ9zYYMPGz919MSX1KuvAcycIuS0ci150HCoPf4XQVhQ84Qf8xRPWxFaQ==+ dependencies:+ debug "^3.1.0"+ koa-send "^5.0.0"++koa@^2.11.0:+ version "2.13.0"+ resolved "https://registry.yarnpkg.com/koa/-/koa-2.13.0.tgz#25217e05efd3358a7e5ddec00f0a380c9b71b501"+ integrity sha512-i/XJVOfPw7npbMv67+bOeXr3gPqOAw6uh5wFyNs3QvJ47tUx3M3V9rIE0//WytY42MKz4l/MXKyGkQ2LQTfLUQ==+ dependencies:+ accepts "^1.3.5"+ cache-content-type "^1.0.0"+ content-disposition "~0.5.2"+ content-type "^1.0.4"+ cookies "~0.8.0"+ debug "~3.1.0"+ delegates "^1.0.0"+ depd "^1.1.2"+ destroy "^1.0.4"+ encodeurl "^1.0.2"+ escape-html "^1.0.3"+ fresh "~0.5.2"+ http-assert "^1.3.0"+ http-errors "^1.6.3"+ is-generator-function "^1.0.7"+ koa-compose "^4.1.0"+ koa-convert "^1.2.0"+ on-finished "^2.3.0"+ only "~0.0.2"+ parseurl "^1.3.2"+ statuses "^1.5.0"+ type-is "^1.6.16"+ vary "^1.1.2"++loader-utils@^1.1.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"+ integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==+ dependencies:+ big.js "^5.2.2"+ emojis-list "^3.0.0"+ json5 "^1.0.1"++lodash-es@^4.17.20:+ version "4.17.20"+ resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.20.tgz#29f6332eefc60e849f869c264bc71126ad61e8f7"+ integrity sha512-JD1COMZsq8maT6mnuz1UMV0jvYD0E0aUsSOdrr1/nAG3dhqQXwRRgeW0cSqH1U43INKcqxaiVIQNOUDld7gRDA==++lodash.assign@^4.2.0:+ version "4.2.0"+ resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7"+ integrity sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=++lodash.camelcase@^4.3.0:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"+ integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY=++lodash.clonedeep@^4.5.0:+ version "4.5.0"+ resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"+ integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=++lodash.compact@^3.0.1:+ version "3.0.1"+ resolved "https://registry.yarnpkg.com/lodash.compact/-/lodash.compact-3.0.1.tgz#540ce3837745975807471e16b4a2ba21e7256ca5"+ integrity sha1-VAzjg3dFl1gHRx4WtKK6IeclbKU=++lodash.find@^4.6.0:+ version "4.6.0"+ resolved "https://registry.yarnpkg.com/lodash.find/-/lodash.find-4.6.0.tgz#cb0704d47ab71789ffa0de8b97dd926fb88b13b1"+ integrity sha1-ywcE1Hq3F4n/oN6Ll92Sb7iLE7E=++lodash.flatten@^4.4.0:+ version "4.4.0"+ resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f"+ integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=++lodash.forin@^4.4.0:+ version "4.4.0"+ resolved "https://registry.yarnpkg.com/lodash.forin/-/lodash.forin-4.4.0.tgz#5d3f20ae564011fbe88381f7d98949c9c9519731"+ integrity sha1-XT8grlZAEfvog4H32YlJyclRlzE=++lodash.get@^4.4.2:+ version "4.4.2"+ resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"+ integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=++lodash.has@^4.5.2:+ version "4.5.2"+ resolved "https://registry.yarnpkg.com/lodash.has/-/lodash.has-4.5.2.tgz#d19f4dc1095058cccbe2b0cdf4ee0fe4aa37c862"+ integrity sha1-0Z9NwQlQWMzL4rDN9O4P5Ko3yGI=++lodash.invokemap@^4.6.0:+ version "4.6.0"+ resolved "https://registry.yarnpkg.com/lodash.invokemap/-/lodash.invokemap-4.6.0.tgz#1748cda5d8b0ef8369c4eb3ec54c21feba1f2d62"+ integrity sha1-F0jNpdiw74NpxOs+xUwh/rofLWI=++lodash.isempty@^4.4.0:+ version "4.4.0"+ resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e"+ integrity sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=++lodash.isequal@^4.5.0:+ version "4.5.0"+ resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"+ integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA=++lodash.isfunction@^3.0.9:+ version "3.0.9"+ resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz#06de25df4db327ac931981d1bdb067e5af68d051"+ integrity sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==++lodash.isinteger@^4.0.4:+ version "4.0.4"+ resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343"+ integrity sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=++lodash.isplainobject@^4.0.6:+ version "4.0.6"+ resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"+ integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=++lodash.lowerfirst@^4.3.1:+ version "4.3.1"+ resolved "https://registry.yarnpkg.com/lodash.lowerfirst/-/lodash.lowerfirst-4.3.1.tgz#de3c7b12e02c6524a0059c2f6cb7c5c52655a13d"+ integrity sha1-3jx7EuAsZSSgBZwvbLfFxSZVoT0=++lodash.map@^4.6.0:+ version "4.6.0"+ resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"+ integrity sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=++lodash.mapvalues@^4.6.0:+ version "4.6.0"+ resolved "https://registry.yarnpkg.com/lodash.mapvalues/-/lodash.mapvalues-4.6.0.tgz#1bafa5005de9dd6f4f26668c30ca37230cc9689c"+ integrity sha1-G6+lAF3p3W9PJmaMMMo3IwzJaJw=++lodash.pick@^4.4.0:+ version "4.4.0"+ resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"+ integrity sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=++lodash.snakecase@^4.1.1:+ version "4.1.1"+ resolved "https://registry.yarnpkg.com/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz#39d714a35357147837aefd64b5dcbb16becd8f8d"+ integrity sha1-OdcUo1NXFHg3rv1ktdy7Fr7Nj40=++lodash.toarray@^4.4.0:+ version "4.4.0"+ resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561"+ integrity sha1-JMS/zWsvuji/0FlNsRedjptlZWE=++lodash.uniq@^4.5.0:+ version "4.5.0"+ resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"+ integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=++lodash.uniqby@^4.7.0:+ version "4.7.0"+ resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302"+ integrity sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI=++lodash.values@^4.3.0:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-4.3.0.tgz#a3a6c2b0ebecc5c2cba1c17e6e620fe81b53d347"+ integrity sha1-o6bCsOvsxcLLocF+bmIP6BtT00c=++lodash@^4.17.19, lodash@^4.17.20:+ version "4.17.20"+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"+ integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==++log-symbols@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-3.0.0.tgz#f3a08516a5dea893336a7dee14d18a1cfdab77c4"+ integrity sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==+ dependencies:+ chalk "^2.4.2"++lru-cache@^5.1.1:+ version "5.1.1"+ resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"+ integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==+ dependencies:+ yallist "^3.0.2"++magic-string@^0.25.2, magic-string@^0.25.7:+ version "0.25.7"+ resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051"+ integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==+ dependencies:+ sourcemap-codec "^1.4.4"++ version "0.3.0"+ resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"+ integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=++merge-source-map@^1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646"+ integrity sha512-Qkcp7P2ygktpMPh2mCQZaf3jhN6D3Z/qVZHSdWvQ+2Ef5HgRAPBO57A77+ENm0CPx2+1Ce/MYKi3ymqdfuqibw==+ dependencies:+ source-map "^0.6.1"++merge-stream@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"+ integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==++merge2@^1.3.0:+ version "1.4.1"+ resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"+ integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==++micromatch@^4.0.2:+ version "4.0.2"+ resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"+ integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==+ dependencies:+ braces "^3.0.1"+ picomatch "^2.0.5"++ version "1.44.0"+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92"+ integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==++mime-types@^2.1.18, mime-types@^2.1.27, mime-types@~2.1.24:+ version "2.1.27"+ resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f"+ integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==+ dependencies:+ mime-db "1.44.0"++mimic-fn@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"+ integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==++mini-svg-data-uri@^1.2.3:+ version "1.2.3"+ resolved "https://registry.yarnpkg.com/mini-svg-data-uri/-/mini-svg-data-uri-1.2.3.tgz#e16baa92ad55ddaa1c2c135759129f41910bc39f"+ integrity sha512-zd6KCAyXgmq6FV1mR10oKXYtvmA9vRoB6xPSTUJTbFApCtkefDnYueVR1gkof3KcdLZo1Y8mjF2DFmQMIxsHNQ==++minimatch@^3.0.4:+ version "3.0.4"+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"+ integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==+ dependencies:+ brace-expansion "^1.1.7"++minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5:+ version "1.2.5"+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"+ integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==++miragejs@^0.1.41:+ version "0.1.41"+ resolved "https://registry.yarnpkg.com/miragejs/-/miragejs-0.1.41.tgz#1b06a2d2d9de65624f5bb1cee7ebb4a208f554d0"+ integrity sha512-ur8x7sBskgey64vdzKGVCVC3hgKXWl2Cg5lZbxd6OmKrhr9LCCP/Bv7qh4wsQxIMHZnENxybFATXnrQ+rzSOWQ==+ dependencies:+ "@miragejs/pretender-node-polyfill" "^0.1.0"+ inflected "^2.0.4"+ lodash.assign "^4.2.0"+ lodash.camelcase "^4.3.0"+ lodash.clonedeep "^4.5.0"+ lodash.compact "^3.0.1"+ lodash.find "^4.6.0"+ lodash.flatten "^4.4.0"+ lodash.forin "^4.4.0"+ lodash.get "^4.4.2"+ lodash.has "^4.5.2"+ lodash.invokemap "^4.6.0"+ lodash.isempty "^4.4.0"+ lodash.isequal "^4.5.0"+ lodash.isfunction "^3.0.9"+ lodash.isinteger "^4.0.4"+ lodash.isplainobject "^4.0.6"+ lodash.lowerfirst "^4.3.1"+ lodash.map "^4.6.0"+ lodash.mapvalues "^4.6.0"+ lodash.pick "^4.4.0"+ lodash.snakecase "^4.1.1"+ lodash.uniq "^4.5.0"+ lodash.uniqby "^4.7.0"+ lodash.values "^4.3.0"+ pretender "^3.4.3"++modern-normalize@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/modern-normalize/-/modern-normalize-1.0.0.tgz#539d84a1e141338b01b346f3e27396d0ed17601e"+ integrity sha512-1lM+BMLGuDfsdwf3rsgBSrxJwAZHFIrQ8YR61xIqdHo0uNKI9M52wNpHSrliZATJp51On6JD0AfRxd4YGSU0lw==++moment@^2.29.1:+ version "2.29.1"+ resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"+ integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==++ version "2.0.0"+ resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"+ integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=+[email protected], ms@^2.1.1:+ version "2.1.2"+ resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"+ integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==++ version "0.0.8"+ resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"+ integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==++mz@^2.1.0:+ version "2.7.0"+ resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32"+ integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==+ dependencies:+ any-promise "^1.0.0"+ object-assign "^4.0.1"+ thenify-all "^1.0.0"++ version "0.6.2"+ resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"+ integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==++node-emoji@^1.8.1:+ version "1.10.0"+ resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.10.0.tgz#8886abd25d9c7bb61802a658523d1f8d2a89b2da"+ integrity sha512-Yt3384If5H6BYGVHiHwTL+99OzJKHhgp82S8/dktEK73T26BazdgZ4JZh92xSVtGNJvz9UbXdNAc5hcrXV42vw==+ dependencies:+ lodash.toarray "^4.4.0"++node-forge@^0.10.0:+ version "0.10.0"+ resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3"+ integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==++node-releases@^1.1.66:+ version "1.1.67"+ resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.67.tgz#28ebfcccd0baa6aad8e8d4d8fe4cbc49ae239c12"+ integrity sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==++normalize-path@^3.0.0, normalize-path@~3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"+ integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==++normalize-range@^0.1.2:+ version "0.1.2"+ resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"+ integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=++npm-run-path@^4.0.0:+ version "4.0.1"+ resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"+ integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==+ dependencies:+ path-key "^3.0.0"++num2fraction@^1.2.2:+ version "1.2.2"+ resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede"+ integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=++object-assign@^4.0.1, object-assign@^4.1.1:+ version "4.1.1"+ resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"+ integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=++object-hash@^2.0.3:+ version "2.0.3"+ resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.0.3.tgz#d12db044e03cd2ca3d77c0570d87225b02e1e6ea"+ integrity sha512-JPKn0GMu+Fa3zt3Bmr66JhokJU5BaNBIh4ZeTlaCBzrBsOeXzwcKKAK1tbLiPKgvwmPXsDvvLHoWh5Bm7ofIYg==++on-finished@^2.3.0:+ version "2.3.0"+ resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"+ integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=+ dependencies:+ ee-first "1.1.1"++once@^1.3.0, once@^1.3.1, once@^1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"+ integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=+ dependencies:+ wrappy "1"++onetime@^5.1.0:+ version "5.1.2"+ resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e"+ integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==+ dependencies:+ mimic-fn "^2.1.0"++only@~0.0.2:+ version "0.0.2"+ resolved "https://registry.yarnpkg.com/only/-/only-0.0.2.tgz#2afde84d03e50b9a8edc444e30610a70295edfb4"+ integrity sha1-Kv3oTQPlC5qO3EROMGEKcCle37Q=++open@^7.0.3:+ version "7.3.0"+ resolved "https://registry.yarnpkg.com/open/-/open-7.3.0.tgz#45461fdee46444f3645b6e14eb3ca94b82e1be69"+ integrity sha512-mgLwQIx2F/ye9SmbrUkurZCnkoXyXyu9EbHtJZrICjVAJfyMArdHp3KkixGdZx1ZHFPNIwl0DDM1dFFqXbTLZw==+ dependencies:+ is-docker "^2.0.0"+ is-wsl "^2.1.1"++ora@^4.0.4:+ version "4.1.1"+ resolved "https://registry.yarnpkg.com/ora/-/ora-4.1.1.tgz#566cc0348a15c36f5f0e979612842e02ba9dddbc"+ integrity sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==+ dependencies:+ chalk "^3.0.0"+ cli-cursor "^3.1.0"+ cli-spinners "^2.2.0"+ is-interactive "^1.0.0"+ log-symbols "^3.0.0"+ mute-stream "0.0.8"+ strip-ansi "^6.0.0"+ wcwidth "^1.0.1"++parse-json@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"+ integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=+ dependencies:+ error-ex "^1.3.1"+ json-parse-better-errors "^1.0.1"++parseurl@^1.3.2:+ version "1.3.3"+ resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"+ integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==+[email protected], path-is-absolute@^1.0.0:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"+ integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=++path-key@^3.0.0, path-key@^3.1.0:+ version "3.1.1"+ resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"+ integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==++path-match@^1.2.4:+ version "1.2.4"+ resolved "https://registry.yarnpkg.com/path-match/-/path-match-1.2.4.tgz#a62747f3c7e0c2514762697f24443585b09100ea"+ integrity sha1-pidH88fgwlFHYml/JEQ1hbCRAOo=+ dependencies:+ http-errors "~1.4.0"+ path-to-regexp "^1.0.0"++path-parse@^1.0.6:+ version "1.0.6"+ resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"+ integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==++path-to-regexp@^1.0.0:+ version "1.8.0"+ resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a"+ integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==+ dependencies:+ isarray "0.0.1"++path-type@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"+ integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==++picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.2.1, picomatch@^2.2.2:+ version "2.2.2"+ resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"+ integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==++pify@^2.3.0:+ version "2.3.0"+ resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"+ integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw=++postcss-discard-comments@^4.0.2:+ version "4.0.2"+ resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz#1fbabd2c246bff6aaad7997b2b0918f4d7af4033"+ integrity sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==+ dependencies:+ postcss "^7.0.0"++postcss-focus-visible@^5.0.0:+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/postcss-focus-visible/-/postcss-focus-visible-5.0.0.tgz#61e0909244cd15b9075bd40a4f176aa4e2446dbc"+ integrity sha512-KWMjuX+6Mbt7BvD7L9YETXXx8pmNSlT881Zdebbi5zLKdRIM0FIlwG87i/RXiwTf5nGJdaHA1KKsE6gW+O719A==+ dependencies:+ postcss "^7.0.27"++postcss-functions@^3:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/postcss-functions/-/postcss-functions-3.0.0.tgz#0e94d01444700a481de20de4d55fb2640564250e"+ integrity sha1-DpTQFERwCkgd4g3k1V+yZAVkJQ4=+ dependencies:+ glob "^7.1.2"+ object-assign "^4.1.1"+ postcss "^6.0.9"+ postcss-value-parser "^3.3.0"++postcss-import@^12.0.1:+ version "12.0.1"+ resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153"+ integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw==+ dependencies:+ postcss "^7.0.1"+ postcss-value-parser "^3.2.3"+ read-cache "^1.0.0"+ resolve "^1.1.7"++postcss-js@^2:+ version "2.0.3"+ resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-2.0.3.tgz#a96f0f23ff3d08cec7dc5b11bf11c5f8077cdab9"+ integrity sha512-zS59pAk3deu6dVHyrGqmC3oDXBdNdajk4k1RyxeVXCrcEDBUBHoIhE4QTsmhxgzXxsaqFDAkUZfmMa5f/N/79w==+ dependencies:+ camelcase-css "^2.0.1"+ postcss "^7.0.18"++postcss-load-config@^2.1.0:+ version "2.1.2"+ resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.1.2.tgz#c5ea504f2c4aef33c7359a34de3573772ad7502a"+ integrity sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw==+ dependencies:+ cosmiconfig "^5.0.0"+ import-cwd "^2.0.0"++postcss-modules-extract-imports@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e"+ integrity sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==+ dependencies:+ postcss "^7.0.5"++postcss-modules-local-by-default@^3.0.2:+ version "3.0.3"+ resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz#bb14e0cc78279d504dbdcbfd7e0ca28993ffbbb0"+ integrity sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==+ dependencies:+ icss-utils "^4.1.1"+ postcss "^7.0.32"+ postcss-selector-parser "^6.0.2"+ postcss-value-parser "^4.1.0"++postcss-modules-scope@^2.2.0:+ version "2.2.0"+ resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz#385cae013cc7743f5a7d7602d1073a89eaae62ee"+ integrity sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==+ dependencies:+ postcss "^7.0.6"+ postcss-selector-parser "^6.0.0"++postcss-modules-values@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz#5b5000d6ebae29b4255301b4a3a54574423e7f10"+ integrity sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==+ dependencies:+ icss-utils "^4.0.0"+ postcss "^7.0.6"++postcss-modules@^3.2.2:+ version "3.2.2"+ resolved "https://registry.yarnpkg.com/postcss-modules/-/postcss-modules-3.2.2.tgz#ee390de0f9f18e761e1778dfb9be26685c02c51f"+ integrity sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw==+ dependencies:+ generic-names "^2.0.1"+ icss-replace-symbols "^1.1.0"+ lodash.camelcase "^4.3.0"+ postcss "^7.0.32"+ postcss-modules-extract-imports "^2.0.0"+ postcss-modules-local-by-default "^3.0.2"+ postcss-modules-scope "^2.2.0"+ postcss-modules-values "^3.0.0"+ string-hash "^1.1.1"++postcss-nested@^4:+ version "4.2.3"+ resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-4.2.3.tgz#c6f255b0a720549776d220d00c4b70cd244136f6"+ integrity sha512-rOv0W1HquRCamWy2kFl3QazJMMe1ku6rCFoAAH+9AcxdbpDeBr6k968MLWuLjvjMcGEip01ak09hKOEgpK9hvw==+ dependencies:+ postcss "^7.0.32"+ postcss-selector-parser "^6.0.2"++postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4:+ version "6.0.4"+ resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz#56075a1380a04604c38b063ea7767a129af5c2b3"+ integrity sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==+ dependencies:+ cssesc "^3.0.0"+ indexes-of "^1.0.1"+ uniq "^1.0.1"+ util-deprecate "^1.0.2"++postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0:+ version "3.3.1"+ resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281"+ integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==++postcss-value-parser@^4.1.0:+ version "4.1.0"+ resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb"+ integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==++ version "7.0.32"+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d"+ integrity sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==+ dependencies:+ chalk "^2.4.2"+ source-map "^0.6.1"+ supports-color "^6.1.0"++postcss@^6.0.9:+ version "6.0.23"+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324"+ integrity sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==+ dependencies:+ chalk "^2.4.1"+ source-map "^0.6.1"+ supports-color "^5.4.0"++postcss@^7, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.18, postcss@^7.0.27, postcss@^7.0.28, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6:+ version "7.0.35"+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.35.tgz#d2be00b998f7f211d8a276974079f2e92b970e24"+ integrity sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==+ dependencies:+ chalk "^2.4.2"+ source-map "^0.6.1"+ supports-color "^6.1.0"++pretender@^3.4.3:+ version "3.4.3"+ resolved "https://registry.yarnpkg.com/pretender/-/pretender-3.4.3.tgz#a3b4160516007075d29127262f3a0063d19896e9"+ integrity sha512-AlbkBly9R8KR+R0sTCJ/ToOeEoUMtt52QVCetui5zoSmeLOU3S8oobFsyPLm1O2txR6t58qDNysqPnA1vVi8Hg==+ dependencies:+ fake-xml-http-request "^2.1.1"+ route-recognizer "^0.3.3"++pretty-hrtime@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"+ integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=++pump@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"+ integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==+ dependencies:+ end-of-stream "^1.1.0"+ once "^1.3.1"++purgecss@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/purgecss/-/purgecss-3.0.0.tgz#039c191871bb999894222a00c4c8b179fccdb043"+ integrity sha512-t3FGCwyX9XWV3ffvnAXTw6Y3Z9kNlcgm14VImNK66xKi5sdqxSA2I0SFYxtmZbAKuIZVckPdazw5iKL/oY/2TA==+ dependencies:+ commander "^6.0.0"+ glob "^7.0.0"+ postcss "7.0.32"+ postcss-selector-parser "^6.0.2"++randombytes@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"+ integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==+ dependencies:+ safe-buffer "^5.1.0"++read-cache@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774"+ integrity sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=+ dependencies:+ pify "^2.3.0"++readdirp@~3.4.0:+ version "3.4.0"+ resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada"+ integrity sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==+ dependencies:+ picomatch "^2.2.1"++reduce-css-calc@^2.1.6:+ version "2.1.7"+ resolved "https://registry.yarnpkg.com/reduce-css-calc/-/reduce-css-calc-2.1.7.tgz#1ace2e02c286d78abcd01fd92bfe8097ab0602c2"+ integrity sha512-fDnlZ+AybAS3C7Q9xDq5y8A2z+lT63zLbynew/lur/IR24OQF5x98tfNwf79mzEdfywZ0a2wpM860FhFfMxZlA==+ dependencies:+ css-unit-converter "^1.1.1"+ postcss-value-parser "^3.3.0"++requires-port@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"+ integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=++resolve-from@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748"+ integrity sha1-six699nWiBvItuZTM17rywoYh0g=++resolve-path@^1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/resolve-path/-/resolve-path-1.4.0.tgz#c4bda9f5efb2fce65247873ab36bb4d834fe16f7"+ integrity sha1-xL2p9e+y/OZSR4c6s2u02DT+Fvc=+ dependencies:+ http-errors "~1.6.2"+ path-is-absolute "1.0.1"++resolve@^1.1.7, resolve@^1.11.0, resolve@^1.17.0:+ version "1.17.0"+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"+ integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==+ dependencies:+ path-parse "^1.0.6"++resolve@^1.19.0:+ version "1.19.0"+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c"+ integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==+ dependencies:+ is-core-module "^2.1.0"+ path-parse "^1.0.6"++restore-cursor@^3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e"+ integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==+ dependencies:+ onetime "^5.1.0"+ signal-exit "^3.0.2"++reusify@^1.0.4:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"+ integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==++rollup-plugin-dynamic-import-variables@^1.0.1:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/rollup-plugin-dynamic-import-variables/-/rollup-plugin-dynamic-import-variables-1.1.0.tgz#4981d38907a471b35234398a09047bef47a2006a"+ integrity sha512-C1avEmnXC8cC4aAQ5dB63O9oQf7IrhEHc98bQw9Qd6H36FxtZooLCvVfcO4SNYrqaNrzH3ErucQt/zdFSLPHNw==+ dependencies:+ "@rollup/pluginutils" "^3.0.9"+ estree-walker "^2.0.1"+ globby "^11.0.0"+ magic-string "^0.25.7"++rollup-plugin-terser@^5.3.0:+ version "5.3.1"+ resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-5.3.1.tgz#8c650062c22a8426c64268548957463bf981b413"+ integrity sha512-1pkwkervMJQGFYvM9nscrUoncPwiKR/K+bHdjv6PFgRo3cgPHoRT83y2Aa3GvINj4539S15t/tpFPb775TDs6w==+ dependencies:+ "@babel/code-frame" "^7.5.5"+ jest-worker "^24.9.0"+ rollup-pluginutils "^2.8.2"+ serialize-javascript "^4.0.0"+ terser "^4.6.2"++rollup-plugin-vue@^6.0.0-beta.10:+ version "6.0.0-beta.10"+ resolved "https://registry.yarnpkg.com/rollup-plugin-vue/-/rollup-plugin-vue-6.0.0-beta.10.tgz#66d9b9a8dd2d085267d1cc398ea0113360879ac1"+ integrity sha512-8TZJmROiSRjWoHRR6id0/ktOBOUGuI302xDBq4YBiA/tnnXdoY3oFGtvRWzT5ldX0jTJ8QX40rrJOw2SvcWwxQ==+ dependencies:+ debug "^4.1.1"+ hash-sum "^2.0.0"+ rollup-pluginutils "^2.8.2"++rollup-plugin-web-worker-loader@^1.3.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/rollup-plugin-web-worker-loader/-/rollup-plugin-web-worker-loader-1.4.0.tgz#b4fd711118758c2111c30e794e2f2757b75a27b8"+ integrity sha512-jhlOwSkrXkAVFY2Fded0M1AS9iqZDNjUJxNz4BFjBlaKuUzTx8Ikey+b3LSegUJE4mzAAw2DqJD8pX12R0ZdDw==++rollup-pluginutils@^2.8.2:+ version "2.8.2"+ resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"+ integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==+ dependencies:+ estree-walker "^0.6.1"++rollup@^2.20.0:+ version "2.28.2"+ resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.28.2.tgz#599ec4978144a82d8a8ec3d37670a8440cb04e4b"+ integrity sha512-8txbsFBFLmm9Xdt4ByTOGa9Muonmc8MfNjnGAR8U8scJlF1ZW7AgNZa7aqBXaKtlvnYP/ab++fQIq9dB9NWUbg==+ optionalDependencies:+ fsevents "~2.1.2"++route-recognizer@^0.3.3:+ version "0.3.4"+ resolved "https://registry.yarnpkg.com/route-recognizer/-/route-recognizer-0.3.4.tgz#39ab1ffbce1c59e6d2bdca416f0932611e4f3ca3"+ integrity sha512-2+MhsfPhvauN1O8KaXpXAOfR/fwe8dnUXVM+xw7yt40lJRfPVQxV6yryZm0cgRvAj5fMF/mdRZbL2ptwbs5i2g==++run-parallel@^1.1.9:+ version "1.1.9"+ resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679"+ integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==++ version "5.1.2"+ resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"+ integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==++safe-buffer@^5.1.0:+ version "5.2.1"+ resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"+ integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==++selfsigned@^1.10.7:+ version "1.10.8"+ resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.8.tgz#0d17208b7d12c33f8eac85c41835f27fc3d81a30"+ integrity sha512-2P4PtieJeEwVgTU9QEcwIRDQ/mXJLX8/+I3ur+Pg16nS8oNbrGxEso9NyYWy8NAmXiNl4dlAp5MwoNeCWzON4w==+ dependencies:+ node-forge "^0.10.0"++serialize-javascript@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa"+ integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==+ dependencies:+ randombytes "^2.1.0"++ version "1.1.0"+ resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"+ integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==++ version "1.1.1"+ resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"+ integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==++ version "1.2.0"+ resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"+ integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==++shebang-command@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"+ integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==+ dependencies:+ shebang-regex "^3.0.0"++shebang-regex@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"+ integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==++signal-exit@^3.0.2:+ version "3.0.3"+ resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"+ integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==++simple-swizzle@^0.2.2:+ version "0.2.2"+ resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"+ integrity sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=+ dependencies:+ is-arrayish "^0.3.1"++slash@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"+ integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==++source-map-support@~0.5.12:+ version "0.5.19"+ resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"+ integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==+ dependencies:+ buffer-from "^1.0.0"+ source-map "^0.6.0"++source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:+ version "0.6.1"+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"+ integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==++sourcemap-codec@^1.4.4:+ version "1.4.8"+ resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4"+ integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==++sprintf-js@~1.0.2:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"+ integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=++"statuses@>= 1.2.1 < 2", "statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@^1.5.0:+ version "1.5.0"+ resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"+ integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=++string-hash@^1.1.1:+ version "1.1.3"+ resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b"+ integrity sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=++strip-ansi@^6.0.0:+ version "6.0.0"+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532"+ integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==+ dependencies:+ ansi-regex "^5.0.0"++strip-final-newline@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad"+ integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==++supports-color@^5.3.0, supports-color@^5.4.0:+ version "5.5.0"+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"+ integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==+ dependencies:+ has-flag "^3.0.0"++supports-color@^6.1.0:+ version "6.1.0"+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"+ integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==+ dependencies:+ has-flag "^3.0.0"++supports-color@^7.1.0:+ version "7.2.0"+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"+ integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==+ dependencies:+ has-flag "^4.0.0"++"tailwindcss@npm:@tailwindcss/postcss7-compat":+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/@tailwindcss/postcss7-compat/-/postcss7-compat-2.0.1.tgz#901b02546e537e85beddbc13443226f46929efc8"+ integrity sha512-SdWGioSKNhCIuoX2gCYhfs9HhWnOf1dvIed5G2i/lbqReGA27LG5KpH4glDunHWevWAY7h/WISZblE6xDCC/UA==+ dependencies:+ "@fullhuman/postcss-purgecss" "^3.0.0"+ autoprefixer "^9"+ bytes "^3.0.0"+ chalk "^4.1.0"+ color "^3.1.3"+ detective "^5.2.0"+ didyoumean "^1.2.1"+ fs-extra "^9.0.1"+ html-tags "^3.1.0"+ lodash "^4.17.20"+ modern-normalize "^1.0.0"+ node-emoji "^1.8.1"+ object-hash "^2.0.3"+ postcss "^7"+ postcss-functions "^3"+ postcss-js "^2"+ postcss-nested "^4"+ postcss-selector-parser "^6.0.4"+ postcss-value-parser "^4.1.0"+ pretty-hrtime "^1.0.3"+ reduce-css-calc "^2.1.6"+ resolve "^1.19.0"++terser@^4.6.2:+ version "4.8.0"+ resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17"+ integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==+ dependencies:+ commander "^2.20.0"+ source-map "~0.6.1"+ source-map-support "~0.5.12"++thenify-all@^1.0.0:+ version "1.6.0"+ resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726"+ integrity sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=+ dependencies:+ thenify ">= 3.1.0 < 4"++"thenify@>= 3.1.0 < 4":+ version "3.3.1"+ resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f"+ integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==+ dependencies:+ any-promise "^1.0.0"++to-fast-properties@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"+ integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=++to-regex-range@^5.0.1:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"+ integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==+ dependencies:+ is-number "^7.0.0"++ version "1.0.0"+ resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"+ integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==++ version "1.0.6"+ resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb"+ integrity sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==++type-is@^1.6.16:+ version "1.6.18"+ resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"+ integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==+ dependencies:+ media-typer "0.3.0"+ mime-types "~2.1.24"++uniq@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff"+ integrity sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=++universalify@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d"+ integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==++util-deprecate@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"+ integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=++vary@^1.1.2:+ version "1.1.2"+ resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"+ integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=++vite@^1.0.0-rc.1:+ version "1.0.0-rc.4"+ resolved "https://registry.yarnpkg.com/vite/-/vite-1.0.0-rc.4.tgz#210106136861b231704e6381ac9eb1bcd655d4f0"+ integrity sha512-D9gpKKaE2U0YpIxNrSn+nlFPBT0sfg68Y1EReYW8YHMhbNFcxwS7RZIa1W/8Pq6yDfVRAhbOZNijv1mLG5pCEg==+ dependencies:+ "@babel/parser" "^7.9.4"+ "@rollup/plugin-commonjs" "^14.0.0"+ "@rollup/plugin-json" "^4.0.3"+ "@rollup/plugin-node-resolve" "^8.4.0"+ "@types/koa" "^2.11.3"+ "@types/lru-cache" "^5.1.0"+ "@vue/compiler-dom" "^3.0.0-rc.5"+ "@vue/compiler-sfc" "^3.0.0-rc.5"+ brotli-size "^4.0.0"+ chalk "^4.0.0"+ chokidar "^3.3.1"+ clean-css "^4.2.3"+ debug "^4.1.1"+ dotenv "^8.2.0"+ dotenv-expand "^5.1.0"+ es-module-lexer "^0.3.18"+ esbuild "^0.6.10"+ etag "^1.8.1"+ execa "^4.0.1"+ fs-extra "^9.0.0"+ hash-sum "^2.0.0"+ isbuiltin "^1.0.0"+ koa "^2.11.0"+ koa-conditional-get "^2.0.0"+ koa-etag "^3.0.0"+ koa-proxies "^0.11.0"+ koa-send "^5.0.0"+ koa-static "^5.0.0"+ lru-cache "^5.1.1"+ magic-string "^0.25.7"+ merge-source-map "^1.1.0"+ mime-types "^2.1.27"+ minimist "^1.2.5"+ open "^7.0.3"+ ora "^4.0.4"+ postcss "^7.0.28"+ postcss-discard-comments "^4.0.2"+ postcss-import "^12.0.1"+ postcss-load-config "^2.1.0"+ resolve "^1.17.0"+ rollup "^2.20.0"+ rollup-plugin-dynamic-import-variables "^1.0.1"+ rollup-plugin-terser "^5.3.0"+ rollup-plugin-vue "^6.0.0-beta.10"+ rollup-plugin-web-worker-loader "^1.3.0"+ rollup-pluginutils "^2.8.2"+ selfsigned "^1.10.7"+ slash "^3.0.0"+ vue "^3.0.0-rc.5"+ ws "^7.2.3"++vue-router@^4.0.0-0:+ version "4.0.0-beta.13"+ resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.0.0-beta.13.tgz#4611d09a9e44f231cc401ecc294a7f2dcb30e6a6"+ integrity sha512-dYv9qpHPaojQlfujViiTkPkf1Bf5RCFzkCkdVFc1cENzWJYAGJanpIHiyjyKoM4u7IDFBZMItci+U4ieaEWA8A==++vue@^3.0.0, vue@^3.0.0-rc.5:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/vue/-/vue-3.0.0.tgz#cfb5df5c34efce319b113a1667d12b74dcfd9c90"+ integrity sha512-ZMrAARZ32sGIaYKr7Fk2GZEBh/VhulSrGxcGBiAvbN4fhjl3tuJyNFbbbLFqGjndbLoBW66I2ECq8ICdvkKdJw==+ dependencies:+ "@vue/compiler-dom" "3.0.0"+ "@vue/runtime-dom" "3.0.0"+ "@vue/shared" "3.0.0"++vuex@^4.0.0-beta.4:+ version "4.0.0-beta.4"+ resolved "https://registry.yarnpkg.com/vuex/-/vuex-4.0.0-beta.4.tgz#7b319ead2ef30432b7eaa4e37258ea3c5e44f698"+ integrity sha512-/+4E1dokq5cwbl4mohOqOj8h0vOLOWmLSqlqTf++bfmN9/JKWtwYfsBrzlK0sYrNfuYcpQeX0BVxQHoHXDfYZQ==++wcwidth@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"+ integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=+ dependencies:+ defaults "^1.0.3"++which@^2.0.1:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"+ integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==+ dependencies:+ isexe "^2.0.0"++wrappy@1:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"+ integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=++ws@^7.2.3:+ version "7.3.1"+ resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8"+ integrity sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==++xtend@^4.0.2:+ version "4.0.2"+ resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"+ integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==++yallist@^3.0.2:+ version "3.1.1"+ resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"+ integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==++ylru@^1.2.0:+ version "1.2.1"+ resolved "https://registry.yarnpkg.com/ylru/-/ylru-1.2.1.tgz#f576b63341547989c1de7ba288760923b27fe84f"+ integrity sha512-faQrqNMzcPCHGVC2aaOINk13K+aaBDUPjGWl0teOXywElLjyVAB6Oe2jj62jHYtwsU49jXhScYbvPENK+6zAvQ==