|
@@ -17,6 +17,7 @@ use Illuminate\Support\Str;
|
|
|
use Illuminate\Support\Traits\Macroable;
|
|
use Illuminate\Support\Traits\Macroable;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
|
+ * @method $this editable()
|
|
|
* @method $this switch(string $color = '')
|
|
* @method $this switch(string $color = '')
|
|
|
* @method $this switchGroup($columns = [], string $color = '')
|
|
* @method $this switchGroup($columns = [], string $color = '')
|
|
|
* @method $this image($server = '', int $width = 200, int $height = 200)
|
|
* @method $this image($server = '', int $width = 200, int $height = 200)
|
|
@@ -70,6 +71,7 @@ class Column
|
|
|
* @var array
|
|
* @var array
|
|
|
*/
|
|
*/
|
|
|
protected static $displayers = [
|
|
protected static $displayers = [
|
|
|
|
|
+ 'editable' => Displayers\Editable::class,
|
|
|
'switch' => Displayers\SwitchDisplay::class,
|
|
'switch' => Displayers\SwitchDisplay::class,
|
|
|
'switchGroup' => Displayers\SwitchGroup::class,
|
|
'switchGroup' => Displayers\SwitchGroup::class,
|
|
|
'select' => Displayers\Select::class,
|
|
'select' => Displayers\Select::class,
|