Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1429aac7b2 | |||
| 7b8da25747 | |||
| fe4703925c | |||
| 90e8683a94 | |||
| 19abfec1ea | |||
| 386a88488a | |||
| 2594718914 | |||
| fa4d859e70 | |||
| 428cce9c7f | |||
| ac3a2f6ca7 | |||
| 07fe866150 | |||
| a325afb463 | |||
| 3a4376039d | |||
| 96edaad9d7 | |||
| a56eb9d5f0 | |||
| e9b3b20334 | |||
| 4dd44d9d98 | |||
| f79e831e59 | |||
| 148a1a1624 | |||
| 6e95e6e216 | |||
| fd57b5c9e7 | |||
| 7165a7e38a | |||
| 9787fd470e | |||
| e0dde2b33e | |||
| 7bed43b36e | |||
| 9f28f321bf | |||
| c025810ea8 | |||
| 42bc9f55ed | |||
| 4168172f68 | |||
| 42494ef680 | |||
| 9d798395d5 | |||
| 770c58dfb0 |
+8
-12
@@ -2,13 +2,14 @@
|
||||
|
||||
namespace KTXM\Dashboard;
|
||||
|
||||
use KTXF\Module\ModuleBrowserInterface;
|
||||
use KTXF\Module\Configuration\BrowserModuleContextInterface;
|
||||
use KTXF\Module\Configuration\ModuleContextInterface;
|
||||
use KTXF\Module\ModuleInstanceAbstract;
|
||||
|
||||
/**
|
||||
* Dashboard Module
|
||||
*/
|
||||
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
||||
class Module extends ModuleInstanceAbstract
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
@@ -50,16 +51,11 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
||||
];
|
||||
}
|
||||
|
||||
public function registerBI(): array {
|
||||
return [
|
||||
'handle' => $this->handle(),
|
||||
'namespace' => 'Dashboard',
|
||||
'version' => $this->version(),
|
||||
'label' => $this->label(),
|
||||
'author' => $this->author(),
|
||||
'description' => $this->description(),
|
||||
'boot' => 'static/module.mjs',
|
||||
];
|
||||
public function configure(ModuleContextInterface $context): void
|
||||
{
|
||||
if ($context instanceof BrowserModuleContextInterface) {
|
||||
$context->registerModule($this, 'Dashboard', 'static/module.mjs');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Generated
+330
-705
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -35,9 +35,9 @@
|
||||
"vite": "^8.0.0",
|
||||
"vite-plugin-vuetify": "2.1.3",
|
||||
"vue-tsc": "^3.0.0",
|
||||
"@vitest/coverage-v8": "^4.1.6",
|
||||
"@vitest/coverage-v8": "^5.0.0",
|
||||
"@vue/test-utils": "^2.4.10",
|
||||
"jsdom": "^29.1.1",
|
||||
"vitest": "^4.1.6"
|
||||
"jsdom": "^30.0.0",
|
||||
"vitest": "^5.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user