mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 22:24:25 +02:00
update compatibility to AntOS next
This commit is contained in:
@ -3,5 +3,6 @@
|
||||
Generate graph from text using dot(viz) format
|
||||
|
||||
## Change logs
|
||||
* v0.1.0-a: Add package dependencies
|
||||
* v0.0.2-a: Fix path problem
|
||||
* v0.0.1-a: First version
|
105
VizApp/build.json
Normal file
105
VizApp/build.json
Normal file
@ -0,0 +1,105 @@
|
||||
{
|
||||
"name": "VizApp",
|
||||
"targets": {
|
||||
"init": {
|
||||
"jobs": [
|
||||
{
|
||||
"name": "vfs-mkdir",
|
||||
"data": [
|
||||
"build",
|
||||
"build/debug",
|
||||
"build/release"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"coffee": {
|
||||
"require": [
|
||||
"coffee"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "coffee-compile",
|
||||
"data": {
|
||||
"src": [
|
||||
"coffees/main.coffee"
|
||||
],
|
||||
"dest": "build/debug/coffee-main.js"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"cat": {
|
||||
"jobs": [
|
||||
{
|
||||
"name": "vfs-cat",
|
||||
"data": {
|
||||
"src": [
|
||||
"build/debug/coffee-main.js",
|
||||
"javascripts/svg-pan-zoom.js",
|
||||
"javascripts/viz.js",
|
||||
"javascripts/lite.render.js"
|
||||
],
|
||||
"dest": "build/debug/main.js"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "vfs-rm",
|
||||
"data": [
|
||||
"build/debug/coffee-main.js"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"uglify": {
|
||||
"require": [
|
||||
"terser"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "terser-uglify",
|
||||
"data": [
|
||||
"build/debug/main.js"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"copy": {
|
||||
"jobs": [
|
||||
{
|
||||
"name": "vfs-cp",
|
||||
"data": {
|
||||
"src": [
|
||||
"css/main.css",
|
||||
"assets/scheme.html",
|
||||
"package.json",
|
||||
"README.md"
|
||||
],
|
||||
"dest": "build/debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"release": {
|
||||
"require": [
|
||||
"zip"
|
||||
],
|
||||
"depend": [
|
||||
"init",
|
||||
"coffee",
|
||||
"cat",
|
||||
"uglify",
|
||||
"copy"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "zip-mk",
|
||||
"data": {
|
||||
"src": "build/debug",
|
||||
"dest": "build/release/VizApp.zip"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -3,5 +3,6 @@
|
||||
Generate graph from text using dot(viz) format
|
||||
|
||||
## Change logs
|
||||
* v0.1.0-a: Add package dependencies
|
||||
* v0.0.2-a: Fix path problem
|
||||
* v0.0.1-a: First version
|
@ -1,4 +1,3 @@
|
||||
|
||||
afx-app-window[data-id="graph_editor_win"] div[data-id="preview"]
|
||||
{
|
||||
display: flex;
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,8 +7,9 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.2-a",
|
||||
"version":"0.1.0-a",
|
||||
"category":"Graphics",
|
||||
"dependencies":["ACECore@1.4.12-r"],
|
||||
"iconclass": "bi bi-bounding-box",
|
||||
"mimes":["text/.*graphviz"]
|
||||
}
|
||||
|
Binary file not shown.
@ -28,7 +28,6 @@ class VizApp extends this.OS.application.BaseApplication
|
||||
@btctn = @find "btn-container"
|
||||
@previewSVG = undefined
|
||||
$(@preview).append @btctn
|
||||
ace.config.set("basePath", "scripts/ace")
|
||||
@editor = ace.edit @datarea
|
||||
@editor.setOptions {
|
||||
enableBasicAutocompletion: true,
|
||||
@ -249,6 +248,7 @@ digraph D {
|
||||
}
|
||||
"""
|
||||
VizApp.dependencies = [
|
||||
"os://scripts/ace/ace.js"
|
||||
"pkg://ACECore/core/ace.js",
|
||||
"pkg://ACECore/path.js"
|
||||
]
|
||||
this.OS.register "VizApp", VizApp
|
||||
|
@ -7,8 +7,9 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.2-a",
|
||||
"version":"0.1.0-a",
|
||||
"category":"Graphics",
|
||||
"dependencies":["ACECore@1.4.12-r"],
|
||||
"iconclass": "bi bi-bounding-box",
|
||||
"mimes":["text/.*graphviz"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user