forked from b.peck/BAT
exchange work
This commit is contained in:
@@ -4,7 +4,14 @@
|
||||
"restricted": false,
|
||||
"overridable": true,
|
||||
"files": [
|
||||
"view.json"
|
||||
"view.json",
|
||||
"thumbnail.png"
|
||||
],
|
||||
"attributes": {}
|
||||
}
|
||||
"attributes": {
|
||||
"lastModificationSignature": "a606602b42f664df14e62d1509a4368ffc33d03863d17bc20a0bc6ed5124b07b",
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2026-08-11T20:06:43Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,6 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"area": null,
|
||||
"top": null,
|
||||
"total": null
|
||||
},
|
||||
"params": {},
|
||||
"propConfig": {
|
||||
"params.area": {
|
||||
"paramDirection": "input",
|
||||
@@ -34,8 +30,7 @@
|
||||
"name": "lblArea"
|
||||
},
|
||||
"position": {
|
||||
"grow": 1,
|
||||
"shrink": 1
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.text": {
|
||||
@@ -45,7 +40,7 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value or ''",
|
||||
"code": "\treturn value or \u0027\u0027",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
@@ -79,7 +74,7 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttry:\n\t\treturn '%s activations' % PrimeControls.fmt.num(int(value or 0))\n\texcept:\n\t\treturn ''",
|
||||
"code": "\ttry:\n\t\treturn \u0027%s activations\u0027 % PrimeControls.fmt.num(int(value or 0))\n\texcept:\n\t\treturn \u0027\u0027",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
@@ -126,7 +121,7 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tout = []\n\tfor r in (value or []):\n\t\ttry:\n\t\t\tout.append({'rank': int(r['rank']), 'source': r['source'], 'label': r['label'], 'count': int(r['count']), 'pct': float(r['pct'])})\n\t\texcept:\n\t\t\tpass\n\treturn out",
|
||||
"code": "\tout \u003d []\n\tfor r in (value or []):\n\t\ttry:\n\t\t\tout.append({\u0027rank\u0027: int(r[\u0027rank\u0027]), \u0027source\u0027: r[\u0027source\u0027], \u0027label\u0027: r[\u0027label\u0027], \u0027count\u0027: int(r[\u0027count\u0027]), \u0027pct\u0027: float(r[\u0027pct\u0027])})\n\t\texcept:\n\t\t\tpass\n\treturn out",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
@@ -165,4 +160,4 @@
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user