Compare commits
45
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce795582f9 | ||
|
|
bd87e5acf5 | ||
|
|
9081891d8f | ||
|
|
9b6d43253e | ||
|
|
321892bfac | ||
|
|
7daa0802cc | ||
|
|
84c6359583 | ||
|
|
fbdf3f5382 | ||
|
|
6fd871ef1f | ||
|
|
8b1cddea55 | ||
|
|
0abcc7ae1b | ||
|
|
6f8c14e8fb | ||
|
|
69512a4f1d | ||
|
|
02bf7bcc04 | ||
|
|
d83ba051d5 | ||
|
|
40a8d02cd7 | ||
|
|
ca18d3b9e2 | ||
|
|
b12f1b62d4 | ||
|
|
ede6157582 | ||
|
|
4bd9933a87 | ||
|
|
5c5e97faae | ||
|
|
dd7f0b5df7 | ||
|
|
5032906d91 | ||
|
|
4300e901ab | ||
|
|
6a0e162596 | ||
|
|
603bd9f108 | ||
|
|
41e94c8bcb | ||
|
|
765f3e1f8a | ||
|
|
fb48f64ed8 | ||
|
|
5ae0684d39 | ||
|
|
ea9a50a2f7 | ||
|
|
5e60b5ad20 | ||
|
|
f811facff8 | ||
|
|
db9ecb4773 | ||
|
|
51801f67f9 | ||
|
|
fe41547ced | ||
|
|
e87068e379 | ||
|
|
cc856c3402 | ||
|
|
b24f3bb656 | ||
|
|
cf2f48c84c | ||
|
|
0f5f3b2fc5 | ||
|
|
3a40b06354 | ||
|
|
117d3a2029 | ||
|
|
478091b0ba | ||
|
|
08b3b06089 |
@@ -131,11 +131,11 @@ npm-run-%: node_modules ## npm run (script)
|
||||
|
||||
.PHONY: docker-compose-up
|
||||
docker-compose-up: ## docker compose up
|
||||
$(DOCKER) compose up -d
|
||||
$(DOCKER) compose up -d --wait --no-recreate
|
||||
|
||||
.PHONY: docker-compose-up-%
|
||||
docker-compose-up-%: ## docker compose up (container)
|
||||
$(DOCKER) compose up -d $*
|
||||
$(DOCKER) compose up -d --wait --no-recreate $*
|
||||
|
||||
.PHONY: docker-compose-down
|
||||
docker-compose-down: ## docker compose down
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
> A shareable task list with auto resetting items.
|
||||
|
||||

