@truedat/qx 5.14.1 → 5.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/api.js +3 -2
- package/src/components/QxRoutes.js +4 -4
- package/src/components/common/ResourceSelector.js +80 -0
- package/src/components/common/TestFormWrapper.js +9 -6
- package/src/components/common/TypeSelector.js +3 -1
- package/src/components/common/__tests__/DescriptionInput.spec.js +48 -0
- package/src/components/common/__tests__/ResourceSelector.spec.js +124 -0
- package/src/components/common/__tests__/TypeSelector.spec.js +29 -0
- package/src/components/common/__tests__/__snapshots__/DescriptionInput.spec.js.snap +19 -0
- package/src/components/common/__tests__/__snapshots__/ResourceSelector.spec.js.snap +484 -0
- package/src/components/common/__tests__/__snapshots__/TypeSelector.spec.js.snap +230 -0
- package/src/components/common/expressions/Clauses.js +100 -0
- package/src/components/common/expressions/Condition.js +178 -0
- package/src/components/common/expressions/Expression.js +54 -0
- package/src/components/common/expressions/FieldSelector.js +66 -0
- package/src/components/{functions → common}/expressions/FunctionArgs.js +1 -0
- package/src/components/{functions → common}/expressions/FunctionSelector.js +24 -4
- package/src/components/{functions → common}/expressions/ParamSelector.js +3 -3
- package/src/components/{functions → common}/expressions/ShapeSelector.js +22 -6
- package/src/components/common/expressions/__tests__/Clauses.spec.js +53 -0
- package/src/components/common/expressions/__tests__/Condition.spec.js +33 -0
- package/src/components/{functions → common}/expressions/__tests__/ConstantSelector.spec.js +6 -1
- package/src/components/{functions → common}/expressions/__tests__/Expression.spec.js +7 -5
- package/src/components/common/expressions/__tests__/FieldSelector.spec.js +24 -0
- package/src/components/{functions → common}/expressions/__tests__/FunctionArgs.spec.js +20 -6
- package/src/components/{functions → common}/expressions/__tests__/FunctionSelector.spec.js +1 -1
- package/src/components/{functions → common}/expressions/__tests__/ParamSelector.spec.js +22 -10
- package/src/components/{functions → common}/expressions/__tests__/ShapeSelector.spec.js +3 -3
- package/src/components/common/expressions/__tests__/__snapshots__/Clauses.spec.js.snap +64 -0
- package/src/components/common/expressions/__tests__/__snapshots__/Condition.spec.js.snap +316 -0
- package/src/components/{functions → common}/expressions/__tests__/__snapshots__/ConstantSelector.spec.js.snap +1 -1
- package/src/components/common/expressions/__tests__/__snapshots__/Expression.spec.js.snap +939 -0
- package/src/components/common/expressions/__tests__/__snapshots__/FieldSelector.spec.js.snap +5 -0
- package/src/components/common/expressions/__tests__/__snapshots__/FunctionArgs.spec.js.snap +344 -0
- package/src/components/{functions → common}/expressions/__tests__/__snapshots__/ParamSelector.spec.js.snap +4 -4
- package/src/components/{functions → common}/expressions/__tests__/__snapshots__/ShapeSelector.spec.js.snap +17 -24
- package/src/components/common/expressions/constantInputs/AnySelector.js +44 -0
- package/src/components/{functions → common}/expressions/constantInputs/__tests__/AnySelector.spec.js +21 -14
- package/src/components/{functions → common}/expressions/constantInputs/__tests__/DefaultSelector.spec.js +5 -2
- package/src/components/{functions → common}/expressions/constantInputs/__tests__/__snapshots__/AnySelector.spec.js.snap +2 -2
- package/src/components/common/expressions/index.js +4 -0
- package/src/components/common/resourceSelectors/DataStructureSelector.js +63 -0
- package/src/components/common/resourceSelectors/DataViewSelector.js +65 -0
- package/src/components/common/resourceSelectors/ReferenceDatasetSelector.js +61 -0
- package/src/components/common/resourceSelectors/__tests__/DataStructureSelector.spec.js +31 -0
- package/src/components/common/resourceSelectors/__tests__/DataViewSelector.spec.js +133 -0
- package/src/components/common/resourceSelectors/__tests__/ReferenceDatasetSelector.spec.js +97 -0
- package/src/components/common/resourceSelectors/__tests__/__snapshots__/DataStructureSelector.spec.js.snap +105 -0
- package/src/components/common/resourceSelectors/__tests__/__snapshots__/DataViewSelector.spec.js.snap +50 -0
- package/src/components/common/resourceSelectors/__tests__/__snapshots__/ReferenceDatasetSelector.spec.js.snap +50 -0
- package/src/components/common/resourceSelectors/index.js +5 -0
- package/src/components/dataViews/DataViewEditor.js +170 -0
- package/src/components/dataViews/DataViewSelect.js +47 -0
- package/src/components/dataViews/DataViews.js +169 -0
- package/src/components/dataViews/Queryable.js +138 -0
- package/src/components/dataViews/Queryables.js +53 -0
- package/src/components/dataViews/__tests__/DataViewEditor.spec.js +293 -0
- package/src/components/dataViews/__tests__/DataViewSelect.spec.js +28 -0
- package/src/components/dataViews/__tests__/DataViews.spec.js +57 -0
- package/src/components/dataViews/__tests__/Queryable.spec.js +201 -0
- package/src/components/dataViews/__tests__/Queryables.spec.js +183 -0
- package/src/components/dataViews/__tests__/__snapshots__/DataViewEditor.spec.js.snap +1000 -0
- package/src/components/dataViews/__tests__/__snapshots__/DataViewSelect.spec.js.snap +55 -0
- package/src/components/dataViews/__tests__/__snapshots__/DataViews.spec.js.snap +77 -0
- package/src/components/dataViews/__tests__/__snapshots__/Queryable.spec.js.snap +874 -0
- package/src/components/dataViews/__tests__/__snapshots__/Queryables.spec.js.snap +911 -0
- package/src/components/dataViews/__tests__/queryableFunctions.spec.js +193 -0
- package/src/components/dataViews/queryableFunctions.js +80 -0
- package/src/components/dataViews/queryableProperties/From.js +15 -0
- package/src/components/dataViews/queryableProperties/GroupBy.js +124 -0
- package/src/components/dataViews/queryableProperties/Join.js +62 -0
- package/src/components/dataViews/queryableProperties/JoinTypeIcon.js +49 -0
- package/src/components/dataViews/queryableProperties/Select.js +76 -0
- package/src/components/dataViews/queryableProperties/SelectField.js +116 -0
- package/src/components/dataViews/queryableProperties/Where.js +15 -0
- package/src/components/dataViews/queryableProperties/__tests__/From.spec.js +30 -0
- package/src/components/dataViews/queryableProperties/__tests__/GroupBy.spec.js +75 -0
- package/src/components/dataViews/queryableProperties/__tests__/Join.spec.js +38 -0
- package/src/components/dataViews/queryableProperties/__tests__/JoinTypeIcon.spec.js +36 -0
- package/src/components/dataViews/queryableProperties/__tests__/Select.spec.js +144 -0
- package/src/components/dataViews/queryableProperties/__tests__/SelectField.spec.js +107 -0
- package/src/components/dataViews/queryableProperties/__tests__/Where.spec.js +27 -0
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/From.spec.js.snap +75 -0
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/GroupBy.spec.js.snap +276 -0
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/Join.spec.js.snap +252 -0
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/JoinTypeIcon.spec.js.snap +77 -0
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/Select.spec.js.snap +411 -0
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/SelectField.spec.js.snap +343 -0
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/Where.spec.js.snap +22 -0
- package/src/components/dataViews/queryableProperties/index.js +7 -0
- package/src/components/functions/FunctionEditor.js +30 -29
- package/src/components/functions/Functions.js +3 -11
- package/src/components/functions/__tests__/FunctionEditor.spec.js +6 -0
- package/src/components/functions/__tests__/FunctionParams.spec.js +6 -0
- package/src/components/functions/__tests__/__snapshots__/FunctionEditor.spec.js.snap +490 -466
- package/src/components/functions/__tests__/__snapshots__/FunctionParams.spec.js.snap +1 -1
- package/src/hooks/__tests__/{useDataSets.spec.js → useDataViews.spec.js} +5 -5
- package/src/hooks/useDataViews.js +33 -0
- package/src/styles/Expression.less +150 -0
- package/src/types.js +11 -3
- package/src/components/DataSets.js +0 -64
- package/src/components/__tests__/DataSets.spec.js +0 -46
- package/src/components/__tests__/__snapshots__/DataSets.spec.js.snap +0 -82
- package/src/components/functions/expressions/Expression.js +0 -40
- package/src/components/functions/expressions/FieldSelector.js +0 -56
- package/src/components/functions/expressions/__tests__/__snapshots__/Expression.spec.js.snap +0 -904
- package/src/components/functions/expressions/__tests__/__snapshots__/FunctionArgs.spec.js.snap +0 -392
- package/src/components/functions/expressions/constantInputs/AnySelector.js +0 -29
- package/src/hooks/useDataSets.js +0 -8
- /package/src/components/{functions → common}/expressions/ConstantSelector.js +0 -0
- /package/src/components/{functions → common}/expressions/__tests__/__snapshots__/FunctionSelector.spec.js.snap +0 -0
- /package/src/components/{functions → common/expressions}/__tests__/useWatchParams.spec.js +0 -0
- /package/src/components/{functions → common}/expressions/constantInputs/BooleanSelector.js +0 -0
- /package/src/components/{functions → common}/expressions/constantInputs/DefaultSelector.js +0 -0
- /package/src/components/{functions → common}/expressions/constantInputs/__tests__/BooleanSelector.spec.js +0 -0
- /package/src/components/{functions → common}/expressions/constantInputs/__tests__/__snapshots__/BooleanSelector.spec.js.snap +0 -0
- /package/src/components/{functions → common}/expressions/constantInputs/__tests__/__snapshots__/DefaultSelector.spec.js.snap +0 -0
- /package/src/components/{functions → common}/expressions/constantInputs/index.js +0 -0
- /package/src/components/{functions → common/expressions}/useWatchParams.js +0 -0
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<ResourceSelector /> matches the latest snapshot 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="field"
|
|
7
|
+
>
|
|
8
|
+
<label>
|
|
9
|
+
resource
|
|
10
|
+
</label>
|
|
11
|
+
<div
|
|
12
|
+
aria-expanded="false"
|
|
13
|
+
class="ui selection dropdown"
|
|
14
|
+
role="listbox"
|
|
15
|
+
tabindex="0"
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
aria-atomic="true"
|
|
19
|
+
aria-live="polite"
|
|
20
|
+
class="divider default text"
|
|
21
|
+
role="alert"
|
|
22
|
+
>
|
|
23
|
+
type
|
|
24
|
+
</div>
|
|
25
|
+
<i
|
|
26
|
+
aria-hidden="true"
|
|
27
|
+
class="dropdown icon"
|
|
28
|
+
/>
|
|
29
|
+
<div
|
|
30
|
+
class="menu transition"
|
|
31
|
+
>
|
|
32
|
+
<div
|
|
33
|
+
aria-checked="false"
|
|
34
|
+
aria-selected="true"
|
|
35
|
+
class="selected item"
|
|
36
|
+
role="option"
|
|
37
|
+
style="pointer-events: all;"
|
|
38
|
+
>
|
|
39
|
+
<span
|
|
40
|
+
class="text"
|
|
41
|
+
>
|
|
42
|
+
data_structure
|
|
43
|
+
</span>
|
|
44
|
+
</div>
|
|
45
|
+
<div
|
|
46
|
+
aria-checked="false"
|
|
47
|
+
aria-selected="false"
|
|
48
|
+
class="item"
|
|
49
|
+
role="option"
|
|
50
|
+
style="pointer-events: all;"
|
|
51
|
+
>
|
|
52
|
+
<span
|
|
53
|
+
class="text"
|
|
54
|
+
>
|
|
55
|
+
reference_dataset
|
|
56
|
+
</span>
|
|
57
|
+
</div>
|
|
58
|
+
<div
|
|
59
|
+
aria-checked="false"
|
|
60
|
+
aria-selected="false"
|
|
61
|
+
class="item"
|
|
62
|
+
role="option"
|
|
63
|
+
style="pointer-events: all;"
|
|
64
|
+
>
|
|
65
|
+
<span
|
|
66
|
+
class="text"
|
|
67
|
+
>
|
|
68
|
+
data_view
|
|
69
|
+
</span>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
`;
|
|
76
|
+
|
|
77
|
+
exports[`<ResourceSelector /> select data_structure 1`] = `
|
|
78
|
+
<div>
|
|
79
|
+
<div
|
|
80
|
+
class="field"
|
|
81
|
+
>
|
|
82
|
+
<label>
|
|
83
|
+
resource
|
|
84
|
+
</label>
|
|
85
|
+
<div
|
|
86
|
+
aria-expanded="true"
|
|
87
|
+
class="ui active visible selection dropdown"
|
|
88
|
+
role="listbox"
|
|
89
|
+
tabindex="0"
|
|
90
|
+
>
|
|
91
|
+
<div
|
|
92
|
+
aria-atomic="true"
|
|
93
|
+
aria-live="polite"
|
|
94
|
+
class="divider text"
|
|
95
|
+
role="alert"
|
|
96
|
+
>
|
|
97
|
+
data_structure
|
|
98
|
+
</div>
|
|
99
|
+
<i
|
|
100
|
+
aria-hidden="true"
|
|
101
|
+
class="dropdown icon"
|
|
102
|
+
/>
|
|
103
|
+
<div
|
|
104
|
+
class="visible menu transition"
|
|
105
|
+
>
|
|
106
|
+
<div
|
|
107
|
+
aria-checked="true"
|
|
108
|
+
aria-selected="true"
|
|
109
|
+
class="active selected item"
|
|
110
|
+
role="option"
|
|
111
|
+
style="pointer-events: all;"
|
|
112
|
+
>
|
|
113
|
+
<span
|
|
114
|
+
class="text"
|
|
115
|
+
>
|
|
116
|
+
data_structure
|
|
117
|
+
</span>
|
|
118
|
+
</div>
|
|
119
|
+
<div
|
|
120
|
+
aria-checked="false"
|
|
121
|
+
aria-selected="false"
|
|
122
|
+
class="item"
|
|
123
|
+
role="option"
|
|
124
|
+
style="pointer-events: all;"
|
|
125
|
+
>
|
|
126
|
+
<span
|
|
127
|
+
class="text"
|
|
128
|
+
>
|
|
129
|
+
reference_dataset
|
|
130
|
+
</span>
|
|
131
|
+
</div>
|
|
132
|
+
<div
|
|
133
|
+
aria-checked="false"
|
|
134
|
+
aria-selected="false"
|
|
135
|
+
class="item"
|
|
136
|
+
role="option"
|
|
137
|
+
style="pointer-events: all;"
|
|
138
|
+
>
|
|
139
|
+
<span
|
|
140
|
+
class="text"
|
|
141
|
+
>
|
|
142
|
+
data_view
|
|
143
|
+
</span>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
<div>
|
|
149
|
+
<i
|
|
150
|
+
aria-hidden="true"
|
|
151
|
+
class="dropdown icon"
|
|
152
|
+
/>
|
|
153
|
+
|
|
154
|
+
</div>
|
|
155
|
+
<div
|
|
156
|
+
class="ui segment"
|
|
157
|
+
>
|
|
158
|
+
<div
|
|
159
|
+
class="ui action left icon input"
|
|
160
|
+
>
|
|
161
|
+
<i
|
|
162
|
+
aria-hidden="true"
|
|
163
|
+
class="search link icon"
|
|
164
|
+
/>
|
|
165
|
+
<input
|
|
166
|
+
placeholder="placeholder"
|
|
167
|
+
type="text"
|
|
168
|
+
value=""
|
|
169
|
+
/>
|
|
170
|
+
<button
|
|
171
|
+
class="ui icon button"
|
|
172
|
+
>
|
|
173
|
+
<i
|
|
174
|
+
aria-hidden="true"
|
|
175
|
+
class="calendar alternate outline icon"
|
|
176
|
+
/>
|
|
177
|
+
</button>
|
|
178
|
+
<div
|
|
179
|
+
aria-expanded="false"
|
|
180
|
+
class="ui button floating labeled scrolling dropdown icon"
|
|
181
|
+
role="listbox"
|
|
182
|
+
tabindex="0"
|
|
183
|
+
>
|
|
184
|
+
<div
|
|
185
|
+
aria-atomic="true"
|
|
186
|
+
aria-live="polite"
|
|
187
|
+
class="divider text"
|
|
188
|
+
role="alert"
|
|
189
|
+
>
|
|
190
|
+
Filters
|
|
191
|
+
</div>
|
|
192
|
+
<i
|
|
193
|
+
aria-hidden="true"
|
|
194
|
+
class="filter icon"
|
|
195
|
+
/>
|
|
196
|
+
<div
|
|
197
|
+
class="menu transition"
|
|
198
|
+
>
|
|
199
|
+
<div
|
|
200
|
+
class="item"
|
|
201
|
+
role="option"
|
|
202
|
+
>
|
|
203
|
+
<em>
|
|
204
|
+
(reset filters)
|
|
205
|
+
</em>
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
<div
|
|
211
|
+
class="selectedFilters"
|
|
212
|
+
/>
|
|
213
|
+
<div
|
|
214
|
+
class="dimmable structure-table-overflow"
|
|
215
|
+
>
|
|
216
|
+
<div
|
|
217
|
+
class="ui inverted dimmer"
|
|
218
|
+
>
|
|
219
|
+
<div
|
|
220
|
+
class="content"
|
|
221
|
+
>
|
|
222
|
+
<div
|
|
223
|
+
class="ui large loader"
|
|
224
|
+
/>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div
|
|
228
|
+
class="ui icon info message"
|
|
229
|
+
>
|
|
230
|
+
<i
|
|
231
|
+
aria-hidden="true"
|
|
232
|
+
class="search icon"
|
|
233
|
+
/>
|
|
234
|
+
<div
|
|
235
|
+
class="content"
|
|
236
|
+
>
|
|
237
|
+
<div
|
|
238
|
+
class="header"
|
|
239
|
+
>
|
|
240
|
+
header
|
|
241
|
+
</div>
|
|
242
|
+
body
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
`;
|
|
249
|
+
|
|
250
|
+
exports[`<ResourceSelector /> select data_view 1`] = `
|
|
251
|
+
<div>
|
|
252
|
+
<div
|
|
253
|
+
class="field"
|
|
254
|
+
>
|
|
255
|
+
<label>
|
|
256
|
+
resource
|
|
257
|
+
</label>
|
|
258
|
+
<div
|
|
259
|
+
aria-expanded="false"
|
|
260
|
+
class="ui selection dropdown"
|
|
261
|
+
role="listbox"
|
|
262
|
+
tabindex="0"
|
|
263
|
+
>
|
|
264
|
+
<div
|
|
265
|
+
aria-atomic="true"
|
|
266
|
+
aria-live="polite"
|
|
267
|
+
class="divider text"
|
|
268
|
+
role="alert"
|
|
269
|
+
>
|
|
270
|
+
data_view
|
|
271
|
+
</div>
|
|
272
|
+
<i
|
|
273
|
+
aria-hidden="true"
|
|
274
|
+
class="dropdown icon"
|
|
275
|
+
/>
|
|
276
|
+
<div
|
|
277
|
+
class="menu transition"
|
|
278
|
+
>
|
|
279
|
+
<div
|
|
280
|
+
aria-checked="false"
|
|
281
|
+
aria-selected="false"
|
|
282
|
+
class="item"
|
|
283
|
+
role="option"
|
|
284
|
+
style="pointer-events: all;"
|
|
285
|
+
>
|
|
286
|
+
<span
|
|
287
|
+
class="text"
|
|
288
|
+
>
|
|
289
|
+
data_structure
|
|
290
|
+
</span>
|
|
291
|
+
</div>
|
|
292
|
+
<div
|
|
293
|
+
aria-checked="false"
|
|
294
|
+
aria-selected="false"
|
|
295
|
+
class="item"
|
|
296
|
+
role="option"
|
|
297
|
+
style="pointer-events: all;"
|
|
298
|
+
>
|
|
299
|
+
<span
|
|
300
|
+
class="text"
|
|
301
|
+
>
|
|
302
|
+
reference_dataset
|
|
303
|
+
</span>
|
|
304
|
+
</div>
|
|
305
|
+
<div
|
|
306
|
+
aria-checked="true"
|
|
307
|
+
aria-selected="true"
|
|
308
|
+
class="active selected item"
|
|
309
|
+
role="option"
|
|
310
|
+
style="pointer-events: all;"
|
|
311
|
+
>
|
|
312
|
+
<span
|
|
313
|
+
class="text"
|
|
314
|
+
>
|
|
315
|
+
data_view
|
|
316
|
+
</span>
|
|
317
|
+
</div>
|
|
318
|
+
</div>
|
|
319
|
+
</div>
|
|
320
|
+
</div>
|
|
321
|
+
<div
|
|
322
|
+
aria-expanded="true"
|
|
323
|
+
class="ui active visible fluid search selection dropdown"
|
|
324
|
+
role="combobox"
|
|
325
|
+
>
|
|
326
|
+
<input
|
|
327
|
+
aria-autocomplete="list"
|
|
328
|
+
autocomplete="off"
|
|
329
|
+
class="search"
|
|
330
|
+
tabindex="0"
|
|
331
|
+
type="text"
|
|
332
|
+
value=""
|
|
333
|
+
/>
|
|
334
|
+
<div
|
|
335
|
+
aria-atomic="true"
|
|
336
|
+
aria-live="polite"
|
|
337
|
+
class="divider text"
|
|
338
|
+
role="alert"
|
|
339
|
+
>
|
|
340
|
+
UserDataView
|
|
341
|
+
</div>
|
|
342
|
+
<i
|
|
343
|
+
aria-hidden="true"
|
|
344
|
+
class="dropdown icon"
|
|
345
|
+
/>
|
|
346
|
+
<div
|
|
347
|
+
class="visible menu transition"
|
|
348
|
+
role="listbox"
|
|
349
|
+
>
|
|
350
|
+
<div
|
|
351
|
+
aria-checked="true"
|
|
352
|
+
aria-selected="true"
|
|
353
|
+
class="active selected item"
|
|
354
|
+
role="option"
|
|
355
|
+
style="pointer-events: all;"
|
|
356
|
+
>
|
|
357
|
+
<span
|
|
358
|
+
class="text"
|
|
359
|
+
>
|
|
360
|
+
UserDataView
|
|
361
|
+
</span>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
</div>
|
|
365
|
+
</div>
|
|
366
|
+
`;
|
|
367
|
+
|
|
368
|
+
exports[`<ResourceSelector /> select reference_dataset 1`] = `
|
|
369
|
+
<div>
|
|
370
|
+
<div
|
|
371
|
+
class="field"
|
|
372
|
+
>
|
|
373
|
+
<label>
|
|
374
|
+
resource
|
|
375
|
+
</label>
|
|
376
|
+
<div
|
|
377
|
+
aria-expanded="false"
|
|
378
|
+
class="ui selection dropdown"
|
|
379
|
+
role="listbox"
|
|
380
|
+
tabindex="0"
|
|
381
|
+
>
|
|
382
|
+
<div
|
|
383
|
+
aria-atomic="true"
|
|
384
|
+
aria-live="polite"
|
|
385
|
+
class="divider text"
|
|
386
|
+
role="alert"
|
|
387
|
+
>
|
|
388
|
+
reference_dataset
|
|
389
|
+
</div>
|
|
390
|
+
<i
|
|
391
|
+
aria-hidden="true"
|
|
392
|
+
class="dropdown icon"
|
|
393
|
+
/>
|
|
394
|
+
<div
|
|
395
|
+
class="menu transition"
|
|
396
|
+
>
|
|
397
|
+
<div
|
|
398
|
+
aria-checked="false"
|
|
399
|
+
aria-selected="false"
|
|
400
|
+
class="item"
|
|
401
|
+
role="option"
|
|
402
|
+
style="pointer-events: all;"
|
|
403
|
+
>
|
|
404
|
+
<span
|
|
405
|
+
class="text"
|
|
406
|
+
>
|
|
407
|
+
data_structure
|
|
408
|
+
</span>
|
|
409
|
+
</div>
|
|
410
|
+
<div
|
|
411
|
+
aria-checked="true"
|
|
412
|
+
aria-selected="true"
|
|
413
|
+
class="active selected item"
|
|
414
|
+
role="option"
|
|
415
|
+
style="pointer-events: all;"
|
|
416
|
+
>
|
|
417
|
+
<span
|
|
418
|
+
class="text"
|
|
419
|
+
>
|
|
420
|
+
reference_dataset
|
|
421
|
+
</span>
|
|
422
|
+
</div>
|
|
423
|
+
<div
|
|
424
|
+
aria-checked="false"
|
|
425
|
+
aria-selected="false"
|
|
426
|
+
class="item"
|
|
427
|
+
role="option"
|
|
428
|
+
style="pointer-events: all;"
|
|
429
|
+
>
|
|
430
|
+
<span
|
|
431
|
+
class="text"
|
|
432
|
+
>
|
|
433
|
+
data_view
|
|
434
|
+
</span>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
</div>
|
|
439
|
+
<div
|
|
440
|
+
aria-expanded="true"
|
|
441
|
+
class="ui active visible fluid search selection dropdown"
|
|
442
|
+
role="combobox"
|
|
443
|
+
>
|
|
444
|
+
<input
|
|
445
|
+
aria-autocomplete="list"
|
|
446
|
+
autocomplete="off"
|
|
447
|
+
class="search"
|
|
448
|
+
tabindex="0"
|
|
449
|
+
type="text"
|
|
450
|
+
value=""
|
|
451
|
+
/>
|
|
452
|
+
<div
|
|
453
|
+
aria-atomic="true"
|
|
454
|
+
aria-live="polite"
|
|
455
|
+
class="divider text"
|
|
456
|
+
role="alert"
|
|
457
|
+
>
|
|
458
|
+
UserReferenceDataset
|
|
459
|
+
</div>
|
|
460
|
+
<i
|
|
461
|
+
aria-hidden="true"
|
|
462
|
+
class="dropdown icon"
|
|
463
|
+
/>
|
|
464
|
+
<div
|
|
465
|
+
class="visible menu transition"
|
|
466
|
+
role="listbox"
|
|
467
|
+
>
|
|
468
|
+
<div
|
|
469
|
+
aria-checked="true"
|
|
470
|
+
aria-selected="true"
|
|
471
|
+
class="active selected item"
|
|
472
|
+
role="option"
|
|
473
|
+
style="pointer-events: all;"
|
|
474
|
+
>
|
|
475
|
+
<span
|
|
476
|
+
class="text"
|
|
477
|
+
>
|
|
478
|
+
UserReferenceDataset
|
|
479
|
+
</span>
|
|
480
|
+
</div>
|
|
481
|
+
</div>
|
|
482
|
+
</div>
|
|
483
|
+
</div>
|
|
484
|
+
`;
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<TypeSelector /> matches the latest snapshot 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
aria-expanded="false"
|
|
7
|
+
class="ui basic button dropdown"
|
|
8
|
+
name="type"
|
|
9
|
+
role="listbox"
|
|
10
|
+
tabindex="0"
|
|
11
|
+
>
|
|
12
|
+
<i
|
|
13
|
+
aria-hidden="true"
|
|
14
|
+
class="dropdown icon"
|
|
15
|
+
/>
|
|
16
|
+
<div
|
|
17
|
+
class="menu transition"
|
|
18
|
+
>
|
|
19
|
+
<div
|
|
20
|
+
aria-checked="false"
|
|
21
|
+
aria-selected="true"
|
|
22
|
+
class="selected item"
|
|
23
|
+
role="option"
|
|
24
|
+
style="pointer-events: all;"
|
|
25
|
+
>
|
|
26
|
+
<i
|
|
27
|
+
aria-hidden="true"
|
|
28
|
+
class="adjust icon"
|
|
29
|
+
/>
|
|
30
|
+
<span
|
|
31
|
+
class="text"
|
|
32
|
+
>
|
|
33
|
+
boolean
|
|
34
|
+
</span>
|
|
35
|
+
</div>
|
|
36
|
+
<div
|
|
37
|
+
aria-checked="false"
|
|
38
|
+
aria-selected="false"
|
|
39
|
+
class="item"
|
|
40
|
+
role="option"
|
|
41
|
+
style="pointer-events: all;"
|
|
42
|
+
>
|
|
43
|
+
<i
|
|
44
|
+
aria-hidden="true"
|
|
45
|
+
class="font icon"
|
|
46
|
+
/>
|
|
47
|
+
<span
|
|
48
|
+
class="text"
|
|
49
|
+
>
|
|
50
|
+
string
|
|
51
|
+
</span>
|
|
52
|
+
</div>
|
|
53
|
+
<div
|
|
54
|
+
aria-checked="false"
|
|
55
|
+
aria-selected="false"
|
|
56
|
+
class="item"
|
|
57
|
+
role="option"
|
|
58
|
+
style="pointer-events: all;"
|
|
59
|
+
>
|
|
60
|
+
<i
|
|
61
|
+
aria-hidden="true"
|
|
62
|
+
class="hashtag icon"
|
|
63
|
+
/>
|
|
64
|
+
<span
|
|
65
|
+
class="text"
|
|
66
|
+
>
|
|
67
|
+
number
|
|
68
|
+
</span>
|
|
69
|
+
</div>
|
|
70
|
+
<div
|
|
71
|
+
aria-checked="false"
|
|
72
|
+
aria-selected="false"
|
|
73
|
+
class="item"
|
|
74
|
+
role="option"
|
|
75
|
+
style="pointer-events: all;"
|
|
76
|
+
>
|
|
77
|
+
<i
|
|
78
|
+
aria-hidden="true"
|
|
79
|
+
class="calendar alternate outline icon"
|
|
80
|
+
/>
|
|
81
|
+
<span
|
|
82
|
+
class="text"
|
|
83
|
+
>
|
|
84
|
+
date
|
|
85
|
+
</span>
|
|
86
|
+
</div>
|
|
87
|
+
<div
|
|
88
|
+
aria-checked="false"
|
|
89
|
+
aria-selected="false"
|
|
90
|
+
class="item"
|
|
91
|
+
role="option"
|
|
92
|
+
style="pointer-events: all;"
|
|
93
|
+
>
|
|
94
|
+
<i
|
|
95
|
+
aria-hidden="true"
|
|
96
|
+
class="clock outline icon"
|
|
97
|
+
/>
|
|
98
|
+
<span
|
|
99
|
+
class="text"
|
|
100
|
+
>
|
|
101
|
+
timestamp
|
|
102
|
+
</span>
|
|
103
|
+
</div>
|
|
104
|
+
<div
|
|
105
|
+
aria-checked="false"
|
|
106
|
+
aria-selected="false"
|
|
107
|
+
class="item"
|
|
108
|
+
role="option"
|
|
109
|
+
style="pointer-events: all;"
|
|
110
|
+
>
|
|
111
|
+
<i
|
|
112
|
+
aria-hidden="true"
|
|
113
|
+
class="question circle outline icon"
|
|
114
|
+
/>
|
|
115
|
+
<span
|
|
116
|
+
class="text"
|
|
117
|
+
>
|
|
118
|
+
any
|
|
119
|
+
</span>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
`;
|
|
125
|
+
|
|
126
|
+
exports[`<TypeSelector /> matches the latest snapshot withoutTypeAny 1`] = `
|
|
127
|
+
<div>
|
|
128
|
+
<div
|
|
129
|
+
aria-expanded="false"
|
|
130
|
+
class="ui basic button dropdown"
|
|
131
|
+
name="type"
|
|
132
|
+
role="listbox"
|
|
133
|
+
tabindex="0"
|
|
134
|
+
>
|
|
135
|
+
<i
|
|
136
|
+
aria-hidden="true"
|
|
137
|
+
class="dropdown icon"
|
|
138
|
+
/>
|
|
139
|
+
<div
|
|
140
|
+
class="menu transition"
|
|
141
|
+
>
|
|
142
|
+
<div
|
|
143
|
+
aria-checked="false"
|
|
144
|
+
aria-selected="true"
|
|
145
|
+
class="selected item"
|
|
146
|
+
role="option"
|
|
147
|
+
style="pointer-events: all;"
|
|
148
|
+
>
|
|
149
|
+
<i
|
|
150
|
+
aria-hidden="true"
|
|
151
|
+
class="adjust icon"
|
|
152
|
+
/>
|
|
153
|
+
<span
|
|
154
|
+
class="text"
|
|
155
|
+
>
|
|
156
|
+
boolean
|
|
157
|
+
</span>
|
|
158
|
+
</div>
|
|
159
|
+
<div
|
|
160
|
+
aria-checked="false"
|
|
161
|
+
aria-selected="false"
|
|
162
|
+
class="item"
|
|
163
|
+
role="option"
|
|
164
|
+
style="pointer-events: all;"
|
|
165
|
+
>
|
|
166
|
+
<i
|
|
167
|
+
aria-hidden="true"
|
|
168
|
+
class="font icon"
|
|
169
|
+
/>
|
|
170
|
+
<span
|
|
171
|
+
class="text"
|
|
172
|
+
>
|
|
173
|
+
string
|
|
174
|
+
</span>
|
|
175
|
+
</div>
|
|
176
|
+
<div
|
|
177
|
+
aria-checked="false"
|
|
178
|
+
aria-selected="false"
|
|
179
|
+
class="item"
|
|
180
|
+
role="option"
|
|
181
|
+
style="pointer-events: all;"
|
|
182
|
+
>
|
|
183
|
+
<i
|
|
184
|
+
aria-hidden="true"
|
|
185
|
+
class="hashtag icon"
|
|
186
|
+
/>
|
|
187
|
+
<span
|
|
188
|
+
class="text"
|
|
189
|
+
>
|
|
190
|
+
number
|
|
191
|
+
</span>
|
|
192
|
+
</div>
|
|
193
|
+
<div
|
|
194
|
+
aria-checked="false"
|
|
195
|
+
aria-selected="false"
|
|
196
|
+
class="item"
|
|
197
|
+
role="option"
|
|
198
|
+
style="pointer-events: all;"
|
|
199
|
+
>
|
|
200
|
+
<i
|
|
201
|
+
aria-hidden="true"
|
|
202
|
+
class="calendar alternate outline icon"
|
|
203
|
+
/>
|
|
204
|
+
<span
|
|
205
|
+
class="text"
|
|
206
|
+
>
|
|
207
|
+
date
|
|
208
|
+
</span>
|
|
209
|
+
</div>
|
|
210
|
+
<div
|
|
211
|
+
aria-checked="false"
|
|
212
|
+
aria-selected="false"
|
|
213
|
+
class="item"
|
|
214
|
+
role="option"
|
|
215
|
+
style="pointer-events: all;"
|
|
216
|
+
>
|
|
217
|
+
<i
|
|
218
|
+
aria-hidden="true"
|
|
219
|
+
class="clock outline icon"
|
|
220
|
+
/>
|
|
221
|
+
<span
|
|
222
|
+
class="text"
|
|
223
|
+
>
|
|
224
|
+
timestamp
|
|
225
|
+
</span>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
</div>
|
|
230
|
+
`;
|