update showcase

This commit is contained in:
lxsang 2021-03-30 20:06:32 +02:00
parent 3ff8f1a6eb
commit c3df98de9e
6 changed files with 18 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com", "email": "xsang.le@gmail.com",
"licences": "GPLv3" "licences": "GPLv3"
}, },
"version":"0.0.6-a", "version":"0.0.7-a",
"category":"Other", "category":"Other",
"mimes":["none"], "mimes":["none"],
"iconclass": "fa fa-delicious", "iconclass": "fa fa-delicious",

Binary file not shown.

View File

@ -140,7 +140,8 @@ class ShowCase extends this.OS.application.BaseApplication
{ text: "About dialog", id: "about" }, { text: "About dialog", id: "about" },
{ text: "File dialog", id: "file" }, { text: "File dialog", id: "file" },
{ text: "Text dialog", id: "text" }, { text: "Text dialog", id: "text" },
{ text: "Multi-input dialog", id: "minputs" } { text: "Multi-input dialog", id: "minputs" },
{ text: "Multi key value dialog", id: "mkv" }
] ]
btrun.onbtclick = (e) => btrun.onbtclick = (e) =>
@ -228,6 +229,18 @@ class ShowCase extends this.OS.application.BaseApplication
}) })
.then (d) => .then (d) =>
@notify JSON.stringify(d) @notify JSON.stringify(d)
when "mkv"
@openDialog("KeyValueDialog", {
title: "Multi key-values",
data: {
name: "John Doe",
email: "jd@mail.com",
where: "Anywhere on Earth"
}
})
.then (d) =>
@notify JSON.stringify(d)
else return else return

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com", "email": "xsang.le@gmail.com",
"licences": "GPLv3" "licences": "GPLv3"
}, },
"version":"0.0.6-a", "version":"0.0.7-a",
"category":"Other", "category":"Other",
"mimes":["none"], "mimes":["none"],
"iconclass": "fa fa-delicious", "iconclass": "fa fa-delicious",

View File

@ -245,7 +245,7 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/ShowCase/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/ShowCase/README.md",
"category": "Other", "category": "Other",
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"version": "0.0.6-a", "version": "0.0.7-a",
"dependencies": [], "dependencies": [],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/ShowCase/build/release/ShowCase.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/ShowCase/build/release/ShowCase.zip"
}, },