|
||||
|
||||
**[todo.klemek.fr](https://todo.klemek.fr)**
|
||||
|
||||
## Running your own
|
||||
|
||||
@@ -5,9 +5,6 @@ import tortoise.validators
|
||||
|
||||
from app.models.base import AbstractModel
|
||||
|
||||
# https://stackoverflow.com/a/57639657
|
||||
CRONTAB_REGEX = r"^(@(annually|yearly|monthly|weekly|daily|hourly|reboot))|(@every (\d+(ns|us|µs|ms|s|m|h))+)|((((\d+,)+\d+|(\d+(\/|-)\d+)|\d+|\*) ?){5,7})$"
|
||||
|
||||
|
||||
class Task(AbstractModel):
|
||||
list_name = tortoise.fields.CharField(max_length=128, db_index=True, null=False)
|
||||
@@ -15,7 +12,6 @@ class Task(AbstractModel):
|
||||
reset_cron = tortoise.fields.CharField(
|
||||
max_length=64,
|
||||
null=True,
|
||||
validators=[tortoise.validators.RegexValidator(CRONTAB_REGEX, 0)],
|
||||
)
|
||||
check_date = tortoise.fields.DatetimeField(null=True)
|
||||
previous_check_date = tortoise.fields.DatetimeField(null=True)
|
||||
|
||||
@@ -6,6 +6,7 @@ import flask_limiter
|
||||
import flask_limiter.util
|
||||
import gunicorn.app.base
|
||||
import tortoise
|
||||
from tortoise.functions import Count
|
||||
|
||||
from app import PKG_NAME
|
||||
from app.lang import get_lang
|
||||
@@ -56,6 +57,18 @@ class Server(gunicorn.app.base.BaseApplication):
|
||||
lang=lambda key: get_lang(locale, key),
|
||||
)
|
||||
|
||||
@self.app.route("/api/meta", methods=["GET"])
|
||||
async def metadata() -> dict:
|
||||
return {
|
||||
"tasks": await Task.all().count(),
|
||||
"lists": (
|
||||
await Task.all()
|
||||
.annotate(count=Count("list_name", distinct=True))
|
||||
.first()
|
||||
.values("count")
|
||||
)["count"],
|
||||
}
|
||||
|
||||
@self.app.route("/api/lists/<list_name>/tasks", methods=["GET"])
|
||||
async def get_tasks(list_name: str) -> list:
|
||||
return await Task.filter(list_name=list_name[:128]).values()
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"lockfileVersion": 1,
|
||||
"configVersion": 0,
|
||||
"workspaces": {
|
||||
"": {
|
||||
"name": "tout-doux",
|
||||
"dependencies": {
|
||||
"@lucide/vue": "^1.24.0",
|
||||
"@lucide/vue": "^1.25.0",
|
||||
"cron-parser": "^5.6.2",
|
||||
"date-fns": "^4.4.0",
|
||||
"pinia": "^3.0.4",
|
||||
"random-word-slugs": "^0.1.7",
|
||||
"vue": "^3.5.39",
|
||||
"rrule": "^2.8.1",
|
||||
"vue": "^3.5.40",
|
||||
"vue-i18n": "^11.4.6",
|
||||
"vue-router": "^5.1.0",
|
||||
"vue-router": "^5.2.0",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.2",
|
||||
"@tailwindcss/vite": "^4.3.3",
|
||||
"@tsconfig/node24": "^24.0.4",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitejs/plugin-vue": "^6.0.8",
|
||||
@@ -30,9 +30,9 @@
|
||||
"npm-run-all2": "^8.0.4",
|
||||
"oxlint": "^1.74.0",
|
||||
"sass-embedded": "^1.100.0",
|
||||
"tailwindcss": "^4.3.2",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"typescript": "~5.9.3",
|
||||
"vite": "^8.1.4",
|
||||
"vite": "^8.1.5",
|
||||
"vite-plugin-vue-devtools": "^8.1.5",
|
||||
"vue-tsc": "^3.3.7",
|
||||
},
|
||||
@@ -156,7 +156,7 @@
|
||||
|
||||
"@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
|
||||
|
||||
"@lucide/vue": ["@lucide/vue@1.24.0", "", { "peerDependencies": { "vue": ">=3.0.1" } }, "sha512-5bNPX0G2YEWdUlBYk7pE8SgDg/f1mkIFpJ9vtE44pW/cwRz7Ioc0tOTESoVJAPvxIELSmYekX+XXIJMjsswNIg=="],
|
||||
"@lucide/vue": ["@lucide/vue@1.25.0", "", { "peerDependencies": { "vue": ">=3.0.1" } }, "sha512-hkEetV+v48ScIn3uwqwWQ66sI8foeP2q6OMI09GzLFH4SfvBlfe3JHYlMBdBCqFC7WRlhFsndyDn/awRKRc2OQ=="],
|
||||
|
||||
"@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.6", "", { "dependencies": { "@tybys/wasm-util": "^0.10.3" }, "peerDependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1" } }, "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg=="],
|
||||
|
||||
@@ -270,35 +270,35 @@
|
||||
|
||||
"@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.1", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="],
|
||||
|
||||
"@tailwindcss/node": ["@tailwindcss/node@4.3.2", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "enhanced-resolve": "5.21.6", "jiti": "^2.7.0", "lightningcss": "1.32.0", "magic-string": "^0.30.21", "source-map-js": "^1.2.1", "tailwindcss": "4.3.2" } }, "sha512-yWP/sqEcBLaD8JuA6zNwxoYKr75qxTioYwlRwekj5Jr/I5GXnoJfjetH/psLUIv74cYTH2lBUEzBkinthoYcBg=="],
|
||||
"@tailwindcss/node": ["@tailwindcss/node@4.3.3", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "enhanced-resolve": "^5.24.1", "jiti": "^2.7.0", "lightningcss": "1.32.0", "magic-string": "^0.30.21", "source-map-js": "^1.2.1", "tailwindcss": "4.3.3" } }, "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg=="],
|
||||
|
||||
"@tailwindcss/oxide": ["@tailwindcss/oxide@4.3.2", "", { "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "4.3.2", "@tailwindcss/oxide-darwin-arm64": "4.3.2", "@tailwindcss/oxide-darwin-x64": "4.3.2", "@tailwindcss/oxide-freebsd-x64": "4.3.2", "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.2", "@tailwindcss/oxide-linux-arm64-gnu": "4.3.2", "@tailwindcss/oxide-linux-arm64-musl": "4.3.2", "@tailwindcss/oxide-linux-x64-gnu": "4.3.2", "@tailwindcss/oxide-linux-x64-musl": "4.3.2", "@tailwindcss/oxide-wasm32-wasi": "4.3.2", "@tailwindcss/oxide-win32-arm64-msvc": "4.3.2", "@tailwindcss/oxide-win32-x64-msvc": "4.3.2" } }, "sha512-z8ZgnzX8gdNoWLBLqBPoh/sjnxkwvf9ZuWjnO0l0yIzbLa5/9S+eC5QxGZKRobVHIC3/1BoMWjHblqWjcgFgag=="],
|
||||
"@tailwindcss/oxide": ["@tailwindcss/oxide@4.3.3", "", { "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "4.3.3", "@tailwindcss/oxide-darwin-arm64": "4.3.3", "@tailwindcss/oxide-darwin-x64": "4.3.3", "@tailwindcss/oxide-freebsd-x64": "4.3.3", "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", "@tailwindcss/oxide-linux-x64-musl": "4.3.3", "@tailwindcss/oxide-wasm32-wasi": "4.3.3", "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" } }, "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA=="],
|
||||
|
||||
"@tailwindcss/oxide-android-arm64": ["@tailwindcss/oxide-android-arm64@4.3.2", "", { "os": "android", "cpu": "arm64" }, "sha512-WHxqIuHpvZ5VtdX6GTl1Ik/Vp2YuN42Et+0CdeaVd/frQ9jAvGmvR8vLT+jk3e8/Q3x8kECB9+R17pgpp2BulA=="],
|
||||
"@tailwindcss/oxide-android-arm64": ["@tailwindcss/oxide-android-arm64@4.3.3", "", { "os": "android", "cpu": "arm64" }, "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw=="],
|
||||
|
||||
"@tailwindcss/oxide-darwin-arm64": ["@tailwindcss/oxide-darwin-arm64@4.3.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-GZypeUY/IDJW3877KeM+O67vbXr3MBnbtEL4aYhNErv/JWZhye2vGSWWG9tB6iiqR2MqRNkY8IOUy4NdSZV26w=="],
|
||||
"@tailwindcss/oxide-darwin-arm64": ["@tailwindcss/oxide-darwin-arm64@4.3.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw=="],
|
||||
|
||||
"@tailwindcss/oxide-darwin-x64": ["@tailwindcss/oxide-darwin-x64@4.3.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-UIIzmefR6KO1sDU7MzRqAxC8iBpft/VhkGjTjnhoS6k7Z3rQ9wEgA1ODSiyH/tcSYssulNm4Ci3hOeK1jH7ccQ=="],
|
||||
"@tailwindcss/oxide-darwin-x64": ["@tailwindcss/oxide-darwin-x64@4.3.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw=="],
|
||||
|
||||
"@tailwindcss/oxide-freebsd-x64": ["@tailwindcss/oxide-freebsd-x64@4.3.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-GN+uAmcI6DNspnCDwtOAZrTz6oukJnp337qZvxqCGLd3BHBzJpO0ZbTLRvJNdztOeAmTzewewGIMPb0tk2R4WA=="],
|
||||
"@tailwindcss/oxide-freebsd-x64": ["@tailwindcss/oxide-freebsd-x64@4.3.3", "", { "os": "freebsd", "cpu": "x64" }, "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw=="],
|
||||
|
||||
"@tailwindcss/oxide-linux-arm-gnueabihf": ["@tailwindcss/oxide-linux-arm-gnueabihf@4.3.2", "", { "os": "linux", "cpu": "arm" }, "sha512-4ABn7qSbdHRwTiDiuWNegCyb5+2FJ4vKIKc3DmKrvAFw7MU1Lm11dIkTPwUaFdTzc7IsOpDbqBrlh0x6y36U/w=="],
|
||||
"@tailwindcss/oxide-linux-arm-gnueabihf": ["@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3", "", { "os": "linux", "cpu": "arm" }, "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ=="],
|
||||
|
||||
"@tailwindcss/oxide-linux-arm64-gnu": ["@tailwindcss/oxide-linux-arm64-gnu@4.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-wDgEIGwoM8w8pufh9LVt1PahDgNdKXrLC2qfAnV3vAmococ9RWbxeAw4pxPttd/TsJfwjyLf90Dg1y9y8I6Emw=="],
|
||||
"@tailwindcss/oxide-linux-arm64-gnu": ["@tailwindcss/oxide-linux-arm64-gnu@4.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w=="],
|
||||
|
||||
"@tailwindcss/oxide-linux-arm64-musl": ["@tailwindcss/oxide-linux-arm64-musl@4.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-J5Nuk0uZQIiMTJj3LEx4sAA9tMFUoXQZFv1J6An+QGYe53HKRJuFDi0rpq/tuouCZeAbOBY3kQ6g8qeD4TUjtA=="],
|
||||
"@tailwindcss/oxide-linux-arm64-musl": ["@tailwindcss/oxide-linux-arm64-musl@4.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA=="],
|
||||
|
||||
"@tailwindcss/oxide-linux-x64-gnu": ["@tailwindcss/oxide-linux-x64-gnu@4.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-kqCZpSKOBEJO4mz7OqWoofBZeXTAwaVGPj0ErAj7CojmhKpWVWVOnrt9dE8odoIraZq4oj3ausM37kXi+Tow8w=="],
|
||||
"@tailwindcss/oxide-linux-x64-gnu": ["@tailwindcss/oxide-linux-x64-gnu@4.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w=="],
|
||||
|
||||
"@tailwindcss/oxide-linux-x64-musl": ["@tailwindcss/oxide-linux-x64-musl@4.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-cixpqbh2toJDmkuCRI68nXA8ZxNmdK9Y+9v5h3MC3ZQKy/0BO8AWzlkWyRM7JAFSGBlfig4YVTPsK6MVgqz1uw=="],
|
||||
"@tailwindcss/oxide-linux-x64-musl": ["@tailwindcss/oxide-linux-x64-musl@4.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img=="],
|
||||
|
||||
"@tailwindcss/oxide-wasm32-wasi": ["@tailwindcss/oxide-wasm32-wasi@4.3.2", "", { "dependencies": { "@emnapi/core": "^1.11.1", "@emnapi/runtime": "^1.11.1", "@emnapi/wasi-threads": "^1.2.2", "@napi-rs/wasm-runtime": "^1.1.4", "@tybys/wasm-util": "^0.10.2", "tslib": "^2.8.1" }, "cpu": "none" }, "sha512-4ec2Z/LOmRsAgU23CS4xeJfcJlmRg94A/XrbGRCF1gyU/zdDfRLYDVsS+ynSZCmGNxQ1jQriQOKMQeQxBA3Isw=="],
|
||||
"@tailwindcss/oxide-wasm32-wasi": ["@tailwindcss/oxide-wasm32-wasi@4.3.3", "", { "dependencies": { "@emnapi/core": "^1.11.1", "@emnapi/runtime": "^1.11.1", "@emnapi/wasi-threads": "^1.2.2", "@napi-rs/wasm-runtime": "^1.1.4", "@tybys/wasm-util": "^0.10.2", "tslib": "^2.8.1" }, "cpu": "none" }, "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ=="],
|
||||
|
||||
"@tailwindcss/oxide-win32-arm64-msvc": ["@tailwindcss/oxide-win32-arm64-msvc@4.3.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-Zyr/M0+XcYZu3bZrUytc7TXvrk0ftWfl8gN2MwekNDzhqhKRUucMPSeOzM0o0wH5AWOU49BsKRrfKxI2atCPMQ=="],
|
||||
"@tailwindcss/oxide-win32-arm64-msvc": ["@tailwindcss/oxide-win32-arm64-msvc@4.3.3", "", { "os": "win32", "cpu": "arm64" }, "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ=="],
|
||||
|
||||
"@tailwindcss/oxide-win32-x64-msvc": ["@tailwindcss/oxide-win32-x64-msvc@4.3.2", "", { "os": "win32", "cpu": "x64" }, "sha512-QI9BO7KlNZsp2GuO0jwAAj5jCDABOKXRkCk2XuKTSaNEFSdfzqswYVTtCHBNKHLsqyjFyFkqlDiwkNbTYSssMQ=="],
|
||||
"@tailwindcss/oxide-win32-x64-msvc": ["@tailwindcss/oxide-win32-x64-msvc@4.3.3", "", { "os": "win32", "cpu": "x64" }, "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw=="],
|
||||
|
||||
"@tailwindcss/vite": ["@tailwindcss/vite@4.3.2", "", { "dependencies": { "@tailwindcss/node": "4.3.2", "@tailwindcss/oxide": "4.3.2", "tailwindcss": "4.3.2" }, "peerDependencies": { "vite": "^5.2.0 || ^6 || ^7 || ^8" } }, "sha512-eHpMeX4JXfVNJDEcsouTeCBubJBTcTLigeaw/NTUW6PB5ATKKXdyonnXgTBX2VuRbjz1hjfz6C5XAhr52ImQXA=="],
|
||||
"@tailwindcss/vite": ["@tailwindcss/vite@4.3.3", "", { "dependencies": { "@tailwindcss/node": "4.3.3", "@tailwindcss/oxide": "4.3.3", "tailwindcss": "4.3.3" }, "peerDependencies": { "vite": "^5.2.0 || ^6 || ^7 || ^8" } }, "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw=="],
|
||||
|
||||
"@tsconfig/node24": ["@tsconfig/node24@24.0.4", "", {}, "sha512-2A933l5P5oCbv6qSxHs7ckKwobs8BDAe9SJ/Xr2Hy+nDlwmLE1GhFh/g/vXGRZWgxBg9nX/5piDtHR9Dkw/XuA=="],
|
||||
|
||||
@@ -348,13 +348,13 @@
|
||||
|
||||
"@vue/babel-plugin-resolve-type": ["@vue/babel-plugin-resolve-type@1.5.0", "", { "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/helper-module-imports": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1", "@babel/parser": "^7.28.0", "@vue/compiler-sfc": "^3.5.18" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-Wm/60o+53JwJODm4Knz47dxJnLDJ9FnKnGZJbUUf8nQRAtt6P+undLUAVU3Ha33LxOJe6IPoifRQ6F/0RrU31w=="],
|
||||
|
||||
"@vue/compiler-core": ["@vue/compiler-core@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.5.39", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-16KBTEXAJCpDr0mwlw+AZyhu8iyC7R3S2vBwsI7QnWJU6X3WKc9VKeNEZpiMdZ569qWhz9574L3vV55qRL0Vtw=="],
|
||||
"@vue/compiler-core": ["@vue/compiler-core@3.5.40", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.5.40", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-39E8IgOhTbVDnoJFMKc2DvYnypcZwUqgUhQkccva/0m6FUwtIKSGV7n1hpVmYcFaoRAwf9pBcwnKlCEsN63ZEQ=="],
|
||||
|
||||
"@vue/compiler-dom": ["@vue/compiler-dom@3.5.39", "", { "dependencies": { "@vue/compiler-core": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-oQPigALqYbNxTNPvNgSOe+czwVExfbVF02lz8jP0S3AXJiu3jxYDygNUiqSep4ezzW8XgnubqH63My2A7JR/vg=="],
|
||||
"@vue/compiler-dom": ["@vue/compiler-dom@3.5.40", "", { "dependencies": { "@vue/compiler-core": "3.5.40", "@vue/shared": "3.5.40" } }, "sha512-pwkx4vqlqOspFstrcmzwkKLePVMD3PT65imRzLhanU2V1Fj4K13g6OXjanOyzw3aTAuRk84BOmY8f3rEHqPaVA=="],
|
||||
|
||||
"@vue/compiler-sfc": ["@vue/compiler-sfc@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-core": "3.5.39", "@vue/compiler-dom": "3.5.39", "@vue/compiler-ssr": "3.5.39", "@vue/shared": "3.5.39", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.15", "source-map-js": "^1.2.1" } }, "sha512-d0ki86iOyN8LoZPBmk5SJWNwHP19CnDDCfuo//+2WJa2g5Ke0Jay983PIBIcSSzldC68I8DrD5GrHV3OSDfodg=="],
|
||||
"@vue/compiler-sfc": ["@vue/compiler-sfc@3.5.40", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-core": "3.5.40", "@vue/compiler-dom": "3.5.40", "@vue/compiler-ssr": "3.5.40", "@vue/shared": "3.5.40", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.19", "source-map-js": "^1.2.1" } }, "sha512-gIf497P4kpuALcvs5n3AEg1Vdn0pSY4XbjASIfHNYF1/MP3T2Mf2STERTubysBxCRxzJGJYtF/O7vwJrxFB3Vw=="],
|
||||
|
||||
"@vue/compiler-ssr": ["@vue/compiler-ssr@3.5.39", "", { "dependencies": { "@vue/compiler-dom": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-Ce7/wvwMHai74bdszfXExdazFigYnlF9zgCmEQUcM1j0fOymlouZ7XilTYNo8oUjhlnjYOZbGrcYKuqjz89Ucw=="],
|
||||
"@vue/compiler-ssr": ["@vue/compiler-ssr@3.5.40", "", { "dependencies": { "@vue/compiler-dom": "3.5.40", "@vue/shared": "3.5.40" } }, "sha512-rrE5xiXG663+vHCHa3J9p2z5OcBRjXmoqenprJxAFQxg5pSshzeBiCE6pu46axapRJ2Adk0YDA2BRZVjiHXnhg=="],
|
||||
|
||||
"@vue/devtools-api": ["@vue/devtools-api@7.7.10", "", { "dependencies": { "@vue/devtools-kit": "^7.7.10" } }, "sha512-KxtEpUOOpFz/qOGRrAwA36QF7DqIA+FXgCYit9mk9wjbaZt0sXOFz81ElOZtKA4HbWHUdwNjZHBFsFFyp5BZiA=="],
|
||||
|
||||
@@ -370,15 +370,15 @@
|
||||
|
||||
"@vue/language-core": ["@vue/language-core@3.3.7", "", { "dependencies": { "@volar/language-core": "2.4.28", "@vue/compiler-dom": "^3.5.0", "@vue/shared": "^3.5.0", "alien-signals": "^3.2.1", "muggle-string": "^0.4.1", "path-browserify": "^1.0.1", "picomatch": "^4.0.4" } }, "sha512-LzmkKinXAMMoh8Jfi/jMUSDUjuPdv8mynH5WJGKfXyZtDw3hQ6GBaoI6Bcnl/Xqlu32q/0Z6i/trp4VXykzyLw=="],
|
||||
|
||||
"@vue/reactivity": ["@vue/reactivity@3.5.39", "", { "dependencies": { "@vue/shared": "3.5.39" } }, "sha512-TpsuBJ9gGlZa5d23XcM2y8EXanz9dZeVDQBXRwzy46ItgvM+rWpzs+UVM0wcRLxGvcav0HE5jz2gNL53xlRAog=="],
|
||||
"@vue/reactivity": ["@vue/reactivity@3.5.40", "", { "dependencies": { "@vue/shared": "3.5.40" } }, "sha512-B7ot9UlUZOi1zbq61/LvE88ZLTV8IlajTdiZTAEiDQgrnIMIZoPr9kGw0Zw46ObW62O9+H/Be3kMbfb7kYPQZA=="],
|
||||
|
||||
"@vue/runtime-core": ["@vue/runtime-core@3.5.39", "", { "dependencies": { "@vue/reactivity": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-9GLtNyRvPAUMbX+7ono0RC2j0guo2LXVi8LvcmAooImACUKm0oFf0jjwbX8/H0AE/t1nxhAkn8RSl9PMCzzxZw=="],
|
||||
"@vue/runtime-core": ["@vue/runtime-core@3.5.40", "", { "dependencies": { "@vue/reactivity": "3.5.40", "@vue/shared": "3.5.40" } }, "sha512-KAZLweuZ6uUJPK1PMSQPgBU5gCjgrrfjUhSglmU9NhH+Zjepa8cnwSydPWDWHDwOgY4g3VcZ+PljbiHlURNCbw=="],
|
||||
|
||||
"@vue/runtime-dom": ["@vue/runtime-dom@3.5.39", "", { "dependencies": { "@vue/reactivity": "3.5.39", "@vue/runtime-core": "3.5.39", "@vue/shared": "3.5.39", "csstype": "^3.2.3" } }, "sha512-7Y6aAGboKcXAZ3ECuUy7RrS5yy2r47dhTp2SKaJmYxjopImaVFaNa5Ne66NwGovsrxVAl5S5rwc7m22UG7Lmww=="],
|
||||
"@vue/runtime-dom": ["@vue/runtime-dom@3.5.40", "", { "dependencies": { "@vue/reactivity": "3.5.40", "@vue/runtime-core": "3.5.40", "@vue/shared": "3.5.40", "csstype": "^3.2.3" } }, "sha512-ZfrX8ssZQds900L9pr8AuK05ddnMsR4MPMZr8cPN9GoqoPWcXLhjvvbIA2SMv+7a97sJ1vv9pj/zxK0Cq/eEFQ=="],
|
||||
|
||||
"@vue/server-renderer": ["@vue/server-renderer@3.5.39", "", { "dependencies": { "@vue/compiler-ssr": "3.5.39", "@vue/shared": "3.5.39" }, "peerDependencies": { "vue": "3.5.39" } }, "sha512-yZSakiAGw85rZfG7UM8akMnIF+FmeiNk47uvHf2nVBBSe+dIKUhZuZq9+XgJhbV3nS5Z4ALH23/MpXofW+mbcw=="],
|
||||
"@vue/server-renderer": ["@vue/server-renderer@3.5.40", "", { "dependencies": { "@vue/compiler-ssr": "3.5.40", "@vue/runtime-dom": "3.5.40", "@vue/shared": "3.5.40" } }, "sha512-XNJym9WpevhTVt1HuwOrCRJ5Q+9z4BjTMrDtjTrvx74SmUll8spNTw6whWJa9mEkO4PKn5TihI/bm/8ds2QVJw=="],
|
||||
|
||||
"@vue/shared": ["@vue/shared@3.5.39", "", {}, "sha512-l1rrBtBfTnmxvtsvdQDXltUUy8S1Y+ZaqdfUzmAnJkTd8Z8rv5v/ytW+TKiqEOWyHPoqtPlNFSs0lhRmYVSHVA=="],
|
||||
"@vue/shared": ["@vue/shared@3.5.40", "", {}, "sha512-WxnBtruIqOoV3rA4jeKDWzrYI5h7Cp4+pjwDi8kWGHz+IslhiN+wguLVVhtv2l8VoU02rzDCVfDjgCl1lNpZVg=="],
|
||||
|
||||
"@vue/tsconfig": ["@vue/tsconfig@0.8.1", "", { "peerDependencies": { "typescript": "5.x", "vue": "^3.4.0" }, "optionalPeers": ["typescript", "vue"] }, "sha512-aK7feIWPXFSUhsCP9PFqPyFOcz4ENkb8hZ2pneL6m2UjCkccvaOhC/5KCKluuBufvp2KzkbdA2W2pk20vLzu3g=="],
|
||||
|
||||
@@ -464,7 +464,7 @@
|
||||
|
||||
"electron-to-chromium": ["electron-to-chromium@1.5.382", "", {}, "sha512-8ETaWbV6SZOrno+G93Ffd9ENsMtetqdnqj4nlfxFW90Sm5GgnuV28Kf62hqQVD6VUgzm7qFQKsTsAPmeUiU3Ug=="],
|
||||
|
||||
"enhanced-resolve": ["enhanced-resolve@5.21.6", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.3" } }, "sha512-aNnGCvbJ/RIyWo1IuhNdVjnNF+EjH9wpzpNHt+ci/m9He9LJvUN8wrCcXjp9cWsGNAuvSpVFTx/vraAFQ8qGjQ=="],
|
||||
"enhanced-resolve": ["enhanced-resolve@5.24.3", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.3" } }, "sha512-PwKooW9JUzh5chmYfHM3IQl5OkK2u2Nm011MgeZrss3JmFraUx/fqrf78kk8GUMYoibx/14MdwTl/1WKkG7TpQ=="],
|
||||
|
||||
"entities": ["entities@7.0.1", "", {}, "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA=="],
|
||||
|
||||
@@ -648,7 +648,7 @@
|
||||
|
||||
"muggle-string": ["muggle-string@0.4.1", "", {}, "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ=="],
|
||||
|
||||
"nanoid": ["nanoid@3.3.15", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA=="],
|
||||
"nanoid": ["nanoid@3.3.16", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q=="],
|
||||
|
||||
"natural-compare": ["natural-compare@1.4.0", "", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="],
|
||||
|
||||
@@ -656,6 +656,8 @@
|
||||
|
||||
"node-releases": ["node-releases@2.0.50", "", {}, "sha512-J6l92tKHX6w8Jy5nO1Vuc01NoIiRGi/d6qBKVxh+IQ8Cr3b6HbVNfKiF8ZpFKufTwpwxMmce2W3iQZ861ZRyTg=="],
|
||||
|
||||
"nostics": ["nostics@1.2.0", "", {}, "sha512-FGqEfhQjrvo1lL8KFifdTQiNwwQHJxC1jtYE1Rc54qF/jxONUNL+kC9gS1krX8Q65PgrQ5fCqH/I4NhWBvdSqg=="],
|
||||
|
||||
"npm-normalize-package-bin": ["npm-normalize-package-bin@4.0.0", "", {}, "sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w=="],
|
||||
|
||||
"npm-run-all2": ["npm-run-all2@8.0.4", "", { "dependencies": { "ansi-styles": "^6.2.1", "cross-spawn": "^7.0.6", "memorystream": "^0.3.1", "picomatch": "^4.0.2", "pidtree": "^0.6.0", "read-package-json-fast": "^4.0.0", "shell-quote": "^1.7.3", "which": "^5.0.0" }, "bin": { "run-p": "bin/run-p/index.js", "run-s": "bin/run-s/index.js", "npm-run-all": "bin/npm-run-all/index.js", "npm-run-all2": "bin/npm-run-all/index.js" } }, "sha512-wdbB5My48XKp2ZfJUlhnLVihzeuA1hgBnqB2J9ahV77wLS+/YAJAlN8I+X3DIFIPZ3m5L7nplmlbhNiFDmXRDA=="],
|
||||
@@ -698,7 +700,7 @@
|
||||
|
||||
"pkg-types": ["pkg-types@2.3.1", "", { "dependencies": { "confbox": "^0.2.4", "exsolve": "^1.0.8", "pathe": "^2.0.3" } }, "sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg=="],
|
||||
|
||||
"postcss": ["postcss@8.5.16", "", { "dependencies": { "nanoid": "^3.3.12", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-vuwillviilfKZsg0VGj5R/YwwcHx4SLsIOI/7K6mQkWx+l5cUHTjj5g0AasTBcyXsbfTgrwsUNmVUb5xVwyPwg=="],
|
||||
"postcss": ["postcss@8.5.20", "", { "dependencies": { "nanoid": "^3.3.16", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-lW616l85ucIQL+FocMmL7pQFPqBmwejrCMg+iPxyImlrANNJG9NHq/RkyCZopDhd8C3LA03PHRJDjkbGu8vvug=="],
|
||||
|
||||
"postcss-selector-parser": ["postcss-selector-parser@6.1.4", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ=="],
|
||||
|
||||
@@ -730,6 +732,8 @@
|
||||
|
||||
"rolldown": ["rolldown@1.1.5", "", { "dependencies": { "@oxc-project/types": "=0.139.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm64": "1.1.5", "@rolldown/binding-darwin-arm64": "1.1.5", "@rolldown/binding-darwin-x64": "1.1.5", "@rolldown/binding-freebsd-x64": "1.1.5", "@rolldown/binding-linux-arm-gnueabihf": "1.1.5", "@rolldown/binding-linux-arm64-gnu": "1.1.5", "@rolldown/binding-linux-arm64-musl": "1.1.5", "@rolldown/binding-linux-ppc64-gnu": "1.1.5", "@rolldown/binding-linux-s390x-gnu": "1.1.5", "@rolldown/binding-linux-x64-gnu": "1.1.5", "@rolldown/binding-linux-x64-musl": "1.1.5", "@rolldown/binding-openharmony-arm64": "1.1.5", "@rolldown/binding-wasm32-wasi": "1.1.5", "@rolldown/binding-win32-arm64-msvc": "1.1.5", "@rolldown/binding-win32-x64-msvc": "1.1.5" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA=="],
|
||||
|
||||
"rrule": ["rrule@2.8.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-hM3dHSBMeaJ0Ktp7W38BJZ7O1zOgaFEsn41PDk+yHoEtfLV+PoJt9E9xAlZiWgf/iqEqionN0ebHFZIDAp+iGw=="],
|
||||
|
||||
"run-applescript": ["run-applescript@7.1.0", "", {}, "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q=="],
|
||||
|
||||
"run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="],
|
||||
@@ -804,7 +808,7 @@
|
||||
|
||||
"synckit": ["synckit@0.11.13", "", { "dependencies": { "@pkgr/core": "^0.3.6" } }, "sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg=="],
|
||||
|
||||
"tailwindcss": ["tailwindcss@4.3.2", "", {}, "sha512-WtctNNSH8A9jlMIqxzuYumOHU5uGZyRv0Q5svQl+oEPy5w84YpBxdb7MdqyiSPQge5jTJ6zFQLq0PFygdccSBA=="],
|
||||
"tailwindcss": ["tailwindcss@4.3.3", "", {}, "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ=="],
|
||||
|
||||
"tapable": ["tapable@2.3.3", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="],
|
||||
|
||||
@@ -840,7 +844,7 @@
|
||||
|
||||
"varint": ["varint@6.0.0", "", {}, "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg=="],
|
||||
|
||||
"vite": ["vite@8.1.4", "", { "dependencies": { "lightningcss": "^1.32.0", "picomatch": "^4.0.5", "postcss": "^8.5.16", "rolldown": "~1.1.4", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.3.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-bTT9PsdWO+MQMNG9ZXIP/qM9wGh37DFxTV/sPq9cFpHr3w4jkgef032PkAL9jAqhk3Nz8NQw3O8n6/xFkqO4QQ=="],
|
||||
"vite": ["vite@8.1.5", "", { "dependencies": { "lightningcss": "^1.32.0", "picomatch": "^4.0.5", "postcss": "^8.5.17", "rolldown": "~1.1.5", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.3.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw=="],
|
||||
|
||||
"vite-dev-rpc": ["vite-dev-rpc@2.0.0", "", { "dependencies": { "birpc": "^4.0.0", "vite-hot-client": "^2.2.0" }, "peerDependencies": { "vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1 || ^7.0.0-0 || ^8.0.0" } }, "sha512-yKwbTwdHKSD2k/aGqyWpPHepo45OQc8lH3/6IfT4ZqeKE26ooKvi4WIEKzqWav8v+9Is8u1k8q54hvOmqASazA=="],
|
||||
|
||||
@@ -854,13 +858,13 @@
|
||||
|
||||
"vscode-uri": ["vscode-uri@3.1.0", "", {}, "sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ=="],
|
||||
|
||||
"vue": ["vue@3.5.39", "", { "dependencies": { "@vue/compiler-dom": "3.5.39", "@vue/compiler-sfc": "3.5.39", "@vue/runtime-dom": "3.5.39", "@vue/server-renderer": "3.5.39", "@vue/shared": "3.5.39" }, "peerDependencies": { "typescript": "*" }, "optionalPeers": ["typescript"] }, "sha512-xmZCYabFGcirU8r0fTuvl/LICc1OU620rnqepaJDL/a141ZigkG7AyaxQLdqJ02ZRYzWe6YPaDHeQx7MfknQfA=="],
|
||||
"vue": ["vue@3.5.40", "", { "dependencies": { "@vue/compiler-dom": "3.5.40", "@vue/compiler-sfc": "3.5.40", "@vue/runtime-dom": "3.5.40", "@vue/server-renderer": "3.5.40", "@vue/shared": "3.5.40" }, "peerDependencies": { "typescript": "*" }, "optionalPeers": ["typescript"] }, "sha512-+8PJ4SJXdn/cHGImF4CKdxlWHIN5Dkt7DoufRREM6h6uVCx2m7QxgcEQmmzyOK8A9mcafg7sFbJFYsdFVubTig=="],
|
||||
|
||||
"vue-eslint-parser": ["vue-eslint-parser@10.4.1", "", { "dependencies": { "debug": "^4.4.0", "eslint-scope": "^8.2.0 || ^9.0.0", "eslint-visitor-keys": "^4.2.0 || ^5.0.0", "espree": "^10.3.0 || ^11.0.0", "esquery": "^1.6.0", "semver": "^7.6.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0" } }, "sha512-Gk6gRDj0n/fkRa3C3l0bBheoBckUq/Rs0F/TvMWIS6nzzx67amAViMe9CkNgsP2tXyQONvGiHQESHwFtZ3aYDA=="],
|
||||
|
||||
"vue-i18n": ["vue-i18n@11.4.6", "", { "dependencies": { "@intlify/core-base": "11.4.6", "@intlify/devtools-types": "11.4.6", "@intlify/shared": "11.4.6", "@vue/devtools-api": "^6.5.0" }, "peerDependencies": { "vue": "^3.0.0" } }, "sha512-l0gE7Rfy0phCa5ChKYkOq543Wgd39BCK6hkktfr1Ed4D99oRkgPK9ffShASZdeC8OJxGfdWmpYoAaAH6iLEuIg=="],
|
||||
|
||||
"vue-router": ["vue-router@5.1.0", "", { "dependencies": { "@babel/generator": "^8.0.0-rc.4", "@vue-macros/common": "^3.1.1", "@vue/devtools-api": "^8.1.2", "ast-walker-scope": "^0.9.0", "chokidar": "^5.0.0", "json5": "^2.2.3", "local-pkg": "^1.1.2", "magic-string": "^0.30.21", "mlly": "^1.8.2", "muggle-string": "^0.4.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "scule": "^1.3.0", "tinyglobby": "^0.2.16", "unplugin": "^3.0.0", "unplugin-utils": "^0.3.1", "yaml": "^2.9.0" }, "peerDependencies": { "@pinia/colada": ">=0.21.2", "@vue/compiler-sfc": "^3.5.34", "pinia": "^3.0.4", "vite": "^7.0.0 || ^8.0.0", "vue": "^3.5.34" }, "optionalPeers": ["@pinia/colada", "@vue/compiler-sfc", "pinia", "vite"] }, "sha512-HAbiLzLEHQwxPgvsbOJDAwtavszEgLwri6XfyrsPECIFez8+59xc9LofWVdc/HEaSRT822lJ8H9Ns38VVond5g=="],
|
||||
"vue-router": ["vue-router@5.2.0", "", { "dependencies": { "@babel/generator": "^8.0.0", "@vue-macros/common": "^3.1.3", "@vue/devtools-api": "^8.1.5", "ast-walker-scope": "^0.9.0", "chokidar": "^5.0.0", "json5": "^2.2.3", "local-pkg": "^1.2.1", "magic-string": "^0.30.21", "mlly": "^1.8.2", "muggle-string": "^0.4.1", "nostics": "^1.1.4", "pathe": "^2.0.3", "picomatch": "^4.0.5", "scule": "^1.3.0", "tinyglobby": "^0.2.17", "unplugin": "^3.3.0", "unplugin-utils": "^0.3.2", "yaml": "^2.9.0" }, "peerDependencies": { "@pinia/colada": ">=0.21.2", "@vue/compiler-sfc": "^3.5.34 || ^4.0.0", "pinia": "^3.0.4 || ^4.0.2", "vite": "^7.3.0 || ^8.0.0", "vue": "^3.5.34 || ^4.0.0" }, "optionalPeers": ["@pinia/colada", "@vue/compiler-sfc", "pinia", "vite"] }, "sha512-QAC5i0LEb1GLG0LXDQmHu8L7FX12j0KwU/JTKmLQUJMrn04gQdKP6Du+p0QwpHb3iy71vBlqnHQ8WAfOSAWhqw=="],
|
||||
|
||||
"vue-tsc": ["vue-tsc@3.3.7", "", { "dependencies": { "@volar/typescript": "2.4.28", "@vue/language-core": "3.3.7" }, "peerDependencies": { "typescript": ">=5.0.0" }, "bin": { "vue-tsc": "bin/vue-tsc.js" } }, "sha512-+C+rgD49wAQ5bUTl2sp5a8Bzg4YoldMNXM+g7CFe604MYcQ8PrZPMQhIjJSzKXtPBCa+C5ayMipqjbA7splekQ=="],
|
||||
|
||||
@@ -936,10 +940,20 @@
|
||||
|
||||
"@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@5.0.1", "", {}, "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA=="],
|
||||
|
||||
"@vue-macros/common/@vue/compiler-sfc": ["@vue/compiler-sfc@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-core": "3.5.39", "@vue/compiler-dom": "3.5.39", "@vue/compiler-ssr": "3.5.39", "@vue/shared": "3.5.39", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.15", "source-map-js": "^1.2.1" } }, "sha512-d0ki86iOyN8LoZPBmk5SJWNwHP19CnDDCfuo//+2WJa2g5Ke0Jay983PIBIcSSzldC68I8DrD5GrHV3OSDfodg=="],
|
||||
|
||||
"@vue/babel-plugin-jsx/@babel/types": ["@babel/types@7.29.7", "", { "dependencies": { "@babel/helper-string-parser": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7" } }, "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA=="],
|
||||
|
||||
"@vue/babel-plugin-jsx/@vue/shared": ["@vue/shared@3.5.39", "", {}, "sha512-l1rrBtBfTnmxvtsvdQDXltUUy8S1Y+ZaqdfUzmAnJkTd8Z8rv5v/ytW+TKiqEOWyHPoqtPlNFSs0lhRmYVSHVA=="],
|
||||
|
||||
"@vue/babel-plugin-resolve-type/@vue/compiler-sfc": ["@vue/compiler-sfc@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-core": "3.5.39", "@vue/compiler-dom": "3.5.39", "@vue/compiler-ssr": "3.5.39", "@vue/shared": "3.5.39", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.15", "source-map-js": "^1.2.1" } }, "sha512-d0ki86iOyN8LoZPBmk5SJWNwHP19CnDDCfuo//+2WJa2g5Ke0Jay983PIBIcSSzldC68I8DrD5GrHV3OSDfodg=="],
|
||||
|
||||
"@vue/devtools-api/@vue/devtools-kit": ["@vue/devtools-kit@7.7.10", "", { "dependencies": { "@vue/devtools-shared": "^7.7.10", "birpc": "^2.3.0", "hookable": "^5.5.3", "mitt": "^3.0.1", "perfect-debounce": "^1.0.0", "speakingurl": "^14.0.1", "superjson": "^2.2.2" } }, "sha512-3WNi2Kq4tbpVbmhml7RiphmAt0279oh3fKNeWMQIrltfX8Q91b4i5PL8DtyNKdwmcsGrV4fg+erwWOmD05CLIw=="],
|
||||
|
||||
"@vue/language-core/@vue/compiler-dom": ["@vue/compiler-dom@3.5.39", "", { "dependencies": { "@vue/compiler-core": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-oQPigALqYbNxTNPvNgSOe+czwVExfbVF02lz8jP0S3AXJiu3jxYDygNUiqSep4ezzW8XgnubqH63My2A7JR/vg=="],
|
||||
|
||||
"@vue/language-core/@vue/shared": ["@vue/shared@3.5.39", "", {}, "sha512-l1rrBtBfTnmxvtsvdQDXltUUy8S1Y+ZaqdfUzmAnJkTd8Z8rv5v/ytW+TKiqEOWyHPoqtPlNFSs0lhRmYVSHVA=="],
|
||||
|
||||
"ast-walker-scope/@babel/types": ["@babel/types@7.29.7", "", { "dependencies": { "@babel/helper-string-parser": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7" } }, "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA=="],
|
||||
|
||||
"chalk/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
|
||||
@@ -958,10 +972,14 @@
|
||||
|
||||
"vite-dev-rpc/birpc": ["birpc@4.0.0", "", {}, "sha512-LShSxJP0KTmd101b6DRyGBj57LZxSDYWKitQNW/mi8GRMvZb078Uf9+pveax1DrVL89vm7mWe+TovdI/UDOuPw=="],
|
||||
|
||||
"vite-plugin-vue-inspector/@vue/compiler-dom": ["@vue/compiler-dom@3.5.39", "", { "dependencies": { "@vue/compiler-core": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-oQPigALqYbNxTNPvNgSOe+czwVExfbVF02lz8jP0S3AXJiu3jxYDygNUiqSep4ezzW8XgnubqH63My2A7JR/vg=="],
|
||||
|
||||
"vue-i18n/@vue/devtools-api": ["@vue/devtools-api@6.6.4", "", {}, "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g=="],
|
||||
|
||||
"vue-router/@vue/devtools-api": ["@vue/devtools-api@8.1.5", "", { "dependencies": { "@vue/devtools-kit": "^8.1.5" } }, "sha512-YJipMVAKe5wT5CWf5kTYCaNV7NMNjFVxJkIkJaJ4W/nCxEBzlZzrOsYKeCymdCrFZmBS/+wTWFoUs3Jf/Q6XSQ=="],
|
||||
|
||||
"vue-router/picomatch": ["picomatch@4.0.5", "", {}, "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A=="],
|
||||
|
||||
"@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.29.7", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="],
|
||||
|
||||
"@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.29.7", "", {}, "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg=="],
|
||||
@@ -1004,14 +1022,36 @@
|
||||
|
||||
"@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@5.0.7", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA=="],
|
||||
|
||||
"@vue-macros/common/@vue/compiler-sfc/@vue/compiler-core": ["@vue/compiler-core@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.5.39", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-16KBTEXAJCpDr0mwlw+AZyhu8iyC7R3S2vBwsI7QnWJU6X3WKc9VKeNEZpiMdZ569qWhz9574L3vV55qRL0Vtw=="],
|
||||
|
||||
"@vue-macros/common/@vue/compiler-sfc/@vue/compiler-dom": ["@vue/compiler-dom@3.5.39", "", { "dependencies": { "@vue/compiler-core": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-oQPigALqYbNxTNPvNgSOe+czwVExfbVF02lz8jP0S3AXJiu3jxYDygNUiqSep4ezzW8XgnubqH63My2A7JR/vg=="],
|
||||
|
||||
"@vue-macros/common/@vue/compiler-sfc/@vue/compiler-ssr": ["@vue/compiler-ssr@3.5.39", "", { "dependencies": { "@vue/compiler-dom": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-Ce7/wvwMHai74bdszfXExdazFigYnlF9zgCmEQUcM1j0fOymlouZ7XilTYNo8oUjhlnjYOZbGrcYKuqjz89Ucw=="],
|
||||
|
||||
"@vue-macros/common/@vue/compiler-sfc/@vue/shared": ["@vue/shared@3.5.39", "", {}, "sha512-l1rrBtBfTnmxvtsvdQDXltUUy8S1Y+ZaqdfUzmAnJkTd8Z8rv5v/ytW+TKiqEOWyHPoqtPlNFSs0lhRmYVSHVA=="],
|
||||
|
||||
"@vue-macros/common/@vue/compiler-sfc/postcss": ["postcss@8.5.16", "", { "dependencies": { "nanoid": "^3.3.12", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-vuwillviilfKZsg0VGj5R/YwwcHx4SLsIOI/7K6mQkWx+l5cUHTjj5g0AasTBcyXsbfTgrwsUNmVUb5xVwyPwg=="],
|
||||
|
||||
"@vue/babel-plugin-jsx/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.29.7", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="],
|
||||
|
||||
"@vue/babel-plugin-jsx/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.29.7", "", {}, "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg=="],
|
||||
|
||||
"@vue/babel-plugin-resolve-type/@vue/compiler-sfc/@vue/compiler-core": ["@vue/compiler-core@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.5.39", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-16KBTEXAJCpDr0mwlw+AZyhu8iyC7R3S2vBwsI7QnWJU6X3WKc9VKeNEZpiMdZ569qWhz9574L3vV55qRL0Vtw=="],
|
||||
|
||||
"@vue/babel-plugin-resolve-type/@vue/compiler-sfc/@vue/compiler-dom": ["@vue/compiler-dom@3.5.39", "", { "dependencies": { "@vue/compiler-core": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-oQPigALqYbNxTNPvNgSOe+czwVExfbVF02lz8jP0S3AXJiu3jxYDygNUiqSep4ezzW8XgnubqH63My2A7JR/vg=="],
|
||||
|
||||
"@vue/babel-plugin-resolve-type/@vue/compiler-sfc/@vue/compiler-ssr": ["@vue/compiler-ssr@3.5.39", "", { "dependencies": { "@vue/compiler-dom": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-Ce7/wvwMHai74bdszfXExdazFigYnlF9zgCmEQUcM1j0fOymlouZ7XilTYNo8oUjhlnjYOZbGrcYKuqjz89Ucw=="],
|
||||
|
||||
"@vue/babel-plugin-resolve-type/@vue/compiler-sfc/@vue/shared": ["@vue/shared@3.5.39", "", {}, "sha512-l1rrBtBfTnmxvtsvdQDXltUUy8S1Y+ZaqdfUzmAnJkTd8Z8rv5v/ytW+TKiqEOWyHPoqtPlNFSs0lhRmYVSHVA=="],
|
||||
|
||||
"@vue/babel-plugin-resolve-type/@vue/compiler-sfc/postcss": ["postcss@8.5.16", "", { "dependencies": { "nanoid": "^3.3.12", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-vuwillviilfKZsg0VGj5R/YwwcHx4SLsIOI/7K6mQkWx+l5cUHTjj5g0AasTBcyXsbfTgrwsUNmVUb5xVwyPwg=="],
|
||||
|
||||
"@vue/devtools-api/@vue/devtools-kit/@vue/devtools-shared": ["@vue/devtools-shared@7.7.10", "", { "dependencies": { "rfdc": "^1.4.1" } }, "sha512-wOPslzB8vTvpxwdaOcR2qAbwmuSP0L+rhpoC6Cf56V3Jip+HWb7PQQXOUPgBNQARpXsbQX/+mvi8kKucmBGRwQ=="],
|
||||
|
||||
"@vue/devtools-api/@vue/devtools-kit/perfect-debounce": ["perfect-debounce@1.0.0", "", {}, "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="],
|
||||
|
||||
"@vue/language-core/@vue/compiler-dom/@vue/compiler-core": ["@vue/compiler-core@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.5.39", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-16KBTEXAJCpDr0mwlw+AZyhu8iyC7R3S2vBwsI7QnWJU6X3WKc9VKeNEZpiMdZ569qWhz9574L3vV55qRL0Vtw=="],
|
||||
|
||||
"ast-walker-scope/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.29.7", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="],
|
||||
|
||||
"ast-walker-scope/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.29.7", "", {}, "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg=="],
|
||||
@@ -1020,6 +1060,14 @@
|
||||
|
||||
"mlly/pkg-types/confbox": ["confbox@0.1.8", "", {}, "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w=="],
|
||||
|
||||
"vite-plugin-vue-inspector/@vue/compiler-dom/@vue/compiler-core": ["@vue/compiler-core@3.5.39", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.5.39", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-16KBTEXAJCpDr0mwlw+AZyhu8iyC7R3S2vBwsI7QnWJU6X3WKc9VKeNEZpiMdZ569qWhz9574L3vV55qRL0Vtw=="],
|
||||
|
||||
"vite-plugin-vue-inspector/@vue/compiler-dom/@vue/shared": ["@vue/shared@3.5.39", "", {}, "sha512-l1rrBtBfTnmxvtsvdQDXltUUy8S1Y+ZaqdfUzmAnJkTd8Z8rv5v/ytW+TKiqEOWyHPoqtPlNFSs0lhRmYVSHVA=="],
|
||||
|
||||
"@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["balanced-match@4.0.4", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="],
|
||||
|
||||
"@vue-macros/common/@vue/compiler-sfc/postcss/nanoid": ["nanoid@3.3.15", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA=="],
|
||||
|
||||
"@vue/babel-plugin-resolve-type/@vue/compiler-sfc/postcss/nanoid": ["nanoid@3.3.15", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA=="],
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
<!-- card related -->
|
||||
<meta property="og:title" content="{{ title }}">
|
||||
<meta property="og:description" content="{{ lang('home') }}">
|
||||
<meta property="og:image" content="{{ app_url }}/assets/favicon-96x96.jpg">
|
||||
<meta property="og:image" content="{{ app_url }}/assets/preview.jpg">
|
||||
<meta property="og:url" content="{{ app_url }}/{{ path }}">
|
||||
|
||||
<script
|
||||
|
||||
+8
-7
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tout-doux",
|
||||
"version": "1.0.2",
|
||||
"version": "1.7.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"engines": {
|
||||
@@ -20,17 +20,18 @@
|
||||
"lint-fix:oxlint": "oxlint . --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lucide/vue": "^1.24.0",
|
||||
"@lucide/vue": "^1.25.0",
|
||||
"cron-parser": "^5.6.2",
|
||||
"date-fns": "^4.4.0",
|
||||
"pinia": "^3.0.4",
|
||||
"random-word-slugs": "^0.1.7",
|
||||
"vue": "^3.5.39",
|
||||
"rrule": "^2.8.1",
|
||||
"vue": "^3.5.40",
|
||||
"vue-i18n": "^11.4.6",
|
||||
"vue-router": "^5.1.0"
|
||||
"vue-router": "^5.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.2",
|
||||
"@tailwindcss/vite": "^4.3.3",
|
||||
"@tsconfig/node24": "^24.0.4",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitejs/plugin-vue": "^6.0.8",
|
||||
@@ -45,9 +46,9 @@
|
||||
"npm-run-all2": "^8.0.4",
|
||||
"oxlint": "^1.74.0",
|
||||
"sass-embedded": "^1.100.0",
|
||||
"tailwindcss": "^4.3.2",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"typescript": "~5.9.3",
|
||||
"vite": "^8.1.4",
|
||||
"vite": "^8.1.5",
|
||||
"vite-plugin-vue-devtools": "^8.1.5",
|
||||
"vue-tsc": "^3.3.7"
|
||||
},
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "tout-doux"
|
||||
version = "1.0.2"
|
||||
version = "1.7.1"
|
||||
description = ""
|
||||
requires-python = ">=3.14"
|
||||
dependencies = [
|
||||
|
||||
@@ -10,3 +10,38 @@ body {
|
||||
font-style: normal;
|
||||
font-variation-settings: "wdth" 100;
|
||||
}
|
||||
|
||||
.bg-hero {
|
||||
--size: 15vh;
|
||||
--angle: 45deg;
|
||||
background: repeating-linear-gradient(
|
||||
var(--angle),
|
||||
var(--color-base-200) 0%,
|
||||
var(--color-base-200) 12.5%,
|
||||
var(--color-secondary) 12.5%,
|
||||
var(--color-secondary) 25%,
|
||||
var(--color-base-200) 25%,
|
||||
var(--color-base-200) 37.5%,
|
||||
var(--color-accent) 37.5%,
|
||||
var(--color-accent) 50%,
|
||||
var(--color-base-200) 50%,
|
||||
var(--color-base-200) 62.5%,
|
||||
var(--color-secondary) 62.5%,
|
||||
var(--color-secondary) 75%,
|
||||
var(--color-base-200) 75%,
|
||||
var(--color-base-200) 87.5%,
|
||||
var(--color-accent) 87.5%,
|
||||
var(--color-accent) 100%,
|
||||
var(--color-base-200) 100%
|
||||
);
|
||||
background-repeat: repeat;
|
||||
background-size: calc(var(--size) / sin(var(--angle)))
|
||||
calc(var(--size) / sin(var(--angle)));
|
||||
animation: BackgroundAnimate 10s linear infinite reverse;
|
||||
}
|
||||
|
||||
@keyframes BackgroundAnimate {
|
||||
0% {
|
||||
background-position: calc(var(--size) / sin(var(--angle))) 0;
|
||||
}
|
||||
}
|
||||
|
||||
+26
-9
@@ -1,12 +1,16 @@
|
||||
{
|
||||
"cron": {
|
||||
"type": {
|
||||
"one_time": "One time",
|
||||
"manual": "Manual",
|
||||
"every_day": "Every day",
|
||||
"every_n_days": "Every N days",
|
||||
"every_week": "Every week",
|
||||
"every_n_weeks": "Every N weeks",
|
||||
"every_month": "Every month",
|
||||
"every_n_months": "Every N months",
|
||||
"every_year": "Every year",
|
||||
"specific": "Specific"
|
||||
"custom": "Custom (cron syntax)",
|
||||
"one_time": "One time (then delete)"
|
||||
},
|
||||
"week": [
|
||||
"Monday",
|
||||
@@ -18,10 +22,14 @@
|
||||
"Sunday"
|
||||
],
|
||||
"month": {
|
||||
"st": "st",
|
||||
"nd": "nd",
|
||||
"rd": "rd",
|
||||
"th": "th"
|
||||
"st": "The {0}st",
|
||||
"nd": "The {0}nd",
|
||||
"rd": "The {0}rd",
|
||||
"th": "The {0}th",
|
||||
"first_day": "First day of month",
|
||||
"last_day": "Last day of month",
|
||||
"last": "Last",
|
||||
"first": "First"
|
||||
},
|
||||
"year": [
|
||||
"January",
|
||||
@@ -36,7 +44,8 @@
|
||||
"October",
|
||||
"November",
|
||||
"December"
|
||||
]
|
||||
],
|
||||
"rrule_start": "Start:"
|
||||
},
|
||||
"checked": "Checked",
|
||||
"resets": "Resets",
|
||||
@@ -57,7 +66,8 @@
|
||||
"reverse_sort": "Reverse sort",
|
||||
"last_checked": "Show last checked time",
|
||||
"next_reset": "Show next reset time",
|
||||
"separate_completed": "Separate completed tasks below"
|
||||
"separate_completed": "Separate completed tasks below",
|
||||
"missed": "Show in red missed tasks (reset without check)"
|
||||
},
|
||||
"alerts": {
|
||||
"task_updated": "Task updated",
|
||||
@@ -78,5 +88,12 @@
|
||||
"call_to_action": "Create your list below:",
|
||||
"home_button": "Let's go !",
|
||||
"share_button": "Share my list",
|
||||
"share_text": "Check my list on Tout Doux!"
|
||||
"share_text": "Check my list on Tout Doux!",
|
||||
"add_button": "Add task",
|
||||
"cancel_button": "Cancel editing",
|
||||
"save_button": "Save task",
|
||||
"clone_button": "Clone task",
|
||||
"delete_button": "Delete task",
|
||||
"recent": "Recent lists",
|
||||
"metadata": "{lists} lists / {tasks} tasks"
|
||||
}
|
||||
|
||||
+26
-9
@@ -1,12 +1,16 @@
|
||||
{
|
||||
"cron": {
|
||||
"type": {
|
||||
"one_time": "Une seule fois",
|
||||
"manual": "Manuel",
|
||||
"every_day": "Tous les jours",
|
||||
"every_n_days": "Tous les N jours",
|
||||
"every_week": "Toutes les semaines",
|
||||
"every_n_weeks": "Tous les N semaines",
|
||||
"every_month": "Tous les mois",
|
||||
"every_n_months": "Tous les N mois",
|
||||
"every_year": "Tous les ans",
|
||||
"specific": "Spécifique"
|
||||
"custom": "Personnalisé (syntaxe cron)",
|
||||
"one_time": "Une seule fois (puis suppression)"
|
||||
},
|
||||
"week": [
|
||||
"Lundi",
|
||||
@@ -18,10 +22,14 @@
|
||||
"Dimanche"
|
||||
],
|
||||
"month": {
|
||||
"st": "",
|
||||
"nd": "",
|
||||
"rd": "",
|
||||
"th": ""
|
||||
"st": "Le {0}",
|
||||
"nd": "Le {0}",
|
||||
"rd": "Le {0}",
|
||||
"th": "Le {0}",
|
||||
"first_day": "Premier jour du mois",
|
||||
"last_day": "Dernier jour du mois",
|
||||
"last": "Dernier",
|
||||
"first": "Premier"
|
||||
},
|
||||
"year": [
|
||||
"Janvier",
|
||||
@@ -36,7 +44,8 @@
|
||||
"Octobre",
|
||||
"Novembre",
|
||||
"Décembre"
|
||||
]
|
||||
],
|
||||
"rrule_start": "Début :"
|
||||
},
|
||||
"checked": "Complété",
|
||||
"resets": "Reviens",
|
||||
@@ -57,7 +66,8 @@
|
||||
"reverse_sort": "Inverser le tri",
|
||||
"last_checked": "Afficher la dernière completion",
|
||||
"next_reset": "Afficher la prochaine réinitialisation",
|
||||
"separate_completed": "Séparer les tâches complétées plus bas"
|
||||
"separate_completed": "Séparer les tâches complétées plus bas",
|
||||
"missed": "Indiquer en rouge les tâches manquées (réinitialisées sans completion)"
|
||||
},
|
||||
"alerts": {
|
||||
"task_updated": "Tâche mise a jour",
|
||||
@@ -78,5 +88,12 @@
|
||||
"call_to_action": "Créez ta liste ci-dessous :",
|
||||
"home_button": "C'est parti !",
|
||||
"share_button": "Partager ma liste",
|
||||
"share_text": "Regarde ma liste sur Tout Doux!"
|
||||
"share_text": "Regarde ma liste sur Tout Doux!",
|
||||
"add_button": "Ajouter la tâche",
|
||||
"cancel_button": "Annuler la modification",
|
||||
"save_button": "Sauvegarder la tâche",
|
||||
"clone_button": "Cloner la tâche",
|
||||
"delete_button": "Supprimer la tâche",
|
||||
"recent": "Listes récentes",
|
||||
"metadata": "{lists} listes / {tasks} tâches"
|
||||
}
|
||||
|
||||
+12
-6
@@ -22,16 +22,22 @@ onMounted(() => {
|
||||
:style="{ display: visible ? 'flex' : 'none' }"
|
||||
class="min-h-screen flex-col w-screen"
|
||||
>
|
||||
<div class="hero bg-base-200 grow">
|
||||
<div class="hero bg-hero grow">
|
||||
<div class="hero-content text-center p-0">
|
||||
<div
|
||||
class="max-w-md min-w-96 bg-base-100 rounded-box shadow-md"
|
||||
class="max-w-96 min-w-screen sm:min-w-96 bg-base-100 rounded-box shadow-md p-4"
|
||||
>
|
||||
<h1
|
||||
class="p-4 pb-2 text-4xl font-bold opacity-60 tracking-wide select-none"
|
||||
<router-link
|
||||
to="/"
|
||||
class="text-4xl font-bold opacity-60 tracking-wide select-none"
|
||||
>
|
||||
<list-todo-icon :stroke-width="3" :size="32" class="inline" /> Tout Doux
|
||||
</h1>
|
||||
<list-todo-icon
|
||||
:stroke-width="3"
|
||||
:size="32"
|
||||
class="inline"
|
||||
/>
|
||||
Tout Doux
|
||||
</router-link>
|
||||
<router-view />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import type { Metadata } from "@/types";
|
||||
|
||||
export async function getMetadata(): Promise<Metadata> {
|
||||
const response = await fetch(`/api/meta`);
|
||||
return await response.json();
|
||||
}
|
||||
@@ -1,39 +1,53 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onBeforeMount, watch } from "vue";
|
||||
import { getCron, parseCron, validCron } from "@/lib/cron";
|
||||
import { ref, onBeforeMount, watch, defineAsyncComponent } from "vue";
|
||||
import { getCron, parseCron, validCron } from "@/lib/recurrence";
|
||||
import { CronType } from "@/enums";
|
||||
import { DEFAULT_CRON } from "@/constants";
|
||||
const DateInput = defineAsyncComponent(
|
||||
() => import("@/components/DateInput.vue"),
|
||||
);
|
||||
|
||||
const DEFAULT_CRON = "0 0 * * *";
|
||||
|
||||
const cron = defineModel<string | null>({ required: true });
|
||||
const rawCron = ref<string>(DEFAULT_CRON);
|
||||
const valid = ref<boolean>(true);
|
||||
const props = defineProps<{ editMode: boolean }>();
|
||||
|
||||
const cronType = ref<CronType>(CronType.ONE_TIME);
|
||||
const cronValue = ref<number>(0);
|
||||
const cronType = ref<CronType>(CronType.MANUAL);
|
||||
const cronValue = ref<string>("0");
|
||||
const cronDate = ref<Date>(new Date());
|
||||
|
||||
function onCronChanged() {
|
||||
const data = parseCron(cron.value);
|
||||
rawCron.value = cron.value ?? DEFAULT_CRON;
|
||||
cronType.value = data.type;
|
||||
cronValue.value = data.value;
|
||||
cronValue.value = data.value.toFixed(0);
|
||||
cronDate.value = data.date ?? new Date();
|
||||
}
|
||||
|
||||
function updateCron() {
|
||||
cron.value = getCron(cronType.value, cronValue.value, rawCron.value);
|
||||
cron.value = getCron(
|
||||
cronType.value,
|
||||
parseInt(cronValue.value),
|
||||
cronDate.value,
|
||||
rawCron.value,
|
||||
);
|
||||
}
|
||||
|
||||
function onChangeCronType() {
|
||||
switch (cronType.value) {
|
||||
case CronType.EVERY_DAY:
|
||||
cronValue.value = 0;
|
||||
cronValue.value = "0";
|
||||
break;
|
||||
case CronType.EVERY_WEEK:
|
||||
case CronType.EVERY_MONTH:
|
||||
case CronType.EVERY_YEAR:
|
||||
cronValue.value = 1;
|
||||
case CronType.EVERY_N_DAYS:
|
||||
case CronType.EVERY_N_WEEKS:
|
||||
case CronType.EVERY_N_MONTHS:
|
||||
cronValue.value = "1";
|
||||
break;
|
||||
case CronType.SPECIFIC:
|
||||
case CronType.CUSTOM:
|
||||
cron.value ??= DEFAULT_CRON;
|
||||
break;
|
||||
}
|
||||
@@ -44,6 +58,10 @@ function onChangeCronValue() {
|
||||
updateCron();
|
||||
}
|
||||
|
||||
function onChangeCronDate() {
|
||||
updateCron();
|
||||
}
|
||||
|
||||
function onInputRawCron() {
|
||||
valid.value = validCron(rawCron.value);
|
||||
if (valid.value) {
|
||||
@@ -61,25 +79,41 @@ watch(cron, () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex gap-2">
|
||||
<select v-model="cronType" class="select flex-1" @change="onChangeCronType">
|
||||
<option :value="CronType.ONE_TIME">
|
||||
{{ $t("cron.type.one_time") }}
|
||||
<div class="flex gap-2 flex-wrap">
|
||||
<select
|
||||
v-model="cronType"
|
||||
class="select flex-1"
|
||||
@change="onChangeCronType"
|
||||
>
|
||||
<option :value="CronType.MANUAL">
|
||||
{{ $t("cron.type.manual") }}
|
||||
</option>
|
||||
<option :value="CronType.EVERY_DAY">
|
||||
{{ $t("cron.type.every_day") }}
|
||||
</option>
|
||||
<option :value="CronType.EVERY_N_DAYS">
|
||||
{{ $t("cron.type.every_n_days") }}
|
||||
</option>
|
||||
<option :value="CronType.EVERY_WEEK">
|
||||
{{ $t("cron.type.every_week") }}
|
||||
</option>
|
||||
<option :value="CronType.EVERY_N_WEEKS">
|
||||
{{ $t("cron.type.every_n_weeks") }}
|
||||
</option>
|
||||
<option :value="CronType.EVERY_MONTH">
|
||||
{{ $t("cron.type.every_month") }}
|
||||
</option>
|
||||
<option :value="CronType.EVERY_N_MONTHS">
|
||||
{{ $t("cron.type.every_n_months") }}
|
||||
</option>
|
||||
<option :value="CronType.EVERY_YEAR">
|
||||
{{ $t("cron.type.every_year") }}
|
||||
</option>
|
||||
<option :value="CronType.SPECIFIC">
|
||||
{{ $t("cron.type.specific") }}
|
||||
<option :value="CronType.CUSTOM">
|
||||
{{ $t("cron.type.custom") }}
|
||||
</option>
|
||||
<option :value="CronType.ONE_TIME">
|
||||
{{ $t("cron.type.one_time") }}
|
||||
</option>
|
||||
</select>
|
||||
<select
|
||||
@@ -90,7 +124,7 @@ watch(cron, () => {
|
||||
>
|
||||
<option
|
||||
v-for="i in Array.from(Array(24).keys())"
|
||||
:key="`h${i}`"
|
||||
:key="`h${i + 1}`"
|
||||
:value="i"
|
||||
>
|
||||
{{ i.toFixed(0).padStart(2, "0") }}:00
|
||||
@@ -104,7 +138,7 @@ watch(cron, () => {
|
||||
>
|
||||
<option
|
||||
v-for="i in Array.from(Array(7).keys())"
|
||||
:key="`w${i}`"
|
||||
:key="`w${i + 1}`"
|
||||
:value="i + 1"
|
||||
>
|
||||
{{ $t(`cron.week.${i.toFixed(0)}`) }}
|
||||
@@ -116,20 +150,37 @@ watch(cron, () => {
|
||||
class="select flex-1"
|
||||
@change="onChangeCronValue"
|
||||
>
|
||||
<option :value="1">{{ $t("cron.month.first_day") }}</option>
|
||||
<option :value="32">{{ $t("cron.month.last_day") }}</option>
|
||||
<option
|
||||
v-for="i in Array.from(Array(31).keys())"
|
||||
:key="`d${i}`"
|
||||
:value="i + 1"
|
||||
v-for="i in Array.from(Array(7).keys())"
|
||||
:key="`d${-(i + 1)}`"
|
||||
:value="-(i + 1)"
|
||||
>
|
||||
{{ i + 1
|
||||
}}{{
|
||||
i % 10 == 0
|
||||
? $t("cron.month.st")
|
||||
: i % 10 === 1
|
||||
? $t("cron.month.nd")
|
||||
: i % 10 === 2
|
||||
? $t("cron.month.rd")
|
||||
: $t("cron.month.th")
|
||||
{{ $t("cron.month.first") }}
|
||||
{{ $t(`cron.week.${i.toFixed(0)}`).toLowerCase() }}
|
||||
</option>
|
||||
<option
|
||||
v-for="i in Array.from(Array(7).keys())"
|
||||
:key="`d${-(i + 8)}`"
|
||||
:value="-(i + 8)"
|
||||
>
|
||||
{{ $t("cron.month.last") }}
|
||||
{{ $t(`cron.week.${i.toFixed(0)}`).toLowerCase() }}
|
||||
</option>
|
||||
<option
|
||||
v-for="i in Array.from(Array(30).keys())"
|
||||
:key="`d${i + 2}`"
|
||||
:value="i + 2"
|
||||
>
|
||||
{{
|
||||
i % 10 == 9 && i !== 9
|
||||
? $t("cron.month.st", [i + 2])
|
||||
: i % 10 === 0 && i !== 10
|
||||
? $t("cron.month.nd", [i + 2])
|
||||
: i % 10 === 1 && i !== 11
|
||||
? $t("cron.month.rd", [i + 2])
|
||||
: $t("cron.month.th", [i + 2])
|
||||
}}
|
||||
</option>
|
||||
</select>
|
||||
@@ -148,12 +199,39 @@ watch(cron, () => {
|
||||
</option>
|
||||
</select>
|
||||
<input
|
||||
v-if="cronType === CronType.SPECIFIC"
|
||||
v-if="cronType === CronType.CUSTOM"
|
||||
v-model="rawCron"
|
||||
type="text"
|
||||
class="input font-mono flex-1"
|
||||
:class="valid ? '' : 'input-error'"
|
||||
@input="onInputRawCron"
|
||||
/>
|
||||
<input
|
||||
v-if="
|
||||
cronType === CronType.EVERY_N_DAYS ||
|
||||
cronType === CronType.EVERY_N_WEEKS ||
|
||||
cronType === CronType.EVERY_N_MONTHS
|
||||
"
|
||||
v-model="cronValue"
|
||||
type="number"
|
||||
min="1"
|
||||
step="1"
|
||||
class="input font-mono flex-1"
|
||||
@change="onChangeCronValue"
|
||||
/>
|
||||
<label class="label flex-1 basis-full">
|
||||
{{ $t("cron.rrule_start") }}
|
||||
<date-input
|
||||
v-if="
|
||||
cronType === CronType.EVERY_N_DAYS ||
|
||||
cronType === CronType.EVERY_N_WEEKS ||
|
||||
cronType === CronType.EVERY_N_MONTHS
|
||||
"
|
||||
v-model="cronDate"
|
||||
required
|
||||
class="input font-mono"
|
||||
@change="onChangeCronDate"
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<script setup lang="ts">
|
||||
const emit = defineEmits<(e: "input"|"change", value: Date) => void>();
|
||||
|
||||
const date = defineModel<Date>({ required: true });
|
||||
|
||||
function onInput(event: Event) {
|
||||
const inputValue = (event.target as HTMLInputElement).value;
|
||||
date.value = new Date(inputValue);
|
||||
emit('input', date.value);
|
||||
}
|
||||
|
||||
function onChange(event: Event) {
|
||||
const inputValue = (event.target as HTMLInputElement).value;
|
||||
date.value = new Date(inputValue);
|
||||
emit('change', date.value);
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input
|
||||
:value="date.toISOString().substring(0, 10)"
|
||||
type="date"
|
||||
@input="onInput"
|
||||
@change="onChange"
|
||||
/>
|
||||
</template>
|
||||
@@ -0,0 +1,97 @@
|
||||
<script setup lang="ts">
|
||||
import { ArrowDownUpIcon, Settings2Icon } from "@lucide/vue";
|
||||
import { SortType } from "@/enums";
|
||||
|
||||
defineEmits<(e: "changeSort") => void>();
|
||||
|
||||
const sortType = defineModel<SortType>("sortType", { required: true });
|
||||
const sortReverse = defineModel<boolean>("sortReverse", { required: true });
|
||||
const showLastChecked = defineModel<boolean>("showLastChecked", {
|
||||
required: true,
|
||||
});
|
||||
const showNextReset = defineModel<boolean>("showNextReset", { required: true });
|
||||
const separateCompleted = defineModel<boolean>("separateCompleted", {
|
||||
required: true,
|
||||
});
|
||||
const showMissed = defineModel<boolean>("showMissed", { required: true });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="collapse collapse-arrow font-light text-sm">
|
||||
<input id="options-dropdown p-0" type="checkbox" />
|
||||
<div class="collapse-title p-0 content-center">
|
||||
<settings-2-icon class="inline" :size="16" />
|
||||
{{ $t("options.title") }}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<div class="w-full flex flex-col gap-2 text-left overflow-scroll">
|
||||
<label class="label">
|
||||
<arrow-down-up-icon class="inline" />
|
||||
{{ $t("options.sort_by") }}
|
||||
<select
|
||||
v-model="sortType"
|
||||
class="select"
|
||||
@change="$emit('changeSort')"
|
||||
>
|
||||
<option :value="SortType.CREATED_AT">
|
||||
{{ $t("options.sort.created_at") }}
|
||||
</option>
|
||||
<option :value="SortType.UPDATED_AT">
|
||||
{{ $t("options.sort.updated_at") }}
|
||||
</option>
|
||||
<option :value="SortType.CHECK_DATE">
|
||||
{{ $t("options.sort.check_date") }}
|
||||
</option>
|
||||
<option :value="SortType.RESET_DATE">
|
||||
{{ $t("options.sort.reset_date") }}
|
||||
</option>
|
||||
<option :value="SortType.NAME">
|
||||
{{ $t("options.sort.name") }}
|
||||
</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="label text-wrap">
|
||||
<input
|
||||
v-model="sortReverse"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
@change="$emit('changeSort')"
|
||||
/>
|
||||
{{ $t("options.reverse_sort") }}
|
||||
</label>
|
||||
<label class="label text-wrap">
|
||||
<input
|
||||
v-model="showLastChecked"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
/>
|
||||
{{ $t("options.last_checked") }}
|
||||
</label>
|
||||
<label class="label text-wrap">
|
||||
<input
|
||||
v-model="showNextReset"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
/>
|
||||
{{ $t("options.next_reset") }}
|
||||
</label>
|
||||
<label class="label text-wrap">
|
||||
<input
|
||||
v-model="separateCompleted"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
/>
|
||||
{{ $t("options.separate_completed") }}
|
||||
</label>
|
||||
<label class="label text-wrap">
|
||||
<input
|
||||
v-model="showMissed"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
/>
|
||||
{{ $t("options.missed") }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,9 +1,23 @@
|
||||
<script setup lang="ts">
|
||||
import { defineAsyncComponent } from "vue";
|
||||
import { getMetadata } from "@/api/meta";
|
||||
import type { Metadata } from "@/types";
|
||||
import { defineAsyncComponent, onBeforeMount, ref } from "vue";
|
||||
|
||||
const metadata = ref<Metadata|null>(null);
|
||||
|
||||
const LangInput = defineAsyncComponent(
|
||||
() => import("@/components/LangInput.vue"),
|
||||
);
|
||||
|
||||
function fetchMetadata() {
|
||||
void getMetadata()
|
||||
.then((data) => {
|
||||
metadata.value = data;
|
||||
setTimeout(fetchMetadata, 600000);
|
||||
});
|
||||
}
|
||||
|
||||
onBeforeMount(fetchMetadata);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -19,6 +33,7 @@ const LangInput = defineAsyncComponent(
|
||||
>
|
||||
klemek
|
||||
</a>
|
||||
<span v-if="metadata">- {{ $t("metadata", metadata) }}</span>
|
||||
</p>
|
||||
</aside>
|
||||
</footer>
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<script setup lang="ts">
|
||||
import { ArrowBigRightDashIcon } from "@lucide/vue";
|
||||
|
||||
defineProps<{ list: string }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<router-link
|
||||
:to="`/${list}`"
|
||||
class="w-full flex gap-2 mb-2 hover:underline"
|
||||
>
|
||||
<arrow-big-right-dash-icon :size="16" class="inline" /> {{ list }}
|
||||
</router-link>
|
||||
</template>
|
||||
@@ -1,42 +1,83 @@
|
||||
<script setup lang="ts">
|
||||
import { onBeforeMount, ref, watch, computed, defineAsyncComponent } from "vue";
|
||||
import {
|
||||
onBeforeMount,
|
||||
ref,
|
||||
watch,
|
||||
computed,
|
||||
defineAsyncComponent,
|
||||
nextTick,
|
||||
} from "vue";
|
||||
import type { Task } from "@/types";
|
||||
import { CopyIcon, TrashIcon, SaveIcon, XIcon } from "@lucide/vue";
|
||||
import { updateTask } from "@/api/tasks";
|
||||
const CronInput = defineAsyncComponent(
|
||||
() => import("@/components/CronInput.vue"),
|
||||
);
|
||||
import { taskCompleted, taskNextReset } from "@/lib/tasks";
|
||||
import {
|
||||
isTemporary,
|
||||
taskCompleted,
|
||||
taskFutureReset,
|
||||
taskNextReset,
|
||||
} from "@/lib/tasks";
|
||||
import { relativeTime } from "@/lib/dates";
|
||||
import { useAlertStore } from "@/stores/alerts";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { isOneTime } from "@/lib/recurrence";
|
||||
|
||||
const emit = defineEmits<(e: "clone" | "delete" | "updated", task: Task) => void>();
|
||||
const emit =
|
||||
defineEmits<(e: "clone" | "delete" | "updated", task: Task) => void>();
|
||||
|
||||
const task = defineModel<Task>({ required: true });
|
||||
defineProps<{ showLastChecked: boolean; showNextReset: boolean }>();
|
||||
defineProps<{
|
||||
showLastChecked: boolean;
|
||||
showNextReset: boolean;
|
||||
showMissed: boolean;
|
||||
}>();
|
||||
|
||||
const editMode = ref<boolean>(false);
|
||||
const editName = ref<string>("");
|
||||
const editCron = ref<string | null>(null);
|
||||
const refreshKey = ref<number>(0);
|
||||
const editNameInput = ref<HTMLInputElement | null>(null);
|
||||
|
||||
const checked = computed<boolean>(() => taskCompleted(task.value));
|
||||
const nextReset = computed<Date | null>(() => taskNextReset(task.value));
|
||||
const futureReset = computed<Date | null>(() => taskFutureReset(task.value));
|
||||
const missed = computed<boolean>(
|
||||
() =>
|
||||
!checked.value &&
|
||||
futureReset.value !== null &&
|
||||
futureReset.value.getTime() < new Date().getTime(),
|
||||
);
|
||||
|
||||
const i18n = useI18n();
|
||||
|
||||
const { alertSuccess, alertError } = useAlertStore();
|
||||
|
||||
async function onOpen() {
|
||||
if (!isTemporary(task.value)) {
|
||||
editMode.value = true;
|
||||
await nextTick();
|
||||
editNameInput.value?.focus();
|
||||
}
|
||||
}
|
||||
|
||||
function onClose() {
|
||||
editName.value = task.value.name;
|
||||
editCron.value = task.value.reset_cron;
|
||||
editMode.value = false;
|
||||
}
|
||||
|
||||
function onSave() {
|
||||
updateTask(task.value.id, {
|
||||
name: editName.value,
|
||||
if (editName.value.trim()) {
|
||||
const data = {
|
||||
name: editName.value.trim(),
|
||||
reset_cron: editCron.value,
|
||||
})
|
||||
};
|
||||
task.value.name = editName.value.trim();
|
||||
task.value.reset_cron = editCron.value;
|
||||
editMode.value = false;
|
||||
updateTask(task.value.id, data)
|
||||
.then((newTask) => {
|
||||
task.value = newTask;
|
||||
emit("updated", newTask);
|
||||
@@ -45,46 +86,60 @@ function onSave() {
|
||||
.catch(() => {
|
||||
alertError(i18n.t("alerts.task_update_error"));
|
||||
});
|
||||
task.value.name = editName.value;
|
||||
task.value.reset_cron = editCron.value;
|
||||
editMode.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
function onCheck() {
|
||||
if (!isTemporary(task.value)) {
|
||||
if (!checked.value) {
|
||||
updateTask(task.value.id, {
|
||||
if (isOneTime(task.value.reset_cron)) {
|
||||
emit("delete", task.value);
|
||||
} else {
|
||||
const data = {
|
||||
check_date: new Date().toISOString(),
|
||||
previous_check_date: task.value.check_date?.toISOString(),
|
||||
})
|
||||
.then((newTask) => {
|
||||
task.value = newTask;
|
||||
emit("updated", newTask);
|
||||
};
|
||||
task.value.previous_check_date = task.value.check_date;
|
||||
task.value.check_date = new Date();
|
||||
updateTask(task.value.id, data)
|
||||
.then((data) => {
|
||||
task.value = data;
|
||||
emit("updated", data);
|
||||
})
|
||||
.catch(() => {
|
||||
alertError(i18n.t("alerts.task_update_error"));
|
||||
});
|
||||
}
|
||||
} else {
|
||||
updateTask(task.value.id, {
|
||||
const data = {
|
||||
check_date: null,
|
||||
previous_check_date: task.value.check_date?.toISOString(),
|
||||
})
|
||||
.then((newTask) => {
|
||||
task.value = newTask;
|
||||
emit("updated", newTask);
|
||||
};
|
||||
task.value.previous_check_date = task.value.check_date;
|
||||
task.value.check_date = null;
|
||||
updateTask(task.value.id, data)
|
||||
.then((data) => {
|
||||
task.value = data;
|
||||
emit("updated", data);
|
||||
})
|
||||
.catch(() => {
|
||||
alertError(i18n.t("alerts.task_update_error"));
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onClone() {
|
||||
if (!isTemporary(task.value)) {
|
||||
emit("clone", task.value);
|
||||
}
|
||||
}
|
||||
|
||||
function onDelete() {
|
||||
if (!isTemporary(task.value)) {
|
||||
emit("delete", task.value);
|
||||
}
|
||||
}
|
||||
|
||||
onBeforeMount(() => {
|
||||
editName.value = task.value.name;
|
||||
@@ -93,6 +148,7 @@ onBeforeMount(() => {
|
||||
refreshKey.value++;
|
||||
}, 60000);
|
||||
});
|
||||
|
||||
watch(task, () => {
|
||||
if (!editMode.value && task.value.name !== editName.value) {
|
||||
editName.value = task.value.name;
|
||||
@@ -112,12 +168,13 @@ watch(task, () => {
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
:checked="checked"
|
||||
@click.prevent="onCheck"
|
||||
@click="onCheck"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
class="cursor-pointer text-lg select-none"
|
||||
@click.prevent="editMode = true"
|
||||
:class="showMissed && missed ? 'text-error' : ''"
|
||||
@click.prevent="onOpen"
|
||||
>
|
||||
<div>{{ task.name }}</div>
|
||||
<div
|
||||
@@ -131,27 +188,53 @@ watch(task, () => {
|
||||
v-if="showNextReset && checked && nextReset"
|
||||
class="font-light text-xs italic"
|
||||
>
|
||||
{{ $t("resets") }} {{ relativeTime(nextReset, $i18n.locale) }}
|
||||
{{ $t("resets") }}
|
||||
{{ relativeTime(nextReset, $i18n.locale) }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="list-col-grow flex flex-col gap-2">
|
||||
<div class="flex justify-evenly">
|
||||
<button class="btn btn-square me-1" @click="onClose">
|
||||
<button
|
||||
class="btn btn-square me-1"
|
||||
:title="$t('cancel_button')"
|
||||
@click="onClose"
|
||||
>
|
||||
<x-icon />
|
||||
</button>
|
||||
<button class="btn btn-square me-1" @click="onSave">
|
||||
<button
|
||||
class="btn btn-square me-1"
|
||||
:class="
|
||||
editName.trim().length === 0 ? 'btn-disabled' : ''
|
||||
"
|
||||
:title="$t('save_button')"
|
||||
@click="onSave"
|
||||
>
|
||||
<save-icon />
|
||||
</button>
|
||||
<button class="btn btn-square me-1" @click="onClone">
|
||||
<button
|
||||
class="btn btn-square me-1"
|
||||
:title="$t('clone_button')"
|
||||
@click="onClone"
|
||||
>
|
||||
<copy-icon />
|
||||
</button>
|
||||
<button class="btn btn-square" @click="onDelete">
|
||||
<button
|
||||
class="btn btn-square"
|
||||
:title="$t('delete_button')"
|
||||
@click="onDelete"
|
||||
>
|
||||
<trash-icon />
|
||||
</button>
|
||||
</div>
|
||||
<input v-model="editName" type="text" class="input w-full" />
|
||||
<input
|
||||
ref="editNameInput"
|
||||
v-model="editName"
|
||||
type="text"
|
||||
class="input w-full"
|
||||
@keyup.enter="onSave"
|
||||
/>
|
||||
<cron-input v-model="editCron" :edit-mode="editMode" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export const DEFAULT_CRON = "0 0 * * *";
|
||||
@@ -1,10 +1,14 @@
|
||||
export enum CronType {
|
||||
ONE_TIME,
|
||||
MANUAL,
|
||||
EVERY_DAY,
|
||||
EVERY_N_DAYS,
|
||||
EVERY_WEEK,
|
||||
EVERY_N_WEEKS,
|
||||
EVERY_MONTH,
|
||||
EVERY_N_MONTHS,
|
||||
EVERY_YEAR,
|
||||
SPECIFIC,
|
||||
CUSTOM,
|
||||
ONE_TIME,
|
||||
}
|
||||
|
||||
export enum SortType {
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
import { CronType } from "@/enums";
|
||||
import { CronExpressionParser } from "cron-parser";
|
||||
|
||||
export function parseCron(cron: string | null): {
|
||||
type: CronType;
|
||||
value: number;
|
||||
} {
|
||||
let value: RegExpMatchArray | null;
|
||||
if (cron === null) {
|
||||
return {
|
||||
type: CronType.ONE_TIME,
|
||||
value: 0,
|
||||
};
|
||||
} else if ((value = /^0 (\d+) \* \* \*$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_DAY,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
};
|
||||
} else if ((value = /^0 0 \* \* (\d+)$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_WEEK,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
};
|
||||
} else if ((value = /^0 0 (\d+) \* \*$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_MONTH,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
};
|
||||
} else if ((value = /^0 0 1 (\d+) \*$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_YEAR,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
type: CronType.SPECIFIC,
|
||||
value: 0,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export function getCron(
|
||||
type: CronType,
|
||||
value: number,
|
||||
fallback: string,
|
||||
): string | null {
|
||||
switch (type) {
|
||||
case CronType.EVERY_DAY:
|
||||
return `0 ${value.toFixed(0)} * * *`;
|
||||
case CronType.EVERY_WEEK:
|
||||
return `0 0 * * ${value.toFixed(0)}`;
|
||||
case CronType.EVERY_MONTH:
|
||||
return `0 0 ${value.toFixed(0)} * *`;
|
||||
case CronType.EVERY_YEAR:
|
||||
return `0 0 1 ${value.toFixed(0)} *`;
|
||||
case CronType.SPECIFIC:
|
||||
if (validCron(fallback)) {
|
||||
return fallback;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
export function validCron(cron: string): boolean {
|
||||
try {
|
||||
CronExpressionParser.parse(cron);
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getCookie, setCookie } from "./cookies";
|
||||
import { getCookie, setCookie } from "@/lib/cookies";
|
||||
|
||||
export function getLang() {
|
||||
const params = new URLSearchParams(document.location.search);
|
||||
|
||||
@@ -0,0 +1,221 @@
|
||||
import { CronType } from "@/enums";
|
||||
import { CronExpressionParser } from "cron-parser";
|
||||
import { RRule } from "rrule";
|
||||
|
||||
const ONE_TIME_VALUE = "@one-time";
|
||||
|
||||
export function parseCron(cron: string | null): {
|
||||
type: CronType;
|
||||
value: number;
|
||||
date: Date | null;
|
||||
} {
|
||||
let value: RegExpMatchArray | null;
|
||||
if (cron === null) {
|
||||
return {
|
||||
type: CronType.MANUAL,
|
||||
value: 0,
|
||||
date: null,
|
||||
};
|
||||
} else if (cron === ONE_TIME_VALUE) {
|
||||
return {
|
||||
type: CronType.ONE_TIME,
|
||||
value: 0,
|
||||
date: null,
|
||||
};
|
||||
} else if (cron.startsWith("RRULE:") || cron.startsWith("DTSTART:")) {
|
||||
return parseRrule(cron);
|
||||
} else if ((value = /^0 (\d+) \* \* \*$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_DAY,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
date: null,
|
||||
};
|
||||
} else if ((value = /^0 0 \* \* (\d+)$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_WEEK,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
date: null,
|
||||
};
|
||||
} else if ((value = /^0 0 (\d+) \* \*$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_MONTH,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
date: null,
|
||||
};
|
||||
} else if ((value = /^0 0 L \* \*$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_MONTH,
|
||||
value: 32,
|
||||
date: null,
|
||||
};
|
||||
} else if ((value = /^0 0 \* \* (\d+)#1$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_MONTH,
|
||||
value: -parseInt(value[1] ?? ""),
|
||||
date: null,
|
||||
};
|
||||
} else if ((value = /^0 0 \* \* (\d+)L$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_MONTH,
|
||||
value: -parseInt(value[1] ?? "") - 7,
|
||||
date: null,
|
||||
};
|
||||
} else if ((value = /^0 0 1 (\d+) \*$/i.exec(cron)) !== null) {
|
||||
return {
|
||||
type: CronType.EVERY_YEAR,
|
||||
value: parseInt(value[1] ?? ""),
|
||||
date: null,
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
type: CronType.CUSTOM,
|
||||
value: 0,
|
||||
date: null,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export function parseRrule(rule: string): {
|
||||
type: CronType;
|
||||
value: number;
|
||||
date: Date | null;
|
||||
} {
|
||||
try {
|
||||
const rrule = RRule.parseString(rule);
|
||||
switch (rrule.freq) {
|
||||
case RRule.YEARLY:
|
||||
return {
|
||||
type: CronType.EVERY_N_MONTHS,
|
||||
value: (rrule.interval ?? 1) * 12,
|
||||
date: rrule.dtstart ?? null,
|
||||
};
|
||||
case RRule.MONTHLY:
|
||||
return {
|
||||
type: CronType.EVERY_N_MONTHS,
|
||||
value: rrule.interval ?? 1,
|
||||
date: rrule.dtstart ?? null,
|
||||
};
|
||||
case RRule.WEEKLY:
|
||||
return {
|
||||
type: CronType.EVERY_N_WEEKS,
|
||||
value: rrule.interval ?? 1,
|
||||
date: rrule.dtstart ?? null,
|
||||
};
|
||||
case RRule.DAILY:
|
||||
return {
|
||||
type: CronType.EVERY_N_DAYS,
|
||||
value: rrule.interval ?? 1,
|
||||
date: rrule.dtstart ?? null,
|
||||
};
|
||||
}
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
return {
|
||||
type: CronType.MANUAL,
|
||||
value: 0,
|
||||
date: null,
|
||||
};
|
||||
}
|
||||
|
||||
export function getCron(
|
||||
type: CronType,
|
||||
value: number,
|
||||
date: Date,
|
||||
fallback: string,
|
||||
): string | null {
|
||||
switch (type) {
|
||||
case CronType.ONE_TIME:
|
||||
return ONE_TIME_VALUE;
|
||||
case CronType.EVERY_DAY:
|
||||
return `0 ${value.toFixed(0)} * * *`;
|
||||
case CronType.EVERY_WEEK:
|
||||
return `0 0 * * ${value.toFixed(0)}`;
|
||||
case CronType.EVERY_MONTH:
|
||||
if (value === 32) {
|
||||
return `0 0 L * *`;
|
||||
}
|
||||
if (value < 0 && value >= -7) {
|
||||
return `0 0 * * ${(-value).toFixed(0)}#1`;
|
||||
}
|
||||
if (value < -7 && value >= -14) {
|
||||
return `0 0 * * ${(-value - 7).toFixed(0)}L`;
|
||||
}
|
||||
return `0 0 ${value.toFixed(0)} * *`;
|
||||
case CronType.EVERY_YEAR:
|
||||
return `0 0 1 ${value.toFixed(0)} *`;
|
||||
case CronType.EVERY_N_MONTHS:
|
||||
return new RRule({
|
||||
freq: RRule.MONTHLY,
|
||||
interval: value,
|
||||
dtstart: date,
|
||||
}).toString();
|
||||
case CronType.EVERY_N_WEEKS:
|
||||
return new RRule({
|
||||
freq: RRule.WEEKLY,
|
||||
interval: value,
|
||||
dtstart: date,
|
||||
}).toString();
|
||||
case CronType.EVERY_N_DAYS:
|
||||
return new RRule({
|
||||
freq: RRule.DAILY,
|
||||
interval: value,
|
||||
dtstart: date,
|
||||
}).toString();
|
||||
case CronType.CUSTOM:
|
||||
if (validCron(fallback)) {
|
||||
return fallback;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function dtStartFormat(date: Date): string {
|
||||
return `${date.getFullYear().toFixed(0)}${(date.getMonth() + 1).toFixed(0).padStart(2, "0")}${date.getDate().toFixed(0).padStart(2, "0")}T000000Z`;
|
||||
}
|
||||
|
||||
export function isOneTime(cron: string | null): boolean {
|
||||
return cron === ONE_TIME_VALUE;
|
||||
}
|
||||
|
||||
export function validCron(cron: string): boolean {
|
||||
try {
|
||||
CronExpressionParser.parse(cron);
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export function nextCronReset(
|
||||
date: Date,
|
||||
cron: string | null,
|
||||
hash: string,
|
||||
): Date | null {
|
||||
if (cron === null || isOneTime(cron)) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
if (cron.startsWith("RRULE:")) {
|
||||
try {
|
||||
const rule = new RRule({
|
||||
...RRule.parseString(cron),
|
||||
count: 2,
|
||||
});
|
||||
|
||||
return rule.after(date) ?? null;
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
const interval = CronExpressionParser.parse(cron, {
|
||||
currentDate: date,
|
||||
hashSeed: hash,
|
||||
});
|
||||
return interval.next().toDate();
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+28
-13
@@ -1,6 +1,8 @@
|
||||
import { SortType } from "@/enums";
|
||||
import type { RawTask, Task } from "@/types";
|
||||
import { CronExpressionParser } from "cron-parser";
|
||||
import type { RawTask, Task, TaskCreateData } from "@/types";
|
||||
import { nextCronReset } from "@/lib/recurrence";
|
||||
|
||||
const TEMPORARY_ID = "tmp";
|
||||
|
||||
export function parseTask(task: RawTask): Task {
|
||||
return {
|
||||
@@ -16,24 +18,37 @@ export function parseTask(task: RawTask): Task {
|
||||
};
|
||||
}
|
||||
|
||||
export function newTemporaryTask(data: TaskCreateData): Task {
|
||||
return {
|
||||
id: TEMPORARY_ID,
|
||||
name: data.name,
|
||||
reset_cron: data.reset_cron,
|
||||
created_at: new Date(),
|
||||
updated_at: new Date(),
|
||||
check_date: null,
|
||||
previous_check_date: null,
|
||||
};
|
||||
}
|
||||
|
||||
export function isTemporary(task: Task): boolean {
|
||||
return task.id === TEMPORARY_ID;
|
||||
}
|
||||
|
||||
export function taskNextReset(task: Task): Date | null {
|
||||
if (task.check_date === null || task.reset_cron === null) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
const interval = CronExpressionParser.parse(task.reset_cron, {
|
||||
currentDate: task.check_date,
|
||||
});
|
||||
return interval.next().toDate();
|
||||
} catch {
|
||||
return null;
|
||||
return nextCronReset(task.check_date ?? new Date(), task.reset_cron, task.id);
|
||||
}
|
||||
|
||||
export function taskFutureReset(task: Task): Date | null {
|
||||
return nextCronReset(taskNextReset(task) ?? new Date(), task.reset_cron, task.id);
|
||||
}
|
||||
|
||||
export function taskCompleted(task: Task): boolean {
|
||||
if (task.check_date === null) {
|
||||
return false;
|
||||
}
|
||||
const nextReset = taskNextReset(task);
|
||||
if (nextReset === null) {
|
||||
return task.check_date !== null;
|
||||
return true;
|
||||
}
|
||||
return nextReset.getTime() > new Date().getTime();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
import { ref } from "vue";
|
||||
import { defineStore } from "pinia";
|
||||
import { getCookie, setCookie } from "@/lib/cookies";
|
||||
|
||||
const COOKIE_NAME = "recent-lists";
|
||||
const MAX_RECENT_LISTS = 32;
|
||||
|
||||
export const useListStore = defineStore("lists", () => {
|
||||
const lists = ref<string[]>([]);
|
||||
|
||||
const rawData = getCookie(COOKIE_NAME, "");
|
||||
if (rawData) {
|
||||
lists.value = rawData.split(",");
|
||||
}
|
||||
|
||||
function addList(list: string) {
|
||||
lists.value = [list]
|
||||
.concat(lists.value)
|
||||
.filter((v, i, a) => a.indexOf(v) === i)
|
||||
.slice(0, MAX_RECENT_LISTS);
|
||||
setCookie(COOKIE_NAME, lists.value.join(","));
|
||||
}
|
||||
|
||||
return { lists, addList };
|
||||
});
|
||||
@@ -46,3 +46,8 @@ export interface Alert {
|
||||
created: Date;
|
||||
seconds: number;
|
||||
}
|
||||
|
||||
export interface Metadata {
|
||||
tasks: number;
|
||||
lists: number;
|
||||
}
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
import { ArrowBigRightDashIcon, DicesIcon } from "@lucide/vue";
|
||||
import { useListStore } from "@/stores/lists";
|
||||
import { ArrowBigRightDashIcon, DicesIcon, HistoryIcon } from "@lucide/vue";
|
||||
import { generateSlug } from "random-word-slugs";
|
||||
import { onBeforeMount, ref } from "vue";
|
||||
import { defineAsyncComponent, onBeforeMount, ref } from "vue";
|
||||
import { onBeforeRouteUpdate } from "vue-router";
|
||||
const RecentItem = defineAsyncComponent(
|
||||
() => import("@/components/RecentItem.vue"),
|
||||
);
|
||||
|
||||
const listNameInput = ref<string>(generateSlug(4));
|
||||
|
||||
const { lists: recentLists } = useListStore();
|
||||
|
||||
function onRandom() {
|
||||
listNameInput.value = generateSlug(4);
|
||||
}
|
||||
@@ -19,19 +25,18 @@ function onInput() {
|
||||
}
|
||||
|
||||
function updateTitle() {
|
||||
document.title = 'Tout Doux';
|
||||
document.title = "Tout Doux";
|
||||
}
|
||||
|
||||
onBeforeMount(updateTitle)
|
||||
onBeforeMount(updateTitle);
|
||||
onBeforeRouteUpdate(updateTitle);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="p-4">
|
||||
<div
|
||||
class="mb-4 italic text-xl font-extralight"
|
||||
>{{ $t('home') }}<br/>{{ $t('call_to_action') }}</div>
|
||||
<div class="flex gap-2 mb-4">
|
||||
<div class="italic mt-4 text-xl font-extralight">
|
||||
{{ $t("home") }}<br />{{ $t("call_to_action") }}
|
||||
</div>
|
||||
<div class="flex gap-2 mt-4">
|
||||
<input
|
||||
v-model="listNameInput"
|
||||
type="text"
|
||||
@@ -43,9 +48,9 @@ onBeforeRouteUpdate(updateTitle);
|
||||
<dices-icon />
|
||||
</button>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<div class="mt-4">
|
||||
<router-link
|
||||
class="btn btn-lg px-4"
|
||||
class="btn btn-lg"
|
||||
:class="listNameInput.trim().length === 0 ? 'btn-disabled' : ''"
|
||||
:to="`/${listNameInput.trim()}`"
|
||||
>
|
||||
@@ -53,5 +58,21 @@ onBeforeRouteUpdate(updateTitle);
|
||||
{{ $t("home_button") }}
|
||||
</router-link>
|
||||
</div>
|
||||
<div
|
||||
v-if="recentLists.length"
|
||||
class="mt-4 -mb-4 lh collapse collapse-arrow font-light text-sm"
|
||||
>
|
||||
<input id="recent-dropdown p-0" type="checkbox" />
|
||||
<div class="collapse-title p-0 content-center">
|
||||
<history-icon class="inline" :size="16" />
|
||||
{{ $t("recent") }}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<recent-item
|
||||
v-for="(list, i) in recentLists"
|
||||
:key="`recent-${i}`"
|
||||
:list="list"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
+121
-152
@@ -4,35 +4,40 @@ import type { Task } from "@/types";
|
||||
import { getTasks, createTask, deleteTask } from "@/api/tasks";
|
||||
import {
|
||||
CirclePlusIcon,
|
||||
ArrowDownUpIcon,
|
||||
Settings2Icon,
|
||||
CircleCheckBigIcon,
|
||||
CheckCheckIcon,
|
||||
SearchIcon,
|
||||
Share2Icon
|
||||
Share2Icon,
|
||||
} from "@lucide/vue";
|
||||
const TaskItem = defineAsyncComponent(
|
||||
() => import("@/components/TaskItem.vue"),
|
||||
);
|
||||
import { taskCompleted, sortTasks } from "@/lib/tasks";
|
||||
const ListOptions = defineAsyncComponent(
|
||||
() => import("@/components/ListOptions.vue"),
|
||||
);
|
||||
import { taskCompleted, sortTasks, newTemporaryTask } from "@/lib/tasks";
|
||||
import { SortType } from "@/enums";
|
||||
import { booleanCookieRef, enumCookieRef } from "@/lib/cookies";
|
||||
import { useAlertStore } from "@/stores/alerts";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { onBeforeRouteUpdate, useRoute } from "vue-router";
|
||||
import { onBeforeRouteLeave, onBeforeRouteUpdate, useRoute } from "vue-router";
|
||||
import { shareLink } from "@/lib/share";
|
||||
import { useListStore } from "@/stores/lists";
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
const list = ref<string | null>(null);
|
||||
const loading = ref<boolean>(true);
|
||||
const taskInput = ref<string>("");
|
||||
const tasks = ref<Task[]>([]);
|
||||
const refreshTimeout = ref<number>(0);
|
||||
|
||||
const sortType = enumCookieRef<SortType>("sSortType", SortType.CREATED_AT);
|
||||
const sortReverse = booleanCookieRef("sortReverse", false);
|
||||
const showLastChecked = booleanCookieRef("showLastChecked", false);
|
||||
const showNextReset = booleanCookieRef("showNextReset", false);
|
||||
const separateCompleted = booleanCookieRef("separateCompleted", true);
|
||||
const showMissed = booleanCookieRef("showMissed", true);
|
||||
|
||||
const completedCount = computed<number>(
|
||||
() => tasks.value.filter(taskCompleted).length,
|
||||
@@ -47,14 +52,21 @@ const allCompleted = computed<boolean>(
|
||||
const i18n = useI18n();
|
||||
|
||||
const { alertSuccess, alertError, alertWarning } = useAlertStore();
|
||||
const { addList } = useListStore();
|
||||
|
||||
function fetchTasks() {
|
||||
if (list.value) {
|
||||
function fetchTasks(requestedList: string) {
|
||||
const initialList = list.value;
|
||||
if (list.value === requestedList) {
|
||||
getTasks(list.value)
|
||||
.then((data: Task[]) => {
|
||||
if (list.value === initialList) {
|
||||
tasks.value = data;
|
||||
reSortTasks();
|
||||
setTimeout(fetchTasks, 10000);
|
||||
reSortTasks(true);
|
||||
loading.value = false;
|
||||
refreshTimeout.value = setTimeout(() => {
|
||||
fetchTasks(list.value ?? "");
|
||||
}, 10000);
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
if (tasks.value.length !== 0) {
|
||||
@@ -66,20 +78,28 @@ function fetchTasks() {
|
||||
}
|
||||
}
|
||||
|
||||
function reSortTasks() {
|
||||
function reSortTasks(update = false) {
|
||||
tasks.value = sortTasks(tasks.value, sortType.value, sortReverse.value);
|
||||
if (update) {
|
||||
updateTitle();
|
||||
if (tasks.value.length && list.value) {
|
||||
addList(list.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onNewTask() {
|
||||
if (taskInput.value.trim() && list.value) {
|
||||
createTask(list.value, {
|
||||
if (taskInput.value.trim() && list.value && !loading.value) {
|
||||
const data = {
|
||||
name: taskInput.value.trim(),
|
||||
reset_cron: null,
|
||||
})
|
||||
};
|
||||
const task = newTemporaryTask(data);
|
||||
tasks.value.push(task);
|
||||
reSortTasks(true);
|
||||
createTask(list.value, data)
|
||||
.then((data: Task) => {
|
||||
tasks.value.push(data);
|
||||
reSortTasks();
|
||||
task.id = data.id;
|
||||
alertSuccess(i18n.t("alerts.task_created"));
|
||||
})
|
||||
.catch(() => {
|
||||
@@ -91,14 +111,23 @@ function onNewTask() {
|
||||
}
|
||||
}
|
||||
|
||||
function onUpdateTask() {
|
||||
reSortTasks(true);
|
||||
}
|
||||
|
||||
function onCloneTask(task: Task) {
|
||||
if (list.value) {
|
||||
createTask(list.value, {
|
||||
const data = {
|
||||
name: task.name,
|
||||
reset_cron: task.reset_cron,
|
||||
})
|
||||
};
|
||||
const newTask = newTemporaryTask(data);
|
||||
tasks.value.push(newTask);
|
||||
reSortTasks(true);
|
||||
createTask(list.value, data)
|
||||
.then((data: Task) => {
|
||||
tasks.value.push(data);
|
||||
task.id = data.id;
|
||||
reSortTasks(true);
|
||||
alertSuccess(i18n.t("alerts.task_cloned"));
|
||||
})
|
||||
.catch(() => {
|
||||
@@ -108,6 +137,8 @@ function onCloneTask(task: Task) {
|
||||
}
|
||||
|
||||
function onDeleteTask(task: Task) {
|
||||
tasks.value.splice(tasks.value.indexOf(task), 1);
|
||||
reSortTasks(true);
|
||||
deleteTask(task.id)
|
||||
.then(() => {
|
||||
alertSuccess(i18n.t("alerts.task_deleted"));
|
||||
@@ -115,23 +146,14 @@ function onDeleteTask(task: Task) {
|
||||
.catch(() => {
|
||||
alertError(i18n.t("alerts.task_delete_error"));
|
||||
});
|
||||
|
||||
tasks.value.splice(tasks.value.indexOf(task), 1);
|
||||
}
|
||||
|
||||
function onChangeSortType() {
|
||||
reSortTasks();
|
||||
}
|
||||
|
||||
function onChangeSortReverse() {
|
||||
reSortTasks();
|
||||
}
|
||||
|
||||
function onShare() {
|
||||
if (!empty.value) {
|
||||
shareLink(
|
||||
`Tout Doux - ${list.value ?? ''}`,
|
||||
i18n.t('share_text'),
|
||||
`${document.location.href.split('?')[0] ?? ''}?lang=${i18n.locale.value}`
|
||||
`Tout Doux - ${list.value ?? ""}`,
|
||||
i18n.t("share_text"),
|
||||
`${document.location.href.split("?")[0] ?? ""}?lang=${i18n.locale.value}`,
|
||||
)
|
||||
.then((viaShare) => {
|
||||
if (!viaShare) {
|
||||
@@ -139,94 +161,86 @@ function onShare() {
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
alertError(i18n.t("alerts.share_error"))
|
||||
alertError(i18n.t("alerts.share_error"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function updateTitle() {
|
||||
if (list.value !== null) {
|
||||
document.title = `Tout Doux - ${list.value} (${completedCount.value.toFixed(0)}/${taskCount.value.toFixed(0)})`
|
||||
document.title = `Tout Doux - ${list.value} (${completedCount.value.toFixed(0)}/${taskCount.value.toFixed(0)})`;
|
||||
}
|
||||
}
|
||||
|
||||
onBeforeMount(() => {
|
||||
list.value = (route.params.list as string).slice(0, 128);
|
||||
fetchTasks();
|
||||
fetchTasks(list.value);
|
||||
});
|
||||
|
||||
onBeforeRouteUpdate((to) => {
|
||||
list.value = (to.params.list as string).slice(0, 128);
|
||||
fetchTasks();
|
||||
fetchTasks(list.value);
|
||||
});
|
||||
|
||||
onBeforeRouteLeave(() => {
|
||||
clearTimeout(refreshTimeout.value);
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="list-row italic text-sm font-extralight self-center">
|
||||
<div
|
||||
class="list-row italic text-sm font-extralight self-center"
|
||||
:class="!empty ? 'cursor-pointer hover:underline' : ''"
|
||||
:title="!empty ? $t('share_button') : ''"
|
||||
@click="onShare"
|
||||
>
|
||||
{{ list }}
|
||||
<span v-if="taskCount">({{ completedCount }} / {{ taskCount }})</span>
|
||||
<span v-if="!empty"
|
||||
>({{ completedCount }} / {{ taskCount }}) <share-2-icon
|
||||
class="inline"
|
||||
:size="16"
|
||||
:stroke-width="1"
|
||||
/></span>
|
||||
</div>
|
||||
<ul class="list">
|
||||
<div
|
||||
v-if="!loading && empty"
|
||||
class="mt-4 mb-4 italic text-xl font-extralight"
|
||||
>
|
||||
<search-icon class="inline" />
|
||||
<span v-html="$t('empty_hint')"></span>
|
||||
</div>
|
||||
<div
|
||||
v-else-if="!loading && allCompleted && separateCompleted"
|
||||
class="mt-4 mb-4 italic text-xl font-extralight"
|
||||
>
|
||||
<check-check-icon class="inline" />
|
||||
<span v-html="$t('all_completed_hint')"></span>
|
||||
</div>
|
||||
<ul v-else class="list">
|
||||
<template v-for="(task, i) in tasks" :key="task.id">
|
||||
<li v-if="tasks[i] && (!separateCompleted || !taskCompleted(task))">
|
||||
<task-item
|
||||
v-model="tasks[i]"
|
||||
:show-last-checked="showLastChecked"
|
||||
:show-next-reset="showNextReset"
|
||||
@updated="updateTitle"
|
||||
:show-missed="showMissed"
|
||||
@updated="onUpdateTask"
|
||||
@clone="onCloneTask"
|
||||
@delete="onDeleteTask"
|
||||
/>
|
||||
</li>
|
||||
</template>
|
||||
<li
|
||||
v-if="empty"
|
||||
class="list-row italic text-xl font-extralight self-center"
|
||||
>
|
||||
<span
|
||||
><search-icon class="inline" />
|
||||
<span v-html="$t('empty_hint')"></span
|
||||
></span>
|
||||
</li>
|
||||
<li
|
||||
v-else-if="allCompleted && separateCompleted"
|
||||
class="list-row italic text-xl font-extralight self-center"
|
||||
>
|
||||
<span
|
||||
><check-check-icon class="inline" />
|
||||
<span v-html="$t('all_completed_hint')"></span
|
||||
></span>
|
||||
</li>
|
||||
<li class="list-row">
|
||||
<div class="list-col-grow">
|
||||
<input
|
||||
v-model="taskInput"
|
||||
type="text"
|
||||
:placeholder="$t('new_task_hint')"
|
||||
class="input w-full"
|
||||
@keyup.enter="onNewTask"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<button
|
||||
class="btn btn-square"
|
||||
:disabled="taskInput.trim().length === 0"
|
||||
@click="onNewTask"
|
||||
>
|
||||
<circle-plus-icon />
|
||||
</button>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div
|
||||
v-if="separateCompleted && hasCompleted"
|
||||
class="collapse collapse-arrow"
|
||||
class="collapse collapse-arrow mb-4"
|
||||
>
|
||||
<input id="completed-dropdown" type="checkbox" />
|
||||
<div class="collapse-title mb-0">
|
||||
<input id="completed-dropdown p-0" type="checkbox" />
|
||||
<div class="collapse-title p-0 content-center">
|
||||
<circle-check-big-icon class="inline" :size="24" />
|
||||
{{ $t("completed") }} ({{ completedCount }})
|
||||
</div>
|
||||
<div class="collapse-content p-0">
|
||||
<div class="collapse-content p-0 -mb-4">
|
||||
<ul class="list">
|
||||
<template
|
||||
v-for="(task, i) in tasks"
|
||||
@@ -237,6 +251,7 @@ onBeforeRouteUpdate((to) => {
|
||||
v-model="tasks[i]"
|
||||
:show-last-checked="showLastChecked"
|
||||
:show-next-reset="showNextReset"
|
||||
:show-missed="showMissed"
|
||||
@clone="onCloneTask"
|
||||
@delete="onDeleteTask"
|
||||
/>
|
||||
@@ -245,78 +260,32 @@ onBeforeRouteUpdate((to) => {
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button class="btn btn-sm px-4" @click="onShare">
|
||||
<share-2-icon class="inline" :size="16" /> {{ $t('share_button') }}
|
||||
<div class="flex gap-2">
|
||||
<input
|
||||
v-model="taskInput"
|
||||
type="text"
|
||||
:placeholder="$t('new_task_hint')"
|
||||
class="input grow"
|
||||
@keyup.enter="onNewTask"
|
||||
/>
|
||||
<button
|
||||
class="btn btn-square"
|
||||
:disabled="loading || taskInput.trim().length === 0"
|
||||
:title="$t('add_button')"
|
||||
@click="onNewTask"
|
||||
>
|
||||
<circle-plus-icon />
|
||||
</button>
|
||||
</div>
|
||||
<div class="collapse collapse-arrow font-light text-sm">
|
||||
<input id="options-dropdown" type="checkbox" />
|
||||
<div class="collapse-title">
|
||||
<settings-2-icon class="inline" :size="16" />
|
||||
{{ $t("options.title") }}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<fieldset class="fieldset flex flex-col gap-2">
|
||||
<label class="label">
|
||||
<arrow-down-up-icon class="inline" />
|
||||
{{ $t("options.sort_by") }}
|
||||
<select
|
||||
v-model="sortType"
|
||||
class="select"
|
||||
@change="onChangeSortType"
|
||||
>
|
||||
<option :value="SortType.CREATED_AT">
|
||||
{{ $t("options.sort.created_at") }}
|
||||
</option>
|
||||
<option :value="SortType.UPDATED_AT">
|
||||
{{ $t("options.sort.updated_at") }}
|
||||
</option>
|
||||
<option :value="SortType.CHECK_DATE">
|
||||
{{ $t("options.sort.check_date") }}
|
||||
</option>
|
||||
<option :value="SortType.RESET_DATE">
|
||||
{{ $t("options.sort.reset_date") }}
|
||||
</option>
|
||||
<option :value="SortType.NAME">
|
||||
{{ $t("options.sort.name") }}
|
||||
</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="label">
|
||||
<input
|
||||
v-model="sortReverse"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
@change="onChangeSortReverse"
|
||||
<list-options
|
||||
v-if="!empty"
|
||||
v-model:sort-type="sortType"
|
||||
v-model:sort-reverse="sortReverse"
|
||||
v-model:show-last-checked="showLastChecked"
|
||||
v-model:show-next-reset="showNextReset"
|
||||
v-model:separate-completed="separateCompleted"
|
||||
v-model:show-missed="showMissed"
|
||||
class="mt-4 -mb-4"
|
||||
@change-sort="reSortTasks"
|
||||
/>
|
||||
{{ $t("options.reverse_sort") }}
|
||||
</label>
|
||||
<label class="label">
|
||||
<input
|
||||
v-model="showLastChecked"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
/>
|
||||
{{ $t("options.last_checked") }}
|
||||
</label>
|
||||
<label class="label">
|
||||
<input
|
||||
v-model="showNextReset"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
/>
|
||||
{{ $t("options.next_reset") }}
|
||||
</label>
|
||||
<label class="label">
|
||||
<input
|
||||
v-model="separateCompleted"
|
||||
type="checkbox"
|
||||
class="checkbox"
|
||||
/>
|
||||
{{ $t("options.separate_completed") }}
|
||||
</label>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -4,18 +4,20 @@ import { onBeforeMount } from "vue";
|
||||
import { onBeforeRouteUpdate } from "vue-router";
|
||||
|
||||
function updateTitle() {
|
||||
document.title = 'Tout Doux - Not Found';
|
||||
document.title = "Tout Doux - Not Found";
|
||||
}
|
||||
|
||||
onBeforeMount(updateTitle)
|
||||
onBeforeMount(updateTitle);
|
||||
onBeforeRouteUpdate(updateTitle);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="italic text-xl font-extralight mb-4">
|
||||
<circle-question-mark-icon class="inline" /> {{ $t('not_found') }}
|
||||
<div class="italic text-xl font-extralight mt-4">
|
||||
<circle-question-mark-icon class="inline" /> {{ $t("not_found") }}
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<router-link to="/" class="btn mb-4 px-4">{{ $t('not_found_button') }}</router-link>
|
||||
<div class="w-full mt-4">
|
||||
<router-link to="/" class="btn">{{
|
||||
$t("not_found_button")
|
||||
}}</router-link>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -13,23 +13,23 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "anyio"
|
||||
version = "4.14.1"
|
||||
version = "4.14.2"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "idna" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/3b/72/5562aabb8dd7181e8e860622a38bea08d17842b99ecd4c91f84ac95251b0/anyio-4.14.1.tar.gz", hash = "sha256:8d648a3544c1a700e3ff78615cd679e4c5c3f149904287e73687b2596963629e", size = 254831, upload-time = "2026-06-24T20:56:06.017Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/61/cc/a381afa6efea9f496eff839d4a6a1aed3bfafc7b3ab4b0d1b243a12573dd/anyio-4.14.2.tar.gz", hash = "sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f", size = 260176, upload-time = "2026-07-12T20:29:07.082Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/b0/7b/90df4a0a816d98d6ea26f559d87836d494a2cf1fcf063be67df50a7bcc30/anyio-4.14.1-py3-none-any.whl", hash = "sha256:4e5533c5b8ff0a24f5d7a176cbe6877129cd183893f66b537f8f227d10527d72", size = 124875, upload-time = "2026-06-24T20:56:04.413Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/da/35/f2287558c17e29fafc8ef3daf819bb9834061cfa43bff8014f7df7f63bdc/anyio-4.14.2-py3-none-any.whl", hash = "sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494", size = 125813, upload-time = "2026-07-12T20:29:05.763Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "asgiref"
|
||||
version = "3.11.1"
|
||||
version = "3.12.1"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/63/40/f03da1264ae8f7cfdbf9146542e5e7e8100a4c66ab48e791df9a03d3f6c0/asgiref-3.11.1.tar.gz", hash = "sha256:5f184dc43b7e763efe848065441eac62229c9f7b0475f41f80e207a114eda4ce", size = 38550, upload-time = "2026-02-03T13:30:14.33Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/e6/26/3b59f2bdae5f640389becb1f673cded775287f5fc4f816309d9ca9a3f93d/asgiref-3.12.1.tar.gz", hash = "sha256:59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340", size = 42378, upload-time = "2026-07-14T09:56:18.087Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/5c/0a/a72d10ed65068e115044937873362e6e32fab1b7dce0046aeb224682c989/asgiref-3.11.1-py3-none-any.whl", hash = "sha256:e8667a091e69529631969fd45dc268fa79b99c92c5fcdda727757e52146ec133", size = 24345, upload-time = "2026-02-03T13:30:13.039Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c0/1b/54f4ad77cd8a584fa70746c47df988e002cf1ee1eba43364d46f87803647/asgiref-3.12.1-py3-none-any.whl", hash = "sha256:fe386d1c2bff7259ea95929266d12a8cf9a8b5a1c2598402967d8792e7a7c094", size = 25478, upload-time = "2026-07-14T09:56:16.926Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -278,27 +278,27 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff"
|
||||
version = "0.15.12"
|
||||
version = "0.15.22"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/99/43/3291f1cc9106f4c63bdce7a8d0df5047fe8422a75b091c16b5e9355e0b11/ruff-0.15.12.tar.gz", hash = "sha256:ecea26adb26b4232c0c2ca19ccbc0083a68344180bba2a600605538ce51a40a6", size = 4643852, upload-time = "2026-04-24T18:17:14.305Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/3a/06/ae069393fc66e8ff33036d4b368003833bf6e88ccf182e17e7a2f1c754fd/ruff-0.15.22.tar.gz", hash = "sha256:3f15175b1fb580126f58285a5dae6b2ea89000136d980c64499211f116b54809", size = 4785063, upload-time = "2026-07-16T15:14:13.244Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/c3/6e/e78ffb61d4686f3d96ba3df2c801161843746dcbcbb17a1e927d4829312b/ruff-0.15.12-py3-none-linux_armv6l.whl", hash = "sha256:f86f176e188e94d6bdbc09f09bfd9dc729059ad93d0e7390b5a73efe19f8861c", size = 10640713, upload-time = "2026-04-24T18:17:22.841Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ae/08/a317bc231fb9e7b93e4ef3089501e51922ff88d6936ce5cf870c4fe55419/ruff-0.15.12-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:e3bcd123364c3770b8e1b7baaf343cc99a35f197c5c6e8af79015c666c423a6c", size = 11069267, upload-time = "2026-04-24T18:17:30.105Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/aa/a4/f828e9718d3dce1f5f11c39c4f65afd32783c8b2aebb2e3d259e492c47bd/ruff-0.15.12-py3-none-macosx_11_0_arm64.whl", hash = "sha256:fe87510d000220aa1ed530d4448a7c696a0cae1213e5ec30e5874287b66557b5", size = 10397182, upload-time = "2026-04-24T18:17:07.177Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/71/e0/3310fc6d1b5e1fdea22bf3b1b807c7e187b581021b0d7d4514cccdb5fb71/ruff-0.15.12-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:84a1630093121375a3e2a95b4a6dc7b59e2b4ee76216e32d81aae550a832d002", size = 10758012, upload-time = "2026-04-24T18:16:55.759Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/11/c1/a606911aee04c324ddaa883ae418f3569792fd3c4a10c50e0dd0a2311e1e/ruff-0.15.12-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fb129f40f114f089ebe0ca56c0d251cf2061b17651d464bb6478dc01e69f11f5", size = 10447479, upload-time = "2026-04-24T18:16:51.677Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9d/68/4201e8444f0894f21ab4aeeaee68aa4f10b51613514a20d80bd628d57e88/ruff-0.15.12-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b0c862b172d695db7598426b8af465e7e9ac00a3ea2a3630ee67eb82e366aaa6", size = 11234040, upload-time = "2026-04-24T18:17:16.529Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/34/ff/8a6d6cf4ccc23fd67060874e832c18919d1557a0611ebef03fdb01fff11e/ruff-0.15.12-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2849ea9f3484c3aca43a82f484210370319e7170df4dfe4843395ddf6c57bc33", size = 12087377, upload-time = "2026-04-24T18:17:04.944Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/85/f6/c669cf73f5152f623d34e69866a46d5e6185816b19fcd5b6dd8a2d299922/ruff-0.15.12-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9e77c7e51c07fe396826d5969a5b846d9cd4c402535835fb6e21ce8b28fef847", size = 11367784, upload-time = "2026-04-24T18:17:25.409Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/e8/39/c61d193b8a1daaa8977f7dea9e8d8ba866e02ea7b65d32f6861693aa4c12/ruff-0.15.12-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83b2f4f2f3b1026b5fb449b467d9264bf22067b600f7b6f41fc5958909f449d0", size = 11344088, upload-time = "2026-04-24T18:17:12.258Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c2/8d/49afab3645e31e12c590acb6d3b5b69d7aab5b81926dbaf7461f9441f37a/ruff-0.15.12-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:9ba3b8f1afd7e2e43d8943e55f249e13f9682fde09711644a6e7290eb4f3e339", size = 11271770, upload-time = "2026-04-24T18:17:02.457Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/46/06/33f41fe94403e2b755481cdfb9b7ef3e4e0ed031c4581124658d935d52b4/ruff-0.15.12-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e852ba9fdc890655e1d78f2df1499efbe0e54126bd405362154a75e2bde159c5", size = 10719355, upload-time = "2026-04-24T18:17:27.648Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/0d/59/18aa4e014debbf559670e4048e39260a85c7fcee84acfd761ac01e7b8d35/ruff-0.15.12-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:dd8aed930da53780d22fc70bdf84452c843cf64f8cb4eb38984319c24c5cd5fd", size = 10462758, upload-time = "2026-04-24T18:17:32.347Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/25/e7/cc9f16fd0f3b5fddcbd7ec3d6ae30c8f3fde1047f32a4093a98d633c6570/ruff-0.15.12-py3-none-musllinux_1_2_i686.whl", hash = "sha256:01da3988d225628b709493d7dc67c3b9b12c0210016b08690ef9bd27970b262b", size = 10953498, upload-time = "2026-04-24T18:17:20.674Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/72/7a/a9ba7f98c7a575978698f4230c5e8cc54bbc761af34f560818f933dafa0c/ruff-0.15.12-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:9cae0f92bd5700d1213188b31cd3bdd2b315361296d10b96b8e2337d3d11f53e", size = 11447765, upload-time = "2026-04-24T18:17:09.755Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ea/f9/0ae446942c846b8266059ad8a30702a35afae55f5cdc54c5adf8d7afdc27/ruff-0.15.12-py3-none-win32.whl", hash = "sha256:d0185894e038d7043ba8fd6aee7499ece6462dc0ea9f1e260c7451807c714c20", size = 10657277, upload-time = "2026-04-24T18:17:18.591Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/33/f1/9614e03e1cdcbf9437570b5400ced8a720b5db22b28d8e0f1bda429f660d/ruff-0.15.12-py3-none-win_amd64.whl", hash = "sha256:c87a162d61ab3adca47c03f7f717c68672edec7d1b5499e652331780fe74950d", size = 11837758, upload-time = "2026-04-24T18:17:00.113Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c0/98/6beb4b351e472e5f4c4613f7c35a5290b8be2497e183825310c4c3a3984b/ruff-0.15.12-py3-none-win_arm64.whl", hash = "sha256:a538f7a82d061cee7be55542aca1d86d1393d55d81d4fcc314370f4340930d4f", size = 11120821, upload-time = "2026-04-24T18:16:57.979Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/23/18/ee54b7ae1e121be7a28ea6da4b67564ebb0530e183a54415ab7e3bcd2c4e/ruff-0.15.22-py3-none-linux_armv6l.whl", hash = "sha256:44423e73493737f5e7c5b41d475483898ff37afcdae38bc3da5085e29af1c2d8", size = 10781258, upload-time = "2026-07-16T15:13:19.452Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/2f/d2/2520cb14761ddbeaf57642a76942fc36adcbdbe53b4532241995f6fc485c/ruff-0.15.22-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b82c6482946e9eda7ff2e091d25b8bad3f718684e1916d41bd56873cee05b697", size = 10999477, upload-time = "2026-07-16T15:13:23.318Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c9/10/74e53572aa758dfaa678c2a2646b5c5515d884b7ca56be4d2ce03ca4b560/ruff-0.15.22-py3-none-macosx_11_0_arm64.whl", hash = "sha256:11c1c715af53a09f714e011106bffc419751ec8232fcb5da42173284ea3fec6f", size = 10466716, upload-time = "2026-07-16T15:13:26.162Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1e/cc/44eaaf0844e028182f2d0a8f2190d0f359159aed0a9e5ab861d892f1ae2a/ruff-0.15.22-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:742a29cf29bddb7c8327895d6a10e0e6c5b38a96dd407af9b5d0857f809c0576", size = 10892644, upload-time = "2026-07-16T15:13:29.229Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9f/21/8edf559014d2b0f82beea19cfb713993ad802ccda16868769979c6090a84/ruff-0.15.22-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72af58b951b0ae395935ae79763dc349bc0eb706319d28f7a33ad2cfb3cfc178", size = 10576719, upload-time = "2026-07-16T15:13:32.35Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/bf/1e/3a13abd392a3b50b62e5938a831f9ab6e588358cacad5c18545b716d2182/ruff-0.15.22-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62d425005c1835eb24e2ee4161cb90e8db263415f4a71c8c72c33abaa6c0c224", size = 11376494, upload-time = "2026-07-16T15:13:35.958Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/bf/3e/422d3d95bcf04dd78e1aeac22184d4f9a8fb2c01865d39d44618484a0317/ruff-0.15.22-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e8b9b3f8779a4f08c969defc3c8c35abffaa757e601ed5ae66d6d1db6519969a", size = 12208370, upload-time = "2026-07-16T15:13:39.185Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1e/91/5d065a0e0a02bf4813f5119ad278462eed081d2b832eb7c021ade0ec9e65/ruff-0.15.22-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1e0dd1b2e4d3d585f897a0d137cbf4eaf6223bef4e8ce34d6bb12556c5f9249e", size = 11581098, upload-time = "2026-07-16T15:13:42.132Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f6/f9/a0d4871d12fae702eb1f41b686caf05f1f8b124dc6db6f784f53d74918fa/ruff-0.15.22-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:365523eb91d9224e1bcb03b022fbf0facb8f9e23792a2c53d9d4b3924bdbdebb", size = 11399422, upload-time = "2026-07-16T15:13:45.2Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/18/80/c843a5176cddbceb0b7e8dd41cf9993490796c1c469348d384f5a5c13c56/ruff-0.15.22-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:fabfd168afdf29fee5be98b831efa9683c94d7c5a3b58b9ce5a2e38444589a74", size = 11381683, upload-time = "2026-07-16T15:13:48.46Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d4/00/8485de0ae92239438a36cfc51350db9b9e85c9ebdfaea91b18e422706662/ruff-0.15.22-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:225dbf095a87f1d9f90f5fd7924d2613ee452a75a4308c63a8f50f761787aa7c", size = 10850295, upload-time = "2026-07-16T15:13:51.655Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/fa/91/24977ec2ec72eaf15e4394ace2959fdff2dd1e14f03e005e838023407169/ruff-0.15.22-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1877d63b9d24ed278744f1523fd11b85540566d54641f97c566d7d9dc5ca5296", size = 10579640, upload-time = "2026-07-16T15:13:54.79Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9c/47/9b51216951974df1f263ac19da550d34252e0ed7218c25f10c5ef9ed7517/ruff-0.15.22-py3-none-musllinux_1_2_i686.whl", hash = "sha256:a1606c510bd7215680d32efab38965f7cdec3ef69f5170a3f4791404ffdd5262", size = 11105077, upload-time = "2026-07-16T15:13:57.915Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c2/47/20e9d4a3b8016778acea5fc32bb50d35d207500a17ddb529ffa6996feef8/ruff-0.15.22-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:630479b18625f5ffc373f77603a22a9f8ac0acd7ff0501178b5db28ec71e9c64", size = 11490980, upload-time = "2026-07-16T15:14:01.032Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4d/76/3f72d8fc38c1cb77b38c56a70da9d0c17700cc1cc50f9649c9d3c8f5ba71/ruff-0.15.22-py3-none-win32.whl", hash = "sha256:e5ba0e4a13fd14abbed2a77b517a3911290c6c6c59ef67784328d1668fab76cf", size = 10789165, upload-time = "2026-07-16T15:14:04.16Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/cb/46/4965251734c2b6fcdca1b1b187d20bcac3af0ee5b083b89c910bb961ce3a/ruff-0.15.22-py3-none-win_amd64.whl", hash = "sha256:9be63ba1eb936acd2d1342fb8337c356353706fce233b2a15a09a97037e6acde", size = 11938297, upload-time = "2026-07-16T15:14:07.316Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/57/c9/e69b1ff4c8b69093ef08b8919ab767af0569666865b39c30a8795d88d3c6/ruff-0.15.22-py3-none-win_arm64.whl", hash = "sha256:e1168075b72158510839f250027659cdd78476f40507dd517892304c41318661", size = 11298172, upload-time = "2026-07-16T15:14:10.51Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -323,7 +323,7 @@ asyncpg = [
|
||||
|
||||
[[package]]
|
||||
name = "tout-doux"
|
||||
version = "1.0.2"
|
||||
version = "1.7.1"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "flask", extra = ["async"] },
|
||||
|
||||
Reference in New Issue
Block a user