Initial commit

This commit is contained in:
root
2025-12-21 09:58:07 -05:00
committed by Sebastian Krupinski
commit c859d15d25
46 changed files with 14119 additions and 0 deletions

65
lib/Module.php Normal file
View File

@@ -0,0 +1,65 @@
<?php
namespace KTXM\Demo;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Samples Module
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'demo';
}
public function label(): string
{
return 'UI Demo';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'UI samples and examples module for Ktrix - provides color palettes, typography, shadows, and icon showcases';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [
'demo' => [
'label' => 'Access UI Demo',
'description' => 'View and access the UI demo module',
'group' => 'Development'
],
];
}
public function registerBI(): array
{
return [
'handle' => $this->handle(),
'namespace' => 'Demo',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}