diff --git a/availabili.tf/package-lock.json b/availabili.tf/package-lock.json index 9e94bcf..10f6307 100644 --- a/availabili.tf/package-lock.json +++ b/availabili.tf/package-lock.json @@ -31,6 +31,7 @@ "@vue/eslint-config-typescript": "^14.0.1", "@vue/test-utils": "^2.4.6", "@vue/tsconfig": "^0.5.1", + "@vue/typescript-plugin": "^2.1.10", "autoprefixer": "^10.4.20", "cypress": "^13.15.0", "eslint": "^9.12.0", @@ -1620,30 +1621,30 @@ } }, "node_modules/@volar/language-core": { - "version": "2.4.6", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.6.tgz", - "integrity": "sha512-FxUfxaB8sCqvY46YjyAAV6c3mMIq/NWQMVvJ+uS4yxr1KzOvyg61gAuOnNvgCvO4TZ7HcLExBEsWcDu4+K4E8A==", + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.10.tgz", + "integrity": "sha512-hG3Z13+nJmGaT+fnQzAkS0hjJRa2FCeqZt6Bd+oGNhUkQ+mTFsDETg5rqUTxyzIh5pSOGY7FHCWUS8G82AzLCA==", "dev": true, "license": "MIT", "dependencies": { - "@volar/source-map": "2.4.6" + "@volar/source-map": "2.4.10" } }, "node_modules/@volar/source-map": { - "version": "2.4.6", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.6.tgz", - "integrity": "sha512-Nsh7UW2ruK+uURIPzjJgF0YRGP5CX9nQHypA2OMqdM2FKy7rh+uv3XgPnWPw30JADbKvZ5HuBzG4gSbVDYVtiw==", + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.10.tgz", + "integrity": "sha512-OCV+b5ihV0RF3A7vEvNyHPi4G4kFa6ukPmyVocmqm5QzOd8r5yAtiNvaPEjl8dNvgC/lj4JPryeeHLdXd62rWA==", "dev": true, "license": "MIT" }, "node_modules/@volar/typescript": { - "version": "2.4.6", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.6.tgz", - "integrity": "sha512-NMIrA7y5OOqddL9VtngPWYmdQU03htNKFtAYidbYfWA0TOhyGVd9tfcP4TsLWQ+RBWDZCbBqsr8xzU0ZOxYTCQ==", + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.10.tgz", + "integrity": "sha512-F8ZtBMhSXyYKuBfGpYwqA5rsONnOwAVvjyE7KPYJ7wgZqo2roASqNWUnianOomJX5u1cxeRooHV59N0PhvEOgw==", "dev": true, "license": "MIT", "dependencies": { - "@volar/language-core": "2.4.6", + "@volar/language-core": "2.4.10", "path-browserify": "^1.0.1", "vscode-uri": "^3.0.8" } @@ -1861,6 +1862,43 @@ "dev": true, "license": "MIT" }, + "node_modules/@vue/typescript-plugin": { + "version": "2.1.10", + "resolved": "https://registry.npmjs.org/@vue/typescript-plugin/-/typescript-plugin-2.1.10.tgz", + "integrity": "sha512-NrS3BB3l5vuZHU4Vp8l9TbT5pC7VjBfwZKqc24dAXF3Z+dJyGs4mcC3zo59gUggLMQSah8mdXj8xqEfMkrps8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@volar/typescript": "~2.4.8", + "@vue/language-core": "2.1.10", + "@vue/shared": "^3.5.0" + } + }, + "node_modules/@vue/typescript-plugin/node_modules/@vue/language-core": { + "version": "2.1.10", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.1.10.tgz", + "integrity": "sha512-DAI289d0K3AB5TUG3xDp9OuQ71CnrujQwJrQnfuZDwo6eGNf0UoRlPuaVNO+Zrn65PC3j0oB2i7mNmVPggeGeQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@volar/language-core": "~2.4.8", + "@vue/compiler-dom": "^3.5.0", + "@vue/compiler-vue2": "^2.7.16", + "@vue/shared": "^3.5.0", + "alien-signals": "^0.2.0", + "minimatch": "^9.0.3", + "muggle-string": "^0.4.1", + "path-browserify": "^1.0.1" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/abbrev": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", @@ -1938,6 +1976,13 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/alien-signals": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/alien-signals/-/alien-signals-0.2.2.tgz", + "integrity": "sha512-cZIRkbERILsBOXTQmMrxc9hgpxglstn69zm+F1ARf4aPAzdAFYd6sBq87ErO0Fj3DV94tglcyHG5kQz9nDC/8A==", + "dev": true, + "license": "MIT" + }, "node_modules/ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", diff --git a/availabili.tf/package.json b/availabili.tf/package.json index 6fa0dc2..2df842d 100644 --- a/availabili.tf/package.json +++ b/availabili.tf/package.json @@ -38,6 +38,7 @@ "@vue/eslint-config-typescript": "^14.0.1", "@vue/test-utils": "^2.4.6", "@vue/tsconfig": "^0.5.1", + "@vue/typescript-plugin": "^2.1.10", "autoprefixer": "^10.4.20", "cypress": "^13.15.0", "eslint": "^9.12.0", diff --git a/availabili.tf/src/components/InviteEntry.vue b/availabili.tf/src/components/InviteEntry.vue index a8c21af..90e89b4 100644 --- a/availabili.tf/src/components/InviteEntry.vue +++ b/availabili.tf/src/components/InviteEntry.vue @@ -1,12 +1,15 @@ + + + + diff --git a/availabili.tf/src/views/TeamDetailsView.vue b/availabili.tf/src/views/TeamDetailsView.vue index 1e003f7..2c26279 100644 --- a/availabili.tf/src/views/TeamDetailsView.vue +++ b/availabili.tf/src/views/TeamDetailsView.vue @@ -1,18 +1,14 @@ @@ -83,90 +45,7 @@ onMounted(async () => { Formed on {{ creationDate }} -
-

Members

- - {{ teamsStore.teamMembers[route.params.id]?.length }} member(s), - {{ availableMembers?.length }} currently available, - {{ availableMembersNextHour?.length }} available in the next hour - -
- - - - -
-
- - - - - -
-

Active Invites

-
-
- View all invites - - There are currently no active invites to this team. - - - - - - - - - - - -
- Key (hover to reveal) - - Creation time -
-
- - - Invites are usable once and expire after 24 hours. - -
-
-
+ @@ -175,59 +54,4 @@ onMounted(async () => { .team-info { margin: 4em; } - -.member-list-header { - display: flex; - gap: 0.5em; - align-items: center; -} - -.member-list-header > .aside { - font-size: 12pt; - font-style: normal; -} - -table.member-table { - width: 100%; -} - -table.member-table th { - text-align: left; - padding-left: 2em; - font-weight: 700; -} - -/* -div.member-grid { - display: flex; - gap: 8px; - flex-wrap: wrap; -} -*/ - -th { - text-align: left; - font-weight: 600; - padding: 8px; -} - -#invite-table { - width: 100%; - border: 1px solid var(--text); - margin: 8px 0; -} - -.team-details-button-group { - flex: 1; - display: flex; - align-items: center; - justify-content: end; - gap: 4px; -} - -.create-invite-group { - display: flex; - gap: 8px; - align-items: center; -} diff --git a/availabili.tf/src/views/TeamRegistrationView.vue b/availabili.tf/src/views/TeamRegistrationView.vue index e51698f..4f41199 100644 --- a/availabili.tf/src/views/TeamRegistrationView.vue +++ b/availabili.tf/src/views/TeamRegistrationView.vue @@ -1,6 +1,6 @@