From 462fee9f84f05b72e3ccd5628b16b19b1bd3127c Mon Sep 17 00:00:00 2001 From: jan Date: Tue, 16 Jul 2024 11:39:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20remove=20renameFz=20module=20(no?= =?UTF-8?q?t=20developed=20further=20in=20favor=20of=20#2872)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/renameFz/README.md | 1 - src/modules/renameFz/docs/de_DE.md | 0 src/modules/renameFz/docs/en_US.md | 0 src/modules/renameFz/docs/fr_FR.md | 3 - src/modules/renameFz/docs/nl_NL.md | 3 - src/modules/renameFz/i18n/de_DE.json | 10 -- src/modules/renameFz/i18n/de_DE.root.json | 4 - src/modules/renameFz/i18n/en_AU.json | 10 -- src/modules/renameFz/i18n/en_AU.root.json | 4 - src/modules/renameFz/i18n/en_GB.json | 10 -- src/modules/renameFz/i18n/en_GB.root.json | 4 - src/modules/renameFz/i18n/en_US.json | 10 -- src/modules/renameFz/i18n/en_US.root.json | 4 - src/modules/renameFz/i18n/es_ES.json | 10 -- src/modules/renameFz/i18n/es_ES.root.json | 4 - src/modules/renameFz/i18n/fr_FR.json | 10 -- src/modules/renameFz/i18n/fr_FR.root.json | 4 - src/modules/renameFz/i18n/it_IT.json | 10 -- src/modules/renameFz/i18n/it_IT.root.json | 4 - src/modules/renameFz/i18n/nb_NO.json | 10 -- src/modules/renameFz/i18n/nb_NO.root.json | 4 - src/modules/renameFz/i18n/nl_NL.json | 10 -- src/modules/renameFz/i18n/nl_NL.root.json | 4 - src/modules/renameFz/i18n/pl_PL.json | 10 -- src/modules/renameFz/i18n/pl_PL.root.json | 4 - src/modules/renameFz/i18n/sv_SE.json | 10 -- src/modules/renameFz/i18n/sv_SE.root.json | 4 - src/modules/renameFz/main.js | 30 ------ src/modules/renameFz/register.json | 1 - src/modules/renameFz/renameFz.vue | 113 ---------------------- 30 files changed, 305 deletions(-) delete mode 100644 src/modules/renameFz/README.md delete mode 100644 src/modules/renameFz/docs/de_DE.md delete mode 100644 src/modules/renameFz/docs/en_US.md delete mode 100644 src/modules/renameFz/docs/fr_FR.md delete mode 100644 src/modules/renameFz/docs/nl_NL.md delete mode 100644 src/modules/renameFz/i18n/de_DE.json delete mode 100644 src/modules/renameFz/i18n/de_DE.root.json delete mode 100644 src/modules/renameFz/i18n/en_AU.json delete mode 100644 src/modules/renameFz/i18n/en_AU.root.json delete mode 100644 src/modules/renameFz/i18n/en_GB.json delete mode 100644 src/modules/renameFz/i18n/en_GB.root.json delete mode 100644 src/modules/renameFz/i18n/en_US.json delete mode 100644 src/modules/renameFz/i18n/en_US.root.json delete mode 100644 src/modules/renameFz/i18n/es_ES.json delete mode 100644 src/modules/renameFz/i18n/es_ES.root.json delete mode 100644 src/modules/renameFz/i18n/fr_FR.json delete mode 100644 src/modules/renameFz/i18n/fr_FR.root.json delete mode 100644 src/modules/renameFz/i18n/it_IT.json delete mode 100644 src/modules/renameFz/i18n/it_IT.root.json delete mode 100644 src/modules/renameFz/i18n/nb_NO.json delete mode 100644 src/modules/renameFz/i18n/nb_NO.root.json delete mode 100644 src/modules/renameFz/i18n/nl_NL.json delete mode 100644 src/modules/renameFz/i18n/nl_NL.root.json delete mode 100644 src/modules/renameFz/i18n/pl_PL.json delete mode 100644 src/modules/renameFz/i18n/pl_PL.root.json delete mode 100644 src/modules/renameFz/i18n/sv_SE.json delete mode 100644 src/modules/renameFz/i18n/sv_SE.root.json delete mode 100644 src/modules/renameFz/main.js delete mode 100644 src/modules/renameFz/register.json delete mode 100644 src/modules/renameFz/renameFz.vue diff --git a/src/modules/renameFz/README.md b/src/modules/renameFz/README.md deleted file mode 100644 index 39cc8391e2..0000000000 --- a/src/modules/renameFz/README.md +++ /dev/null @@ -1 +0,0 @@ -Provide Bulk-renaming of all vehicles in a station or a dispatch center by a template. diff --git a/src/modules/renameFz/docs/de_DE.md b/src/modules/renameFz/docs/de_DE.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/modules/renameFz/docs/en_US.md b/src/modules/renameFz/docs/en_US.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/modules/renameFz/docs/fr_FR.md b/src/modules/renameFz/docs/fr_FR.md deleted file mode 100644 index ef6ee46c5b..0000000000 --- a/src/modules/renameFz/docs/fr_FR.md +++ /dev/null @@ -1,3 +0,0 @@ -:::danger Renommer les véhicules -Ce module est encore en cours de développement et n'est donc pas encore disponible ! -::: diff --git a/src/modules/renameFz/docs/nl_NL.md b/src/modules/renameFz/docs/nl_NL.md deleted file mode 100644 index 12f8567ab9..0000000000 --- a/src/modules/renameFz/docs/nl_NL.md +++ /dev/null @@ -1,3 +0,0 @@ -:::danger Hernoem voertuigen -Deze module is nog in ontwikkeling en daarom nog niet beschikbaar! -::: diff --git a/src/modules/renameFz/i18n/de_DE.json b/src/modules/renameFz/i18n/de_DE.json deleted file mode 100644 index a89be23530..0000000000 --- a/src/modules/renameFz/i18n/de_DE.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Template wählen...", - "selectionHint": "Neues Template anlegen? Einfach den Namen eingeben und auswählen!", - "status": { - "template": "Warte auf Template-Auswahl…", - "waiting": "Warte auf Eingabe…" - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/de_DE.root.json b/src/modules/renameFz/i18n/de_DE.root.json deleted file mode 100644 index f16d60924e..0000000000 --- a/src/modules/renameFz/i18n/de_DE.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Benenne viele Fahrzeuge auf einmal nach deinem System!", - "name": "Fahrzeuge umbenennen" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/en_AU.json b/src/modules/renameFz/i18n/en_AU.json deleted file mode 100644 index a406b651e6..0000000000 --- a/src/modules/renameFz/i18n/en_AU.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Select template...", - "selectionHint": "Create a new template? Just enter the name and select!", - "status": { - "template": "Wait for template selection...", - "waiting": "Waiting for input..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/en_AU.root.json b/src/modules/renameFz/i18n/en_AU.root.json deleted file mode 100644 index cb3265b8ab..0000000000 --- a/src/modules/renameFz/i18n/en_AU.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Name many vehicles at once according to your system!", - "name": "Rename vehicles" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/en_GB.json b/src/modules/renameFz/i18n/en_GB.json deleted file mode 100644 index a406b651e6..0000000000 --- a/src/modules/renameFz/i18n/en_GB.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Select template...", - "selectionHint": "Create a new template? Just enter the name and select!", - "status": { - "template": "Wait for template selection...", - "waiting": "Waiting for input..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/en_GB.root.json b/src/modules/renameFz/i18n/en_GB.root.json deleted file mode 100644 index cb3265b8ab..0000000000 --- a/src/modules/renameFz/i18n/en_GB.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Name many vehicles at once according to your system!", - "name": "Rename vehicles" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/en_US.json b/src/modules/renameFz/i18n/en_US.json deleted file mode 100644 index a406b651e6..0000000000 --- a/src/modules/renameFz/i18n/en_US.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Select template...", - "selectionHint": "Create a new template? Just enter the name and select!", - "status": { - "template": "Wait for template selection...", - "waiting": "Waiting for input..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/en_US.root.json b/src/modules/renameFz/i18n/en_US.root.json deleted file mode 100644 index cb3265b8ab..0000000000 --- a/src/modules/renameFz/i18n/en_US.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Name many vehicles at once according to your system!", - "name": "Rename vehicles" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/es_ES.json b/src/modules/renameFz/i18n/es_ES.json deleted file mode 100644 index 55261c56e1..0000000000 --- a/src/modules/renameFz/i18n/es_ES.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Seleccionar plantilla...", - "selectionHint": "¿Crear una nueva plantilla? ¡Simplemente ingrese el nombre y seleccione!", - "status": { - "template": "Espere la selección de la plantilla ...", - "waiting": "Esperando entrada ..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/es_ES.root.json b/src/modules/renameFz/i18n/es_ES.root.json deleted file mode 100644 index e1772b7d2e..0000000000 --- a/src/modules/renameFz/i18n/es_ES.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "¡Nombra muchos vehículos a la vez de acuerdo con tu sistema!", - "name": "Renombrar a los vehículos" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/fr_FR.json b/src/modules/renameFz/i18n/fr_FR.json deleted file mode 100644 index 0349f5ae5e..0000000000 --- a/src/modules/renameFz/i18n/fr_FR.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Choisissez un modèle...", - "selectionHint": "Créer un nouveau modèle ? Entrez un nom et selectionnez !", - "status": { - "template": "Attendez la séléction du modèle...", - "waiting": "En attente..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/fr_FR.root.json b/src/modules/renameFz/i18n/fr_FR.root.json deleted file mode 100644 index 5cc9f52c80..0000000000 --- a/src/modules/renameFz/i18n/fr_FR.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Renommer un groupe de véhicules en une seule fois", - "name": "Renommer les véhicules" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/it_IT.json b/src/modules/renameFz/i18n/it_IT.json deleted file mode 100644 index 320fac17ab..0000000000 --- a/src/modules/renameFz/i18n/it_IT.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Seleziona il template ...", - "selectionHint": "Creare un nuovo template? Basta inserire il nome e selezionare!", - "status": { - "template": "Aspetta per la selezione del template...", - "waiting": "Attendi l'input..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/it_IT.root.json b/src/modules/renameFz/i18n/it_IT.root.json deleted file mode 100644 index a047b63665..0000000000 --- a/src/modules/renameFz/i18n/it_IT.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Assegna un nome a molti veicoli contemporaneamente in base al tuo sistema!", - "name": "Rinomina i veicoli" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/nb_NO.json b/src/modules/renameFz/i18n/nb_NO.json deleted file mode 100644 index ffa5ec8f9e..0000000000 --- a/src/modules/renameFz/i18n/nb_NO.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Velg mal...", - "selectionHint": "Opprette en ny mal? Bare skriv inn navnet og velg!", - "status": { - "template": "Vent på malvalg...", - "waiting": "Vent på innspill..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/nb_NO.root.json b/src/modules/renameFz/i18n/nb_NO.root.json deleted file mode 100644 index 7e5d12cd2e..0000000000 --- a/src/modules/renameFz/i18n/nb_NO.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Navngi mange kjøretøy samtidig i henhold til systemet ditt!", - "name": "Gi nytt navn til kjøretøy" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/nl_NL.json b/src/modules/renameFz/i18n/nl_NL.json deleted file mode 100644 index 8e86ae6d29..0000000000 --- a/src/modules/renameFz/i18n/nl_NL.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Selecteer template...", - "selectionHint": "Creëer een nieuwe template? Voer de naam in en selecteer!", - "status": { - "template": "Wacht op template selectie...", - "waiting": "Wacht op invoer..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/nl_NL.root.json b/src/modules/renameFz/i18n/nl_NL.root.json deleted file mode 100644 index 352016848f..0000000000 --- a/src/modules/renameFz/i18n/nl_NL.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Benoem vele voertuigen tegelijk volgens uw systeem!", - "name": "Hernoem voertuigen" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/pl_PL.json b/src/modules/renameFz/i18n/pl_PL.json deleted file mode 100644 index d5ddc20658..0000000000 --- a/src/modules/renameFz/i18n/pl_PL.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Wybierz szablon...", - "selectionHint": "Utworzyć nowy szablon? Wystarczy wpisać nazwę i wybrać!", - "status": { - "template": "Poczekaj na wybór szablonu...", - "waiting": "Czekam na dane wejściowe..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/pl_PL.root.json b/src/modules/renameFz/i18n/pl_PL.root.json deleted file mode 100644 index 31a588c7fd..0000000000 --- a/src/modules/renameFz/i18n/pl_PL.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Nazwij wiele pojazdów jednocześnie zgodnie z Twoim systemem!", - "name": "Zmień nazwy pojazdów" -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/sv_SE.json b/src/modules/renameFz/i18n/sv_SE.json deleted file mode 100644 index 86f70627fd..0000000000 --- a/src/modules/renameFz/i18n/sv_SE.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "templates": { - "selection": "Välj mall ...", - "selectionHint": "Skapa en ny mall? Ange bara namnet och välj!", - "status": { - "template": "Vänta på mallval ...", - "waiting": "Väntar på inmatning ..." - } - } -} \ No newline at end of file diff --git a/src/modules/renameFz/i18n/sv_SE.root.json b/src/modules/renameFz/i18n/sv_SE.root.json deleted file mode 100644 index 05dba9a926..0000000000 --- a/src/modules/renameFz/i18n/sv_SE.root.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "Namnge många fordon samtidigt enligt ditt system!", - "name": "Byt namn på fordon" -} \ No newline at end of file diff --git a/src/modules/renameFz/main.js b/src/modules/renameFz/main.js deleted file mode 100644 index 8c21dc4d0f..0000000000 --- a/src/modules/renameFz/main.js +++ /dev/null @@ -1,30 +0,0 @@ -import renameFz from './renameFz.vue'; - -const mount = () => { - const vehicleTable = document.querySelector('#vehicle_table'); - const clear = document.createElement('div'); - clear.classList.add('clear'); - vehicleTable.parentNode.insertBefore(clear, vehicleTable); - new window.lssmv4.Vue({ - store: window.lssmv4.$store, - i18n: window.lssmv4.$i18n, - render: h => h(renameFz), - }).$mount(clear); -}; - -if (!document.querySelector('img.online_icon')) { - if (document.getElementById('tab_vehicle')) { - const observer = new MutationObserver(mutations => { - mutations.forEach(record => { - Array.from(record.addedNodes).find( - node => node.tagName === 'SCRIPT' - ) && mount(); - }); - }); - observer.observe(document.querySelector('#tab_vehicle'), { - childList: true, - }); - } else { - mount(); - } -} diff --git a/src/modules/renameFz/register.json b/src/modules/renameFz/register.json deleted file mode 100644 index 707d4189c1..0000000000 --- a/src/modules/renameFz/register.json +++ /dev/null @@ -1 +0,0 @@ -{ "dev": true, "github": 26, "location": "^/buildings/\\d+$", "noapp": true } \ No newline at end of file diff --git a/src/modules/renameFz/renameFz.vue b/src/modules/renameFz/renameFz.vue deleted file mode 100644 index 376aaafa5c..0000000000 --- a/src/modules/renameFz/renameFz.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - -