From 2a9a9cd2344cfcbd2f3f0acd7d5fad4bb4b50783 Mon Sep 17 00:00:00 2001 From: icanci Date: Sat, 19 Aug 2023 23:54:46 +0800 Subject: [PATCH] =?UTF-8?q?ui=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/vueboot/src/router/index.js | 337 ++++------------ .../vueboot/src/router/modules/charts.js | 36 -- .../vueboot/src/router/modules/components.js | 102 ----- .../vueboot/src/router/modules/nested.js | 66 --- .../vueboot/src/router/modules/table.js | 41 -- .../src/views/bic-config/edge-config.vue | 25 ++ .../views/bic-config/edge-function-config.vue | 25 ++ .../edit.vue => bic-config/index.vue} | 14 +- .../src/views/bic-config/module-relation.vue | 30 ++ .../src/views/bic-config/node-config.vue | 25 ++ .../views/bic-config/node-function-config.vue | 25 ++ .../src/views/bic-config/system-config.vue | 22 + .../vueboot/src/views/bic-data/edge-data.vue | 20 + .../ErrorTestB.vue => bic-data/index.vue} | 10 +- .../vueboot/src/views/bic-data/node-data.vue | 20 + .../src/views/bic-view/bic-singleton-view.vue | 20 + .../src/views/bic-view/bic-summary-view.vue | 20 + .../ErrorTestA.vue => bic-view/index.vue} | 12 +- .../vueboot/src/views/clipboard/index.vue | 49 --- .../views/components-demo/avatar-upload.vue | 61 --- .../src/views/components-demo/back-to-top.vue | 154 ------- .../src/views/components-demo/count-to.vue | 218 ---------- .../src/views/components-demo/dnd-list.vue | 39 -- .../src/views/components-demo/drag-dialog.vue | 61 --- .../src/views/components-demo/drag-kanban.vue | 66 --- .../src/views/components-demo/drag-select.vue | 43 -- .../src/views/components-demo/dropzone.vue | 31 -- .../src/views/components-demo/json-editor.vue | 36 -- .../src/views/components-demo/markdown.vue | 101 ----- .../src/views/components-demo/mixin.vue | 169 -------- .../src/views/components-demo/split-pane.vue | 67 ---- .../src/views/components-demo/sticky.vue | 135 ------- .../src/views/components-demo/tinymce.vue | 36 -- .../vueboot/src/views/documentation/index.vue | 42 +- .../vueboot/src/views/error-log/index.vue | 32 -- .../example/components/ArticleDetail.vue | 289 ------------- .../example/components/Dropdown/Comment.vue | 41 -- .../example/components/Dropdown/Platform.vue | 46 --- .../example/components/Dropdown/SourceUrl.vue | 38 -- .../example/components/Dropdown/index.js | 3 - .../src/views/example/components/Warning.vue | 13 - .../vueboot/src/views/example/create.vue | 13 - .../vueboot/src/views/example/list.vue | 112 ------ .../excel/components/AutoWidthOption.vue | 34 -- .../views/excel/components/BookTypeOption.vue | 39 -- .../views/excel/components/FilenameOption.vue | 27 -- .../vueboot/src/views/excel/export-excel.vue | 116 ------ .../vueboot/src/views/excel/merge-header.vue | 101 ----- .../vueboot/src/views/excel/select-excel.vue | 107 ----- .../vueboot/src/views/excel/upload-excel.vue | 42 -- .../vueboot/src/views/guide/index.vue | 35 -- .../vueboot/src/views/guide/steps.js | 53 --- .../vueboot/src/views/nested/menu1/index.vue | 7 - .../src/views/nested/menu1/menu1-1/index.vue | 7 - .../src/views/nested/menu1/menu1-2/index.vue | 7 - .../nested/menu1/menu1-2/menu1-2-1/index.vue | 5 - .../nested/menu1/menu1-2/menu1-2-2/index.vue | 5 - .../src/views/nested/menu1/menu1-3/index.vue | 5 - .../vueboot/src/views/nested/menu2/index.vue | 5 - .../vueboot/src/views/pdf/content.js | 58 --- .../vueboot/src/views/pdf/download.vue | 201 ---------- .../resources/vueboot/src/views/pdf/index.vue | 13 - .../vueboot/src/views/qiniu/upload.vue | 41 -- .../src/views/tab/components/TabPane.vue | 103 ----- .../resources/vueboot/src/views/tab/index.vue | 57 --- .../vueboot/src/views/table/complex-table.vue | 379 ------------------ .../vueboot/src/views/table/drag-table.vue | 153 ------- .../dynamic-table/components/FixedThead.vue | 62 --- .../dynamic-table/components/UnfixedThead.vue | 50 --- .../src/views/table/dynamic-table/index.vue | 24 -- .../src/views/table/inline-edit-table.vue | 149 ------- .../vueboot/src/views/theme/index.vue | 120 ------ .../resources/vueboot/src/views/zip/index.vue | 77 ---- 73 files changed, 345 insertions(+), 4482 deletions(-) delete mode 100644 views/src/main/resources/vueboot/src/router/modules/charts.js delete mode 100644 views/src/main/resources/vueboot/src/router/modules/components.js delete mode 100644 views/src/main/resources/vueboot/src/router/modules/nested.js delete mode 100644 views/src/main/resources/vueboot/src/router/modules/table.js create mode 100644 views/src/main/resources/vueboot/src/views/bic-config/edge-config.vue create mode 100644 views/src/main/resources/vueboot/src/views/bic-config/edge-function-config.vue rename views/src/main/resources/vueboot/src/views/{example/edit.vue => bic-config/index.vue} (30%) create mode 100644 views/src/main/resources/vueboot/src/views/bic-config/module-relation.vue create mode 100644 views/src/main/resources/vueboot/src/views/bic-config/node-config.vue create mode 100644 views/src/main/resources/vueboot/src/views/bic-config/node-function-config.vue create mode 100644 views/src/main/resources/vueboot/src/views/bic-config/system-config.vue create mode 100644 views/src/main/resources/vueboot/src/views/bic-data/edge-data.vue rename views/src/main/resources/vueboot/src/views/{error-log/components/ErrorTestB.vue => bic-data/index.vue} (48%) create mode 100644 views/src/main/resources/vueboot/src/views/bic-data/node-data.vue create mode 100644 views/src/main/resources/vueboot/src/views/bic-view/bic-singleton-view.vue create mode 100644 views/src/main/resources/vueboot/src/views/bic-view/bic-summary-view.vue rename views/src/main/resources/vueboot/src/views/{error-log/components/ErrorTestA.vue => bic-view/index.vue} (39%) delete mode 100644 views/src/main/resources/vueboot/src/views/clipboard/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/avatar-upload.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/back-to-top.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/count-to.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/dnd-list.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/drag-dialog.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/drag-kanban.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/drag-select.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/dropzone.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/json-editor.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/markdown.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/mixin.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/split-pane.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/sticky.vue delete mode 100644 views/src/main/resources/vueboot/src/views/components-demo/tinymce.vue delete mode 100644 views/src/main/resources/vueboot/src/views/error-log/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/example/components/ArticleDetail.vue delete mode 100644 views/src/main/resources/vueboot/src/views/example/components/Dropdown/Comment.vue delete mode 100644 views/src/main/resources/vueboot/src/views/example/components/Dropdown/Platform.vue delete mode 100644 views/src/main/resources/vueboot/src/views/example/components/Dropdown/SourceUrl.vue delete mode 100644 views/src/main/resources/vueboot/src/views/example/components/Dropdown/index.js delete mode 100644 views/src/main/resources/vueboot/src/views/example/components/Warning.vue delete mode 100644 views/src/main/resources/vueboot/src/views/example/create.vue delete mode 100644 views/src/main/resources/vueboot/src/views/example/list.vue delete mode 100644 views/src/main/resources/vueboot/src/views/excel/components/AutoWidthOption.vue delete mode 100644 views/src/main/resources/vueboot/src/views/excel/components/BookTypeOption.vue delete mode 100644 views/src/main/resources/vueboot/src/views/excel/components/FilenameOption.vue delete mode 100644 views/src/main/resources/vueboot/src/views/excel/export-excel.vue delete mode 100644 views/src/main/resources/vueboot/src/views/excel/merge-header.vue delete mode 100644 views/src/main/resources/vueboot/src/views/excel/select-excel.vue delete mode 100644 views/src/main/resources/vueboot/src/views/excel/upload-excel.vue delete mode 100644 views/src/main/resources/vueboot/src/views/guide/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/guide/steps.js delete mode 100644 views/src/main/resources/vueboot/src/views/nested/menu1/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/nested/menu1/menu1-1/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/nested/menu1/menu1-3/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/nested/menu2/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/pdf/content.js delete mode 100644 views/src/main/resources/vueboot/src/views/pdf/download.vue delete mode 100644 views/src/main/resources/vueboot/src/views/pdf/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/qiniu/upload.vue delete mode 100644 views/src/main/resources/vueboot/src/views/tab/components/TabPane.vue delete mode 100644 views/src/main/resources/vueboot/src/views/tab/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/table/complex-table.vue delete mode 100644 views/src/main/resources/vueboot/src/views/table/drag-table.vue delete mode 100644 views/src/main/resources/vueboot/src/views/table/dynamic-table/components/FixedThead.vue delete mode 100644 views/src/main/resources/vueboot/src/views/table/dynamic-table/components/UnfixedThead.vue delete mode 100644 views/src/main/resources/vueboot/src/views/table/dynamic-table/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/table/inline-edit-table.vue delete mode 100644 views/src/main/resources/vueboot/src/views/theme/index.vue delete mode 100644 views/src/main/resources/vueboot/src/views/zip/index.vue diff --git a/views/src/main/resources/vueboot/src/router/index.js b/views/src/main/resources/vueboot/src/router/index.js index 47fff03..2c4d686 100644 --- a/views/src/main/resources/vueboot/src/router/index.js +++ b/views/src/main/resources/vueboot/src/router/index.js @@ -1,16 +1,11 @@ import Vue from 'vue' import Router from 'vue-router' - -Vue.use(Router) - /* Layout */ import Layout from '@/layout' /* Router Modules */ -import componentsRouter from './modules/components' -import chartsRouter from './modules/charts' -import tableRouter from './modules/table' -import nestedRouter from './modules/nested' + +Vue.use(Router) /** * Note: sub-menu only appear when route children.length >= 1 @@ -79,7 +74,7 @@ export const constantRoutes = [ path: 'dashboard', component: () => import('@/views/dashboard/index'), name: 'Dashboard', - meta: { title: '控制台', icon: 'dashboard', affix: true } + meta: {title: '控制台', icon: 'dashboard', affix: true} } ] }, @@ -91,305 +86,137 @@ export const constantRoutes = [ path: 'index', component: () => import('@/views/documentation/index'), name: 'Documentation', - meta: { title: '文档', icon: 'documentation', affix: true } - } - ] - }, - { - path: '/guide', - component: Layout, - redirect: '/guide/index', - children: [ - { - path: 'index', - component: () => import('@/views/guide/index'), - name: 'Guide', - meta: { title: '使用手册', icon: 'guide', noCache: true } + meta: {title: '使用文档', icon: 'documentation', affix: true} } ] }, { - path: '/profile', + path: '/bicConfig', component: Layout, - redirect: '/profile/index', - hidden: true, + redirect: '/bic-config/index', + name: 'bicConfig', + meta: { + title: '纠察图配置', + icon: 'el-icon-setting' + }, children: [ { - path: 'index', - component: () => import('@/views/profile/index'), - name: 'Profile', - meta: { title: '关于我', icon: 'user', noCache: true } - } - ] - } -] - -/** - * asyncRoutes - * the routes that need to be dynamically loaded based on user roles - */ -export const asyncRoutes = [ - // { - // path: '/permission', - // component: Layout, - // redirect: '/permission/page', - // alwaysShow: true, // will always show the root menu - // name: 'Permission', - // meta: { - // title: 'Permission', - // icon: 'lock', - // roles: ['admin', 'editor'] // you can set roles in root nav - // }, - // children: [ - // { - // path: 'page', - // component: () => import('@/views/permission/page'), - // name: 'PagePermission', - // meta: { - // title: 'Page Permission', - // roles: ['admin'] // or you can only set roles in sub nav - // } - // }, - // { - // path: 'directive', - // component: () => import('@/views/permission/directive'), - // name: 'DirectivePermission', - // meta: { - // title: 'Directive Permission' - // // if do not set roles, means: this page does not require permission - // } - // }, - // { - // path: 'role', - // component: () => import('@/views/permission/role'), - // name: 'RolePermission', - // meta: { - // title: 'Role Permission', - // roles: ['admin'] - // } - // } - // ] - // }, - - { - path: '/icon', - component: Layout, - children: [ + path: 'system-config', + component: () => import('@/views/bic-config/system-config'), + name: 'systemConfig', + meta: {title: '应用系统配置'}, + }, { - path: 'index', - component: () => import('@/views/icons/index'), - name: 'Icons', - meta: { title: '图标', icon: 'icon', noCache: true } - } - ] - }, - - /** when your routing map is too long, you can split it into small modules **/ - componentsRouter, - chartsRouter, - nestedRouter, - tableRouter, - - // { - // path: '/example', - // component: Layout, - // redirect: '/example/list', - // name: 'Example', - // meta: { - // title: '示例', - // icon: 'el-icon-s-help' - // }, - // children: [ - // { - // path: 'create', - // component: () => import('@/views/example/create'), - // name: 'CreateArticle', - // meta: { title: 'Create Article', icon: 'edit' } - // }, - // { - // path: 'edit/:id(\\d+)', - // component: () => import('@/views/example/edit'), - // name: 'EditArticle', - // meta: { title: 'Edit Article', noCache: true, activeMenu: '/example/list' }, - // hidden: true - // }, - // { - // path: 'list', - // component: () => import('@/views/example/list'), - // name: 'ArticleList', - // meta: { title: 'Article List', icon: 'list' } - // } - // ] - // }, - - { - path: '/tab', - component: Layout, - children: [ + path: 'edge-config', + component: () => import('@/views/bic-config/edge-config'), + name: 'edgeConfig', + meta: {title: '边配置'} + }, { - path: 'index', - component: () => import('@/views/tab/index'), - name: 'Tab', - meta: { title: 'Tab框', icon: 'tab' } - } - ] - }, - - { - path: '/error', - component: Layout, - redirect: 'noRedirect', - name: 'ErrorPages', - meta: { - title: '错误页面', - icon: '404' - }, - children: [ + path: 'edge-function-config', + component: () => import('@/views/bic-config/edge-function-config'), + name: 'edgeFunctionConfig', + meta: {title: '边函数配置'} + }, { - path: '401', - component: () => import('@/views/error-page/401'), - name: 'Page401', - meta: { title: '401', noCache: true } + path: 'node-config', + component: () => import('@/views/bic-config/node-config'), + name: 'nodeConfig', + meta: {title: '节点配置'} }, { - path: '404', - component: () => import('@/views/error-page/404'), - name: 'Page404', - meta: { title: '404', noCache: true } - } - ] - }, - - { - path: '/error-log', - component: Layout, - children: [ + path: 'node-function-config', + component: () => import('@/views/bic-config/node-function-config'), + name: 'nodeFunctionConfig', + meta: {title: '节点函数配置'} + }, { - path: 'log', - component: () => import('@/views/error-log/index'), - name: 'ErrorLog', - meta: { title: '错误日志', icon: 'bug' } - } + path: 'module-relation', + component: () => import('@/views/bic-config/module-relation'), + name: 'moduleRelation', + meta: {title: '组织模块联系'} + }, ] }, - { - path: '/excel', + path: '/bicData', component: Layout, - redirect: '/excel/export-excel', - name: 'Excel', + redirect: '/bic-data/index', + name: 'bicData', meta: { - title: 'Excel表格', - icon: 'excel' + title: '纠察图数据', + icon: 'form' }, children: [ { - path: 'export-excel', - component: () => import('@/views/excel/export-excel'), - name: 'ExportExcel', - meta: { title: 'Export Excel' } - }, - { - path: 'export-selected-excel', - component: () => import('@/views/excel/select-excel'), - name: 'SelectExcel', - meta: { title: 'Export Selected' } + path: 'edge-data', + component: () => import('@/views/bic-data/edge-data'), + name: 'edgeData', + meta: {title: '边数据'} }, { - path: 'export-merge-header', - component: () => import('@/views/excel/merge-header'), - name: 'MergeHeader', - meta: { title: 'Merge Header' } + path: 'node-data', + component: () => import('@/views/bic-data/node-data'), + name: 'nodeData', + meta: {title: '节点数据'} }, - { - path: 'upload-excel', - component: () => import('@/views/excel/upload-excel'), - name: 'UploadExcel', - meta: { title: 'Upload Excel' } - } ] }, - { - path: '/zip', + path: '/bicView', component: Layout, - redirect: '/zip/download', - alwaysShow: true, - name: 'Zip', - meta: { title: 'Zip压缩导出', icon: 'zip' }, + redirect: '/bic-view/index', + name: 'bicView', + meta: { + title: '纠察图视图', + icon: 'eye-open' + }, children: [ { - path: 'download', - component: () => import('@/views/zip/index'), - name: 'ExportZip', - meta: { title: 'Export Zip' } - } - ] - }, - - { - path: '/pdf', - component: Layout, - redirect: '/pdf/index', - children: [ + path: 'bic-singleton-view', + component: () => import('@/views/bic-view/bic-singleton-view'), + name: 'bicSingletonView', + meta: {title: '单例视图'} + }, { - path: 'index', - component: () => import('@/views/pdf/index'), - name: 'PDF', - meta: { title: 'PDF下载', icon: 'pdf' } - } + path: 'bic-summary-view', + component: () => import('@/views/bic-view/bic-summary-view'), + name: 'bicSummaryView', + meta: {title: '聚合视图'} + }, ] }, { - path: '/pdf/download', - component: () => import('@/views/pdf/download'), - hidden: true - }, - - { - path: '/theme', + path: '/icon', component: Layout, children: [ { path: 'index', - component: () => import('@/views/theme/index'), - name: 'Theme', - meta: { title: '主题', icon: 'theme' } + component: () => import('@/views/icons/index'), + name: 'Icons', + meta: {title: '图标', icon: 'icon', noCache: true} } ] }, - { - path: '/clipboard', + path: '/profile', component: Layout, + redirect: '/profile/index', + hidden: true, children: [ { path: 'index', - component: () => import('@/views/clipboard/index'), - name: 'ClipboardDemo', - meta: { title: '复制', icon: 'clipboard' } - } - ] - }, - - { - path: 'external-link', - component: Layout, - children: [ - { - path: 'https://github.com/PanJiaChen/vue-element-admin', - meta: { title: '外部链接', icon: 'link' } + component: () => import('@/views/profile/index'), + name: 'Profile', + meta: {title: '关于我', icon: 'user', noCache: true} } ] - }, - - // 404 page must be placed at the end !!! - { path: '*', redirect: '/404', hidden: true } + } ] const createRouter = () => new Router({ // mode: 'history', // require service support - scrollBehavior: () => ({ y: 0 }), + scrollBehavior: () => ({y: 0}), routes: constantRoutes }) diff --git a/views/src/main/resources/vueboot/src/router/modules/charts.js b/views/src/main/resources/vueboot/src/router/modules/charts.js deleted file mode 100644 index 4833961..0000000 --- a/views/src/main/resources/vueboot/src/router/modules/charts.js +++ /dev/null @@ -1,36 +0,0 @@ -/** When your routing table is too long, you can split it into small modules**/ - -import Layout from '@/layout' - -const chartsRouter = { - path: '/charts', - component: Layout, - redirect: 'noRedirect', - name: 'Charts', - meta: { - title: '图表组件', - icon: 'chart' - }, - children: [ - { - path: 'keyboard', - component: () => import('@/views/charts/keyboard'), - name: 'KeyboardChart', - meta: { title: 'Keyboard Chart', noCache: true } - }, - { - path: 'line', - component: () => import('@/views/charts/line'), - name: 'LineChart', - meta: { title: 'Line Chart', noCache: true } - }, - { - path: 'mix-chart', - component: () => import('@/views/charts/mix-chart'), - name: 'MixChart', - meta: { title: 'Mix Chart', noCache: true } - } - ] -} - -export default chartsRouter diff --git a/views/src/main/resources/vueboot/src/router/modules/components.js b/views/src/main/resources/vueboot/src/router/modules/components.js deleted file mode 100644 index 1a79bea..0000000 --- a/views/src/main/resources/vueboot/src/router/modules/components.js +++ /dev/null @@ -1,102 +0,0 @@ -/** When your routing table is too long, you can split it into small modules **/ - -import Layout from '@/layout' - -const componentsRouter = { - path: '/components', - component: Layout, - redirect: 'noRedirect', - name: 'ComponentDemo', - meta: { - title: '科研组件', - icon: 'component' - }, - children: [ - { - path: 'tinymce', - component: () => import('@/views/components-demo/tinymce'), - name: 'TinymceDemo', - meta: { title: 'Tinymce' } - }, - { - path: 'markdown', - component: () => import('@/views/components-demo/markdown'), - name: 'MarkdownDemo', - meta: { title: 'Markdown' } - }, - { - path: 'json-editor', - component: () => import('@/views/components-demo/json-editor'), - name: 'JsonEditorDemo', - meta: { title: 'JSON Editor' } - }, - { - path: 'split-pane', - component: () => import('@/views/components-demo/split-pane'), - name: 'SplitpaneDemo', - meta: { title: 'SplitPane' } - }, - { - path: 'avatar-upload', - component: () => import('@/views/components-demo/avatar-upload'), - name: 'AvatarUploadDemo', - meta: { title: 'Upload' } - }, - { - path: 'dropzone', - component: () => import('@/views/components-demo/dropzone'), - name: 'DropzoneDemo', - meta: { title: 'Dropzone' } - }, - { - path: 'sticky', - component: () => import('@/views/components-demo/sticky'), - name: 'StickyDemo', - meta: { title: 'Sticky' } - }, - { - path: 'count-to', - component: () => import('@/views/components-demo/count-to'), - name: 'CountToDemo', - meta: { title: 'Count To' } - }, - { - path: 'mixin', - component: () => import('@/views/components-demo/mixin'), - name: 'ComponentMixinDemo', - meta: { title: 'Component Mixin' } - }, - { - path: 'back-to-top', - component: () => import('@/views/components-demo/back-to-top'), - name: 'BackToTopDemo', - meta: { title: 'Back To Top' } - }, - { - path: 'drag-dialog', - component: () => import('@/views/components-demo/drag-dialog'), - name: 'DragDialogDemo', - meta: { title: 'Drag Dialog' } - }, - { - path: 'drag-select', - component: () => import('@/views/components-demo/drag-select'), - name: 'DragSelectDemo', - meta: { title: 'Drag Select' } - }, - { - path: 'dnd-list', - component: () => import('@/views/components-demo/dnd-list'), - name: 'DndListDemo', - meta: { title: 'Dnd List' } - }, - { - path: 'drag-kanban', - component: () => import('@/views/components-demo/drag-kanban'), - name: 'DragKanbanDemo', - meta: { title: 'Drag Kanban' } - } - ] -} - -export default componentsRouter diff --git a/views/src/main/resources/vueboot/src/router/modules/nested.js b/views/src/main/resources/vueboot/src/router/modules/nested.js deleted file mode 100644 index 26985c7..0000000 --- a/views/src/main/resources/vueboot/src/router/modules/nested.js +++ /dev/null @@ -1,66 +0,0 @@ -/** When your routing table is too long, you can split it into small modules **/ - -import Layout from '@/layout' - -const nestedRouter = { - path: '/nested', - component: Layout, - redirect: '/nested/menu1/menu1-1', - name: 'Nested', - meta: { - title: '嵌套路由', - icon: 'nested' - }, - children: [ - { - path: 'menu1', - component: () => import('@/views/nested/menu1/index'), // Parent router-view - name: 'Menu1', - meta: { title: 'Menu 1' }, - redirect: '/nested/menu1/menu1-1', - children: [ - { - path: 'menu1-1', - component: () => import('@/views/nested/menu1/menu1-1'), - name: 'Menu1-1', - meta: { title: 'Menu 1-1' } - }, - { - path: 'menu1-2', - component: () => import('@/views/nested/menu1/menu1-2'), - name: 'Menu1-2', - redirect: '/nested/menu1/menu1-2/menu1-2-1', - meta: { title: 'Menu 1-2' }, - children: [ - { - path: 'menu1-2-1', - component: () => import('@/views/nested/menu1/menu1-2/menu1-2-1'), - name: 'Menu1-2-1', - meta: { title: 'Menu 1-2-1' } - }, - { - path: 'menu1-2-2', - component: () => import('@/views/nested/menu1/menu1-2/menu1-2-2'), - name: 'Menu1-2-2', - meta: { title: 'Menu 1-2-2' } - } - ] - }, - { - path: 'menu1-3', - component: () => import('@/views/nested/menu1/menu1-3'), - name: 'Menu1-3', - meta: { title: 'Menu 1-3' } - } - ] - }, - { - path: 'menu2', - name: 'Menu2', - component: () => import('@/views/nested/menu2/index'), - meta: { title: 'Menu 2' } - } - ] -} - -export default nestedRouter diff --git a/views/src/main/resources/vueboot/src/router/modules/table.js b/views/src/main/resources/vueboot/src/router/modules/table.js deleted file mode 100644 index 8323cfb..0000000 --- a/views/src/main/resources/vueboot/src/router/modules/table.js +++ /dev/null @@ -1,41 +0,0 @@ -/** When your routing table is too long, you can split it into small modules **/ - -import Layout from '@/layout' - -const tableRouter = { - path: '/table', - component: Layout, - redirect: '/table/complex-table', - name: 'Table', - meta: { - title: '表格', - icon: 'table' - }, - children: [ - { - path: 'dynamic-table', - component: () => import('@/views/table/dynamic-table/index'), - name: 'DynamicTable', - meta: { title: 'Dynamic Table' } - }, - { - path: 'drag-table', - component: () => import('@/views/table/drag-table'), - name: 'DragTable', - meta: { title: 'Drag Table' } - }, - { - path: 'inline-edit-table', - component: () => import('@/views/table/inline-edit-table'), - name: 'InlineEditTable', - meta: { title: 'Inline Edit' } - }, - { - path: 'complex-table', - component: () => import('@/views/table/complex-table'), - name: 'ComplexTable', - meta: { title: 'Complex Table' } - } - ] -} -export default tableRouter diff --git a/views/src/main/resources/vueboot/src/views/bic-config/edge-config.vue b/views/src/main/resources/vueboot/src/views/bic-config/edge-config.vue new file mode 100644 index 0000000..96deb1c --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-config/edge-config.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/bic-config/edge-function-config.vue b/views/src/main/resources/vueboot/src/views/bic-config/edge-function-config.vue new file mode 100644 index 0000000..7910cce --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-config/edge-function-config.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/example/edit.vue b/views/src/main/resources/vueboot/src/views/bic-config/index.vue similarity index 30% rename from views/src/main/resources/vueboot/src/views/example/edit.vue rename to views/src/main/resources/vueboot/src/views/bic-config/index.vue index 87b6126..2de6494 100644 --- a/views/src/main/resources/vueboot/src/views/example/edit.vue +++ b/views/src/main/resources/vueboot/src/views/bic-config/index.vue @@ -1,13 +1,17 @@ + diff --git a/views/src/main/resources/vueboot/src/views/bic-config/module-relation.vue b/views/src/main/resources/vueboot/src/views/bic-config/module-relation.vue new file mode 100644 index 0000000..05b205c --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-config/module-relation.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/bic-config/node-config.vue b/views/src/main/resources/vueboot/src/views/bic-config/node-config.vue new file mode 100644 index 0000000..0bb837c --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-config/node-config.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/bic-config/node-function-config.vue b/views/src/main/resources/vueboot/src/views/bic-config/node-function-config.vue new file mode 100644 index 0000000..b8cc2ee --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-config/node-function-config.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/bic-config/system-config.vue b/views/src/main/resources/vueboot/src/views/bic-config/system-config.vue new file mode 100644 index 0000000..0ae5fcc --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-config/system-config.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/bic-data/edge-data.vue b/views/src/main/resources/vueboot/src/views/bic-data/edge-data.vue new file mode 100644 index 0000000..b23f5b5 --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-data/edge-data.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/error-log/components/ErrorTestB.vue b/views/src/main/resources/vueboot/src/views/bic-data/index.vue similarity index 48% rename from views/src/main/resources/vueboot/src/views/error-log/components/ErrorTestB.vue rename to views/src/main/resources/vueboot/src/views/bic-data/index.vue index d796bee..54b19c1 100644 --- a/views/src/main/resources/vueboot/src/views/error-log/components/ErrorTestB.vue +++ b/views/src/main/resources/vueboot/src/views/bic-data/index.vue @@ -1,11 +1,13 @@ + + diff --git a/views/src/main/resources/vueboot/src/views/bic-data/node-data.vue b/views/src/main/resources/vueboot/src/views/bic-data/node-data.vue new file mode 100644 index 0000000..e54290b --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-data/node-data.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/bic-view/bic-singleton-view.vue b/views/src/main/resources/vueboot/src/views/bic-view/bic-singleton-view.vue new file mode 100644 index 0000000..2b7f316 --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-view/bic-singleton-view.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/bic-view/bic-summary-view.vue b/views/src/main/resources/vueboot/src/views/bic-view/bic-summary-view.vue new file mode 100644 index 0000000..2afd280 --- /dev/null +++ b/views/src/main/resources/vueboot/src/views/bic-view/bic-summary-view.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/views/src/main/resources/vueboot/src/views/error-log/components/ErrorTestA.vue b/views/src/main/resources/vueboot/src/views/bic-view/index.vue similarity index 39% rename from views/src/main/resources/vueboot/src/views/error-log/components/ErrorTestA.vue rename to views/src/main/resources/vueboot/src/views/bic-view/index.vue index 52654e0..54b19c1 100644 --- a/views/src/main/resources/vueboot/src/views/error-log/components/ErrorTestA.vue +++ b/views/src/main/resources/vueboot/src/views/bic-view/index.vue @@ -1,13 +1,13 @@ + + diff --git a/views/src/main/resources/vueboot/src/views/clipboard/index.vue b/views/src/main/resources/vueboot/src/views/clipboard/index.vue deleted file mode 100644 index 4a6bdd1..0000000 --- a/views/src/main/resources/vueboot/src/views/clipboard/index.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/avatar-upload.vue b/views/src/main/resources/vueboot/src/views/components-demo/avatar-upload.vue deleted file mode 100644 index 5cb20a5..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/avatar-upload.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/back-to-top.vue b/views/src/main/resources/vueboot/src/views/components-demo/back-to-top.vue deleted file mode 100644 index df5370b..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/back-to-top.vue +++ /dev/null @@ -1,154 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/count-to.vue b/views/src/main/resources/vueboot/src/views/components-demo/count-to.vue deleted file mode 100644 index 70681df..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/count-to.vue +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/dnd-list.vue b/views/src/main/resources/vueboot/src/views/components-demo/dnd-list.vue deleted file mode 100644 index e299fa6..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/dnd-list.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/drag-dialog.vue b/views/src/main/resources/vueboot/src/views/components-demo/drag-dialog.vue deleted file mode 100644 index c815b28..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/drag-dialog.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/drag-kanban.vue b/views/src/main/resources/vueboot/src/views/components-demo/drag-kanban.vue deleted file mode 100644 index 943be45..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/drag-kanban.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/drag-select.vue b/views/src/main/resources/vueboot/src/views/components-demo/drag-select.vue deleted file mode 100644 index 905ecb9..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/drag-select.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/dropzone.vue b/views/src/main/resources/vueboot/src/views/components-demo/dropzone.vue deleted file mode 100644 index a8c1040..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/dropzone.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/json-editor.vue b/views/src/main/resources/vueboot/src/views/components-demo/json-editor.vue deleted file mode 100644 index 85bf383..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/json-editor.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/markdown.vue b/views/src/main/resources/vueboot/src/views/components-demo/markdown.vue deleted file mode 100644 index 25cf3e3..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/markdown.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/mixin.vue b/views/src/main/resources/vueboot/src/views/components-demo/mixin.vue deleted file mode 100644 index 425cf4f..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/mixin.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/split-pane.vue b/views/src/main/resources/vueboot/src/views/components-demo/split-pane.vue deleted file mode 100644 index 7dba353..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/split-pane.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/sticky.vue b/views/src/main/resources/vueboot/src/views/components-demo/sticky.vue deleted file mode 100644 index f01d088..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/sticky.vue +++ /dev/null @@ -1,135 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/components-demo/tinymce.vue b/views/src/main/resources/vueboot/src/views/components-demo/tinymce.vue deleted file mode 100644 index f03389a..0000000 --- a/views/src/main/resources/vueboot/src/views/components-demo/tinymce.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - diff --git a/views/src/main/resources/vueboot/src/views/documentation/index.vue b/views/src/main/resources/vueboot/src/views/documentation/index.vue index 1b7bbe5..21fa76d 100644 --- a/views/src/main/resources/vueboot/src/views/documentation/index.vue +++ b/views/src/main/resources/vueboot/src/views/documentation/index.vue @@ -1,47 +1,25 @@ - diff --git a/views/src/main/resources/vueboot/src/views/error-log/index.vue b/views/src/main/resources/vueboot/src/views/error-log/index.vue deleted file mode 100644 index e999c85..0000000 --- a/views/src/main/resources/vueboot/src/views/error-log/index.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/example/components/ArticleDetail.vue b/views/src/main/resources/vueboot/src/views/example/components/ArticleDetail.vue deleted file mode 100644 index 157497b..0000000 --- a/views/src/main/resources/vueboot/src/views/example/components/ArticleDetail.vue +++ /dev/null @@ -1,289 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/Comment.vue b/views/src/main/resources/vueboot/src/views/example/components/Dropdown/Comment.vue deleted file mode 100644 index d34b2b9..0000000 --- a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/Comment.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/Platform.vue b/views/src/main/resources/vueboot/src/views/example/components/Dropdown/Platform.vue deleted file mode 100644 index 0a52726..0000000 --- a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/Platform.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/SourceUrl.vue b/views/src/main/resources/vueboot/src/views/example/components/Dropdown/SourceUrl.vue deleted file mode 100644 index 8f47485..0000000 --- a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/SourceUrl.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/index.js b/views/src/main/resources/vueboot/src/views/example/components/Dropdown/index.js deleted file mode 100644 index bc0c171..0000000 --- a/views/src/main/resources/vueboot/src/views/example/components/Dropdown/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export { default as CommentDropdown } from './Comment' -export { default as PlatformDropdown } from './Platform' -export { default as SourceUrlDropdown } from './SourceUrl' diff --git a/views/src/main/resources/vueboot/src/views/example/components/Warning.vue b/views/src/main/resources/vueboot/src/views/example/components/Warning.vue deleted file mode 100644 index 8d2a7e5..0000000 --- a/views/src/main/resources/vueboot/src/views/example/components/Warning.vue +++ /dev/null @@ -1,13 +0,0 @@ - - diff --git a/views/src/main/resources/vueboot/src/views/example/create.vue b/views/src/main/resources/vueboot/src/views/example/create.vue deleted file mode 100644 index f28ce28..0000000 --- a/views/src/main/resources/vueboot/src/views/example/create.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/example/list.vue b/views/src/main/resources/vueboot/src/views/example/list.vue deleted file mode 100644 index 7cdc4ac..0000000 --- a/views/src/main/resources/vueboot/src/views/example/list.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/excel/components/AutoWidthOption.vue b/views/src/main/resources/vueboot/src/views/excel/components/AutoWidthOption.vue deleted file mode 100644 index 9050e65..0000000 --- a/views/src/main/resources/vueboot/src/views/excel/components/AutoWidthOption.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/excel/components/BookTypeOption.vue b/views/src/main/resources/vueboot/src/views/excel/components/BookTypeOption.vue deleted file mode 100644 index af9fed3..0000000 --- a/views/src/main/resources/vueboot/src/views/excel/components/BookTypeOption.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/excel/components/FilenameOption.vue b/views/src/main/resources/vueboot/src/views/excel/components/FilenameOption.vue deleted file mode 100644 index 7509223..0000000 --- a/views/src/main/resources/vueboot/src/views/excel/components/FilenameOption.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/excel/export-excel.vue b/views/src/main/resources/vueboot/src/views/excel/export-excel.vue deleted file mode 100644 index b4d7500..0000000 --- a/views/src/main/resources/vueboot/src/views/excel/export-excel.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/excel/merge-header.vue b/views/src/main/resources/vueboot/src/views/excel/merge-header.vue deleted file mode 100644 index 4be0227..0000000 --- a/views/src/main/resources/vueboot/src/views/excel/merge-header.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/excel/select-excel.vue b/views/src/main/resources/vueboot/src/views/excel/select-excel.vue deleted file mode 100644 index 05b85fb..0000000 --- a/views/src/main/resources/vueboot/src/views/excel/select-excel.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/excel/upload-excel.vue b/views/src/main/resources/vueboot/src/views/excel/upload-excel.vue deleted file mode 100644 index 1772b7f..0000000 --- a/views/src/main/resources/vueboot/src/views/excel/upload-excel.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/guide/index.vue b/views/src/main/resources/vueboot/src/views/guide/index.vue deleted file mode 100644 index a436b99..0000000 --- a/views/src/main/resources/vueboot/src/views/guide/index.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/guide/steps.js b/views/src/main/resources/vueboot/src/views/guide/steps.js deleted file mode 100644 index 953f18d..0000000 --- a/views/src/main/resources/vueboot/src/views/guide/steps.js +++ /dev/null @@ -1,53 +0,0 @@ -const steps = [ - { - element: '#hamburger-container', - popover: { - title: '侧边栏收缩框', - description: '打开或关闭侧边栏', - position: 'bottom' - } - }, - { - element: '#breadcrumb-container', - popover: { - title: '路由', - description: '当前页面是在哪儿', - position: 'bottom' - } - }, - { - element: '#header-search', - popover: { - title: '页面搜索', - description: '快速定位到页面位置', - position: 'left' - } - }, - { - element: '#screenfull', - popover: { - title: '全屏', - description: '将当前页面全屏展示', - position: 'left' - } - }, - { - element: '#size-select', - popover: { - title: '选择字体大小', - description: '设置系统字体大小', - position: 'left' - } - }, - { - element: '#tags-view-container', - popover: { - title: '标签页', - description: '您访问的页面的历史记录', - position: 'bottom' - }, - padding: 0 - } -] - -export default steps diff --git a/views/src/main/resources/vueboot/src/views/nested/menu1/index.vue b/views/src/main/resources/vueboot/src/views/nested/menu1/index.vue deleted file mode 100644 index 30cb670..0000000 --- a/views/src/main/resources/vueboot/src/views/nested/menu1/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-1/index.vue b/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-1/index.vue deleted file mode 100644 index 27e173a..0000000 --- a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-1/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/index.vue b/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/index.vue deleted file mode 100644 index 0c86276..0000000 --- a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue b/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue deleted file mode 100644 index f87d88f..0000000 --- a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue b/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue deleted file mode 100644 index d88789f..0000000 --- a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-3/index.vue b/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-3/index.vue deleted file mode 100644 index f7cd073..0000000 --- a/views/src/main/resources/vueboot/src/views/nested/menu1/menu1-3/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/views/src/main/resources/vueboot/src/views/nested/menu2/index.vue b/views/src/main/resources/vueboot/src/views/nested/menu2/index.vue deleted file mode 100644 index 19dd48f..0000000 --- a/views/src/main/resources/vueboot/src/views/nested/menu2/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/views/src/main/resources/vueboot/src/views/pdf/content.js b/views/src/main/resources/vueboot/src/views/pdf/content.js deleted file mode 100644 index e62b1a2..0000000 --- a/views/src/main/resources/vueboot/src/views/pdf/content.js +++ /dev/null @@ -1,58 +0,0 @@ -const title = 'Plans for the Next Iteration of Vue.js' - -const content = `

Last week atVue.js LondonI gave a brief sneak peek of what’s coming in the next major version of Vue. This post provides an in-depth overview of the plan.

-

-

Why a new majorversion?

-

Vue 2.0 was releasedexactly two years ago(how time flies!). During this period, the core has remained backwards compatible with five minor releases. We’ve accumulated a number of ideas that would bring improvements, but they were held off because they would result in breaking changes. At the same time, the JavaScript ecosystem and the language itself has been evolving rapidly. There are greatly improved tools that could enhance our workflow, and many new language features that could unlock simpler, more complete, and more efficient solutions to the problems Vue is trying to solve. What’s more exciting is that we are seeing ES2015 support becoming a baseline for all major evergreen browsers. Vue 3.0 aims to leverage these new language features to make Vue core smaller, faster, and more powerful.

-

Vue 3.0 is currently in prototyping phase, and we have already implemented a runtime close to feature-parity with 2.x.Many of the items listed below are either already implemented, or confirmed to be feasible. Ones that are not yet implemented or still in exploration phase are marked with a *.

-

The Details

-

High-Level APIChanges

-
TL;DR: Everything except render function API and scoped-slots syntax will either remain the same or can be made 2.x compatible via a compatibility build.
-

Since it’s a new major, there is going to be some breaking changes. However, we take backwards compatibility seriously, so we want to start communicating these changes as soon as possible. Here’s the currently planned public API changes:

- -

Source Code Architecture

-
TL;DR: better decoupled internal modules, TypeScript, and a codebase that is easier to contribute to.
-

We are re-writing 3.0 from the ground up for a cleaner and more maintainable architecture, in particular trying to make it easier to contribute to. We are breaking some internal functionalities into individual packages in order to isolate the scope of complexity. For example, the observer module will become its own package, with its own public API and tests. Note this does not affect framework-level API— you will not have to manually import individual bits from multiple packages in order to use Vue. Instead, the final Vue package is assembled using these internal packages.

-

The codebase is also now written in TypeScript. Although this will make proficiency in TypeScript a pre-requisite for contributing to the new codebase, we believe the type information and IDE support will actually make it easier for a new contributor to make meaningful contributions.

-

Decoupling the observer and scheduler into separate packages also allows us to easily experiment with alternative implementations of these parts. For example, we can implement an IE11 compatible observer implementation with the same API, or an alternative scheduler that leveragesrequestIdleCallbackto yield to the browser during long updates.*

-

-

Observation Mechanism

-
TL;DR: more complete, precise, efficient and debuggable reactivity tracking & API for creating observables.
-

3.0 will ship with a Proxy-based observer implementation that provides reactivity tracking with full language coverage. This eliminates a number of limitations of Vue 2’s current implementation based onObject.defineProperty:

-

The new observer also features the following:

-

Easily understand why a component is re-rendering

-

-

Other Runtime Improvements

-
TL;DR: smaller, faster, tree-shakable features, fragments & portals, custom renderer API.
-

Compiler Improvements*

-
TL;DR: tree-shaking friendly output, more AOT optimizations, parser with better error info and source map support.
-

IE11 Support*

-
TL;DR: it will be supported, but in a separate build with the same reactivity limitations of Vue 2.x.
-

The new codebase currently targets evergreen browsers only and assumes baseline native ES2015 support. But alas, we know a lot of our users still need to support IE11 for the foreseeable future. Most of the ES2015 features used can be transpiled / polyfilled for IE11, with the exception for Proxies. Our plan is to implement an alternative observer with the same API, but using the good old ES5Object.definePropertyAPI. A separate build of Vue 3.x will be distributed using this observer implementation. However, this build will be subject to the same change detection caveats of Vue 2.x and thus not fully compatible with the “modern” build of 3.x. We are aware that this imposes some inconvenience for library authors as they will need to be aware of compatibility for two different builds, but we will make sure to provide clear guidelines on this when we reach that stage.

-

How Do We GetThere

-

First of all, although we are announcing it today, we do not have a definitive timeline yet. What we do know at the moment is the steps we will be taking to get there:

-

1. Internal Feedback for the Runtime Prototype

-

This is the phase we are in right now. Currently, we already have a working runtime prototype that includes the new observer, Virtual DOM and component implementation. We have invited a group of authors of influential community projects to provide feedback for the internal changes, and would like to make sure they are comfortable with the changes before moving forward. We want to ensure that important libraries in the ecosystem will be ready at the same time when we release 3.0, so that users relying on those projects can upgrade easily.

-

2. Public Feedback viaRFCs

-

Once we gain a certain level of confidence in the new design, for each breaking change we will be opening a dedicated RFC issue which includes:

-

We will anticipate public feedback from the wider community to help us consolidate these ideas.

-

3. Introduce Compatible Features in 2.x &2.x-next

-

We are not forgetting about 2.x! In fact, we plan to use 2.x to progressively accustom users to the new changes. We will be gradually introducing confirmed API changes into 2.x via opt-in adaptors, and 2.x-next will allow users to try out the new Proxy-based observer.

-

The last minor release in 2.x will become LTS and continue to receive bug and security fixes for 18 months when 3.0 is released.

-

4. AlphaPhase

-

Next, we will finish up the compiler and server-side rendering parts of 3.0 and start making alpha releases. These will mostly be for stability testing purposes in small greenfield apps.

-

5. BetaPhase

-

During beta phase, our main goal is updating support libraries and tools like Vue Router, Vuex, Vue CLI, Vue DevTools and make sure they work smoothly with the new core. We will also be working with major library authors from the community to help them get ready for 3.0.

-

6. RCPhase

-

Once we consider the API and codebase stable, we will enter RC phase with API freeze. During this phase we will also work on a “compat build”: a build of 3.0 that includes compatibility layers for 2.x API. This build will also ship with a flag you can turn on to emit deprecation warnings for 2.x API usage in your app. The compat build can be used as a guide to upgrade your app to 3.0.

-

7. IE11build

-

The last task before the final release will be the IE11 compatibility build as mentioned above.

-

8. FinalRelease

-

In all honesty, we don’t know when this will happen yet, but likely in 2019. Again, we care more about shipping something that is solid and stable rather than hitting specific dates. There is a lot of work to be done, but we are excited for what’s coming next!

` - -const data = { - title, - content -} - -export default data diff --git a/views/src/main/resources/vueboot/src/views/pdf/download.vue b/views/src/main/resources/vueboot/src/views/pdf/download.vue deleted file mode 100644 index a348c69..0000000 --- a/views/src/main/resources/vueboot/src/views/pdf/download.vue +++ /dev/null @@ -1,201 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/pdf/index.vue b/views/src/main/resources/vueboot/src/views/pdf/index.vue deleted file mode 100644 index 86278b3..0000000 --- a/views/src/main/resources/vueboot/src/views/pdf/index.vue +++ /dev/null @@ -1,13 +0,0 @@ - - diff --git a/views/src/main/resources/vueboot/src/views/qiniu/upload.vue b/views/src/main/resources/vueboot/src/views/qiniu/upload.vue deleted file mode 100644 index 9dc9aed..0000000 --- a/views/src/main/resources/vueboot/src/views/qiniu/upload.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/tab/components/TabPane.vue b/views/src/main/resources/vueboot/src/views/tab/components/TabPane.vue deleted file mode 100644 index 3fb1439..0000000 --- a/views/src/main/resources/vueboot/src/views/tab/components/TabPane.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/tab/index.vue b/views/src/main/resources/vueboot/src/views/tab/index.vue deleted file mode 100644 index 2a35fa5..0000000 --- a/views/src/main/resources/vueboot/src/views/tab/index.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/table/complex-table.vue b/views/src/main/resources/vueboot/src/views/table/complex-table.vue deleted file mode 100644 index 295c5fc..0000000 --- a/views/src/main/resources/vueboot/src/views/table/complex-table.vue +++ /dev/null @@ -1,379 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/table/drag-table.vue b/views/src/main/resources/vueboot/src/views/table/drag-table.vue deleted file mode 100644 index 3b5c890..0000000 --- a/views/src/main/resources/vueboot/src/views/table/drag-table.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - diff --git a/views/src/main/resources/vueboot/src/views/table/dynamic-table/components/FixedThead.vue b/views/src/main/resources/vueboot/src/views/table/dynamic-table/components/FixedThead.vue deleted file mode 100644 index c3deb92..0000000 --- a/views/src/main/resources/vueboot/src/views/table/dynamic-table/components/FixedThead.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/table/dynamic-table/components/UnfixedThead.vue b/views/src/main/resources/vueboot/src/views/table/dynamic-table/components/UnfixedThead.vue deleted file mode 100644 index 831b070..0000000 --- a/views/src/main/resources/vueboot/src/views/table/dynamic-table/components/UnfixedThead.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - diff --git a/views/src/main/resources/vueboot/src/views/table/dynamic-table/index.vue b/views/src/main/resources/vueboot/src/views/table/dynamic-table/index.vue deleted file mode 100644 index 5a4dd36..0000000 --- a/views/src/main/resources/vueboot/src/views/table/dynamic-table/index.vue +++ /dev/null @@ -1,24 +0,0 @@ - - - - diff --git a/views/src/main/resources/vueboot/src/views/table/inline-edit-table.vue b/views/src/main/resources/vueboot/src/views/table/inline-edit-table.vue deleted file mode 100644 index 31e0065..0000000 --- a/views/src/main/resources/vueboot/src/views/table/inline-edit-table.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/theme/index.vue b/views/src/main/resources/vueboot/src/views/theme/index.vue deleted file mode 100644 index 0af7711..0000000 --- a/views/src/main/resources/vueboot/src/views/theme/index.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - - - diff --git a/views/src/main/resources/vueboot/src/views/zip/index.vue b/views/src/main/resources/vueboot/src/views/zip/index.vue deleted file mode 100644 index 412608f..0000000 --- a/views/src/main/resources/vueboot/src/views/zip/index.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - -- Gitee