From f1a726550eb18a2109b80bd903d0c74ac33bdbda Mon Sep 17 00:00:00 2001 From: drone Date: Fri, 9 Sep 2022 00:31:14 +0000 Subject: [PATCH 01/16] [skip ci] Updated translations via Crowdin --- src/i18n/lang/ca-ES.json | 3 ++- src/i18n/lang/cs-CZ.json | 3 ++- src/i18n/lang/de-DE.json | 3 ++- src/i18n/lang/de-swiss.json | 3 ++- src/i18n/lang/es-ES.json | 3 ++- src/i18n/lang/fr-FR.json | 3 ++- src/i18n/lang/it-IT.json | 3 ++- src/i18n/lang/nl-NL.json | 3 ++- src/i18n/lang/pl-PL.json | 3 ++- src/i18n/lang/pt-BR.json | 3 ++- src/i18n/lang/pt-PT.json | 3 ++- src/i18n/lang/ro-RO.json | 3 ++- src/i18n/lang/ru-RU.json | 3 ++- src/i18n/lang/sk-SK.json | 3 ++- src/i18n/lang/sv-SE.json | 3 ++- src/i18n/lang/tr-TR.json | 3 ++- src/i18n/lang/vi-VN.json | 3 ++- src/i18n/lang/zh-CN.json | 3 ++- 18 files changed, 36 insertions(+), 18 deletions(-) diff --git a/src/i18n/lang/ca-ES.json b/src/i18n/lang/ca-ES.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/ca-ES.json +++ b/src/i18n/lang/ca-ES.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/cs-CZ.json b/src/i18n/lang/cs-CZ.json index b61efb83d..8caa713da 100644 --- a/src/i18n/lang/cs-CZ.json +++ b/src/i18n/lang/cs-CZ.json @@ -870,7 +870,8 @@ "related": "Upravit související úkoly tohoto úkolu", "color": "Změnit barvu tohoto úkolu", "move": "Přesunout tento úkol do jiného seznamu", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "Zobrazení seznamů", diff --git a/src/i18n/lang/de-DE.json b/src/i18n/lang/de-DE.json index d33a1b1ed..871eef437 100644 --- a/src/i18n/lang/de-DE.json +++ b/src/i18n/lang/de-DE.json @@ -870,7 +870,8 @@ "related": "Ändere die Abhängigen Aufgaben dieser Aufgabe", "color": "Die Farbe dieser Aufgabe ändern", "move": "Diese Aufgabe in eine andere Liste verschieben", - "reminder": "Erinnerungen für diese Aufgabe verwalten" + "reminder": "Erinnerungen für diese Aufgabe verwalten", + "description": "Aufgabenbeschreibung bearbeiten" }, "list": { "title": "Listenansicht", diff --git a/src/i18n/lang/de-swiss.json b/src/i18n/lang/de-swiss.json index 9559ce092..e03064834 100644 --- a/src/i18n/lang/de-swiss.json +++ b/src/i18n/lang/de-swiss.json @@ -870,7 +870,8 @@ "related": "Beziehige vo dere Uufgab bearbeite", "color": "Die Farbe dieser Aufgabe ändern", "move": "Diese Aufgabe in eine andere Liste verschieben", - "reminder": "Erinnerungen für diese Aufgabe verwalten" + "reminder": "Erinnerungen für diese Aufgabe verwalten", + "description": "Aufgabenbeschreibung bearbeiten" }, "list": { "title": "Listenansicht", diff --git a/src/i18n/lang/es-ES.json b/src/i18n/lang/es-ES.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/es-ES.json +++ b/src/i18n/lang/es-ES.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/fr-FR.json b/src/i18n/lang/fr-FR.json index 7a9b0c499..e52f1feea 100644 --- a/src/i18n/lang/fr-FR.json +++ b/src/i18n/lang/fr-FR.json @@ -870,7 +870,8 @@ "related": "Modifier les tâches connexes de cette tâche", "color": "Changer la couleur de cette tâche", "move": "Déplacer cette tâche dans une autre liste", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "Vues en liste", diff --git a/src/i18n/lang/it-IT.json b/src/i18n/lang/it-IT.json index ad858ea38..a67c39159 100644 --- a/src/i18n/lang/it-IT.json +++ b/src/i18n/lang/it-IT.json @@ -870,7 +870,8 @@ "related": "Modifica le attività collegate a questa", "color": "Cambia il colore di questa attività", "move": "Sposta questa attività in un altro elenco", - "reminder": "Gestisci i promemoria di questa attività" + "reminder": "Gestisci i promemoria di questa attività", + "description": "Toggle editing of the task description" }, "list": { "title": "Viste Liste", diff --git a/src/i18n/lang/nl-NL.json b/src/i18n/lang/nl-NL.json index 2cab9e4c6..0354cc789 100644 --- a/src/i18n/lang/nl-NL.json +++ b/src/i18n/lang/nl-NL.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/pl-PL.json b/src/i18n/lang/pl-PL.json index a8e14528a..d4778c032 100644 --- a/src/i18n/lang/pl-PL.json +++ b/src/i18n/lang/pl-PL.json @@ -870,7 +870,8 @@ "related": "Zmodyfikuj zadania powiązane z tym zadaniem", "color": "Zmień kolor tego zadania", "move": "Przenieś to zadanie do innej listy", - "reminder": "Zarządzaj przypomnieniami o tym zadaniu" + "reminder": "Zarządzaj przypomnieniami o tym zadaniu", + "description": "Toggle editing of the task description" }, "list": { "title": "Widoki listy", diff --git a/src/i18n/lang/pt-BR.json b/src/i18n/lang/pt-BR.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/pt-BR.json +++ b/src/i18n/lang/pt-BR.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/pt-PT.json b/src/i18n/lang/pt-PT.json index 35ea1b118..aea13e960 100644 --- a/src/i18n/lang/pt-PT.json +++ b/src/i18n/lang/pt-PT.json @@ -870,7 +870,8 @@ "related": "Modificar as tarefas relacionadas desta tarefa", "color": "Alterar a cor desta tarefa", "move": "Mover esta tarefa para outra lista", - "reminder": "Gerir lembretes desta tarefa" + "reminder": "Gerir lembretes desta tarefa", + "description": "Toggle editing of the task description" }, "list": { "title": "Visualização em Lista", diff --git a/src/i18n/lang/ro-RO.json b/src/i18n/lang/ro-RO.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/ro-RO.json +++ b/src/i18n/lang/ro-RO.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/ru-RU.json b/src/i18n/lang/ru-RU.json index bc929b968..e42bb8026 100644 --- a/src/i18n/lang/ru-RU.json +++ b/src/i18n/lang/ru-RU.json @@ -870,7 +870,8 @@ "related": "Изменить связанные задачи", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/sk-SK.json b/src/i18n/lang/sk-SK.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/sk-SK.json +++ b/src/i18n/lang/sk-SK.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/sv-SE.json b/src/i18n/lang/sv-SE.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/sv-SE.json +++ b/src/i18n/lang/sv-SE.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/tr-TR.json b/src/i18n/lang/tr-TR.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/tr-TR.json +++ b/src/i18n/lang/tr-TR.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", diff --git a/src/i18n/lang/vi-VN.json b/src/i18n/lang/vi-VN.json index d7eb1f457..ccca88d6f 100644 --- a/src/i18n/lang/vi-VN.json +++ b/src/i18n/lang/vi-VN.json @@ -870,7 +870,8 @@ "related": "Sửa đổi các công việc liên kết", "color": "Thay đổi màu công việc này", "move": "Dời công việc này sang danh sách khác", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "Xem danh sách", diff --git a/src/i18n/lang/zh-CN.json b/src/i18n/lang/zh-CN.json index 6862cf750..250f90d60 100644 --- a/src/i18n/lang/zh-CN.json +++ b/src/i18n/lang/zh-CN.json @@ -870,7 +870,8 @@ "related": "Modify related tasks of this task", "color": "Change the color of this task", "move": "Move this task to another list", - "reminder": "Manage reminders of this task" + "reminder": "Manage reminders of this task", + "description": "Toggle editing of the task description" }, "list": { "title": "List Views", From 65f9def4387595959ed0deea92a3009517436636 Mon Sep 17 00:00:00 2001 From: renovate Date: Fri, 9 Sep 2022 06:57:05 +0000 Subject: [PATCH 02/16] chore(deps): update dependency typescript to v4.8.3 (#2341) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2341 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a860f8d3c..78b714cdb 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "rollup": "2.79.0", "rollup-plugin-visualizer": "5.8.1", "sass": "1.54.9", - "typescript": "4.8.2", + "typescript": "4.8.3", "vite": "3.1.0", "vite-plugin-pwa": "0.12.7", "vite-svg-loader": "3.6.0", diff --git a/yarn.lock b/yarn.lock index a70c2b43f..cb2065139 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12223,10 +12223,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@4.8.2: - version "4.8.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.2.tgz#e3b33d5ccfb5914e4eeab6699cf208adee3fd790" - integrity sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw== +typescript@4.8.3: + version "4.8.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" + integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== typescript@^4.5.4: version "4.5.5" From add080d21422a6a901934c112b38c964435b444e Mon Sep 17 00:00:00 2001 From: drone Date: Sat, 10 Sep 2022 00:31:03 +0000 Subject: [PATCH 03/16] [skip ci] Updated translations via Crowdin --- src/i18n/lang/it-IT.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/i18n/lang/it-IT.json b/src/i18n/lang/it-IT.json index a67c39159..4f89f0401 100644 --- a/src/i18n/lang/it-IT.json +++ b/src/i18n/lang/it-IT.json @@ -87,7 +87,7 @@ "language": "Lingua", "defaultList": "Lista predefinita", "timezone": "Fuso Orario", - "overdueTasksRemindersTime": "Orario email del promemoria attività in ritardo" + "overdueTasksRemindersTime": "Orario email attività in scadute" }, "totp": { "title": "Autenticazione a due fattori", @@ -562,12 +562,12 @@ } }, "datemathHelp": { - "canuse": "You can use date math to filter for relative dates.", + "canuse": "Puoi usare le date calcolate per filtrare per date relative.", "learnhow": "Scopri come funziona", - "title": "Date Math", - "intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.", - "expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.", - "similar": "These expressions are similar to the ones provided by {0} and {1}.", + "title": "Date Calcolate", + "intro": "Le Date Calcolate ti permettono di specificare date relative che vengono calcolate al volo da Vikunja quando viene applicato il filtro.", + "expression": "Ogni Data Calcolata inizia con una data base, che può essere {0}, o una data con {1} alla fine. Questa data base può essere seguita da una o più espressioni matematiche.", + "similar": "Queste espressioni sono simili a quelle fornite da {0} e {1}.", "add1Day": "Aggiungi un giorno", "minus1Day": "Sottrai un giorno", "roundDay": "Arrotonda per difetto al giorno più vicino", @@ -781,7 +781,7 @@ "weeks": "Settimane", "months": "Mesi", "years": "Anni", - "invalidAmount": "Please enter more than 0." + "invalidAmount": "Inserisci più di 0." }, "quickAddMagic": { "hint": "Puoi usare l'Aggiunta Rapida Magica", @@ -791,15 +791,15 @@ "multiple": "Puoi usarlo più volte.", "label1": "Per aggiungere un'etichetta, basta aggiungere il nome dell'etichetta preceduto da {prefix}.", "label2": "Vikunja controllerà prima se l'etichetta esiste già e nel caso la creerà.", - "label3": "To use spaces, simply add a \" or ' around the label name.", + "label3": "Per usare gli spazi, basta aggiungere un \" o ' prima e dopo il nome dell'etichetta.", "label4": "Per esempio: {prefix}\"Etichetta con spazi\".", "priority1": "Per impostare la priorità di un'attività, aggiungi un numero 1-5, preceduto da {prefix}.", "priority2": "Più alto è il numero, più alta è la priorità.", "assignees": "Per assegnare direttamente l'attività a un utente, aggiungere il suo nome utente preceduto da {prefix} all'attività.", "list1": "Per impostare una lista di appartenenza all'attività, inserisci il suo nome prefisso con {prefix}.", "list2": "Ciò restituirà un errore se la lista non esiste.", - "list3": "To use spaces, simply add a \" or ' around the list name.", - "list4": "For example: {prefix}\"List with spaces\".", + "list3": "Per usare gli spazi, basta aggiungere un \" o ' prima e dopo il nome della lista.", + "list4": "Per esempio: {prefix}\"Etichetta con spazi\".", "dateAndTime": "Data e ora", "date": "Qualsiasi data verrà utilizzata come data di scadenza della nuova attività. È possibile utilizzare le date in uno qualsiasi di questi formati:", "dateWeekday": "qualsiasi giorno della settimana, userà la data più vicina", @@ -871,7 +871,7 @@ "color": "Cambia il colore di questa attività", "move": "Sposta questa attività in un altro elenco", "reminder": "Gestisci i promemoria di questa attività", - "description": "Toggle editing of the task description" + "description": "Attiva/Disattiva modifica della descrizione dell'attività" }, "list": { "title": "Viste Liste", From 38d72b59df6faf366af2e1f866125a37001ef990 Mon Sep 17 00:00:00 2001 From: renovate Date: Sat, 10 Sep 2022 08:02:50 +0000 Subject: [PATCH 04/16] chore(deps): update dependency vitest to v0.23.2 --- package.json | 2 +- yarn.lock | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 78b714cdb..11767f979 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "vite": "3.1.0", "vite-plugin-pwa": "0.12.7", "vite-svg-loader": "3.6.0", - "vitest": "0.23.1", + "vitest": "0.23.2", "vue-tsc": "0.40.13", "wait-on": "6.0.1", "workbox-cli": "6.5.4" diff --git a/yarn.lock b/yarn.lock index cb2065139..0c0d41918 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11941,15 +11941,15 @@ timed-out@^4.0.1: resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= -tinybench@^2.1.3: - version "2.1.4" - resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.1.4.tgz#07121795c6a15fcbdcf02ab0d2ce329b1b6145a3" - integrity sha512-NFWIw2Gg7EUPdeE8nL1Dc7AMVlk7sOr2PmSNKVuQrZ0YwTOFoshPQ+hcLrgnhK8dTP3FWMCJaf4N+/hXp6lKPw== +tinybench@^2.1.5: + version "2.1.5" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.1.5.tgz#6864341415ff0f912ed160cfd90b7f833ece674c" + integrity sha512-ak+PZZEuH3mw6CCFOgf5S90YH0MARnZNhxjhjguAmoJimEMAJuNip/rJRd6/wyylHItomVpKTzZk9zrhTrQCoQ== -tinypool@^0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-0.2.4.tgz#4d2598c4689d1a2ce267ddf3360a9c6b3925a20c" - integrity sha512-Vs3rhkUH6Qq1t5bqtb816oT+HeJTXfwt2cbPH17sWHIYKTotQIFPk3tf2fgqRrVyMDVOc1EnPgzIxfIulXVzwQ== +tinypool@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-0.3.0.tgz#c405d8b743509fc28ea4ca358433190be654f819" + integrity sha512-NX5KeqHOBZU6Bc0xj9Vr5Szbb1j8tUHIeD18s41aDJaPeC5QTdEhK0SpdpUrZlj2nv5cctNcSjaKNanXlfcVEQ== tinyspy@^1.0.2: version "1.0.2" @@ -12535,10 +12535,10 @@ vite@3.1.0: optionalDependencies: fsevents "~2.3.2" -vitest@0.23.1: - version "0.23.1" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.23.1.tgz#da3f79a88a6570e4d8c1fe8cf5e2d997be2dc3bd" - integrity sha512-kn9pG+h6VA3yj/xRvwgLKEd33rOlzMqJEg3tl5HSm3WUPlkY1Lr1FK8RN1uIqVKvFxmz6HGU3EQW+xW2kazRkQ== +vitest@0.23.2: + version "0.23.2" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.23.2.tgz#f978de0f2ada1b7c5ff8dc479ce75b976957ff19" + integrity sha512-kTBKp3ROPDkYC+x2zWt4znkDtnT08W1FQ6ngRFuqxpBGNuNVS+eWZKfffr8y2JGvEzZ9EzMAOcNaiqMj/FZqMw== dependencies: "@types/chai" "^4.3.3" "@types/chai-subset" "^1.3.3" @@ -12547,8 +12547,8 @@ vitest@0.23.1: debug "^4.3.4" local-pkg "^0.4.2" strip-literal "^0.4.0" - tinybench "^2.1.3" - tinypool "^0.2.4" + tinybench "^2.1.5" + tinypool "^0.3.0" tinyspy "^1.0.2" vite "^2.9.12 || ^3.0.0-0" From 2a41ccb980c991169c7857fdae5085c8ca89c7a1 Mon Sep 17 00:00:00 2001 From: drone Date: Sun, 11 Sep 2022 00:31:16 +0000 Subject: [PATCH 05/16] [skip ci] Updated translations via Crowdin --- src/i18n/lang/pt-PT.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/lang/pt-PT.json b/src/i18n/lang/pt-PT.json index aea13e960..27c1044cf 100644 --- a/src/i18n/lang/pt-PT.json +++ b/src/i18n/lang/pt-PT.json @@ -871,7 +871,7 @@ "color": "Alterar a cor desta tarefa", "move": "Mover esta tarefa para outra lista", "reminder": "Gerir lembretes desta tarefa", - "description": "Toggle editing of the task description" + "description": "Alternar edição da descrição da tarefa" }, "list": { "title": "Visualização em Lista", From 4dd397e3d2d9f2eda9b0b3fdf25a15ec6e113759 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 12 Sep 2022 00:03:06 +0000 Subject: [PATCH 06/16] chore(deps): update dependency autoprefixer to v10.4.9 --- package.json | 2 +- yarn.lock | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 11767f979..78b0bf445 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@vue/eslint-config-typescript": "11.0.1", "@vue/test-utils": "2.0.2", "@vue/tsconfig": "0.1.3", - "autoprefixer": "10.4.8", + "autoprefixer": "10.4.9", "browserslist": "4.21.3", "caniuse-lite": "1.0.30001390", "cypress": "10.7.0", diff --git a/yarn.lock b/yarn.lock index 0c0d41918..d82f4a316 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3398,7 +3398,19 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -autoprefixer@10.4.8, autoprefixer@^10.4.8: +autoprefixer@10.4.9: + version "10.4.9" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.9.tgz#40f932f7d0535264823882031f9254ea72c693e5" + integrity sha512-Uu67eduPEmOeA0vyJby5ghu1AAELCCNSsLAjK+lz6kYzNM5sqnBO36MqfsjhPjQF/BaJM5U/UuFYyl7PavY/wQ== + dependencies: + browserslist "^4.21.3" + caniuse-lite "^1.0.30001394" + fraction.js "^4.2.0" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + +autoprefixer@^10.4.8: version "10.4.8" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.8.tgz#92c7a0199e1cfb2ad5d9427bd585a3d75895b9e5" integrity sha512-75Jr6Q/XpTqEf6D2ltS5uMewJIx5irCU1oBYJrWjFenq/m12WRRrz6g15L1EIoYvPLXTbEry7rDOwrcYNj77xw== @@ -3895,6 +3907,11 @@ caniuse-lite@^1.0.30001370, caniuse-lite@^1.0.30001373: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz#2dc3bc3bfcb5d5a929bec11300883040d7b4b4be" integrity sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ== +caniuse-lite@^1.0.30001394: + version "1.0.30001396" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001396.tgz#1c3ee1b7ccd60f3efd7461201740c8de9fe1025d" + integrity sha512-Df93cp39XVZRoOl2EoiuNp2rc4Dnsb9mDQEs4qFa7/uTx3FnfEq+jyHLf/0Ik7GVJA6wvJuAI5ZKUtUEenAm9Q== + caseless@^0.12.0, caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" From d0fefd3c08f3e9f63345a4e3aa4ddf89ad8f6abf Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 12 Sep 2022 04:02:58 +0000 Subject: [PATCH 07/16] chore(deps): update dependency caniuse-lite to v1.0.30001397 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 78b0bf445..7fdeea8d3 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@vue/tsconfig": "0.1.3", "autoprefixer": "10.4.9", "browserslist": "4.21.3", - "caniuse-lite": "1.0.30001390", + "caniuse-lite": "1.0.30001397", "cypress": "10.7.0", "esbuild": "0.15.7", "eslint": "8.23.0", diff --git a/yarn.lock b/yarn.lock index d82f4a316..5ecf1c6f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3892,10 +3892,10 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== -caniuse-lite@1.0.30001390: - version "1.0.30001390" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001390.tgz#158a43011e7068ef7fc73590e9fd91a7cece5e7f" - integrity sha512-sS4CaUM+/+vqQUlCvCJ2WtDlV81aWtHhqeEVkLokVJJa3ViN4zDxAGfq9R8i1m90uGHxo99cy10Od+lvn3hf0g== +caniuse-lite@1.0.30001397: + version "1.0.30001397" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001397.tgz#010d9d56e3b8abcd8df261d0a94b22426271a15f" + integrity sha512-SW9N2TbCdLf0eiNDRrrQXx2sOkaakNZbCjgNpPyMJJbiOrU5QzMIrXOVMRM1myBXTD5iTkdrtU/EguCrBocHlA== caniuse-lite@^1.0.30001219: version "1.0.30001286" From 6e026cc7cc7e0ec566d2fb632fb3ec201974d8ec Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 12 Sep 2022 01:02:58 +0000 Subject: [PATCH 08/16] chore(deps): update dependency netlify-cli to v11.7.1 --- package.json | 2 +- yarn.lock | 64 ++++++++++++++++++++++++++-------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 7fdeea8d3..3718f7982 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "eslint-plugin-vue": "9.4.0", "express": "4.18.1", "happy-dom": "6.0.4", - "netlify-cli": "11.5.1", + "netlify-cli": "11.7.1", "postcss": "8.4.16", "postcss-preset-env": "7.8.1", "rollup": "2.79.0", diff --git a/yarn.lock b/yarn.lock index 5ecf1c6f2..8a3d0f4d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1349,20 +1349,20 @@ resolved "https://registry.yarnpkg.com/@netlify/binary-info/-/binary-info-1.0.0.tgz#cd0d86fb783fb03e52067f0cd284865e57be86c8" integrity sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw== -"@netlify/build@^27.16.1": - version "27.16.1" - resolved "https://registry.yarnpkg.com/@netlify/build/-/build-27.16.1.tgz#32c9580717f5318053ed7fee18d471106238f61d" - integrity sha512-hXOivv/zCd/xPSL7XaqHvnn6GpXUSkztis9QfawLa39W6X01gDj2bXfQBW+cPxTT6S/UaGz70rwthPW9431pOQ== +"@netlify/build@^27.17.2": + version "27.17.2" + resolved "https://registry.yarnpkg.com/@netlify/build/-/build-27.17.2.tgz#6f642f184697de8dd0d46a64a8bc99560ea399f4" + integrity sha512-JoLGa+JkHvsHel91F+zRhOrClkGFYzWprVPKIcRAGqJYl3c0g+t4c8xDpbFfrYSuaU+0bjB7QRh/VCmpPLIkBQ== dependencies: "@bugsnag/js" "^7.0.0" "@netlify/cache-utils" "^4.0.0" "@netlify/config" "^18.2.3" "@netlify/edge-bundler" "^1.14.1" - "@netlify/functions-utils" "^4.2.5" + "@netlify/functions-utils" "^4.2.8" "@netlify/git-utils" "^4.0.0" - "@netlify/plugins-list" "^6.41.0" + "@netlify/plugins-list" "^6.42.0" "@netlify/run-utils" "^4.0.0" - "@netlify/zip-it-and-ship-it" "^6.0.0" + "@netlify/zip-it-and-ship-it" "^7.1.1" "@sindresorhus/slugify" "^2.0.0" "@types/node" "^16.0.0" ajv "^8.11.0" @@ -1615,12 +1615,12 @@ read-pkg-up "^9.0.0" semver "^7.3.4" -"@netlify/functions-utils@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@netlify/functions-utils/-/functions-utils-4.2.5.tgz#5e9b8603fdfa2523720e26703e659029372f9c1f" - integrity sha512-sa8TAD35xO/6q3YSpqlObOSfC25n0JT6DV+j3WaZ5NCSXAdlZJD+pT02pudputwstfMPJtw7GJg3buIiTyGulQ== +"@netlify/functions-utils@^4.2.8": + version "4.2.8" + resolved "https://registry.yarnpkg.com/@netlify/functions-utils/-/functions-utils-4.2.8.tgz#7df5d8a0a224ca2b6ddd94284f61f1ad4d952825" + integrity sha512-2wU/UOR2pViPkolITf3bvFTb+f+kR+NfZb7dWOU9IZnxKsB4qTioXupT6Rt1aI5p0kDRMCWuI5pBBxjlueO0Ew== dependencies: - "@netlify/zip-it-and-ship-it" "^6.0.0" + "@netlify/zip-it-and-ship-it" "^7.1.1" cpy "^8.1.0" path-exists "^5.0.0" @@ -1718,10 +1718,10 @@ resolved "https://registry.yarnpkg.com/@netlify/open-api/-/open-api-2.12.0.tgz#62e467c0c6be7bcae9349dc681e71eb393c21b2a" integrity sha512-1n9VvO/9qM7cRB5f7NgSNqeUrovM7j9WVAY7ZQ4LtQuXSquFmO9Fku7WrV3zAUC6v2Y62fxGyJ0fRllYz5uXLw== -"@netlify/plugins-list@^6.41.0": - version "6.41.0" - resolved "https://registry.yarnpkg.com/@netlify/plugins-list/-/plugins-list-6.41.0.tgz#f80f3c8ad93f0cbab916795bd2662f6ff309ab76" - integrity sha512-WUXn1kk1oDumzYKQVAf3Z5xQkVuHyR6k+LGt2qq6rFlxILmFA3gWMSf+AwVfT2bYK8gHWcdz2I9MSo5hbp1ohQ== +"@netlify/plugins-list@^6.42.0": + version "6.44.0" + resolved "https://registry.yarnpkg.com/@netlify/plugins-list/-/plugins-list-6.44.0.tgz#e4d5da305530fc9aad01fd3ee5e356b99623b424" + integrity sha512-yl4A0WzHg7PhQoefJKnjD3f31EMErIdbAQNis97x3tNoPcKeTW6dV79qttKn3PQbb3WyiFxfKlsi3xMQO6l8Nw== "@netlify/run-utils@^4.0.0": version "4.0.0" @@ -1730,15 +1730,15 @@ dependencies: execa "^5.1.1" -"@netlify/zip-it-and-ship-it@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-6.0.0.tgz#63a0fc0e9eeb023b4edae94f3e86d3458e2e2ef8" - integrity sha512-5nxAeUwQ6ftlnlRShRa7oY+RPiYBRH2qMmTR6RwsBYzUBUzoTgdb+X8tOnO4FFAKndXzzjJrO/ubp+YMeOKSbg== +"@netlify/zip-it-and-ship-it@^7.1.1": + version "7.1.1" + resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-7.1.1.tgz#88500313b909df8f55653ca448b9c75c63a94377" + integrity sha512-drvt9Snr+dpCsdn26MkR5YApPH+GJGGQURfF57PQy9AdL0CvEXKpx8WjS0NgF0lrj4E0ZKZLPaveZwMgvYxknw== dependencies: "@babel/parser" "7.16.8" "@netlify/binary-info" "^1.0.0" "@netlify/esbuild" "0.14.25" - "@vercel/nft" "^0.21.0" + "@vercel/nft" "^0.22.0" archiver "^5.3.0" common-path-prefix "^3.0.0" cp-file "^9.0.0" @@ -2599,10 +2599,10 @@ "@typescript-eslint/types" "5.8.0" eslint-visitor-keys "^3.0.0" -"@vercel/nft@^0.21.0": - version "0.21.0" - resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.21.0.tgz#e0715b1997cd7021a7c7c48b584ef2295fd4b810" - integrity sha512-hFCAETfI5cG8l5iAiLhMC2bReC5K7SIybzrxGorv+eGspIbIFsVw7Vg85GovXm/LxA08pIDrAlrhR6GN36XB/Q== +"@vercel/nft@^0.22.0": + version "0.22.1" + resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.22.1.tgz#0d91d2a21e3a7f0b23ce1550da9870eac4942828" + integrity sha512-lYYZIoxRurqDOSoVIdBicGnpUIpfyaS5qVjdPq+EfI285WqtZK3NK/dyCkiyBul+X2U2OEhRyeMdXPCHGJbohw== dependencies: "@mapbox/node-pre-gyp" "^1.0.5" acorn "^8.6.0" @@ -8983,18 +8983,18 @@ nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== -netlify-cli@11.5.1: - version "11.5.1" - resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-11.5.1.tgz#1c2f4b5332d3ae5dcaaf9543977995165300e262" - integrity sha512-UVWUNa4F/WcqD2wpj41uxCf5LeWAcSRluQJao8XDQKH16nCp+wVgth4hQBePEPfj7+KAiFf1H3sjHbQ9drv11Q== +netlify-cli@11.7.1: + version "11.7.1" + resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-11.7.1.tgz#0f29c2b684f45e37dd344ce77da3315aecc4c91e" + integrity sha512-rotVCdA0we7+x8YhBPpZKTYqYGuaRFc36v+C0odNBi9zZH/Bp7ickWmX3v47TdMLZGL/hZimX+XCG5bMtJzYSw== dependencies: - "@netlify/build" "^27.16.1" + "@netlify/build" "^27.17.2" "@netlify/config" "^18.2.3" "@netlify/edge-bundler" "^1.14.1" "@netlify/framework-info" "^9.2.0" "@netlify/local-functions-proxy" "^1.1.1" - "@netlify/plugins-list" "^6.41.0" - "@netlify/zip-it-and-ship-it" "^6.0.0" + "@netlify/plugins-list" "^6.42.0" + "@netlify/zip-it-and-ship-it" "^7.1.1" "@octokit/rest" "^18.0.0" "@sindresorhus/slugify" "^1.1.0" ansi-escapes "^5.0.0" From 2f0f648d2847f44c329be183c3d1bf2c92c68a6e Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 12 Sep 2022 06:03:02 +0000 Subject: [PATCH 09/16] chore(deps): update dependency eslint to v8.23.1 --- package.json | 2 +- yarn.lock | 25 +++++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 3718f7982..6a73c448d 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "caniuse-lite": "1.0.30001397", "cypress": "10.7.0", "esbuild": "0.15.7", - "eslint": "8.23.0", + "eslint": "8.23.1", "eslint-plugin-vue": "9.4.0", "express": "4.18.1", "happy-dom": "6.0.4", diff --git a/yarn.lock b/yarn.lock index 8a3d0f4d7..e0e7bac17 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1147,10 +1147,10 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.7.tgz#1ec4af4a16c554cbd402cc557ccdd874e3f7be53" integrity sha512-IKznSJOsVUuyt7cDzzSZyqBEcZe+7WlBqTVXiF1OXP/4Nm387ToaXZ0fyLwI1iBlI/bzpxVq411QE2/Bt2XWWw== -"@eslint/eslintrc@^1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.1.tgz#de0807bfeffc37b964a7d0400e0c348ce5a2543d" - integrity sha512-OhSY22oQQdw3zgPOOwdoj01l/Dzl1Z+xyUP33tkSN+aqyEhymJCcPHyXt+ylW8FSe0TfRC2VG+ROQOapD0aZSQ== +"@eslint/eslintrc@^1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" + integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -5731,12 +5731,12 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@8.23.0: - version "8.23.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.23.0.tgz#a184918d288820179c6041bb3ddcc99ce6eea040" - integrity sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA== +eslint@8.23.1: + version "8.23.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.23.1.tgz#cfd7b3f7fdd07db8d16b4ac0516a29c8d8dca5dc" + integrity sha512-w7C1IXCc6fNqjpuYd0yPlcTKKmHlHHktRkzmBPZ+7cvNBQuiNjx0xaMTjAJGCafJhQkrFJooREv0CtrVzmHwqg== dependencies: - "@eslint/eslintrc" "^1.3.1" + "@eslint/eslintrc" "^1.3.2" "@humanwhocodes/config-array" "^0.10.4" "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" "@humanwhocodes/module-importer" "^1.0.1" @@ -5755,7 +5755,6 @@ eslint@8.23.0: fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" find-up "^5.0.0" - functional-red-black-tree "^1.0.1" glob-parent "^6.0.1" globals "^13.15.0" globby "^11.1.0" @@ -5764,6 +5763,7 @@ eslint@8.23.0: import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" + js-sdsl "^4.1.4" js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" @@ -7967,6 +7967,11 @@ joi@^17.6.0: "@sideway/formula" "^3.0.0" "@sideway/pinpoint" "^2.0.0" +js-sdsl@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.1.4.tgz#78793c90f80e8430b7d8dc94515b6c77d98a26a6" + integrity sha512-Y2/yD55y5jteOAmY50JbUZYwk3CP3wnLPEZnlR1w9oKhITrBEtAxwuWKebFf8hMrPMgbYwFoWK/lH2sBkErELw== + js-string-escape@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef" From 53858e0c31c501de7d7d1c0aab5ad5492eda6f24 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 12 Sep 2022 18:02:50 +0000 Subject: [PATCH 10/16] chore(deps): update typescript-eslint monorepo to v5.37.0 --- package.json | 4 +-- yarn.lock | 96 ++++++++++++++++++++++++++-------------------------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index 6a73c448d..1e3579764 100644 --- a/package.json +++ b/package.json @@ -66,8 +66,8 @@ "@cypress/vue": "4.2.0", "@faker-js/faker": "7.5.0", "@types/flexsearch": "0.7.3", - "@typescript-eslint/eslint-plugin": "5.36.2", - "@typescript-eslint/parser": "5.36.2", + "@typescript-eslint/eslint-plugin": "5.37.0", + "@typescript-eslint/parser": "5.37.0", "@vitejs/plugin-legacy": "2.1.0", "@vitejs/plugin-vue": "3.1.0", "@vue/eslint-config-typescript": "11.0.1", diff --git a/yarn.lock b/yarn.lock index e0e7bac17..d8ab0d86f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2422,14 +2422,14 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.36.2.tgz#6df092a20e0f9ec748b27f293a12cb39d0c1fe4d" - integrity sha512-OwwR8LRwSnI98tdc2z7mJYgY60gf7I9ZfGjN5EjCwwns9bdTuQfAXcsjSB2wSQ/TVNYSGKf4kzVXbNGaZvwiXw== +"@typescript-eslint/eslint-plugin@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.37.0.tgz#5ccdd5d9004120f28fc6e717fb4b5c9bddcfbc04" + integrity sha512-Fde6W0IafXktz1UlnhGkrrmnnGpAo1kyX7dnyHHVrmwJOn72Oqm3eYtddrpOwwel2W8PAK9F3pIL5S+lfoM0og== dependencies: - "@typescript-eslint/scope-manager" "5.36.2" - "@typescript-eslint/type-utils" "5.36.2" - "@typescript-eslint/utils" "5.36.2" + "@typescript-eslint/scope-manager" "5.37.0" + "@typescript-eslint/type-utils" "5.37.0" + "@typescript-eslint/utils" "5.37.0" debug "^4.3.4" functional-red-black-tree "^1.0.1" ignore "^5.2.0" @@ -2463,14 +2463,14 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/parser@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.36.2.tgz#3ddf323d3ac85a25295a55fcb9c7a49ab4680ddd" - integrity sha512-qS/Kb0yzy8sR0idFspI9Z6+t7mqk/oRjnAYfewG+VN73opAUvmYL3oPIMmgOX6CnQS6gmVIXGshlb5RY/R22pA== +"@typescript-eslint/parser@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.37.0.tgz#c382077973f3a4ede7453fb14cadcad3970cbf3b" + integrity sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw== dependencies: - "@typescript-eslint/scope-manager" "5.36.2" - "@typescript-eslint/types" "5.36.2" - "@typescript-eslint/typescript-estree" "5.36.2" + "@typescript-eslint/scope-manager" "5.37.0" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/typescript-estree" "5.37.0" debug "^4.3.4" "@typescript-eslint/parser@^5.0.0": @@ -2483,13 +2483,13 @@ "@typescript-eslint/typescript-estree" "5.8.0" debug "^4.3.2" -"@typescript-eslint/scope-manager@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.36.2.tgz#a75eb588a3879ae659514780831370642505d1cd" - integrity sha512-cNNP51L8SkIFSfce8B1NSUBTJTu2Ts4nWeWbFrdaqjmn9yKrAaJUBHkyTZc0cL06OFHpb+JZq5AUHROS398Orw== +"@typescript-eslint/scope-manager@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz#044980e4f1516a774a418dafe701a483a6c9f9ca" + integrity sha512-F67MqrmSXGd/eZnujjtkPgBQzgespu/iCZ+54Ok9X5tALb9L2v3G+QBSoWkXG0p3lcTJsL+iXz5eLUEdSiJU9Q== dependencies: - "@typescript-eslint/types" "5.36.2" - "@typescript-eslint/visitor-keys" "5.36.2" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/visitor-keys" "5.37.0" "@typescript-eslint/scope-manager@5.8.0": version "5.8.0" @@ -2499,13 +2499,13 @@ "@typescript-eslint/types" "5.8.0" "@typescript-eslint/visitor-keys" "5.8.0" -"@typescript-eslint/type-utils@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.36.2.tgz#752373f4babf05e993adf2cd543a763632826391" - integrity sha512-rPQtS5rfijUWLouhy6UmyNquKDPhQjKsaKH0WnY6hl/07lasj8gPaH2UD8xWkePn6SC+jW2i9c2DZVDnL+Dokw== +"@typescript-eslint/type-utils@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.37.0.tgz#43ed2f567ada49d7e33a6e4b6f9babd060445fe5" + integrity sha512-BSx/O0Z0SXOF5tY0bNTBcDEKz2Ec20GVYvq/H/XNKiUorUFilH7NPbFUuiiyzWaSdN3PA8JV0OvYx0gH/5aFAQ== dependencies: - "@typescript-eslint/typescript-estree" "5.36.2" - "@typescript-eslint/utils" "5.36.2" + "@typescript-eslint/typescript-estree" "5.37.0" + "@typescript-eslint/utils" "5.37.0" debug "^4.3.4" tsutils "^3.21.0" @@ -2514,23 +2514,23 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.30.6.tgz#86369d0a7af8c67024115ac1da3e8fb2d38907e1" integrity sha512-HdnP8HioL1F7CwVmT4RaaMX57RrfqsOMclZc08wGMiDYJBsLGBM7JwXM4cZJmbWLzIR/pXg1kkrBBVpxTOwfUg== -"@typescript-eslint/types@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.36.2.tgz#a5066e500ebcfcee36694186ccc57b955c05faf9" - integrity sha512-9OJSvvwuF1L5eS2EQgFUbECb99F0mwq501w0H0EkYULkhFa19Qq7WFbycdw1PexAc929asupbZcgjVIe6OK/XQ== +"@typescript-eslint/types@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.37.0.tgz#09e4870a5f3af7af3f84e08d792644a87d232261" + integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== "@typescript-eslint/types@5.8.0": version "5.8.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.8.0.tgz#e7fa74ec35d9dbe3560d039d3d8734986c3971e0" integrity sha512-LdCYOqeqZWqCMOmwFnum6YfW9F3nKuxJiR84CdIRN5nfHJ7gyvGpXWqL/AaW0k3Po0+wm93ARAsOdzlZDPCcXg== -"@typescript-eslint/typescript-estree@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.36.2.tgz#0c93418b36c53ba0bc34c61fe9405c4d1d8fe560" - integrity sha512-8fyH+RfbKc0mTspfuEjlfqA4YywcwQK2Amcf6TDOwaRLg7Vwdu4bZzyvBZp4bjt1RRjQ5MDnOZahxMrt2l5v9w== +"@typescript-eslint/typescript-estree@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz#956dcf5c98363bcb97bdd5463a0a86072ff79355" + integrity sha512-JkFoFIt/cx59iqEDSgIGnQpCTRv96MQnXCYvJi7QhBC24uyuzbD8wVbajMB1b9x4I0octYFJ3OwjAwNqk1AjDA== dependencies: - "@typescript-eslint/types" "5.36.2" - "@typescript-eslint/visitor-keys" "5.36.2" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/visitor-keys" "5.37.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" @@ -2563,15 +2563,15 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/utils@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.36.2.tgz#b01a76f0ab244404c7aefc340c5015d5ce6da74c" - integrity sha512-uNcopWonEITX96v9pefk9DC1bWMdkweeSsewJ6GeC7L6j2t0SJywisgkr9wUTtXk90fi2Eljj90HSHm3OGdGRg== +"@typescript-eslint/utils@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.37.0.tgz#7784cb8e91390c4f90ccaffd24a0cf9874df81b2" + integrity sha512-jUEJoQrWbZhmikbcWSMDuUSxEE7ID2W/QCV/uz10WtQqfOuKZUqFGjqLJ+qhDd17rjgp+QJPqTdPIBWwoob2NQ== dependencies: "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.36.2" - "@typescript-eslint/types" "5.36.2" - "@typescript-eslint/typescript-estree" "5.36.2" + "@typescript-eslint/scope-manager" "5.37.0" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/typescript-estree" "5.37.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" @@ -2583,12 +2583,12 @@ "@typescript-eslint/types" "5.30.6" eslint-visitor-keys "^3.3.0" -"@typescript-eslint/visitor-keys@5.36.2": - version "5.36.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.36.2.tgz#2f8f78da0a3bad3320d2ac24965791ac39dace5a" - integrity sha512-BtRvSR6dEdrNt7Net2/XDjbYKU5Ml6GqJgVfXT0CxTCJlnIqK7rAGreuWKMT2t8cFUT2Msv5oxw0GMRD7T5J7A== +"@typescript-eslint/visitor-keys@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz#7b72dd343295ea11e89b624995abc7103c554eee" + integrity sha512-Hp7rT4cENBPIzMwrlehLW/28EVCOcE9U1Z1BQTc8EA8v5qpr7GRGuG+U58V5tTY48zvUOA3KHvw3rA8tY9fbdA== dependencies: - "@typescript-eslint/types" "5.36.2" + "@typescript-eslint/types" "5.37.0" eslint-visitor-keys "^3.3.0" "@typescript-eslint/visitor-keys@5.8.0": From 64726a642190ee573391c44096eab5929bfd828e Mon Sep 17 00:00:00 2001 From: renovate Date: Tue, 13 Sep 2022 12:54:46 +0000 Subject: [PATCH 11/16] fix(deps): update dependency blurhash to v2 (#2351) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2351 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1e3579764..e6b38fec0 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@vueuse/core": "9.2.0", "@vueuse/router": "9.2.0", "axios": "0.27.2", - "blurhash": "1.1.5", + "blurhash": "2.0.0", "bulma-css-variables": "0.9.33", "camel-case": "4.1.2", "date-fns": "2.29.2", diff --git a/yarn.lock b/yarn.lock index d8ab0d86f..9b8447ff3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3571,10 +3571,10 @@ blueimp-md5@^2.10.0: resolved "https://registry.yarnpkg.com/blueimp-md5/-/blueimp-md5-2.19.0.tgz#b53feea5498dcb53dc6ec4b823adb84b729c4af0" integrity sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w== -blurhash@1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/blurhash/-/blurhash-1.1.5.tgz#3034104cd5dce5a3e5caa871ae2f0f1f2d0ab566" - integrity sha512-a+LO3A2DfxTaTztsmkbLYmUzUeApi0LZuKalwbNmqAHR6HhJGMt1qSV/R3wc+w4DL28holjqO3Bg74aUGavGjg== +blurhash@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/blurhash/-/blurhash-2.0.0.tgz#c2e6392043d5355241cf9ddaec9359023ea57a40" + integrity sha512-fdEZnyJZ5E5s9neCfZUMSMkKfMtdKz1fG53t/iYvMjUFUsDnyZ1YnRRayKBK/B8cilNwe5gaIrPF8QlLrukEZQ== body-parser@1.19.0: version "1.19.0" From 7b398f73f604d6564a41c3ce5031883c677f02c7 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 13 Sep 2022 12:56:29 +0000 Subject: [PATCH 12/16] feat: add fallback for useCopyToClipboard (#2343) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2343 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/composables/useCopyToClipboard.ts | 35 +++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/src/composables/useCopyToClipboard.ts b/src/composables/useCopyToClipboard.ts index 30ea37456..69fa19140 100644 --- a/src/composables/useCopyToClipboard.ts +++ b/src/composables/useCopyToClipboard.ts @@ -3,11 +3,42 @@ import {useI18n} from 'vue-i18n' export function useCopyToClipboard() { const {t} = useI18n({useScope: 'global'}) - + + function fallbackCopyTextToClipboard(text: string) { + const textArea = document.createElement('textarea') + textArea.value = text + + // Avoid scrolling to bottom + textArea.style.top = '0' + textArea.style.left = '0' + textArea.style.position = 'fixed' + + document.body.appendChild(textArea) + textArea.focus() + textArea.select() + + try { + // NOTE: the execCommand is deprecated but as of 2022_09 + // widely supported and works without https + const successful = document.execCommand('copy') + if (!successful) { + throw new Error() + } + } catch (err) { + error(t('misc.copyError')) + } + + document.body.removeChild(textArea) + } + return async (text: string) => { + if (!navigator.clipboard) { + fallbackCopyTextToClipboard(text) + return + } try { await navigator.clipboard.writeText(text) - } catch { + } catch(e) { error(t('misc.copyError')) } } From 61427987c2686302fc7181145796818d256a21a1 Mon Sep 17 00:00:00 2001 From: renovate Date: Tue, 13 Sep 2022 13:26:48 +0000 Subject: [PATCH 13/16] fix(deps): update dependency date-fns to v2.29.3 (#2354) Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2354 Co-authored-by: renovate Co-committed-by: renovate --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e6b38fec0..4cf2f756f 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "blurhash": "2.0.0", "bulma-css-variables": "0.9.33", "camel-case": "4.1.2", - "date-fns": "2.29.2", + "date-fns": "2.29.3", "dompurify": "2.4.0", "easymde": "2.17.0", "flatpickr": "4.6.13", diff --git a/yarn.lock b/yarn.lock index 9b8447ff3..fafbb63cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4701,10 +4701,10 @@ data-uri-to-buffer@^4.0.0: resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b" integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA== -date-fns@2.29.2: - version "2.29.2" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.2.tgz#0d4b3d0f3dff0f920820a070920f0d9662c51931" - integrity sha512-0VNbwmWJDS/G3ySwFSJA3ayhbURMTJLtwM2DTxf9CWondCnh6DTNlO9JgRSq6ibf4eD0lfMJNBxUdEAHHix+bA== +date-fns@2.29.3: + version "2.29.3" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" + integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== date-fns@^1.27.2: version "1.30.1" From 1a11b43ca8d51bf998019fbc741e845b07d70157 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 6 Sep 2022 11:36:01 +0200 Subject: [PATCH 14/16] feat: improve models --- src/components/home/navigation.vue | 4 ++-- .../list/list-settings-dropdown.vue | 4 ++-- src/components/list/partials/list-card.vue | 2 +- src/components/misc/subscription.vue | 3 ++- .../namespace/namespace-settings-dropdown.vue | 5 +++-- src/components/sharing/linkSharing.vue | 6 ++++-- src/components/sharing/userTeam.vue | 19 +++++++++++++------ src/components/tasks/edit-task.vue | 3 ++- src/components/tasks/partials/attachments.vue | 7 ++++--- .../tasks/partials/checklist-summary.vue | 2 +- src/components/tasks/partials/comments.vue | 7 +++++-- .../tasks/partials/createdUpdated.vue | 2 +- src/components/tasks/partials/defer-task.vue | 2 +- src/components/tasks/partials/description.vue | 2 +- src/components/tasks/partials/heading.vue | 8 +++++--- src/components/tasks/partials/kanban-card.vue | 3 ++- src/components/tasks/partials/labels.vue | 4 ++-- src/components/tasks/partials/listSearch.vue | 3 ++- .../tasks/partials/singleTaskInList.vue | 3 ++- src/helpers/attachments.ts | 5 +++-- src/helpers/getListTitle.ts | 2 +- src/helpers/getNamespaceTitle.ts | 2 +- src/helpers/labels.ts | 2 +- src/helpers/saveCollapsedBucketState.ts | 2 +- src/helpers/savedFilter.ts | 2 +- src/models/attachment.ts | 2 +- src/models/avatar.ts | 2 +- src/models/backgroundImage.ts | 2 +- src/models/bucket.ts | 6 +++--- src/models/caldavToken.ts | 2 +- src/models/emailUpdate.ts | 2 +- src/models/file.ts | 2 +- src/models/label.ts | 2 +- src/models/labelTask.ts | 2 +- src/models/linkShare.ts | 2 +- src/models/list.ts | 4 ++-- src/models/listDuplicateModel.ts | 2 +- src/models/namespace.ts | 4 ++-- src/models/notification.ts | 2 +- src/models/passwordReset.ts | 2 +- src/models/passwordUpdate.ts | 2 +- src/models/savedFilter.ts | 2 +- src/models/subscription.ts | 2 +- src/models/task.ts | 2 +- src/models/taskAssignee.ts | 2 +- src/models/taskComment.ts | 2 +- src/models/taskRelation.ts | 2 +- src/models/team.ts | 2 +- src/models/teamShareBase.ts | 2 +- src/models/totp.ts | 2 +- src/models/user.ts | 2 +- src/models/userSettings.ts | 2 +- src/models/userShareBase.ts | 2 +- src/modules/parseTaskText.test.ts | 10 +++++----- src/services/abstractService.ts | 2 +- src/services/attachment.ts | 12 ++++++++---- src/services/avatar.ts | 5 +++-- src/services/backgroundUnsplash.ts | 5 +++-- src/services/backgroundUpload.ts | 10 +++++----- src/services/bucket.ts | 5 +++-- src/services/caldavToken.ts | 3 ++- src/services/label.ts | 3 ++- src/services/labelTask.ts | 3 ++- src/services/linkShare.ts | 3 ++- src/services/list.ts | 3 ++- src/services/listDuplicateService.ts | 3 ++- .../migrator/abstractMigrationFile.ts | 5 +++-- src/services/namespace.ts | 3 ++- src/services/notification.ts | 3 ++- src/services/passwordReset.ts | 3 ++- src/services/passwordUpdateService.ts | 2 +- src/services/savedFilter.ts | 3 ++- src/services/subscription.ts | 3 ++- src/services/task.ts | 3 ++- src/services/taskAssignee.ts | 3 ++- src/services/taskComment.ts | 3 ++- src/services/taskRelation.ts | 3 ++- src/services/team.ts | 3 ++- src/services/teamList.ts | 5 +++-- src/services/teamMember.ts | 3 ++- src/services/teamNamespace.ts | 5 +++-- src/services/totp.ts | 3 ++- src/services/user.ts | 3 ++- src/services/userList.ts | 8 +++++--- src/services/userNamespace.ts | 8 +++++--- src/services/userSettings.ts | 3 +-- src/views/filters/FilterEdit.vue | 2 +- src/views/labels/ListLabels.vue | 3 ++- src/views/list/ListList.vue | 2 +- src/views/list/ListTable.vue | 2 +- src/views/tasks/ShowTasks.vue | 2 +- src/views/tasks/TaskDetailView.vue | 5 +++-- src/views/teams/EditTeam.vue | 6 +++--- src/views/user/settings/Caldav.vue | 2 +- tsconfig.app.json | 3 +++ 95 files changed, 198 insertions(+), 139 deletions(-) diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 33cbf62f8..dc09c5d72 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -156,8 +156,8 @@ import {calculateItemPosition} from '@/helpers/calculateItemPosition' import {getNamespaceTitle} from '@/helpers/getNamespaceTitle' import {getListTitle} from '@/helpers/getListTitle' import {useEventListener} from '@vueuse/core' -import type { IList } from '@/models/list' -import type { INamespace } from '@/models/namespace' +import type {IList} from '@/modelTypes/IList' +import type {INamespace} from '@/modelTypes/INamespace' const drag = ref(false) const dragOptions = { diff --git a/src/components/list/list-settings-dropdown.vue b/src/components/list/list-settings-dropdown.vue index 611bf8708..8e6cbe3a9 100644 --- a/src/components/list/list-settings-dropdown.vue +++ b/src/components/list/list-settings-dropdown.vue @@ -83,8 +83,8 @@ import {getSavedFilterIdFromListId} from '@/helpers/savedFilter' import Dropdown from '@/components/misc/dropdown.vue' import DropdownItem from '@/components/misc/dropdown-item.vue' import TaskSubscription from '@/components/misc/subscription.vue' -import type {IList} from '@/models/list' -import type { ISubscription } from '@/models/subscription' +import type {IList} from '@/modelTypes/IList' +import type {ISubscription} from '@/modelTypes/ISubscription' const props = defineProps({ list: { diff --git a/src/components/list/partials/list-card.vue b/src/components/list/partials/list-card.vue index 0597639d2..f2a8b4eb4 100644 --- a/src/components/list/partials/list-card.vue +++ b/src/components/list/partials/list-card.vue @@ -45,7 +45,7 @@ import {getBlobFromBlurHash} from '@/helpers/getBlobFromBlurHash' import {colorIsDark} from '@/helpers/color/colorIsDark' import BaseButton from '@/components/base/BaseButton.vue' -import type { IList } from '@/models/list' +import type {IList} from '@/modelTypes/IList' const background = ref(null) const backgroundLoading = ref(false) diff --git a/src/components/misc/subscription.vue b/src/components/misc/subscription.vue index 070476888..6987e6858 100644 --- a/src/components/misc/subscription.vue +++ b/src/components/misc/subscription.vue @@ -39,7 +39,8 @@ import BaseButton from '@/components/base/BaseButton.vue' import DropdownItem from '@/components/misc/dropdown-item.vue' import SubscriptionService from '@/services/subscription' -import SubscriptionModel, { type ISubscription } from '@/models/subscription' +import SubscriptionModel from '@/models/subscription' +import type {ISubscription} from '@/modelTypes/ISubscription' import {success} from '@/message' diff --git a/src/components/namespace/namespace-settings-dropdown.vue b/src/components/namespace/namespace-settings-dropdown.vue index d80d563d6..a94d1eeb3 100644 --- a/src/components/namespace/namespace-settings-dropdown.vue +++ b/src/components/namespace/namespace-settings-dropdown.vue @@ -59,7 +59,8 @@ import {ref, onMounted, type PropType} from 'vue' import Dropdown from '@/components/misc/dropdown.vue' import DropdownItem from '@/components/misc/dropdown-item.vue' import TaskSubscription from '@/components/misc/subscription.vue' -import type { INamespace } from '@/models/namespace' +import type {INamespace} from '@/modelTypes/INamespace' +import type {ISubscription} from '@/modelTypes/ISubscription' const props = defineProps({ namespace: { @@ -68,7 +69,7 @@ const props = defineProps({ }, }) -const subscription = ref(null) +const subscription = ref(null) onMounted(() => { subscription.value = props.namespace.subscription }) diff --git a/src/components/sharing/linkSharing.vue b/src/components/sharing/linkSharing.vue index c36b3ddcf..51f3b34f6 100644 --- a/src/components/sharing/linkSharing.vue +++ b/src/components/sharing/linkSharing.vue @@ -181,13 +181,15 @@ import {useStore} from '@/store' import {useI18n} from 'vue-i18n' import {RIGHTS} from '@/constants/rights' -import LinkShareModel, { type ILinkShare } from '@/models/linkShare' +import LinkShareModel from '@/models/linkShare' + +import type {ILinkShare} from '@/modelTypes/ILinkShare' +import type {IList} from '@/modelTypes/IList' import LinkShareService from '@/services/linkShare' import {useCopyToClipboard} from '@/composables/useCopyToClipboard' import {success} from '@/message' -import type { IList } from '@/models/list' const props = defineProps({ listId: { diff --git a/src/components/sharing/userTeam.vue b/src/components/sharing/userTeam.vue index 84a212cc2..d961d382c 100644 --- a/src/components/sharing/userTeam.vue +++ b/src/components/sharing/userTeam.vue @@ -143,22 +143,29 @@ import {useStore} from '@/store' import {useI18n} from 'vue-i18n' import UserNamespaceService from '@/services/userNamespace' -import UserNamespaceModel, { type IUserNamespace } from '@/models/userNamespace' +import UserNamespaceModel from '@/models/userNamespace' +import type {IUserNamespace} from '@/modelTypes/IUserNamespace' import UserListService from '@/services/userList' -import UserListModel, { type IUserList } from '@/models/userList' +import UserListModel from '@/models/userList' +import type {IUserList} from '@/modelTypes/IUserList' import UserService from '@/services/user' -import UserModel, { type IUser } from '@/models/user' +import UserModel from '@/models/user' +import type {IUser} from '@/modelTypes/IUser' import TeamNamespaceService from '@/services/teamNamespace' -import TeamNamespaceModel, { type ITeamNamespace } from '@/models/teamNamespace' +import TeamNamespaceModel from '@/models/teamNamespace' +import type { ITeamNamespace } from '@/modelTypes/ITeamNamespace' import TeamListService from '@/services/teamList' -import TeamListModel, { type ITeamList } from '@/models/teamList' +import TeamListModel from '@/models/teamList' +import type { ITeamList } from '@/modelTypes/ITeamList' import TeamService from '@/services/team' -import TeamModel, { type ITeam } from '@/models/team' +import TeamModel from '@/models/team' +import type {ITeam} from '@/modelTypes/ITeam' + import {RIGHTS} from '@/constants/rights' import Multiselect from '@/components/input/multiselect.vue' diff --git a/src/components/tasks/edit-task.vue b/src/components/tasks/edit-task.vue index a067f4036..5c5115f09 100644 --- a/src/components/tasks/edit-task.vue +++ b/src/components/tasks/edit-task.vue @@ -83,7 +83,8 @@ import {useI18n} from 'vue-i18n' import Editor from '@/components/input/AsyncEditor' import TaskService from '@/services/task' -import TaskModel, { type ITask } from '@/models/task' +import TaskModel from '@/models/task' +import type {ITask} from '@/modelTypes/ITask' import EditLabels from './partials/editLabels.vue' import Reminders from './partials/reminders.vue' import ColorPicker from '../input/colorPicker.vue' diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue index 70d6e5b1e..d8676d319 100644 --- a/src/components/tasks/partials/attachments.vue +++ b/src/components/tasks/partials/attachments.vue @@ -147,7 +147,8 @@ import {defineComponent} from 'vue' import AttachmentService from '../../../services/attachment' -import AttachmentModel, { type IAttachment } from '@/models/attachment' +import AttachmentModel from '@/models/attachment' +import type {IAttachment} from '@/modelTypes/IAttachment' import User from '@/components/misc/user.vue' import {mapState} from 'vuex' @@ -155,8 +156,8 @@ import { useCopyToClipboard } from '@/composables/useCopyToClipboard' import { uploadFiles, generateAttachmentUrl } from '@/helpers/attachments' import {formatDate, formatDateSince, formatDateLong} from '@/helpers/time/formatDate' -import BaseButton from '@/components/base/BaseButton' -import type { IFile } from '@/models/file' +import BaseButton from '@/components/base/BaseButton.vue' +import type { IFile } from '@/modelTypes/IFile' import { getHumanSize } from '@/helpers/getHumanSize' export default defineComponent({ diff --git a/src/components/tasks/partials/checklist-summary.vue b/src/components/tasks/partials/checklist-summary.vue index 6e17d140a..69f1dd2e9 100644 --- a/src/components/tasks/partials/checklist-summary.vue +++ b/src/components/tasks/partials/checklist-summary.vue @@ -14,7 +14,7 @@ import {computed, type PropType} from 'vue' import { useI18n } from 'vue-i18n' import {getChecklistStatistics} from '@/helpers/checklistFromText' -import type {ITask} from '@/models/task' +import type {ITask} from '@/modelTypes/ITask' const props = defineProps({ task: { diff --git a/src/components/tasks/partials/comments.vue b/src/components/tasks/partials/comments.vue index 653c60b90..e0f8b9795 100644 --- a/src/components/tasks/partials/comments.vue +++ b/src/components/tasks/partials/comments.vue @@ -159,12 +159,15 @@ import {useI18n} from 'vue-i18n' import Editor from '@/components/input/AsyncEditor' import TaskCommentService from '@/services/taskComment' -import TaskCommentModel, { type ITaskComment } from '@/models/taskComment' +import TaskCommentModel from '@/models/taskComment' + +import type {ITaskComment} from '@/modelTypes/ITaskComment' +import type {ITask} from '@/modelTypes/ITask' + import {uploadFile} from '@/helpers/attachments' import {success} from '@/message' import {formatDateLong, formatDateSince} from '@/helpers/time/formatDate' -import type { ITask } from '@/models/task' const props = defineProps({ taskId: { type: Number, diff --git a/src/components/tasks/partials/createdUpdated.vue b/src/components/tasks/partials/createdUpdated.vue index 3d839e5fe..d615fdfb6 100644 --- a/src/components/tasks/partials/createdUpdated.vue +++ b/src/components/tasks/partials/createdUpdated.vue @@ -28,7 +28,7 @@ diff --git a/src/components/namespace/namespace-settings-dropdown.vue b/src/components/namespace/namespace-settings-dropdown.vue index a94d1eeb3..778616215 100644 --- a/src/components/namespace/namespace-settings-dropdown.vue +++ b/src/components/namespace/namespace-settings-dropdown.vue @@ -34,12 +34,13 @@ {{ $t('menu.archive') }} {{ $t('task.attributes.reminders') }}
diff --git a/src/components/tasks/partials/comments.vue b/src/components/tasks/partials/comments.vue index e0f8b9795..163852558 100644 --- a/src/components/tasks/partials/comments.vue +++ b/src/components/tasks/partials/comments.vue @@ -70,13 +70,13 @@ :is-edit-enabled="canWrite && c.author.id === currentUserId" :upload-callback="attachmentUpload" :upload-enabled="true" - @change=" + v-model="c.comment" + @update:model-value=" () => { toggleEdit(c) editComment() } " - v-model="c.comment" :bottom-actions="actions[c.id]" :show-save="true" /> diff --git a/src/components/tasks/partials/description.vue b/src/components/tasks/partials/description.vue index 84e1816d9..5e34b84ca 100644 --- a/src/components/tasks/partials/description.vue +++ b/src/components/tasks/partials/description.vue @@ -20,12 +20,12 @@ :is-edit-enabled="canWrite" :upload-callback="attachmentUpload" :upload-enabled="true" - @change="save" :placeholder="$t('task.description.placeholder')" :empty-text="$t('task.description.empty')" :show-save="true" edit-shortcut="e" v-model="task.description" + @update:model-value="save" />
diff --git a/src/components/tasks/partials/editLabels.vue b/src/components/tasks/partials/editLabels.vue index ae99693f3..a7792a790 100644 --- a/src/components/tasks/partials/editLabels.vue +++ b/src/components/tasks/partials/editLabels.vue @@ -66,7 +66,7 @@ const props = defineProps({ }, }) -const emit = defineEmits(['update:modelValue', 'change']) +const emit = defineEmits(['update:modelValue']) const store = useStore() const {t} = useI18n({useScope: 'global'}) @@ -96,7 +96,6 @@ function findLabel(newQuery: string) { async function addLabel(label: ILabel, showNotification = true) { const bubble = () => { emit('update:modelValue', labels.value) - emit('change', labels.value) } if (props.taskId === 0) { @@ -122,7 +121,6 @@ async function removeLabel(label: ILabel) { } } emit('update:modelValue', labels.value) - emit('change', labels.value) success({message: t('task.label.removeSuccess')}) } diff --git a/src/components/tasks/partials/percentDoneSelect.vue b/src/components/tasks/partials/percentDoneSelect.vue index abf67ce07..0913840d2 100644 --- a/src/components/tasks/partials/percentDoneSelect.vue +++ b/src/components/tasks/partials/percentDoneSelect.vue @@ -32,13 +32,12 @@ const props = defineProps({ }, }) -const emit = defineEmits(['update:modelValue', 'change']) +const emit = defineEmits(['update:modelValue']) const percentDone = computed({ get: () => props.modelValue, set(percentDone) { emit('update:modelValue', percentDone) - emit('change') }, }) diff --git a/src/components/tasks/partials/prioritySelect.vue b/src/components/tasks/partials/prioritySelect.vue index 30a528921..eb4c395a7 100644 --- a/src/components/tasks/partials/prioritySelect.vue +++ b/src/components/tasks/partials/prioritySelect.vue @@ -19,19 +19,19 @@ import {ref, watch} from 'vue' import {PRIORITIES} from '@/constants/priorities' -const priority = ref(0) - const props = defineProps({ modelValue: { - default: 0, type: Number, + default: 0, }, disabled: { default: false, }, }) -const emit = defineEmits(['update:modelValue', 'change']) +const emit = defineEmits(['update:modelValue']) + +const priority = ref(0) // FIXME: store value outside // Set the priority to the :value every time it changes from the outside @@ -45,6 +45,5 @@ watch( function updateData() { emit('update:modelValue', priority.value) - emit('change') } diff --git a/src/components/tasks/partials/reminders.vue b/src/components/tasks/partials/reminders.vue index 0f771aa42..47c842954 100644 --- a/src/components/tasks/partials/reminders.vue +++ b/src/components/tasks/partials/reminders.vue @@ -63,7 +63,7 @@ const props = defineProps({ }, }) -const emit = defineEmits(['update:modelValue', 'change']) +const emit = defineEmits(['update:modelValue']) const reminders = ref([]) @@ -86,7 +86,6 @@ watch( function updateData() { emit('update:modelValue', reminders.value) - emit('change') } const newReminder = ref(null) diff --git a/src/components/tasks/partials/repeatAfter.vue b/src/components/tasks/partials/repeatAfter.vue index bf50384dc..e416e2a6c 100644 --- a/src/components/tasks/partials/repeatAfter.vue +++ b/src/components/tasks/partials/repeatAfter.vue @@ -85,7 +85,7 @@ const props = defineProps({ const {t} = useI18n({useScope: 'global'}) -const emit = defineEmits(['update:modelValue', 'change']) +const emit = defineEmits(['update:modelValue']) const task = ref() const repeatAfter = reactive({ @@ -116,7 +116,6 @@ function updateData() { Object.assign(task.value.repeatAfter, repeatAfter) emit('update:modelValue', task.value) - emit('change') } function setRepeatAfter(amount: number, type: IRepeatAfter['type']) { diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue index ccfe03c6d..a90b69a50 100644 --- a/src/views/tasks/ShowTasks.vue +++ b/src/views/tasks/ShowTasks.vue @@ -4,7 +4,7 @@ {{ pageTitle }}

- +