@truedat/dq 4.43.0 → 4.43.3

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +22 -3
  2. package/package.json +5 -5
  3. package/src/api.js +2 -0
  4. package/src/components/ConditionSummary.js +1 -0
  5. package/src/components/FieldSummary.js +86 -0
  6. package/src/components/ImplementationSummary.js +11 -1
  7. package/src/components/NewRemediation.js +27 -20
  8. package/src/components/NewRuleImplementation.js +42 -6
  9. package/src/components/RemediationPlan.js +47 -78
  10. package/src/components/RuleImplementationProperties.js +2 -1
  11. package/src/components/RuleImplementationResultTabs.js +113 -0
  12. package/src/components/RuleImplementationResults.js +1 -1
  13. package/src/components/RuleResult.js +108 -0
  14. package/src/components/{ExecutionDetails.js → RuleResultDetails.js} +4 -21
  15. package/src/components/RuleResultRemediationLoader.js +44 -0
  16. package/src/components/RuleResultRemediations.js +47 -0
  17. package/src/components/RuleResultRow.js +0 -3
  18. package/src/components/RuleResultSegmentRow.js +83 -0
  19. package/src/components/RuleResultSegments.js +102 -0
  20. package/src/components/RuleResultSegmentsLoader.js +34 -0
  21. package/src/components/RuleResultsRoutes.js +73 -0
  22. package/src/components/RuleRoutes.js +4 -14
  23. package/src/components/RuleSelector.js +5 -2
  24. package/src/components/__test_samples__/NewRuleImplementationProps.js +22 -2
  25. package/src/components/__tests__/ExecutionDetails.spec.js +5 -5
  26. package/src/components/__tests__/NewRuleImplementation.spec.js +27 -7
  27. package/src/components/__tests__/RuleResultSegmentsLoader.spec.js +32 -0
  28. package/src/components/__tests__/__snapshots__/ExecutionDetails.spec.js.snap +2 -30
  29. package/src/components/__tests__/__snapshots__/NewRuleImplementation.spec.js.snap +1211 -1217
  30. package/src/components/__tests__/__snapshots__/RuleImplementationProperties.spec.js.snap +1 -0
  31. package/src/components/index.js +2 -2
  32. package/src/components/ruleImplementationForm/DatasetForm.js +4 -1
  33. package/src/components/ruleImplementationForm/FieldsGrid.js +57 -0
  34. package/src/components/ruleImplementationForm/FieldsGroup.js +107 -0
  35. package/src/components/ruleImplementationForm/RuleImplementationForm.js +45 -0
  36. package/src/components/ruleImplementationForm/SegmentsForm.js +35 -0
  37. package/src/components/ruleImplementationForm/__tests__/DataSetForm.spec.js +0 -1
  38. package/src/components/ruleImplementationForm/__tests__/RuleImplementationForm.spec.js +27 -10
  39. package/src/components/ruleImplementationForm/__tests__/__snapshots__/RuleImplementationForm.spec.js.snap +315 -91
  40. package/src/messages/en.js +7 -0
  41. package/src/messages/es.js +7 -0
  42. package/src/reducers/__tests__/segmentResult.spec.js +46 -0
  43. package/src/reducers/index.js +2 -0
  44. package/src/reducers/ruleImplementation.js +1 -0
  45. package/src/reducers/segmentResults.js +19 -0
  46. package/src/routines.js +3 -0
  47. package/src/sagas/__tests__/fetchSegmentResults.spec.js +78 -0
  48. package/src/sagas/fetchSegmentResults.js +30 -0
  49. package/src/sagas/index.js +3 -0
  50. package/src/services/encodeRawContent.js +5 -5
  51. package/src/styles/remediationPlan.less +5 -0
  52. package/src/styles/ruleImplementationForm/DatasetForm.less +5 -0
@@ -1,1237 +1,1231 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<NewRuleImplementation /> calculate aliases when not informed 1`] = `
4
- <Fragment>
5
- <lazy />
6
- <Grid
7
- className="full-height"
8
- divided={true}
4
+ <div>
5
+ <div
6
+ class="ui divided grid full-height"
9
7
  >
10
- <GridColumn
11
- width="11"
8
+ <div
9
+ class="eleven wide column"
12
10
  >
13
- <GridRow>
14
- <Header
15
- as="h2"
11
+ <div
12
+ class="row"
13
+ >
14
+ <h2
15
+ class="ui header"
16
+ >
17
+ <div
18
+ class="content"
19
+ >
20
+ Edit Implementation
21
+ </div>
22
+ </h2>
23
+ <div
24
+ class="ui hidden divider"
25
+ />
26
+ </div>
27
+ <div
28
+ class="stretched row"
29
+ >
30
+ <div
31
+ class="column"
16
32
  >
17
- <HeaderContent>
18
- <MemoizedFormattedMessage
19
- id="ruleImplementations.actions.edit"
33
+ <div
34
+ class="stretched center aligned row"
35
+ >
36
+ <div
37
+ class="ui small steps"
38
+ >
39
+ <div
40
+ class="active step"
41
+ >
42
+ <i
43
+ aria-hidden="true"
44
+ class="info icon"
45
+ />
46
+ <div
47
+ class="content"
48
+ >
49
+ <div
50
+ class="title"
51
+ >
52
+ Information
53
+ </div>
54
+ </div>
55
+ </div>
56
+ <div
57
+ class="step"
58
+ >
59
+ <i
60
+ aria-hidden="true"
61
+ class="database icon"
62
+ />
63
+ <div
64
+ class="content"
65
+ >
66
+ <div
67
+ class="title"
68
+ >
69
+ Data Set
70
+ </div>
71
+ </div>
72
+ </div>
73
+ <div
74
+ class="step"
75
+ >
76
+ <i
77
+ aria-hidden="true"
78
+ class="user icon"
79
+ />
80
+ <div
81
+ class="content"
82
+ >
83
+ <div
84
+ class="title"
85
+ >
86
+ Populations
87
+ </div>
88
+ </div>
89
+ </div>
90
+ <div
91
+ class="step"
92
+ >
93
+ <i
94
+ aria-hidden="true"
95
+ class="setting icon"
96
+ />
97
+ <div
98
+ class="content"
99
+ >
100
+ <div
101
+ class="title"
102
+ >
103
+ Validations
104
+ </div>
105
+ </div>
106
+ </div>
107
+ <div
108
+ class="step"
109
+ >
110
+ <i
111
+ aria-hidden="true"
112
+ class="grid layout icon"
113
+ />
114
+ <div
115
+ class="content"
116
+ >
117
+ <div
118
+ class="title"
119
+ >
120
+ Segments
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ <div
126
+ class="ui fitted hidden divider"
20
127
  />
