name: zab/tabs-horizontal
title: "Tabs Horizontal"
description: "Block with content box visible by tabs"
group: Content Elements
priority: -20
prefixFields: true
prefixType: full
fields:
  - identifier: Zab/GeneralRow
    type: Basic

  # Tab Content
  - identifier: tab_content
    type: Tab
    label: "Content"
  - identifier: pretitle
    type: TextInput
    label: "Pretitle"
  - identifier: title
    type: TextInput
    label: "Title"
  - identifier: info
    type: Textarea
    label: "Info"

  # Tab Tabs
  - identifier: tab_tabs
    type: Tab
    label: "Tabs"
  - identifier: tabs
    type: Collection
    label: "Tabs Content"
    minitems: 0
    maxitems: 4
    appearance:
      levelLinksPosition: bottom
    fields:
      - identifier: opt_color
        label: "Steps Color"
        type: Select
        renderType: selectSingle
        items:
          - label: "White"
            value: white
          - label: "Gray"
            value: black10
        itemsProcFunc: 'Zab\ZabSite\Utility\ContentOptions->getColors'
      - identifier: tab_label
        type: TextInput
        label: "Tab Label"
      - identifier: title
        type: TextInput
        label: "Title"
      - identifier: description
        type: Textarea
        label: "Description"
        enableRichtext: true

      - identifier: tab_tabs_content
        label: "Content"
        type: Tab
      - identifier: text
        type: Textarea
        label: "Text"
        enableRichtext: true

      - identifier: tab_tabs_banner
        label: "Banner"
        type: Tab
      - identifier: label
        type: TextInput
        label: "Title"
      - identifier: caption
        type: TextInput
        label: "Caption"
      - identifier: row_1
        type: Palette
        fields:
          - identifier: link1
            type: Link
            label: "Link 1"
            allowedTypes:
              - page
              - url
              - file
          - identifier: link2
            type: Link
            label: "Link 2"
            allowedTypes:
              - page
              - url
              - file
