@opcua/for-node-red 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.js +1 -1
- package/config-panel/assets/index-Cbauh_EP.css +1 -0
- package/config-panel/assets/index-Dbq8sVaJ.js +49 -0
- package/config-panel/index.html +2 -2
- package/examples/coffee-machine-2.json +3393 -0
- package/examples/svg_watertank.html +17 -0
- package/examples/tank.jsx +33 -0
- package/package.json +1 -1
- package/source/OpcUa-Client2-Browse/OpcUa-Client2-Browse.html +2 -2
- package/source/OpcUa-Client2-Call/OpcUa-Client2-Call.html +2 -2
- package/source/OpcUa-Client2-Explore/OpcUa-Client2-Explore.html +2 -2
- package/source/OpcUa-Client2-ExtensionObject/OpcUa-Client2-ExtensionObject.html +2 -2
- package/source/OpcUa-Client2-HistoryRead/OpcUa-Client2-HistoryRead.html +2 -2
- package/source/OpcUa-Client2-Monitor/OpcUa-Client2-Monitor.html +2 -2
- package/source/OpcUa-Client2-MonitorEvent/OpcUa-Client2-MonitorEvent.html +2 -2
- package/source/OpcUa-Client2-Read/OpcUa-Client2-Read.html +2 -2
- package/source/OpcUa-Client2-Write/OpcUa-Client2-Write.html +2 -2
- package/source/OpcUa-Endpoint2/OpcUa-Endpoint2.html +2 -2
- package/config-panel/assets/index-DDkINW5U.js +0 -49
- package/config-panel/assets/index-DayGs2U8.css +0 -1
@@ -0,0 +1,17 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
+
<title>Vue SVG Example</title>
|
8
|
+
<script src="https://cdn.jsdelivr.net/npm/vue@3"></script>
|
9
|
+
<script src="https://cdn.jsdelivr.net/npm/@babel/standalone/babel.min.js"></script>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<div id="app"></div>
|
14
|
+
<script type="text/babel" src="Tank.jsx"></script>
|
15
|
+
</body>
|
16
|
+
|
17
|
+
</html>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<template>
|
2
|
+
<svg class="my-tank" width="300px" height=" 300px" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
3
|
+
|
4
|
+
<defs>
|
5
|
+
<ref id="paramHeight" param="100" default="100" />
|
6
|
+
</defs>
|
7
|
+
const { createApp, ref } = Vue
|
8
|
+
<path id="liquid" style="fill:#0008ff;fill-opacity:0.8;"
|
9
|
+
:d="m 15,{d+50} c 0,-6 16,-10 36,-10 18,0 34,4 34,10 l 0,31 C 82,{d+86} 69,{d+90} 52,{d+90} 36,{d+90} 18,{d+87} 15,{d+81} z" />
|
10
|
+
|
11
|
+
</svg>
|
12
|
+
</template>
|
13
|
+
<script>
|
14
|
+
export default {
|
15
|
+
name: 'MyTank',
|
16
|
+
props: {
|
17
|
+
height: {
|
18
|
+
type: Number,
|
19
|
+
default: 0,
|
20
|
+
}
|
21
|
+
},
|
22
|
+
computed: {
|
23
|
+
d: ()=>{
|
24
|
+
return 50 - this.height;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
</script>
|
29
|
+
<style scoped>
|
30
|
+
.my-tank {
|
31
|
+
/* Scoped CSS here */
|
32
|
+
}
|
33
|
+
</style>
|