@reltio/components 1.4.1998 → 1.4.2000
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/cjs/UpSetChart/UpSetChart.d.ts +5 -8
- package/cjs/UpSetChart/UpSetChart.js +61 -5
- package/cjs/UpSetChart/UpSetChart.test.js +198 -0
- package/cjs/UpSetChart/components/IntersectionsChart/IntersectionsChart.d.ts +15 -0
- package/cjs/UpSetChart/components/IntersectionsChart/IntersectionsChart.js +66 -0
- package/cjs/UpSetChart/components/IntersectionsChart/index.d.ts +1 -0
- package/cjs/UpSetChart/components/IntersectionsChart/index.js +5 -0
- package/cjs/UpSetChart/components/IntersectionsChart/styles.d.ts +1 -0
- package/cjs/UpSetChart/components/IntersectionsChart/styles.js +32 -0
- package/cjs/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.d.ts +10 -0
- package/cjs/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.js +64 -0
- package/cjs/UpSetChart/components/IntersectionsChartAxis/index.d.ts +1 -0
- package/cjs/UpSetChart/components/IntersectionsChartAxis/index.js +5 -0
- package/cjs/UpSetChart/components/IntersectionsChartAxis/styles.d.ts +1 -0
- package/cjs/UpSetChart/components/IntersectionsChartAxis/styles.js +32 -0
- package/cjs/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.d.ts +13 -0
- package/cjs/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.js +56 -0
- package/cjs/UpSetChart/components/IntersectionsMatrix/index.d.ts +1 -0
- package/cjs/UpSetChart/components/IntersectionsMatrix/index.js +5 -0
- package/cjs/UpSetChart/components/IntersectionsMatrix/styles.d.ts +1 -0
- package/cjs/UpSetChart/components/IntersectionsMatrix/styles.js +27 -0
- package/cjs/UpSetChart/components/SetsChart/SetsChart.d.ts +15 -0
- package/cjs/UpSetChart/components/SetsChart/SetsChart.js +58 -0
- package/cjs/UpSetChart/components/SetsChart/index.d.ts +1 -0
- package/cjs/UpSetChart/components/SetsChart/index.js +5 -0
- package/cjs/UpSetChart/components/SetsChart/styles.d.ts +1 -0
- package/cjs/UpSetChart/components/SetsChart/styles.js +43 -0
- package/cjs/UpSetChart/components/SetsChartAxis/SetsChartAxis.d.ts +6 -0
- package/cjs/UpSetChart/components/SetsChartAxis/SetsChartAxis.js +20 -0
- package/cjs/UpSetChart/components/SetsChartAxis/index.d.ts +1 -0
- package/cjs/UpSetChart/components/SetsChartAxis/index.js +5 -0
- package/cjs/UpSetChart/components/SetsChartAxis/styles.d.ts +1 -0
- package/cjs/UpSetChart/components/SetsChartAxis/styles.js +17 -0
- package/cjs/UpSetChart/constants.d.ts +16 -3
- package/cjs/UpSetChart/constants.js +20 -4
- package/cjs/UpSetChart/gameOfThrones.test-data.d.ts +4 -0
- package/cjs/UpSetChart/gameOfThrones.test-data.js +26 -0
- package/cjs/UpSetChart/helpers.d.ts +20 -0
- package/cjs/UpSetChart/helpers.js +127 -0
- package/cjs/UpSetChart/styles.d.ts +4 -1
- package/cjs/UpSetChart/styles.js +11 -12
- package/cjs/UpSetChart/types.d.ts +16 -0
- package/cjs/UpSetChart/types.js +2 -0
- package/cjs/UpSetChart/useUpSetChartSizes.d.ts +20 -0
- package/cjs/UpSetChart/useUpSetChartSizes.js +34 -0
- package/cjs/features/crosswalks/AttributesTable/AttributesTable.test-data.d.ts +36 -0
- package/cjs/features/crosswalks/AttributesTable/AttributesTable.test-data.js +288 -0
- package/cjs/features/crosswalks/AttributesTable/AttributesTable.test.js +708 -370
- package/cjs/features/crosswalks/ColoredBlock/ColoredBlock.test.js +77 -15
- package/cjs/features/crosswalks/CopyableValueField/CopyableValueField.test.js +85 -15
- package/cjs/features/crosswalks/CrosswalkAttributes/CrosswalkAttributes.test.js +265 -193
- package/cjs/features/crosswalks/CrosswalkDateEditor/CrosswalkDateEditor.test.js +106 -12
- package/cjs/features/crosswalks/CrosswalkDragLayer/CrosswalkDragLayer.test.js +21 -9
- package/cjs/features/crosswalks/CrosswalkEditor/CrosswalkEditor.test.js +190 -90
- package/cjs/features/crosswalks/CrosswalkRow/CrosswalkRow.test.js +323 -225
- package/cjs/features/crosswalks/ShowDependentLink/ShowDependentLink.test.js +75 -12
- package/cjs/features/crosswalks/SourceCrosswalksRow/SourceCrosswalksRow.test.js +171 -138
- package/esm/UpSetChart/UpSetChart.d.ts +5 -8
- package/esm/UpSetChart/UpSetChart.js +38 -5
- package/esm/UpSetChart/UpSetChart.test.js +193 -0
- package/esm/UpSetChart/components/IntersectionsChart/IntersectionsChart.d.ts +15 -0
- package/esm/UpSetChart/components/IntersectionsChart/IntersectionsChart.js +39 -0
- package/esm/UpSetChart/components/IntersectionsChart/index.d.ts +1 -0
- package/esm/UpSetChart/components/IntersectionsChart/index.js +1 -0
- package/esm/UpSetChart/components/IntersectionsChart/styles.d.ts +1 -0
- package/esm/UpSetChart/components/IntersectionsChart/styles.js +29 -0
- package/esm/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.d.ts +10 -0
- package/esm/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.js +34 -0
- package/esm/UpSetChart/components/IntersectionsChartAxis/index.d.ts +1 -0
- package/esm/UpSetChart/components/IntersectionsChartAxis/index.js +1 -0
- package/esm/UpSetChart/components/IntersectionsChartAxis/styles.d.ts +1 -0
- package/esm/UpSetChart/components/IntersectionsChartAxis/styles.js +29 -0
- package/esm/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.d.ts +13 -0
- package/esm/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.js +26 -0
- package/esm/UpSetChart/components/IntersectionsMatrix/index.d.ts +1 -0
- package/esm/UpSetChart/components/IntersectionsMatrix/index.js +1 -0
- package/esm/UpSetChart/components/IntersectionsMatrix/styles.d.ts +1 -0
- package/esm/UpSetChart/components/IntersectionsMatrix/styles.js +24 -0
- package/esm/UpSetChart/components/SetsChart/SetsChart.d.ts +15 -0
- package/esm/UpSetChart/components/SetsChart/SetsChart.js +31 -0
- package/esm/UpSetChart/components/SetsChart/index.d.ts +1 -0
- package/esm/UpSetChart/components/SetsChart/index.js +1 -0
- package/esm/UpSetChart/components/SetsChart/styles.d.ts +1 -0
- package/esm/UpSetChart/components/SetsChart/styles.js +40 -0
- package/esm/UpSetChart/components/SetsChartAxis/SetsChartAxis.d.ts +6 -0
- package/esm/UpSetChart/components/SetsChartAxis/SetsChartAxis.js +13 -0
- package/esm/UpSetChart/components/SetsChartAxis/index.d.ts +1 -0
- package/esm/UpSetChart/components/SetsChartAxis/index.js +1 -0
- package/esm/UpSetChart/components/SetsChartAxis/styles.d.ts +1 -0
- package/esm/UpSetChart/components/SetsChartAxis/styles.js +14 -0
- package/esm/UpSetChart/constants.d.ts +16 -3
- package/esm/UpSetChart/constants.js +19 -3
- package/esm/UpSetChart/gameOfThrones.test-data.d.ts +4 -0
- package/esm/UpSetChart/gameOfThrones.test-data.js +23 -0
- package/esm/UpSetChart/helpers.d.ts +20 -0
- package/esm/UpSetChart/helpers.js +120 -0
- package/esm/UpSetChart/styles.d.ts +4 -1
- package/esm/UpSetChart/styles.js +11 -12
- package/esm/UpSetChart/types.d.ts +16 -0
- package/esm/UpSetChart/useUpSetChartSizes.d.ts +20 -0
- package/esm/UpSetChart/useUpSetChartSizes.js +30 -0
- package/esm/features/crosswalks/AttributesTable/AttributesTable.test-data.d.ts +36 -0
- package/esm/features/crosswalks/AttributesTable/AttributesTable.test-data.js +283 -0
- package/esm/features/crosswalks/AttributesTable/AttributesTable.test.js +711 -350
- package/esm/features/crosswalks/ColoredBlock/ColoredBlock.test.js +77 -15
- package/esm/features/crosswalks/CopyableValueField/CopyableValueField.test.js +85 -15
- package/esm/features/crosswalks/CrosswalkAttributes/CrosswalkAttributes.test.js +266 -194
- package/esm/features/crosswalks/CrosswalkDateEditor/CrosswalkDateEditor.test.js +106 -12
- package/esm/features/crosswalks/CrosswalkDragLayer/CrosswalkDragLayer.test.js +21 -9
- package/esm/features/crosswalks/CrosswalkEditor/CrosswalkEditor.test.js +190 -90
- package/esm/features/crosswalks/CrosswalkRow/CrosswalkRow.test.js +324 -226
- package/esm/features/crosswalks/ShowDependentLink/ShowDependentLink.test.js +75 -12
- package/esm/features/crosswalks/SourceCrosswalksRow/SourceCrosswalksRow.test.js +171 -138
- package/package.json +1 -1
- package/cjs/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.d.ts +0 -3
- package/cjs/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.js +0 -52
- package/cjs/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.js +0 -323
- package/cjs/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.js +0 -142
- package/cjs/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.test.js +0 -146
- package/cjs/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.js +0 -50
- package/cjs/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.js +0 -58
- package/cjs/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.js +0 -14
- package/cjs/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.js +0 -110
- package/cjs/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.js +0 -111
- package/cjs/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.js +0 -67
- package/cjs/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.js +0 -193
- package/cjs/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.js +0 -22
- package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.js +0 -58
- package/cjs/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.js +0 -69
- package/cjs/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.d.ts +0 -1
- package/cjs/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.js +0 -137
- package/cjs/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.d.ts +0 -1
- package/cjs/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.js +0 -56
- package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.d.ts +0 -3
- package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.js +0 -47
- package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.js +0 -318
- package/esm/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.js +0 -137
- package/esm/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.test.js +0 -141
- package/esm/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.js +0 -45
- package/esm/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.js +0 -53
- package/esm/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.js +0 -9
- package/esm/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.js +0 -105
- package/esm/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.js +0 -106
- package/esm/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.js +0 -62
- package/esm/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.js +0 -188
- package/esm/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.js +0 -17
- package/esm/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.js +0 -53
- package/esm/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.js +0 -64
- package/esm/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.d.ts +0 -1
- package/esm/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.js +0 -132
- package/esm/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.d.ts +0 -1
- package/esm/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.js +0 -28
- /package/cjs/{features/crosswalks/AttributesTable/IntegrationAttributesTable.test.d.ts → UpSetChart/UpSetChart.test.d.ts} +0 -0
- /package/{cjs/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.d.ts → esm/UpSetChart/UpSetChart.test.d.ts} +0 -0
- /package/{cjs/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.test.d.ts → esm/UpSetChart/types.js} +0 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.selectedAttributeTypes = exports.createMetadata = exports.createEntity = void 0;
|
|
4
|
+
var createEntity = function () {
|
|
5
|
+
return {
|
|
6
|
+
uri: 'entities/01L2n5z',
|
|
7
|
+
type: 'configuration/entityTypes/HCP',
|
|
8
|
+
label: 'entity label',
|
|
9
|
+
attributes: {
|
|
10
|
+
Boolean: [
|
|
11
|
+
{
|
|
12
|
+
ov: true,
|
|
13
|
+
type: 'configuration/entityTypes/HCP/attributes/Boolean',
|
|
14
|
+
uri: 'entities/01L2n5z/attributes/Boolean/5nmc3Cp',
|
|
15
|
+
value: 'true'
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
TextField: [
|
|
19
|
+
{
|
|
20
|
+
ov: true,
|
|
21
|
+
type: 'configuration/entityTypes/HCP/attributes/TextField',
|
|
22
|
+
uri: 'entities/01L2n5z/attributes/TextField/5noU1aB',
|
|
23
|
+
value: 'text field value'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
ov: false,
|
|
27
|
+
type: 'configuration/entityTypes/HCP/attributes/TextField',
|
|
28
|
+
uri: 'entities/01L2n5z/attributes/TextField/5noU1aB',
|
|
29
|
+
value: 'another text value',
|
|
30
|
+
ignored: true
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
DeepNested: [
|
|
34
|
+
{
|
|
35
|
+
label: 'Nested Label',
|
|
36
|
+
value: {
|
|
37
|
+
FirstLevelNestedSub1: [
|
|
38
|
+
{
|
|
39
|
+
type: 'configuration/entityTypes/HCP/attributes/DeepNested/attributes/FirstLevelNestedSub1',
|
|
40
|
+
ov: true,
|
|
41
|
+
value: '123',
|
|
42
|
+
uri: 'entities/01L2n5z/attributes/DeepNested/1ZAtO4T6/FirstLevelNestedSub1/1ZAtO8jM'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
ov: true,
|
|
47
|
+
uri: 'entities/01L2n5z/attributes/DeepNested/1ZAtO4T6'
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
Address: [
|
|
51
|
+
{
|
|
52
|
+
label: 'Reference Address',
|
|
53
|
+
relationshipLabel: 'new address',
|
|
54
|
+
refEntity: {
|
|
55
|
+
objectURI: 'entities/2EpaVt0k',
|
|
56
|
+
type: 'configuration/entityTypes/Location',
|
|
57
|
+
crosswalks: []
|
|
58
|
+
},
|
|
59
|
+
refRelation: {
|
|
60
|
+
objectURI: 'relations/1GrMXM4O',
|
|
61
|
+
type: 'configuration/relationTypes/HasAddress',
|
|
62
|
+
crosswalks: []
|
|
63
|
+
},
|
|
64
|
+
uri: 'entities/2Vek4DnE/attributes/Address/1GrMXM4O',
|
|
65
|
+
value: {
|
|
66
|
+
AddressLine1: [
|
|
67
|
+
{
|
|
68
|
+
ov: true,
|
|
69
|
+
type: 'configuration/entityTypes/Location/attributes/AddressLine1',
|
|
70
|
+
uri: 'entities/2Vek4DnE/attributes/Address/1GrMXM4O/AddressLine1/2GcBL4K00',
|
|
71
|
+
value: 'address line 1 value'
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
startObjectCrosswalks: []
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
ImageGallery: [
|
|
79
|
+
{
|
|
80
|
+
label: '',
|
|
81
|
+
value: {
|
|
82
|
+
UrlThumbnail: [
|
|
83
|
+
{
|
|
84
|
+
type: 'configuration/entityTypes/HCP/attributes/ImageGallery/attributes/UrlThumbnail',
|
|
85
|
+
ov: true,
|
|
86
|
+
value: 'https://s3.amazonaws.com/reltio.qa.ih/thumbnailInew/5iWrjreLxiT2avDKoX3fQmqCu.png',
|
|
87
|
+
uri: 'entities/01L2n5z/attributes/ImageGallery/1IozCV9I/UrlThumbnail/1IozCdfo'
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
ov: true,
|
|
92
|
+
uri: 'entities/01L2n5z/attributes/ImageGallery/1IozCV9I'
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
crosswalks: [
|
|
97
|
+
{
|
|
98
|
+
attributes: [
|
|
99
|
+
'entities/01L2n5z/attributes/TextField/5noU1aB',
|
|
100
|
+
'entities/01L2n5z/attributes/Boolean/5nmc3Cp'
|
|
101
|
+
],
|
|
102
|
+
type: 'configuration/sources/Reltio',
|
|
103
|
+
uri: 'entities/01L2n5z/crosswalks/7F10sMx',
|
|
104
|
+
value: '01L2n5z'
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
exports.createEntity = createEntity;
|
|
110
|
+
var createMetadata = function () {
|
|
111
|
+
return {
|
|
112
|
+
entityTypes: [
|
|
113
|
+
{
|
|
114
|
+
uri: 'configuration/entityTypes/HCP',
|
|
115
|
+
label: 'HCP',
|
|
116
|
+
attributes: [
|
|
117
|
+
{
|
|
118
|
+
label: 'Boolean',
|
|
119
|
+
name: 'Boolean',
|
|
120
|
+
type: 'Boolean',
|
|
121
|
+
uri: 'configuration/entityTypes/HCP/attributes/Boolean'
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
label: 'String Label',
|
|
125
|
+
name: 'TextField',
|
|
126
|
+
type: 'String',
|
|
127
|
+
uri: 'configuration/entityTypes/HCP/attributes/TextField'
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
label: 'Affiliated with',
|
|
131
|
+
name: 'affiliatedwith',
|
|
132
|
+
type: 'String',
|
|
133
|
+
uri: 'configuration/entityTypes/HCP/attributes/affiliatedwith',
|
|
134
|
+
hidden: true
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
label: 'String Label 2',
|
|
138
|
+
name: 'TextField 2',
|
|
139
|
+
type: 'String',
|
|
140
|
+
uri: 'configuration/entityTypes/HCP/attributes/TextField2'
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
label: 'Hidden',
|
|
144
|
+
name: 'Hidden',
|
|
145
|
+
type: 'String',
|
|
146
|
+
uri: 'configuration/entityTypes/HCP/attributes/Hidden',
|
|
147
|
+
hidden: true
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
label: 'Nested',
|
|
151
|
+
name: 'Nested',
|
|
152
|
+
type: 'Nested',
|
|
153
|
+
uri: 'configuration/entityTypes/HCP/attributes/Nested'
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
label: 'Nested attribute',
|
|
157
|
+
name: 'DeepNested',
|
|
158
|
+
type: 'Nested',
|
|
159
|
+
uri: 'configuration/entityTypes/HCP/attributes/DeepNested'
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
label: 'Reference',
|
|
163
|
+
name: 'Reference',
|
|
164
|
+
type: 'Reference',
|
|
165
|
+
uri: 'configuration/entityTypes/HCP/attributes/Reference'
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
label: 'Image',
|
|
169
|
+
name: 'Image',
|
|
170
|
+
type: 'Image',
|
|
171
|
+
uri: 'configuration/entityTypes/HCP/attributes/Image'
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
survivorshipGroups: [
|
|
175
|
+
{
|
|
176
|
+
uri: 'configuration/entityTypes/HCP/survivorshipGroups/default',
|
|
177
|
+
default: true,
|
|
178
|
+
mapping: [
|
|
179
|
+
{
|
|
180
|
+
attribute: 'configuration/entityTypes/HCP/attributes/TextField',
|
|
181
|
+
survivorshipStrategy: 'LUD'
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
attribute: 'configuration/entityTypes/HCP/attributes/Boolean',
|
|
185
|
+
survivorshipStrategy: 'Frequency'
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
attribute: 'configuration/entityTypes/HCP/attributes/DeepNested',
|
|
189
|
+
survivorshipStrategy: 'SRC_SYS'
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
attribute: 'configuration/entityTypes/HCP/attributes/ImageGallery',
|
|
193
|
+
primaryAttributeUri: 'configuration/entityTypes/HCP/attributes/OtherAttributeWinner',
|
|
194
|
+
survivorshipStrategy: 'OtherAttributeWinnerCrosswalk'
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
attribute: 'configuration/entityTypes/Location/attributes/Address',
|
|
198
|
+
comparisonAttributeUri: 'configuration/relationTypes/HasAddress/attributes/Status',
|
|
199
|
+
survivorshipStrategy: 'MinValue'
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
survivorshipStrategies: [
|
|
207
|
+
{
|
|
208
|
+
uri: 'configuration/survivorshipStrategies/LUD',
|
|
209
|
+
label: 'Recency'
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
uri: 'configuration/survivorshipStrategies/Frequency',
|
|
213
|
+
label: 'Frequency'
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
uri: 'configuration/survivorshipStrategies/SRC_SYS',
|
|
217
|
+
label: 'Source system'
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
uri: 'configuration/survivorshipStrategies/OtherAttributeWinnerCrosswalk',
|
|
221
|
+
label: 'Other Attribute Winner Crosswalk'
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
uri: 'configuration/survivorshipStrategies/MinValue',
|
|
225
|
+
label: 'Minimum value'
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
sources: [
|
|
229
|
+
{
|
|
230
|
+
uri: 'configuration/sources/Reltio',
|
|
231
|
+
label: 'Reltio'
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
exports.createMetadata = createMetadata;
|
|
237
|
+
exports.selectedAttributeTypes = [
|
|
238
|
+
{
|
|
239
|
+
description: 'String Attribute',
|
|
240
|
+
label: 'String Label',
|
|
241
|
+
name: 'TextField',
|
|
242
|
+
type: 'String',
|
|
243
|
+
uri: 'configuration/entityTypes/HCP/attributes/TextField'
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
description: 'Yes or No',
|
|
247
|
+
label: 'Boolean',
|
|
248
|
+
name: 'Boolean',
|
|
249
|
+
type: 'Boolean',
|
|
250
|
+
uri: 'configuration/entityTypes/HCP/attributes/Boolean'
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
label: 'Nested attribute',
|
|
254
|
+
name: 'DeepNested',
|
|
255
|
+
type: 'Nested',
|
|
256
|
+
uri: 'configuration/entityTypes/HCP/attributes/DeepNested',
|
|
257
|
+
attributes: [
|
|
258
|
+
{
|
|
259
|
+
label: 'Int_HCP',
|
|
260
|
+
name: 'FirstLevelNestedSub1',
|
|
261
|
+
type: 'Int',
|
|
262
|
+
uri: 'configuration/entityTypes/HCP/attributes/DeepNested/attributes/FirstLevelNestedSub1'
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
label: 'Address',
|
|
268
|
+
name: 'Address',
|
|
269
|
+
access: ['READ'],
|
|
270
|
+
type: 'Reference',
|
|
271
|
+
referencedAttributeURIs: ['configuration/entityTypes/Location/attributes/AddressLine1'],
|
|
272
|
+
uri: 'configuration/entityTypes/Location/attributes/Address'
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
label: 'Image Gallery',
|
|
276
|
+
name: 'ImageGallery',
|
|
277
|
+
type: 'Image',
|
|
278
|
+
uri: 'configuration/entityTypes/HCP/attributes/ImageGallery',
|
|
279
|
+
attributes: [
|
|
280
|
+
{
|
|
281
|
+
label: 'Small image url (S3)',
|
|
282
|
+
name: 'UrlThumbnail',
|
|
283
|
+
type: 'String',
|
|
284
|
+
uri: 'configuration/entityTypes/HCP/attributes/ImageGallery/attributes/UrlThumbnail'
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
];
|