-
- Go back
-
-
-
-
-
- Go forward
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Switch language
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts
index 7d19ae3f5b..fc634de551 100644
--- a/packages/nc-gui-v2/components.d.ts
+++ b/packages/nc-gui-v2/components.d.ts
@@ -90,9 +90,9 @@ declare module '@vue/runtime-core' {
MdiPlusIcon: typeof import('~icons/mdi/plus-icon')['default']
MdiPlusOutline: typeof import('~icons/mdi/plus-outline')['default']
MdiReload: typeof import('~icons/mdi/reload')['default']
- MdiTableArrowRight: typeof import('~icons/mdi/table-arrow-right')['default']
MdiShieldLockOutline: typeof import('~icons/mdi/shield-lock-outline')['default']
MdiStore: typeof import('~icons/mdi/store')['default']
+ MdiTableArrowRight: typeof import('~icons/mdi/table-arrow-right')['default']
MdiTableBorder: typeof import('~icons/mdi/table-border')['default']
MdiTrashCan: typeof import('~icons/mdi/trash-can')['default']
MdiXml: typeof import('~icons/mdi/xml')['default']
diff --git a/packages/nc-gui-v2/composables/useSidebar/index.ts b/packages/nc-gui-v2/composables/useSidebar/index.ts
index e56904168c..bcfa661452 100644
--- a/packages/nc-gui-v2/composables/useSidebar/index.ts
+++ b/packages/nc-gui-v2/composables/useSidebar/index.ts
@@ -8,8 +8,10 @@ interface UseSidebarProps {
/**
* Injection state for sidebars
*
- * Use `provideSidebar` to provide the injection state on current component level (will affect all childrens injection)
+ * Use `provideSidebar` to provide the injection state on current component level (will affect all children injections)
* Use `useSidebar` to use the injection state on current component level
+ *
+ * If `provideSidebar` is not called explicitly, `useSidebar` will trigger the provider if no injection state can be found
*/
const [setup, use] = useInjectionState((props: UseSidebarProps = {}) => {
const [isOpen, toggle] = useToggle(props.isOpen ?? false)
diff --git a/packages/nc-gui-v2/layouts/base.vue b/packages/nc-gui-v2/layouts/base.vue
new file mode 100644
index 0000000000..3e42028c9c
--- /dev/null
+++ b/packages/nc-gui-v2/layouts/base.vue
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+