21
- </HeaderContent>
22
- </Header>
23
- <Divider
24
- hidden={true}
128
+ </div>
129
+ <div
130
+ class="stretched row rule-impl-form-row"
131
+ >
132
+ <form
133
+ class="ui form"
134
+ >
135
+ <div
136
+ class="field"
137
+ >
138
+ <div
139
+ class="ui checked toggle checkbox"
140
+ >
141
+ <input
142
+ checked=""
143
+ class="hidden"
144
+ name="executable"
145
+ readonly=""
146
+ tabindex="0"
147
+ type="radio"
148
+ value=""
149
+ />
150
+ <label>
151
+ Executable
152
+ </label>
153
+ </div>
154
+ </div>
155
+ <div
156
+ class="field"
157
+ >
158
+ <label>
159
+ Implementation Key
160
+ <i
161
+ aria-hidden="true"
162
+ class="question circle outline icon rule-form-popup"
163
+ />
164
+ </label>
165
+ <div
166
+ class="field"
167
+ >
168
+ <div
169
+ class="ui input"
170
+ >
171
+ <input
172
+ autocomplete="off"
173
+ name="implementation_key"
174
+ placeholder="Rule Implementation Key"
175
+ type="text"
176
+ value="impl_example_1"
177
+ />
178
+ </div>
179
+ </div>
180
+ </div>
181
+ <div
182
+ class="ui segment"
183
+ >
184
+ <div
185
+ class="field"
186
+ >
187
+ <label
188
+ class="rule-form-label"
189
+ >
190
+ Result Type
191
+ <span>
192
+ *
193
+ </span>
194
+ <i
195
+ aria-hidden="true"
196
+ class="question circle outline icon rule-form-popup"
197
+ />
198
+ </label>
199
+ <div
200
+ class="inline fields"
201
+ >
202
+ <div
203
+ class="field"
204
+ >
205
+ <div
206
+ class="ui radio checkbox"
207
+ >
208
+ <input
209
+ class="hidden"
210
+ name="result_type"
211
+ readonly=""
212
+ tabindex="0"
213
+ type="radio"
214
+ value="percentage"
215
+ />
216
+ <label>
217
+ Percentage
218
+ </label>
219
+ </div>
220
+ </div>
221
+ <div
222
+ class="field"
223
+ >
224
+ <div
225
+ class="ui radio checkbox"
226
+ >
227
+ <input
228
+ class="hidden"
229
+ name="result_type"
230
+ readonly=""
231
+ tabindex="0"
232
+ type="radio"
233
+ value="deviation"
234
+ />
235
+ <label>
236
+ Deviation
237
+ </label>
238
+ </div>
239
+ </div>
240
+ <div
241
+ class="field"
242
+ >
243
+ <div
244
+ class="ui checked radio checkbox"
245
+ >
246
+ <input
247
+ checked=""
248
+ class="hidden"
249
+ name="result_type"
250
+ readonly=""
251
+ tabindex="0"
252
+ type="radio"
253
+ value="errors_number"
254
+ />
255
+ <label>
256
+ Error count
257
+ </label>
258
+ </div>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ <div
263
+ class="field"
264
+ >
265
+ <label
266
+ class="rule-form-label"
267
+ >
268
+ Threshold
269
+ <span>
270
+ *
271
+ </span>
272
+ <i
273
+ aria-hidden="true"
274
+ class="question circle outline icon rule-form-popup"
275
+ />
276
+ </label>
277
+ <div
278
+ class="field"
279
+ >
280
+ <div
281
+ class="ui input"
282
+ >
283
+ <input
284
+ autocomplete="off"
285
+ name="minimum"
286
+ placeholder="Threshold value"
287
+ type="text"
288
+ value="20"
289
+ />
290
+ </div>
291
+ </div>
292
+ </div>
293
+ <div
294
+ class="field"
295
+ >
296
+ <label
297
+ class="rule-form-label"
298
+ >
299
+ Goal
300
+ <span>
301
+ *
302
+ </span>
303
+ <i
304
+ aria-hidden="true"
305
+ class="question circle outline icon rule-form-popup"
306
+ />
307
+ </label>
308
+ <div
309
+ class="field"
310
+ >
311
+ <div
312
+ class="ui input"
313
+ >
314
+ <input
315
+ autocomplete="off"
316
+ name="goal"
317
+ placeholder="Goal value"
318
+ type="text"
319
+ value="10"
320
+ />
321
+ </div>
322
+ </div>
323
+ </div>
324
+ </div>
325
+ </form>
326
+ </div>
327
+ <div
328
+ class="ui hidden divider"
329
+ />
330
+ <div
331
+ class="stretched row"
332
+ >
333
+ <button
334
+ class="ui primary disabled right floated button"
335
+ disabled=""
336
+ tabindex="-1"
337
+ type="submit"
338
+ >
339
+ Next
340
+ </button>
341
+ <button
342
+ class="ui secondary right floated button"
343
+ >
344
+ Cancel
345
+ </button>
346
+ </div>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ <div
351
+ class="five wide column"
352
+ >
353
+ <h3
354
+ class="ui header"
355
+ >
356
+ <i
357
+ aria-hidden="true"
358
+ class="info small icon"
25
359
  />
26
- </GridRow>
27
- <GridRow
28
- stretched={true}
360
+ <div
361
+ class="content"
362
+ >
363
+ Information
364
+ </div>
365
+ </h3>
366
+ <div
367
+ class="ui segment"
368
+ >
369
+ <div
370
+ class="ui list"
371
+ role="list"
372
+ >
373
+ <div
374
+ class="item"
375
+ role="listitem"
376
+ >
377
+ <div
378
+ class="header"
379
+ >
380
+ Limits
381
+ </div>
382
+ <div
383
+ class="content"
384
+ >
385
+ <div
386
+ class="description"
387
+ >
388
+ Error count
389
+ </div>
390
+ </div>
391
+ </div>
392
+ <div
393
+ class="item"
394
+ role="listitem"
395
+ >
396
+ <i
397
+ aria-hidden="true"
398
+ class="yellow circle icon"
399
+ />
400
+ <div
401
+ class="content"
402
+ >
403
+ <div
404
+ class="header"
405
+ >
406
+ Threshold
407
+ </div>
408
+ <div
409
+ class="description"
410
+ >
411
+ 20
412
+ </div>
413
+ </div>
414
+ </div>
415
+ <div
416
+ class="item"
417
+ role="listitem"
418
+ >
419
+ <i
420
+ aria-hidden="true"
421
+ class="green circle icon"
422
+ />
423
+ <div
424
+ class="content"
425
+ >
426
+ <div
427
+ class="header"
428
+ >
429
+ Goal
430
+ </div>
431
+ <div
432
+ class="description"
433
+ >
434
+ 10
435
+ </div>
436
+ </div>
437
+ </div>
438
+ </div>
439
+ </div>
440
+ <h3
441
+ class="ui header"
29
442
  >
