Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 78594412b3 | |||
| 6bbfe6bb8f | |||
| 08e8298fca | |||
| 5c9b93c803 | |||
| 5315a3bace | |||
| a9cdc7bf19 | |||
| dfaa7fe55b | |||
| c61036d874 | |||
| b5bc78c35f | |||
| e891110e2a | |||
| 19ed1fcab8 | |||
| d8f83aa989 | |||
| ca5febd0f7 | |||
| 7d67ff94bc | |||
| 997f06af76 |
+8
-13
@@ -2,13 +2,14 @@
|
||||
|
||||
namespace KTXM\Demo;
|
||||
|
||||
use KTXF\Module\ModuleBrowserInterface;
|
||||
use KTXF\Module\Configuration\BrowserModuleContextInterface;
|
||||
use KTXF\Module\Configuration\ModuleContextInterface;
|
||||
use KTXF\Module\ModuleInstanceAbstract;
|
||||
|
||||
/**
|
||||
* Samples Module
|
||||
*/
|
||||
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
||||
class Module extends ModuleInstanceAbstract
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
@@ -50,16 +51,10 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
||||
];
|
||||
}
|
||||
|
||||
public function registerBI(): array
|
||||
public function configure(ModuleContextInterface $context): void
|
||||
{
|
||||
return [
|
||||
'handle' => $this->handle(),
|
||||
'namespace' => 'Demo',
|
||||
'version' => $this->version(),
|
||||
'label' => $this->label(),
|
||||
'author' => $this->author(),
|
||||
'description' => $this->description(),
|
||||
'boot' => 'static/module.mjs',
|
||||
];
|
||||
if ($context instanceof BrowserModuleContextInterface) {
|
||||
$context->registerModule($this, 'Demo', 'static/module.mjs');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+304
-300
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -31,7 +31,7 @@
|
||||
"vue-tsc": "^3.0.5",
|
||||
"@vitest/coverage-v8": "^4.1.6",
|
||||
"@vue/test-utils": "^2.4.10",
|
||||
"jsdom": "^29.1.1",
|
||||
"jsdom": "^30.0.0",
|
||||
"vitest": "^4.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user