@truedat/df 4.48.2 → 4.48.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/df",
|
|
3
|
-
"version": "4.48.
|
|
3
|
+
"version": "4.48.3",
|
|
4
4
|
"description": "Truedat Web Data Quality Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@truedat/auth": "4.48.
|
|
91
|
-
"@truedat/core": "4.48.
|
|
90
|
+
"@truedat/auth": "4.48.3",
|
|
91
|
+
"@truedat/core": "4.48.3",
|
|
92
92
|
"axios": "^0.19.2",
|
|
93
93
|
"path-to-regexp": "^1.7.0",
|
|
94
94
|
"prop-types": "^15.8.1",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"react-dom": ">= 16.8.6 < 17",
|
|
108
108
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "5b30312f30c532988985ab9271d1e39ad0ad5c43"
|
|
111
111
|
}
|
|
@@ -5,7 +5,7 @@ import { FieldGroupSubSegment } from "../FieldGroupSubSegment";
|
|
|
5
5
|
describe("<FieldGroupSubSegment />", () => {
|
|
6
6
|
const setState = jest.fn();
|
|
7
7
|
const useStateSpy = jest.spyOn(React, "useState");
|
|
8
|
-
useStateSpy.mockImplementation(init => [init, setState]);
|
|
8
|
+
useStateSpy.mockImplementation((init) => [init, setState]);
|
|
9
9
|
|
|
10
10
|
const onFieldChange = jest.fn();
|
|
11
11
|
const name = "copy";
|
|
@@ -19,7 +19,7 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
19
19
|
parsedValues: undefined,
|
|
20
20
|
type: "string",
|
|
21
21
|
value: "a",
|
|
22
|
-
widget: "string"
|
|
22
|
+
widget: "string",
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
cardinality: "1",
|
|
@@ -38,11 +38,11 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
38
38
|
{ text: "template.widget.copy.fixed.column", value: "DAT" },
|
|
39
39
|
{ text: "template.widget.copy.fixed.column", value: "TXT" },
|
|
40
40
|
{ text: "template.widget.copy.fixed.column", value: "Sin formato" },
|
|
41
|
-
{ text: "template.widget.copy.without.fixed.column", value: "hola" }
|
|
42
|
-
]
|
|
41
|
+
{ text: "template.widget.copy.without.fixed.column", value: "hola" },
|
|
42
|
+
],
|
|
43
43
|
},
|
|
44
|
-
widget: "copy"
|
|
45
|
-
}
|
|
44
|
+
widget: "copy",
|
|
45
|
+
},
|
|
46
46
|
];
|
|
47
47
|
const props = { onFieldChange, name, fields, prevFields };
|
|
48
48
|
|
|
@@ -66,12 +66,12 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
66
66
|
.onChange(
|
|
67
67
|
{
|
|
68
68
|
preventDefault() {},
|
|
69
|
-
target: {}
|
|
69
|
+
target: {},
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
name: "copy",
|
|
73
73
|
value:
|
|
74
|
-
'{"fileFormat": "DAT", "compression": "brotli", "fields": [{ "name": "New54", "type": "string", "size": 40 },{ "name": "New53", "type": "string", "size": 40 }]}'
|
|
74
|
+
'{"fileFormat": "DAT", "compression": "brotli", "fields": [{ "name": "New54", "type": "string", "size": 40 },{ "name": "New53", "type": "string", "size": 40 }]}',
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
expect(wrapper.find("Segment > div Button").props().disabled).toBe(true);
|
|
@@ -86,12 +86,12 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
86
86
|
.onChange(
|
|
87
87
|
{
|
|
88
88
|
preventDefault() {},
|
|
89
|
-
target: {}
|
|
89
|
+
target: {},
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
name: "copy",
|
|
93
93
|
value:
|
|
94
|
-
'{"fileFormat": "DAT", "compression": "brotli", "fields": [{ "name": "New54", "type": "string", "size": 40 },{ "name": "New53", "type": "string", "size": 40 }]}'
|
|
94
|
+
'{"fileFormat": "DAT", "compression": "brotli", "fields": [{ "name": "New54", "type": "string", "size": 40 },{ "name": "New53", "type": "string", "size": 40 }]}',
|
|
95
95
|
}
|
|
96
96
|
);
|
|
97
97
|
expect(wrapper.find(".errorMessage").props().id).toBe(
|
|
@@ -108,12 +108,12 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
108
108
|
.onChange(
|
|
109
109
|
{
|
|
110
110
|
preventDefault() {},
|
|
111
|
-
target: {}
|
|
111
|
+
target: {},
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
name: "copy",
|
|
115
115
|
value:
|
|
116
|
-
'{"fileFormat": "DAT", "header": false, "compression": "brotli", "fields": [{ "name": "New54", "type": "string"},{ "name": "New53", "type": "string", "size": 40 }]}'
|
|
116
|
+
'{"fileFormat": "DAT", "header": false, "compression": "brotli", "fields": [{ "name": "New54", "type": "string"},{ "name": "New53", "type": "string", "size": 40 }]}',
|
|
117
117
|
}
|
|
118
118
|
);
|
|
119
119
|
expect(wrapper.find(".errorMessage").props().id).toBe(
|
|
@@ -130,12 +130,12 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
130
130
|
.onChange(
|
|
131
131
|
{
|
|
132
132
|
preventDefault() {},
|
|
133
|
-
target: {}
|
|
133
|
+
target: {},
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
name: "copy",
|
|
137
137
|
value:
|
|
138
|
-
'{"fileFormat": "DAT", "header": false, "compression": "brotli", "delimiter": "sss","fields": [{ "name": "New54", "type": "string"},{ "name": "New53", "type": "string", "size": 40 }]}'
|
|
138
|
+
'{"fileFormat": "DAT", "header": false, "compression": "brotli", "delimiter": "sss","fields": [{ "name": "New54", "type": "string"},{ "name": "New53", "type": "string", "size": 40 }]}',
|
|
139
139
|
}
|
|
140
140
|
);
|
|
141
141
|
expect(wrapper.find(".errorMessage").props().id).toBe(
|
|
@@ -152,12 +152,12 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
152
152
|
.onChange(
|
|
153
153
|
{
|
|
154
154
|
preventDefault() {},
|
|
155
|
-
target: {}
|
|
155
|
+
target: {},
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
name: "copy",
|
|
159
159
|
value:
|
|
160
|
-
'{"fileFormat": "DAT", "header": false, "compression": "brotli","fields": [{ "name": "New54.", "type": "string", "size": 40},{ "name": "New53", "type": "string", "size": 40 }]}'
|
|
160
|
+
'{"fileFormat": "DAT", "header": false, "compression": "brotli","fields": [{ "name": "New54.", "type": "string", "size": 40},{ "name": "New53", "type": "string", "size": 40 }]}',
|
|
161
161
|
}
|
|
162
162
|
);
|
|
163
163
|
expect(wrapper.find(".errorMessage").props().id).toBe(
|
|
@@ -174,12 +174,12 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
174
174
|
.onChange(
|
|
175
175
|
{
|
|
176
176
|
preventDefault() {},
|
|
177
|
-
target: {}
|
|
177
|
+
target: {},
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
name: "copy",
|
|
181
181
|
value:
|
|
182
|
-
'{"header": false, "compression": "brotli","fields": [{ "name": "New54", "type": "string", "size": 40},{ "name": "New53", "type": "string", "size": 40 }]}'
|
|
182
|
+
'{"header": false, "compression": "brotli","fields": [{ "name": "New54", "type": "string", "size": 40},{ "name": "New53", "type": "string", "size": 40 }]}',
|
|
183
183
|
}
|
|
184
184
|
);
|
|
185
185
|
expect(wrapper.find(".errorMessage").props().id).toBe(
|
|
@@ -196,12 +196,12 @@ describe("<FieldGroupSubSegment />", () => {
|
|
|
196
196
|
.onChange(
|
|
197
197
|
{
|
|
198
198
|
preventDefault() {},
|
|
199
|
-
target: {}
|
|
199
|
+
target: {},
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
name: "copy",
|
|
203
203
|
value:
|
|
204
|
-
'{"fileFormat": "DAT","header": false, "compression": "brotli","fields": [{ "name": "New54", "type": "test", "size": 40},{ "name": "New53", "type": "string", "size": 40 }]}'
|
|
204
|
+
'{"fileFormat": "DAT","header": false, "compression": "brotli","fields": [{ "name": "New54", "type": "test", "size": 40},{ "name": "New53", "type": "string", "size": 40 }]}',
|
|
205
205
|
}
|
|
206
206
|
);
|
|
207
207
|
expect(wrapper.find(".errorMessage").props().id).toBe(
|