30
- <Connect(RuleImplementationForm)
31
- addPopulation={[Function]}
32
- handleSubmit={[Function]}
33
- onChange={[Function]}
34
- operators={
35
- Object {
36
- "any": Object {
37
- "modifiers": Array [],
38
- "operators": Array [
39
- Object {
40
- "id": 0,
41
- "name": "unique",
42
- "scope": "validation",
43
- },
44
- Object {
45
- "id": 1,
46
- "name": "not_empty",
47
- },
48
- Object {
49
- "id": 2,
50
- "name": "empty",
51
- },
52
- Object {
53
- "group": "references",
54
- "id": 3,
55
- "name": "references",
56
- "population": true,
57
- "scope": "validation",
58
- "value_type": "field",
59
- "value_type_filter": "any",
60
- },
61
- Object {
62
- "group": "references",
63
- "id": 4,
64
- "name": "not_references",
65
- "scope": "validation",
66
- "value_type": "field",
67
- "value_type_filter": "any",
68
- },
69
- ],
70
- },
71
- "boolean": Object {
72
- "modifiers": Array [],
73
- "operators": Array [
74
- Object {
75
- "id": 5,
76
- "name": "is_true",
77
- },
78
- Object {
79
- "id": 6,
80
- "name": "is_false",
81
- },
82
- ],
83
- },
84
- "date": Object {
85
- "modifiers": Array [],
86
- "operators": Array [
87
- Object {
88
- "group": "eq",
89
- "id": 42,
90
- "name": "eq",
91
- "value_type": "date",
92
- },
93
- Object {
94
- "group": "eq",
95
- "id": 43,
96
- "name": "eq",
97
- "value_type": "field",
98
- },
99
- Object {
100
- "group": "not_eq",
101
- "id": 44,
102
- "name": "not_eq",
103
- "value_type": "date",
104
- },
105
- Object {
106
- "group": "not_eq",
107
- "id": 45,
108
- "name": "not_eq",
109
- "value_type": "field",
110
- },
111
- Object {
112
- "group": "gt",
113
- "id": 46,
114
- "name": "gt",
115
- "value_type": "date",
116
- },
117
- Object {
118
- "group": "gt",
119
- "id": 47,
120
- "name": "gt",
121
- "value_type": "field",
122
- },
123
- Object {
124
- "group": "gte",
125
- "id": 48,
126
- "name": "gte",
127
- "value_type": "date",
128
- },
129
- Object {
130
- "group": "gte",
131
- "id": 49,
132
- "name": "gte",
133
- "value_type": "field",
134
- },
135
- Object {
136
- "group": "lt",
137
- "id": 50,
138
- "name": "lt",
139
- "value_type": "date",
140
- },
141
- Object {
142
- "group": "lt",
143
- "id": 51,
144
- "name": "lt",
145
- "value_type": "field",
146
- },
147
- Object {
148
- "group": "lte",
149
- "id": 52,
150
- "name": "lte",
151
- "value_type": "date",
152
- },
153
- Object {
154
- "group": "lte",
155
- "id": 53,
156
- "name": "lte",
157
- "value_type": "field",
158
- },
159
- Object {
160
- "arity": 2,
161
- "id": 54,
162
- "name": "between",
163
- "value_type": "date",
164
- },
165
- Object {
166
- "fixed_values": Array [
167
- "D-0",
168
- "D-1",
169
- "M-0",
170
- "M-1",
171
- "M-2",
172
- "Y-0",
173
- "Y-1",
174
- ],
175
- "group": "eq",
176
- "id": 55,
177
- "name": "eq_var",
178
- "value_type": "string",
179
- },
180
- Object {
181
- "fixed_values": Array [
182
- "D-0",
183
- "D-1",
184
- "M-0",
185
- "M-1",
186
- "M-2",
187
- "Y-0",
188
- "Y-1",
189
- ],
190
- "group": "lt",
191
- "id": 56,
192
- "name": "lt_var",
193
- "value_type": "string",
194
- },
195
- Object {
196
- "fixed_values": Array [
197
- "D-0",
198
- "D-1",
199
- "M-0",
200
- "M-1",
201
- "M-2",
202
- "Y-0",
203
- "Y-1",
204
- ],
205
- "group": "lte",
206
- "id": 57,
207
- "name": "lte_var",
208
- "value_type": "string",
209
- },
210
- Object {
211
- "fixed_values": Array [
212
- "D-0",
213
- "D-1",
214
- "M-0",
215
- "M-1",
216
- "M-2",
217
- "Y-0",
218
- "Y-1",
219
- ],
220
- "group": "gt",
221
- "id": 58,
222
- "name": "gt_var",
223
- "value_type": "string",
224
- },
225
- Object {
226
- "fixed_values": Array [
227
- "D-0",
228
- "D-1",
229
- "M-0",
230
- "M-1",
231
- "M-2",
232
- "Y-0",
233
- "Y-1",
234
- ],
235
- "group": "gte",
236
- "id": 59,
237
- "name": "gte_var",
238
- "value_type": "string",
239
- },
240
- Object {
241
- "arity": 2,
242
- "fixed_values": Array [
243
- "D-0",
244
- "D-1",
245
- "M-0",
246
- "M-1",
247
- "M-2",
248
- "Y-0",
249
- "Y-1",
250
- ],
251
- "id": 60,
252
- "name": "variation_on_count",
253
- "scope": "validation",
254
- "value_type": "string",
255
- },
256
- ],
257
- },
258
- "number": Object {
259
- "modifiers": Array [],
260
- "operators": Array [
261
- Object {
262
- "group": "eq",
263
- "id": 7,
264
- "name": "eq",
265
- "value_type": "number",
266
- },
267
- Object {
268
- "group": "eq",
269
- "id": 8,
270
- "name": "eq",
271
- "value_type": "field",
272
- },
273
- Object {
274
- "group": "not_eq",
275
- "id": 9,
276
- "name": "not_eq",
277
- "value_type": "number",
278
- },
279
- Object {
280
- "group": "not_eq",
281
- "id": 10,
282
- "name": "not_eq",
283
- "value_type": "field",
284
- },
285
- Object {
286
- "group": "gt",
287
- "id": 11,
288
- "name": "gt",
289
- "value_type": "number",
290
- },
291
- Object {
292
- "group": "gt",
293
- "id": 12,
294
- "name": "gt",
295
- "value_type": "field",
296
- },
297
- Object {
298
- "group": "lt",
299
- "id": 13,
300
- "name": "lt",
301
- "value_type": "number",
302
- },
303
- Object {
304
- "group": "lt",
305
- "id": 14,
306
- "name": "lt",
307
- "value_type": "field",
308
- },
309
- Object {
310
- "group": "gte",
311
- "id": 15,
312
- "name": "gte",
313
- "value_type": "number",
314
- },
315
- Object {
316
- "group": "gte",
317
- "id": 16,
318
- "name": "gte",
319
- "value_type": "field",
320
- },
321
- Object {
322
- "group": "lte",
323
- "id": 17,
324
- "name": "lte",
325
- "value_type": "number",
326
- },
327
- Object {
328
- "group": "lte",
329
- "id": 18,
330
- "name": "lte",
331
- "value_type": "field",
332
- },
333
- Object {
334
- "arity": 2,
335
- "group": "between",
336
- "id": 19,
337
- "name": "between",
338
- "value_type": "number",
339
- },
340
- Object {
341
- "arity": 2,
342
- "group": "between",
343
- "id": 20,
344
- "name": "between",
345
- "value_type": "field",
346
- },
347
- Object {
348
- "group": "format",
349
- "id": 21,
350
- "name": "number_of_decimals",
351
- "scope": "validation",
352
- "value_type": "number",
353
- },
354
- ],
355
- },
356
- "string": Object {
357
- "modifiers": Array [
358
- Object {
359
- "cast_as": "date",
360
- "name": "cast_as_date",
361
- "params": Array [
362
- Object {
363
- "name": "format",
364
- "type": "string",
365
- },
366
- ],
367
- },
368
- ],
369
- "operators": Array [
370
- Object {
371
- "group": "eq",
372
- "id": 22,
373
- "name": "eq",
374
- "value_type": "string",
375
- },
376
- Object {
377
- "group": "eq",
378
- "id": 23,
379
- "name": "eq",
380
- "value_type": "field",
381
- },
382
- Object {
383
- "group": "not_eq",
384
- "id": 24,
385
- "name": "not_eq",
386
- "value_type": "string",
387
- },
388
- Object {
389
- "group": "not_eq",
390
- "id": 25,
391
- "name": "not_eq",
392
- "value_type": "field",
393
- },
394
- Object {
395
- "group": "length",
396
- "id": 26,
397
- "name": "length_gt",
398
- "value_type": "number",
399
- },
400
- Object {
401
- "group": "length",
402
- "id": 27,
403
- "name": "length_lt",
404
- "value_type": "number",
405
- },
406
- Object {
407
- "group": "length",
408
- "id": 28,
409
- "name": "length_eq",
410
- "scope": "validation",
411
- "value_type": "number",
412
- },
413
- Object {
414
- "group": "length",
415
- "id": 29,
416
- "name": "length_not_eq",
417
- "scope": "validation",
418
- "value_type": "number",
419
- },
420
- Object {
421
- "group": "length",
422
- "id": 30,
423
- "name": "length_gte",
424
- "value_type": "number",
425
- },
426
- Object {
427
- "group": "length",
428
- "id": 31,
429
- "name": "length_lte",
430
- "value_type": "number",
431
- },
432
- Object {
433
- "arity": 2,
434
- "group": "length",
435
- "id": 32,
436
- "name": "length_between",
437
- "value_type": "number",
438
- },
439
- Object {
440
- "id": 33,
441
- "name": "contains",
442
- "value_type": "string",
443
- },
444
- Object {
445
- "id": 34,
446
- "name": "not_contains",
447
- "value_type": "string",
448
- },
449
- Object {
450
- "id": 35,
451
- "name": "starts_with",
452
- "value_type": "string",
453
- },
454
- Object {
455
- "id": 36,
456
- "name": "ends_with",
457
- "value_type": "string",
458
- },
459
- Object {
460
- "id": 37,
461
- "name": "in_list",
462
- "value_type": "string_list",
463
- },
464
- Object {
465
- "id": 38,
466
- "name": "not_in_list",
467
- "value_type": "string_list",
468
- },
469
- Object {
470
- "group": "format",
471
- "id": 39,
472
- "name": "number_of_decimals",
473
- "scope": "validation",
474
- "value_type": "number",
475
- },
476
- Object {
477
- "fixed_values": Array [
478
- "email",
479
- "phone",
480
- "number",
481
- "decimal",
482
- "date",
483
- "dni",
484
- "dni_or_cif",
485
- "season",
486
- "timestamp",
487
- ],
488
- "group": "format",
489
- "id": 40,
490
- "name": "format_of",
491
- "scope": "validation",
492
- "value_type": "string",
493
- },
494
- Object {
495
- "id": 41,
496
- "name": "regex_format",
497
- "value_type": "string",
498
- },
499
- ],
500
- },
501
- "timestamp": Object {
502
- "modifiers": Array [],
503
- "operators": Array [
504
- Object {
505
- "group": "eq",
506
- "id": 61,
507
- "name": "eq",
508
- "value_type": "timestamp",
509
- },
510
- Object {
511
- "group": "eq",
512
- "id": 62,
513
- "name": "eq",
514
- "value_type": "field",
515
- },
516
- Object {
517
- "group": "not_eq",
518
- "id": 63,
519
- "name": "not_eq",
520
- "value_type": "timestamp",
521
- },
522
- Object {
523
- "group": "not_eq",
524
- "id": 64,
525
- "name": "not_eq",
526
- "value_type": "field",
527
- },
528
- Object {
529
- "group": "gt",
530
- "id": 65,
531
- "name": "gt",
532
- "value_type": "timestamp",
533
- },
534
- Object {
535
- "group": "gt",
536
- "id": 66,
537
- "name": "gt",
538
- "value_type": "field",
539
- },
540
- Object {
541
- "group": "gte",
542
- "id": 67,
543
- "name": "gte",
544
- "value_type": "timestamp",
545
- },
546
- Object {
547
- "group": "gte",
548
- "id": 68,
549
- "name": "gte",
550
- "value_type": "field",
551
- },
552
- Object {
553
- "group": "lt",
554
- "id": 69,
555
- "name": "lt",
556
- "value_type": "timestamp",
557
- },
558
- Object {
559
- "group": "lt",
560
- "id": 70,
561
- "name": "lt",
562
- "value_type": "field",
563
- },
564
- Object {
565
- "group": "lte",
566
- "id": 71,
567
- "name": "lte",
568
- "value_type": "timestamp",
569
- },
570
- Object {
571
- "group": "lte",
572
- "id": 72,
573
- "name": "lte",
574
- "value_type": "field",
575
- },
576
- Object {
577
- "arity": 2,
578
- "id": 73,
579
- "name": "between",
580
- "value_type": "timestamp",
581
- },
582
- Object {
583
- "fixed_values": Array [
584
- "D-0",
585
- "D-1",
586
- "M-0",
587
- "M-1",
588
- "M-2",
589
- "Y-0",
590
- "Y-1",
591
- ],
592
- "group": "eq",
593
- "id": 74,
594
- "name": "eq_var",
595
- "value_type": "string",
596
- },
597
- Object {
598
- "fixed_values": Array [
599
- "D-0",
600
- "D-1",
601
- "M-0",
602
- "M-1",
603
- "M-2",
604
- "Y-0",
605
- "Y-1",
606
- ],
607
- "group": "not_eq",
608
- "id": 75,
609
- "name": "not_eq_var",
610
- "value_type": "string",
611
- },
612
- Object {
613
- "fixed_values": Array [
614
- "D-0",
615
- "D-1",
616
- "M-0",
617
- "M-1",
618
- "M-2",
619
- "Y-0",
620
- "Y-1",
621
- ],
622
- "group": "lt",
623
- "id": 76,
624
- "name": "lt_var",
625
- "value_type": "string",
626
- },
627
- Object {
628
- "fixed_values": Array [
629
- "D-0",
630
- "D-1",
631
- "M-0",
632
- "M-1",
633
- "M-2",
634
- "Y-0",
635
- "Y-1",
636
- ],
637
- "group": "lte",
638
- "id": 77,
639
- "name": "lte_var",
640
- "value_type": "string",
641
- },
642
- Object {
643
- "fixed_values": Array [
644
- "D-0",
645
- "D-1",
646
- "M-0",
647
- "M-1",
648
- "M-2",
649
- "Y-0",
650
- "Y-1",
651
- ],
652
- "group": "gt",
653
- "id": 78,
654
- "name": "gt_var",
655
- "value_type": "string",
656
- },
657
- Object {
658
- "fixed_values": Array [
659
- "D-0",
660
- "D-1",
661
- "M-0",
662
- "M-1",
663
- "M-2",
664
- "Y-0",
665
- "Y-1",
666
- ],
667
- "group": "gte",
668
- "id": 79,
669
- "name": "gte_var",
670
- "value_type": "string",
671
- },
672
- Object {
673
- "arity": 2,
674
- "fixed_values": Array [
675
- "D-0",
676
- "D-1",
677
- "M-0",
678
- "M-1",
679
- "M-2",
680
- "Y-0",
681
- "Y-1",
682
- ],
683
- "id": 80,
684
- "name": "variation_on_count",
685
- "scope": "validation",
686
- "value_type": "string",
687
- },
688
- ],
689
- },
690
- }
691
- }
692
- ruleImplementation={
693
- Object {
694
- "dataset": Array [
695
- Object {
696
- "alias": Object {
697
- "index": 0,
698
- "text": "########_D_PELAYO_POLIZAS_20201202033016_I.txt (0)",
699
- },
700
- "clauses": Array [],
701
- "structure": Object {
702
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt",
703
- "id": 4814765,
704
- "metadata": Object {},
705
- "name": "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
706
- "path": Array [
707
- "Area_Vida",
708
- ],
709
- "system": Object {
710
- "external_id": "file_system",
711
- "id": 33,
712
- "name": "File System",
713
- },
714
- "type": "File",
715
- },
716
- },
717
- Object {
718
- "alias": Object {
719
- "index": 1,
720
- "text": "02_es_provincias (1)",
721
- },
722
- "clauses": Array [
723
- Object {
724
- "left": Object {
725
- "external_id": "https://glue.eu-west-1.amazonaws.com/#/576759405678/cepsa-demo-s3/02_es_provincias/capital",
726
- "id": 4817541,
727
- "metadata": Object {
728
- "account": "576759405678",
729
- "data_type_class": "string",
730
- "database": "cepsa-demo-s3",
731
- "order": "7.0",
732
- "region": "eu-west-1",
733
- "tablename": "02_es_provincias",
734
- "type": "string",
735
- },
736
- "name": "capital",
737
- "parent_index": 1,
738
- "path": Array [
739
- "cepsa-demo-s3",
740
- "02_es_provincias",
741
- ],
742
- "system": Object {
743
- "external_id": "glue",
744
- "id": 94,
745
- "name": "Glue",
746
- },
747
- "type": "Column",
748
- },
749
- "right": Object {
750
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt[Aux. Externo]",
751
- "id": 4814767,
752
- "metadata": Object {
753
- "order": "8",
754
- },
755
- "name": "Aux. Externo",
756
- "parent_index": 0,
757
- "path": Array [
758
- "Area_Vida",
759
- "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
760
- ],
761
- "system": Object {
762
- "external_id": "file_system",
763
- "id": 33,
764
- "name": "File System",
765
- },
766
- "type": "Column",
767
- },
768
- },
769
- ],
770
- "structure": Object {
771
- "external_id": "https://glue.eu-west-1.amazonaws.com/#/576759405678/cepsa-demo-s3/02_es_provincias",
772
- "id": 4817540,
773
- "metadata": Object {
774
- "account": "576759405678",
775
- "alias": "glue",
776
- "database": "cepsa-demo-s3",
777
- "region": "eu-west-1",
778
- "tablename": "02_es_provincias",
779
- },
780
- "name": "02_es_provincias",
781
- "path": Array [
782
- "cepsa-demo-s3",
783
- ],
784
- "system": Object {
785
- "external_id": "glue",
786
- "id": 94,
787
- "name": "Glue",
788
- },
789
- "type": "Table",
790
- },
791
- },
792
- ],
793
- "dfContent": Object {
794
- "principle": "Integridad",
795
- },
796
- "dfName": "Implementaciones",
797
- "executable": true,
798
- "goal": 1,
799
- "id": 852,
800
- "implementationKey": "impl_example_1",
801
- "implementationType": "default",
802
- "minimum": 2010,
803
- "populations": Array [
804
- Array [
805
- Object {
806
- "modifier": undefined,
807
- "operator": Object {
808
- "group": "eq",
809
- "id": 23,
810
- "name": "eq",
811
- "value_type": "field",
812
- },
813
- "structure": Object {
814
- "external_id": "https://glue.eu-west-1.amazonaws.com/#/576759405678/cepsa-demo-s3/02_es_provincias/descripcion",
815
- "field_type": "string",
816
- "id": 4817544,
817
- "metadata": Object {
818
- "account": "576759405678",
819
- "data_type_class": "string",
820
- "database": "cepsa-demo-s3",
821
- "order": "2.0",
822
- "region": "eu-west-1",
823
- "tablename": "02_es_provincias",
824
- "type": "string",
825
- },
826
- "name": "descripcion",
827
- "parent_index": 1,
828
- "path": Array [
829
- "cepsa-demo-s3",
830
- "02_es_provincias",
831
- ],
832
- "system": Object {
833
- "external_id": "glue",
834
- "id": 94,
835
- "name": "Glue",
836
- },
837
- "type": "Column",
838
- },
839
- "value": Array [
840
- Object {
841
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt[Aux. Externo]",
842
- "id": 4814767,
843
- "metadata": Object {
844
- "order": "8",
845
- },
846
- "name": "Aux. Externo",
847
- "parent_index": 0,
848
- "path": Array [
849
- "Area_Vida",
850
- "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
851
- ],
852
- "system": Object {
853
- "external_id": "file_system",
854
- "id": 33,
855
- "name": "File System",
856
- },
857
- "type": "Column",
858
- },
859
- ],
860
- "value_modifier": undefined,
861
- },
862
- ],
863
- ],
864
- "rawContent": Object {},
865
- "result_type": "errors_number",
866
- "validations": Array [
867
- Object {
868
- "modifier": undefined,
869
- "operator": Object {
870
- "group": "length",
871
- "id": 29,
872
- "name": "length_not_eq",
873
- "scope": "validation",
874
- "value_type": "number",
875
- },
876
- "structure": Object {
877
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt[Agencia]",
878
- "field_type": "string",
879
- "id": 4814766,
880
- "metadata": Object {
881
- "order": "6",
882
- },
883
- "name": "Agencia",
884
- "parent_index": 0,
885
- "path": Array [
886
- "Area_Vida",
887
- "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
888
- ],
889
- "system": Object {
890
- "external_id": "file_system",
891
- "id": 33,
892
- "name": "File System",
893
- },
894
- "type": "Column",
895
- },
896
- "value": Array [
897
- Object {
898
- "raw": 2,
899
- },
900
- ],
901
- "value_modifier": undefined,
902
- },
903
- ],
904
- }
905
- }
906
- setImplementationKey={[Function]}
907
- setPopulations={[Function]}
908
- setStructures={[Function]}
909
- setValidations={[Function]}
443
+ <i
444
+ aria-hidden="true"
445
+ class="database small icon"
910
446
  />
