@truedat/ie 7.5.7 → 7.5.10

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 (106) hide show
  1. package/package.json +42 -67
  2. package/src/ingests/components/EventRow.js +1 -2
  3. package/src/ingests/components/Events.js +3 -4
  4. package/src/ingests/components/FieldGroupTable.js +1 -2
  5. package/src/ingests/components/Ingest.js +1 -2
  6. package/src/ingests/components/IngestActions.js +1 -2
  7. package/src/ingests/components/IngestArchive.js +2 -3
  8. package/src/ingests/components/IngestArchiveLoader.js +16 -38
  9. package/src/ingests/components/IngestArchiveRow.js +5 -6
  10. package/src/ingests/components/IngestCompleteness.js +0 -1
  11. package/src/ingests/components/IngestCrumbs.js +2 -4
  12. package/src/ingests/components/IngestDetails.js +3 -3
  13. package/src/ingests/components/IngestDuplicate.js +5 -8
  14. package/src/ingests/components/IngestEdit.js +5 -8
  15. package/src/ingests/components/IngestExecutions.js +7 -7
  16. package/src/ingests/components/IngestExecutionsLoader.js +2 -2
  17. package/src/ingests/components/IngestFilters.js +5 -6
  18. package/src/ingests/components/IngestForm.js +4 -5
  19. package/src/ingests/components/IngestHeader.js +0 -1
  20. package/src/ingests/components/IngestLoader.js +16 -58
  21. package/src/ingests/components/IngestRoutes.js +272 -231
  22. package/src/ingests/components/IngestRow.js +4 -5
  23. package/src/ingests/components/IngestSelectedFilters.js +10 -10
  24. package/src/ingests/components/IngestSummary.js +0 -2
  25. package/src/ingests/components/IngestTabs.js +13 -13
  26. package/src/ingests/components/Ingests.js +0 -1
  27. package/src/ingests/components/IngestsActions.js +1 -2
  28. package/src/ingests/components/IngestsLabelResults.js +1 -2
  29. package/src/ingests/components/IngestsLoader.js +1 -1
  30. package/src/ingests/components/IngestsSearch.js +0 -1
  31. package/src/ingests/components/IngestsSelector.js +0 -1
  32. package/src/ingests/components/IngestsTable.js +85 -94
  33. package/src/ingests/components/IngestsTabs.js +2 -3
  34. package/src/ingests/components/__tests__/Events.spec.js +10 -10
  35. package/src/ingests/components/__tests__/Ingest.spec.js +16 -5
  36. package/src/ingests/components/__tests__/IngestActions.spec.js +7 -7
  37. package/src/ingests/components/__tests__/IngestArchive.spec.js +7 -7
  38. package/src/ingests/components/__tests__/IngestArchiveLoader.spec.js +70 -69
  39. package/src/ingests/components/__tests__/IngestArchiveRow.spec.js +10 -12
  40. package/src/ingests/components/__tests__/IngestCompleteness.spec.js +0 -1
  41. package/src/ingests/components/__tests__/IngestDetails.spec.js +10 -10
  42. package/src/ingests/components/__tests__/IngestExecutions.spec.js +7 -7
  43. package/src/ingests/components/__tests__/IngestExecutionsLoader.spec.js +38 -47
  44. package/src/ingests/components/__tests__/IngestFilters.spec.js +0 -1
  45. package/src/ingests/components/__tests__/IngestForm.spec.js +18 -40
  46. package/src/ingests/components/__tests__/IngestHeader.spec.js +9 -9
  47. package/src/ingests/components/__tests__/IngestLabelResults.spec.js +0 -1
  48. package/src/ingests/components/__tests__/IngestLoader.spec.js +70 -41
  49. package/src/ingests/components/__tests__/IngestRoutes.spec.js +176 -0
  50. package/src/ingests/components/__tests__/IngestSelectedFilters.spec.js +33 -5
  51. package/src/ingests/components/__tests__/Ingests.spec.js +32 -6
  52. package/src/ingests/components/__tests__/IngestsActions.spec.js +5 -5
  53. package/src/ingests/components/__tests__/IngestsLoader.spec.js +65 -36
  54. package/src/ingests/components/__tests__/IngestsTable.spec.js +16 -7
  55. package/src/ingests/components/__tests__/__snapshots__/Events.spec.js.snap +83 -43
  56. package/src/ingests/components/__tests__/__snapshots__/Ingest.spec.js.snap +27 -14
  57. package/src/ingests/components/__tests__/__snapshots__/IngestActions.spec.js.snap +19 -20
  58. package/src/ingests/components/__tests__/__snapshots__/IngestArchive.spec.js.snap +79 -65
  59. package/src/ingests/components/__tests__/__snapshots__/IngestArchiveLoader.spec.js.snap +1 -1
  60. package/src/ingests/components/__tests__/__snapshots__/IngestArchiveRow.spec.js.snap +30 -30
  61. package/src/ingests/components/__tests__/__snapshots__/IngestDetails.spec.js.snap +30 -13
  62. package/src/ingests/components/__tests__/__snapshots__/IngestExecutions.spec.js.snap +121 -101
  63. package/src/ingests/components/__tests__/__snapshots__/IngestExecutionsLoader.spec.js.snap +1 -1
  64. package/src/ingests/components/__tests__/__snapshots__/IngestFilters.spec.js.snap +1 -1
  65. package/src/ingests/components/__tests__/__snapshots__/IngestForm.spec.js.snap +28 -27
  66. package/src/ingests/components/__tests__/__snapshots__/IngestHeader.spec.js.snap +21 -19
  67. package/src/ingests/components/__tests__/__snapshots__/IngestLabelResults.spec.js.snap +1 -1
  68. package/src/ingests/components/__tests__/__snapshots__/IngestLoader.spec.js.snap +1 -15
  69. package/src/ingests/components/__tests__/__snapshots__/IngestRoutes.spec.js.snap +243 -0
  70. package/src/ingests/components/__tests__/__snapshots__/IngestSelectedFilters.spec.js.snap +22 -16
  71. package/src/ingests/components/__tests__/__snapshots__/Ingests.spec.js.snap +50 -33
  72. package/src/ingests/components/__tests__/__snapshots__/IngestsActions.spec.js.snap +17 -50
  73. package/src/ingests/components/__tests__/__snapshots__/IngestsLoader.spec.js.snap +1 -21
  74. package/src/ingests/components/__tests__/__snapshots__/IngestsTable.spec.js.snap +15 -24
  75. package/src/ingests/components/index.js +1 -1
  76. package/src/ingests/constants/mappings.js +6 -6
  77. package/src/ingests/relations/components/IngestLinkActions.js +0 -1
  78. package/src/ingests/relations/components/IngestLinksActions.js +1 -2
  79. package/src/ingests/relations/components/IngestRelationsRoutes.js +67 -69
  80. package/src/ingests/relations/components/IngestToDataStructureRelations.js +2 -2
  81. package/src/ingests/relations/components/IngestToIngestForm.js +4 -4
  82. package/src/ingests/relations/components/IngestToIngestRelations.js +4 -4
  83. package/src/ingests/relations/components/IngestToStructureForm.js +6 -6
  84. package/src/ingests/relations/components/__tests__/IngestRelationsRoutes.spec.js +80 -4
  85. package/src/ingests/relations/components/__tests__/IngestToIngestForm.spec.js +24 -25
  86. package/src/ingests/relations/components/__tests__/IngestToStructureForm.spec.js +42 -23
  87. package/src/ingests/relations/components/__tests__/__snapshots__/IngestRelationsRoutes.spec.js.snap +49 -23
  88. package/src/ingests/relations/components/__tests__/__snapshots__/IngestToIngestForm.spec.js.snap +85 -27
  89. package/src/ingests/relations/components/__tests__/__snapshots__/IngestToStructureForm.spec.js.snap +30 -35
  90. package/src/ingests/relations/selectors/__tests__/getIngestLinks.spec.js +20 -20
  91. package/src/ingests/relations/selectors/__tests__/getRelations.spec.js +17 -17
  92. package/src/ingests/relations/selectors/getIngestLinks.js +1 -2
  93. package/src/ingests/relations/selectors/getRelations.js +6 -6
  94. package/src/ingests/sagas/fetchIngest.js +1 -1
  95. package/src/ingests/sagas/fetchIngestArchive.js +1 -1
  96. package/src/ingests/sagas/fetchIngestExecutions.js +1 -1
  97. package/src/ingests/selectors/getIngestColumns.js +12 -13
  98. package/src/ingests/selectors/getIngestTemplate.js +1 -1
  99. package/src/ingests/selectors/getParsedEvents.js +15 -15
  100. package/src/ingests/selectors/getTemplateFields.js +3 -3
  101. package/src/ingests/selectors/getTemplateGroups.js +1 -1
  102. package/src/ingests/utils/filterOptions.js +3 -2
  103. package/src/ingests/components/__tests__/IngestDuplicate.spec.js +0 -67
  104. package/src/ingests/components/__tests__/IngestEdit.spec.js +0 -79
  105. package/src/ingests/components/__tests__/__snapshots__/IngestDuplicate.spec.js.snap +0 -85
  106. package/src/ingests/components/__tests__/__snapshots__/IngestEdit.spec.js.snap +0 -80
