Implement A DataTable using the repository.
<v-table
ref="tasks"
route="tasks/table">
<template slot="caption">
<i class="fa fa-tasks"></i> Tasks
<script> | |
/** | |
* @property validator | |
**/ | |
export default { | |
name: "Control", | |
props: { | |
field: { | |
type: String, | |
}, |
<script> | |
import {Validator} from 'laravel-micro.js' | |
export default { | |
name: "Form", | |
props:{ | |
route: { | |
type: String, | |
required: true, | |
}, | |
method: { |
<script> | |
import {mapGetters, mapState, mapMutations} from 'vuex' | |
export default { | |
name: "Base", | |
computed: { | |
...mapGetters('menus', { | |
leftItems: 'left', | |
rightItems: 'right', | |
}), | |
...mapState('menus', { |
<script> | |
import dragDrop from 'drag-drop' | |
import {HasLoadingState, HasErrors} from '../mixins' | |
export default { | |
mixins: [ | |
HasLoadingState, | |
HasErrors, | |
], | |
data() { |
Laravel Model & Index https://gist.github.com/bayareawebpro/ab53ccd81a4855b5267aead158c21670 https://gist.github.com/bayareawebpro/bb8c3a03718f6dc70a8ed569e4465f7e
https://github.com/moshe/elasticsearch_loader
~/Library/Python/2.7/bin/elasticsearch_loader
--index locations
<?php | |
namespace App; | |
use App\Traits\FullTextSearchable; | |
use App\Traits\Radial; | |
use Illuminate\Database\Eloquent\Model; | |
use ScoutElastic\Searchable; | |
class Location extends Model |
<?php | |
namespace App; | |
use ScoutElastic\IndexConfigurator; | |
use ScoutElastic\Migratable; | |
class LocationIndex extends IndexConfigurator | |
{ | |
use Migratable; |
<?php declare(strict_types=1); | |
namespace App\Leads; | |
use Carbon\Carbon; | |
use Illuminate\Support\Arr; | |
use Illuminate\Support\Str; | |
use Illuminate\Support\Collection; | |
use Illuminate\Session\Store as Session; | |
use Illuminate\Config\Repository as Config; |