qdadm 0.41.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/debug/EntitiesCollector.js +1 -1
- package/src/debug/components/panels/RouterPanel.vue +12 -1
- package/src/entity/storage/ApiStorage.js +2 -0
- package/src/entity/storage/LocalStorage.js +2 -0
- package/src/entity/storage/MemoryStorage.js +2 -0
- package/src/entity/storage/MockApiStorage.js +2 -0
- package/src/entity/storage/SdkStorage.js +2 -0
- package/src/kernel/Kernel.js +3 -0
- package/src/security/RoleGranterStorage.js +6 -0
package/package.json
CHANGED
|
@@ -229,7 +229,7 @@ export class EntitiesCollector extends Collector {
|
|
|
229
229
|
// Storage info
|
|
230
230
|
// Prefer instance capabilities (may include requiresAuth) over static ones
|
|
231
231
|
storage: {
|
|
232
|
-
type: storage?.constructor?.name || 'None',
|
|
232
|
+
type: storage?.constructor?.storageName || storage?.constructor?.name || 'None',
|
|
233
233
|
endpoint: storage?.endpoint || storage?._endpoint || null,
|
|
234
234
|
capabilities: storage?.capabilities || storage?.constructor?.capabilities || {}
|
|
235
235
|
},
|
|
@@ -227,7 +227,10 @@ function hasParams(obj) {
|
|
|
227
227
|
v-for="route in routes"
|
|
228
228
|
:key="route.path"
|
|
229
229
|
class="route-entry"
|
|
230
|
-
:class="{
|
|
230
|
+
:class="{
|
|
231
|
+
'route-current-entry': currentRoute?.name === route.name,
|
|
232
|
+
'route-internal': route.name?.startsWith('_')
|
|
233
|
+
}"
|
|
231
234
|
>
|
|
232
235
|
<div class="route-entry-header">
|
|
233
236
|
<span class="route-entry-name">{{ route.name }}</span>
|
|
@@ -605,6 +608,14 @@ function hasParams(obj) {
|
|
|
605
608
|
padding-left: 6px;
|
|
606
609
|
}
|
|
607
610
|
|
|
611
|
+
.route-internal {
|
|
612
|
+
opacity: 0.6;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.route-internal .route-entry-name {
|
|
616
|
+
font-style: italic;
|
|
617
|
+
}
|
|
618
|
+
|
|
608
619
|
.route-entry-header {
|
|
609
620
|
display: flex;
|
|
610
621
|
align-items: center;
|
|
@@ -21,6 +21,8 @@ import { IStorage } from './IStorage.js'
|
|
|
21
21
|
* localStorage key pattern: mockapi_${entityName}_data
|
|
22
22
|
*/
|
|
23
23
|
export class MockApiStorage extends IStorage {
|
|
24
|
+
static storageName = 'MockApiStorage'
|
|
25
|
+
|
|
24
26
|
/**
|
|
25
27
|
* Storage capabilities declaration.
|
|
26
28
|
* Describes what features this storage adapter supports.
|
package/src/kernel/Kernel.js
CHANGED
|
@@ -608,6 +608,7 @@ export class Kernel {
|
|
|
608
608
|
routes = [
|
|
609
609
|
{
|
|
610
610
|
path: '/',
|
|
611
|
+
name: '_shell',
|
|
611
612
|
component: pages.shell,
|
|
612
613
|
children: [
|
|
613
614
|
// Public routes at shell level (login, register, etc.)
|
|
@@ -615,6 +616,7 @@ export class Kernel {
|
|
|
615
616
|
// Protected area with layout
|
|
616
617
|
{
|
|
617
618
|
path: '',
|
|
619
|
+
name: '_layout',
|
|
618
620
|
component: pages.layout,
|
|
619
621
|
meta: { requiresAuth: true },
|
|
620
622
|
children: layoutChildren
|
|
@@ -631,6 +633,7 @@ export class Kernel {
|
|
|
631
633
|
// Protected area with layout
|
|
632
634
|
{
|
|
633
635
|
path: '/',
|
|
636
|
+
name: '_layout',
|
|
634
637
|
component: pages.layout,
|
|
635
638
|
meta: { requiresAuth: true },
|
|
636
639
|
children: layoutChildren
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
export class RoleGranterStorage {
|
|
9
|
+
/**
|
|
10
|
+
* Storage name for debug display (survives minification)
|
|
11
|
+
* @type {string}
|
|
12
|
+
*/
|
|
13
|
+
static storageName = 'RoleGranterStorage'
|
|
14
|
+
|
|
9
15
|
/**
|
|
10
16
|
* Static capabilities (standard storage pattern)
|
|
11
17
|
* @type {import('../entity/storage/index.js').StorageCapabilities}
|