-
+
+
+
+ |
{{ item.xmlns }}
|
@@ -50,60 +15,18 @@
No matching items.
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/src/vue-poc/features/namespaces/namespace1.vue b/src/vue-poc/features/namespaces/namespace1.vue
index a770cac..9fe4a50 100644
--- a/src/vue-poc/features/namespaces/namespace1.vue
+++ b/src/vue-poc/features/namespaces/namespace1.vue
@@ -4,7 +4,7 @@
-
+
Namespaces
@@ -44,7 +44,7 @@
methods:{
getItem(){
this.loading=true
- HTTP.get("data/namespace/item",{id: this.xmlns})
+ HTTP.get("data/namespace/item",{params: {id: this.xmlns}})
.then(r=>{
this.loading=false;
console.log(r.data)
@@ -53,7 +53,7 @@
}
},
created:function(){
- this.xmlns=this.$route.query.xmlns;
+ this.xmlns=this.$route.query.id;
this.getItem()
},
}
diff --git a/src/vue-poc/features/namespaces/namespaces.xqm b/src/vue-poc/features/namespaces/namespaces.xqm
index 4f31cd2..a58e18c 100644
--- a/src/vue-poc/features/namespaces/namespaces.xqm
+++ b/src/vue-poc/features/namespaces/namespaces.xqm
@@ -23,6 +23,6 @@ declare
function _:model-list($id) {
let $entity:=$entity:list("namespace")
let $_:=trace($id," ID:")
- let $item:=$entity?data()[1]
+ let $item:=dice:get($entity,$id,"xmlns")
return dice:one($item,$entity)
};
diff --git a/src/vue-poc/features/server/dicetest.vue b/src/vue-poc/features/performance/dicetest.vue
similarity index 80%
rename from src/vue-poc/features/server/dicetest.vue
rename to src/vue-poc/features/performance/dicetest.vue
index f466bd3..82d0155 100644
--- a/src/vue-poc/features/server/dicetest.vue
+++ b/src/vue-poc/features/performance/dicetest.vue
@@ -14,29 +14,25 @@
+ label="Select target" clearable open-on-clear>
+
+ {{ item.iconclass }}
+ {{ item.name }}
+
+
-
-
-
+
+
+
- | url |
- Action |
- Repeat |
- Last |
- Count |
- Avg |
- min |
- max |
- Median |
+
+ {{ col.label }}
+ |
-
-
-
+
|
{{ entity && entity.name }}
|
@@ -70,10 +66,11 @@
{{getValues.median}}
-
+
-
+
+
Value: {{counter}}
{{ result | pretty}}
@@ -91,7 +88,18 @@
entity: null,
counter: 0,
result: null,
- entities: null
+ entities: null,
+ columns: [
+ {label:"Entity"},
+ {label:"Action"},
+ {label:"Repeat"},
+ {label:"Last"},
+ {label:"Count"},
+ {label:"Avg"},
+ {label:"min"},
+ {label:"max"},
+ {label:"Median"}
+ ]
}
},
methods:{
diff --git a/src/vue-poc/features/server/ping.vue b/src/vue-poc/features/performance/ping.vue
similarity index 100%
rename from src/vue-poc/features/server/ping.vue
rename to src/vue-poc/features/performance/ping.vue
diff --git a/src/vue-poc/features/server/ping.xqm b/src/vue-poc/features/performance/ping.xqm
similarity index 85%
rename from src/vue-poc/features/server/ping.xqm
rename to src/vue-poc/features/performance/ping.xqm
index bde7de9..4a927de 100644
--- a/src/vue-poc/features/server/ping.xqm
+++ b/src/vue-poc/features/performance/ping.xqm
@@ -13,10 +13,10 @@ declare %updating
%rest:POST %rest:path("/vue-poc/api/ping")
%output:method("text")
function ping:dopost()
-{
- (replace value of node $ping:state/ping with 1+$ping:state/ping,
- update:output(1+$ping:state/ping))
-};
+{(
+ replace value of node $ping:state/ping with 1+$ping:state/ping,
+ update:output(1+$ping:state/ping)
+)};
(:~
: read counter
diff --git a/src/vue-poc/features/repository.vue b/src/vue-poc/features/repository.vue
deleted file mode 100644
index 32e8cb9..0000000
--- a/src/vue-poc/features/repository.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
- |
- {{ props.item.name}} |
- {{ props.item.type }} |
- {{ props.item.version }} |
-
-
-
-
-
-
-
diff --git a/src/vue-poc/features/server/basexsettings.vue b/src/vue-poc/features/server/basexsettings.vue
index ba32074..c7c8ca7 100644
--- a/src/vue-poc/features/server/basexsettings.vue
+++ b/src/vue-poc/features/server/basexsettings.vue
@@ -13,6 +13,7 @@
+
- {$name}
- {$dm($name)}
- {$sm($name)}
- { if ($change) then $change else false() }
- }
+ {$name}
+ {$dm($name)}
+ {$sm($name)}
+ { if ($change) then $change else false() }
+ }
};
diff --git a/src/vue-poc/features/server/repository.vue b/src/vue-poc/features/server/repository.vue
new file mode 100644
index 0000000..6e8c9b8
--- /dev/null
+++ b/src/vue-poc/features/server/repository.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+ {{ item.name }}
+
+
+ action here
+
+
+
+
+
+
+
diff --git a/src/vue-poc/features/server/repository1.vue b/src/vue-poc/features/server/repository1.vue
new file mode 100644
index 0000000..b27d808
--- /dev/null
+++ b/src/vue-poc/features/server/repository1.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+ Repository
+
+
+ {{ repo }}
+
+
+
+
+
+
+ refresh
+
+
+
+
+ todo
+
+
+
+
+
diff --git a/src/vue-poc/features/tasks/runtask.vue b/src/vue-poc/features/tasks/runtask.vue
index 5e77d56..c84450f 100644
--- a/src/vue-poc/features/tasks/runtask.vue
+++ b/src/vue-poc/features/tasks/runtask.vue
@@ -53,7 +53,9 @@
snackbar: {show:false,msg:"",context:"success"},
valid: false,
id: null,
- crumbs: [{to:"/tasks", text:"Tasks"},{text: this.task, disabled: true}]
+ crumbs: [{to:"/tasks", text:"Tasks"},
+ {to:"/tasks/"+this.task, text: this.task},
+ {text:"run", disabled: true}]
}
},
diff --git a/src/vue-poc/features/tasks/task/tx-dbimport2.xq b/src/vue-poc/features/tasks/task/tx-dbimport2.xq
index 7487387..ebdab27 100644
--- a/src/vue-poc/features/tasks/task/tx-dbimport2.xq
+++ b/src/vue-poc/features/tasks/task/tx-dbimport2.xq
@@ -17,7 +17,7 @@ declare variable $srcpath as xs:string external :="C:\Users\andy\git\vue-poc\sr
declare variable $targetpath as xs:string external :="/vuepoc-test";
(:~ delete from database if not if import files list
- @default false
+ @default true
:)
declare variable $deleteMissing as xs:boolean external :=true();
diff --git a/src/vue-poc/features/tasks/taskdef.xml b/src/vue-poc/features/tasks/taskdef.xml
index 9ef7c5f..22c593a 100644
--- a/src/vue-poc/features/tasks/taskdef.xml
+++ b/src/vue-poc/features/tasks/taskdef.xml
@@ -4,7 +4,11 @@
Generate model.gen.xqm from files in entity folder
-
+
+ Generate model.gen.xqm
+ Generate model.gen.xqm from files in entity folder
+
+
Import files from drive into a database
Load files into database
diff --git a/src/vue-poc/features/tasks/tasks1.vue b/src/vue-poc/features/tasks/tasks1.vue
index 039caea..317be2e 100644
--- a/src/vue-poc/features/tasks/tasks1.vue
+++ b/src/vue-poc/features/tasks/tasks1.vue
@@ -14,10 +14,7 @@
v-model="view"
borderless
>
-
- homeHome
-
-
+
play_circle_outlineRun
diff --git a/src/vue-poc/features/users/users.vue b/src/vue-poc/features/users/users.vue
index 94075d9..140e079 100644
--- a/src/vue-poc/features/users/users.vue
+++ b/src/vue-poc/features/users/users.vue
@@ -1,18 +1,7 @@
-
-
-
-
- |
- {{ props.item.name}} |
- {{ props.item.permission }} |
-
+
@@ -21,10 +10,6 @@
-
-
-
-
+
+
+
+
diff --git a/src/vue-poc/static/resources/svg/model.svg b/src/vue-poc/static/resources/svg/model.svg
new file mode 100644
index 0000000..3fd5ea7
--- /dev/null
+++ b/src/vue-poc/static/resources/svg/model.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
|