akaunting 3.0 (the last dance)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Checkbox extends Form
|
||||
{
|
||||
public $type = 'checkbox';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.checkbox');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Color extends Form
|
||||
{
|
||||
public $type = 'color';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.color');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Editor extends Form
|
||||
{
|
||||
public $type = 'editor';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.editor');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Email extends Form
|
||||
{
|
||||
public $type = 'email';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.email');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Ffile extends Form
|
||||
{
|
||||
public $type = 'file';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.file');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Hidden extends Form
|
||||
{
|
||||
public $type = 'hidden';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.hidden');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Input extends Form
|
||||
{
|
||||
public $type = 'input';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.input');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Money extends Form
|
||||
{
|
||||
public $type = 'money';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.money');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Number extends Form
|
||||
{
|
||||
public $type = 'number';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.number');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Password extends Form
|
||||
{
|
||||
public $type = 'password';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.password');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Radio extends Form
|
||||
{
|
||||
public $type = 'radio';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.radio');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Select extends Form
|
||||
{
|
||||
public $type = 'select';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.select');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Text extends Form
|
||||
{
|
||||
public $type = 'text';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.text');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Form\Input;
|
||||
|
||||
use App\Abstracts\View\Components\Form;
|
||||
|
||||
class Textarea extends Form
|
||||
{
|
||||
public $type = 'textarea';
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.form.input.textarea');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user