@truedat/bg 7.5.9 → 7.5.11
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 +39 -34
- 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 +5 -5
- 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 +4 -6
- 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 +10 -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,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { shallow } from "enzyme";
|
|
1
|
+
import { render, waitForLoad } from "@truedat/test/render";
|
|
3
2
|
import { ConceptRelationsSummary } from "../ConceptRelationsSummary";
|
|
4
3
|
|
|
5
4
|
describe("<ConceptRelationsSummary />", () => {
|
|
6
|
-
it("matches the latest snapshot", () => {
|
|
5
|
+
it("matches the latest snapshot", async () => {
|
|
7
6
|
const props = {
|
|
8
7
|
conceptRelations: [
|
|
9
8
|
{
|
|
@@ -13,31 +12,31 @@ describe("<ConceptRelationsSummary />", () => {
|
|
|
13
12
|
value: {
|
|
14
13
|
label: "related to",
|
|
15
14
|
target_type: "business_concept",
|
|
16
|
-
type: "related_to"
|
|
15
|
+
type: "related_to",
|
|
17
16
|
},
|
|
18
17
|
relations: [
|
|
19
18
|
{
|
|
20
19
|
relationSide: "source",
|
|
21
|
-
id: 44,
|
|
22
|
-
source_id: 16,
|
|
20
|
+
id: "44",
|
|
21
|
+
source_id: "16",
|
|
23
22
|
source_type: "business_concept",
|
|
24
|
-
target_id: 10,
|
|
23
|
+
target_id: "10",
|
|
25
24
|
target_type: "business_concept",
|
|
26
25
|
context: {
|
|
27
26
|
source: {
|
|
28
|
-
business_concept_id: 16,
|
|
29
|
-
id: 21,
|
|
27
|
+
business_concept_id: "16",
|
|
28
|
+
id: "21",
|
|
30
29
|
name: "relacionado a dni",
|
|
31
30
|
version: 2,
|
|
32
|
-
version_id: "22"
|
|
31
|
+
version_id: "22",
|
|
33
32
|
},
|
|
34
33
|
target: {
|
|
35
|
-
business_concept_id: 10,
|
|
36
|
-
id: 58,
|
|
34
|
+
business_concept_id: "10",
|
|
35
|
+
id: "58",
|
|
37
36
|
name: "dni",
|
|
38
37
|
version: 5,
|
|
39
|
-
version_id: "58"
|
|
40
|
-
}
|
|
38
|
+
version_id: "58",
|
|
39
|
+
},
|
|
41
40
|
},
|
|
42
41
|
tags: [
|
|
43
42
|
{
|
|
@@ -47,33 +46,33 @@ describe("<ConceptRelationsSummary />", () => {
|
|
|
47
46
|
value: {
|
|
48
47
|
label: "related to",
|
|
49
48
|
target_type: "business_concept",
|
|
50
|
-
type: "related_to"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
]
|
|
49
|
+
type: "related_to",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
],
|
|
54
53
|
},
|
|
55
54
|
{
|
|
56
55
|
relationSide: "target",
|
|
57
|
-
id: 45,
|
|
58
|
-
source_id: 10,
|
|
56
|
+
id: "45",
|
|
57
|
+
source_id: "10",
|
|
59
58
|
source_type: "business_concept",
|
|
60
|
-
target_id: 16,
|
|
59
|
+
target_id: "16",
|
|
61
60
|
target_type: "business_concept",
|
|
62
61
|
context: {
|
|
63
62
|
source: {
|
|
64
|
-
business_concept_id: 10,
|
|
65
|
-
id: 58,
|
|
63
|
+
business_concept_id: "10",
|
|
64
|
+
id: "58",
|
|
66
65
|
name: "dni",
|
|
67
66
|
version: 5,
|
|
68
|
-
version_id: "58"
|
|
67
|
+
version_id: "58",
|
|
69
68
|
},
|
|
70
69
|
target: {
|
|
71
|
-
business_concept_id: 16,
|
|
72
|
-
id: 22,
|
|
70
|
+
business_concept_id: "16",
|
|
71
|
+
id: "22",
|
|
73
72
|
name: "relacionado a dni",
|
|
74
73
|
version: 3,
|
|
75
|
-
version_id: "22"
|
|
76
|
-
}
|
|
74
|
+
version_id: "22",
|
|
75
|
+
},
|
|
77
76
|
},
|
|
78
77
|
tags: [
|
|
79
78
|
{
|
|
@@ -83,16 +82,18 @@ describe("<ConceptRelationsSummary />", () => {
|
|
|
83
82
|
value: {
|
|
84
83
|
label: "related to",
|
|
85
84
|
target_type: "business_concept",
|
|
86
|
-
type: "related_to"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
]
|
|
85
|
+
type: "related_to",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
94
93
|
};
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
|
|
95
|
+
const rendered = render(<ConceptRelationsSummary {...props} />);
|
|
96
|
+
await waitForLoad(rendered);
|
|
97
|
+
expect(rendered.container).toMatchSnapshot();
|
|
97
98
|
});
|
|
98
99
|
});
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { render } from "@truedat/test/render";
|
|
3
1
|
import { waitFor } from "@testing-library/react";
|
|
4
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
+
import { render, waitForLoad } from "@truedat/test/render";
|
|
5
4
|
import ConceptSelector from "../ConceptSelector";
|
|
6
|
-
import en from "../../../../messages/en";
|
|
7
5
|
|
|
8
6
|
const concept = {
|
|
9
7
|
id: 1,
|
|
@@ -64,17 +62,7 @@ jest.mock("@truedat/bg/concepts/hooks/useConcepts", () => {
|
|
|
64
62
|
};
|
|
65
63
|
});
|
|
66
64
|
|
|
67
|
-
|
|
68
|
-
en: {
|
|
69
|
-
...en,
|
|
70
|
-
"concepts.status.undefined": "undefined",
|
|
71
|
-
"search.save_filters": "save filters",
|
|
72
|
-
"search.clear_filters": "clear filters",
|
|
73
|
-
"search.applied_filters": "apply filters",
|
|
74
|
-
"search.placeholder": "Search...",
|
|
75
|
-
},
|
|
76
|
-
};
|
|
77
|
-
const renderOpts = { messages };
|
|
65
|
+
jest.mock("@truedat/core/hooks/useUserFilters");
|
|
78
66
|
|
|
79
67
|
describe("<ConceptSelector />", () => {
|
|
80
68
|
const handleConceptSelected = jest.fn();
|
|
@@ -83,43 +71,43 @@ describe("<ConceptSelector />", () => {
|
|
|
83
71
|
defaultFilters: {},
|
|
84
72
|
handleConceptSelected,
|
|
85
73
|
};
|
|
74
|
+
|
|
86
75
|
it("matches the latest snapshot", async () => {
|
|
87
|
-
const {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
);
|
|
91
|
-
|
|
92
|
-
await waitFor(() => {
|
|
93
|
-
expect(container.querySelector(".loading")).toBeNull();
|
|
94
|
-
});
|
|
76
|
+
const user = userEvent.setup({ delay: null });
|
|
77
|
+
const rendered = render(<ConceptSelector {...props} />);
|
|
78
|
+
await waitForLoad(rendered);
|
|
79
|
+
await user.click(await rendered.findByText(/some/i));
|
|
80
|
+
await waitForLoad(rendered);
|
|
95
81
|
expect(
|
|
96
|
-
container.querySelector(
|
|
82
|
+
rendered.container.querySelector(
|
|
97
83
|
'button[data-tooltip="concepts.actions.downloadLinks.tooltip"]'
|
|
98
84
|
)
|
|
99
85
|
).toBeInTheDocument();
|
|
100
|
-
expect(container).toMatchSnapshot();
|
|
86
|
+
expect(rendered.container).toMatchSnapshot();
|
|
101
87
|
});
|
|
102
88
|
|
|
103
|
-
it("renders title when specified", () => {
|
|
104
|
-
const
|
|
105
|
-
|
|
89
|
+
it("renders title when specified", async () => {
|
|
90
|
+
const rendered = render(<ConceptSelector {...props} />);
|
|
91
|
+
await waitForLoad(rendered);
|
|
92
|
+
expect(rendered.queryByText(/relatedconcept/i)).toBeInTheDocument();
|
|
106
93
|
});
|
|
107
94
|
|
|
108
|
-
it("renders no title when is not specified", () => {
|
|
109
|
-
const
|
|
110
|
-
<ConceptSelector {...{ ...props, showTitle: false }}
|
|
111
|
-
renderOpts
|
|
95
|
+
it("renders no title when is not specified", async () => {
|
|
96
|
+
const rendered = render(
|
|
97
|
+
<ConceptSelector {...{ ...props, showTitle: false }} />
|
|
112
98
|
);
|
|
113
|
-
|
|
99
|
+
await waitForLoad(rendered);
|
|
100
|
+
expect(rendered.queryByText(/relatedconcept/i)).not.toBeInTheDocument();
|
|
114
101
|
});
|
|
115
102
|
|
|
116
103
|
it("calls handleConceptSelected on concept row click", async () => {
|
|
117
|
-
const {
|
|
118
|
-
|
|
119
|
-
|
|
104
|
+
const user = userEvent.setup({ delay: null });
|
|
105
|
+
const rendered = render(
|
|
106
|
+
<ConceptSelector {...{ ...props, selectedConcept: null }} />
|
|
120
107
|
);
|
|
108
|
+
await waitForLoad(rendered);
|
|
121
109
|
|
|
122
|
-
|
|
110
|
+
await user.click(await rendered.findByText(/foo/i));
|
|
123
111
|
await waitFor(() =>
|
|
124
112
|
expect(handleConceptSelected.mock.calls.length).toBe(1)
|
|
125
113
|
);
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
3
|
-
import { render } from "@truedat/test/render";
|
|
2
|
+
import { render, waitForLoad } from "@truedat/test/render";
|
|
4
3
|
import { useSearchContext } from "@truedat/core/search/SearchContext";
|
|
5
4
|
import { ConceptStructureLinksPane } from "../ConceptStructureLinks";
|
|
6
|
-
|
|
7
5
|
import { useConceptContext } from "../../../components/ConceptContext";
|
|
8
6
|
|
|
9
7
|
jest.mock("../../../components/ConceptContext", () => {
|
|
@@ -18,6 +16,18 @@ jest.mock("../../../components/ConceptContext", () => {
|
|
|
18
16
|
};
|
|
19
17
|
});
|
|
20
18
|
|
|
19
|
+
jest.mock("@truedat/dd/hooks/useStructures", () => ({
|
|
20
|
+
...jest.requireActual("@truedat/dd/hooks/useStructures"),
|
|
21
|
+
useDataStructureSearch: () => ({
|
|
22
|
+
trigger: () => ({ then: (callback) => callback({ data: {} }) }),
|
|
23
|
+
}),
|
|
24
|
+
useDataStructureFilters: () => ({
|
|
25
|
+
trigger: () => ({ then: (callback) => callback({ data: {} }) }),
|
|
26
|
+
}),
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
21
31
|
jest.mock("@truedat/core/search/SearchContext", () => {
|
|
22
32
|
const originalModule = jest.requireActual(
|
|
23
33
|
"@truedat/core/search/SearchContext"
|
|
@@ -52,15 +62,14 @@ describe("<ConceptStructureLinksPane />", () => {
|
|
|
52
62
|
searchData: [],
|
|
53
63
|
});
|
|
54
64
|
|
|
55
|
-
const
|
|
56
|
-
<
|
|
57
|
-
<ConceptStructureLinksPane {...props} />
|
|
58
|
-
</Suspense>
|
|
65
|
+
const rendered = render(
|
|
66
|
+
<ConceptStructureLinksPane {...props} />
|
|
59
67
|
);
|
|
60
68
|
|
|
61
|
-
await
|
|
69
|
+
await waitForLoad(rendered);
|
|
70
|
+
await rendered.findByText(/foo/i);
|
|
62
71
|
|
|
63
|
-
expect(container).toMatchSnapshot();
|
|
72
|
+
expect(rendered.container).toMatchSnapshot();
|
|
64
73
|
});
|
|
65
74
|
|
|
66
75
|
it("matches the latest snapshot with grantView", async () => {
|
|
@@ -84,8 +93,9 @@ describe("<ConceptStructureLinksPane />", () => {
|
|
|
84
93
|
loading: false,
|
|
85
94
|
});
|
|
86
95
|
|
|
87
|
-
const
|
|
96
|
+
const rendered = render(<ConceptStructureLinksPane {...props} />);
|
|
97
|
+
await waitForLoad(rendered);
|
|
88
98
|
|
|
89
|
-
expect(container).toMatchSnapshot();
|
|
99
|
+
expect(rendered.container).toMatchSnapshot();
|
|
90
100
|
});
|
|
91
101
|
});
|
|
@@ -4,7 +4,6 @@ exports[`<ConceptImplementationLinks /> matches the latest snapshot 1`] = `
|
|
|
4
4
|
<div>
|
|
5
5
|
<div
|
|
6
6
|
class="ui bottom attached segment"
|
|
7
|
-
style="display: none;"
|
|
8
7
|
>
|
|
9
8
|
<div
|
|
10
9
|
style="height: 40px;"
|
|
@@ -17,6 +16,107 @@ exports[`<ConceptImplementationLinks /> matches the latest snapshot 1`] = `
|
|
|
17
16
|
>
|
|
18
17
|
group
|
|
19
18
|
</h3>
|
|
19
|
+
<div
|
|
20
|
+
class="implementations-table-overflow"
|
|
21
|
+
>
|
|
22
|
+
<table
|
|
23
|
+
class="ui sortable table"
|
|
24
|
+
>
|
|
25
|
+
<thead
|
|
26
|
+
class=""
|
|
27
|
+
>
|
|
28
|
+
<tr
|
|
29
|
+
class=""
|
|
30
|
+
>
|
|
31
|
+
<th
|
|
32
|
+
class="two wide ascending sorted disabled"
|
|
33
|
+
>
|
|
34
|
+
ruleImplementations.props.implementation_key
|
|
35
|
+
</th>
|
|
36
|
+
<th
|
|
37
|
+
class="two wide ascending sorted disabled"
|
|
38
|
+
>
|
|
39
|
+
ruleImplementations.props.rule
|
|
40
|
+
</th>
|
|
41
|
+
<th
|
|
42
|
+
class="two wide ascending sorted disabled"
|
|
43
|
+
>
|
|
44
|
+
ruleImplementations.props.status
|
|
45
|
+
</th>
|
|
46
|
+
<th
|
|
47
|
+
class="two wide ascending sorted disabled"
|
|
48
|
+
>
|
|
49
|
+
ruleImplementations.props.last_execution_at
|
|
50
|
+
</th>
|
|
51
|
+
<th
|
|
52
|
+
class="two wide ascending sorted disabled"
|
|
53
|
+
>
|
|
54
|
+
ruleImplementations.props.result_type
|
|
55
|
+
</th>
|
|
56
|
+
<th
|
|
57
|
+
class="one wide ascending sorted disabled"
|
|
58
|
+
>
|
|
59
|
+
ruleImplementations.props.minimum
|
|
60
|
+
</th>
|
|
61
|
+
<th
|
|
62
|
+
class="one wide ascending sorted disabled"
|
|
63
|
+
>
|
|
64
|
+
ruleImplementations.props.goal
|
|
65
|
+
</th>
|
|
66
|
+
<th
|
|
67
|
+
class="two wide ascending sorted disabled"
|
|
68
|
+
>
|
|
69
|
+
ruleImplementations.props.result
|
|
70
|
+
</th>
|
|
71
|
+
</tr>
|
|
72
|
+
</thead>
|
|
73
|
+
<tbody
|
|
74
|
+
class=""
|
|
75
|
+
>
|
|
76
|
+
<tr
|
|
77
|
+
class=""
|
|
78
|
+
>
|
|
79
|
+
<td
|
|
80
|
+
class=""
|
|
81
|
+
>
|
|
82
|
+
<a
|
|
83
|
+
data-discover="true"
|
|
84
|
+
href="/implementations/1"
|
|
85
|
+
>
|
|
86
|
+
foo
|
|
87
|
+
</a>
|
|
88
|
+
</td>
|
|
89
|
+
<td
|
|
90
|
+
class=""
|
|
91
|
+
/>
|
|
92
|
+
<td
|
|
93
|
+
class=""
|
|
94
|
+
>
|
|
95
|
+
ruleImplementation.status.undefined
|
|
96
|
+
</td>
|
|
97
|
+
<td
|
|
98
|
+
class=""
|
|
99
|
+
/>
|
|
100
|
+
<td
|
|
101
|
+
class=""
|
|
102
|
+
/>
|
|
103
|
+
<td
|
|
104
|
+
class="right aligned"
|
|
105
|
+
>
|
|
106
|
+
undefined%
|
|
107
|
+
</td>
|
|
108
|
+
<td
|
|
109
|
+
class="right aligned"
|
|
110
|
+
>
|
|
111
|
+
undefined%
|
|
112
|
+
</td>
|
|
113
|
+
<td
|
|
114
|
+
class="center aligned"
|
|
115
|
+
/>
|
|
116
|
+
</tr>
|
|
117
|
+
</tbody>
|
|
118
|
+
</table>
|
|
119
|
+
</div>
|
|
20
120
|
</div>
|
|
21
121
|
</div>
|
|
22
122
|
</div>
|
|
@@ -53,42 +153,42 @@ exports[`<ConceptImplementationLinks /> show create implementations buttons when
|
|
|
53
153
|
<th
|
|
54
154
|
class="two wide ascending sorted disabled"
|
|
55
155
|
>
|
|
56
|
-
|
|
156
|
+
ruleImplementations.props.implementation_key
|
|
57
157
|
</th>
|
|
58
158
|
<th
|
|
59
159
|
class="two wide ascending sorted disabled"
|
|
60
160
|
>
|
|
61
|
-
|
|
161
|
+
ruleImplementations.props.rule
|
|
62
162
|
</th>
|
|
63
163
|
<th
|
|
64
164
|
class="two wide ascending sorted disabled"
|
|
65
165
|
>
|
|
66
|
-
|
|
166
|
+
ruleImplementations.props.status
|
|
67
167
|
</th>
|
|
68
168
|
<th
|
|
69
169
|
class="two wide ascending sorted disabled"
|
|
70
170
|
>
|
|
71
|
-
|
|
171
|
+
ruleImplementations.props.last_execution_at
|
|
72
172
|
</th>
|
|
73
173
|
<th
|
|
74
174
|
class="two wide ascending sorted disabled"
|
|
75
175
|
>
|
|
76
|
-
|
|
176
|
+
ruleImplementations.props.result_type
|
|
77
177
|
</th>
|
|
78
178
|
<th
|
|
79
179
|
class="one wide ascending sorted disabled"
|
|
80
180
|
>
|
|
81
|
-
|
|
181
|
+
ruleImplementations.props.minimum
|
|
82
182
|
</th>
|
|
83
183
|
<th
|
|
84
184
|
class="one wide ascending sorted disabled"
|
|
85
185
|
>
|
|
86
|
-
|
|
186
|
+
ruleImplementations.props.goal
|
|
87
187
|
</th>
|
|
88
188
|
<th
|
|
89
189
|
class="two wide ascending sorted disabled"
|
|
90
190
|
>
|
|
91
|
-
|
|
191
|
+
ruleImplementations.props.result
|
|
92
192
|
</th>
|
|
93
193
|
</tr>
|
|
94
194
|
</thead>
|
|
@@ -102,6 +202,7 @@ exports[`<ConceptImplementationLinks /> show create implementations buttons when
|
|
|
102
202
|
class=""
|
|
103
203
|
>
|
|
104
204
|
<a
|
|
205
|
+
data-discover="true"
|
|
105
206
|
href="/implementations/1"
|
|
106
207
|
>
|
|
107
208
|
foo
|
|
@@ -157,7 +258,7 @@ exports[`<ConceptImplementationLinks /> show implementations with groups 1`] = `
|
|
|
157
258
|
<h3
|
|
158
259
|
class="ui header"
|
|
159
260
|
>
|
|
160
|
-
|
|
261
|
+
implementationRelation.table.title
|
|
161
262
|
</h3>
|
|
162
263
|
<div
|
|
163
264
|
class="implementations-table-overflow"
|
|
@@ -174,42 +275,42 @@ exports[`<ConceptImplementationLinks /> show implementations with groups 1`] = `
|
|
|
174
275
|
<th
|
|
175
276
|
class="two wide ascending sorted disabled"
|
|
176
277
|
>
|
|
177
|
-
|
|
278
|
+
ruleImplementations.props.implementation_key
|
|
178
279
|
</th>
|
|
179
280
|
<th
|
|
180
281
|
class="two wide ascending sorted disabled"
|
|
181
282
|
>
|
|
182
|
-
|
|
283
|
+
ruleImplementations.props.rule
|
|
183
284
|
</th>
|
|
184
285
|
<th
|
|
185
286
|
class="two wide ascending sorted disabled"
|
|
186
287
|
>
|
|
187
|
-
|
|
288
|
+
ruleImplementations.props.status
|
|
188
289
|
</th>
|
|
189
290
|
<th
|
|
190
291
|
class="two wide ascending sorted disabled"
|
|
191
292
|
>
|
|
192
|
-
|
|
293
|
+
ruleImplementations.props.last_execution_at
|
|
193
294
|
</th>
|
|
194
295
|
<th
|
|
195
296
|
class="two wide ascending sorted disabled"
|
|
196
297
|
>
|
|
197
|
-
|
|
298
|
+
ruleImplementations.props.result_type
|
|
198
299
|
</th>
|
|
199
300
|
<th
|
|
200
301
|
class="one wide ascending sorted disabled"
|
|
201
302
|
>
|
|
202
|
-
|
|
303
|
+
ruleImplementations.props.minimum
|
|
203
304
|
</th>
|
|
204
305
|
<th
|
|
205
306
|
class="one wide ascending sorted disabled"
|
|
206
307
|
>
|
|
207
|
-
|
|
308
|
+
ruleImplementations.props.goal
|
|
208
309
|
</th>
|
|
209
310
|
<th
|
|
210
311
|
class="two wide ascending sorted disabled"
|
|
211
312
|
>
|
|
212
|
-
|
|
313
|
+
ruleImplementations.props.result
|
|
213
314
|
</th>
|
|
214
315
|
</tr>
|
|
215
316
|
</thead>
|
|
@@ -223,6 +324,7 @@ exports[`<ConceptImplementationLinks /> show implementations with groups 1`] = `
|
|
|
223
324
|
class=""
|
|
224
325
|
>
|
|
225
326
|
<a
|
|
327
|
+
data-discover="true"
|
|
226
328
|
href="/implementations/1"
|
|
227
329
|
>
|
|
228
330
|
foo
|
|
@@ -266,7 +368,7 @@ exports[`<ConceptImplementationLinks /> show implementations with groups 1`] = `
|
|
|
266
368
|
<h3
|
|
267
369
|
class="ui header"
|
|
268
370
|
>
|
|
269
|
-
|
|
371
|
+
implementationDeletedRelation.table.title
|
|
270
372
|
</h3>
|
|
271
373
|
<div
|
|
272
374
|
class="implementations-table-overflow"
|
|
@@ -283,42 +385,42 @@ exports[`<ConceptImplementationLinks /> show implementations with groups 1`] = `
|
|
|
283
385
|
<th
|
|
284
386
|
class="two wide ascending sorted disabled"
|
|
285
387
|
>
|
|
286
|
-
|
|
388
|
+
ruleImplementations.props.implementation_key
|
|
287
389
|
</th>
|
|
288
390
|
<th
|
|
289
391
|
class="two wide ascending sorted disabled"
|
|
290
392
|
>
|
|
291
|
-
|
|
393
|
+
ruleImplementations.props.rule
|
|
292
394
|
</th>
|
|
293
395
|
<th
|
|
294
396
|
class="two wide ascending sorted disabled"
|
|
295
397
|
>
|
|
296
|
-
|
|
398
|
+
ruleImplementations.props.status
|
|
297
399
|
</th>
|
|
298
400
|
<th
|
|
299
401
|
class="two wide ascending sorted disabled"
|
|
300
402
|
>
|
|
301
|
-
|
|
403
|
+
ruleImplementations.props.last_execution_at
|
|
302
404
|
</th>
|
|
303
405
|
<th
|
|
304
406
|
class="two wide ascending sorted disabled"
|
|
305
407
|
>
|
|
306
|
-
|
|
408
|
+
ruleImplementations.props.result_type
|
|
307
409
|
</th>
|
|
308
410
|
<th
|
|
309
411
|
class="one wide ascending sorted disabled"
|
|
310
412
|
>
|
|
311
|
-
|
|
413
|
+
ruleImplementations.props.minimum
|
|
312
414
|
</th>
|
|
313
415
|
<th
|
|
314
416
|
class="one wide ascending sorted disabled"
|
|
315
417
|
>
|
|
316
|
-
|
|
418
|
+
ruleImplementations.props.goal
|
|
317
419
|
</th>
|
|
318
420
|
<th
|
|
319
421
|
class="two wide ascending sorted disabled"
|
|
320
422
|
>
|
|
321
|
-
|
|
423
|
+
ruleImplementations.props.result
|
|
322
424
|
</th>
|
|
323
425
|
</tr>
|
|
324
426
|
</thead>
|
|
@@ -332,6 +434,7 @@ exports[`<ConceptImplementationLinks /> show implementations with groups 1`] = `
|
|
|
332
434
|
class=""
|
|
333
435
|
>
|
|
334
436
|
<a
|
|
437
|
+
data-discover="true"
|
|
335
438
|
href="/implementations/2"
|
|
336
439
|
>
|
|
337
440
|
bar
|
|
@@ -388,7 +491,7 @@ exports[`<ConceptImplementationLinks /> when don't have any implementation 1`] =
|
|
|
388
491
|
class="content"
|
|
389
492
|
>
|
|
390
493
|
<p>
|
|
391
|
-
|
|
494
|
+
concepts.implementations.empty
|
|
392
495
|
</p>
|
|
393
496
|
</div>
|
|
394
497
|
</div>
|
package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksActions.spec.js.snap
CHANGED
|
@@ -15,7 +15,6 @@ exports[`<ConceptLinksActions /> matches the latest snapshot with Grant Requests
|
|
|
15
15
|
readonly=""
|
|
16
16
|
tabindex="0"
|
|
17
17
|
type="checkbox"
|
|
18
|
-
value=""
|
|
19
18
|
/>
|
|
20
19
|
<label
|
|
21
20
|
for="execute_checkbox"
|
|
@@ -35,10 +34,11 @@ exports[`<ConceptLinksActions /> matches the latest snapshot with Grant Requests
|
|
|
35
34
|
</button>
|
|
36
35
|
<a
|
|
37
36
|
class="ui primary button"
|
|
37
|
+
data-discover="true"
|
|
38
38
|
href="/concepts/11/versions/1/links/structures/new"
|
|
39
39
|
role="button"
|
|
40
40
|
>
|
|
41
|
-
|
|
41
|
+
links.actions.create
|
|
42
42
|
</a>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
@@ -51,10 +51,11 @@ exports[`<ConceptLinksActions /> matches the latest snapshot without Grant Reque
|
|
|
51
51
|
>
|
|
52
52
|
<a
|
|
53
53
|
class="ui primary button"
|
|
54
|
+
data-discover="true"
|
|
54
55
|
href="/concepts/11/versions/1/links/structures/new"
|
|
55
56
|
role="button"
|
|
56
57
|
>
|
|
57
|
-
|
|
58
|
+
links.actions.create
|
|
58
59
|
</a>
|
|
59
60
|
</div>
|
|
60
61
|
</div>
|
|
@@ -1,30 +1,14 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`<ConceptRelationActions /> matches the latest snapshot 1`] = `
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"target": [Function],
|
|
15
|
-
"to": [Function],
|
|
16
|
-
},
|
|
17
|
-
"render": [Function],
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
content={
|
|
21
|
-
<Memo(MemoizedFormattedMessage)
|
|
22
|
-
id="relations.actions.business_concept.create"
|
|
23
|
-
/>
|
|
24
|
-
}
|
|
25
|
-
floated="right"
|
|
26
|
-
primary={true}
|
|
27
|
-
to="relation"
|
|
28
|
-
/>
|
|
29
|
-
</Fragment>
|
|
4
|
+
<div>
|
|
5
|
+
<a
|
|
6
|
+
class="ui primary right floated button"
|
|
7
|
+
data-discover="true"
|
|
8
|
+
href="/relation"
|
|
9
|
+
role="button"
|
|
10
|
+
>
|
|
11
|
+
relations.actions.business_concept.create
|
|
12
|
+
</a>
|
|
13
|
+
</div>
|
|
30
14
|
`;
|