@@ -1,72 +1,86 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<IngestArchive /> matches the latest snapshot 1`] = `
4
- <Segment
5
- attached="bottom"
6
- >
7
- <Grid>
8
- <GridRow>
9
- <GridColumn>
10
- <Table
11
- as="table"
12
- selectable={true}
4
+ <div>
5
+ <div
6
+ class="ui bottom attached segment"
7
+ >
8
+ <div
9
+ class="ui grid"
10
+ >
11
+ <div
12
+ class="row"
13
+ >
14
+ <div
15
+ class="column"
13
16
  >
14
- <TableHeader
15
- as="thead"
17
+ <table
18
+ class="ui selectable table"
16
19
  >
17
- <TableRow
18
- as="tr"
19
- cellAs="td"
20
+ <thead
21
+ class=""
20
22
  >
21
- <TableHeaderCell
22
- as="th"
23
- content={
24
- <Memo(MemoizedFormattedMessage)
25
- id="ingests.props.status"
26
- />
27
- }
28
- />
29
- <TableHeaderCell
30
- as="th"
31
- content={
32
- <Memo(MemoizedFormattedMessage)
33
- id="ingests.props.version"
34
- />
35
- }
36
- />
37
- <TableHeaderCell
38
- as="th"
39
- content={
40
- <Memo(MemoizedFormattedMessage)
41
- id="ingests.props.last_change_by"
42
- />
43
- }
44
- />
45
- <TableHeaderCell
46
- as="th"
47
- content={
48
- <Memo(MemoizedFormattedMessage)
49
- id="ingests.props.last_change_at"
50
- />
51
- }
52
- />
53
- </TableRow>
54
- </TableHeader>
55
- <TableBody
56
- as="tbody"
57
- >
58
- <IngestArchiveRow
59
- id={123}
60
- key="0"
61
- last_change_at="2018-06-27T07:32:53.154377Z"
62
- last_change_by="maixu"
63
- status="status"
64
- version={1}
65
- />
66
- </TableBody>
67
- </Table>
68
- </GridColumn>
69
- </GridRow>
70
- </Grid>
71
- </Segment>
23
+ <tr
24
+ class=""
25
+ >
26
+ <th
27
+ class=""
28
+ >
29
+ ingests.props.status
30
+ </th>
31
+ <th
32
+ class=""
33
+ >
34
+ ingests.props.version
35
+ </th>
36
+ <th
37
+ class=""
38
+ >
39
+ ingests.props.last_change_by
40
+ </th>
41
+ <th
42
+ class=""
43
+ >
44
+ ingests.props.last_change_at
45
+ </th>
46
+ </tr>
47
+ </thead>
48
+ <tbody
49
+ class=""
50
+ >
51
+ <tr
52
+ class=""
53
+ >
54
+ <td
55
+ class=""
56
+ >
57
+ ingests.status.status
58
+ </td>
59
+ <td
60
+ class=""
61
+ >
62
+ 1
63
+ </td>
64
+ <td
65
+ class=""
66
+ >
67
+ maixu
68
+ </td>
69
+ <td
70
+ class=""
71
+ >
72
+ <time
73
+ datetime="1530084773154"
74
+ >
75
+ 2018-06-27 07:32
76
+ </time>
77
+ </td>
78
+ </tr>
79
+ </tbody>
80
+ </table>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
72
86
  `;
@@ -1,3 +1,3 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<IngestArchiveLoader /> matches the latest snapshot 1`] = `""`;
3
+ exports[`<IngestArchiveLoader /> matches the latest snapshot 1`] = `<div />`;
@@ -1,34 +1,34 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<IngestArchiveRow /> matches the latest snapshot 1`] = `
4
- <TableRow
5
- as="tr"
6
- cellAs="td"
7
- onClick={[Function]}
8
- >
9
- <TableCell
10
- as="td"
11
- content={
12
- <Memo(MemoizedFormattedMessage)
13
- id="ingests.status.status"
14
- />
15
- }
16
- />
17
- <TableCell
18
- as="td"
19
- content={1}
20
- />
21
- <TableCell
22
- as="td"
23
- content="maixu"
24
- />
25
- <TableCell
26
- as="td"
27
- content={
28
- <DateTime
29
- value="2018-06-27T07:32:53.154377Z"
30
- />
31
- }
32
- />
33
- </TableRow>
4
+ <div>
5
+ <tr
6
+ class=""
7
+ >
8
+ <td
9
+ class=""
10
+ >
11
+ ingests.status.status
12
+ </td>
13
+ <td
14
+ class=""
15
+ >
16
+ 1
17
+ </td>
18
+ <td
19
+ class=""
20
+ >
21
+ maixu
22
+ </td>
23
+ <td
24
+ class=""
25
+ >
26
+ <time
27
+ datetime="1530084773154"
28
+ >
29
+ 2018-06-27 07:32
30
+ </time>
31
+ </td>
32
+ </tr>
33
+ </div>
34
34
  `;
@@ -1,19 +1,36 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<IngestDetails /> matches the latest snapshot 1`] = `
4
- <Segment
5
- attached="bottom"
6
- >
7
- <Header
8
- as="h3"
4
+ <div>
5
+ <div
6
+ class="ui bottom attached segment"
9
7
  >
10
- <MemoizedFormattedMessage
11
- id="ingests.props.description"
8
+ <h3
9
+ class="ui header"
10
+ >
11
+ ingests.props.description
12
+ </h3>
13
+ <div
14
+ autocorrect="on"
15
+ data-gramm="false"
16
+ data-key="13"
17
+ data-slate-editor="true"
18
+ spellcheck="true"
19
+ style="outline: none; white-space: pre-wrap; word-wrap: break-word;"
12
20
  />
13
- </Header>
14
- <injectIntl(RichTextEditor)
15
- readOnly={true}
16
- />
17
- <lazy />
18
- </Segment>
21
+ <div
22
+ class="ui negative message"
23
+ >
24
+ <div
25
+ class="content"
26
+ >
27
+ <div
28
+ class="header"
29
+ >
30
+ template.not_found.message
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </div>
19
36
  `;
