This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsampledata.js
115 lines (113 loc) · 3.23 KB
/
sampledata.js
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*
* Copyright 2017 Uncharted Software Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
function getSampleGroups() {
return [
{
label : 'Linked Personas',
key : 'persona',
facets : [
{
icon : {
class : 'fa fa-users'
},
count : 51,
links : 1,
value : '555 123 4567'
},
{
count : 5,
links : 2,
value : '555 111 2222'
}
]
},
{
label : 'Phone Numbers',
key : 'phone',
facets : [
{
icon : {class:'fa fa-phone',color:'orange'},
count : 60,
value : '555 777 5555'
},
{
icon : {class:'fa fa-phone',color:'orange'},
count : 10,
value : '1 555 222 3333',
links : 1
}
]
},
{
label : 'Names',
key : 'name',
facets : [
{
icon : {class:'fa fa-male',color:'red'},
count : 32,
value : 'Mary'
},
{
icon : {class:'fa fa-male',color:'lightblue'},
count : 11,
value : 'Debbie'
},
{
icon : {class:'fa fa-male',color:'goldenrod'},
count : 6,
value : 'Maya'
},
{
icon : {class:'fa fa-male',color:'magenta'},
count : 5,
value : 'Stephanie'
}
]
},
{
label : 'Places',
key : 'place',
facets : [
{
icon : {class:'fa fa-globe',color:'lightgreen'},
count : 33,
value : '34.0500N, 118.2500W',
label : 'Los Angeles, CA'
},
{
icon : {class:'fa fa-globe',color:'lightgreen'},
count : 12,
value : '37.8044N, 122.2708W',
label : 'Oakland, CA'
}
]
}
];
}
function getSampleQueries() {
return [
{
key : '*',
value : 'Toronto',
count : 16
},
{
key : 'persona',
value : '555 409 2938',
count : 30
}
];
}