@truedat/df 6.11.1 → 6.12.1
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": "6.
|
|
3
|
+
"version": "6.12.1",
|
|
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
|
"dependencies": {
|
|
89
89
|
"@apollo/client": "^3.7.1",
|
|
90
|
-
"@truedat/auth": "6.
|
|
91
|
-
"@truedat/core": "6.
|
|
90
|
+
"@truedat/auth": "6.12.1",
|
|
91
|
+
"@truedat/core": "6.12.1",
|
|
92
92
|
"decode-uri-component": "^0.2.2",
|
|
93
93
|
"path-to-regexp": "^1.7.0",
|
|
94
94
|
"prop-types": "^15.8.1",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"react-dom": ">= 16.8.6 < 17",
|
|
110
110
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "0e64673b5e798d15560f153c6ae0aede669b1dab"
|
|
113
113
|
}
|
|
@@ -17,6 +17,7 @@ export default function SelectableDynamicForm({
|
|
|
17
17
|
onChange,
|
|
18
18
|
onNameChange,
|
|
19
19
|
onTemplateChange = () => {},
|
|
20
|
+
label,
|
|
20
21
|
placeholder,
|
|
21
22
|
required,
|
|
22
23
|
scope,
|
|
@@ -74,6 +75,7 @@ export default function SelectableDynamicForm({
|
|
|
74
75
|
hideLabel={hideLabel}
|
|
75
76
|
onChange={handleSelected}
|
|
76
77
|
onLoad={handleLoad}
|
|
78
|
+
label={label}
|
|
77
79
|
placeholder={placeholder}
|
|
78
80
|
required={required}
|
|
79
81
|
selectedValue={template?.id}
|
|
@@ -110,6 +112,7 @@ SelectableDynamicForm.propTypes = {
|
|
|
110
112
|
onChange: PropTypes.func,
|
|
111
113
|
onNameChange: PropTypes.func,
|
|
112
114
|
onTemplateChange: PropTypes.func,
|
|
115
|
+
label: PropTypes.string,
|
|
113
116
|
placeholder: PropTypes.string,
|
|
114
117
|
required: PropTypes.bool,
|
|
115
118
|
scope: PropTypes.string,
|
|
@@ -6,7 +6,7 @@ import { matchSorter } from "match-sorter";
|
|
|
6
6
|
export const TemplatesContext = createContext();
|
|
7
7
|
export const useTemplatesContext = () => useContext(TemplatesContext);
|
|
8
8
|
|
|
9
|
-
const HIDDEN_SCOPES = ["cx", "ca"];
|
|
9
|
+
const HIDDEN_SCOPES = ["cx", "ca", "actions"];
|
|
10
10
|
const isHiddenScope = (scope) => _.includes(scope)(HIDDEN_SCOPES);
|
|
11
11
|
|
|
12
12
|
export default function TemplatesContextProvider(props) {
|
|
@@ -20,7 +20,6 @@ export default function TemplatesContextProvider(props) {
|
|
|
20
20
|
|
|
21
21
|
const [query, setQuery] = useState("");
|
|
22
22
|
const [scope, setScope] = useState();
|
|
23
|
-
|
|
24
23
|
const [sortColumn, setSortColumn] = useState(initialSortColumn);
|
|
25
24
|
const [sortDirection, setSortDirection] = useState(initialSortDirection);
|
|
26
25
|
|