1 Commits

Author SHA1 Message Date
Sebastian 92a8aa96f6 Update dependency pinia to v4.0.3
Build Test / test (pull_request) Successful in 57s
JS Unit Tests / test (pull_request) Successful in 1m11s
2026-08-13 03:04:04 +00:00
2 changed files with 16 additions and 11 deletions
+13 -8
View File
@@ -2,14 +2,13 @@
namespace KTXM\Demo; namespace KTXM\Demo;
use KTXF\Module\Configuration\BrowserModuleContextInterface; use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\Configuration\ModuleContextInterface;
use KTXF\Module\ModuleInstanceAbstract; use KTXF\Module\ModuleInstanceAbstract;
/** /**
* Samples Module * Samples Module
*/ */
class Module extends ModuleInstanceAbstract class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{ {
public function __construct() public function __construct()
@@ -51,10 +50,16 @@ class Module extends ModuleInstanceAbstract
]; ];
} }
public function configure(ModuleContextInterface $context): void public function registerBI(): array
{ {
if ($context instanceof BrowserModuleContextInterface) { return [
$context->registerModule($this, 'Demo', 'static/module.mjs'); 'handle' => $this->handle(),
} 'namespace' => 'Demo',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
} }
} }
+3 -3
View File
@@ -2091,9 +2091,9 @@
} }
}, },
"node_modules/pinia": { "node_modules/pinia": {
"version": "4.0.2", "version": "4.0.3",
"resolved": "https://registry.npmjs.org/pinia/-/pinia-4.0.2.tgz", "resolved": "https://registry.npmjs.org/pinia/-/pinia-4.0.3.tgz",
"integrity": "sha512-yKVVA7bSj5oRZFp/Ab9wLlmyb5gPUYEiIm4ryiWTe/xe7PtkRdMVOp1X1ggvq0c6Uj7Q0Du1HnV2mtAwM0Ks1g==", "integrity": "sha512-XMQqpvjgG7LMqVhhFUzKLT4KEbsYbfZZ0CZU9PgdFm1O2VKBmIkykL8+SfNhOaT7sR0wT6BEgKT0YNDYWgmVRA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"nostics": "^1.1.4" "nostics": "^1.1.4"