mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-24 20:41:28 +02:00
104 lines
1.6 KiB
JavaScript
104 lines
1.6 KiB
JavaScript
Mikado.register({
|
|
"t": "tr",
|
|
"i": [
|
|
{
|
|
"t": "td",
|
|
"x": [
|
|
"data.name"
|
|
]
|
|
},
|
|
{
|
|
"t": "td",
|
|
"a": {
|
|
"hidden": true
|
|
},
|
|
"s": [
|
|
"'background-color:' + data.color_size"
|
|
],
|
|
"x": [
|
|
"data.size"
|
|
]
|
|
},
|
|
{
|
|
"t": "td",
|
|
"s": [
|
|
"'background-color:' + data.color_memory"
|
|
],
|
|
"x": [
|
|
"data.memory"
|
|
]
|
|
},
|
|
{
|
|
"t": "td",
|
|
"s": [
|
|
"'background-color:' + data['color_query-single']"
|
|
],
|
|
"x": [
|
|
"data['query-single']"
|
|
]
|
|
},
|
|
{
|
|
"t": "td",
|
|
"s": [
|
|
"'background-color:' + data['color_query-multi']"
|
|
],
|
|
"x": [
|
|
"data['query-multi']"
|
|
]
|
|
},
|
|
{
|
|
"t": "td",
|
|
"s": [
|
|
"'background-color:' + data['color_query-long']"
|
|
],
|
|
"x": [
|
|
"data['query-long']"
|
|
]
|
|
},
|
|
/*{
|
|
"t": "td",
|
|
"s": [
|
|
"'background-color:' + data['color_query-dupes']"
|
|
],
|
|
"x": [
|
|
"data['query-dupes']"
|
|
]
|
|
},*/
|
|
{
|
|
"t": "td",
|
|
"s": [
|
|
"'background-color:' + data['color_not-found']"
|
|
],
|
|
"x": [
|
|
"data['not-found']"
|
|
]
|
|
},
|
|
{
|
|
"t": "td",
|
|
"i": {
|
|
"t": "b",
|
|
"x": [
|
|
"data.score"
|
|
]
|
|
},
|
|
"s": [
|
|
"'background-color:' + data.color_score"
|
|
]
|
|
},
|
|
{
|
|
"t": "td",
|
|
"i": {
|
|
"t": "b",
|
|
"x": [
|
|
"data.index"
|
|
]
|
|
},
|
|
"s": [
|
|
"'background-color:' + data.color_index"
|
|
]
|
|
}
|
|
],
|
|
"d": false,
|
|
"n": "row",
|
|
"v": "0.7.44"
|
|
}); |