<commit_before># -----------------------------------------------------------------------------
#
# Button & Link - abstract
#
# -----------------------------------------------------------------------------
'M12.Foundation:ButtonLinkAbstract':
  abstract: TRUE
  superTypes:
    'TYPO3.Neos:Content': TRUE
    'M12.Foundation:AbstractSectionIdMagellan': TRUE
    'M12.Foundation:AbstractFontIcon': TRUE
    'M12.Foundation:AbstractTitleTooltip': TRUE
    'M12.Foundation:AbstractNodeTitle': TRUE
  ui:
    group: 'interactive'
    inspector:
      groups:
        buttonOptions:
          label: 'Button options'
          position: 6
        linkOptions:
          label: 'Link options'
          position: 7
        revDropOptions:
          label: 'Modal & dropdown options'
          position: 8
  constraints:
    nodeTypes:
      '*': FALSE # No children items allowed
  properties:
    label:
      type: string
      defaultValue: 'Link label'
      ui:
        label: 'Link label'
        inlineEditable: TRUE
        inspector:
          group: 'linkOptions'
          position: 10
        aloha:
          format:
            strong: TRUE
            em: TRUE
            u: TRUE
            sub: TRUE
            sup: TRUE
            p: FALSE
            h1: FALSE
            h2: FALSE
            h3: FALSE
            h4: FALSE
            h5: FALSE
          link:
            a: FALSE
          alignment:
            left: FALSE
            center: FALSE
            right: FALSE
            justify: FALSE
          formatlesspaste:
            button: FALSE
            formatlessPasteOption: TRUE
            autoparagraph: FALSE
    url:
      type: string
      ui:
        label: 'Link / URL'
        help:
          message: |
            You can specify link in two ways:
            
            ##### Link to internal page
            Simply start typing the page title and it should appear on the list. Click to select and you're done.
            
            ##### Link to external page
            Paste a full URL address starting with `http://` or `https://` to link to _external_ page.
        reloadIfChanged: TRUE
        inspector:
          group: 'linkOptions'
          position: 20
          editor: Content/Inspector/Editors/LinkEditor
          editorOptions:
            placeholder: 'Page name or external URL...'
    htmlTargetBlank:
      type: string
      ui:
        label: 'Open in new window'
        reloadIfChanged: TRUE
        inspector:
          group: 'linkOptions'
          position: 30
          editor: Content/Inspector/Editors/SelectBoxEditor
          editorOptions:
            placeholder: 'No'
            allowEmpty: TRUE
            values:
              _blank:
                label: 'Yes'
    htmlTitle:
      type: string
      defaultValue: 'Link title'
      ui:
        label: 'Link title'
        inspector:
          group: 'linkOptions'
          position: 40
    # Reveal Modal related properties.
    htmlDataRevealId:
      type: string
      ui:
        label: 'Reveal Modal ID'
        help:
          message: |
            Only applicable when using with _Reveal Modal_ elements.
            
            You need to specify `Reveal Modal ID` value for _Reveal Modal_ element. Then put the same value here to open that Reveal Modal window.
        reloadIfChanged: TRUE
        inspector:
          group: 'revDropOptions'
          editorOptions:
            placeholder: 'e.g. myModal'
      validation:
        regularExpression:
          regularExpression: '/^[-a-z0-9_]+$/i'
    # Dropdown related properties.
    htmlDataDropdownId:
      type: string
      ui:<commit_msg>Button: default value for html title removed<commit_after># -----------------------------------------------------------------------------
#
# Button & Link - abstract
#
# -----------------------------------------------------------------------------
'M12.Foundation:ButtonLinkAbstract':
  abstract: TRUE
  superTypes:
    'TYPO3.Neos:Content': TRUE
    'M12.Foundation:AbstractSectionIdMagellan': TRUE
    'M12.Foundation:AbstractFontIcon': TRUE
    'M12.Foundation:AbstractTitleTooltip': TRUE
    'M12.Foundation:AbstractNodeTitle': TRUE
  ui:
    group: 'interactive'
    inspector:
      groups:
        buttonOptions:
          label: 'Button options'
          position: 6
        linkOptions:
          label: 'Link options'
          position: 7
        revDropOptions:
          label: 'Modal & dropdown options'
          position: 8
  constraints:
    nodeTypes:
      '*': FALSE # No children items allowed
  properties:
    label:
      type: string
      defaultValue: 'Link label'
      ui:
        label: 'Link label'
        inlineEditable: TRUE
        inspector:
          group: 'linkOptions'
          position: 10
        aloha:
          format:
            strong: TRUE
            em: TRUE
            u: TRUE
            sub: TRUE
            sup: TRUE
            p: FALSE
            h1: FALSE
            h2: FALSE
            h3: FALSE
            h4: FALSE
            h5: FALSE
          link:
            a: FALSE
          alignment:
            left: FALSE
            center: FALSE
            right: FALSE
            justify: FALSE
          formatlesspaste:
            button: FALSE
            formatlessPasteOption: TRUE
            autoparagraph: FALSE
    url:
      type: string
      ui:
        label: 'Link / URL'
        help:
          message: |
            You can specify link in two ways:
            
            ##### Link to internal page
            Simply start typing the page title and it should appear on the list. Click to select and you're done.
            
            ##### Link to external page
            Paste a full URL address starting with `http://` or `https://` to link to _external_ page.
        reloadIfChanged: TRUE
        inspector:
          group: 'linkOptions'
          position: 20
          editor: Content/Inspector/Editors/LinkEditor
          editorOptions:
            placeholder: 'Page name or external URL...'
    htmlTargetBlank:
      type: string
      ui:
        label: 'Open in new window'
        reloadIfChanged: TRUE
        inspector:
          group: 'linkOptions'
          position: 30
          editor: Content/Inspector/Editors/SelectBoxEditor
          editorOptions:
            placeholder: 'No'
            allowEmpty: TRUE
            values:
              _blank:
                label: 'Yes'
    htmlTitle:
      type: string
      ui:
        label: 'Link title'
        inspector:
          group: 'linkOptions'
          position: 40
    # Reveal Modal related properties.
    htmlDataRevealId:
      type: string
      ui:
        label: 'Reveal Modal ID'
        help:
          message: |
            Only applicable when using with _Reveal Modal_ elements.
            
            You need to specify `Reveal Modal ID` value for _Reveal Modal_ element. Then put the same value here to open that Reveal Modal window.
        reloadIfChanged: TRUE
        inspector:
          group: 'revDropOptions'
          editorOptions:
            placeholder: 'e.g. myModal'
      validation:
        regularExpression:
          regularExpression: '/^[-a-z0-9_]+$/i'
    # Dropdown related properties.
    htmlDataDropdownId:
      type: string
      ui:
{'fraction_non_alphanumeric': 0.1098691384950927, 'fraction_numerical': 0.007906215921483098, 'mean_word_length': 1.362202189311011, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '359846', 'n_tokens_mistral': 1875, 'n_tokens_neox': 1830, 'n_words': 586}