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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdadm",
3
- "version": "0.41.1",
3
+ "version": "0.43.0",
4
4
  "description": "Vue 3 framework for admin dashboards with PrimeVue",
5
5
  "author": "quazardous",
6
6
  "license": "MIT",
@@ -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="{ 'route-current-entry': currentRoute?.name === route.name }"
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;
@@ -23,6 +23,8 @@ import { IStorage } from './IStorage.js'
23
23
  * ```
24
24
  */
25
25
  export class ApiStorage extends IStorage {
26
+ static storageName = 'ApiStorage'
27
+
26
28
  /**
27
29
  * Storage capabilities declaration.
28
30
  * Describes what features this storage adapter supports.
@@ -20,6 +20,8 @@ import { IStorage } from './IStorage.js'
20
20
  * ```
21
21
  */
22
22
  export class LocalStorage extends IStorage {
23
+ static storageName = 'LocalStorage'
24
+
23
25
  /**
24
26
  * Storage capabilities declaration.
25
27
  * Describes what features this storage adapter supports.
@@ -20,6 +20,8 @@ import { IStorage } from './IStorage.js'
20
20
  * ```
21
21
  */
22
22
  export class MemoryStorage extends IStorage {
23
+ static storageName = 'MemoryStorage'
24
+
23
25
  /**
24
26
  * Storage capabilities declaration.
25
27
  * Describes what features this storage adapter supports.
@@ -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.
@@ -96,6 +96,8 @@ import { IStorage } from './IStorage.js'
96
96
  * ```
97
97
  */
98
98
  export class SdkStorage extends IStorage {
99
+ static storageName = 'SdkStorage'
100
+
99
101
  /**
100
102
  * Storage capabilities declaration
101
103
  * @type {import('./index.js').StorageCapabilities}
@@ -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}