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",
"licences": "GPLv3"
},
"version":"0.0.6-a",
"version":"0.0.7-a",
"category":"Other",
"mimes":["none"],
"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: "File dialog", id: "file" },
{ 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) =>
@ -228,6 +229,18 @@ class ShowCase extends this.OS.application.BaseApplication
})
.then (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

View File

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

View File

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