qdadm 0.42.0 → 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.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "Vue 3 framework for admin dashboards with PrimeVue",
5
5
  "author": "quazardous",
6
6
  "license": "MIT",
@@ -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;
@@ -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