@truedat/df 4.36.4 → 4.36.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/df",
|
|
3
|
-
"version": "4.36.
|
|
3
|
+
"version": "4.36.8",
|
|
4
4
|
"description": "Truedat Web Data Quality Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"jest": "^27.0.6",
|
|
44
44
|
"react": "^16.14.0",
|
|
45
45
|
"react-dom": "^16.14.0",
|
|
46
|
-
"redux-saga-test-plan": "^4.0.
|
|
46
|
+
"redux-saga-test-plan": "^4.0.4",
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"semantic-ui-react": "^2.0.3"
|
|
49
49
|
},
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@truedat/auth": "4.36.
|
|
84
|
-
"@truedat/core": "4.36.
|
|
83
|
+
"@truedat/auth": "4.36.8",
|
|
84
|
+
"@truedat/core": "4.36.8",
|
|
85
85
|
"axios": "^0.19.2",
|
|
86
86
|
"path-to-regexp": "^1.7.0",
|
|
87
87
|
"prop-types": "^15.7.2",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"react-dom": ">= 16.8.6 < 17",
|
|
101
101
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "b9b8ee80998b230697593b5d207d187971bc0724"
|
|
104
104
|
}
|
|
@@ -10,42 +10,40 @@ export const TemplateFormActions = ({
|
|
|
10
10
|
templateSaving,
|
|
11
11
|
templateDeleting,
|
|
12
12
|
onDelete,
|
|
13
|
-
onSave
|
|
13
|
+
onSave,
|
|
14
14
|
}) => (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
header
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
handleSubmit={onDelete}
|
|
38
|
-
/>
|
|
39
|
-
)}
|
|
40
|
-
<Button
|
|
41
|
-
primary
|
|
42
|
-
content={<FormattedMessage id="actions.save" />}
|
|
43
|
-
onClick={onSave}
|
|
44
|
-
loading={templateSaving}
|
|
45
|
-
disabled={templateSaving || templateDeleting}
|
|
15
|
+
<div className="actions">
|
|
16
|
+
{id && (
|
|
17
|
+
<ConfirmModal
|
|
18
|
+
icon="trash"
|
|
19
|
+
trigger={
|
|
20
|
+
<Button
|
|
21
|
+
negative
|
|
22
|
+
content={<FormattedMessage id="actions.delete" />}
|
|
23
|
+
loading={templateDeleting}
|
|
24
|
+
disabled={templateSaving || templateDeleting}
|
|
25
|
+
/>
|
|
26
|
+
}
|
|
27
|
+
header={
|
|
28
|
+
<FormattedMessage id="template.actions.delete.confirmation.header" />
|
|
29
|
+
}
|
|
30
|
+
content={
|
|
31
|
+
<FormattedMessage
|
|
32
|
+
id="template.actions.delete.confirmation.content"
|
|
33
|
+
values={{ name: <i>{name}</i> }}
|
|
34
|
+
/>
|
|
35
|
+
}
|
|
36
|
+
onConfirm={onDelete}
|
|
46
37
|
/>
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
)}
|
|
39
|
+
<Button
|
|
40
|
+
primary
|
|
41
|
+
content={<FormattedMessage id="actions.save" />}
|
|
42
|
+
onClick={onSave}
|
|
43
|
+
loading={templateSaving}
|
|
44
|
+
disabled={templateSaving || templateDeleting}
|
|
45
|
+
/>
|
|
46
|
+
</div>
|
|
49
47
|
);
|
|
50
48
|
|
|
51
49
|
TemplateFormActions.propTypes = {
|
|
@@ -53,12 +51,12 @@ TemplateFormActions.propTypes = {
|
|
|
53
51
|
templateDeleting: PropTypes.bool.isRequired,
|
|
54
52
|
templateSaving: PropTypes.bool.isRequired,
|
|
55
53
|
onDelete: PropTypes.func.isRequired,
|
|
56
|
-
onSave: PropTypes.func.isRequired
|
|
54
|
+
onSave: PropTypes.func.isRequired,
|
|
57
55
|
};
|
|
58
56
|
|
|
59
57
|
const mapStateToProps = ({ templateDeleting, templateSaving }) => ({
|
|
60
58
|
templateDeleting,
|
|
61
|
-
templateSaving
|
|
59
|
+
templateSaving,
|
|
62
60
|
});
|
|
63
61
|
|
|
64
62
|
export default connect(mapStateToProps)(TemplateFormActions);
|
|
@@ -1,166 +1,160 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`<TemplateFormActions /> matches the latest snapshot (deleting) 1`] = `
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
</i>,
|
|
17
|
-
}
|
|
4
|
+
<div
|
|
5
|
+
className="actions"
|
|
6
|
+
>
|
|
7
|
+
<ConfirmModal
|
|
8
|
+
content={
|
|
9
|
+
<Memo(MemoizedFormattedMessage)
|
|
10
|
+
id="template.actions.delete.confirmation.content"
|
|
11
|
+
values={
|
|
12
|
+
Object {
|
|
13
|
+
"name": <i>
|
|
14
|
+
Name
|
|
15
|
+
</i>,
|
|
18
16
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</
|
|
17
|
+
}
|
|
18
|
+
/>
|
|
19
|
+
}
|
|
20
|
+
header={
|
|
21
|
+
<Memo(MemoizedFormattedMessage)
|
|
22
|
+
id="template.actions.delete.confirmation.header"
|
|
23
|
+
/>
|
|
24
|
+
}
|
|
25
|
+
icon="trash"
|
|
26
|
+
onConfirm={[MockFunction]}
|
|
27
|
+
trigger={
|
|
28
|
+
<Button
|
|
29
|
+
as="button"
|
|
30
|
+
content={
|
|
31
|
+
<Memo(MemoizedFormattedMessage)
|
|
32
|
+
id="actions.delete"
|
|
33
|
+
/>
|
|
34
|
+
}
|
|
35
|
+
disabled={true}
|
|
36
|
+
loading={true}
|
|
37
|
+
negative={true}
|
|
38
|
+
/>
|
|
39
|
+
}
|
|
40
|
+
/>
|
|
41
|
+
<Button
|
|
42
|
+
as="button"
|
|
43
|
+
content={
|
|
44
|
+
<Memo(MemoizedFormattedMessage)
|
|
45
|
+
id="actions.save"
|
|
46
|
+
/>
|
|
47
|
+
}
|
|
48
|
+
disabled={true}
|
|
49
|
+
loading={false}
|
|
50
|
+
onClick={[MockFunction]}
|
|
51
|
+
primary={true}
|
|
52
|
+
/>
|
|
53
|
+
</div>
|
|
56
54
|
`;
|
|
57
55
|
|
|
58
56
|
exports[`<TemplateFormActions /> matches the latest snapshot (saving) 1`] = `
|
|
59
|
-
<
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</i>,
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
/>
|
|
75
|
-
}
|
|
76
|
-
handleSubmit={[MockFunction]}
|
|
77
|
-
header={
|
|
78
|
-
<Memo(MemoizedFormattedMessage)
|
|
79
|
-
id="template.actions.delete.confirmation.header"
|
|
80
|
-
/>
|
|
81
|
-
}
|
|
82
|
-
icon="trash"
|
|
83
|
-
trigger={
|
|
84
|
-
<Button
|
|
85
|
-
as="button"
|
|
86
|
-
content={
|
|
87
|
-
<Memo(MemoizedFormattedMessage)
|
|
88
|
-
id="actions.delete"
|
|
89
|
-
/>
|
|
57
|
+
<div
|
|
58
|
+
className="actions"
|
|
59
|
+
>
|
|
60
|
+
<ConfirmModal
|
|
61
|
+
content={
|
|
62
|
+
<Memo(MemoizedFormattedMessage)
|
|
63
|
+
id="template.actions.delete.confirmation.content"
|
|
64
|
+
values={
|
|
65
|
+
Object {
|
|
66
|
+
"name": <i>
|
|
67
|
+
Name
|
|
68
|
+
</i>,
|
|
90
69
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
70
|
+
}
|
|
71
|
+
/>
|
|
72
|
+
}
|
|
73
|
+
header={
|
|
74
|
+
<Memo(MemoizedFormattedMessage)
|
|
75
|
+
id="template.actions.delete.confirmation.header"
|
|
76
|
+
/>
|
|
77
|
+
}
|
|
78
|
+
icon="trash"
|
|
79
|
+
onConfirm={[MockFunction]}
|
|
80
|
+
trigger={
|
|
81
|
+
<Button
|
|
82
|
+
as="button"
|
|
83
|
+
content={
|
|
84
|
+
<Memo(MemoizedFormattedMessage)
|
|
85
|
+
id="actions.delete"
|
|
86
|
+
/>
|
|
87
|
+
}
|
|
88
|
+
disabled={true}
|
|
89
|
+
loading={false}
|
|
90
|
+
negative={true}
|
|
91
|
+
/>
|
|
92
|
+
}
|
|
93
|
+
/>
|
|
94
|
+
<Button
|
|
95
|
+
as="button"
|
|
96
|
+
content={
|
|
97
|
+
<Memo(MemoizedFormattedMessage)
|
|
98
|
+
id="actions.save"
|
|
99
|
+
/>
|
|
100
|
+
}
|
|
101
|
+
disabled={true}
|
|
102
|
+
loading={true}
|
|
103
|
+
onClick={[MockFunction]}
|
|
104
|
+
primary={true}
|
|
105
|
+
/>
|
|
106
|
+
</div>
|
|
111
107
|
`;
|
|
112
108
|
|
|
113
109
|
exports[`<TemplateFormActions /> matches the latest snapshot 1`] = `
|
|
114
|
-
<
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
</i>,
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
/>
|
|
130
|
-
}
|
|
131
|
-
handleSubmit={[MockFunction]}
|
|
132
|
-
header={
|
|
133
|
-
<Memo(MemoizedFormattedMessage)
|
|
134
|
-
id="template.actions.delete.confirmation.header"
|
|
135
|
-
/>
|
|
136
|
-
}
|
|
137
|
-
icon="trash"
|
|
138
|
-
trigger={
|
|
139
|
-
<Button
|
|
140
|
-
as="button"
|
|
141
|
-
content={
|
|
142
|
-
<Memo(MemoizedFormattedMessage)
|
|
143
|
-
id="actions.delete"
|
|
144
|
-
/>
|
|
110
|
+
<div
|
|
111
|
+
className="actions"
|
|
112
|
+
>
|
|
113
|
+
<ConfirmModal
|
|
114
|
+
content={
|
|
115
|
+
<Memo(MemoizedFormattedMessage)
|
|
116
|
+
id="template.actions.delete.confirmation.content"
|
|
117
|
+
values={
|
|
118
|
+
Object {
|
|
119
|
+
"name": <i>
|
|
120
|
+
Name
|
|
121
|
+
</i>,
|
|
145
122
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
123
|
+
}
|
|
124
|
+
/>
|
|
125
|
+
}
|
|
126
|
+
header={
|
|
127
|
+
<Memo(MemoizedFormattedMessage)
|
|
128
|
+
id="template.actions.delete.confirmation.header"
|
|
129
|
+
/>
|
|
130
|
+
}
|
|
131
|
+
icon="trash"
|
|
132
|
+
onConfirm={[MockFunction]}
|
|
133
|
+
trigger={
|
|
134
|
+
<Button
|
|
135
|
+
as="button"
|
|
136
|
+
content={
|
|
137
|
+
<Memo(MemoizedFormattedMessage)
|
|
138
|
+
id="actions.delete"
|
|
139
|
+
/>
|
|
140
|
+
}
|
|
141
|
+
disabled={false}
|
|
142
|
+
loading={false}
|
|
143
|
+
negative={true}
|
|
144
|
+
/>
|
|
145
|
+
}
|
|
146
|
+
/>
|
|
147
|
+
<Button
|
|
148
|
+
as="button"
|
|
149
|
+
content={
|
|
150
|
+
<Memo(MemoizedFormattedMessage)
|
|
151
|
+
id="actions.save"
|
|
152
|
+
/>
|
|
153
|
+
}
|
|
154
|
+
disabled={false}
|
|
155
|
+
loading={false}
|
|
156
|
+
onClick={[MockFunction]}
|
|
157
|
+
primary={true}
|
|
158
|
+
/>
|
|
159
|
+
</div>
|
|
166
160
|
`;
|