akaunting 3.0 (the last dance)
This commit is contained in:
20
app/View/Components/Form/Input/Checkbox.php
Normal file
20
app/View/Components/Form/Input/Checkbox.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Color.php
Normal file
20
app/View/Components/Form/Input/Color.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Editor.php
Normal file
20
app/View/Components/Form/Input/Editor.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Email.php
Normal file
20
app/View/Components/Form/Input/Email.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Ffile.php
Normal file
20
app/View/Components/Form/Input/Ffile.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Hidden.php
Normal file
20
app/View/Components/Form/Input/Hidden.php
Normal 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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Input.php
Normal file
20
app/View/Components/Form/Input/Input.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Money.php
Normal file
20
app/View/Components/Form/Input/Money.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Number.php
Normal file
20
app/View/Components/Form/Input/Number.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Password.php
Normal file
20
app/View/Components/Form/Input/Password.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Radio.php
Normal file
20
app/View/Components/Form/Input/Radio.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Select.php
Normal file
20
app/View/Components/Form/Input/Select.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Text.php
Normal file
20
app/View/Components/Form/Input/Text.php
Normal file
@@ -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');
|
||||
}
|
||||
}
|
20
app/View/Components/Form/Input/Textarea.php
Normal file
20
app/View/Components/Form/Input/Textarea.php
Normal file
@@ -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