@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.
Files changed (178) hide show
  1. package/cjs/UpSetChart/UpSetChart.d.ts +5 -8
  2. package/cjs/UpSetChart/UpSetChart.js +61 -5
  3. package/cjs/UpSetChart/UpSetChart.test.js +198 -0
  4. package/cjs/UpSetChart/components/IntersectionsChart/IntersectionsChart.d.ts +15 -0
  5. package/cjs/UpSetChart/components/IntersectionsChart/IntersectionsChart.js +66 -0
  6. package/cjs/UpSetChart/components/IntersectionsChart/index.d.ts +1 -0
  7. package/cjs/UpSetChart/components/IntersectionsChart/index.js +5 -0
  8. package/cjs/UpSetChart/components/IntersectionsChart/styles.d.ts +1 -0
  9. package/cjs/UpSetChart/components/IntersectionsChart/styles.js +32 -0
  10. package/cjs/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.d.ts +10 -0
  11. package/cjs/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.js +64 -0
  12. package/cjs/UpSetChart/components/IntersectionsChartAxis/index.d.ts +1 -0
  13. package/cjs/UpSetChart/components/IntersectionsChartAxis/index.js +5 -0
  14. package/cjs/UpSetChart/components/IntersectionsChartAxis/styles.d.ts +1 -0
  15. package/cjs/UpSetChart/components/IntersectionsChartAxis/styles.js +32 -0
  16. package/cjs/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.d.ts +13 -0
  17. package/cjs/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.js +56 -0
  18. package/cjs/UpSetChart/components/IntersectionsMatrix/index.d.ts +1 -0
  19. package/cjs/UpSetChart/components/IntersectionsMatrix/index.js +5 -0
  20. package/cjs/UpSetChart/components/IntersectionsMatrix/styles.d.ts +1 -0
  21. package/cjs/UpSetChart/components/IntersectionsMatrix/styles.js +27 -0
  22. package/cjs/UpSetChart/components/SetsChart/SetsChart.d.ts +15 -0
  23. package/cjs/UpSetChart/components/SetsChart/SetsChart.js +58 -0
  24. package/cjs/UpSetChart/components/SetsChart/index.d.ts +1 -0
  25. package/cjs/UpSetChart/components/SetsChart/index.js +5 -0
  26. package/cjs/UpSetChart/components/SetsChart/styles.d.ts +1 -0
  27. package/cjs/UpSetChart/components/SetsChart/styles.js +43 -0
  28. package/cjs/UpSetChart/components/SetsChartAxis/SetsChartAxis.d.ts +6 -0
  29. package/cjs/UpSetChart/components/SetsChartAxis/SetsChartAxis.js +20 -0
  30. package/cjs/UpSetChart/components/SetsChartAxis/index.d.ts +1 -0
  31. package/cjs/UpSetChart/components/SetsChartAxis/index.js +5 -0
  32. package/cjs/UpSetChart/components/SetsChartAxis/styles.d.ts +1 -0
  33. package/cjs/UpSetChart/components/SetsChartAxis/styles.js +17 -0
  34. package/cjs/UpSetChart/constants.d.ts +16 -3
  35. package/cjs/UpSetChart/constants.js +20 -4
  36. package/cjs/UpSetChart/gameOfThrones.test-data.d.ts +4 -0
  37. package/cjs/UpSetChart/gameOfThrones.test-data.js +26 -0
  38. package/cjs/UpSetChart/helpers.d.ts +20 -0
  39. package/cjs/UpSetChart/helpers.js +127 -0
  40. package/cjs/UpSetChart/styles.d.ts +4 -1
  41. package/cjs/UpSetChart/styles.js +11 -12
  42. package/cjs/UpSetChart/types.d.ts +16 -0
  43. package/cjs/UpSetChart/types.js +2 -0
  44. package/cjs/UpSetChart/useUpSetChartSizes.d.ts +20 -0
  45. package/cjs/UpSetChart/useUpSetChartSizes.js +34 -0
  46. package/cjs/features/crosswalks/AttributesTable/AttributesTable.test-data.d.ts +36 -0
  47. package/cjs/features/crosswalks/AttributesTable/AttributesTable.test-data.js +288 -0
  48. package/cjs/features/crosswalks/AttributesTable/AttributesTable.test.js +708 -370
  49. package/cjs/features/crosswalks/ColoredBlock/ColoredBlock.test.js +77 -15
  50. package/cjs/features/crosswalks/CopyableValueField/CopyableValueField.test.js +85 -15
  51. package/cjs/features/crosswalks/CrosswalkAttributes/CrosswalkAttributes.test.js +265 -193
  52. package/cjs/features/crosswalks/CrosswalkDateEditor/CrosswalkDateEditor.test.js +106 -12
  53. package/cjs/features/crosswalks/CrosswalkDragLayer/CrosswalkDragLayer.test.js +21 -9
  54. package/cjs/features/crosswalks/CrosswalkEditor/CrosswalkEditor.test.js +190 -90
  55. package/cjs/features/crosswalks/CrosswalkRow/CrosswalkRow.test.js +323 -225
  56. package/cjs/features/crosswalks/ShowDependentLink/ShowDependentLink.test.js +75 -12
  57. package/cjs/features/crosswalks/SourceCrosswalksRow/SourceCrosswalksRow.test.js +171 -138
  58. package/esm/UpSetChart/UpSetChart.d.ts +5 -8
  59. package/esm/UpSetChart/UpSetChart.js +38 -5
  60. package/esm/UpSetChart/UpSetChart.test.js +193 -0
  61. package/esm/UpSetChart/components/IntersectionsChart/IntersectionsChart.d.ts +15 -0
  62. package/esm/UpSetChart/components/IntersectionsChart/IntersectionsChart.js +39 -0
  63. package/esm/UpSetChart/components/IntersectionsChart/index.d.ts +1 -0
  64. package/esm/UpSetChart/components/IntersectionsChart/index.js +1 -0
  65. package/esm/UpSetChart/components/IntersectionsChart/styles.d.ts +1 -0
  66. package/esm/UpSetChart/components/IntersectionsChart/styles.js +29 -0
  67. package/esm/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.d.ts +10 -0
  68. package/esm/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.js +34 -0
  69. package/esm/UpSetChart/components/IntersectionsChartAxis/index.d.ts +1 -0
  70. package/esm/UpSetChart/components/IntersectionsChartAxis/index.js +1 -0
  71. package/esm/UpSetChart/components/IntersectionsChartAxis/styles.d.ts +1 -0
  72. package/esm/UpSetChart/components/IntersectionsChartAxis/styles.js +29 -0
  73. package/esm/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.d.ts +13 -0
  74. package/esm/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.js +26 -0
  75. package/esm/UpSetChart/components/IntersectionsMatrix/index.d.ts +1 -0
  76. package/esm/UpSetChart/components/IntersectionsMatrix/index.js +1 -0
  77. package/esm/UpSetChart/components/IntersectionsMatrix/styles.d.ts +1 -0
  78. package/esm/UpSetChart/components/IntersectionsMatrix/styles.js +24 -0
  79. package/esm/UpSetChart/components/SetsChart/SetsChart.d.ts +15 -0
  80. package/esm/UpSetChart/components/SetsChart/SetsChart.js +31 -0
  81. package/esm/UpSetChart/components/SetsChart/index.d.ts +1 -0
  82. package/esm/UpSetChart/components/SetsChart/index.js +1 -0
  83. package/esm/UpSetChart/components/SetsChart/styles.d.ts +1 -0
  84. package/esm/UpSetChart/components/SetsChart/styles.js +40 -0
  85. package/esm/UpSetChart/components/SetsChartAxis/SetsChartAxis.d.ts +6 -0
  86. package/esm/UpSetChart/components/SetsChartAxis/SetsChartAxis.js +13 -0
  87. package/esm/UpSetChart/components/SetsChartAxis/index.d.ts +1 -0
  88. package/esm/UpSetChart/components/SetsChartAxis/index.js +1 -0
  89. package/esm/UpSetChart/components/SetsChartAxis/styles.d.ts +1 -0
  90. package/esm/UpSetChart/components/SetsChartAxis/styles.js +14 -0
  91. package/esm/UpSetChart/constants.d.ts +16 -3
  92. package/esm/UpSetChart/constants.js +19 -3
  93. package/esm/UpSetChart/gameOfThrones.test-data.d.ts +4 -0
  94. package/esm/UpSetChart/gameOfThrones.test-data.js +23 -0
  95. package/esm/UpSetChart/helpers.d.ts +20 -0
  96. package/esm/UpSetChart/helpers.js +120 -0
  97. package/esm/UpSetChart/styles.d.ts +4 -1
  98. package/esm/UpSetChart/styles.js +11 -12
  99. package/esm/UpSetChart/types.d.ts +16 -0
  100. package/esm/UpSetChart/useUpSetChartSizes.d.ts +20 -0
  101. package/esm/UpSetChart/useUpSetChartSizes.js +30 -0
  102. package/esm/features/crosswalks/AttributesTable/AttributesTable.test-data.d.ts +36 -0
  103. package/esm/features/crosswalks/AttributesTable/AttributesTable.test-data.js +283 -0
  104. package/esm/features/crosswalks/AttributesTable/AttributesTable.test.js +711 -350
  105. package/esm/features/crosswalks/ColoredBlock/ColoredBlock.test.js +77 -15
  106. package/esm/features/crosswalks/CopyableValueField/CopyableValueField.test.js +85 -15
  107. package/esm/features/crosswalks/CrosswalkAttributes/CrosswalkAttributes.test.js +266 -194
  108. package/esm/features/crosswalks/CrosswalkDateEditor/CrosswalkDateEditor.test.js +106 -12
  109. package/esm/features/crosswalks/CrosswalkDragLayer/CrosswalkDragLayer.test.js +21 -9
  110. package/esm/features/crosswalks/CrosswalkEditor/CrosswalkEditor.test.js +190 -90
  111. package/esm/features/crosswalks/CrosswalkRow/CrosswalkRow.test.js +324 -226
  112. package/esm/features/crosswalks/ShowDependentLink/ShowDependentLink.test.js +75 -12
  113. package/esm/features/crosswalks/SourceCrosswalksRow/SourceCrosswalksRow.test.js +171 -138
  114. package/package.json +1 -1
  115. package/cjs/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.d.ts +0 -3
  116. package/cjs/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.js +0 -52
  117. package/cjs/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.js +0 -323
  118. package/cjs/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.js +0 -142
  119. package/cjs/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.test.js +0 -146
  120. package/cjs/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.d.ts +0 -1
  121. package/cjs/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.js +0 -50
  122. package/cjs/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.d.ts +0 -1
  123. package/cjs/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.js +0 -58
  124. package/cjs/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.d.ts +0 -1
  125. package/cjs/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.js +0 -14
  126. package/cjs/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.d.ts +0 -1
  127. package/cjs/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.js +0 -110
  128. package/cjs/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.d.ts +0 -1
  129. package/cjs/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.js +0 -111
  130. package/cjs/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.d.ts +0 -1
  131. package/cjs/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.js +0 -67
  132. package/cjs/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.d.ts +0 -1
  133. package/cjs/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.js +0 -193
  134. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.d.ts +0 -1
  135. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.js +0 -22
  136. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.d.ts +0 -1
  137. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.js +0 -58
  138. package/cjs/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.d.ts +0 -1
  139. package/cjs/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.js +0 -69
  140. package/cjs/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.d.ts +0 -1
  141. package/cjs/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.js +0 -137
  142. package/cjs/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.d.ts +0 -1
  143. package/cjs/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.js +0 -56
  144. package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.d.ts +0 -3
  145. package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test-data.js +0 -47
  146. package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.d.ts +0 -1
  147. package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.js +0 -318
  148. package/esm/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.d.ts +0 -1
  149. package/esm/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.js +0 -137
  150. package/esm/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.test.d.ts +0 -1
  151. package/esm/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.test.js +0 -141
  152. package/esm/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.d.ts +0 -1
  153. package/esm/features/crosswalks/AttributesTable/components/AttributesHeadCellRenderer/AttributesHeadCellRenderer.test.js +0 -45
  154. package/esm/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.d.ts +0 -1
  155. package/esm/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.test.js +0 -53
  156. package/esm/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.d.ts +0 -1
  157. package/esm/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.test.js +0 -9
  158. package/esm/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.d.ts +0 -1
  159. package/esm/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.test.js +0 -105
  160. package/esm/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.d.ts +0 -1
  161. package/esm/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.test.js +0 -106
  162. package/esm/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.d.ts +0 -1
  163. package/esm/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.test.js +0 -62
  164. package/esm/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.d.ts +0 -1
  165. package/esm/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.test.js +0 -188
  166. package/esm/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.d.ts +0 -1
  167. package/esm/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.test.js +0 -17
  168. package/esm/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.d.ts +0 -1
  169. package/esm/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.test.js +0 -53
  170. package/esm/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.d.ts +0 -1
  171. package/esm/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.test.js +0 -64
  172. package/esm/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.d.ts +0 -1
  173. package/esm/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.js +0 -132
  174. package/esm/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.d.ts +0 -1
  175. package/esm/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.test.js +0 -28
  176. /package/cjs/{features/crosswalks/AttributesTable/IntegrationAttributesTable.test.d.ts → UpSetChart/UpSetChart.test.d.ts} +0 -0
  177. /package/{cjs/features/crosswalks/AttributesTable/components/AddAttributesButton/AddAttributesButton.test.d.ts → esm/UpSetChart/UpSetChart.test.d.ts} +0 -0
  178. /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
+ ];