From 05021f97bfae9495488bcb56a8b05dd11db48f17 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 17 Aug 2022 14:52:34 +0200 Subject: [PATCH] feat(gui-v2): add dropzone to project intro page --- packages/nc-gui-v2/components.d.ts | 3 ++ .../components/dashboard/TreeView.vue | 2 +- packages/nc-gui-v2/package-lock.json | 38 +++++++++++++++++++ packages/nc-gui-v2/package.json | 2 + .../[projectType]/[projectId]/index/index.vue | 2 +- .../[projectId]/index/index/index.vue | 33 +++++++++++++++- 6 files changed, 77 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts index c033344d42..61b64b94b4 100644 --- a/packages/nc-gui-v2/components.d.ts +++ b/packages/nc-gui-v2/components.d.ts @@ -64,6 +64,8 @@ declare module '@vue/runtime-core' { ATypography: typeof import('ant-design-vue/es')['Typography'] ATypographyTitle: typeof import('ant-design-vue/es')['TypographyTitle'] AUploadDragger: typeof import('ant-design-vue/es')['UploadDragger'] + BiFiletypeJson: typeof import('~icons/bi/filetype-json')['default'] + BiFiletypeXlsx: typeof import('~icons/bi/filetype-xlsx')['default'] CilFullscreen: typeof import('~icons/cil/fullscreen')['default'] CilFullscreenExit: typeof import('~icons/cil/fullscreen-exit')['default'] ClaritySuccessLine: typeof import('~icons/clarity/success-line')['default'] @@ -180,6 +182,7 @@ declare module '@vue/runtime-core' { MdiViewListOutline: typeof import('~icons/mdi/view-list-outline')['default'] MdiWhatsapp: typeof import('~icons/mdi/whatsapp')['default'] MdiXml: typeof import('~icons/mdi/xml')['default'] + PhFileCsv: typeof import('~icons/ph/file-csv')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/packages/nc-gui-v2/components/dashboard/TreeView.vue b/packages/nc-gui-v2/components/dashboard/TreeView.vue index d7999e4251..c23e290851 100644 --- a/packages/nc-gui-v2/components/dashboard/TreeView.vue +++ b/packages/nc-gui-v2/components/dashboard/TreeView.vue @@ -139,7 +139,7 @@ const activeTable = computed(() => { -
+
diff --git a/packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index/index.vue b/packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index/index.vue index 8f65f3122b..cc3a0be053 100644 --- a/packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index/index.vue +++ b/packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index/index.vue @@ -1,3 +1,34 @@ + +