-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdimension-selected.html
92 lines (88 loc) · 2.13 KB
/
dimension-selected.html
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
90
91
92
<!DOCTYPE html>
<html
xmlns="http://www.w3.org/1999/xhtml"
lang="ja"
xml:lang="ja"
dir="ltr"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml"
>
<head>
<title>dimension-selected</title>
</head>
<body>
<div>
<h2>dimension-selected</h2>
</div>
<script type="text/javascript">
const input = {
first_app_version: {
name: "first app version",
value: "first_app_version",
total: 4,
selected: ["10.081.006", "10.083.008", "10.083.102", "10.083.202"],
unselected: [],
children: [
{
label: "10.081.006",
value: "10.081.006",
},
{
label: "10.083.008",
value: "10.083.008",
},
{
label: "10.083.102",
value: "10.083.102",
},
{
label: "10.083.202",
value: "10.083.202",
},
],
},
last_app_version: {
name: "last app version",
value: "last_app_version",
total: 4,
selected: ["10.081.006", "10.083.008", "10.083.102", "10.083.202"],
unselected: [],
children: [
{
label: "10.081.006",
value: "10.081.006",
},
{
label: "10.083.008",
value: "10.083.008",
},
{
label: "10.083.102",
value: "10.083.102",
},
{
label: "10.083.202",
value: "10.083.202",
},
],
},
platform: {
name: "platform",
value: "platform",
total: 1,
selected: ["IOS"],
unselected: [],
children: [
{
label: "IOS",
value: "IOS",
},
],
},
};
const name = "first_app_version";
const selected = ["10.083.008", "10.083.102", "10.083.202"];
console.log("input: ", { input, output });
</script>
</body>
</html>