@truedat/qx 7.13.6 → 7.13.8
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/components/QxRoutes.js +8 -6
- package/src/components/common/ResourceSelector.js +25 -6
- package/src/components/common/TypeSelector.js +14 -9
- package/src/components/common/__tests__/__snapshots__/ResourceSelector.spec.js.snap +269 -241
- package/src/components/common/__tests__/__snapshots__/TypeSelector.spec.js.snap +198 -190
- package/src/components/common/expressions/Clauses.js +19 -11
- package/src/components/common/expressions/Condition.js +32 -31
- package/src/components/common/expressions/FieldSelector.js +30 -16
- package/src/components/common/expressions/FunctionSelector.js +38 -23
- package/src/components/common/expressions/ShapeSelector.js +6 -5
- package/src/components/common/expressions/__tests__/ShapeSelector.spec.js +1 -1
- package/src/components/common/expressions/__tests__/__snapshots__/Clauses.spec.js.snap +36 -12
- package/src/components/common/expressions/__tests__/__snapshots__/Condition.spec.js.snap +87 -75
- package/src/components/common/expressions/__tests__/__snapshots__/ConstantSelector.spec.js.snap +99 -97
- package/src/components/common/expressions/__tests__/__snapshots__/Expression.spec.js.snap +236 -216
- package/src/components/common/expressions/__tests__/__snapshots__/FunctionArgs.spec.js.snap +97 -89
- package/src/components/common/expressions/__tests__/__snapshots__/FunctionSelector.spec.js.snap +373 -345
- package/src/components/common/expressions/constantInputs/AnySelector.js +2 -1
- package/src/components/common/expressions/constantInputs/BooleanSelector.js +20 -15
- package/src/components/common/expressions/constantInputs/DefaultSelector.js +0 -1
- package/src/components/common/expressions/constantInputs/__tests__/__snapshots__/AnySelector.spec.js.snap +189 -182
- package/src/components/common/expressions/constantInputs/__tests__/__snapshots__/BooleanSelector.spec.js.snap +74 -66
- package/src/components/common/expressions/constantInputs/__tests__/__snapshots__/DefaultSelector.spec.js.snap +2 -4
- package/src/components/common/resourceSelectors/DataStructureSelector.js +5 -4
- package/src/components/common/resourceSelectors/DataViewSelector.js +4 -3
- package/src/components/common/resourceSelectors/ReferenceDatasetSelector.js +4 -3
- package/src/components/common/resourceSelectors/__tests__/__snapshots__/DataStructureSelector.spec.js.snap +65 -61
- package/src/components/common/resourceSelectors/__tests__/__snapshots__/DataViewSelector.spec.js.snap +38 -34
- package/src/components/common/resourceSelectors/__tests__/__snapshots__/ReferenceDatasetSelector.spec.js.snap +38 -34
- package/src/components/dataViews/BreadCrumb.js +20 -0
- package/src/components/dataViews/DataViewEditor.js +169 -178
- package/src/components/dataViews/DataViews.js +113 -135
- package/src/components/dataViews/__tests__/AdvancedDataViewEditor.spec.js +260 -0
- package/src/components/dataViews/__tests__/DataViewEditor.spec.js +173 -239
- package/src/components/dataViews/__tests__/DataViewSelect.spec.js +1 -1
- package/src/components/dataViews/__tests__/DataViews.spec.js +124 -51
- package/src/components/dataViews/__tests__/Queryable.spec.js +1 -1
- package/src/components/dataViews/__tests__/Queryables.spec.js +1 -1
- package/src/components/dataViews/__tests__/SimpleDataViewEditor.spec.js +164 -0
- package/src/components/dataViews/__tests__/__snapshots__/{DataViewEditor.spec.js.snap → AdvancedDataViewEditor.spec.js.snap} +230 -200
- package/src/components/dataViews/__tests__/__snapshots__/DataViews.spec.js.snap +141 -29
- package/src/components/dataViews/__tests__/__snapshots__/Queryable.spec.js.snap +184 -141
- package/src/components/dataViews/__tests__/__snapshots__/Queryables.spec.js.snap +126 -91
- package/src/components/dataViews/actions/CancelButton.js +33 -0
- package/src/components/dataViews/actions/DeleteButton.js +33 -0
- package/src/components/dataViews/advancedForm/AdvancedDataViewEditor.js +159 -0
- package/src/components/dataViews/{DataViewSelect.js → advancedForm/DataViewSelect.js} +2 -2
- package/src/components/dataViews/{Queryable.js → advancedForm/Queryable.js} +2 -2
- package/src/components/dataViews/queryableFunctions.js +7 -0
- package/src/components/dataViews/queryableProperties/GroupBy.js +23 -27
- package/src/components/dataViews/queryableProperties/Join.js +0 -3
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/From.spec.js.snap +30 -26
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/GroupBy.spec.js.snap +130 -102
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/Join.spec.js.snap +42 -31
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/Select.spec.js.snap +81 -69
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/SelectField.spec.js.snap +62 -54
- package/src/components/dataViews/queryableProperties/__tests__/__snapshots__/Where.spec.js.snap +12 -4
- package/src/components/dataViews/simpleForm/AggregationForm.js +179 -0
- package/src/components/dataViews/simpleForm/DatasetForm.js +199 -0
- package/src/components/dataViews/simpleForm/FormQueryable.js +114 -0
- package/src/components/dataViews/simpleForm/InformationForm.js +107 -0
- package/src/components/dataViews/simpleForm/SelectionForm.js +50 -0
- package/src/components/dataViews/simpleForm/SimpleDataViewEditor.js +265 -0
- package/src/components/functions/__tests__/__snapshots__/FunctionEditor.spec.js.snap +663 -631
- package/src/components/functions/__tests__/__snapshots__/FunctionParams.spec.js.snap +113 -109
- package/src/components/qualityControls/__tests__/__snapshots__/ControlProperties.spec.js.snap +92 -76
- package/src/components/qualityControls/__tests__/__snapshots__/EditQualityControl.spec.js.snap +108 -80
- package/src/components/qualityControls/__tests__/__snapshots__/NewDraftQualityControl.spec.js.snap +108 -80
- package/src/components/qualityControls/__tests__/__snapshots__/QualityControlEditor.spec.js.snap +108 -80
- package/src/components/qualityControls/controlProperties/__tests__/__snapshots__/Count.spec.js.snap +40 -36
- package/src/components/qualityControls/controlProperties/__tests__/__snapshots__/Ratio.spec.js.snap +92 -76
- package/src/hooks/useDataViews.js +7 -0
- /package/src/components/dataViews/{Queryables.js → advancedForm/Queryables.js} +0 -0
|
@@ -101,51 +101,55 @@ exports[`<FunctionArgs /> user interaction 1`] = `
|
|
|
101
101
|
</div>
|
|
102
102
|
</div>
|
|
103
103
|
<div
|
|
104
|
-
|
|
105
|
-
class="ui fluid selection dropdown"
|
|
106
|
-
role="listbox"
|
|
107
|
-
tabindex="0"
|
|
104
|
+
class="field"
|
|
108
105
|
>
|
|
109
106
|
<div
|
|
110
|
-
aria-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
>
|
|
115
|
-
functions.expression.constant.true
|
|
116
|
-
</div>
|
|
117
|
-
<i
|
|
118
|
-
aria-hidden="true"
|
|
119
|
-
class="dropdown icon"
|
|
120
|
-
/>
|
|
121
|
-
<div
|
|
122
|
-
class="menu transition"
|
|
107
|
+
aria-expanded="false"
|
|
108
|
+
class="ui fluid selection dropdown"
|
|
109
|
+
role="listbox"
|
|
110
|
+
tabindex="0"
|
|
123
111
|
>
|
|
124
112
|
<div
|
|
125
|
-
aria-
|
|
126
|
-
aria-
|
|
127
|
-
class="
|
|
128
|
-
role="
|
|
129
|
-
style="pointer-events: all;"
|
|
113
|
+
aria-atomic="true"
|
|
114
|
+
aria-live="polite"
|
|
115
|
+
class="divider text"
|
|
116
|
+
role="alert"
|
|
130
117
|
>
|
|
131
|
-
|
|
132
|
-
class="text"
|
|
133
|
-
>
|
|
134
|
-
functions.expression.constant.true
|
|
135
|
-
</span>
|
|
118
|
+
functions.expression.constant.true
|
|
136
119
|
</div>
|
|
120
|
+
<i
|
|
121
|
+
aria-hidden="true"
|
|
122
|
+
class="dropdown icon"
|
|
123
|
+
/>
|
|
137
124
|
<div
|
|
138
|
-
|
|
139
|
-
aria-selected="false"
|
|
140
|
-
class="item"
|
|
141
|
-
role="option"
|
|
142
|
-
style="pointer-events: all;"
|
|
125
|
+
class="menu transition"
|
|
143
126
|
>
|
|
144
|
-
<
|
|
145
|
-
|
|
127
|
+
<div
|
|
128
|
+
aria-checked="true"
|
|
129
|
+
aria-selected="true"
|
|
130
|
+
class="active selected item"
|
|
131
|
+
role="option"
|
|
132
|
+
style="pointer-events: all;"
|
|
133
|
+
>
|
|
134
|
+
<span
|
|
135
|
+
class="text"
|
|
136
|
+
>
|
|
137
|
+
functions.expression.constant.true
|
|
138
|
+
</span>
|
|
139
|
+
</div>
|
|
140
|
+
<div
|
|
141
|
+
aria-checked="false"
|
|
142
|
+
aria-selected="false"
|
|
143
|
+
class="item"
|
|
144
|
+
role="option"
|
|
145
|
+
style="pointer-events: all;"
|
|
146
146
|
>
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
<span
|
|
148
|
+
class="text"
|
|
149
|
+
>
|
|
150
|
+
functions.expression.constant.false
|
|
151
|
+
</span>
|
|
152
|
+
</div>
|
|
149
153
|
</div>
|
|
150
154
|
</div>
|
|
151
155
|
</div>
|
|
@@ -261,77 +265,81 @@ exports[`<FunctionArgs /> user interaction 1`] = `
|
|
|
261
265
|
class="dropdown icon"
|
|
262
266
|
/>
|
|
263
267
|
<div
|
|
264
|
-
|
|
265
|
-
class="ui fluid search selection dropdown"
|
|
266
|
-
role="combobox"
|
|
268
|
+
class="sixteen wide field"
|
|
267
269
|
>
|
|
268
|
-
<input
|
|
269
|
-
aria-autocomplete="list"
|
|
270
|
-
autocomplete="off"
|
|
271
|
-
class="search"
|
|
272
|
-
tabindex="0"
|
|
273
|
-
type="text"
|
|
274
|
-
value=""
|
|
275
|
-
/>
|
|
276
|
-
<div
|
|
277
|
-
aria-atomic="true"
|
|
278
|
-
aria-live="polite"
|
|
279
|
-
class="divider text"
|
|
280
|
-
role="alert"
|
|
281
|
-
>
|
|
282
|
-
functions.form.expression.function.placeholder
|
|
283
|
-
</div>
|
|
284
|
-
<i
|
|
285
|
-
aria-hidden="true"
|
|
286
|
-
class="dropdown icon"
|
|
287
|
-
/>
|
|
288
270
|
<div
|
|
289
|
-
|
|
290
|
-
|
|
271
|
+
aria-expanded="false"
|
|
272
|
+
class="ui fluid search selection dropdown"
|
|
273
|
+
role="combobox"
|
|
291
274
|
>
|
|
275
|
+
<input
|
|
276
|
+
aria-autocomplete="list"
|
|
277
|
+
autocomplete="off"
|
|
278
|
+
class="search"
|
|
279
|
+
tabindex="0"
|
|
280
|
+
type="text"
|
|
281
|
+
value=""
|
|
282
|
+
/>
|
|
292
283
|
<div
|
|
293
|
-
aria-
|
|
294
|
-
aria-
|
|
295
|
-
class="
|
|
296
|
-
role="
|
|
297
|
-
|
|
284
|
+
aria-atomic="true"
|
|
285
|
+
aria-live="polite"
|
|
286
|
+
class="divider text"
|
|
287
|
+
role="alert"
|
|
288
|
+
>
|
|
289
|
+
functions.form.expression.function.placeholder
|
|
290
|
+
</div>
|
|
291
|
+
<i
|
|
292
|
+
aria-hidden="true"
|
|
293
|
+
class="dropdown icon"
|
|
294
|
+
/>
|
|
295
|
+
<div
|
|
296
|
+
class="menu transition"
|
|
297
|
+
role="listbox"
|
|
298
298
|
>
|
|
299
299
|
<div
|
|
300
|
-
|
|
300
|
+
aria-checked="false"
|
|
301
|
+
aria-selected="true"
|
|
302
|
+
class="selected item"
|
|
303
|
+
role="option"
|
|
304
|
+
style="pointer-events: all;"
|
|
301
305
|
>
|
|
302
306
|
<div
|
|
303
|
-
class="
|
|
307
|
+
class="ui header"
|
|
304
308
|
>
|
|
305
|
-
<div>
|
|
306
|
-
eq
|
|
307
|
-
</div>
|
|
308
309
|
<div
|
|
309
|
-
class="
|
|
310
|
+
class="flex-center"
|
|
310
311
|
>
|
|
311
|
-
<div
|
|
312
|
-
|
|
313
|
-
>
|
|
314
|
-
<i
|
|
315
|
-
aria-hidden="true"
|
|
316
|
-
class="adjust icon"
|
|
317
|
-
/>
|
|
318
|
-
arg1
|
|
312
|
+
<div>
|
|
313
|
+
eq
|
|
319
314
|
</div>
|
|
320
315
|
<div
|
|
321
|
-
class="
|
|
316
|
+
class="function-params-label"
|
|
322
317
|
>
|
|
323
|
-
<
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
318
|
+
<div
|
|
319
|
+
class="ui teal label"
|
|
320
|
+
>
|
|
321
|
+
<i
|
|
322
|
+
aria-hidden="true"
|
|
323
|
+
class="adjust icon"
|
|
324
|
+
/>
|
|
325
|
+
arg1
|
|
326
|
+
</div>
|
|
327
|
+
<div
|
|
328
|
+
class="ui teal label"
|
|
329
|
+
>
|
|
330
|
+
<i
|
|
331
|
+
aria-hidden="true"
|
|
332
|
+
class="adjust icon"
|
|
333
|
+
/>
|
|
334
|
+
arg2
|
|
335
|
+
</div>
|
|
328
336
|
</div>
|
|
329
337
|
</div>
|
|
330
338
|
</div>
|
|
339
|
+
<div
|
|
340
|
+
class="sub header"
|
|
341
|
+
/>
|
|
331
342
|
</div>
|
|
332
|
-
<div
|
|
333
|
-
class="sub header"
|
|
334
|
-
/>
|
|
335
343
|
</div>
|
|
336
344
|
</div>
|
|
337
345
|
</div>
|