<?php // $file = /home/senobar1/public_html/plugins/system/djc2yootheme/modules/builder-djcatalog2-source/elements/djc2_items_limit/element.json

return [
  '@import' => $filter->apply('path', './element.php', $file), 
  'name' => 'djc2itemslimiting', 
  'title' => 'Products Limiting', 
  'icon' => $filter->apply('url', 'images/icon.svg', $file), 
  'group' => 'DJ-Catalog2', 
  'iconSmall' => $filter->apply('url', 'images/iconSmall.svg', $file), 
  'element' => true, 
  'width' => 500, 
  'templates' => [
    'render' => $filter->apply('path', './templates/template.php', $file), 
    'content' => $filter->apply('path', './templates/content.php', $file)
  ], 
  'placeholder' => [
    'children' => [[
        'type' => 'djc2itemslimiting_item', 
        'props' => [
          'value' => 10
        ]
      ], [
        'type' => 'djc2itemslimiting_item', 
        'props' => [
          'value' => 25
        ]
      ], [
        'type' => 'djc2itemslimiting_item', 
        'props' => [
          'value' => 50
        ]
      ], [
        'type' => 'djc2itemslimiting_item', 
        'props' => [
          'value' => 100
        ]
      ]]
  ], 
  'fields' => [
    'content' => [
      'label' => 'Limits', 
      'title' => 'value', 
      'button' => 'Add limit', 
      'type' => 'content-items', 
      'item' => 'djc2itemslimiting_item'
    ], 
    'information' => [
      'label' => 'information', 
      'type' => 'grid', 
      'description' => 'This element renders limiting view for products.'
    ], 
    'name' => $config->get('builder.name'), 
    'id' => $config->get('builder.id'), 
    'status' => $config->get('builder.status'), 
    'class' => $config->get('builder.cls'), 
    'attributes' => $config->get('builder.attrs'), 
    'css' => [
      'type' => 'editor', 
      'label' => 'CSS', 
      'description' => 'Enter your own custom CSS. The following selectors will be prefixed automatically for this element: <code>.el-element</code>', 
      'editor' => 'code', 
      'mode' => 'css', 
      'attrs' => [
        'debounce' => 500
      ]
    ]
  ], 
  'fieldset' => [
    'default' => [
      'type' => 'tabs', 
      'fields' => [[
          'title' => 'Limits', 
          'fields' => ['information', 'content']
        ], $config->get('builder.advanced')]
    ]
  ]
];