@@ -1,110 +1,130 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<IngestExecutions /> matches the latest snapshot 1`] = `
4
- <Fragment>
5
- <Segment
6
- attached="bottom"
4
+ <div>
5
+ <div
6
+ class="ui bottom attached segment"
7
7
  >
8
- <Grid>
9
- <GridRow>
10
- <GridColumn>
11
- <Table
12
- as="table"
13
- selectable={true}
8
+ <div
9
+ class="ui grid"
10
+ >
11
+ <div
12
+ class="row"
13
+ >
14
+ <div
15
+ class="column"
16
+ >
17
+ <table
18
+ class="ui selectable table"
14
19
  >
15
- <TableHeader
16
- as="thead"
20
+ <thead
21
+ class=""
17
22
  >
18
- <TableRow
19
- as="tr"
20
- cellAs="td"
23
+ <tr
24
+ class=""
21
25
  >
22
- <TableHeaderCell
23
- as="th"
24
- content={
25
- <Memo(MemoizedFormattedMessage)
26
- id="ingestsExecutions.props.status"
27
- />
28
- }
29
- />
30
- <TableHeaderCell
31
- as="th"
32
- content={
33
- <Memo(MemoizedFormattedMessage)
34
- id="ingestsExecutions.props.description"
35
- />
36
- }
37
- />
38
- <TableHeaderCell
39
- as="th"
40
- content={
41
- <Memo(MemoizedFormattedMessage)
42
- id="ingestsExecutions.props.start"
43
- />
44
- }
45
- />
46
- <TableHeaderCell
47
- as="th"
48
- content={
49
- <Memo(MemoizedFormattedMessage)
50
- id="ingestsExecutions.props.end"
51
- />
52
- }
53
- />
54
- <TableHeaderCell
55
- as="th"
56
- content={
57
- <Memo(MemoizedFormattedMessage)
58
- id="ingestsExecutions.props.transmission_time"
59
- />
60
- }
61
- />
62
- <TableHeaderCell
63
- as="th"
64
- content={
65
- <Memo(MemoizedFormattedMessage)
66
- id="ingestsExecutions.props.file_name"
67
- />
68
- }
69
- />
70
- <TableHeaderCell
71
- as="th"
72
- content={
73
- <Memo(MemoizedFormattedMessage)
74
- id="ingestsExecutions.props.file_size"
75
- />
76
- }
77
- />
78
- <TableHeaderCell
79
- as="th"
80
- content={
81
- <Memo(MemoizedFormattedMessage)
82
- id="ingestsExecutions.props.records"
83
- />
84
- }
85
- />
86
- </TableRow>
87
- </TableHeader>
88
- <TableBody
89
- as="tbody"
26
+ <th
27
+ class=""
28
+ >
29
+ ingestsExecutions.props.status
30
+ </th>
31
+ <th
32
+ class=""
33
+ >
34
+ ingestsExecutions.props.description
35
+ </th>
36
+ <th
37
+ class=""
38
+ >
39
+ ingestsExecutions.props.start
40
+ </th>
41
+ <th
42
+ class=""
43
+ >
44
+ ingestsExecutions.props.end
45
+ </th>
46
+ <th
47
+ class=""
48
+ >
49
+ ingestsExecutions.props.transmission_time
50
+ </th>
51
+ <th
52
+ class=""
53
+ >
54
+ ingestsExecutions.props.file_name
55
+ </th>
56
+ <th
57
+ class=""
58
+ >
59
+ ingestsExecutions.props.file_size
60
+ </th>
61
+ <th
62
+ class=""
63
+ >
64
+ ingestsExecutions.props.records
65
+ </th>
66
+ </tr>
67
+ </thead>
68
+ <tbody
69
+ class=""
90
70
  >
