From e5f691bf6c6c75a0c621080440da77ae99e99989 Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 18 Jul 2017 10:04:25 +0100 Subject: [PATCH] vuetify 0.14.2 --- src/vue-poc/components/core.js | 35 +-- src/vue-poc/components/nav-list.vue | 4 +- src/vue-poc/expath-pkg.xml | 4 +- .../features/collection/collections.xqm | 86 ++----- src/vue-poc/features/collection/files.vue | 6 +- src/vue-poc/features/collection/history.vue | 4 +- src/vue-poc/features/collection/history.xml | 2 +- src/vue-poc/features/edit/edit.vue | 14 +- src/vue-poc/features/edit/edit.xqm | 54 ++++- src/vue-poc/features/images/images.vue | 98 ++++++-- src/vue-poc/features/images/images.xqm | 58 +++-- .../features/model.build/entity-gen.xqm | 215 ++++++++++++++++++ src/vue-poc/features/model.build/model.vue | 79 +++++++ .../features/model.build/rxq-model.xqm | 27 +++ src/vue-poc/features/tasks.vue | 1 + src/vue-poc/lib/entity-gen.xqm | 215 ++++++++++++++++++ src/vue-poc/lib/file.xqm | 54 ++++- src/vue-poc/models.gen.xqm | 56 +++++ src/vue-poc/models/thumbnail.xml | 15 +- src/vue-poc/static/app-gen.js | 213 +++++++++++++---- src/vue-poc/static/app.html | 6 +- src/vue-poc/tasks/createimage.xq | 15 ++ src/vue-poc/tasks/generate-model-local.xq | 12 + tools/compile.xq | 2 +- 24 files changed, 1078 insertions(+), 197 deletions(-) create mode 100644 src/vue-poc/features/model.build/entity-gen.xqm create mode 100644 src/vue-poc/features/model.build/model.vue create mode 100644 src/vue-poc/features/model.build/rxq-model.xqm create mode 100644 src/vue-poc/lib/entity-gen.xqm create mode 100644 src/vue-poc/models.gen.xqm create mode 100644 src/vue-poc/tasks/createimage.xq create mode 100644 src/vue-poc/tasks/generate-model-local.xq diff --git a/src/vue-poc/components/core.js b/src/vue-poc/components/core.js index 2eb0d2c..0d69a52 100644 --- a/src/vue-poc/components/core.js +++ b/src/vue-poc/components/core.js @@ -54,6 +54,7 @@ const router = new VueRouter({ { path: '/eval', component: Eval,meta:{title:"Evaluate XQuery"} }, { path: '/logs', component: Log,meta:{title:"Server logs"} }, { path: '/tasks', component: Task,meta:{title:"Runnable tasks"} }, + { path: '/tasks/model', component: Model,meta:{title:"build model"} }, { path: '/jobs', component: Job,meta:{title:"Jobs"} }, { path: '*', component: Notfound,meta:{title:"Page not found"} } ], @@ -94,42 +95,42 @@ const app = new Vue({ text: 'Collections' , model: false, children: [ - {href: 'database', text: 'Databases',icon: 'account_balance' }, - {href: 'files', text: 'File system',icon: 'folder' }, - {href: 'edit',text: 'edit',icon: 'mode_edit'}, - {href: 'history',text: 'history',icon: 'history'}, - {href: 'logs',text: 'Server logs',icon: 'dns'} + {href: '/database', text: 'Databases',icon: 'account_balance' }, + {href: '/files', text: 'File system',icon: 'folder' }, + {href: '/edit',text: 'edit',icon: 'mode_edit'}, + {href: '/history',text: 'history',icon: 'history'}, + {href: '/logs',text: 'Server logs',icon: 'dns'} ]}, { icon: 'directions_run', text: 'Actions' , model: false, children: [ - {href: 'eval',text: 'Query',icon: 'play_circle_outline'}, - {href: 'jobs',text: 'Running jobs',icon: 'dashboard'}, - {href: 'tasks',text: 'Tasks',icon: 'history'}, + {href: '/eval',text: 'Query',icon: 'play_circle_outline'}, + {href: '/jobs',text: 'Running jobs',icon: 'dashboard'}, + {href: '/tasks',text: 'Tasks',icon: 'history'} ]}, { icon: 'more_horiz', text: 'More' , model: false, children: [ - {href: 'people',text: 'People',icon: 'person'}, - {href: 'select',text: 'select',icon: 'extension'}, - {href: 'puzzle',text: 'Puzzle',icon: 'extension'}, - {href: 'images',text: 'Images',icon: 'camera_roll'}, - {href: 'tabs',text: 'tabs',icon: 'switch_camera'}, - {href: 'ping',text: 'ping',icon: 'update'}, - {href: 'thumbnail',text: 'thumbnail',icon: 'touch_app'} + {href: '/people',text: 'People',icon: 'person'}, + {href: '/select',text: 'select',icon: 'extension'}, + {href: '/puzzle',text: 'Puzzle',icon: 'extension'}, + {href: '/images',text: 'Images',icon: 'camera_roll'}, + {href: '/tabs',text: 'tabs',icon: 'switch_camera'}, + {href: '/ping',text: 'ping',icon: 'update'}, + {href: '/thumbnail',text: 'thumbnail',icon: 'touch_app'} ]}, - {href: 'settings',text: 'settings',icon: 'settings' } + {href: '/settings',text: 'settings',icon: 'settings' } ] }}, methods: { search(){ - this.$router.push({path: 'search',query: { q: this.q }}) + this.$router.push({path: '/search',query: { q: this.q }}) }, logout(){ HTTP.get("logout").then(r=>{ diff --git a/src/vue-poc/components/nav-list.vue b/src/vue-poc/components/nav-list.vue index edb16fd..a049fd9 100644 --- a/src/vue-poc/components/nav-list.vue +++ b/src/vue-poc/components/nav-list.vue @@ -30,9 +30,7 @@ {{ item.model ? 'keyboard_arrow_up' : 'keyboard_arrow_down' }} - - - +