name: zab/table-checklist
title: "Table Checklist"
description: "Block Checklist"
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 Table
  - identifier: tab_table
    type: Tab
    label: "Table"
  - identifier: headline
    type: TextInput
    label: "Table Header"
  - identifier: items
    type: Collection
    label: "Table Body"
    minitems: 0
    appearance:
      levelLinksPosition: bottom
    fields:
      - identifier: row_1
        type: Palette
        fields:
          - identifier: label
            type: TextInput
            label: "Label"
          - identifier: caption
            type: TextInput
            label: "Caption"
          - identifier: check
            type: Select
            label: "Check"
            renderType: selectSingle
            items:
              - label: "True"
                value: checked
              - label: "False"
                value: unchecked
      - identifier: text
        type: Textarea
        label: "text"
        enableRichtext: true
        richtextConfiguration: minimal
