From b2dadcc70c1a6a48e690b464de081387ac6cc883 Mon Sep 17 00:00:00 2001
From: South Drifted
Date: Fri, 9 Feb 2024 02:28:05 +0800
Subject: [PATCH] [migrate] upgrade components & pages of 2018 Code4City & 2019
conferences (#47)
---
.gitignore | 1 -
.husky/pre-commit | 4 -
.husky/pre-push | 4 -
package.json | 25 +-
pnpm-lock.yaml | 254 +++++++------
source/component/SessionBox.tsx | 6 +-
source/page/2017/index.tsx | 2 +-
source/page/2018-Code4City/GuestCard.tsx | 37 +-
.../{index.less => index.module.less} | 0
source/page/2018-Code4City/index.tsx | 342 +++++++++---------
source/page/2018/index.tsx | 2 +-
...onCard.less => InvitationCard.module.less} | 0
source/page/2019/InvitationCard.tsx | 28 +-
source/page/2019/PageAccount.tsx | 156 ++++----
source/page/2019/PageFrame.tsx | 23 +-
source/page/2019/PartnerGroup.tsx | 63 ++--
...TopicGroup.less => TopicGroup.module.less} | 0
source/page/2019/TopicGroup.tsx | 69 ++--
source/page/2019/index.tsx | 205 +++++------
source/page/Activity.tsx | 2 +-
source/page/index.tsx | 12 +-
21 files changed, 625 insertions(+), 610 deletions(-)
rename source/page/2018-Code4City/{index.less => index.module.less} (100%)
rename source/page/2019/{InvitationCard.less => InvitationCard.module.less} (100%)
rename source/page/2019/{TopicGroup.less => TopicGroup.module.less} (100%)
diff --git a/.gitignore b/.gitignore
index 419695e..d9c9a0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,6 @@ package-lock.json
yarn.lock
dist/
.parcel-cache/
-.husky/
.idea/
.vscode/
.DS_Store
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 06c2b40..72c4429 100644
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,5 +1 @@
-#!/bin/sh
-
-. "$(dirname "$0")/_/husky.sh"
-
npm test
diff --git a/.husky/pre-push b/.husky/pre-push
index 952f7e3..d6cb288 100644
--- a/.husky/pre-push
+++ b/.husky/pre-push
@@ -1,5 +1 @@
-#!/bin/sh
-
-. "$(dirname "$0")/_/husky.sh"
-
npm run build
diff --git a/package.json b/package.json
index 6d3ab26..28494df 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,7 @@
"url": "https://github.com/FreeCodeCamp-Chengdu/Web-Conf/issues"
},
"scripts": {
- "prepare": "husky install",
+ "prepare": "husky",
"test": "lint-staged",
"clean": "rm -rf dist/ .parcel-cache/",
"start": "npm run clean && parcel source/index.html --open",
@@ -32,18 +32,18 @@
"*.{html,md,css,less,js,ts,tsx,json}": "prettier --write"
},
"dependencies": {
- "boot-cell": "^2.0.0-beta.9",
+ "boot-cell": "^2.0.0-beta.18",
"browser-unhandled-rejection": "^1.0.2",
"cell-router": "^3.0.0-rc.5",
"classnames": "^2.5.1",
- "dom-renderer": "^2.0.6",
+ "dom-renderer": "^2.1.1",
"html-to-image": "^1.11.11",
"koajax": "^0.9.6",
"lodash.groupby": "^4.6.0",
- "marked": "^11.1.1",
+ "marked": "^12.0.0",
"mobx": "^6.12.0",
"mobx-i18n": "^0.5.0",
- "web-cell": "^3.0.0-rc.8",
+ "web-cell": "^3.0.0-rc.14",
"web-utility": "^4.1.3"
},
"devDependencies": {
@@ -53,17 +53,18 @@
"@parcel/transformer-typescript-tsc": "~2.11.0",
"@parcel/transformer-webmanifest": "~2.11.0",
"@types/lodash.groupby": "^4.6.9",
- "@types/node": "^18.19.8",
- "@typescript-eslint/eslint-plugin": "^6.19.0",
- "@typescript-eslint/parser": "^6.19.0",
+ "@types/node": "^18.19.14",
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
+ "@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
- "husky": "^8.0.3",
- "lint-staged": "^15.2.0",
+ "husky": "^9.0.10",
+ "lint-staged": "^15.2.2",
"parcel": "~2.11.0",
- "postcss": "^8.4.33",
+ "postcss": "^8.4.35",
"postcss-modules": "^4.3.1",
- "prettier": "^3.2.4",
+ "prettier": "^3.2.5",
+ "process": "^0.11.10",
"typescript": "~5.3.3",
"workbox-cli": "^7.0.0"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4b2f2bc..a38b2dc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -6,8 +6,8 @@ settings:
dependencies:
boot-cell:
- specifier: ^2.0.0-beta.9
- version: 2.0.0-beta.9(typescript@5.3.3)
+ specifier: ^2.0.0-beta.18
+ version: 2.0.0-beta.18(typescript@5.3.3)
browser-unhandled-rejection:
specifier: ^1.0.2
version: 1.0.2
@@ -18,8 +18,8 @@ dependencies:
specifier: ^2.5.1
version: 2.5.1
dom-renderer:
- specifier: ^2.0.6
- version: 2.0.6(typescript@5.3.3)
+ specifier: ^2.1.1
+ version: 2.1.1(typescript@5.3.3)
html-to-image:
specifier: ^1.11.11
version: 1.11.11
@@ -30,8 +30,8 @@ dependencies:
specifier: ^4.6.0
version: 4.6.0
marked:
- specifier: ^11.1.1
- version: 11.1.1
+ specifier: ^12.0.0
+ version: 12.0.0
mobx:
specifier: ^6.12.0
version: 6.12.0
@@ -39,8 +39,8 @@ dependencies:
specifier: ^0.5.0
version: 0.5.0(mobx@6.12.0)
web-cell:
- specifier: ^3.0.0-rc.8
- version: 3.0.0-rc.8(typescript@5.3.3)
+ specifier: ^3.0.0-rc.14
+ version: 3.0.0-rc.14(typescript@5.3.3)
web-utility:
specifier: ^4.1.3
version: 4.1.3(typescript@5.3.3)
@@ -48,7 +48,7 @@ dependencies:
devDependencies:
'@parcel/config-default':
specifier: ~2.11.0
- version: 2.11.0(@parcel/core@2.11.0)(postcss@8.4.33)(typescript@5.3.3)
+ version: 2.11.0(@parcel/core@2.11.0)(postcss@8.4.35)(typescript@5.3.3)
'@parcel/packager-raw-url':
specifier: ~2.11.0
version: 2.11.0
@@ -65,14 +65,14 @@ devDependencies:
specifier: ^4.6.9
version: 4.6.9
'@types/node':
- specifier: ^18.19.8
- version: 18.19.8
+ specifier: ^18.19.14
+ version: 18.19.14
'@typescript-eslint/eslint-plugin':
- specifier: ^6.19.0
- version: 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3)
+ specifier: ^6.21.0
+ version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3)
'@typescript-eslint/parser':
- specifier: ^6.19.0
- version: 6.19.0(eslint@8.56.0)(typescript@5.3.3)
+ specifier: ^6.21.0
+ version: 6.21.0(eslint@8.56.0)(typescript@5.3.3)
eslint:
specifier: ^8.56.0
version: 8.56.0
@@ -80,23 +80,26 @@ devDependencies:
specifier: ^9.1.0
version: 9.1.0(eslint@8.56.0)
husky:
- specifier: ^8.0.3
- version: 8.0.3
+ specifier: ^9.0.10
+ version: 9.0.10
lint-staged:
- specifier: ^15.2.0
- version: 15.2.0
+ specifier: ^15.2.2
+ version: 15.2.2
parcel:
specifier: ~2.11.0
- version: 2.11.0(postcss@8.4.33)(typescript@5.3.3)
+ version: 2.11.0(postcss@8.4.35)(typescript@5.3.3)
postcss:
- specifier: ^8.4.33
- version: 8.4.33
+ specifier: ^8.4.35
+ version: 8.4.35
postcss-modules:
specifier: ^4.3.1
- version: 4.3.1(postcss@8.4.33)
+ version: 4.3.1(postcss@8.4.35)
prettier:
- specifier: ^3.2.4
- version: 3.2.4
+ specifier: ^3.2.5
+ version: 3.2.5
+ process:
+ specifier: ^0.11.10
+ version: 0.11.10
typescript:
specifier: ~5.3.3
version: 5.3.3
@@ -1584,7 +1587,7 @@ packages:
- '@parcel/core'
dev: true
- /@parcel/config-default@2.11.0(@parcel/core@2.11.0)(postcss@8.4.33)(typescript@5.3.3):
+ /@parcel/config-default@2.11.0(@parcel/core@2.11.0)(postcss@8.4.35)(typescript@5.3.3):
resolution: {integrity: sha512-1e2+qcZkm5/0f4eI20p/DemcYiSxq9d/eyjpTXA7PulJaHbL1wonwUAuy3mvnAvDnLOJmAk/obDVgX1ZfxMGtg==}
peerDependencies:
'@parcel/core': ^2.11.0
@@ -1594,7 +1597,7 @@ packages:
'@parcel/core': 2.11.0
'@parcel/namer-default': 2.11.0
'@parcel/optimizer-css': 2.11.0
- '@parcel/optimizer-htmlnano': 2.11.0(postcss@8.4.33)(typescript@5.3.3)
+ '@parcel/optimizer-htmlnano': 2.11.0(postcss@8.4.35)(typescript@5.3.3)
'@parcel/optimizer-image': 2.11.0(@parcel/core@2.11.0)
'@parcel/optimizer-svgo': 2.11.0
'@parcel/optimizer-swc': 2.11.0
@@ -1754,12 +1757,12 @@ packages:
- '@parcel/core'
dev: true
- /@parcel/optimizer-htmlnano@2.11.0(postcss@8.4.33)(typescript@5.3.3):
+ /@parcel/optimizer-htmlnano@2.11.0(postcss@8.4.35)(typescript@5.3.3):
resolution: {integrity: sha512-c20pz4EFF5DNFmqYgptlIj49eT6xjGLkDTdHH3RRzxKovuSXWfYSPs3GED3ZsjVuQyjNQif+/MAk9547F7hrdQ==}
engines: {node: '>= 12.0.0', parcel: ^2.11.0}
dependencies:
'@parcel/plugin': 2.11.0
- htmlnano: 2.1.0(postcss@8.4.33)(svgo@2.8.0)(typescript@5.3.3)
+ htmlnano: 2.1.0(postcss@8.4.35)(svgo@2.8.0)(typescript@5.3.3)
nullthrows: 1.1.1
posthtml: 0.16.6
svgo: 2.8.0
@@ -2603,6 +2606,12 @@ packages:
dependencies:
tslib: 2.6.2
+ /@swc/helpers@0.5.6:
+ resolution: {integrity: sha512-aYX01Ke9hunpoCexYAgQucEpARGQ5w/cqHFrIR+e9gdKb1QWTsVJuTJ2ozQzIAxLyRQe/m+2RqzkyOOGiMKRQA==}
+ dependencies:
+ tslib: 2.6.2
+ dev: false
+
/@swc/types@0.1.5:
resolution: {integrity: sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==}
dev: true
@@ -2630,7 +2639,7 @@ packages:
/@types/keyv@3.1.4:
resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==}
dependencies:
- '@types/node': 18.19.8
+ '@types/node': 18.19.14
dev: true
/@types/lodash.groupby@4.6.9:
@@ -2647,8 +2656,8 @@ packages:
resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==}
dev: true
- /@types/node@18.19.8:
- resolution: {integrity: sha512-g1pZtPhsvGVTwmeVoexWZLTQaOvXwoSq//pTL0DHeNzUDrFnir4fgETdhjhIxjVnN+hKOuh98+E1eMLnUXstFg==}
+ /@types/node@18.19.14:
+ resolution: {integrity: sha512-EnQ4Us2rmOS64nHDWr0XqAD8DsO6f3XR6lf9UIIrZQpUzPVdN/oPuEzfDWNHSyXLvoGgjuEm/sPwFGSSs35Wtg==}
dependencies:
undici-types: 5.26.5
dev: true
@@ -2660,13 +2669,13 @@ packages:
/@types/resolve@1.17.1:
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
dependencies:
- '@types/node': 18.19.8
+ '@types/node': 18.19.14
dev: true
/@types/responselike@1.0.3:
resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==}
dependencies:
- '@types/node': 18.19.8
+ '@types/node': 18.19.14
dev: true
/@types/semver@7.5.6:
@@ -2677,8 +2686,8 @@ packages:
resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
dev: true
- /@typescript-eslint/eslint-plugin@6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3):
- resolution: {integrity: sha512-DUCUkQNklCQYnrBSSikjVChdc84/vMPDQSgJTHBZ64G9bA9w0Crc0rd2diujKbTdp6w2J47qkeHQLoi0rpLCdg==}
+ /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3):
+ resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
'@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha
@@ -2689,11 +2698,11 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.10.0
- '@typescript-eslint/parser': 6.19.0(eslint@8.56.0)(typescript@5.3.3)
- '@typescript-eslint/scope-manager': 6.19.0
- '@typescript-eslint/type-utils': 6.19.0(eslint@8.56.0)(typescript@5.3.3)
- '@typescript-eslint/utils': 6.19.0(eslint@8.56.0)(typescript@5.3.3)
- '@typescript-eslint/visitor-keys': 6.19.0
+ '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
+ '@typescript-eslint/scope-manager': 6.21.0
+ '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
+ '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
+ '@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4
eslint: 8.56.0
graphemer: 1.4.0
@@ -2706,8 +2715,8 @@ packages:
- supports-color
dev: true
- /@typescript-eslint/parser@6.19.0(eslint@8.56.0)(typescript@5.3.3):
- resolution: {integrity: sha512-1DyBLG5SH7PYCd00QlroiW60YJ4rWMuUGa/JBV0iZuqi4l4IK3twKPq5ZkEebmGqRjXWVgsUzfd3+nZveewgow==}
+ /@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.3.3):
+ resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
@@ -2716,10 +2725,10 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/scope-manager': 6.19.0
- '@typescript-eslint/types': 6.19.0
- '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3)
- '@typescript-eslint/visitor-keys': 6.19.0
+ '@typescript-eslint/scope-manager': 6.21.0
+ '@typescript-eslint/types': 6.21.0
+ '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3)
+ '@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4
eslint: 8.56.0
typescript: 5.3.3
@@ -2727,16 +2736,16 @@ packages:
- supports-color
dev: true
- /@typescript-eslint/scope-manager@6.19.0:
- resolution: {integrity: sha512-dO1XMhV2ehBI6QN8Ufi7I10wmUovmLU0Oru3n5LVlM2JuzB4M+dVphCPLkVpKvGij2j/pHBWuJ9piuXx+BhzxQ==}
+ /@typescript-eslint/scope-manager@6.21.0:
+ resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==}
engines: {node: ^16.0.0 || >=18.0.0}
dependencies:
- '@typescript-eslint/types': 6.19.0
- '@typescript-eslint/visitor-keys': 6.19.0
+ '@typescript-eslint/types': 6.21.0
+ '@typescript-eslint/visitor-keys': 6.21.0
dev: true
- /@typescript-eslint/type-utils@6.19.0(eslint@8.56.0)(typescript@5.3.3):
- resolution: {integrity: sha512-mcvS6WSWbjiSxKCwBcXtOM5pRkPQ6kcDds/juxcy/727IQr3xMEcwr/YLHW2A2+Fp5ql6khjbKBzOyjuPqGi/w==}
+ /@typescript-eslint/type-utils@6.21.0(eslint@8.56.0)(typescript@5.3.3):
+ resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
@@ -2745,8 +2754,8 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3)
- '@typescript-eslint/utils': 6.19.0(eslint@8.56.0)(typescript@5.3.3)
+ '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3)
+ '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
debug: 4.3.4
eslint: 8.56.0
ts-api-utils: 1.0.3(typescript@5.3.3)
@@ -2755,13 +2764,13 @@ packages:
- supports-color
dev: true
- /@typescript-eslint/types@6.19.0:
- resolution: {integrity: sha512-lFviGV/vYhOy3m8BJ/nAKoAyNhInTdXpftonhWle66XHAtT1ouBlkjL496b5H5hb8dWXHwtypTqgtb/DEa+j5A==}
+ /@typescript-eslint/types@6.21.0:
+ resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==}
engines: {node: ^16.0.0 || >=18.0.0}
dev: true
- /@typescript-eslint/typescript-estree@6.19.0(typescript@5.3.3):
- resolution: {integrity: sha512-o/zefXIbbLBZ8YJ51NlkSAt2BamrK6XOmuxSR3hynMIzzyMY33KuJ9vuMdFSXW+H0tVvdF9qBPTHA91HDb4BIQ==}
+ /@typescript-eslint/typescript-estree@6.21.0(typescript@5.3.3):
+ resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
typescript: '*'
@@ -2769,8 +2778,8 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/types': 6.19.0
- '@typescript-eslint/visitor-keys': 6.19.0
+ '@typescript-eslint/types': 6.21.0
+ '@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@@ -2782,8 +2791,8 @@ packages:
- supports-color
dev: true
- /@typescript-eslint/utils@6.19.0(eslint@8.56.0)(typescript@5.3.3):
- resolution: {integrity: sha512-QR41YXySiuN++/dC9UArYOg4X86OAYP83OWTewpVx5ct1IZhjjgTLocj7QNxGhWoTqknsgpl7L+hGygCO+sdYw==}
+ /@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.3.3):
+ resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
@@ -2791,9 +2800,9 @@ packages:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
'@types/json-schema': 7.0.15
'@types/semver': 7.5.6
- '@typescript-eslint/scope-manager': 6.19.0
- '@typescript-eslint/types': 6.19.0
- '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3)
+ '@typescript-eslint/scope-manager': 6.21.0
+ '@typescript-eslint/types': 6.21.0
+ '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3)
eslint: 8.56.0
semver: 7.5.4
transitivePeerDependencies:
@@ -2801,11 +2810,11 @@ packages:
- typescript
dev: true
- /@typescript-eslint/visitor-keys@6.19.0:
- resolution: {integrity: sha512-hZaUCORLgubBvtGpp1JEFEazcuEdfxta9j4iUwdSAr7mEsYYAp3EAUyCZk3VEEqGj6W+AV4uWyrDGtrlawAsgQ==}
+ /@typescript-eslint/visitor-keys@6.21.0:
+ resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==}
engines: {node: ^16.0.0 || >=18.0.0}
dependencies:
- '@typescript-eslint/types': 6.19.0
+ '@typescript-eslint/types': 6.21.0
eslint-visitor-keys: 3.4.3
dev: true
@@ -3021,8 +3030,8 @@ packages:
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
dev: true
- /boot-cell@2.0.0-beta.9(typescript@5.3.3):
- resolution: {integrity: sha512-RLxcNLyH0lH2J59ibOHJeE4NMye/qeos4TlMyD8o84efzgUQ7ZsnGj0aNAp3uYEn8uWLtmbG3kSjqSKhJvTSxg==}
+ /boot-cell@2.0.0-beta.18(typescript@5.3.3):
+ resolution: {integrity: sha512-4lhqxn2xDjxHKL2A2Ij+zOZUHaiGTBE2jkPsOESdL3QDmDBxCMSllngNxky/tKxx7hcHFw0ZHqCpH3SK6Q4Mvg==}
peerDependencies:
'@fortawesome/fontawesome-free': ^6
'@nuintun/qrcode': ^3
@@ -3032,12 +3041,12 @@ packages:
iterable-observer: ^1
share-api-polyfill: ^1
dependencies:
- '@swc/helpers': 0.5.3
+ '@swc/helpers': 0.5.6
classnames: 2.5.1
- dom-renderer: 2.0.6(typescript@5.3.3)
+ dom-renderer: 2.1.1(typescript@5.3.3)
mobx: 6.12.0
regenerator-runtime: 0.14.1
- web-cell: 3.0.0-rc.8(typescript@5.3.3)
+ web-cell: 3.0.0-rc.14(typescript@5.3.3)
web-utility: 4.1.3(typescript@5.3.3)
transitivePeerDependencies:
- '@webcomponents/webcomponentsjs'
@@ -3160,11 +3169,11 @@ packages:
resolution: {integrity: sha512-+HZ7a6gmpakTAFjw9atPjnG0ZDTxgR9v8l0r2o7SHVqVrUC8ySV1tBxbo7+5G+NAFczYyIf0w65EW2z8exOWHw==}
dependencies:
'@swc/helpers': 0.5.3
- dom-renderer: 2.0.6(typescript@5.3.3)
+ dom-renderer: 2.1.1(typescript@5.3.3)
mobx: 6.12.0
regenerator-runtime: 0.14.1
urlpattern-polyfill: 9.0.0
- web-cell: 3.0.0-rc.8(typescript@5.3.3)
+ web-cell: 3.0.0-rc.14(typescript@5.3.3)
web-utility: 4.1.3(typescript@5.3.3)
transitivePeerDependencies:
- '@webcomponents/webcomponentsjs'
@@ -3537,8 +3546,8 @@ packages:
esutils: 2.0.3
dev: true
- /dom-renderer@2.0.6(typescript@5.3.3):
- resolution: {integrity: sha512-gsf0N9EY1ambqrg8/eOeGwbifqxyJ9vQN8zWDdmj88dYsvwxv2kSV34T6Nt8fu0kYrwUsYadb4tdFjTrPRM7vw==}
+ /dom-renderer@2.1.1(typescript@5.3.3):
+ resolution: {integrity: sha512-cRxYnhpKyBj5tHl85T0pbdHAo0QCe3WSJs5y+x8P0AZTFikKE98hZIORUR+dsoVK61Hs+hWlMBO/fV9NVQ30sg==}
dependencies:
tslib: 2.6.2
web-utility: 4.1.3(typescript@5.3.3)
@@ -4214,7 +4223,7 @@ packages:
resolution: {integrity: sha512-9gux8QhvjRO/erSnDPv28noDZcPZmYE7e1vFsBLKLlRlKDSqNJYebj6Qz1TGd5lsRV+X+xYyjCKjuZdABinWjA==}
dev: false
- /htmlnano@2.1.0(postcss@8.4.33)(svgo@2.8.0)(typescript@5.3.3):
+ /htmlnano@2.1.0(postcss@8.4.35)(svgo@2.8.0)(typescript@5.3.3):
resolution: {integrity: sha512-jVGRE0Ep9byMBKEu0Vxgl8dhXYOUk0iNQ2pjsG+BcRB0u0oDF5A9p/iBGMg/PGKYUyMD0OAGu8dVT5Lzj8S58g==}
peerDependencies:
cssnano: ^6.0.0
@@ -4244,7 +4253,7 @@ packages:
optional: true
dependencies:
cosmiconfig: 8.3.6(typescript@5.3.3)
- postcss: 8.4.33
+ postcss: 8.4.35
posthtml: 0.16.6
svgo: 2.8.0
timsort: 0.3.0
@@ -4270,9 +4279,9 @@ packages:
engines: {node: '>=16.17.0'}
dev: true
- /husky@8.0.3:
- resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==}
- engines: {node: '>=14'}
+ /husky@9.0.10:
+ resolution: {integrity: sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==}
+ engines: {node: '>=18'}
hasBin: true
dev: true
@@ -4296,13 +4305,13 @@ packages:
resolution: {integrity: sha512-chIaY3Vh2mh2Q3RGXttaDIzeiPvaVXJ+C4DAh/w3c37SKZ/U6PGMmuicR2EQQp9bKG8zLMCl7I+PtIoOOPp8Gg==}
dev: true
- /icss-utils@5.1.0(postcss@8.4.33):
+ /icss-utils@5.1.0(postcss@8.4.35):
resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==}
engines: {node: ^10 || ^12 || >= 14}
peerDependencies:
postcss: ^8.1.0
dependencies:
- postcss: 8.4.33
+ postcss: 8.4.35
dev: true
/idb@7.1.1:
@@ -4630,7 +4639,7 @@ packages:
/iterable-observer@1.0.1:
resolution: {integrity: sha512-qy2Kuf1drKVmWgWaRsqdM8EHanAW4xS37j1nFdVP07qiN0Mj4D5sl9dYA8mZJdX/d3De4bhZoFuVWXvcOM1usg==}
dependencies:
- '@swc/helpers': 0.5.3
+ '@swc/helpers': 0.5.6
dev: false
/jake@10.8.7:
@@ -4648,7 +4657,7 @@ packages:
resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==}
engines: {node: '>= 10.13.0'}
dependencies:
- '@types/node': 18.19.8
+ '@types/node': 18.19.14
merge-stream: 2.0.0
supports-color: 7.2.0
dev: true
@@ -4897,8 +4906,8 @@ packages:
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
dev: true
- /lint-staged@15.2.0:
- resolution: {integrity: sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==}
+ /lint-staged@15.2.2:
+ resolution: {integrity: sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==}
engines: {node: '>=18.12.0'}
hasBin: true
dependencies:
@@ -4907,7 +4916,7 @@ packages:
debug: 4.3.4
execa: 8.0.1
lilconfig: 3.0.0
- listr2: 8.0.0
+ listr2: 8.0.1
micromatch: 4.0.5
pidtree: 0.6.0
string-argv: 0.3.2
@@ -4916,8 +4925,8 @@ packages:
- supports-color
dev: true
- /listr2@8.0.0:
- resolution: {integrity: sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==}
+ /listr2@8.0.1:
+ resolution: {integrity: sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==}
engines: {node: '>=18.0.0'}
dependencies:
cli-truncate: 4.0.0
@@ -5065,8 +5074,8 @@ packages:
engines: {node: '>=8'}
dev: true
- /marked@11.1.1:
- resolution: {integrity: sha512-EgxRjgK9axsQuUa/oKMx5DEY8oXpKJfk61rT5iY3aRlgU6QJtUcxU5OAymdhCvWvhYcd9FKmO5eQoX8m9VGJXg==}
+ /marked@12.0.0:
+ resolution: {integrity: sha512-Vkwtq9rLqXryZnWaQc86+FHLC6tr/fycMfYAhiOIXkrNmeGAyhSxjqu0Rs1i0bBqw5u0S7+lV9fdH2ZSVaoa0w==}
engines: {node: '>= 18'}
hasBin: true
dev: false
@@ -5421,7 +5430,7 @@ packages:
semver: 6.3.1
dev: true
- /parcel@2.11.0(postcss@8.4.33)(typescript@5.3.3):
+ /parcel@2.11.0(postcss@8.4.35)(typescript@5.3.3):
resolution: {integrity: sha512-H/RI1/DmuOkL8RuG/EpNPvtzrbF+7jA/R56ydEEm+lqFbYktKB4COR7JXdHkZXRgbSJyimrFB8d0r9+SaRnj0Q==}
engines: {node: '>= 12.0.0'}
hasBin: true
@@ -5429,7 +5438,7 @@ packages:
'@parcel/core':
optional: true
dependencies:
- '@parcel/config-default': 2.11.0(@parcel/core@2.11.0)(postcss@8.4.33)(typescript@5.3.3)
+ '@parcel/config-default': 2.11.0(@parcel/core@2.11.0)(postcss@8.4.35)(typescript@5.3.3)
'@parcel/core': 2.11.0
'@parcel/diagnostic': 2.11.0
'@parcel/events': 2.11.0
@@ -5528,48 +5537,48 @@ packages:
dev: true
optional: true
- /postcss-modules-extract-imports@3.0.0(postcss@8.4.33):
+ /postcss-modules-extract-imports@3.0.0(postcss@8.4.35):
resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==}
engines: {node: ^10 || ^12 || >= 14}
peerDependencies:
postcss: ^8.1.0
dependencies:
- postcss: 8.4.33
+ postcss: 8.4.35
dev: true
- /postcss-modules-local-by-default@4.0.4(postcss@8.4.33):
+ /postcss-modules-local-by-default@4.0.4(postcss@8.4.35):
resolution: {integrity: sha512-L4QzMnOdVwRm1Qb8m4x8jsZzKAaPAgrUF1r/hjDR2Xj7R+8Zsf97jAlSQzWtKx5YNiNGN8QxmPFIc/sh+RQl+Q==}
engines: {node: ^10 || ^12 || >= 14}
peerDependencies:
postcss: ^8.1.0
dependencies:
- icss-utils: 5.1.0(postcss@8.4.33)
- postcss: 8.4.33
+ icss-utils: 5.1.0(postcss@8.4.35)
+ postcss: 8.4.35
postcss-selector-parser: 6.0.15
postcss-value-parser: 4.2.0
dev: true
- /postcss-modules-scope@3.1.1(postcss@8.4.33):
+ /postcss-modules-scope@3.1.1(postcss@8.4.35):
resolution: {integrity: sha512-uZgqzdTleelWjzJY+Fhti6F3C9iF1JR/dODLs/JDefozYcKTBCdD8BIl6nNPbTbcLnGrk56hzwZC2DaGNvYjzA==}
engines: {node: ^10 || ^12 || >= 14}
peerDependencies:
postcss: ^8.1.0
dependencies:
- postcss: 8.4.33
+ postcss: 8.4.35
postcss-selector-parser: 6.0.15
dev: true
- /postcss-modules-values@4.0.0(postcss@8.4.33):
+ /postcss-modules-values@4.0.0(postcss@8.4.35):
resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==}
engines: {node: ^10 || ^12 || >= 14}
peerDependencies:
postcss: ^8.1.0
dependencies:
- icss-utils: 5.1.0(postcss@8.4.33)
- postcss: 8.4.33
+ icss-utils: 5.1.0(postcss@8.4.35)
+ postcss: 8.4.35
dev: true
- /postcss-modules@4.3.1(postcss@8.4.33):
+ /postcss-modules@4.3.1(postcss@8.4.35):
resolution: {integrity: sha512-ItUhSUxBBdNamkT3KzIZwYNNRFKmkJrofvC2nWab3CPKhYBQ1f27XXh1PAPE27Psx58jeelPsxWB/+og+KEH0Q==}
peerDependencies:
postcss: ^8.0.0
@@ -5577,11 +5586,11 @@ packages:
generic-names: 4.0.0
icss-replace-symbols: 1.1.0
lodash.camelcase: 4.3.0
- postcss: 8.4.33
- postcss-modules-extract-imports: 3.0.0(postcss@8.4.33)
- postcss-modules-local-by-default: 4.0.4(postcss@8.4.33)
- postcss-modules-scope: 3.1.1(postcss@8.4.33)
- postcss-modules-values: 4.0.0(postcss@8.4.33)
+ postcss: 8.4.35
+ postcss-modules-extract-imports: 3.0.0(postcss@8.4.35)
+ postcss-modules-local-by-default: 4.0.4(postcss@8.4.35)
+ postcss-modules-scope: 3.1.1(postcss@8.4.35)
+ postcss-modules-values: 4.0.0(postcss@8.4.35)
string-hash: 1.1.3
dev: true
@@ -5597,8 +5606,8 @@ packages:
resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
dev: true
- /postcss@8.4.33:
- resolution: {integrity: sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==}
+ /postcss@8.4.35:
+ resolution: {integrity: sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
nanoid: 3.3.7
@@ -5645,8 +5654,8 @@ packages:
engines: {node: '>=4'}
dev: true
- /prettier@3.2.4:
- resolution: {integrity: sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==}
+ /prettier@3.2.5:
+ resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==}
engines: {node: '>=14'}
hasBin: true
dev: true
@@ -5656,6 +5665,11 @@ packages:
engines: {node: '>=6'}
dev: true
+ /process@0.11.10:
+ resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==}
+ engines: {node: '>= 0.6.0'}
+ dev: true
+
/prr@1.0.1:
resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==}
requiresBuild: true
@@ -6581,16 +6595,16 @@ packages:
resolution: {integrity: sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==}
dev: true
- /web-cell@3.0.0-rc.8(typescript@5.3.3):
- resolution: {integrity: sha512-oxgBKP9nv7LFKRQmUBoltxVTlcBPatCvSlsUEaV31GA4tG5OT1e718HDZRrk3bSUfFL8KA6WR/i7wSxZohE20g==}
+ /web-cell@3.0.0-rc.14(typescript@5.3.3):
+ resolution: {integrity: sha512-+KVngcIZRVVggtkFaZn+c4aQ58JiQsP4P/B0FJ1oAnYkvuCaClzf5gDSPbnW7s7JXjPat+e/8kbXfxJG0DGKTg==}
peerDependencies:
'@webcomponents/webcomponentsjs': ^2.8
core-js: ^3
element-internals-polyfill: ^1
jsdom: '>=21'
dependencies:
- '@swc/helpers': 0.5.3
- dom-renderer: 2.0.6(typescript@5.3.3)
+ '@swc/helpers': 0.5.6
+ dom-renderer: 2.1.1(typescript@5.3.3)
mobx: 6.12.0
regenerator-runtime: 0.14.1
web-utility: 4.1.3(typescript@5.3.3)
diff --git a/source/component/SessionBox.tsx b/source/component/SessionBox.tsx
index 5694369..a7454cd 100644
--- a/source/component/SessionBox.tsx
+++ b/source/component/SessionBox.tsx
@@ -1,15 +1,17 @@
-import { attribute, component, observer } from 'web-cell';
+import { WebCell, attribute, component, observer } from 'web-cell';
import { observable } from 'mobx';
import { InputGroup, FormControl, Button } from 'boot-cell';
import { session } from '../model';
+export interface SessionBox extends WebCell {}
+
@component({
tagName: 'session-box',
mode: 'open'
})
@observer
-export class SessionBox extends HTMLElement {
+export class SessionBox extends HTMLElement implements WebCell {
@attribute
@observable
accessor countDown = 0;
diff --git a/source/page/2017/index.tsx b/source/page/2017/index.tsx
index 6ddcbb6..04c0b9a 100644
--- a/source/page/2017/index.tsx
+++ b/source/page/2017/index.tsx
@@ -111,7 +111,7 @@ export const Page2017: FC = props => (
提供 海报、Logo 设计
-
+