Add calendar toolbox with weekly and monthly scheduling
All checks were successful
Deploy Sokko G / deploy (push) Successful in 14s

This commit is contained in:
Shinuwa 2026-08-20 15:48:24 +02:00
parent 4f73e0068b
commit 992665f4ea
39 changed files with 4331 additions and 36 deletions

View file

@ -40,6 +40,165 @@
"id": "m9",
"type": "timer"
},
{
"id": "md",
"type": "calendar",
"title": "Calendrier hebdomadaire",
"controls": [
{
"group": "Contrôles",
"icon": "calendar",
"title": "Bouton changement de couleur",
"preview": {
"kind": "color"
}
},
{
"group": "Contrôles",
"icon": "refresh",
"title": "Répéter les événements",
"preview": {
"kind": "switch",
"icon": "refresh",
"active": true
}
},
{
"group": "Contrôles",
"icon": "eye-closed",
"title": "Masquer / Afficher les heures inutiles",
"preview": {
"kind": "switch",
"icon": "eye-closed"
}
},
{
"group": "Contrôles",
"icon": "sound-mute",
"title": "Alerte désactivée",
"preview": {
"kind": "iconButton",
"icon": "sound-mute"
}
},
{
"group": "Contrôles",
"icon": "sound-min",
"title": "Alerte sur la page",
"preview": {
"kind": "iconButton",
"icon": "sound-min"
}
},
{
"group": "Contrôles",
"icon": "sound-max",
"title": "Alerte sur le site",
"preview": {
"kind": "iconButton",
"icon": "sound-max"
}
},
{
"group": "Contrôles",
"icon": "trash",
"title": "Bouton supprimer",
"preview": {
"kind": "iconButton",
"icon": "trash",
"danger": true
}
}
],
"importFormat": {
"text": "Exemple texte du calendrier hebdomadaire de démonstration.",
"example": "@viewMode: week\nevent | title=Uturi | day=lundi | start=00:15 | end=00:20\nevent | title=Uturi | day=lundi | start=16:00 | end=16:05\nevent | title=Uturi | day=mardi | start=19:00 | end=19:05\nevent | title=Uturi | day=mercredi | start=22:15 | end=22:20\nevent | title=Uturi | day=jeudi | start=00:15 | end=00:20\nevent | title=Uturi | day=vendredi | start=12:00 | end=12:05\nevent | title=Uturi | day=samedi | start=02:00 | end=02:05\nevent | title=Uturi | day=dimanche | start=12:00 | end=12:05\nevent | title=Garmoth | color=pink | day=lundi | start=14:00 | end=14:05\nevent | title=Garmoth | color=pink | day=mardi | start=14:00 | end=14:05\nevent | title=Garmoth | color=pink | day=mercredi | start=14:00 | end=14:05\nevent | title=Garmoth | color=pink | day=jeudi | start=14:00 | end=14:05\nevent | title=Garmoth | color=pink | day=vendredi | start=14:00 | end=14:05\nevent | title=Garmoth | color=pink | day=samedi | start=14:00 | end=14:05\nevent | title=Garmoth | color=pink | day=dimanche | start=14:00 | end=14:05\nevent | title=Garmoth | color=pink | day=lundi | start=23:15 | end=23:20\nevent | title=Garmoth | color=pink | day=mardi | start=23:15 | end=23:20\nevent | title=Garmoth | color=pink | day=mercredi | start=23:15 | end=23:20\nevent | title=Garmoth | color=pink | day=jeudi | start=23:15 | end=23:20\nevent | title=Garmoth | color=pink | day=vendredi | start=23:15 | end=23:20\nevent | title=Garmoth | color=pink | day=dimanche | start=23:15 | end=23:20\nevent | title=Garmoth | color=pink | day=dimanche | start=19:15 | end=19:20\nevent | title=Vell | color=cyan | day=mercredi | start=19:00 | end=19:05\nevent | title=Vell | color=cyan | day=dimanche | start=16:00 | end=16:05\nevent | title=Maintenance | color=gold | day=jeudi | start=10:00 | end=14:00"
}
},
{
"id": "me",
"type": "calendar",
"title": "Calendrier mensuel",
"controls": [
{
"group": "Contrôles",
"icon": "calendar",
"title": "Bouton changement de couleur",
"preview": {
"kind": "color"
}
},
{
"group": "Contrôles",
"icon": "day-number",
"title": "Numéro de jour",
"preview": {
"kind": "iconButton",
"icon": "day-number"
}
},
{
"group": "Contrôles",
"icon": "day-name",
"title": "Nom de jour",
"preview": {
"kind": "iconButton",
"icon": "day-name"
}
},
{
"group": "Contrôles",
"icon": "refresh",
"title": "Répéter les événements",
"preview": {
"kind": "switch",
"icon": "refresh",
"active": true
}
},
{
"group": "Contrôles",
"icon": "sound-mute",
"title": "Alerte désactivée",
"preview": {
"kind": "iconButton",
"icon": "sound-mute"
}
},
{
"group": "Contrôles",
"icon": "sound-min",
"title": "Alerte sur la page",
"preview": {
"kind": "iconButton",
"icon": "sound-min"
}
},
{
"group": "Contrôles",
"icon": "sound-max",
"title": "Alerte sur le site",
"preview": {
"kind": "iconButton",
"icon": "sound-max"
}
},
{
"group": "Contrôles",
"icon": "trash",
"title": "Bouton supprimer",
"preview": {
"kind": "iconButton",
"icon": "trash",
"danger": true
}
}
],
"importFormat": {
"text": "Exemple texte du calendrier mensuel de démonstration.",
"example": "@viewMode: month\nevent | title=Double EXP 1er Week end du mois | repeatBy=weekday | repeat=none | startDate=2026-08-01 | endDate=2026-08-02\nevent | title=Event de drop rare | color=gold | repeatBy=weekday | repeat=none | startDate=2026-08-18 | endDate=2026-08-25\nevent | title=Maintenance | color=pink | repeatBy=weekday | repeat=weekly | startDate=2026-08-04\nevent | title=Récompenses du 15 | color=green | repeatBy=monthDay | repeat=none | startDate=2026-08-15"
}
},
{
"id": "ma",
"type": "taskPlanner"
@ -54,8 +213,8 @@
}
],
"moduleOrder": {
"one": ["m1", "m2", "m3", "m4", "m5", "m6", "m7", "m8", "m9", "ma", "mb", "mc"],
"two": [["m1", "m2", "m3", "m4", "m5", "m6"], ["m7", "m8", "m9", "ma", "mb", "mc"]]
"one": ["m1", "m2", "m3", "m4", "m5", "m6", "m7", "m8", "m9", "md", "me", "ma", "mb", "mc"],
"two": [["m1", "m2", "m3", "m4", "m5", "m6", "ma"], ["m7", "m8", "m9", "md", "me", "mb", "mc"]]
},
"updatedAt": "2026-08-09T07:34:31.425Z",
"moduleColumns": 1
@ -1325,6 +1484,238 @@
}
]
},
"md": {
"initialized": true,
"events": [
{
"id": "hdl7oex",
"title": "Uturi",
"startMinutes": 15,
"dayIndex": 0,
"endMinutes": 20
},
{
"id": "hgdodzy",
"title": "Uturi",
"startMinutes": 960,
"dayIndex": 0,
"endMinutes": 965
},
{
"id": "hy95mcm",
"title": "Uturi",
"startMinutes": 1140,
"dayIndex": 1,
"endMinutes": 1145
},
{
"id": "hs2tg2h",
"title": "Uturi",
"startMinutes": 1335,
"dayIndex": 2,
"endMinutes": 1340
},
{
"id": "hv903h8",
"title": "Uturi",
"startMinutes": 15,
"dayIndex": 3,
"endMinutes": 20
},
{
"id": "hanpqlt",
"title": "Uturi",
"startMinutes": 720,
"dayIndex": 4,
"endMinutes": 725
},
{
"id": "h0e6ma2",
"title": "Uturi",
"startMinutes": 120,
"dayIndex": 5,
"endMinutes": 125
},
{
"id": "hc3ocs0",
"title": "Uturi",
"startMinutes": 720,
"dayIndex": 6,
"endMinutes": 725
},
{
"id": "hv1i4lf",
"title": "Garmoth",
"startMinutes": 840,
"dayIndex": 0,
"endMinutes": 845,
"color": "pink"
},
{
"id": "h1uz1u2",
"title": "Garmoth",
"startMinutes": 840,
"dayIndex": 1,
"endMinutes": 845,
"color": "pink"
},
{
"id": "hdci41f",
"title": "Garmoth",
"startMinutes": 840,
"dayIndex": 2,
"endMinutes": 845,
"color": "pink"
},
{
"id": "h08ha51",
"title": "Garmoth",
"startMinutes": 840,
"dayIndex": 3,
"endMinutes": 845,
"color": "pink"
},
{
"id": "hnz11qv",
"title": "Garmoth",
"startMinutes": 840,
"dayIndex": 4,
"endMinutes": 845,
"color": "pink"
},
{
"id": "h2dexvq",
"title": "Garmoth",
"startMinutes": 840,
"dayIndex": 5,
"endMinutes": 845,
"color": "pink"
},
{
"id": "hq9ctue",
"title": "Garmoth",
"startMinutes": 840,
"dayIndex": 6,
"endMinutes": 845,
"color": "pink"
},
{
"id": "hfq7scf",
"title": "Garmoth",
"startMinutes": 1395,
"dayIndex": 0,
"endMinutes": 1400,
"color": "pink"
},
{
"id": "hfbeg1y",
"title": "Garmoth",
"startMinutes": 1395,
"dayIndex": 1,
"endMinutes": 1400,
"color": "pink"
},
{
"id": "h2gfv4o",
"title": "Garmoth",
"startMinutes": 1395,
"dayIndex": 2,
"endMinutes": 1400,
"color": "pink"
},
{
"id": "hjjzqfz",
"title": "Garmoth",
"startMinutes": 1395,
"dayIndex": 3,
"endMinutes": 1400,
"color": "pink"
},
{
"id": "h1h2zsd",
"title": "Garmoth",
"startMinutes": 1395,
"dayIndex": 4,
"endMinutes": 1400,
"color": "pink"
},
{
"id": "ht08lsw",
"title": "Garmoth",
"startMinutes": 1395,
"dayIndex": 6,
"endMinutes": 1400,
"color": "pink"
},
{
"id": "h8k8cbm",
"title": "Garmoth",
"startMinutes": 1155,
"dayIndex": 6,
"endMinutes": 1160,
"color": "pink"
},
{
"id": "hzq4r4v",
"title": "Vell",
"startMinutes": 1140,
"dayIndex": 2,
"endMinutes": 1145,
"color": "cyan"
},
{
"id": "hxq7o9p",
"title": "Vell",
"startMinutes": 960,
"dayIndex": 6,
"endMinutes": 965,
"color": "cyan"
},
{
"id": "hfkycds",
"title": "Maintenance",
"startMinutes": 600,
"dayIndex": 3,
"endMinutes": 840,
"color": "gold"
}
]
},
"me": {
"initialized": true,
"viewMode": "month",
"events": [
{
"id": "hpnato7",
"title": "Double EXP 1er Week end du mois",
"startDate": "2026-08-01",
"endDate": "2026-08-02",
"monthlyRepeatBy": "weekday"
},
{
"id": "hdygtpx",
"title": "Event de drop rare",
"startDate": "2026-08-18",
"endDate": "2026-08-25",
"monthlyRepeatBy": "weekday",
"color": "gold"
},
{
"id": "hy8bjtd",
"title": "Maintenance",
"startDate": "2026-08-04",
"repeat": "weekly",
"monthlyRepeatBy": "weekday",
"color": "pink"
},
{
"id": "hytouda",
"title": "Récompenses du 15",
"startDate": "2026-08-15",
"color": "green"
}
]
},
"ma": {
"lastResetAt": 1786226400000,
"hideCompleted": true,