@truedat/dq 4.46.12 → 4.47.2

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.
@@ -1,3 +1,326 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<RuleResultsRoutes> matches the latest snapshot 1`] = `<div />`;
3
+ exports[`<RuleResultsRoutes> matches the latest loading snapshot 1`] = `
4
+ <div>
5
+ <div
6
+ class="ui active loader"
7
+ />
8
+ </div>
9
+ `;
10
+
11
+ exports[`<RuleResultsRoutes> matches the latest success details route snapshot 1`] = `
12
+ <div>
13
+ <div
14
+ class="ui segment"
15
+ >
16
+ <div
17
+ class="ui breadcrumb"
18
+ >
19
+ <a
20
+ class="section"
21
+ href="/implementations"
22
+ >
23
+ Implementations
24
+ </a>
25
+ <i
26
+ aria-hidden="true"
27
+ class="right angle icon divider"
28
+ />
29
+ <a
30
+ class="section"
31
+ href="/implementations/2"
32
+ >
33
+ mi implementación molona
34
+ </a>
35
+ <i
36
+ aria-hidden="true"
37
+ class="right angle icon divider"
38
+ />
39
+ <div
40
+ class="active section"
41
+ >
42
+ <time
43
+ datetime="1656028800000"
44
+ >
45
+ 2022-06-24 00:00
46
+ </time>
47
+ </div>
48
+ </div>
49
+ <h2
50
+ class="ui header"
51
+ >
52
+ <i
53
+ aria-hidden="true"
54
+ class="chart pie circular icon"
55
+ />
56
+ <div
57
+ class="content"
58
+ >
59
+ Rule execution result
60
+ </div>
61
+ </h2>
62
+ <div
63
+ class="ui pointing secondary top attached tabular menu"
64
+ >
65
+ <a
66
+ class="active item"
67
+ href="/implementations/2/results/1"
68
+ >
69
+ Information
70
+ </a>
71
+ <a
72
+ class="item"
73
+ href="/implementations/2/results/1/segment_results"
74
+ >
75
+ Segments Results
76
+ </a>
77
+ <a
78
+ class="item"
79
+ href="/implementations/2/results/1/remediation_plan"
80
+ >
81
+ Remedy Plan
82
+ </a>
83
+ </div>
84
+ <table
85
+ class="ui table implementation-results medium"
86
+ >
87
+ <thead
88
+ class=""
89
+ >
90
+ <tr
91
+ class=""
92
+ >
93
+ <th
94
+ class=""
95
+ colspan="2"
96
+ >
97
+ Information
98
+ </th>
99
+ </tr>
100
+ </thead>
101
+ <tbody
102
+ class=""
103
+ >
104
+ <tr
105
+ class=""
106
+ >
107
+ <td
108
+ class=""
109
+ >
110
+ Quality
111
+ </td>
112
+ <td
113
+ class=""
114
+ >
115
+ <i
116
+ aria-hidden="true"
117
+ class="green circle icon"
118
+ />
119
+ 93.54 %
120
+ </td>
121
+ </tr>
122
+ <tr
123
+ class=""
124
+ >
125
+ <td
126
+ class=""
127
+ >
128
+ Date
129
+ </td>
130
+ <td
131
+ class=""
132
+ >
133
+ <time
134
+ datetime="1656028800000"
135
+ >
136
+ 2022-06-24 00:00
137
+ </time>
138
+ </td>
139
+ </tr>
140
+ <tr
141
+ class=""
142
+ >
143
+ <td
144
+ class=""
145
+ >
146
+ Records
147
+ </td>
148
+ <td
149
+ class=""
150
+ >
151
+ 31
152
+ </td>
153
+ </tr>
154
+ <tr
155
+ class=""
156
+ >
157
+ <td
158
+ class=""
159
+ >
160
+ Errors
161
+ </td>
162
+ <td
163
+ class=""
164
+ >
165
+ 2
166
+ </td>
167
+ </tr>
168
+ </tbody>
169
+ </table>
170
+ </div>
171
+ </div>
172
+ `;
173
+
174
+ exports[`<RuleResultsRoutes> matches the latest success remediation route snapshot 1`] = `
175
+ <div>
176
+ <div
177
+ class="ui segment"
178
+ >
179
+ <div
180
+ class="ui breadcrumb"
181
+ >
182
+ <a
183
+ class="section"
184
+ href="/implementations"
185
+ >
186
+ Implementations
187
+ </a>
188
+ <i
189
+ aria-hidden="true"
190
+ class="right angle icon divider"
191
+ />
192
+ <a
193
+ class="section"
194
+ href="/implementations/2"
195
+ >
196
+ mi implementación molona
197
+ </a>
198
+ <i
199
+ aria-hidden="true"
200
+ class="right angle icon divider"
201
+ />
202
+ <div
203
+ class="active section"
204
+ >
205
+ <time
206
+ datetime="1656028800000"
207
+ >
208
+ 2022-06-24 00:00
209
+ </time>
210
+ </div>
211
+ </div>
212
+ <h2
213
+ class="ui header"
214
+ >
215
+ <i
216
+ aria-hidden="true"
217
+ class="chart pie circular icon"
218
+ />
219
+ <div
220
+ class="content"
221
+ >
222
+ Rule execution result
223
+ </div>
224
+ </h2>
225
+ <div
226
+ class="ui pointing secondary top attached tabular menu"
227
+ >
228
+ <a
229
+ class="item"
230
+ href="/implementations/2/results/1"
231
+ >
232
+ Information
233
+ </a>
234
+ <a
235
+ class="item"
236
+ href="/implementations/2/results/1/segment_results"
237
+ >
238
+ Segments Results
239
+ </a>
240
+ <a
241
+ class="active item"
242
+ href="/implementations/2/results/1/remediation_plan"
243
+ >
244
+ Remedy Plan
245
+ </a>
246
+ </div>
247
+ </div>
248
+ </div>
249
+ `;
250
+
251
+ exports[`<RuleResultsRoutes> matches the latest success segments route snapshot 1`] = `
252
+ <div>
253
+ <div
254
+ class="ui segment"
255
+ >
256
+ <div
257
+ class="ui breadcrumb"
258
+ >
259
+ <a
260
+ class="section"
261
+ href="/implementations"
262
+ >
263
+ Implementations
264
+ </a>
265
+ <i
266
+ aria-hidden="true"
267
+ class="right angle icon divider"
268
+ />
269
+ <a
270
+ class="section"
271
+ href="/implementations/2"
272
+ >
273
+ mi implementación molona
274
+ </a>
275
+ <i
276
+ aria-hidden="true"
277
+ class="right angle icon divider"
278
+ />
279
+ <div
280
+ class="active section"
281
+ >
282
+ <time
283
+ datetime="1656028800000"
284
+ >
285
+ 2022-06-24 00:00
286
+ </time>
287
+ </div>
288
+ </div>
289
+ <h2
290
+ class="ui header"
291
+ >
292
+ <i
293
+ aria-hidden="true"
294
+ class="chart pie circular icon"
295
+ />
296
+ <div
297
+ class="content"
298
+ >
299
+ Rule execution result
300
+ </div>
301
+ </h2>
302
+ <div
303
+ class="ui pointing secondary top attached tabular menu"
304
+ >
305
+ <a
306
+ class="item"
307
+ href="/implementations/2/results/1"
308
+ >
309
+ Information
310
+ </a>
311
+ <a
312
+ class="active item"
313
+ href="/implementations/2/results/1/segment_results"
314
+ >
315
+ Segments Results
316
+ </a>
317
+ <a
318
+ class="item"
319
+ href="/implementations/2/results/1/remediation_plan"
320
+ >
321
+ Remedy Plan
322
+ </a>
323
+ </div>
324
+ </div>
325
+ </div>
326
+ `;
@@ -546,7 +546,6 @@ export default {
546
546
  "ruleImplementations.props.rule_template": "Plantilla de regla",
547
547
  "ruleImplementations.props.implementation_template":
548
548
  "Plantilla de implementación",
549
-
550
549
  "ruleImplementations.props.version": "Versión",
551
550
  "ruleImplementations.retrieved.results":
552
551
  "{count} implementaciones encontradas",
@@ -8,7 +8,8 @@ import RuleResultDecorator from "../components/RuleResultDecorator";
8
8
  import RuleImplementationLink from "../components/RuleImplementationLink";
9
9
  import RuleLink from "../components/RuleLink";
10
10
 
11
- const translateDecorator = (id) => <FormattedMessage id={id} />;
11
+ const translateDecorator = (id) =>
12
+ id ? <FormattedMessage id={id} defaultMessage={id} /> : null;
12
13
 
13
14
  const resultTypeDecorator = (result, result_type) =>
14
15
  result_type === "errors_number" ? formatNumber(result) : `${result}%`;
@@ -28,13 +29,6 @@ export const defaultImplementationColumns = [
28
29
  fieldDecorator: RuleLink,
29
30
  width: 2,
30
31
  },
31
- {
32
- name: "status",
33
- fieldDecorator: (value) =>
34
- translateDecorator(`ruleImplementation.status.${value}`),
35
- sort: { name: "status" },
36
- width: 2,
37
- },
38
32
  {
39
33
  name: "business_concept",
40
34
  fieldSelector: _.path("current_business_concept_version.name"),