From d7672647e1e82071afbe9393941917ad10d0a804 Mon Sep 17 00:00:00 2001 From: David Mellen Date: Wed, 13 Nov 2024 07:59:16 +0100 Subject: [PATCH] refactor: remove unnecessary levels in yaml config --- Configuration/Form/BaseSetup.yaml | 89 ++++---- .../Form/Finishers/JsonRedirectFinisher.yaml | 115 +++++------ .../Form/FormElements/AdvancedPassword.yaml | 183 +++++++++-------- Configuration/Form/FormElements/Checkbox.yaml | 95 +++++---- Configuration/Form/FormElements/Date.yaml | 189 +++++++++-------- Configuration/Form/FormElements/Email.yaml | 183 +++++++++-------- Configuration/Form/FormElements/Fieldset.yaml | 67 +++--- Configuration/Form/FormElements/GridRow.yaml | 67 +++--- .../Form/FormElements/MultiCheckbox.yaml | 81 ++++---- .../Form/FormElements/MultiSelect.yaml | 81 ++++---- Configuration/Form/FormElements/Number.yaml | 191 +++++++++--------- Configuration/Form/FormElements/Password.yaml | 183 +++++++++-------- .../Form/FormElements/RadioButton.yaml | 67 +++--- .../Form/FormElements/SingleSelect.yaml | 67 +++--- .../Form/FormElements/StaticText.yaml | 67 +++--- .../Form/FormElements/Telephone.yaml | 183 +++++++++-------- Configuration/Form/FormElements/Text.yaml | 183 +++++++++-------- Configuration/Form/FormElements/Textarea.yaml | 183 +++++++++-------- Configuration/Form/FormElements/Url.yaml | 183 +++++++++-------- 19 files changed, 1200 insertions(+), 1257 deletions(-) diff --git a/Configuration/Form/BaseSetup.yaml b/Configuration/Form/BaseSetup.yaml index 029872b..10c0b23 100644 --- a/Configuration/Form/BaseSetup.yaml +++ b/Configuration/Form/BaseSetup.yaml @@ -20,49 +20,46 @@ imports: - { resource: './Finishers/JsonRedirectFinisher.yaml' } -TYPO3: - CMS: - Form: - prototypes: - standard: - formEditor: - translationFiles: - 20: "EXT:rmnd_headless/Resources/Private/Language/locallang_form.xlf" - formEngine: - translationFiles: - 20: "EXT:rmnd_headless/Resources/Private/Language/locallang_form.xlf" - formElementsDefinition: - DatePicker: - formEditor: - group: null - Form: - formEditor: - predefinedDefaults: - i18n: - identifier: i18n - renderingOptions: - formDecorator: Remind\Headless\Form\FormDefinitionDecorator - editors: - # Overwrite submitButtonLabel propertyPath to be included in json output - 300: - propertyPath: i18n.properties.submit - 400: - identifier: successText - templateName: Inspector-TextEditor - label: formEditor.elements.Form.editor.successText.label - propertyPath: i18n.properties.success - 401: - identifier: loadingText - templateName: Inspector-TextEditor - label: formEditor.elements.Form.editor.loadingText.label - propertyPath: i18n.properties.loading - 402: - identifier: requiredHint - templateName: Inspector-TextEditor - label: formEditor.elements.Form.editor.requiredHint.label - propertyPath: i18n.properties.required - 900: - selectOptions: - # Remove redirect (non JSON) and confirmation finisher - 40: null - 60: null +prototypes: + standard: + formEditor: + translationFiles: + 20: "EXT:rmnd_headless/Resources/Private/Language/locallang_form.xlf" + formEngine: + translationFiles: + 20: "EXT:rmnd_headless/Resources/Private/Language/locallang_form.xlf" + formElementsDefinition: + DatePicker: + formEditor: + group: null + Form: + formEditor: + predefinedDefaults: + i18n: + identifier: i18n + renderingOptions: + formDecorator: Remind\Headless\Form\FormDefinitionDecorator + editors: + # Overwrite submitButtonLabel propertyPath to be included in json output + 300: + propertyPath: i18n.properties.submit + 400: + identifier: successText + templateName: Inspector-TextEditor + label: formEditor.elements.Form.editor.successText.label + propertyPath: i18n.properties.success + 401: + identifier: loadingText + templateName: Inspector-TextEditor + label: formEditor.elements.Form.editor.loadingText.label + propertyPath: i18n.properties.loading + 402: + identifier: requiredHint + templateName: Inspector-TextEditor + label: formEditor.elements.Form.editor.requiredHint.label + propertyPath: i18n.properties.required + 900: + selectOptions: + # Remove redirect (non JSON) and confirmation finisher + 40: null + 60: null diff --git a/Configuration/Form/Finishers/JsonRedirectFinisher.yaml b/Configuration/Form/Finishers/JsonRedirectFinisher.yaml index 5134061..34001fe 100644 --- a/Configuration/Form/Finishers/JsonRedirectFinisher.yaml +++ b/Configuration/Form/Finishers/JsonRedirectFinisher.yaml @@ -1,60 +1,57 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Form: - formEditor: +prototypes: + standard: + formElementsDefinition: + Form: + formEditor: + editors: + 900: + selectOptions: + 70: + value: JsonRedirect + label: formEditor.elements.Form.editor.finishers.Redirect.label + propertyCollections: + finishers: + 70: + identifier: JsonRedirect editors: - 900: - selectOptions: - 70: - value: JsonRedirect - label: formEditor.elements.Form.editor.finishers.Redirect.label - propertyCollections: - finishers: - 70: - identifier: JsonRedirect - editors: - 100: - identifier: header - templateName: Inspector-CollectionElementHeaderEditor - label: formEditor.elements.Form.finisher.Redirect.editor.header.label - 200: - identifier: pageUid - templateName: Inspector-Typo3WinBrowserEditor - label: formEditor.elements.Form.finisher.Redirect.editor.pageUid.label - buttonLabel: formEditor.elements.Form.finisher.Redirect.editor.pageUid.buttonLabel - browsableType: pages - iconIdentifier: apps-pagetree-page-default - propertyPath: options.pageUid - propertyValidatorsMode: OR - propertyValidators: - 10: Integer - 20: FormElementIdentifierWithinCurlyBracesExclusive - finishersDefinition: - JsonRedirect: - implementationClassName: 'FriendsOfTYPO3\Headless\Form\Finisher\JsonRedirectFinisher' - formEditor: - iconIdentifier: form-finisher - label: formEditor.elements.Form.finisher.Redirect.editor.header.label - predefinedDefaults: - options: - pageUid: "" - additionalParameters: "" - FormEngine: - label: tt_content.finishersDefinition.Redirect.label - elements: - pageUid: - label: tt_content.finishersDefinition.Redirect.pageUid.label - config: - type: group - internal_type: db - allowed: pages - size: 1 - minitems: 1 - maxitems: 1 - fieldWizard: - recordsOverview: - disabled: 1 + 100: + identifier: header + templateName: Inspector-CollectionElementHeaderEditor + label: formEditor.elements.Form.finisher.Redirect.editor.header.label + 200: + identifier: pageUid + templateName: Inspector-Typo3WinBrowserEditor + label: formEditor.elements.Form.finisher.Redirect.editor.pageUid.label + buttonLabel: formEditor.elements.Form.finisher.Redirect.editor.pageUid.buttonLabel + browsableType: pages + iconIdentifier: apps-pagetree-page-default + propertyPath: options.pageUid + propertyValidatorsMode: OR + propertyValidators: + 10: Integer + 20: FormElementIdentifierWithinCurlyBracesExclusive + finishersDefinition: + JsonRedirect: + implementationClassName: 'FriendsOfTYPO3\Headless\Form\Finisher\JsonRedirectFinisher' + formEditor: + iconIdentifier: form-finisher + label: formEditor.elements.Form.finisher.Redirect.editor.header.label + predefinedDefaults: + options: + pageUid: "" + additionalParameters: "" + FormEngine: + label: tt_content.finishersDefinition.Redirect.label + elements: + pageUid: + label: tt_content.finishersDefinition.Redirect.pageUid.label + config: + type: group + internal_type: db + allowed: pages + size: 1 + minitems: 1 + maxitems: 1 + fieldWizard: + recordsOverview: + disabled: 1 diff --git a/Configuration/Form/FormElements/AdvancedPassword.yaml b/Configuration/Form/FormElements/AdvancedPassword.yaml index 8295f73..1d6561d 100644 --- a/Configuration/Form/FormElements/AdvancedPassword.yaml +++ b/Configuration/Form/FormElements/AdvancedPassword.yaml @@ -1,95 +1,92 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - AdvancedPassword: - formEditor: +prototypes: + standard: + formElementsDefinition: + AdvancedPassword: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/Checkbox.yaml b/Configuration/Form/FormElements/Checkbox.yaml index 9ae1421..88a44f1 100644 --- a/Configuration/Form/FormElements/Checkbox.yaml +++ b/Configuration/Form/FormElements/Checkbox.yaml @@ -1,49 +1,46 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Checkbox: - formEditor: - editors: - 300: - identifier: links - templateName: Inspector-PropertyGridEditor - label: formEditor.elements.FormElement.editor.links.label - propertyPath: properties.links - isSortable: true - enableAddRow: true - enableDeleteRow: true - useLabelAsFallbackValue: false - gridColumns: - - name: label - title: formEditor.elements.FormElement.editor.links.linkText - - name: value - title: formEditor.elements.FormElement.editor.links.pageUid - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label +prototypes: + standard: + formElementsDefinition: + Checkbox: + formEditor: + editors: + 300: + identifier: links + templateName: Inspector-PropertyGridEditor + label: formEditor.elements.FormElement.editor.links.label + propertyPath: properties.links + isSortable: true + enableAddRow: true + enableDeleteRow: true + useLabelAsFallbackValue: false + gridColumns: + - name: label + title: formEditor.elements.FormElement.editor.links.linkText + - name: value + title: formEditor.elements.FormElement.editor.links.pageUid + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label diff --git a/Configuration/Form/FormElements/Date.yaml b/Configuration/Form/FormElements/Date.yaml index 5b34db1..b4b7725 100644 --- a/Configuration/Form/FormElements/Date.yaml +++ b/Configuration/Form/FormElements/Date.yaml @@ -1,97 +1,94 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Date: - formEditor: +prototypes: + standard: + formElementsDefinition: + Date: + formEditor: + editors: + 550: + propertyPath: properties.step + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + predefinedDefaults: + properties: null + propertyCollections: + validators: + 10: editors: - 550: - propertyPath: properties.step - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - predefinedDefaults: - properties: null - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 250: - additionalElementPropertyPaths: null - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 250: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 250: + additionalElementPropertyPaths: null + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 250: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/Email.yaml b/Configuration/Form/FormElements/Email.yaml index 5227f47..3a3807d 100644 --- a/Configuration/Form/FormElements/Email.yaml +++ b/Configuration/Form/FormElements/Email.yaml @@ -1,95 +1,92 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Email: - formEditor: +prototypes: + standard: + formElementsDefinition: + Email: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/Fieldset.yaml b/Configuration/Form/FormElements/Fieldset.yaml index 8d1f5d9..72c4ec3 100644 --- a/Configuration/Form/FormElements/Fieldset.yaml +++ b/Configuration/Form/FormElements/Fieldset.yaml @@ -1,35 +1,32 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Fieldset: - formEditor: - editors: - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label +prototypes: + standard: + formElementsDefinition: + Fieldset: + formEditor: + editors: + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label diff --git a/Configuration/Form/FormElements/GridRow.yaml b/Configuration/Form/FormElements/GridRow.yaml index b8808a4..f47f397 100644 --- a/Configuration/Form/FormElements/GridRow.yaml +++ b/Configuration/Form/FormElements/GridRow.yaml @@ -1,35 +1,32 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - GridRow: - formEditor: - editors: - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label +prototypes: + standard: + formElementsDefinition: + GridRow: + formEditor: + editors: + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label diff --git a/Configuration/Form/FormElements/MultiCheckbox.yaml b/Configuration/Form/FormElements/MultiCheckbox.yaml index 17b1445..3b4ded3 100644 --- a/Configuration/Form/FormElements/MultiCheckbox.yaml +++ b/Configuration/Form/FormElements/MultiCheckbox.yaml @@ -1,43 +1,40 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - MultiCheckbox: - formEditor: +prototypes: + standard: + formElementsDefinition: + MultiCheckbox: + formEditor: + editors: + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/MultiSelect.yaml b/Configuration/Form/FormElements/MultiSelect.yaml index 49b90ea..49b4b67 100644 --- a/Configuration/Form/FormElements/MultiSelect.yaml +++ b/Configuration/Form/FormElements/MultiSelect.yaml @@ -1,43 +1,40 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - MultiSelect: - formEditor: +prototypes: + standard: + formElementsDefinition: + MultiSelect: + formEditor: + editors: + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/Number.yaml b/Configuration/Form/FormElements/Number.yaml index fefc8ff..7d20f93 100644 --- a/Configuration/Form/FormElements/Number.yaml +++ b/Configuration/Form/FormElements/Number.yaml @@ -1,99 +1,96 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Number: - formEditor: +prototypes: + standard: + formElementsDefinition: + Number: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + 550: + propertyPath: properties.step + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + predefinedDefaults: + properties: null + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - 550: - propertyPath: properties.step - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - predefinedDefaults: - properties: null - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true \ No newline at end of file + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true \ No newline at end of file diff --git a/Configuration/Form/FormElements/Password.yaml b/Configuration/Form/FormElements/Password.yaml index 1497054..117bd02 100644 --- a/Configuration/Form/FormElements/Password.yaml +++ b/Configuration/Form/FormElements/Password.yaml @@ -1,95 +1,92 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Password: - formEditor: +prototypes: + standard: + formElementsDefinition: + Password: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/RadioButton.yaml b/Configuration/Form/FormElements/RadioButton.yaml index 02b6fae..2072920 100644 --- a/Configuration/Form/FormElements/RadioButton.yaml +++ b/Configuration/Form/FormElements/RadioButton.yaml @@ -1,35 +1,32 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - RadioButton: - formEditor: - editors: - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label +prototypes: + standard: + formElementsDefinition: + RadioButton: + formEditor: + editors: + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label diff --git a/Configuration/Form/FormElements/SingleSelect.yaml b/Configuration/Form/FormElements/SingleSelect.yaml index 1bfc15e..eae787e 100644 --- a/Configuration/Form/FormElements/SingleSelect.yaml +++ b/Configuration/Form/FormElements/SingleSelect.yaml @@ -1,35 +1,32 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - SingleSelect: - formEditor: - editors: - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label +prototypes: + standard: + formElementsDefinition: + SingleSelect: + formEditor: + editors: + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label diff --git a/Configuration/Form/FormElements/StaticText.yaml b/Configuration/Form/FormElements/StaticText.yaml index cede22d..d7d848f 100644 --- a/Configuration/Form/FormElements/StaticText.yaml +++ b/Configuration/Form/FormElements/StaticText.yaml @@ -1,35 +1,32 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - StaticText: - formEditor: - editors: - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label +prototypes: + standard: + formElementsDefinition: + StaticText: + formEditor: + editors: + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label diff --git a/Configuration/Form/FormElements/Telephone.yaml b/Configuration/Form/FormElements/Telephone.yaml index 10deb1c..951f6c8 100644 --- a/Configuration/Form/FormElements/Telephone.yaml +++ b/Configuration/Form/FormElements/Telephone.yaml @@ -1,95 +1,92 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Telephone: - formEditor: +prototypes: + standard: + formElementsDefinition: + Telephone: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/Text.yaml b/Configuration/Form/FormElements/Text.yaml index 8af3c93..4039cba 100644 --- a/Configuration/Form/FormElements/Text.yaml +++ b/Configuration/Form/FormElements/Text.yaml @@ -1,95 +1,92 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Text: - formEditor: +prototypes: + standard: + formElementsDefinition: + Text: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/Textarea.yaml b/Configuration/Form/FormElements/Textarea.yaml index 663e7af..a51411f 100644 --- a/Configuration/Form/FormElements/Textarea.yaml +++ b/Configuration/Form/FormElements/Textarea.yaml @@ -1,95 +1,92 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Textarea: - formEditor: +prototypes: + standard: + formElementsDefinition: + Textarea: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true diff --git a/Configuration/Form/FormElements/Url.yaml b/Configuration/Form/FormElements/Url.yaml index 9400936..e19b607 100644 --- a/Configuration/Form/FormElements/Url.yaml +++ b/Configuration/Form/FormElements/Url.yaml @@ -1,95 +1,92 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Url: - formEditor: +prototypes: + standard: + formElementsDefinition: + Url: + formEditor: + editors: + 400: + propertyPath: properties.placeholder + # Remove default Grid viewport configuration + 700: null + 701: + identifier: size + templateName: Inspector-SingleSelectEditor + label: formEditor.elements.FormElement.editor.size.label + propertyPath: properties.size + selectOptions: + 10: + value: "" + label: formEditor.elements.FormElement.editor.size.default.label + 20: + value: xs + label: formEditor.elements.FormElement.editor.size.xs.label + 30: + value: sm + label: formEditor.elements.FormElement.editor.size.sm.label + 40: + value: md + label: formEditor.elements.FormElement.editor.size.md.label + 50: + value: lg + label: formEditor.elements.FormElement.editor.size.lg.label + 60: + value: xl + label: formEditor.elements.FormElement.editor.size.xl.label + propertyCollections: + validators: + 10: editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 20: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 30: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null + 400: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 40: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 50: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 60: + editors: + 200: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 70: + editors: + 200: + additionalElementPropertyPaths: null + 300: + additionalElementPropertyPaths: null 400: - propertyPath: properties.placeholder - # Remove default Grid viewport configuration - 700: null - 701: - identifier: size - templateName: Inspector-SingleSelectEditor - label: formEditor.elements.FormElement.editor.size.label - propertyPath: properties.size - selectOptions: - 10: - value: "" - label: formEditor.elements.FormElement.editor.size.default.label - 20: - value: xs - label: formEditor.elements.FormElement.editor.size.xs.label - 30: - value: sm - label: formEditor.elements.FormElement.editor.size.sm.label - 40: - value: md - label: formEditor.elements.FormElement.editor.size.md.label - 50: - value: lg - label: formEditor.elements.FormElement.editor.size.lg.label - 60: - value: xl - label: formEditor.elements.FormElement.editor.size.xl.label - propertyCollections: - validators: - 10: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 20: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 30: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 40: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 50: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 60: - editors: - 200: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 70: - editors: - 200: - additionalElementPropertyPaths: null - 300: - additionalElementPropertyPaths: null - 400: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true - 80: - editors: - 300: - templateName: Inspector-TextEditor - propertyPath: customErrorMessage - doNotSetIfPropertyValueIsEmpty: true + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true + 80: + editors: + 300: + templateName: Inspector-TextEditor + propertyPath: customErrorMessage + doNotSetIfPropertyValueIsEmpty: true