first commit

This commit is contained in:
2025-12-21 08:03:18 +07:00
commit 7c746f776a
300 changed files with 24836 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class CalenderArea extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.calender-area');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\common;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class CommonGridShape extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.common.common-grid-shape');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\common;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ComponentCard extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.common.component-card');
}
}

View File

@@ -0,0 +1,20 @@
<?php
namespace App\View\Components\common;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class DropdownMenu extends Component
{
public function __construct()
{
//
}
public function render(): View|Closure|string
{
return view('components.common.dropdown-menu');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\common;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class PageBreadcrumb extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.common.page-breadcrumb');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\common;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Preloader extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.common.preloader');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\common;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class TableDropdown extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.common.table-dropdown');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\common;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ThemeToggle extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.common.theme-toggle');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ecommerce;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class CustomerDemographic extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ecommerce.customer-demographic');
}
}

View File

@@ -0,0 +1,20 @@
<?php
namespace App\View\Components\ecommerce;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class EcommerceMetrics extends Component
{
public function __construct()
{
//
}
public function render(): View|Closure|string
{
return view('components.ecommerce.ecommerce-metrics');
}
}

View File

@@ -0,0 +1,20 @@
<?php
namespace App\View\Components\ecommerce;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class MonthlySale extends Component
{
public function __construct()
{
//
}
public function render(): View|Closure|string
{
return view('components.ecommerce.monthly-sale');
}
}

View File

@@ -0,0 +1,24 @@
<?php
namespace App\View\Components\ecommerce;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class MonthlyTarget extends Component
{
public function __construct()
{
//
}
public function render(): View|Closure|string
{
return view('components.ecommerce.monthly-target');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ecommerce;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class RecentOrders extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ecommerce.recent-orders');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ecommerce;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class StatisticsChart extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ecommerce.statistics-chart');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class DatePicker extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.date-picker');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class CheckboxComponent extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.checkbox-component');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class DefaultInputs extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.default-inputs');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Dropzone extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.dropzone');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class FileInputExample extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.file-input-example');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class InputGroup extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.input-group');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class InputStates extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.input-states');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class RadioButtons extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.radio-buttons');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class SelectInputs extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.select-inputs');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class TextAreaInputs extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.text-area-inputs');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\FormElements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ToggleSwitch extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.form-elements.toggle-switch');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\input;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Radio extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.input.radio');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\form\select;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class MultipleSelect extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.form.select.multiple-select');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\header;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class NotificationDropdown extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.header.notification-dropdown');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\header;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class UserDropdown extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.header.user-dropdown');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\profile;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class AddressCard extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.profile.address-card');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\profile;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class PersonalInfoCard extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.profile.personal-info-card');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\profile;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ProfileCard extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.profile.profile-card');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\tables\BasicTables;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class BasicTablesFive extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.tables.basic-tables.basic-tables-five');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\tables\BasicTables;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class BasicTablesFour extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.tables.basic-tables.basic-tables-four');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\tables\BasicTables;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class BasicTablesOne extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.tables.basic-tables.basic-tables-one');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\tables\BasicTables;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class BasicTablesThree extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.tables.basic-tables.basic-tables-three');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\tables\BasicTables;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class BasicTablesTwo extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.tables.basic-tables.basic-tables-two');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ui;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Alert extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ui.alert');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ui;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Avatar extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ui.avatar');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ui;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Badge extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ui.badge');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ui;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Button extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ui.button');
}
}

View File

@@ -0,0 +1,56 @@
<?php
namespace App\View\Components\ui;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Modal extends Component
{
// /**
// * Create a new component instance.
// */
// public function __construct()
// {
// //
// }
// /**
// * Get the view / contents that represent the component.
// */
// public function render(): View|Closure|string
// {
// return view('components.ui.modal');
// }
public $isOpen;
public $showCloseButton;
public $isFullscreen;
public $modalId;
/**
* Create a new component instance.
*/
public function __construct(
$isOpen = false,
$showCloseButton = true,
$isFullscreen = false,
$modalId = null
) {
$this->isOpen = $isOpen;
$this->showCloseButton = $showCloseButton;
$this->isFullscreen = $isFullscreen;
$this->modalId = $modalId ?? 'modal-' . uniqid();
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ui.modal');
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\ui;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class YoutubeEmbed extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.ui.youtube-embed');
}
}