diff --git a/web-app/packages/app/components.d.ts b/web-app/packages/app/components.d.ts index 808106d3..ad258e38 100644 --- a/web-app/packages/app/components.d.ts +++ b/web-app/packages/app/components.d.ts @@ -7,6 +7,8 @@ export {} declare module 'vue' { export interface GlobalComponents { + PDivider: typeof import('primevue/divider')['default'] + PTabPanel: typeof import('primevue/tabpanel')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] VApp: typeof import('vuetify/components')['VApp'] diff --git a/web-app/packages/app/package.json b/web-app/packages/app/package.json index 873251cf..0b4a0579 100644 --- a/web-app/packages/app/package.json +++ b/web-app/packages/app/package.json @@ -38,7 +38,7 @@ "vue": "^3.3.8", "vue-i18n": "^9.7.1", "vue-meta": "^3.0.0-alpha.10", - "vue-router": "^4.1.6", + "vue-router": "4.2.5", "vue-tabler-icons": "~2.20.0", "vuetify": "3.4.3" } diff --git a/web-app/packages/app/src/App.vue b/web-app/packages/app/src/App.vue index c1743bd0..7db90208 100644 --- a/web-app/packages/app/src/App.vue +++ b/web-app/packages/app/src/App.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial 'col-12', 'min-h-full', 'overflow-auto', - drawer && !isOverlay && 'xl:col-offset-2 xl:col-10' + drawer && !isUnderOverlayBreakpoint && 'xl:col-offset-2 xl:col-10' ]" > @@ -37,6 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial + - + --> diff --git a/web-app/packages/lib/src/common/components/AppPanelToggleable.vue b/web-app/packages/lib/src/common/components/AppPanelToggleable.vue new file mode 100644 index 00000000..0a77edee --- /dev/null +++ b/web-app/packages/lib/src/common/components/AppPanelToggleable.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/web-app/packages/lib/src/common/components/AppSidebarRight.vue b/web-app/packages/lib/src/common/components/AppSidebarRight.vue new file mode 100644 index 00000000..4436ee22 --- /dev/null +++ b/web-app/packages/lib/src/common/components/AppSidebarRight.vue @@ -0,0 +1,68 @@ + + + + + + + diff --git a/web-app/packages/lib/src/common/components/index.ts b/web-app/packages/lib/src/common/components/index.ts index db764d43..9c838114 100644 --- a/web-app/packages/lib/src/common/components/index.ts +++ b/web-app/packages/lib/src/common/components/index.ts @@ -6,6 +6,9 @@ export * from './base' export { default as AppSection } from './AppSection.vue' export { default as AppContainer } from './AppContainer.vue' +export { default as AppPanelToggleable } from './AppPanelToggleable.vue' +export { default as AppsidebarRight } from './AppSidebarRight.vue' +export { default as AppMenu } from './AppMenu.vue' export { default as ActionButton } from './ActionButton.vue' export { default as CustomPage } from './CustomPage.vue' export { default as FullStorageWarning } from './FullStorageWarning.vue' diff --git a/web-app/packages/lib/src/modules/dashboard/components/DashboardFullStorageWarningRow.vue b/web-app/packages/lib/src/modules/dashboard/components/DashboardFullStorageWarningRow.vue index 70c88f54..ba12a426 100644 --- a/web-app/packages/lib/src/modules/dashboard/components/DashboardFullStorageWarningRow.vue +++ b/web-app/packages/lib/src/modules/dashboard/components/DashboardFullStorageWarningRow.vue @@ -24,7 +24,7 @@ export default defineComponent({ 100 ) } - }, + } }) diff --git a/web-app/packages/lib/src/modules/dashboard/views/DashboardViewTemplate.vue b/web-app/packages/lib/src/modules/dashboard/views/DashboardViewTemplate.vue index 2d918bc9..9a7a683e 100644 --- a/web-app/packages/lib/src/modules/dashboard/views/DashboardViewTemplate.vue +++ b/web-app/packages/lib/src/modules/dashboard/views/DashboardViewTemplate.vue @@ -13,7 +13,6 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial diff --git a/web-app/packages/lib/src/modules/index.ts b/web-app/packages/lib/src/modules/index.ts index 67c0624e..d375466e 100644 --- a/web-app/packages/lib/src/modules/index.ts +++ b/web-app/packages/lib/src/modules/index.ts @@ -2,6 +2,7 @@ // // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial +export * from './layout' export * from './app' export * from './form' export * from './project' @@ -9,6 +10,5 @@ export * from './user' export * from './notification' export * from './dialog' export * from './dashboard' -export * from './layout' export * from './instance' export * from './types' diff --git a/web-app/packages/lib/src/modules/layout/components/AppBreadcrumbs.vue b/web-app/packages/lib/src/modules/layout/components/AppBreadcrumbs.vue new file mode 100644 index 00000000..5965acdc --- /dev/null +++ b/web-app/packages/lib/src/modules/layout/components/AppBreadcrumbs.vue @@ -0,0 +1,60 @@ + + + + + + + diff --git a/web-app/packages/lib/src/modules/layout/components/AppHeaderTemplate.vue b/web-app/packages/lib/src/modules/layout/components/AppHeaderTemplate.vue index 30a7b99b..3659d06f 100644 --- a/web-app/packages/lib/src/modules/layout/components/AppHeaderTemplate.vue +++ b/web-app/packages/lib/src/modules/layout/components/AppHeaderTemplate.vue @@ -5,10 +5,22 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial -->