@truedat/bg 7.5.8 → 7.5.10
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 +41 -70
- package/src/concepts/components/Concept.js +22 -19
- package/src/concepts/components/ConceptActions.js +1 -2
- package/src/concepts/components/ConceptArchive.js +0 -1
- package/src/concepts/components/ConceptArchiveRow.js +3 -4
- package/src/concepts/components/ConceptCompleteness.js +1 -2
- package/src/concepts/components/ConceptConfidentialButton.js +1 -2
- package/src/concepts/components/ConceptCreate.js +1 -1
- package/src/concepts/components/ConceptCrumbs.js +10 -8
- package/src/concepts/components/ConceptDeleteModalBody.js +7 -10
- package/src/concepts/components/ConceptDetails.js +3 -3
- package/src/concepts/components/ConceptEdit.js +2 -2
- package/src/concepts/components/ConceptForm.js +39 -43
- package/src/concepts/components/ConceptHeader.js +0 -1
- package/src/concepts/components/ConceptLinksDropdownSelector.js +1 -2
- package/src/concepts/components/ConceptLoader.js +3 -3
- package/src/concepts/components/ConceptManageDomain.js +2 -1
- package/src/concepts/components/ConceptManageDomainPopup.js +1 -1
- package/src/concepts/components/ConceptRoutes.js +263 -226
- package/src/concepts/components/ConceptRow.js +0 -1
- package/src/concepts/components/ConceptSubscription.js +15 -14
- package/src/concepts/components/ConceptSummary.js +0 -1
- package/src/concepts/components/ConceptTabPane.js +36 -41
- package/src/concepts/components/ConceptTabs.js +1 -4
- package/src/concepts/components/ConceptTaxonomy.js +1 -3
- package/src/concepts/components/Concepts.js +0 -1
- package/src/concepts/components/ConceptsActions.js +2 -3
- package/src/concepts/components/ConceptsBulkUpdate.js +3 -6
- package/src/concepts/components/ConceptsLabelResults.js +0 -1
- package/src/concepts/components/ConceptsLinkDecorator.js +1 -2
- package/src/concepts/components/ConceptsLinksManagement.js +7 -8
- package/src/concepts/components/ConceptsPagination.js +0 -1
- package/src/concepts/components/ConceptsPanel.js +5 -4
- package/src/concepts/components/ConceptsTable.js +2 -3
- package/src/concepts/components/ConceptsUpdateButton.js +6 -6
- package/src/concepts/components/ConceptsUploadButton.js +0 -1
- package/src/concepts/components/ConceptsUploadEvents.js +0 -2
- package/src/concepts/components/ConceptsUploadEventsTable.js +12 -19
- package/src/concepts/components/DomainConcepts.js +0 -1
- package/src/concepts/components/EventRow.js +0 -1
- package/src/concepts/components/Events.js +3 -4
- package/src/concepts/components/FieldGroupTable.js +1 -2
- package/src/concepts/components/LinkedMessage.js +9 -13
- package/src/concepts/components/SharedToDomains.js +8 -7
- package/src/concepts/components/SharedToDomainsPopup.js +1 -1
- package/src/concepts/components/SharedToForm.js +3 -6
- package/src/concepts/components/__tests__/Concept.spec.js +8 -42
- package/src/concepts/components/__tests__/ConceptActions.spec.js +7 -7
- package/src/concepts/components/__tests__/ConceptArchive.spec.js +5 -5
- package/src/concepts/components/__tests__/ConceptArchiveLoader.spec.js +15 -14
- package/src/concepts/components/__tests__/ConceptArchiveRow.spec.js +0 -1
- package/src/concepts/components/__tests__/ConceptCompleteness.spec.js +0 -1
- package/src/concepts/components/__tests__/ConceptConfidentialButton.spec.js +10 -17
- package/src/concepts/components/__tests__/ConceptContext.spec.js +1 -1
- package/src/concepts/components/__tests__/ConceptCrumbs.spec.js +12 -34
- package/src/concepts/components/__tests__/ConceptDeleteModalBody.spec.js +47 -26
- package/src/concepts/components/__tests__/ConceptDetails.spec.js +1 -9
- package/src/concepts/components/__tests__/ConceptEdit.spec.js +2 -2
- package/src/concepts/components/__tests__/ConceptForm.spec.js +26 -19
- package/src/concepts/components/__tests__/ConceptHeader.spec.js +33 -57
- package/src/concepts/components/__tests__/ConceptLinksManagement.spec.js +27 -34
- package/src/concepts/components/__tests__/ConceptLoader.spec.js +51 -37
- package/src/concepts/components/__tests__/ConceptManageDomain.spec.js +12 -47
- package/src/concepts/components/__tests__/ConceptManageDomainPopup.spec.js +65 -24
- package/src/concepts/components/__tests__/ConceptRow.spec.js +6 -17
- package/src/concepts/components/__tests__/ConceptSubscription.spec.js +9 -9
- package/src/concepts/components/__tests__/ConceptSubscriptionLoader.spec.js +20 -16
- package/src/concepts/components/__tests__/ConceptSummary.spec.js +11 -10
- package/src/concepts/components/__tests__/ConceptTabPane.spec.js +73 -5
- package/src/concepts/components/__tests__/ConceptTabs.spec.js +6 -21
- package/src/concepts/components/__tests__/ConceptTaxonomy.spec.js +16 -12
- package/src/concepts/components/__tests__/Concepts.spec.js +6 -26
- package/src/concepts/components/__tests__/ConceptsActions.spec.js +0 -1
- package/src/concepts/components/__tests__/ConceptsBulkUpdate.spec.js +31 -36
- package/src/concepts/components/__tests__/ConceptsLabelResults.spec.js +4 -5
- package/src/concepts/components/__tests__/ConceptsLinkDecorator.spec.js +3 -4
- package/src/concepts/components/__tests__/ConceptsPanel.spec.js +7 -26
- package/src/concepts/components/__tests__/ConceptsTable.spec.js +34 -60
- package/src/concepts/components/__tests__/ConceptsUpdateButton.spec.js +6 -7
- package/src/concepts/components/__tests__/ConceptsUploadButton.spec.js +25 -13
- package/src/concepts/components/__tests__/ConceptsUploadEventsTable.spec.js +11 -9
- package/src/concepts/components/__tests__/Events.spec.js +10 -10
- package/src/concepts/components/__tests__/SharedToDomains.spec.js +25 -19
- package/src/concepts/components/__tests__/SharedToDomainsPopup.spec.js +48 -36
- package/src/concepts/components/__tests__/SharedToForm.spec.js +24 -32
- package/src/concepts/components/__tests__/__snapshots__/Concept.spec.js.snap +108 -23
- package/src/concepts/components/__tests__/__snapshots__/ConceptActions.spec.js.snap +12 -16
- package/src/concepts/components/__tests__/__snapshots__/ConceptArchive.spec.js.snap +77 -65
- package/src/concepts/components/__tests__/__snapshots__/ConceptArchiveRow.spec.js.snap +2 -4
- package/src/concepts/components/__tests__/__snapshots__/ConceptConfidentialButton.spec.js.snap +11 -31
- package/src/concepts/components/__tests__/__snapshots__/ConceptCrumbs.spec.js.snap +41 -56
- package/src/concepts/components/__tests__/__snapshots__/ConceptDeleteModalBody.spec.js.snap +3 -5
- package/src/concepts/components/__tests__/__snapshots__/ConceptDetails.spec.js.snap +0 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptEdit.spec.js.snap +1 -12
- package/src/concepts/components/__tests__/__snapshots__/ConceptForm.spec.js.snap +10 -11
- package/src/concepts/components/__tests__/__snapshots__/ConceptHeader.spec.js.snap +2 -2
- package/src/concepts/components/__tests__/__snapshots__/ConceptLinksManagement.spec.js.snap +14 -14
- package/src/concepts/components/__tests__/__snapshots__/ConceptLoader.spec.js.snap +14 -9
- package/src/concepts/components/__tests__/__snapshots__/ConceptManageDomain.spec.js.snap +43 -5
- package/src/concepts/components/__tests__/__snapshots__/ConceptManageDomainPopup.spec.js.snap +10 -163
- package/src/concepts/components/__tests__/__snapshots__/ConceptRow.spec.js.snap +4 -7
- package/src/concepts/components/__tests__/__snapshots__/ConceptSubscription.spec.js.snap +8 -55
- package/src/concepts/components/__tests__/__snapshots__/ConceptSubscriptionLoader.spec.js.snap +1 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptSummary.spec.js.snap +6 -6
- package/src/concepts/components/__tests__/__snapshots__/ConceptTabPane.spec.js.snap +18 -34
- package/src/concepts/components/__tests__/__snapshots__/ConceptTabs.spec.js.snap +26 -13
- package/src/concepts/components/__tests__/__snapshots__/ConceptTaxonomy.spec.js.snap +63 -53
- package/src/concepts/components/__tests__/__snapshots__/Concepts.spec.js.snap +10 -25
- package/src/concepts/components/__tests__/__snapshots__/ConceptsActions.spec.js.snap +1 -0
- package/src/concepts/components/__tests__/__snapshots__/ConceptsBulkUpdate.spec.js.snap +7 -6
- package/src/concepts/components/__tests__/__snapshots__/ConceptsLabelResults.spec.js.snap +1 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptsLinkDecorator.spec.js.snap +1 -0
- package/src/concepts/components/__tests__/__snapshots__/ConceptsPanel.spec.js.snap +10 -25
- package/src/concepts/components/__tests__/__snapshots__/ConceptsTable.spec.js.snap +1 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptsUpdateButton.spec.js.snap +1 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptsUploadButton.spec.js.snap +9 -74
- package/src/concepts/components/__tests__/__snapshots__/ConceptsUploadEventsTable.spec.js.snap +14 -14
- package/src/concepts/components/__tests__/__snapshots__/Events.spec.js.snap +83 -43
- package/src/concepts/components/__tests__/__snapshots__/SharedToDomains.spec.js.snap +56 -33
- package/src/concepts/components/__tests__/__snapshots__/SharedToDomainsPopup.spec.js.snap +9 -145
- package/src/concepts/components/__tests__/__snapshots__/SharedToForm.spec.js.snap +2 -2
- package/src/concepts/reducers/__tests__/conceptRedirect.spec.js +1 -1
- package/src/concepts/reducers/conceptRedirect.js +5 -5
- package/src/concepts/relations/components/ConceptImplementationLinks.js +5 -4
- package/src/concepts/relations/components/ConceptLinkActions.js +1 -1
- package/src/concepts/relations/components/ConceptLinksActions.js +4 -4
- package/src/concepts/relations/components/ConceptRelationActions.js +3 -4
- package/src/concepts/relations/components/ConceptRelationForm.js +3 -3
- package/src/concepts/relations/components/ConceptRelationRow.js +10 -10
- package/src/concepts/relations/components/ConceptRelations.js +9 -11
- package/src/concepts/relations/components/ConceptRelationsRoutes.js +20 -39
- package/src/concepts/relations/components/ConceptRelationsSummary.js +26 -29
- package/src/concepts/relations/components/ConceptSelector.js +4 -7
- package/src/concepts/relations/components/ConceptStructureLinks.js +2 -2
- package/src/concepts/relations/components/__tests__/ConceptImplementationLinks.spec.js +19 -59
- package/src/concepts/relations/components/__tests__/ConceptLinksActions.spec.js +9 -10
- package/src/concepts/relations/components/__tests__/ConceptRelationActions.spec.js +9 -7
- package/src/concepts/relations/components/__tests__/ConceptRelationForm.spec.js +30 -42
- package/src/concepts/relations/components/__tests__/ConceptRelationRow.spec.js +11 -16
- package/src/concepts/relations/components/__tests__/ConceptRelations.spec.js +11 -14
- package/src/concepts/relations/components/__tests__/ConceptRelationsRoutes.spec.js +108 -8
- package/src/concepts/relations/components/__tests__/ConceptRelationsSummary.spec.js +39 -38
- package/src/concepts/relations/components/__tests__/ConceptSelector.spec.js +24 -36
- package/src/concepts/relations/components/__tests__/ConceptStructureLinks.spec.js +21 -11
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptImplementationLinks.spec.js.snap +131 -28
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksActions.spec.js.snap +4 -3
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptRelationActions.spec.js.snap +10 -26
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptRelationForm.spec.js.snap +15 -19
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptRelationRow.spec.js.snap +36 -33
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptRelations.spec.js.snap +76 -51
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptRelationsRoutes.spec.js.snap +15 -29
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptRelationsSummary.spec.js.snap +45 -100
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptSelector.spec.js.snap +9 -9
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptStructureLinks.spec.js.snap +10 -10
- package/src/concepts/relations/sagas/conceptLinkAction.js +2 -2
- package/src/concepts/relations/sagas/linkConcept.js +1 -1
- package/src/concepts/relations/selectors/getBusinessConceptsLinksToImplementationsColumns.js +1 -2
- package/src/concepts/relations/selectors/getConceptLinks.js +1 -2
- package/src/concepts/relations/selectors/getConceptRelations.js +14 -14
- package/src/concepts/sagas/__tests__/saveSharedTo.spec.js +3 -3
- package/src/concepts/sagas/__tests__/setConfidentialConcept.spec.js +5 -5
- package/src/concepts/sagas/conceptAction.js +2 -2
- package/src/concepts/sagas/fetchConceptArchive.js +1 -1
- package/src/concepts/sagas/setConfidentialConcept.js +2 -2
- package/src/concepts/selectors/__tests__/getConceptDomainPath.spec.js +2 -2
- package/src/concepts/selectors/getConceptColumns.js +1 -2
- package/src/concepts/selectors/getConceptTemplate.js +1 -1
- package/src/concepts/selectors/getConceptUploadEventColumns.js +0 -1
- package/src/concepts/selectors/getConceptVersionPath.js +2 -2
- package/src/concepts/selectors/getParsedEvents.js +2 -2
- package/src/concepts/selectors/getTemplateFields.js +3 -3
- package/src/concepts/selectors/getTemplateGroups.js +1 -1
- package/src/hooks/__mocks__/useDomains.js +42 -0
- package/src/hooks/useDomains.js +3 -3
- package/src/taxonomy/components/AddDomainMember.js +3 -4
- package/src/taxonomy/components/Domain.js +19 -23
- package/src/taxonomy/components/DomainActions.js +1 -2
- package/src/taxonomy/components/DomainCards.js +4 -6
- package/src/taxonomy/components/DomainContent.js +42 -87
- package/src/taxonomy/components/DomainCrumbs.js +4 -4
- package/src/taxonomy/components/DomainDetail.js +4 -5
- package/src/taxonomy/components/DomainForm.js +1 -3
- package/src/taxonomy/components/DomainImplementations.js +8 -7
- package/src/taxonomy/components/DomainItem.js +1 -2
- package/src/taxonomy/components/DomainMembers.js +0 -1
- package/src/taxonomy/components/DomainRoutes.js +15 -21
- package/src/taxonomy/components/DomainSearch.js +0 -1
- package/src/taxonomy/components/DomainStructures.js +0 -1
- package/src/taxonomy/components/DomainTabs.js +3 -4
- package/src/taxonomy/components/DomainTaxonomy.js +1 -2
- package/src/taxonomy/components/Domains.js +15 -5
- package/src/taxonomy/components/DomainsActions.js +2 -4
- package/src/taxonomy/components/EditDomain.js +5 -5
- package/src/taxonomy/components/NewDomain.js +4 -4
- package/src/taxonomy/components/__tests__/AddDomainMember.spec.js +6 -5
- package/src/taxonomy/components/__tests__/Domain.spec.js +63 -123
- package/src/taxonomy/components/__tests__/DomainActions.spec.js +0 -1
- package/src/taxonomy/components/__tests__/DomainCards.spec.js +44 -51
- package/src/taxonomy/components/__tests__/DomainContent.spec.js +138 -158
- package/src/taxonomy/components/__tests__/DomainCrumbs.spec.js +14 -19
- package/src/taxonomy/components/__tests__/DomainDetail.spec.js +2 -3
- package/src/taxonomy/components/__tests__/DomainForm.spec.js +44 -60
- package/src/taxonomy/components/__tests__/DomainItem.spec.js +17 -14
- package/src/taxonomy/components/__tests__/DomainMembers.spec.js +9 -13
- package/src/taxonomy/components/__tests__/DomainRoutes.spec.js +54 -0
- package/src/taxonomy/components/__tests__/DomainStructures.spec.js +10 -51
- package/src/taxonomy/components/__tests__/DomainTabs.spec.js +14 -33
- package/src/taxonomy/components/__tests__/DomainTaxonomy.spec.js +17 -16
- package/src/taxonomy/components/__tests__/Domains.spec.js +63 -95
- package/src/taxonomy/components/__tests__/DomainsActions.spec.js +12 -11
- package/src/taxonomy/components/__tests__/EditDomain.spec.js +13 -54
- package/src/taxonomy/components/__tests__/NewDomain.spec.js +17 -61
- package/src/taxonomy/components/__tests__/__snapshots__/AddDomainMember.spec.js.snap +10 -9
- package/src/taxonomy/components/__tests__/__snapshots__/Domain.spec.js.snap +53 -72
- package/src/taxonomy/components/__tests__/__snapshots__/DomainActions.spec.js.snap +2 -1
- package/src/taxonomy/components/__tests__/__snapshots__/DomainCards.spec.js.snap +247 -27
- package/src/taxonomy/components/__tests__/__snapshots__/DomainContent.spec.js.snap +14 -294
- package/src/taxonomy/components/__tests__/__snapshots__/DomainCrumbs.spec.js.snap +6 -2
- package/src/taxonomy/components/__tests__/__snapshots__/DomainDetail.spec.js.snap +5 -4
- package/src/taxonomy/components/__tests__/__snapshots__/DomainForm.spec.js.snap +13 -12
- package/src/taxonomy/components/__tests__/__snapshots__/DomainItem.spec.js.snap +16 -12
- package/src/taxonomy/components/__tests__/__snapshots__/DomainRoutes.spec.js.snap +52 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainStructures.spec.js.snap +7 -7
- package/src/taxonomy/components/__tests__/__snapshots__/DomainTabs.spec.js.snap +10 -5
- package/src/taxonomy/components/__tests__/__snapshots__/DomainTaxonomy.spec.js.snap +37 -29
- package/src/taxonomy/components/__tests__/__snapshots__/Domains.spec.js.snap +123 -6
- package/src/taxonomy/components/__tests__/__snapshots__/DomainsActions.spec.js.snap +2 -1
- package/src/taxonomy/components/__tests__/__snapshots__/EditDomain.spec.js.snap +15 -14
- package/src/taxonomy/components/__tests__/__snapshots__/NewDomain.spec.js.snap +31 -28
- package/src/taxonomy/selectors/index.js +0 -1
- package/src/concepts/relations/components/__tests__/ConceptSelector2.spec.js +0 -76
- package/src/concepts/selectors/__tests__/getConceptSubscope.spec.js +0 -37
- package/src/concepts/selectors/__tests__/getSidemenuGlossarySubscopes.spec.js +0 -17
- package/src/concepts/selectors/getConceptStatus.js +0 -1
- package/src/concepts/selectors/getConceptSubscope.js +0 -19
- package/src/concepts/selectors/getSidemenuGlossarySubscopes.js +0 -8
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { ErrorBoundary } from "@truedat/core/components";
|
|
1
|
+
import { lazy } from "react";
|
|
2
|
+
import { Route, Routes } from "react-router";
|
|
4
3
|
import {
|
|
5
4
|
CONCEPT_ARCHIVE,
|
|
6
5
|
CONCEPT_EVENTS,
|
|
@@ -17,47 +16,43 @@ import ConceptArchive from "./ConceptArchive";
|
|
|
17
16
|
import ConceptDetails from "./ConceptDetails";
|
|
18
17
|
import Events from "./Events";
|
|
19
18
|
|
|
20
|
-
const ConceptRules =
|
|
21
|
-
import("@truedat/dq/components/ConceptRules")
|
|
22
|
-
);
|
|
19
|
+
const ConceptRules = lazy(() => import("@truedat/dq/components/ConceptRules"));
|
|
23
20
|
|
|
24
|
-
const NewRule =
|
|
21
|
+
const NewRule = lazy(() => import("@truedat/dq/components/NewRule"));
|
|
25
22
|
|
|
26
23
|
export const ConceptTabPane = ({ selectedContent, lang }) => (
|
|
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
|
-
|
|
56
|
-
/>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</Switch>
|
|
60
|
-
</ErrorBoundary>
|
|
24
|
+
<Routes>
|
|
25
|
+
<Route
|
|
26
|
+
// "/concepts/:business_concept_id/versions/:id";
|
|
27
|
+
index
|
|
28
|
+
element={<ConceptDetails selectedContent={selectedContent} lang={lang} />}
|
|
29
|
+
/>
|
|
30
|
+
|
|
31
|
+
<Route
|
|
32
|
+
// "/concepts/:business_concept_id/versions/:id/archive";
|
|
33
|
+
path="archive"
|
|
34
|
+
element={<ConceptArchive />}
|
|
35
|
+
/>
|
|
36
|
+
|
|
37
|
+
<Route
|
|
38
|
+
// "/concepts/:business_concept_id/versions/:id/events";
|
|
39
|
+
path="events"
|
|
40
|
+
element={<Events />}
|
|
41
|
+
/>
|
|
42
|
+
|
|
43
|
+
<Route
|
|
44
|
+
// "/concepts/:business_concept_id/versions/:id/links/structures";
|
|
45
|
+
path="links/*"
|
|
46
|
+
element={<ConceptRelationsRoutes />}
|
|
47
|
+
/>
|
|
48
|
+
<Route
|
|
49
|
+
// "/concepts/:business_concept_id/versions/:id/rules"
|
|
50
|
+
path="rules"
|
|
51
|
+
>
|
|
52
|
+
<Route index element={<ConceptRules />} />
|
|
53
|
+
<Route path="new" element={<NewRule />} />
|
|
54
|
+
</Route>
|
|
55
|
+
</Routes>
|
|
61
56
|
);
|
|
62
57
|
|
|
63
58
|
ConceptTabPane.propTypes = {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { Menu } from "semantic-ui-react";
|
|
5
|
-
import { Link } from "react-router
|
|
4
|
+
import { Link } from "react-router";
|
|
6
5
|
import { connect } from "react-redux";
|
|
7
6
|
import { FormattedMessage } from "react-intl";
|
|
8
7
|
import { useActiveRoute } from "@truedat/core/hooks";
|
|
@@ -27,7 +26,6 @@ export const ConceptTabs = ({
|
|
|
27
26
|
const archiveActive = useActiveRoute(CONCEPT_ARCHIVE);
|
|
28
27
|
const conceptActive = useActiveRoute({
|
|
29
28
|
path: CONCEPT_VERSION,
|
|
30
|
-
exact: true,
|
|
31
29
|
});
|
|
32
30
|
const conceptLinksActive = useActiveRoute(CONCEPT_LINKS_CONCEPTS);
|
|
33
31
|
const eventsActive = useActiveRoute(CONCEPT_EVENTS);
|
|
@@ -91,7 +89,6 @@ export const ConceptTabs = ({
|
|
|
91
89
|
>
|
|
92
90
|
<FormattedMessage id="tabs.bg.history" />
|
|
93
91
|
</Menu.Item>
|
|
94
|
-
|
|
95
92
|
<Menu.Item
|
|
96
93
|
active={eventsActive}
|
|
97
94
|
as={Link}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
4
|
import { List, Header, Segment } from "semantic-ui-react";
|
|
@@ -12,10 +11,9 @@ export const ConceptTaxonomy = ({ domainPath }) =>
|
|
|
12
11
|
_.negate(_.isEmpty)(domainPath) && (
|
|
13
12
|
<Segment>
|
|
14
13
|
<Header as="h3" dividing>
|
|
15
|
-
<FormattedMessage id="concepts.taxonomy"
|
|
14
|
+
<FormattedMessage id="concepts.taxonomy" />
|
|
16
15
|
</Header>
|
|
17
16
|
<ConceptManageDomainPopup conceptAction="concepts.actions.edit" />
|
|
18
|
-
|
|
19
17
|
<List horizontal>
|
|
20
18
|
{_.map.convert({ cap: false })((domain, i) => (
|
|
21
19
|
<DomainItem
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { CONCEPTS_NEW } from "@truedat/core/routes";
|
|
2
2
|
import _ from "lodash/fp";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
|
-
import React from "react";
|
|
5
4
|
import { useIntl } from "react-intl";
|
|
6
5
|
import { connect } from "react-redux";
|
|
7
|
-
import { Link } from "react-router
|
|
6
|
+
import { Link } from "react-router";
|
|
8
7
|
import { Button } from "semantic-ui-react";
|
|
9
8
|
import { useSearchContext } from "@truedat/core/search/SearchContext";
|
|
10
9
|
import { downloadConcepts, uploadConcepts } from "../routines";
|
|
@@ -25,6 +24,7 @@ export const ConceptsActions = ({
|
|
|
25
24
|
const createUrl = conceptsActions?.create ? CONCEPTS_NEW : null;
|
|
26
25
|
const canAutoPublish = conceptsActions?.autoPublish && true;
|
|
27
26
|
const { formatMessage, locale } = useIntl();
|
|
27
|
+
|
|
28
28
|
return hidden ? null : (
|
|
29
29
|
<div>
|
|
30
30
|
{create && createUrl ? (
|
|
@@ -48,7 +48,6 @@ export const ConceptsActions = ({
|
|
|
48
48
|
})}
|
|
49
49
|
/>
|
|
50
50
|
) : null}
|
|
51
|
-
|
|
52
51
|
{upload ? <ConceptsUploadButton canAutoPublish={canAutoPublish} /> : null}
|
|
53
52
|
{update ? <ConceptsUpdateButton /> : null}
|
|
54
53
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy, useState, useEffect } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { FormattedMessage } from "react-intl";
|
|
5
5
|
import { connect } from "react-redux";
|
|
@@ -23,9 +23,7 @@ import { useTemplate } from "@truedat/core/hooks";
|
|
|
23
23
|
import { applyTemplateWithoutDefaults } from "@truedat/df/utils";
|
|
24
24
|
import { bulkUpdate } from "../routines";
|
|
25
25
|
|
|
26
|
-
const DynamicForm =
|
|
27
|
-
import("@truedat/df/components/DynamicForm")
|
|
28
|
-
);
|
|
26
|
+
const DynamicForm = lazy(() => import("@truedat/df/components/DynamicForm"));
|
|
29
27
|
|
|
30
28
|
const isEmptyValue = (value) => !_.isNumber(value) && _.isEmpty(value);
|
|
31
29
|
const fieldsToOmit = ["_confidential"];
|
|
@@ -100,6 +98,7 @@ export const ConceptsBulkUpdate = ({
|
|
|
100
98
|
setDomainsLoading(false);
|
|
101
99
|
setDomains(domains);
|
|
102
100
|
};
|
|
101
|
+
|
|
103
102
|
const handleDomainSelected = (value) => {
|
|
104
103
|
const domain = _.find({ id: value })(domains);
|
|
105
104
|
if (domain && domain.id !== selectedDomain) {
|
|
@@ -165,7 +164,6 @@ export const ConceptsBulkUpdate = ({
|
|
|
165
164
|
/>
|
|
166
165
|
</Header.Content>
|
|
167
166
|
</Header>
|
|
168
|
-
|
|
169
167
|
{validConcepts && conceptCount != 0 ? (
|
|
170
168
|
<>
|
|
171
169
|
<Header as="h4">
|
|
@@ -192,7 +190,6 @@ export const ConceptsBulkUpdate = ({
|
|
|
192
190
|
setTemplate={setTemplate}
|
|
193
191
|
/>
|
|
194
192
|
) : null}
|
|
195
|
-
|
|
196
193
|
<ConfirmModal
|
|
197
194
|
actions={actions(handleSubmit)}
|
|
198
195
|
trigger={
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
|
-
import { Link } from "react-router
|
|
3
|
+
import { Link } from "react-router";
|
|
5
4
|
import { linkTo } from "@truedat/core/routes";
|
|
6
5
|
import ArrayDecorator from "@truedat/core/components/ArrayDecorator";
|
|
7
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy, useState, useEffect } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { connect } from "react-redux";
|
|
@@ -11,16 +11,16 @@ import { pickConceptAttrs } from "../relations/components/ConceptRelationForm";
|
|
|
11
11
|
import LinkedMessage from "./LinkedMessage";
|
|
12
12
|
import ConceptLinksDropdownSelector from "./ConceptLinksDropdownSelector";
|
|
13
13
|
|
|
14
|
-
const RelationsLoader =
|
|
15
|
-
import("@truedat/lm/components/RelationsLoader")
|
|
14
|
+
const RelationsLoader = lazy(
|
|
15
|
+
() => import("@truedat/lm/components/RelationsLoader")
|
|
16
16
|
);
|
|
17
17
|
|
|
18
|
-
const TagTypeDropdownSelector =
|
|
19
|
-
import("@truedat/lm/components/TagTypeDropdownSelector")
|
|
18
|
+
const TagTypeDropdownSelector = lazy(
|
|
19
|
+
() => import("@truedat/lm/components/TagTypeDropdownSelector")
|
|
20
20
|
);
|
|
21
21
|
|
|
22
|
-
const StructureSelector =
|
|
23
|
-
import("@truedat/dd/components/StructureSelector")
|
|
22
|
+
const StructureSelector = lazy(
|
|
23
|
+
() => import("@truedat/dd/components/StructureSelector")
|
|
24
24
|
);
|
|
25
25
|
|
|
26
26
|
const linksDefaultFilters = {
|
|
@@ -183,7 +183,6 @@ export const ConceptsLinksManagement = ({
|
|
|
183
183
|
<TagTypeDropdownSelector options={tagOptions} />
|
|
184
184
|
)}
|
|
185
185
|
</Grid.Column>
|
|
186
|
-
|
|
187
186
|
<Grid.Column width={8}>
|
|
188
187
|
{selectedSourceConcept || selectedTag ? (
|
|
189
188
|
<LinkedMessage
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
4
|
import { Dimmer, Loader } from "semantic-ui-react";
|
|
@@ -31,9 +30,11 @@ export function ConceptsPanelContent({ subscope }) {
|
|
|
31
30
|
<ConceptsActions {...actions} download={download(actions)} />
|
|
32
31
|
<SearchWidget />
|
|
33
32
|
<Dimmer.Dimmable dimmed={loading}>
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
|
|
33
|
+
{loading ? (
|
|
34
|
+
<Dimmer active inverted>
|
|
35
|
+
<Loader />
|
|
36
|
+
</Dimmer>
|
|
37
|
+
) : null}
|
|
37
38
|
<ConceptsLabelResults />
|
|
38
39
|
<ConceptsTable subscope={subscope} />
|
|
39
40
|
<ConceptsPagination />
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
|
-
import { useLocation } from "react-router
|
|
4
|
+
import { useLocation } from "react-router";
|
|
6
5
|
import { Table, Header, Icon } from "semantic-ui-react";
|
|
7
6
|
import { FormattedMessage } from "react-intl";
|
|
8
7
|
import { CONCEPTS_PENDING } from "@truedat/core/routes";
|
|
@@ -30,7 +29,7 @@ export const ConceptsTable = ({ columnsByScope, subscope }) => {
|
|
|
30
29
|
|
|
31
30
|
const conceptColumns = columns.filter(
|
|
32
31
|
(column) =>
|
|
33
|
-
_.last(CONCEPTS_PENDING.split("/")) === scope || column.name
|
|
32
|
+
_.last(CONCEPTS_PENDING.split("/")) === scope || column.name !== "status"
|
|
34
33
|
);
|
|
35
34
|
|
|
36
35
|
return (
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import { useDispatch } from "react-redux";
|
|
4
3
|
import { Button, Popup } from "semantic-ui-react";
|
|
5
|
-
import { useLocation
|
|
4
|
+
import { useLocation } from "react-router";
|
|
5
|
+
import { useNavigate } from "react-router";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
7
|
import { useAuthorized } from "@truedat/core/hooks";
|
|
8
8
|
import { useSearchContext } from "@truedat/core/search/SearchContext";
|
|
@@ -24,7 +24,7 @@ const verifyTemplateSize = (template) => _.size(template) === 1;
|
|
|
24
24
|
export const ConceptsUpdateButton = () => {
|
|
25
25
|
const setBulkUpdateQuery = useDispatch();
|
|
26
26
|
|
|
27
|
-
const
|
|
27
|
+
const navigate = useNavigate();
|
|
28
28
|
const {
|
|
29
29
|
allActiveFilters: conceptActiveFilters,
|
|
30
30
|
count: conceptCount,
|
|
@@ -45,7 +45,7 @@ export const ConceptsUpdateButton = () => {
|
|
|
45
45
|
? CONCEPTS_BULK_UPDATE
|
|
46
46
|
: null;
|
|
47
47
|
|
|
48
|
-
const
|
|
48
|
+
const navigateToBulkUpdate = () => {
|
|
49
49
|
setBulkUpdateQuery(
|
|
50
50
|
bulkUpdateQuery({
|
|
51
51
|
conceptCount,
|
|
@@ -53,7 +53,7 @@ export const ConceptsUpdateButton = () => {
|
|
|
53
53
|
concepts: searchData?.data || [],
|
|
54
54
|
})
|
|
55
55
|
);
|
|
56
|
-
|
|
56
|
+
navigate(updateUrl + `?${pathNameWithoutSlash}` || "");
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
return authorized ? (
|
|
@@ -65,7 +65,7 @@ export const ConceptsUpdateButton = () => {
|
|
|
65
65
|
<span className="button-update">
|
|
66
66
|
<Button
|
|
67
67
|
primary
|
|
68
|
-
onClick={
|
|
68
|
+
onClick={navigateToBulkUpdate}
|
|
69
69
|
content={<FormattedMessage id="actions.update" />}
|
|
70
70
|
disabled={_.isEmpty(updateUrl)}
|
|
71
71
|
/>
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useState } from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
|
-
|
|
5
4
|
import _ from "lodash/fp";
|
|
6
|
-
|
|
7
5
|
import { FormattedMessage } from "react-intl";
|
|
8
6
|
import { Table } from "semantic-ui-react";
|
|
9
7
|
import { useIntl } from "react-intl";
|
|
10
8
|
import { columnDecorator } from "@truedat/core/services";
|
|
11
|
-
|
|
12
9
|
import { useUploadEvents } from "../hooks/useUploadEvents";
|
|
13
10
|
import { getConceptUploadEventColumns } from "../selectors";
|
|
14
|
-
|
|
15
11
|
import "../styles/conceptsUploadEventColumns.less";
|
|
16
12
|
|
|
17
13
|
const getColumnsWithData = (conceptsResults, columns) =>
|
|
@@ -37,7 +33,6 @@ const messagesImp = (data) => {
|
|
|
37
33
|
const ConceptsUploadEventsTable = ({ getColumns }) => {
|
|
38
34
|
const { formatMessage } = useIntl();
|
|
39
35
|
const [eventExpandedIndex, setEventExpandedIndex] = useState(null);
|
|
40
|
-
|
|
41
36
|
const { data, loading } = useUploadEvents();
|
|
42
37
|
|
|
43
38
|
const events =
|
|
@@ -88,18 +83,16 @@ const ConceptsUploadEventsTable = ({ getColumns }) => {
|
|
|
88
83
|
<Table sortable selectable>
|
|
89
84
|
<Table.Header>
|
|
90
85
|
<Table.Row>
|
|
91
|
-
{columns.map((column, i) =>
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
);
|
|
102
|
-
})}
|
|
86
|
+
{columns.map((column, i) => (
|
|
87
|
+
<Table.HeaderCell
|
|
88
|
+
key={i}
|
|
89
|
+
width={column.width}
|
|
90
|
+
content={formatMessage({
|
|
91
|
+
id: `concepts.upload.props.${column.name}`,
|
|
92
|
+
defaultMessage: column.name,
|
|
93
|
+
})}
|
|
94
|
+
/>
|
|
95
|
+
))}
|
|
103
96
|
</Table.Row>
|
|
104
97
|
</Table.Header>
|
|
105
98
|
<Table.Body>
|
|
@@ -131,7 +124,7 @@ const ConceptsUploadEventsTable = ({ getColumns }) => {
|
|
|
131
124
|
<FormattedMessage
|
|
132
125
|
id={`concepts.upload.props.file_hash`}
|
|
133
126
|
/>
|
|
134
|
-
|
|
127
|
+
: {events[eventKey].file_hash}
|
|
135
128
|
</>
|
|
136
129
|
) : null}
|
|
137
130
|
{columns.map((column, key) => (
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import { Feed, Segment } from "semantic-ui-react";
|
|
4
3
|
import { connect } from "react-redux";
|
|
@@ -18,12 +17,12 @@ export const Events = ({ events, eventsLoading }) =>
|
|
|
18
17
|
|
|
19
18
|
Events.propTypes = {
|
|
20
19
|
events: PropTypes.array,
|
|
21
|
-
eventsLoading: PropTypes.bool
|
|
20
|
+
eventsLoading: PropTypes.bool,
|
|
22
21
|
};
|
|
23
22
|
|
|
24
|
-
const mapStateToProps = state => ({
|
|
23
|
+
const mapStateToProps = (state) => ({
|
|
25
24
|
events: getParsedEvents(state),
|
|
26
|
-
eventsLoading: state.eventsLoading
|
|
25
|
+
eventsLoading: state.eventsLoading,
|
|
27
26
|
});
|
|
28
27
|
|
|
29
28
|
export default connect(mapStateToProps)(Events);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import { Table } from "semantic-ui-react";
|
|
4
3
|
|
|
@@ -13,7 +12,7 @@ const FieldValue = ({ field, value }, i) => (
|
|
|
13
12
|
|
|
14
13
|
FieldValue.propTypes = {
|
|
15
14
|
field: PropTypes.string,
|
|
16
|
-
value: PropTypes.string
|
|
15
|
+
value: PropTypes.string,
|
|
17
16
|
};
|
|
18
17
|
|
|
19
18
|
export const FieldGroupTable = ([groupName, fieldValues], i) => (
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import { useIntl } from "react-intl";
|
|
4
3
|
import { Message } from "semantic-ui-react";
|
|
@@ -27,29 +26,26 @@ const LinkedMessage = ({
|
|
|
27
26
|
<Message success={status !== STATUS_PENDING} floating>
|
|
28
27
|
<Message.Header>{messagesMap[status]}</Message.Header>
|
|
29
28
|
<Message.List>
|
|
30
|
-
{selectedSourceConcept
|
|
29
|
+
{selectedSourceConcept && (
|
|
31
30
|
<Message.Item>
|
|
32
|
-
{formatMessage({ id: "conceptRelations.from" })}
|
|
33
|
-
{
|
|
31
|
+
{formatMessage({ id: "conceptRelations.from" })}:{" "}
|
|
32
|
+
{selectedSourceConcept.name}
|
|
34
33
|
</Message.Item>
|
|
35
|
-
)
|
|
34
|
+
)}
|
|
36
35
|
{selectedStructure ? (
|
|
37
36
|
<Message.Item>
|
|
38
|
-
{formatMessage({ id: "conceptRelations.to" })}
|
|
39
|
-
{": "}
|
|
37
|
+
{formatMessage({ id: "conceptRelations.to" })}:{" "}
|
|
40
38
|
{selectedStructure.name}
|
|
41
39
|
</Message.Item>
|
|
42
40
|
) : selectedTargetConcept ? (
|
|
43
41
|
<Message.Item>
|
|
44
|
-
{formatMessage({ id: "conceptRelations.to" })}
|
|
45
|
-
{": "}
|
|
42
|
+
{formatMessage({ id: "conceptRelations.to" })}:{" "}
|
|
46
43
|
{selectedTargetConcept.name}
|
|
47
44
|
</Message.Item>
|
|
48
45
|
) : null}
|
|
49
|
-
{selectedTag
|
|
46
|
+
{selectedTag && (
|
|
50
47
|
<Message.Item>
|
|
51
|
-
{formatMessage({ id: "conceptRelations.tag" })}
|
|
52
|
-
{": "}
|
|
48
|
+
{formatMessage({ id: "conceptRelations.tag" })}:{" "}
|
|
53
49
|
{selectedLinkType === "structures"
|
|
54
50
|
? formatMessage({
|
|
55
51
|
id: selectedTag.text,
|
|
@@ -63,7 +59,7 @@ const LinkedMessage = ({
|
|
|
63
59
|
}),
|
|
64
60
|
})}
|
|
65
61
|
</Message.Item>
|
|
66
|
-
)
|
|
62
|
+
)}
|
|
67
63
|
</Message.List>
|
|
68
64
|
</Message>
|
|
69
65
|
);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import { connect } from "react-redux";
|
|
4
3
|
import PropTypes from "prop-types";
|
|
5
4
|
import { Dimmer, List, Loader, Header, Segment } from "semantic-ui-react";
|
|
@@ -11,14 +10,16 @@ export const SharedToDomains = ({ loading, sharedTo }) => {
|
|
|
11
10
|
return (
|
|
12
11
|
_.negate(_.isEmpty)(sharedTo) && (
|
|
13
12
|
<Dimmer.Dimmable dimmed={loading}>
|
|
14
|
-
|
|
15
|
-
<
|
|
16
|
-
|
|
13
|
+
{loading ? (
|
|
14
|
+
<Dimmer active inverted>
|
|
15
|
+
<Loader />
|
|
16
|
+
</Dimmer>
|
|
17
|
+
) : null}
|
|
17
18
|
<Segment>
|
|
18
19
|
<Header as="h3" dividing>
|
|
19
20
|
{formatMessage({
|
|
20
21
|
id: "concept.sharedDomains.header",
|
|
21
|
-
defaultMessage: "Compartido con"
|
|
22
|
+
defaultMessage: "Compartido con",
|
|
22
23
|
})}
|
|
23
24
|
</Header>
|
|
24
25
|
<List divided>
|
|
@@ -36,12 +37,12 @@ export const SharedToDomains = ({ loading, sharedTo }) => {
|
|
|
36
37
|
|
|
37
38
|
SharedToDomains.propTypes = {
|
|
38
39
|
loading: PropTypes.bool,
|
|
39
|
-
sharedTo: PropTypes.array
|
|
40
|
+
sharedTo: PropTypes.array,
|
|
40
41
|
};
|
|
41
42
|
|
|
42
43
|
const mapStateToProps = ({ savingSharedTo, sharedToDomains }) => ({
|
|
43
44
|
loading: savingSharedTo,
|
|
44
|
-
sharedTo: sharedToDomains
|
|
45
|
+
sharedTo: sharedToDomains,
|
|
45
46
|
});
|
|
46
47
|
|
|
47
48
|
export default connect(mapStateToProps)(SharedToDomains);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { useState } from "react";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
4
|
import { useForm, Controller } from "react-hook-form";
|
|
5
5
|
import { Button, Container, Form, Header } from "semantic-ui-react";
|
|
@@ -10,7 +10,7 @@ import { saveSharedTo } from "../routines";
|
|
|
10
10
|
|
|
11
11
|
export const SharedToForm = ({ id, saveSharedTo, saving, sharedTo }) => {
|
|
12
12
|
const { formatMessage } = useIntl();
|
|
13
|
-
const [loading, setLoading] =
|
|
13
|
+
const [loading, setLoading] = useState(true);
|
|
14
14
|
const { handleSubmit, control, formState } = useForm({
|
|
15
15
|
mode: "all",
|
|
16
16
|
defaultValues: {
|
|
@@ -22,10 +22,7 @@ export const SharedToForm = ({ id, saveSharedTo, saving, sharedTo }) => {
|
|
|
22
22
|
|
|
23
23
|
return (
|
|
24
24
|
<Container style={{ width: "400px" }}>
|
|
25
|
-
<Header
|
|
26
|
-
as="h2"
|
|
27
|
-
content={formatMessage({ id: "concept.sharedTo.header" })}
|
|
28
|
-
/>
|
|
25
|
+
<Header as="h2" content={formatMessage({ id: "concept.sharedTo.header" })} />
|
|
29
26
|
<Form loading={loading} onSubmit={handleSubmit(onSubmit)}>
|
|
30
27
|
<Controller
|
|
31
28
|
control={control}
|