@truedat/dq 4.46.1 → 4.46.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.
- package/CHANGELOG.md +6 -0
- package/package.json +5 -5
- package/src/components/RuleForm.js +1 -5
- package/src/components/RuleProperties.js +1 -4
- package/src/components/__tests__/__snapshots__/RuleForm.spec.js.snap +6 -6
- package/src/components/__tests__/__snapshots__/RuleProperties.spec.js.snap +0 -1
- package/src/components/ruleImplementationForm/FiltersFormGroup.js +1 -4
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersFormGroup.spec.js.snap +36 -1
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersGroup.spec.js.snap +36 -1
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/ValueConditions.spec.js.snap +36 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dq",
|
|
3
|
-
"version": "4.46.
|
|
3
|
+
"version": "4.46.2",
|
|
4
4
|
"description": "Truedat Web Data Quality Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.4",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.46.
|
|
37
|
+
"@truedat/test": "4.46.2",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@apollo/client": "^3.6.4",
|
|
91
|
-
"@truedat/core": "4.46.
|
|
92
|
-
"@truedat/df": "4.46.
|
|
91
|
+
"@truedat/core": "4.46.2",
|
|
92
|
+
"@truedat/df": "4.46.2",
|
|
93
93
|
"axios": "^0.19.2",
|
|
94
94
|
"graphql": "^15.5.3",
|
|
95
95
|
"path-to-regexp": "^1.7.0",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"react-dom": ">= 16.8.6 < 17",
|
|
111
111
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "161f3fae4428ee4e4e26b62fd2f9764ce389d0e2"
|
|
114
114
|
}
|
|
@@ -16,17 +16,13 @@ import {
|
|
|
16
16
|
Popup,
|
|
17
17
|
Icon,
|
|
18
18
|
} from "semantic-ui-react";
|
|
19
|
-
import { HistoryBackButton } from "@truedat/core/components";
|
|
19
|
+
import { HistoryBackButton, RichTextEditor } from "@truedat/core/components";
|
|
20
20
|
import { getDomainSelectorOptions } from "@truedat/bg/selectors";
|
|
21
21
|
|
|
22
22
|
const DomainDropdownSelector = React.lazy(() =>
|
|
23
23
|
import("@truedat/bg/taxonomy/components/DomainDropdownSelector")
|
|
24
24
|
);
|
|
25
25
|
|
|
26
|
-
const RichTextEditor = React.lazy(() =>
|
|
27
|
-
import("@truedat/core/components/RichTextEditor")
|
|
28
|
-
);
|
|
29
|
-
|
|
30
26
|
const ConceptSelector = React.lazy(() =>
|
|
31
27
|
import("@truedat/bg/concepts/relations/components/ConceptSelector")
|
|
32
28
|
);
|
|
@@ -6,12 +6,9 @@ import { connect } from "react-redux";
|
|
|
6
6
|
import { Link } from "react-router-dom";
|
|
7
7
|
import { List, Label } from "semantic-ui-react";
|
|
8
8
|
import "rc-slider/assets/index.css";
|
|
9
|
+
import { RichTextEditor } from "@truedat/core/components";
|
|
9
10
|
import { linkTo } from "@truedat/core/routes";
|
|
10
11
|
|
|
11
|
-
const RichTextEditor = React.lazy(() =>
|
|
12
|
-
import("@truedat/core/components/RichTextEditor")
|
|
13
|
-
);
|
|
14
|
-
|
|
15
12
|
const getStatusColor = (active) =>
|
|
16
13
|
({
|
|
17
14
|
false: "teal",
|
|
@@ -145,23 +145,23 @@ exports[`<RuleForm /> matches the latest snapshot (edit mode) 1`] = `
|
|
|
145
145
|
autocorrect="on"
|
|
146
146
|
contenteditable="true"
|
|
147
147
|
data-gramm="false"
|
|
148
|
-
data-key="
|
|
148
|
+
data-key="4"
|
|
149
149
|
data-slate-editor="true"
|
|
150
150
|
role="textbox"
|
|
151
151
|
spellcheck="true"
|
|
152
152
|
style="outline: none; white-space: pre-wrap; word-wrap: break-word;"
|
|
153
153
|
>
|
|
154
154
|
<div
|
|
155
|
-
data-key="
|
|
155
|
+
data-key="5"
|
|
156
156
|
data-slate-object="block"
|
|
157
157
|
style="position: relative;"
|
|
158
158
|
>
|
|
159
159
|
<span
|
|
160
|
-
data-key="
|
|
160
|
+
data-key="7"
|
|
161
161
|
data-slate-object="text"
|
|
162
162
|
>
|
|
163
163
|
<span
|
|
164
|
-
data-offset-key="
|
|
164
|
+
data-offset-key="7:0"
|
|
165
165
|
data-slate-leaf="true"
|
|
166
166
|
>
|
|
167
167
|
<span>
|
|
@@ -602,11 +602,11 @@ exports[`<RuleForm /> matches the latest snapshot 1`] = `
|
|
|
602
602
|
style="position: relative;"
|
|
603
603
|
>
|
|
604
604
|
<span
|
|
605
|
-
data-key="
|
|
605
|
+
data-key="3"
|
|
606
606
|
data-slate-object="text"
|
|
607
607
|
>
|
|
608
608
|
<span
|
|
609
|
-
data-offset-key="
|
|
609
|
+
data-offset-key="3:0"
|
|
610
610
|
data-slate-leaf="true"
|
|
611
611
|
>
|
|
612
612
|
<span>
|
|
@@ -3,15 +3,12 @@ import React from "react";
|
|
|
3
3
|
import { Form, Dropdown } from "semantic-ui-react";
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
+
import { OptionGroup } from "@truedat/core/components";
|
|
6
7
|
import { getStructureFields } from "../../selectors/getStructureFields";
|
|
7
8
|
import FiltersField from "./FiltersField";
|
|
8
9
|
import FieldModifier from "./FieldModifier";
|
|
9
10
|
import operatorFunctions from "./operators";
|
|
10
11
|
|
|
11
|
-
const OptionGroup = React.lazy(() =>
|
|
12
|
-
import("@truedat/core/components/OptionGroup")
|
|
13
|
-
);
|
|
14
|
-
|
|
15
12
|
const StructureFieldsDropdown = React.lazy(() =>
|
|
16
13
|
import("@truedat/dd/components/StructureFieldsDropdown")
|
|
17
14
|
);
|
package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersFormGroup.spec.js.snap
CHANGED
|
@@ -17,7 +17,42 @@ exports[`<FiltersFormGroup /> matches the latest snapshot 1`] = `
|
|
|
17
17
|
</div>
|
|
18
18
|
<div
|
|
19
19
|
class="field"
|
|
20
|
-
|
|
20
|
+
>
|
|
21
|
+
<label>
|
|
22
|
+
Operator
|
|
23
|
+
</label>
|
|
24
|
+
<div
|
|
25
|
+
aria-expanded="false"
|
|
26
|
+
class="ui search dropdown selection"
|
|
27
|
+
label="Operator"
|
|
28
|
+
role="combobox"
|
|
29
|
+
>
|
|
30
|
+
<input
|
|
31
|
+
aria-autocomplete="list"
|
|
32
|
+
autocomplete="off"
|
|
33
|
+
class="search"
|
|
34
|
+
tabindex="0"
|
|
35
|
+
type="text"
|
|
36
|
+
value=""
|
|
37
|
+
/>
|
|
38
|
+
<div
|
|
39
|
+
aria-atomic="true"
|
|
40
|
+
aria-live="polite"
|
|
41
|
+
class="divider text"
|
|
42
|
+
role="alert"
|
|
43
|
+
>
|
|
44
|
+
Operator Dropdown
|
|
45
|
+
</div>
|
|
46
|
+
<i
|
|
47
|
+
aria-hidden="true"
|
|
48
|
+
class="dropdown icon"
|
|
49
|
+
/>
|
|
50
|
+
<div
|
|
51
|
+
class="menu transition"
|
|
52
|
+
role="listbox"
|
|
53
|
+
/>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
21
56
|
<div
|
|
22
57
|
class="nine wide field"
|
|
23
58
|
/>
|
package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersGroup.spec.js.snap
CHANGED
|
@@ -23,7 +23,42 @@ exports[`<FiltersGroup /> matches the latest snapshot when siblings provided 1`]
|
|
|
23
23
|
</div>
|
|
24
24
|
<div
|
|
25
25
|
class="field"
|
|
26
|
-
|
|
26
|
+
>
|
|
27
|
+
<label>
|
|
28
|
+
Operator
|
|
29
|
+
</label>
|
|
30
|
+
<div
|
|
31
|
+
aria-expanded="false"
|
|
32
|
+
class="ui search dropdown selection"
|
|
33
|
+
label="Operator"
|
|
34
|
+
role="combobox"
|
|
35
|
+
>
|
|
36
|
+
<input
|
|
37
|
+
aria-autocomplete="list"
|
|
38
|
+
autocomplete="off"
|
|
39
|
+
class="search"
|
|
40
|
+
tabindex="0"
|
|
41
|
+
type="text"
|
|
42
|
+
value=""
|
|
43
|
+
/>
|
|
44
|
+
<div
|
|
45
|
+
aria-atomic="true"
|
|
46
|
+
aria-live="polite"
|
|
47
|
+
class="divider text"
|
|
48
|
+
role="alert"
|
|
49
|
+
>
|
|
50
|
+
Operator Dropdown
|
|
51
|
+
</div>
|
|
52
|
+
<i
|
|
53
|
+
aria-hidden="true"
|
|
54
|
+
class="dropdown icon"
|
|
55
|
+
/>
|
|
56
|
+
<div
|
|
57
|
+
class="menu transition"
|
|
58
|
+
role="listbox"
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
27
62
|
<div
|
|
28
63
|
class="nine wide field"
|
|
29
64
|
/>
|
package/src/components/ruleImplementationForm/__tests__/__snapshots__/ValueConditions.spec.js.snap
CHANGED
|
@@ -23,7 +23,42 @@ exports[`<ValueConditions /> matches the latest snapshot when siblings provided
|
|
|
23
23
|
</div>
|
|
24
24
|
<div
|
|
25
25
|
class="field"
|
|
26
|
-
|
|
26
|
+
>
|
|
27
|
+
<label>
|
|
28
|
+
Operator
|
|
29
|
+
</label>
|
|
30
|
+
<div
|
|
31
|
+
aria-expanded="false"
|
|
32
|
+
class="ui search dropdown selection"
|
|
33
|
+
label="Operator"
|
|
34
|
+
role="combobox"
|
|
35
|
+
>
|
|
36
|
+
<input
|
|
37
|
+
aria-autocomplete="list"
|
|
38
|
+
autocomplete="off"
|
|
39
|
+
class="search"
|
|
40
|
+
tabindex="0"
|
|
41
|
+
type="text"
|
|
42
|
+
value=""
|
|
43
|
+
/>
|
|
44
|
+
<div
|
|
45
|
+
aria-atomic="true"
|
|
46
|
+
aria-live="polite"
|
|
47
|
+
class="divider text"
|
|
48
|
+
role="alert"
|
|
49
|
+
>
|
|
50
|
+
Operator Dropdown
|
|
51
|
+
</div>
|
|
52
|
+
<i
|
|
53
|
+
aria-hidden="true"
|
|
54
|
+
class="dropdown icon"
|
|
55
|
+
/>
|
|
56
|
+
<div
|
|
57
|
+
class="menu transition"
|
|
58
|
+
role="listbox"
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
27
62
|
<div
|
|
28
63
|
class="nine wide field"
|
|
29
64
|
/>
|