From dd4468808ba1cdb68a1857cf15d37a2fc5d38a23 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 28 Jun 2024 12:43:05 +0200 Subject: [PATCH] Remove name prop from f-text component --- resources/js/components/form/Text.vue | 8 +--- resources/js/views/Initialize/VIndex.vue | 42 ++++++++--------- resources/js/views/VLogin.vue | 4 +- resources/js/views/activity/Masslist.vue | 2 +- .../authentication/PasswordResetConfirm.vue | 4 +- resources/js/views/authentication/VLogin.vue | 7 ++- resources/js/views/contribution/VIndex.vue | 38 ++++++++------- resources/js/views/form/Index.vue | 9 ++-- .../js/views/formtemplate/CheckboxField.vue | 1 - .../js/views/formtemplate/CheckboxesField.vue | 11 +---- .../js/views/formtemplate/FormBuilder.vue | 10 ++-- .../js/views/formtemplate/GroupField.vue | 1 - resources/js/views/formtemplate/Index.vue | 2 +- .../js/views/formtemplate/NumberField.vue | 17 ++++--- .../js/views/formtemplate/RadioField.vue | 1 - .../js/views/formtemplate/TextareaField.vue | 2 +- resources/js/views/group/Index.vue | 4 +- resources/js/views/invoice/Index.vue | 22 ++++----- .../maildispatcher/MaildispatcherForm.vue | 2 +- resources/js/views/mailgateway/Index.vue | 46 +++++++++++++------ resources/js/views/member/VIndex.vue | 2 +- resources/js/views/setting/Bill.vue | 34 +++++++------- resources/js/views/setting/Form.vue | 4 +- resources/js/views/setting/Mailman.vue | 30 ++++++------ resources/js/views/setting/Nami.vue | 13 ++---- 25 files changed, 160 insertions(+), 156 deletions(-) diff --git a/resources/js/components/form/Text.vue b/resources/js/components/form/Text.vue index 172d1f42..47635bcd 100644 --- a/resources/js/components/form/Text.vue +++ b/resources/js/components/form/Text.vue @@ -6,7 +6,7 @@
'', + required: true, }, label: { type: String, @@ -136,10 +136,6 @@ const props = defineProps({ type: Number, default: () => undefined, }, - name: { - required: true, - type: String, - }, }); const focus = ref(false); diff --git a/resources/js/views/Initialize/VIndex.vue b/resources/js/views/Initialize/VIndex.vue index cd334bd3..ff6b7adf 100644 --- a/resources/js/views/Initialize/VIndex.vue +++ b/resources/js/views/Initialize/VIndex.vue @@ -5,15 +5,15 @@

Bitte gib deine NaMi-Zugangsdaten ein,
um eine erste Synchronisation durchzuführen.

-
- - + + + Weiter
Suchkriterien festlegen -
+

Lege hier die Suchkriterien für den Abruf der Mitglieder-Daten fest. Mit diesen Suchkriterien wird im Anschluss eine Mitgliedersuche in NaMi durchgeführt. Alle Mitglieder, die @@ -21,71 +21,71 @@

Weiter
-
+
@@ -108,7 +108,7 @@ -
Keine Mitglieder gefunden
+
Keine Mitglieder gefunden
Standard-Gruppierung @@ -117,8 +117,8 @@

Dieser Gruppierung werden Mitglieder automatisch zugeordnet,
falls nichts anderes angegeben wurde.

I.d.R. ist das z.B. die Nummer deines Stammes, wenn du als StaVo mit Adrema Daten verwaltest.

- - + + ZurückWeiter @@ -141,9 +141,9 @@ import hasFlash from '../../mixins/hasFlash.js'; import debounce from 'lodash/debounce'; export default { - layout: FullLayout, mixins: [hasFlash], + layout: FullLayout, data: function () { return { diff --git a/resources/js/views/VLogin.vue b/resources/js/views/VLogin.vue index d890e02a..c65ea511 100644 --- a/resources/js/views/VLogin.vue +++ b/resources/js/views/VLogin.vue @@ -5,8 +5,8 @@
- - + +
diff --git a/resources/js/views/activity/Masslist.vue b/resources/js/views/activity/Masslist.vue index ff2acb7e..c0ea1b5f 100644 --- a/resources/js/views/activity/Masslist.vue +++ b/resources/js/views/activity/Masslist.vue @@ -15,7 +15,7 @@ > - +
diff --git a/resources/js/views/authentication/PasswordResetConfirm.vue b/resources/js/views/authentication/PasswordResetConfirm.vue index b4c11f0b..6a44c06a 100644 --- a/resources/js/views/authentication/PasswordResetConfirm.vue +++ b/resources/js/views/authentication/PasswordResetConfirm.vue @@ -11,8 +11,8 @@ Merke oder notiere dir dieses Passwort, bevor du das Formular absendest.
Danach wirst du zum Dashboard weitergeleitet. - - + +
diff --git a/resources/js/views/authentication/VLogin.vue b/resources/js/views/authentication/VLogin.vue index 1a6dbd4f..9d4ee1d4 100644 --- a/resources/js/views/authentication/VLogin.vue +++ b/resources/js/views/authentication/VLogin.vue @@ -5,12 +5,11 @@
- - + +
- +
diff --git a/resources/js/views/contribution/VIndex.vue b/resources/js/views/contribution/VIndex.vue index 21c3f485..629e7521 100644 --- a/resources/js/views/contribution/VIndex.vue +++ b/resources/js/views/contribution/VIndex.vue @@ -1,38 +1,42 @@ diff --git a/resources/js/views/setting/Form.vue b/resources/js/views/setting/Form.vue index 510040b8..2c302efb 100644 --- a/resources/js/views/setting/Form.vue +++ b/resources/js/views/setting/Form.vue @@ -9,8 +9,8 @@

Hier kannst du Einstellungen für Anmeldeformulare setzen.

- - + +
diff --git a/resources/js/views/setting/Mailman.vue b/resources/js/views/setting/Mailman.vue index 87186f32..b9d98ad9 100644 --- a/resources/js/views/setting/Mailman.vue +++ b/resources/js/views/setting/Mailman.vue @@ -19,13 +19,13 @@
- - - - - - - + + + + + + +
@@ -36,16 +36,19 @@ import SettingLayout from './Layout.vue'; export default { - data: function () { - return { - inner: {...this.data}, - }; + components: { + SettingLayout, }, props: { data: {}, state: {}, lists: {}, }, + data: function () { + return { + inner: {...this.data}, + }; + }, computed: { stateDisplay() { if (this.state === null) { @@ -74,14 +77,11 @@ export default { submit() { this.$inertia.post('/setting/mailman', this.inner, { onSuccess: (page) => { - this.$success('Einstellungen gespeichert.') + this.$success('Einstellungen gespeichert.'); this.inner = page.props.data; }, }); }, }, - components: { - SettingLayout, - }, }; diff --git a/resources/js/views/setting/Nami.vue b/resources/js/views/setting/Nami.vue index 2b992cec..d396325f 100644 --- a/resources/js/views/setting/Nami.vue +++ b/resources/js/views/setting/Nami.vue @@ -4,15 +4,12 @@ -
+
-

Hier kannst du deine Zugangsdaten zu NaMi anpassen, falls sich z.B. dein Passwort - geändert hat.

+

Hier kannst du deine Zugangsdaten zu NaMi anpassen, falls sich z.B. dein Passwort geändert hat.

- - + +
@@ -36,7 +33,7 @@ export default { }, data: function () { return { - inner: { ...this.data }, + inner: {...this.data}, }; }, methods: {