-
- {{ item.xmlns }}
+
+ |
+ {{ item.date }}
|
No matching results.
-
-
- No matching items.
-
+
@@ -69,13 +63,10 @@
selected:[],
headers: [
-
- { text: 'xmlns', value: 'xmlns' },
-
- { text: 'Description', value: 'description' },
- { text: 'Prefix', value: 'prefix' }
+ { text: 'Date', value: 'date' },
+ { text: 'File name', value: 'name' }
],
- crumbs:[{to:"/namespace", text:"namespaces"}]
+ crumbs:[{to:"/logdate", text:"Log files"}]
}
},
methods: {
@@ -106,7 +97,7 @@
created:function(){
this.q=this.$route.query.q || this.q;
this.load();
- console.log("logarchive")
+ console.log("logfiles")
}
}
diff --git a/src/vue-poc/features/adminlog/logdate.vue b/src/vue-poc/features/adminlog/basexlogdate1.vue
similarity index 93%
rename from src/vue-poc/features/adminlog/logdate.vue
rename to src/vue-poc/features/adminlog/basexlogdate1.vue
index c03b047..042b35b 100644
--- a/src/vue-poc/features/adminlog/logdate.vue
+++ b/src/vue-poc/features/adminlog/basexlogdate1.vue
@@ -2,11 +2,15 @@
-
+
- XML Log {{ query.name }}
+
+ crumbs
+
@@ -149,12 +147,10 @@
diff --git a/src/vue-poc/features/images/images.xqm b/src/vue-poc/features/images/images.xqm
index 310e9fe..2ca6064 100644
--- a/src/vue-poc/features/images/images.xqm
+++ b/src/vue-poc/features/images/images.xqm
@@ -10,6 +10,7 @@ import module namespace entity = 'quodatum.models.generated' at "../../models.ge
declare namespace c="http://www.w3.org/ns/xproc-step";
declare variable $vue-api:entity:=$entity:list("thumbnail");
+
(:~
: do a thumbnail
:)
@@ -17,7 +18,7 @@ declare
%rest:GET %rest:path("/vue-poc/api/images/list/{$id}")
%rest:produces("application/json")
%output:method("json")
-function vue-api:id( $id as xs:integer)
+function vue-api:id( $id )
{
let $image:=db:open-id($cfg:DB-IMAGE,$id)
return
diff --git a/src/vue-poc/features/model/entity1.vue b/src/vue-poc/features/model/entity1.vue
index d1b6e01..d3e79a3 100644
--- a/src/vue-poc/features/model/entity1.vue
+++ b/src/vue-poc/features/model/entity1.vue
@@ -40,12 +40,14 @@
-
-
- {{ item.iconclass }} {{ item.name }}
- {{item.description}}
-
-
+
+
+
+ {{ item.iconclass }}
+ {{ item.name }}
+ {{item.description}}
+
+
{{ xml }}
diff --git a/src/vue-poc/features/model/namespace.vue b/src/vue-poc/features/namespaces/namespace.vue
similarity index 100%
rename from src/vue-poc/features/model/namespace.vue
rename to src/vue-poc/features/namespaces/namespace.vue
diff --git a/src/vue-poc/features/model/namespace1.vue b/src/vue-poc/features/namespaces/namespace1.vue
similarity index 88%
rename from src/vue-poc/features/model/namespace1.vue
rename to src/vue-poc/features/namespaces/namespace1.vue
index fdc6797..a770cac 100644
--- a/src/vue-poc/features/model/namespace1.vue
+++ b/src/vue-poc/features/namespaces/namespace1.vue
@@ -26,6 +26,9 @@
hello
+ {{ item.prefix }}
+ {{ item.xmlns }}
+ {{ item.description }}
@@ -45,7 +48,7 @@
.then(r=>{
this.loading=false;
console.log(r.data)
-
+ this.item= r.data
})
}
},
diff --git a/src/vue-poc/features/namespaces/namespaces.xqm b/src/vue-poc/features/namespaces/namespaces.xqm
new file mode 100644
index 0000000..4f31cd2
--- /dev/null
+++ b/src/vue-poc/features/namespaces/namespaces.xqm
@@ -0,0 +1,28 @@
+xquery version "3.1";
+(:~
+: namespace rest interface
+: defines urls below vue-poc/data/namespace/
+: @author andy bunce
+: @since oct 2019
+:)
+
+module namespace _ = 'quodatum.model.namespaces';
+
+
+import module namespace entity ='quodatum.models.generated' at "../../models.gen.xqm";
+import module namespace dice = 'quodatum.web.dice/v4' at "../../lib/dice.xqm";
+import module namespace web = 'quodatum.web.utils4' at "../../lib/webutils.xqm";
+
+(:~
+ : return a namespace
+ :)
+declare
+%rest:GET %rest:path("vue-poc/api/data/namespace/item")
+%rest:query-param("id", "{$id}")
+%output:method("json")
+function _:model-list($id) {
+ let $entity:=$entity:list("namespace")
+ let $_:=trace($id," ID:")
+ let $item:=$entity?data()[1]
+ return dice:one($item,$entity)
+};
diff --git a/src/vue-poc/features/settings/acesettings.vue b/src/vue-poc/features/settings/acesettings.vue
index 7309db0..76c2efb 100644
--- a/src/vue-poc/features/settings/acesettings.vue
+++ b/src/vue-poc/features/settings/acesettings.vue
@@ -23,6 +23,13 @@
label="Theme"
>
+
+
+
@@ -105,11 +112,13 @@
enableBasicAutocompletion: true,
enableLiveAutocompletion: true,
theme: "github",
+ themeDark: "twilight",
keybinding: "ace",
fontsize: "14"
},
keybindings:[ 'ace', 'vim', 'emacs', 'textarea', 'sublime' ],
- themes: [ "github","chrome" ,"tomorrow","-dark-","chaos","twilight"]
+ themes: [ "github","chrome" ,"tomorrow"],
+ themesDark: ["chaos","twilight"]
}
},
methods:{
diff --git a/src/vue-poc/features/tasks/model.build/model.vue b/src/vue-poc/features/tasks/model.build/model.vue
index b544c91..f68e891 100644
--- a/src/vue-poc/features/tasks/model.build/model.vue
+++ b/src/vue-poc/features/tasks/model.build/model.vue
@@ -82,7 +82,8 @@
var task=this.task
HTTP.get("tasks/model")
.then(r=>{
- console.log(r);
+ console.log(r.data.values);
+ this.params=r.data.values;
})
},
}
diff --git a/src/vue-poc/features/tasks/model.build/tx-model.xq b/src/vue-poc/features/tasks/model.build/tx-model.xq
index 5d0b20d..49cc82b 100644
--- a/src/vue-poc/features/tasks/model.build/tx-model.xq
+++ b/src/vue-poc/features/tasks/model.build/tx-model.xq
@@ -6,7 +6,7 @@ import module namespace bf = 'quodatum.tools.buildfields' at "./../../../lib/ent
(:~
: Folder containing model definitions as xml
- : @default C:/Users/andy/git/vue-poc/src/vue-poc/models/entities
+ : @default C:/Users/andy/git/vue-poc/src/vue-poc/data/vue-poc/entities
:)
declare variable $efolder as xs:anyURI external
:=xs:anyURI("C:\Users\andy\git\vue-poc\src\vue-poc\data\vue-poc\entities");
diff --git a/src/vue-poc/features/thumbnail/thumbnail.vue b/src/vue-poc/features/thumbnail/thumbnail.vue
index 485bb40..c457ac5 100644
--- a/src/vue-poc/features/thumbnail/thumbnail.vue
+++ b/src/vue-poc/features/thumbnail/thumbnail.vue
@@ -3,51 +3,69 @@
- Select image location
+ Image source
- Set thumbnail details
+ Thumbnail parameters
- Result
+ Thumbnail
-
-
-
+
+
+
+
+
+
Next
+
+
-
-
+
+
+
+ Back
+
+ Validate
+
+ Next
+
+
+
+
-
- Back
- Validate
- Next
+
+
-
+
Back
- go
+
+ refresh
+ (took {{ elapsed }}ms.)
+
-
+
+ Source
-
+ Thumbnail
+
@@ -64,15 +82,18 @@
-
+
|