@truedat/bg 8.10.5 → 8.10.6
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/bg",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.6",
|
|
4
4
|
"description": "Truedat Web Business Glossary",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@testing-library/jest-dom": "^6.6.3",
|
|
58
58
|
"@testing-library/react": "^16.3.0",
|
|
59
59
|
"@testing-library/user-event": "^14.6.1",
|
|
60
|
-
"@truedat/test": "8.10.
|
|
60
|
+
"@truedat/test": "8.10.6",
|
|
61
61
|
"identity-obj-proxy": "^3.0.0",
|
|
62
62
|
"jest": "^29.7.0",
|
|
63
63
|
"redux-saga-test-plan": "^4.0.6"
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"semantic-ui-react": "^3.0.0-beta.2",
|
|
91
91
|
"swr": "^2.3.3"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "62c2090512da9f1456724c7263c446c4a4115a7f"
|
|
94
94
|
}
|
|
@@ -4,7 +4,7 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { connect } from "react-redux";
|
|
6
6
|
import { Link } from "react-router";
|
|
7
|
-
import { Button } from "semantic-ui-react";
|
|
7
|
+
import { Button, Icon } from "semantic-ui-react";
|
|
8
8
|
import { useSearchContext } from "@truedat/core/search/SearchContext";
|
|
9
9
|
import { downloadConcepts } from "../routines";
|
|
10
10
|
import ConceptsUpdateButton from "./ConceptsUpdateButton";
|
|
@@ -40,13 +40,18 @@ export const ConceptsActions = ({
|
|
|
40
40
|
<Button
|
|
41
41
|
floated="right"
|
|
42
42
|
secondary
|
|
43
|
-
icon=
|
|
43
|
+
icon={true}
|
|
44
44
|
onClick={() => downloadConcepts({ lang: locale, searchParams })}
|
|
45
|
-
|
|
45
|
+
disabled={conceptsDownloading}
|
|
46
46
|
data-tooltip={formatMessage({
|
|
47
47
|
id: "concepts.actions.download.tooltip",
|
|
48
48
|
})}
|
|
49
|
-
|
|
49
|
+
>
|
|
50
|
+
<Icon
|
|
51
|
+
name={conceptsDownloading ? "spinner" : "download"}
|
|
52
|
+
loading={conceptsDownloading}
|
|
53
|
+
/>
|
|
54
|
+
</Button>
|
|
50
55
|
) : null}
|
|
51
56
|
{upload ? <ConceptsUploadButton canAutoPublish={canAutoPublish} /> : null}
|
|
52
57
|
{update ? <ConceptsUpdateButton /> : null}
|
|
@@ -12,12 +12,14 @@ exports[`<ConceptsActions /> matches the latest snapshot 1`] = `
|
|
|
12
12
|
Create
|
|
13
13
|
</a>
|
|
14
14
|
<button
|
|
15
|
-
class="ui icon
|
|
15
|
+
class="ui icon secondary disabled right floated button"
|
|
16
16
|
data-tooltip="Download"
|
|
17
|
+
disabled=""
|
|
18
|
+
tabindex="-1"
|
|
17
19
|
>
|
|
18
20
|
<i
|
|
19
21
|
aria-hidden="true"
|
|
20
|
-
class="
|
|
22
|
+
class="spinner loading icon"
|
|
21
23
|
/>
|
|
22
24
|
</button>
|
|
23
25
|
<button
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
Button,
|
|
6
|
+
Table,
|
|
7
|
+
Message,
|
|
8
|
+
Label,
|
|
9
|
+
Segment,
|
|
10
|
+
Icon,
|
|
11
|
+
} from "semantic-ui-react";
|
|
5
12
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
6
13
|
import SearchWidget from "@truedat/core/search/SearchWidget";
|
|
7
14
|
import {
|
|
@@ -188,15 +195,23 @@ export function ConceptSelectorContent({
|
|
|
188
195
|
{conceptsActions?.downloadLinks && (
|
|
189
196
|
<>
|
|
190
197
|
<Button
|
|
191
|
-
icon=
|
|
198
|
+
icon={true}
|
|
192
199
|
floated="right"
|
|
193
200
|
secondary
|
|
194
|
-
|
|
195
|
-
|
|
201
|
+
onClick={() => {
|
|
202
|
+
if (downloading) return;
|
|
203
|
+
triggerDownload(searchParams);
|
|
204
|
+
}}
|
|
205
|
+
disabled={downloading}
|
|
196
206
|
data-tooltip={formatMessage({
|
|
197
207
|
id: "concepts.actions.downloadLinks.tooltip",
|
|
198
208
|
})}
|
|
199
|
-
|
|
209
|
+
>
|
|
210
|
+
<Icon
|
|
211
|
+
name={downloading ? "spinner" : "download"}
|
|
212
|
+
loading={downloading}
|
|
213
|
+
/>
|
|
214
|
+
</Button>
|
|
200
215
|
<ConceptLinksUploadButton />
|
|
201
216
|
</>
|
|
202
217
|
)}
|