-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest5.json
89 lines (89 loc) · 1.96 KB
/
manifest5.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"_version": "1.17.0",
"sap.app": {
"id": "card.explorer.format.currency",
"type": "card",
"title": "Sample for Currency Formatters",
"subTitle": "Sample for Currency Formatters",
"applicationVersion": {
"version": "1.0.0"
},
"shortTitle": "A short title for this Card",
"info": "Additional information about this Card",
"description": "A long description for this Card",
"tags": {
"keywords": [
"Currency",
"Formatter",
"Card",
"Sample"
]
}
},
"sap.card": {
"type": "List",
"configuration": {
"parameters": {
"cardCurrency": {
"value": "EUR",
"type": "string",
"label": "Currency",
"description": "Determines the currency, in which monetary values will be shown."
}
}
},
"header": {
"title": "Order status",
"subTitle": "Orders exceeding {= format.currency(50.00, '{parameters>/cardCurrency/value}', {currencyCode:true}, 'de')} are highlighted as important",
"icon": {
"src": "sap-icon://desktop-mobile"
},
"status": {
"text": "4 of 5"
}
},
"content": {
"data": {
"json": [
{
"Name": "Keyboard and Mouse",
"image": "sap-icon://keyboard-and-mouse",
"Price": 155
},
{
"Name": "ITelO Vault",
"image": "sap-icon://shield",
"Price": 30
},
{
"Name": "Notebook Professional 15",
"image": "sap-icon://laptop",
"Price": 30
},
{
"Name": "Ergo Screen E-I",
"image": "sap-icon://desktop-mobile",
"Price": 69
},
{
"Name": "Laser Professional Eco",
"image": "sap-icon://keyboard-and-mouse",
"Price": 40
}
]
},
"maxItems": 4,
"item": {
"title": "{Name}",
"description": "Total price:",
"highlight": "{= ${Price} < 50 ? 'Success' : 'Error'}",
"icon": {
"src": "{image}"
},
"info": {
"value": "{= format.currency(${Price}, ${parameters>/cardCurrency/value}, {currencyCode:false})}"
}
}
}
}
}