91
- <IngestExecutionRow
92
- ingest={
93
- {
94
- "end_timestamp": "2018-06-27T07:32:53.154377Z",
95
- "file_name": "file_name",
96
- "file_size": 5432,
97
- "start_timestamp": "2018-06-27T07:32:53.154377Z",
98
- "status": "status",
99
- }
100
- }
101
- key="0"
102
- />
103
- </TableBody>
104
- </Table>
105
- </GridColumn>
106
- </GridRow>
107
- </Grid>
108
- </Segment>
109
- </Fragment>
71
+ <tr
72
+ class=""
73
+ >
74
+ <td
75
+ class=""
76
+ >
77
+ status
78
+ </td>
79
+ <td
80
+ class=""
81
+ >
82
+ -
83
+ </td>
84
+ <td
85
+ class=""
86
+ >
87
+ <time
88
+ datetime="1530084773154"
89
+ >
90
+ 2018-06-27 07:32
91
+ </time>
92
+ </td>
93
+ <td
94
+ class=""
95
+ >
96
+ <time
97
+ datetime="1530084773154"
98
+ >
99
+ 2018-06-27 07:32
100
+ </time>
101
+ </td>
102
+ <td
103
+ class=""
104
+ >
105
+ 0:00
106
+ </td>
107
+ <td
108
+ class=""
109
+ >
110
+ file_name
111
+ </td>
112
+ <td
113
+ class=""
114
+ >
115
+ 5.3 KB
116
+ </td>
117
+ <td
118
+ class=""
119
+ >
120
+ -
121
+ </td>
122
+ </tr>
123
+ </tbody>
124
+ </table>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ </div>
110
130
  `;
@@ -1,3 +1,3 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<IngestExecutionsLoader /> matches the latest snapshot 1`] = `""`;
3
+ exports[`<IngestExecutionsLoader /> matches the latest snapshot 1`] = `<div />`;
@@ -28,7 +28,7 @@ exports[`<IngestFilters /> matches the latest snapshot 1`] = `
28
28
  role="option"
29
29
  >
30
30
  <em>
31
- (reset all filters)
31
+ (reset filters)
32
32
  </em>
33
33
  </div>
34
34
  <div