911
- </GridRow>
912
- </GridColumn>
913
- <GridColumn
914
- width="5"
915
- >
916
- <ImplementationSummary
917
- ruleImplementation={
918
- Object {
919
- "dataset": Array [
920
- Object {
921
- "alias": Object {
922
- "index": 0,
923
- "text": "########_D_PELAYO_POLIZAS_20201202033016_I.txt (0)",
924
- },
925
- "clauses": Array [],
926
- "structure": Object {
927
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt",
928
- "id": 4814765,
929
- "metadata": Object {},
930
- "name": "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
931
- "path": Array [
932
- "Area_Vida",
933
- ],
934
- "system": Object {
935
- "external_id": "file_system",
936
- "id": 33,
937
- "name": "File System",
938
- },
939
- "type": "File",
940
- },
941
- },
942
- Object {
943
- "alias": Object {
944
- "index": 1,
945
- "text": "02_es_provincias (1)",
946
- },
947
- "clauses": Array [
948
- Object {
949
- "left": Object {
950
- "external_id": "https://glue.eu-west-1.amazonaws.com/#/576759405678/cepsa-demo-s3/02_es_provincias/capital",
951
- "id": 4817541,
952
- "metadata": Object {
953
- "account": "576759405678",
954
- "data_type_class": "string",
955
- "database": "cepsa-demo-s3",
956
- "order": "7.0",
957
- "region": "eu-west-1",
958
- "tablename": "02_es_provincias",
959
- "type": "string",
960
- },
961
- "name": "capital",
962
- "parent_index": 1,
963
- "path": Array [
964
- "cepsa-demo-s3",
965
- "02_es_provincias",
966
- ],
967
- "system": Object {
968
- "external_id": "glue",
969
- "id": 94,
970
- "name": "Glue",
971
- },
972
- "type": "Column",
973
- },
974
- "right": Object {
975
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt[Aux. Externo]",
976
- "id": 4814767,
977
- "metadata": Object {
978
- "order": "8",
979
- },
980
- "name": "Aux. Externo",
981
- "parent_index": 0,
982
- "path": Array [
983
- "Area_Vida",
984
- "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
985
- ],
986
- "system": Object {
987
- "external_id": "file_system",
988
- "id": 33,
989
- "name": "File System",
990
- },
991
- "type": "Column",
992
- },
993
- },
994
- ],
995
- "structure": Object {
996
- "external_id": "https://glue.eu-west-1.amazonaws.com/#/576759405678/cepsa-demo-s3/02_es_provincias",
997
- "id": 4817540,
998
- "metadata": Object {
999
- "account": "576759405678",
1000
- "alias": "glue",
1001
- "database": "cepsa-demo-s3",
1002
- "region": "eu-west-1",
1003
- "tablename": "02_es_provincias",
1004
- },
1005
- "name": "02_es_provincias",
1006
- "path": Array [
1007
- "cepsa-demo-s3",
1008
- ],
1009
- "system": Object {
1010
- "external_id": "glue",
1011
- "id": 94,
1012
- "name": "Glue",
1013
- },
1014
- "type": "Table",
1015
- },
1016
- },
1017
- ],
1018
- "dfContent": Object {
1019
- "principle": "Integridad",
1020
- },
1021
- "dfName": "Implementaciones",
1022
- "executable": true,
1023
- "goal": 1,
1024
- "id": 852,
1025
- "implementationKey": "impl_example_1",
1026
- "implementationType": "default",
1027
- "minimum": 2010,
1028
- "populations": Array [
1029
- Array [
1030
- Object {
1031
- "modifier": undefined,
1032
- "operator": Object {
1033
- "group": "eq",
1034
- "id": 23,
1035
- "name": "eq",
1036
- "value_type": "field",
1037
- },
1038
- "structure": Object {
1039
- "external_id": "https://glue.eu-west-1.amazonaws.com/#/576759405678/cepsa-demo-s3/02_es_provincias/descripcion",
1040
- "field_type": "string",
1041
- "id": 4817544,
1042
- "metadata": Object {
1043
- "account": "576759405678",
1044
- "data_type_class": "string",
1045
- "database": "cepsa-demo-s3",
1046
- "order": "2.0",
1047
- "region": "eu-west-1",
1048
- "tablename": "02_es_provincias",
1049
- "type": "string",
1050
- },
1051
- "name": "descripcion",
1052
- "parent_index": 1,
1053
- "path": Array [
1054
- "cepsa-demo-s3",
1055
- "02_es_provincias",
1056
- ],
1057
- "system": Object {
1058
- "external_id": "glue",
1059
- "id": 94,
1060
- "name": "Glue",
1061
- },
1062
- "type": "Column",
1063
- },
1064
- "value": Array [
1065
- Object {
1066
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt[Aux. Externo]",
1067
- "id": 4814767,
1068
- "metadata": Object {
1069
- "order": "8",
1070
- },
1071
- "name": "Aux. Externo",
1072
- "parent_index": 0,
1073
- "path": Array [
1074
- "Area_Vida",
1075
- "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
1076
- ],
1077
- "system": Object {
1078
- "external_id": "file_system",
1079
- "id": 33,
1080
- "name": "File System",
1081
- },
1082
- "type": "Column",
1083
- },
1084
- ],
1085
- "value_modifier": undefined,
1086
- },
1087
- ],
1088
- ],
1089
- "rawContent": Object {},
1090
- "result_type": "errors_number",
1091
- "validations": Array [
1092
- Object {
1093
- "modifier": undefined,
1094
- "operator": Object {
1095
- "group": "length",
1096
- "id": 29,
1097
- "name": "length_not_eq",
1098
- "scope": "validation",
1099
- "value_type": "number",
1100
- },
1101
- "structure": Object {
1102
- "external_id": "/home/alberto/projects/connectors/td-connector-txt-files/data/########_D_PELAYO_POLIZAS_20201202033016_I.txt[Agencia]",
1103
- "field_type": "string",
1104
- "id": 4814766,
1105
- "metadata": Object {
1106
- "order": "6",
1107
- },
1108
- "name": "Agencia",
1109
- "parent_index": 0,
1110
- "path": Array [
1111
- "Area_Vida",
1112
- "########_D_PELAYO_POLIZAS_20201202033016_I.txt",
1113
- ],
1114
- "system": Object {
1115
- "external_id": "file_system",
1116
- "id": 33,
1117
- "name": "File System",
1118
- },
1119
- "type": "Column",
1120
- },
1121
- "value": Array [
1122
- Object {
1123
- "raw": 2,
1124
- },
1125
- ],
1126
- "value_modifier": undefined,
1127
- },
1128
- ],
1129
- }
1130
- }
1131
- />
1132
- </GridColumn>
1133
- </Grid>
1134
- </Fragment>
447
+ <div
448
+ class="content"
449
+ >
450
+ Data Set
451
+ </div>
452
+ </h3>
453
+ <div
454
+ class="ui segment"
455
+ >
456
+ <table
457
+ class="ui very basic table"
458
+ >
459
+ <thead
460
+ class=""
461
+ >
462
+ <tr
463
+ class=""
464
+ >
465
+ <th
466
+ class=""
467
+ >
468
+ Structure
469
+ </th>
470
+ </tr>
471
+ </thead>
472
+ <tbody
473
+ class=""
474
+ >
475
+ <tr
476
+ class=""
477
+ >
478
+ <td
479
+ class=""
480
+ >
481
+ <a
482
+ href="/structures/4814765"
483
+ >
484
+ <p
485
+ class="highlighted"
486
+ >
487
+ "Area_Vida &gt; ########_D_PELAYO_POLIZAS_20201202033016_I.txt"
488
+ </p>
489
+ </a>
490
+ <span>
491
+ (
492
+ ########_D_PELAYO_POLIZAS_20201202033016_I.txt (0)
493
+ )
494
+ </span>
495
+ </td>
496
+ </tr>
497
+ <tr
498
+ class=""
499
+ >
500
+ <td
501
+ class=""
502
+ >
503
+ <a
504
+ href="/structures/4817540"
505
+ >
506
+ <p
507
+ class="highlighted"
508
+ >
509
+ "cepsa-demo-s3 &gt; 02_es_provincias"
510
+ </p>
511
+ </a>
512
+ <span>
513
+ (
514
+ 02_es_provincias (1)
515
+ )
516
+ </span>
517
+ <div
518
+ class="ui list"
519
+ id="union-list"
520
+ role="list"
521
+ >
522
+ <div
523
+ class="item"
524
+ role="listitem"
525
+ >
526
+ <div
527
+ class="header"
528
+ >
529
+ Union criteria
530
+ </div>
531
+ </div>
532
+ <div
533
+ class="item"
534
+ role="listitem"
535
+ >
536
+ (02_es_provincias (1)).capital
537
+ =
538
+
539
+ (########_D_PELAYO_POLIZAS_20201202033016_I.txt (0)).Aux. Externo
540
+ </div>
541
+ </div>
542
+ </td>
543
+ </tr>
544
+ </tbody>
545
+ </table>
546
+ </div>
547
+ <h3
548
+ class="ui header"
549
+ >
550
+ <i
551
+ aria-hidden="true"
552
+ class="user small icon"
553
+ />
554
+ <div
555
+ class="content"
556
+ >
557
+ Populations
558
+ </div>
559
+ </h3>
560
+ <div
561
+ class="ui segment"
562
+ >
563
+ <table
564
+ class="ui very basic table"
565
+ >
566
+ <thead
567
+ class=""
568
+ >
569
+ <tr
570
+ class=""
571
+ >
572
+ <th
573
+ class=""
574
+ >
575
+ Field
576
+ </th>
577
+ <th
578
+ class=""
579
+ >
580
+ Operator
581
+ </th>
582
+ <th
583
+ class=""
584
+ >
585
+ Values
586
+ </th>
587
+ </tr>
588
+ </thead>
589
+ <tbody
590
+ class=""
591
+ >
592
+ <tr
593
+ class=""
594
+ >
595
+ <td
596
+ class="five wide"
597
+ >
598
+ <a
599
+ href="/structures/4817544"
600
+ >
601
+ <span
602
+ class="highlighted"
603
+ >
604
+ (02_es_provincias (1)).
605
+
606
+ "descripcion"
607
+ </span>
608
+ </a>
609
+ </td>
610
+ <td
611
+ class="five wide"
612
+ >
613
+ <span
614
+ class="highlighted"
615
+ >
616
+ "is"
617
+ </span>
618
+ </td>
619
+ <td
620
+ class="five wide"
621
+ >
622
+ <a
623
+ href="/structures/4814767"
624
+ >
625
+ <span
626
+ class="highlighted"
627
+ >
628
+ "Area_Vida &gt; ########_D_PELAYO_POLIZAS_20201202033016_I.txt &gt; Aux. Externo"
629
+ </span>
630
+
631
+ </a>
632
+ </td>
633
+ </tr>
634
+ </tbody>
635
+ </table>
636
+ </div>
637
+ <h3
638
+ class="ui header"
639
+ >
640
+ <i
641
+ aria-hidden="true"
642
+ class="setting small icon"
643
+ />
644
+ <div
645
+ class="content"
646
+ >
647
+ Validation
648
+ </div>
649
+ </h3>
650
+ <div
651
+ class="ui segment"
652
+ >
653
+ <table
654
+ class="ui very basic table"
655
+ >
656
+ <thead
657
+ class=""
658
+ >
659
+ <tr
660
+ class=""
661
+ >
662
+ <th
663
+ class=""
664
+ >
665
+ Field
666
+ </th>
667
+ <th
668
+ class=""
669
+ >
670
+ Operator
671
+ </th>
672
+ <th
673
+ class=""
674
+ >
675
+ Values
676
+ </th>
677
+ </tr>
678
+ </thead>
679
+ <tbody
680
+ class=""
681
+ >
682
+ <tr
683
+ class=""
684
+ >
685
+ <td
686
+ class="five wide"
687
+ >
688
+ <a
689
+ href="/structures/4814766"
690
+ >
691
+ <span
692
+ class="highlighted"
693
+ >
694
+ (########_D_PELAYO_POLIZAS_20201202033016_I.txt (0)).
695
+
696
+ "Agencia"
697
+ </span>
698
+ </a>
699
+ </td>
700
+ <td
701
+ class="five wide"
702
+ >
703
+ <span
704
+ class="highlighted"
705
+ >
706
+ "length not equal to"
707
+ </span>
708
+ </td>
709
+ <td
710
+ class="five wide"
711
+ >
712
+ <span
713
+ class="highlighted"
714
+ >
715
+ "2"
716
+ </span>
717
+ </td>
718
+ </tr>
719
+ </tbody>
720
+ </table>
721
+ </div>
722
+ <h3
723
+ class="ui header"
724
+ >
725
+ <i
726
+ aria-hidden="true"
727
+ class="grid layout small icon"
728
+ />
729
+ <div
730
+ class="content"
731
+ >
732
+ Segments
733
+ </div>
734
+ </h3>
735
+ <div
736
+ class="ui segment"
737
+ >
738
+ <table
739
+ class="ui very basic table"
740
+ >
741
+ <thead
742
+ class=""
743
+ >
744
+ <tr
745
+ class=""
746
+ >
747
+ <th
748
+ class=""
749
+ >
750
+ Field
751
+ </th>
752
+ </tr>
753
+ </thead>
754
+ <tbody
755
+ class=""
756
+ >
757
+ <tr
758
+ class=""
759
+ >
760
+ <td
761
+ class="five wide"
762
+ >
763
+ <a
764
+ href="/structures/4814766"
765
+ >
766
+ <span
767
+ class="highlighted"
768
+ >
769
+ (########_D_PELAYO_POLIZAS_20201202033016_I.txt (0)).
770
+
771
+ "Agencia"
772
+ </span>
773
+ </a>
774
+ </td>
775
+ </tr>
776
+ </tbody>
777
+ </table>
778
+ </div>
779
+ </div>
780
+ </div>
781
+ </div>
1135
782
  `;
1136
783
 
1137
784
  exports[`<NewRuleImplementation /> matches the latest snapshot 1`] = `
1138
- <Fragment>
1139
- <lazy />
1140
- <Grid
1141
- className="full-height"
1142
- divided={true}
785
+ <div>
786
+ <div
787
+ class="ui divided grid full-height"
788
+ style="display: none;"
1143
789
  >
1144
- <GridColumn
1145
- width="11"
790
+ <div
791
+ class="eleven wide column"
1146
792
  >
1147
- <GridRow>
1148
- <Header
1149
- as="h2"
793
+ <div
794
+ class="row"
795
+ >
796
+ <h2
797
+ class="ui header"
1150
798
  >
1151
- <HeaderContent>
1152
- <MemoizedFormattedMessage
1153
- id="ruleImplementations.actions.create"
1154
- />
1155
- </HeaderContent>
1156
- </Header>
1157
- <Divider
1158
- hidden={true}
799
+ <div
800
+ class="content"
801
+ >
802
+ New Implementation
803
+ </div>
804
+ </h2>
805
+ <div
806
+ class="ui hidden divider"
1159
807
  />
1160
- </GridRow>
1161
- <GridRow
1162
- stretched={true}
808
+ </div>
809
+ <div
810
+ class="stretched row"
1163
811
  >
1164
- <Connect(RuleImplementationForm)
1165
- addPopulation={[Function]}
1166
- handleSubmit={[Function]}
1167
- onChange={[Function]}
1168
- ruleImplementation={
1169
- Object {
1170
- "dataset": Array [
1171
- Object {},
1172
- ],
1173
- "dfContent": Object {},
1174
- "dfName": "",
1175
- "executable": true,
1176
- "goal": null,
1177
- "implementationKey": "",
1178
- "implementationType": "default",
1179
- "minimum": null,
1180
- "population": Array [],
1181
- "populations": Array [],
1182
- "rawContent": Object {
1183
- "database": "",
1184
- "dataset": "",
1185
- "population": "",
1186
- "source_id": null,
1187
- "validations": "",
1188
- },
1189
- "result_type": "percentage",
1190
- "validations": Array [
1191
- Object {},
1192
- ],
1193
- }
1194
- }
1195
- setImplementationKey={[Function]}
1196
- setPopulations={[Function]}
1197
- setStructures={[Function]}
1198
- setValidations={[Function]}
1199
- />
1200
- </GridRow>
1201
- </GridColumn>
1202
- <GridColumn
1203
- width="5"
812
+ <div
813
+ class="column"
814
+ >
815
+ <div
816
+ class="stretched center aligned row"
817
+ >
818
+ <div
819
+ class="ui small steps"
820
+ >
821
+ <div
822
+ class="active step"
823
+ >
824
+ <i
825
+ aria-hidden="true"
826
+ class="info icon"
827
+ />
828
+ <div
829
+ class="content"
830
+ >
831
+ <div
832
+ class="title"
833
+ >
834
+ Information
835
+ </div>
836
+ </div>
837
+ </div>
838
+ <div
839
+ class="step"
840
+ >
841
+ <i
842
+ aria-hidden="true"
843
+ class="database icon"
844
+ />
845
+ <div
846
+ class="content"
847
+ >
848
+ <div
849
+ class="title"
850
+ >
851
+ Data Set
852
+ </div>
853
+ </div>
854
+ </div>
855
+ <div
856
+ class="step"
857
+ >
858
+ <i
859
+ aria-hidden="true"
860
+ class="user icon"
861
+ />
862
+ <div
863
+ class="content"
864
+ >
865
+ <div
866
+ class="title"
867
+ >
868
+ Populations
869
+ </div>
870
+ </div>
871
+ </div>
872
+ <div
873
+ class="step"
874
+ >
875
+ <i
876
+ aria-hidden="true"
877
+ class="setting icon"
878
+ />
879
+ <div
880
+ class="content"
881
+ >
882
+ <div
883
+ class="title"
884
+ >
885
+ Validations
886
+ </div>
887
+ </div>
888
+ </div>
889
+ <div
890
+ class="step"
891
+ >
892
+ <i
893
+ aria-hidden="true"
894
+ class="grid layout icon"
895
+ />
896
+ <div
897
+ class="content"
898
+ >
899
+ <div
900
+ class="title"
901
+ >
902
+ Segments
903
+ </div>
904
+ </div>
905
+ </div>
906
+ </div>
907
+ <div
908
+ class="ui fitted hidden divider"
909
+ />
910
+ </div>
911
+ <div
912
+ class="stretched row rule-impl-form-row"
913
+ >
914
+ <form
915
+ class="ui form"
916
+ >
917
+ <div
918
+ class="field"
919
+ >
920
+ <div
921
+ class="ui checked toggle checkbox"
922
+ >
923
+ <input
924
+ checked=""
925
+ class="hidden"
926
+ name="executable"
927
+ readonly=""
928
+ tabindex="0"
929
+ type="radio"
930
+ value=""
931
+ />
932
+ <label>
933
+ Executable
934
+ </label>
935
+ </div>
936
+ </div>
937
+ <div
938
+ class="field"
939
+ >
940
+ <label>
941
+ Implementation Key
942
+ <i
943
+ aria-hidden="true"
944
+ class="question circle outline icon rule-form-popup"
945
+ />
946
+ </label>
947
+ <div
948
+ class="field"
949
+ >
950
+ <div
951
+ class="ui input"
952
+ >
953
+ <input
954
+ autocomplete="off"
955
+ name="implementation_key"
956
+ placeholder="Rule Implementation Key"
957
+ type="text"
958
+ value=""
959
+ />
960
+ </div>
961
+ </div>
962
+ </div>
963
+ <div
964
+ class="ui segment"
965
+ >
966
+ <div
967
+ class="field"
968
+ >
969
+ <label
970
+ class="rule-form-label"
971
+ >
972
+ Result Type
973
+ <span>
974
+ *
975
+ </span>
976
+ <i
977
+ aria-hidden="true"
978
+ class="question circle outline icon rule-form-popup"
979
+ />
980
+ </label>
981
+ <div
982
+ class="inline fields"
983
+ >
984
+ <div
985
+ class="field"
986
+ >
987
+ <div
988
+ class="ui checked radio checkbox"
989
+ >
990
+ <input
991
+ checked=""
992
+ class="hidden"
993
+ name="result_type"
994
+ readonly=""
995
+ tabindex="0"
996
+ type="radio"
997
+ value="percentage"
998
+ />
999
+ <label>
1000
+ Percentage
1001
+ </label>
1002
+ </div>
1003
+ </div>
1004
+ <div
1005
+ class="field"
1006
+ >
1007
+ <div
1008
+ class="ui radio checkbox"
1009
+ >
1010
+ <input
1011
+ class="hidden"
1012
+ name="result_type"
1013
+ readonly=""
1014
+ tabindex="0"
1015
+ type="radio"
1016
+ value="deviation"
1017
+ />
1018
+ <label>
1019
+ Deviation
1020
+ </label>
1021
+ </div>
1022
+ </div>
1023
+ <div
1024
+ class="field"
1025
+ >
1026
+ <div
1027
+ class="ui radio checkbox"
1028
+ >
1029
+ <input
1030
+ class="hidden"
1031
+ name="result_type"
1032
+ readonly=""
1033
+ tabindex="0"
1034
+ type="radio"
1035
+ value="errors_number"
1036
+ />
1037
+ <label>
1038
+ Error count
1039
+ </label>
1040
+ </div>
1041
+ </div>
1042
+ </div>
1043
+ </div>
1044
+ <div
1045
+ class="field"
1046
+ >
1047
+ <label
1048
+ class="rule-form-label"
1049
+ >
1050
+ Threshold
1051
+ <span>
1052
+ *
1053
+ </span>
1054
+ <i
1055
+ aria-hidden="true"
1056
+ class="question circle outline icon rule-form-popup"
1057
+ />
1058
+ <div
1059
+ class="ui left pointing label"
1060
+ >
1061
+ Required field is empty
1062
+ </div>
1063
+ </label>
1064
+ <div
1065
+ class="field"
1066
+ >
1067
+ <div
1068
+ class="ui input"
1069
+ >
1070
+ <input
1071
+ autocomplete="off"
1072
+ name="minimum"
1073
+ placeholder="Threshold value"
1074
+ type="text"
1075
+ value=""
1076
+ />
1077
+ </div>
1078
+ </div>
1079
+ </div>
1080
+ <div
1081
+ class="field"
1082
+ >
1083
+ <label
1084
+ class="rule-form-label"
1085
+ >
1086
+ Goal
1087
+ <span>
1088
+ *
1089
+ </span>
1090
+ <i
1091
+ aria-hidden="true"
1092
+ class="question circle outline icon rule-form-popup"
1093
+ />
1094
+ <div
1095
+ class="ui left pointing label"
1096
+ >
1097
+ Required field is empty
1098
+ </div>
1099
+ </label>
1100
+ <div
1101
+ class="field"
1102
+ >
1103
+ <div
1104
+ class="ui input"
1105
+ >
1106
+ <input
1107
+ autocomplete="off"
1108
+ name="goal"
1109
+ placeholder="Goal value"
1110
+ type="text"
1111
+ value=""
1112
+ />
1113
+ </div>
1114
+ </div>
1115
+ </div>
1116
+ </div>
1117
+ </form>
1118
+ </div>
1119
+ <div
1120
+ class="ui hidden divider"
1121
+ />
1122
+ <div
1123
+ class="stretched row"
1124
+ >
1125
+ <button
1126
+ class="ui primary disabled right floated button"
1127
+ disabled=""
1128
+ tabindex="-1"
1129
+ type="submit"
1130
+ >
1131
+ Next
1132
+ </button>
1133
+ <button
1134
+ class="ui secondary right floated button"
1135
+ >
1136
+ Cancel
1137
+ </button>
1138
+ </div>
1139
+ </div>
1140
+ </div>
1141
+ </div>
1142
+ <div
1143
+ class="five wide column"
1204
1144
  >
1205
- <ImplementationSummary
1206
- ruleImplementation={
1207
- Object {
1208
- "dataset": Array [
1209
- Object {},
1210
- ],
1211
- "dfContent": Object {},
1212
- "dfName": "",
1213
- "executable": true,
1214
- "goal": null,
1215
- "implementationKey": "",
1216
- "implementationType": "default",
1217
- "minimum": null,
1218
- "population": Array [],
1219
- "populations": Array [],
1220
- "rawContent": Object {
1221
- "database": "",
1222
- "dataset": "",
1223
- "population": "",
1224
- "source_id": null,
1225
- "validations": "",
1226
- },
1227
- "result_type": "percentage",
1228
- "validations": Array [
1229
- Object {},
1230
- ],
1231
- }
1232
- }
1233
- />
1234
- </GridColumn>
1235
- </Grid>
1236
- </Fragment>
1145
+ <h3
1146
+ class="ui header"
1147
+ >
1148
+ <i
1149
+ aria-hidden="true"
1150
+ class="info small icon"
1151
+ />
1152
+ <div
1153
+ class="content"
1154
+ >
1155
+ Information
1156
+ </div>
1157
+ </h3>
1158
+ <div
1159
+ class="ui segment"
1160
+ >
1161
+ <div
1162
+ class="ui list"
1163
+ role="list"
1164
+ >
1165
+ <div
1166
+ class="item"
1167
+ role="listitem"
1168
+ >
1169
+ <div
1170
+ class="header"
1171
+ >
1172
+ Limits
1173
+ </div>
1174
+ <div
1175
+ class="content"
1176
+ >
1177
+ <div
1178
+ class="description"
1179
+ >
1180
+ Percentage
1181
+ </div>
1182
+ </div>
1183
+ </div>
1184
+ <div
1185
+ class="item"
1186
+ role="listitem"
1187
+ >
1188
+ <i
1189
+ aria-hidden="true"
1190
+ class="yellow circle icon"
1191
+ />
1192
+ <div
1193
+ class="content"
1194
+ >
1195
+ <div
1196
+ class="header"
1197
+ >
1198
+ Threshold
1199
+ </div>
1200
+ <div
1201
+ class="description"
1202
+ />
1203
+ </div>
1204
+ </div>
1205
+ <div
1206
+ class="item"
1207
+ role="listitem"
1208
+ >
1209
+ <i
1210
+ aria-hidden="true"
1211
+ class="green circle icon"
1212
+ />
1213
+ <div
1214
+ class="content"
1215
+ >
1216
+ <div
1217
+ class="header"
1218
+ >
1219
+ Goal
1220
+ </div>
1221
+ <div
1222
+ class="description"
1223
+ />
1224
+ </div>
1225
+ </div>
1226
+ </div>
1227
+ </div>
1228
+ </div>
1229
+ </div>
1230
+ </div>
1237
1231
  `;