Update major applications to support AntOS v2.0.x

This commit is contained in:
DanyLE
2023-01-01 01:54:04 +01:00
parent 695044704b
commit 7171a7eb3b
212 changed files with 2135 additions and 3806 deletions

View File

@ -1,9 +1,7 @@
<afx-app-window apptitle="Archive" width="250" height="300" data-id="Archive">
<afx-app-window apptitle="Archive" width="500" height="400" data-id="Archive">
<afx-vbox>
<afx-tree-view data-id="filetree"></afx-tree-view>
<div data-height="5"></div>
<afx-hbox data-height="30">
<div data-width="10"></div>
<afx-hbox data-height="55" padding="10">
<div style="text-align: left;">
<afx-button iconclass="fa fa-plus-circle" data-id="btaradd"></afx-button>
<afx-button iconclass="fa fa-minus-circle" data-id="btardel"></afx-button>
@ -11,7 +9,6 @@
<div style="text-align: right;">
<afx-button text="__(Extract)" data-id="btarxtract"></afx-button>
</div>
<div data-width="10"></div>
</afx-hbox>
</afx-vbox>
</afx-app-window>

82
Archive/build.json Normal file
View File

@ -0,0 +1,82 @@
{
"name": "Archive",
"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/main.js"
}
}
]
},
"uglify": {
"require": [
"terser"
],
"jobs": [
{
"name": "terser-uglify",
"data": [
"build/debug/main.js"
]
}
]
},
"copy": {
"jobs": [
{
"name": "vfs-cp",
"data": {
"src": [
"assets/scheme.html",
"package.json",
"README.md",
"css/main.css"
],
"dest": "build/debug"
}
}
]
},
"release": {
"require": [
"zip"
],
"depend": [
"init",
"coffee",
"uglify",
"copy"
],
"jobs": [
{
"name": "zip-mk",
"data": {
"src": "build/debug",
"dest": "build/release/Archive.zip"
}
}
]
}
}
}

View File

@ -1,4 +1,3 @@
afx-app-window[data-id="Archive"] afx-tree-view .afx-tree-view-folder-close:before{
content: "\f07b";
font-family: "FontAwesome";

View File

@ -1,9 +1,7 @@
<afx-app-window apptitle="Archive" width="250" height="300" data-id="Archive">
<afx-app-window apptitle="Archive" width="500" height="400" data-id="Archive">
<afx-vbox>
<afx-tree-view data-id="filetree"></afx-tree-view>
<div data-height="5"></div>
<afx-hbox data-height="30">
<div data-width="10"></div>
<afx-hbox data-height="55" padding="10">
<div style="text-align: left;">
<afx-button iconclass="fa fa-plus-circle" data-id="btaradd"></afx-button>
<afx-button iconclass="fa fa-minus-circle" data-id="btardel"></afx-button>
@ -11,7 +9,6 @@
<div style="text-align: right;">
<afx-button text="__(Extract)" data-id="btarxtract"></afx-button>
</div>
<div data-width="10"></div>
</afx-hbox>
</afx-vbox>
</afx-app-window>

Binary file not shown.