src/Engine/CrudeSetup.php
public function getJSData()
    {
        return [
            'name'          => $this->name,
            'title'         => $this->title,
            'description'   => $this->description,
            'column'        => $this->column,
            'extraColumn'   => $this->extraColumn,
            'columnFormat'  => $this->columnFormat,
            'addForm'       => $this->addForm,
            'editForm'      => $this->editForm,
            'inputType'     => $this->inputType,
            'actions'       => $this->actions,

            'deleteOption'      => $this->deleteOption,
            'editOption'        => $this->editOption,
            'addOption'         => $this->addOption,
            'orderOption'       => $this->orderOption,
            'exportOption'      => $this->exportOption,
            'microEditOption'   => $this->microEditOption,

            'modelDefaults' => $this->modelDefaults,
            'selectOptions' => $this->selectOptions,
            'filters'       => $this->filters,
            'richFilters'   => $this->richFilters,
            'showFilters'   => $this->showFilters,
            'trans'         => $this->trans,
            'moduleInPopup' => $this->moduleInPopup,
            'customActions' => $this->customActions,
            'panelView'     => $this->panelView,
            'orderParameters' => $this->orderParameters,
            'checkboxColumn' => $this->checkboxColumn,
            'defaultSortAttr' => $this->defaultSortAttr,
            'defaultSortOrder' => $this->defaultSortOrder,
            'interfaceTrans' => $this->getInterfaceTrans(),
            'thumbnailColumns' => $this->getThumbnailColumns(),
            'dateTimePickerOptions' => $this->getDateTimePickerOptions(),

            'config' => [
                'routePrefix'    => config('crude.routePrefix'),
                'numRowsOptions' => config('crude.numRowsOptions'),
                'iconClassName'  => config('crude.iconClassName'),
                'refreshAll'     => config('crude.refreshAll'),
                'mapCenter'      => config('crude.mapCenter'),
                'sortAttr'       => $this->getOrderAttribute(),
            ],
        ];
    }
public function getJSData()
    {
        return [
            'name'          => $this->name,
            'title'         => $this->title,
            'description'   => $this->description,
            'column'        => $this->column,
            'extraColumn'   => $this->extraColumn,
            'columnFormat'  => $this->columnFormat,
            'addForm'       => $this->addForm,
            'editForm'      => $this->editForm,
            'inputType'     => $this->inputType,
            'actions'       => $this->actions,

            'deleteOption'      => $this->deleteOption,
            'editOption'        => $this->editOption,
            'addOption'         => $this->addOption,
            'orderOption'       => $this->orderOption,
            'exportOption'      => $this->exportOption,
            'microEditOption'   => $this->microEditOption,

            'modelDefaults' => $this->modelDefaults,
            'selectOptions' => $this->selectOptions,
            'filters'       => $this->filters,
            'richFilters'   => $this->richFilters,
            'showFilters'   => $this->showFilters,
            'trans'         => $this->trans,
            'moduleInPopup' => $this->moduleInPopup,
            'customActions' => $this->customActions,
            'panelView'     => $this->panelView,
            'orderParameters' => $this->orderParameters,
            'checkboxColumn' => $this->checkboxColumn,
            'defaultSortAttr' => $this->defaultSortAttr,
            'defaultSortOrder' => $this->defaultSortOrder,
            'interfaceTrans' => $this->getInterfaceTrans(),
            'thumbnailColumns' => $this->getThumbnailColumns(),
            'dateTimePickerOptions' => $this->getDateTimePickerOptions(),

            'config' => [
                'routePrefix'    => config('crude.routePrefix'),
                'numRowsOptions' => config('crude.numRowsOptions'),
                'iconClassName'  => config('crude.iconClassName'),
                'refreshAll'     => config('crude.refreshAll'),
                'mapCenter'      => config('crude.mapCenter'),
                'sortAttr'       => $this->getOrderAttribute(),
            ],
        ];
    }
public function getJSData ( ) { return [ 'name' => $ this -> name , 'title' => $ this -> title , 'description' => $ this -> description , 'column' => $ this -> column , 'extraColumn' => $ this -> extraColumn , 'columnFormat' => $ this -> columnFormat , 'addForm' => $ this -> addForm , 'editForm' => $ this -> editForm , 'inputType' => $ this -> inputType , 'actions' => $ this -> actions , 'deleteOption' => $ this -> deleteOption , 'editOption' => $ this -> editOption , 'addOption' => $ this -> addOption , 'orderOption' => $ this -> orderOption , 'exportOption' => $ this -> exportOption , 'microEditOption' => $ this -> microEditOption , 'modelDefaults' => $ this -> modelDefaults , 'selectOptions' => $ this -> selectOptions , 'filters' => $ this -> filters , 'richFilters' => $ this -> richFilters , 'showFilters' => $ this -> showFilters , 'trans' => $ this -> trans , 'moduleInPopup' => $ this -> moduleInPopup , 'customActions' => $ this -> customActions , 'panelView' => $ this -> panelView , 'orderParameters' => $ this -> orderParameters , 'checkboxColumn' => $ this -> checkboxColumn , 'defaultSortAttr' => $ this -> defaultSortAttr , 'defaultSortOrder' => $ this -> defaultSortOrder , 'interfaceTrans' => $ this -> getInterfaceTrans ( ) , 'thumbnailColumns' => $ this -> getThumbnailColumns ( ) , 'dateTimePickerOptions' => $ this -> getDateTimePickerOptions ( ) , 'config' => [ 'routePrefix' => config ( 'crude.routePrefix' ) , 'numRowsOptions' => config ( 'crude.numRowsOptions' ) , 'iconClassName' => config ( 'crude.iconClassName' ) , 'refreshAll' => config ( 'crude.refreshAll' ) , 'mapCenter' => config ( 'crude.mapCenter' ) , 'sortAttr' => $ this -> getOrderAttribute ( ) , ] , ] ; }
Prepare data for JS list config model
@return array
Prepare data for JS list config model