@finos/legend-extension-dsl-data-quality 2.1.33 → 2.1.35

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 (132) hide show
  1. package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.d.ts.map +1 -1
  2. package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js +45 -13
  3. package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js.map +1 -1
  4. package/lib/components/DataQualityCustomSelector.d.ts +16 -1
  5. package/lib/components/DataQualityCustomSelector.d.ts.map +1 -1
  6. package/lib/components/DataQualityCustomSelector.js +29 -4
  7. package/lib/components/DataQualityCustomSelector.js.map +1 -1
  8. package/lib/components/DataQualityExplorerPanel.js +1 -1
  9. package/lib/components/DataQualityExplorerPanel.js.map +1 -1
  10. package/lib/components/DataQualityMappingAndRuntimeBuilder.js +1 -1
  11. package/lib/components/DataQualityMappingAndRuntimeBuilder.js.map +1 -1
  12. package/lib/components/DataQualityRelationComparisonEditor.d.ts +19 -0
  13. package/lib/components/DataQualityRelationComparisonEditor.d.ts.map +1 -0
  14. package/lib/components/DataQualityRelationComparisonEditor.js +239 -0
  15. package/lib/components/DataQualityRelationComparisonEditor.js.map +1 -0
  16. package/lib/components/DataQualityRelationGridResult.d.ts +3 -0
  17. package/lib/components/DataQualityRelationGridResult.d.ts.map +1 -1
  18. package/lib/components/DataQualityRelationGridResult.js +1 -1
  19. package/lib/components/DataQualityRelationGridResult.js.map +1 -1
  20. package/lib/components/DataQualityRelationLambdaGUIDataTypeHandlers.d.ts +0 -10
  21. package/lib/components/DataQualityRelationLambdaGUIDataTypeHandlers.d.ts.map +1 -1
  22. package/lib/components/DataQualityRelationLambdaGUIDataTypeHandlers.js +11 -24
  23. package/lib/components/DataQualityRelationLambdaGUIDataTypeHandlers.js.map +1 -1
  24. package/lib/components/DataQualityRelationLambdaGUIValidationEditor.d.ts.map +1 -1
  25. package/lib/components/DataQualityRelationLambdaGUIValidationEditor.js +6 -4
  26. package/lib/components/DataQualityRelationLambdaGUIValidationEditor.js.map +1 -1
  27. package/lib/components/DataQualityResultPanel.js +1 -1
  28. package/lib/components/DataQualityResultPanel.js.map +1 -1
  29. package/lib/components/DataQualitySideBar.js +5 -5
  30. package/lib/components/DataQualitySideBar.js.map +1 -1
  31. package/lib/components/states/DataQualityClassValidationState.js +6 -6
  32. package/lib/components/states/DataQualityClassValidationState.js.map +1 -1
  33. package/lib/components/states/DataQualityGraphFetchTreeState.js +1 -1
  34. package/lib/components/states/DataQualityGraphFetchTreeState.js.map +1 -1
  35. package/lib/components/states/DataQualityRelationComparisonConfigurationState.d.ts +111 -0
  36. package/lib/components/states/DataQualityRelationComparisonConfigurationState.d.ts.map +1 -0
  37. package/lib/components/states/DataQualityRelationComparisonConfigurationState.js +495 -0
  38. package/lib/components/states/DataQualityRelationComparisonConfigurationState.js.map +1 -0
  39. package/lib/components/states/DataQualityState.d.ts +1 -1
  40. package/lib/components/states/DataQualityState.d.ts.map +1 -1
  41. package/lib/components/states/DataQualityState.js +6 -6
  42. package/lib/components/states/DataQualityState.js.map +1 -1
  43. package/lib/data-quality-custom-selector.css +2 -2
  44. package/lib/data-quality-custom-selector.css.map +1 -1
  45. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts +3 -1
  46. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts.map +1 -1
  47. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js +2 -0
  48. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js.map +1 -1
  49. package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.d.ts.map +1 -1
  50. package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js +2 -1
  51. package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js.map +1 -1
  52. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts +35 -0
  53. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts.map +1 -1
  54. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js +37 -0
  55. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js.map +1 -1
  56. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts +2 -1
  57. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts.map +1 -1
  58. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js +2 -1
  59. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js.map +1 -1
  60. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts +7 -1
  61. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts.map +1 -1
  62. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js +18 -0
  63. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js.map +1 -1
  64. package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.d.ts.map +1 -1
  65. package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js +5 -2
  66. package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js.map +1 -1
  67. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts +3 -1
  68. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts.map +1 -1
  69. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js +28 -1
  70. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js.map +1 -1
  71. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts +4 -1
  72. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts.map +1 -1
  73. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js.map +1 -1
  74. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.d.ts.map +1 -1
  75. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js +33 -5
  76. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js.map +1 -1
  77. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts +26 -2
  78. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts.map +1 -1
  79. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js +107 -3
  80. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js.map +1 -1
  81. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.d.ts +19 -0
  82. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.d.ts.map +1 -1
  83. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.js +37 -0
  84. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.js.map +1 -1
  85. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts +2 -1
  86. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts.map +1 -1
  87. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js +26 -3
  88. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js.map +1 -1
  89. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.d.ts +3 -2
  90. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.d.ts.map +1 -1
  91. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js +29 -2
  92. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js.map +1 -1
  93. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts +4 -1
  94. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts.map +1 -1
  95. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js +37 -2
  96. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js.map +1 -1
  97. package/lib/index.css +2 -2
  98. package/lib/index.css.map +1 -1
  99. package/lib/package.json +1 -1
  100. package/package.json +9 -9
  101. package/src/components/DSL_DataQuality_LegendStudioApplicationPlugin.tsx +64 -12
  102. package/src/components/DataQualityCustomSelector.tsx +111 -6
  103. package/src/components/DataQualityExplorerPanel.tsx +1 -1
  104. package/src/components/DataQualityMappingAndRuntimeBuilder.tsx +1 -1
  105. package/src/components/DataQualityRelationComparisonEditor.tsx +795 -0
  106. package/src/components/DataQualityRelationGridResult.tsx +1 -1
  107. package/src/components/DataQualityRelationLambdaGUIDataTypeHandlers.tsx +9 -87
  108. package/src/components/DataQualityRelationLambdaGUIValidationEditor.tsx +16 -6
  109. package/src/components/DataQualityResultPanel.tsx +1 -1
  110. package/src/components/DataQualitySideBar.tsx +5 -5
  111. package/src/components/states/DataQualityClassValidationState.ts +6 -6
  112. package/src/components/states/DataQualityGraphFetchTreeState.ts +1 -1
  113. package/src/components/states/DataQualityRelationComparisonConfigurationState.ts +747 -0
  114. package/src/components/states/DataQualityState.ts +6 -6
  115. package/src/graph/metamodel/DSL_DataQuality_HashUtils.ts +2 -0
  116. package/src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts +2 -0
  117. package/src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts +66 -0
  118. package/src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts +13 -0
  119. package/src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts +57 -0
  120. package/src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts +8 -0
  121. package/src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts +42 -0
  122. package/src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts +16 -0
  123. package/src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts +65 -0
  124. package/src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts +171 -1
  125. package/src/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.ts +49 -0
  126. package/src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.ts +39 -0
  127. package/src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.ts +50 -0
  128. package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.ts +71 -0
  129. package/style/_data-quality-relation-comparison-editor.scss +361 -0
  130. package/style/data-quality-custom-selector.scss +23 -0
  131. package/style/index.scss +74 -0
  132. package/tsconfig.json +2 -0
@@ -0,0 +1,361 @@
1
+ /**
2
+ * Copyright (c) 2026-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ @use 'mixins' as *;
18
+
19
+ .data-quality-relation-comparison-editor {
20
+ height: 100%;
21
+ width: 100%;
22
+ background: var(--color-dark-grey-50);
23
+
24
+ .panel {
25
+ height: 100%;
26
+ width: 100%;
27
+
28
+ &__header__title__label {
29
+ background: var(--color-dark-grey-250);
30
+ }
31
+
32
+ &__content {
33
+ background: var(--color-dark-grey-50);
34
+ }
35
+
36
+ &__header {
37
+ padding-left: 0.5rem;
38
+ color: var(--color-light-grey-300);
39
+ font-weight: bold;
40
+ background: var(--color-dark-grey-50);
41
+ border-bottom: 0.1rem solid var(--color-dark-grey-200);
42
+ }
43
+ }
44
+
45
+ &__panel__content__form {
46
+ padding-left: 1rem;
47
+ padding-top: 1rem;
48
+ max-width: 160rem;
49
+ width: 100%;
50
+ }
51
+
52
+ &__actions-bar {
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: end;
56
+ gap: 1rem;
57
+ background: var(--color-dark-grey-50);
58
+ margin-top: 2rem;
59
+ height: 4rem;
60
+ padding-top: 0.5rem;
61
+
62
+ &__limit {
63
+ @include flexVCenter;
64
+
65
+ flex-shrink: 0;
66
+ height: 2.8rem;
67
+ }
68
+
69
+ &__limit__label {
70
+ @include flexVCenter;
71
+
72
+ height: 100%;
73
+ padding: 0 1rem;
74
+ background: var(--color-dark-grey-280);
75
+ border-radius: 0.2rem 0 0 0.2rem;
76
+ color: var(--color-light-grey-300);
77
+ font-size: 1.2rem;
78
+ text-transform: lowercase;
79
+ white-space: nowrap;
80
+ }
81
+
82
+ &__limit__input {
83
+ width: 7rem;
84
+ height: 2.8rem;
85
+ padding: 0 0.8rem;
86
+ color: var(--color-light-grey-150);
87
+ background: var(--color-dark-grey-100);
88
+ border: 0.1rem solid var(--color-dark-grey-300);
89
+ border-radius: 0.2rem;
90
+ }
91
+
92
+ &__cancel-btn {
93
+ padding-right: 2.8rem;
94
+ }
95
+
96
+ &__cancel-label {
97
+ height: 2.8rem;
98
+ }
99
+
100
+ &__run-group {
101
+ display: flex;
102
+ gap: 0.02rem;
103
+ padding-right: 2.8rem;
104
+ }
105
+
106
+ &__run-btn {
107
+ height: 2.8rem;
108
+ width: 14rem;
109
+ white-space: nowrap;
110
+ }
111
+
112
+ &__dropdown-btn {
113
+ height: 2.8rem;
114
+ }
115
+ }
116
+
117
+ &__column-fetch-error {
118
+ @include flexVCenter;
119
+
120
+ gap: 0.8rem;
121
+ padding: 0.8rem 1rem;
122
+ margin: 0 1rem 1rem;
123
+ border-radius: 0.2rem;
124
+ background: var(--color-dark-grey-200);
125
+ border: 0.1rem solid var(--color-red-200);
126
+
127
+ &__icon {
128
+ flex-shrink: 0;
129
+ color: var(--color-red-200);
130
+ font-size: 1.6rem;
131
+ }
132
+
133
+ &__message {
134
+ flex: 1;
135
+ color: var(--color-red-100);
136
+ font-size: 1.2rem;
137
+ }
138
+
139
+ &__retry-btn {
140
+ @include flexVCenter;
141
+
142
+ flex-shrink: 0;
143
+ gap: 0.4rem;
144
+ height: 2.4rem;
145
+ min-width: 7rem;
146
+ padding: 0 0.8rem;
147
+ border: none;
148
+ border-radius: 0.2rem;
149
+ cursor: pointer;
150
+ font-size: 1.2rem;
151
+ white-space: nowrap;
152
+ color: var(--color-light-grey-200);
153
+ background: var(--color-dark-grey-300);
154
+
155
+ &:hover:not(:disabled) {
156
+ background: var(--color-dark-grey-350);
157
+ }
158
+
159
+ &:disabled {
160
+ opacity: 0.5;
161
+ cursor: not-allowed;
162
+ }
163
+
164
+ svg {
165
+ font-size: 1.3rem;
166
+ }
167
+ }
168
+ }
169
+
170
+ &__column-overlap-warning {
171
+ @include flexVCenter;
172
+
173
+ gap: 0.8rem;
174
+ padding: 0.8rem 1rem;
175
+ margin: 0 1rem 1rem;
176
+ border-radius: 0.2rem;
177
+ background: var(--color-dark-grey-200);
178
+ border: 0.1rem solid var(--color-yellow-200);
179
+
180
+ &__icon {
181
+ flex-shrink: 0;
182
+ color: var(--color-yellow-200);
183
+ font-size: 1.6rem;
184
+ }
185
+
186
+ &__message {
187
+ flex: 1;
188
+ color: var(--color-yellow-100);
189
+ font-size: 1.2rem;
190
+ }
191
+ }
192
+
193
+ &__queries {
194
+ height: 25rem;
195
+ min-height: 15rem;
196
+ }
197
+
198
+ &__query-panel {
199
+ display: flex;
200
+ flex-direction: column;
201
+ height: 100%;
202
+
203
+ &__header {
204
+ @include flexVCenter;
205
+
206
+ height: 2.8rem;
207
+ padding-left: 2rem;
208
+ font-weight: 500;
209
+ color: var(--color-light-grey-300);
210
+ }
211
+
212
+ &__content {
213
+ flex: 1;
214
+ min-height: 0;
215
+ margin-left: 2rem;
216
+ margin-right: 2rem;
217
+ padding-top: 0.5rem;
218
+ overflow: hidden;
219
+ border-bottom: 0.1rem solid var(--color-dark-grey-200);
220
+ }
221
+
222
+ &__title {
223
+ height: 2.8rem;
224
+
225
+ @include flexVCenter;
226
+
227
+ background: var(--color-dark-grey-200);
228
+ color: var(--color-light-grey-100);
229
+ padding: 0 1rem;
230
+ border-radius: 0.2rem;
231
+ margin: 0;
232
+ font-weight: 500;
233
+ }
234
+ }
235
+
236
+ &__lambda-editor {
237
+ height: 28rem !important;
238
+ }
239
+
240
+ &__result {
241
+ padding-top: 1rem;
242
+ padding-left: 2rem;
243
+ padding-right: 1rem;
244
+
245
+ &__header {
246
+ padding-right: 1rem;
247
+
248
+ @include flexVCenter;
249
+ @include flexHSpaceBetween;
250
+ }
251
+
252
+ &__header-group {
253
+ display: flex;
254
+ flex-direction: row;
255
+ color: var(--color-light-grey-300);
256
+
257
+ @include flexVCenter;
258
+ }
259
+
260
+ &__title {
261
+ height: 2.8rem;
262
+
263
+ @include flexVCenter;
264
+
265
+ background: var(--color-dark-grey-200);
266
+ color: var(--color-light-grey-100);
267
+ padding: 0 1rem;
268
+ border-radius: 0.2rem;
269
+ margin: 0;
270
+ font-weight: 500;
271
+ }
272
+
273
+ &__status {
274
+ @include flexVCenter;
275
+
276
+ margin-left: 1rem;
277
+ color: var(--color-yellow-200);
278
+ font-size: 1.2rem;
279
+ }
280
+
281
+ &__analytics {
282
+ @include flexVCenter;
283
+
284
+ margin-left: 1rem;
285
+ color: var(--color-light-grey-400);
286
+ font-size: 1.2rem;
287
+ }
288
+
289
+ &__content {
290
+ width: 100%;
291
+ padding-top: 0.5rem;
292
+ }
293
+
294
+ &__viewer {
295
+ height: 35rem !important;
296
+ border: 0.1rem solid var(--color-dark-grey-280);
297
+ }
298
+ }
299
+
300
+ &__parameters-modal {
301
+ width: 96rem;
302
+ max-width: calc(100vw - 4rem);
303
+
304
+ &__body {
305
+ display: flex;
306
+ flex-direction: column;
307
+ gap: 1.6rem;
308
+ max-height: 70vh;
309
+ }
310
+
311
+ &__description {
312
+ color: var(--color-light-grey-300);
313
+ font-size: 1.2rem;
314
+ line-height: 1.8rem;
315
+ }
316
+
317
+ &__sections {
318
+ display: grid;
319
+ grid-template-columns: repeat(2, minmax(0, 1fr));
320
+ gap: 1.6rem;
321
+ align-items: start;
322
+ }
323
+
324
+ &__section {
325
+ display: flex;
326
+ flex-direction: column;
327
+ gap: 1.2rem;
328
+ padding: 1.2rem;
329
+ border: 0.1rem solid var(--color-dark-grey-200);
330
+ border-radius: 0.2rem;
331
+ background: var(--color-dark-grey-50);
332
+ }
333
+
334
+ &__section__title {
335
+ color: var(--color-light-grey-100);
336
+ font-size: 1.2rem;
337
+ font-weight: 700;
338
+ letter-spacing: 0.04rem;
339
+ text-transform: uppercase;
340
+ }
341
+
342
+ &__section__body {
343
+ display: flex;
344
+ flex-direction: column;
345
+ gap: 1.2rem;
346
+ }
347
+
348
+ .value-spec-editor__reset-btn,
349
+ .value-spec-editor__variable__reset-btn {
350
+ display: none;
351
+ }
352
+
353
+ @media (width <= 1000px) {
354
+ width: calc(100vw - 4rem);
355
+
356
+ &__sections {
357
+ grid-template-columns: minmax(0, 1fr);
358
+ }
359
+ }
360
+ }
361
+ }
@@ -19,6 +19,7 @@
19
19
  .data-quality-custom-selector {
20
20
  @include flexVCenter;
21
21
 
22
+ width: 100%;
22
23
  height: 2.8rem;
23
24
  border: 0.1rem solid var(--color-dark-grey-280);
24
25
  border-radius: 0.2rem;
@@ -50,6 +51,28 @@
50
51
  user-select: none;
51
52
  }
52
53
 
54
+ &__clear {
55
+ @include flexCenter;
56
+
57
+ flex-shrink: 0;
58
+ width: 2rem;
59
+ min-width: 2rem;
60
+ height: 100%;
61
+ padding: 0;
62
+ border: none;
63
+ background: transparent;
64
+ cursor: pointer;
65
+ color: var(--color-light-grey-400);
66
+
67
+ &:hover {
68
+ color: var(--color-light-grey-100);
69
+ }
70
+
71
+ svg {
72
+ font-size: 1.1rem;
73
+ }
74
+ }
75
+
53
76
  &__dropdown__trigger {
54
77
  @include flexCenter;
55
78
 
package/style/index.scss CHANGED
@@ -20,6 +20,7 @@
20
20
  @forward 'data-quality-relation-validation-suggestion-panel';
21
21
  @forward 'data-quality-validation-gui-editor';
22
22
  @forward 'data-quality-custom-selector';
23
+ @forward 'data-quality-relation-comparison-editor';
23
24
 
24
25
  .data-quality-constraints {
25
26
  display: flex;
@@ -177,3 +178,76 @@
177
178
  }
178
179
  }
179
180
  }
181
+
182
+ .data-quality-multi-custom-selector {
183
+ @include flexVCenter;
184
+
185
+ min-height: 2.8rem;
186
+ border: 0.1rem solid var(--color-dark-grey-280);
187
+ border-radius: 0.2rem;
188
+ background: var(--color-dark-grey-100);
189
+
190
+ &__tags {
191
+ display: flex;
192
+ flex-wrap: wrap;
193
+ flex: 1;
194
+ gap: 0.3rem;
195
+ padding: 0.3rem 0.5rem;
196
+ min-height: 2.6rem;
197
+ align-items: center;
198
+ }
199
+
200
+ &__placeholder {
201
+ color: var(--color-dark-grey-400);
202
+ font-size: 1.2rem;
203
+ user-select: none;
204
+ }
205
+
206
+ &__tag {
207
+ @include flexVCenter;
208
+
209
+ height: 2rem;
210
+ padding: 0 0.3rem 0 0.6rem;
211
+ background: var(--color-dark-grey-280);
212
+ border-radius: 0.2rem;
213
+ font-size: 1.1rem;
214
+ color: var(--color-light-grey-300);
215
+ gap: 0.3rem;
216
+
217
+ &__label {
218
+ white-space: nowrap;
219
+ }
220
+
221
+ &__remove {
222
+ @include flexCenter;
223
+
224
+ width: 1.6rem;
225
+ height: 1.6rem;
226
+ border: none;
227
+ background: none;
228
+ padding: 0;
229
+ cursor: pointer;
230
+ color: var(--color-light-grey-400);
231
+ border-radius: 0.2rem;
232
+
233
+ &:hover {
234
+ background: var(--color-dark-grey-400);
235
+ color: var(--color-light-grey-100);
236
+ }
237
+
238
+ svg {
239
+ font-size: 1rem;
240
+ }
241
+ }
242
+ }
243
+
244
+ &__dropdown-trigger {
245
+ @include flexCenter;
246
+
247
+ width: 2.4rem;
248
+ min-width: 2.4rem;
249
+ height: 100%;
250
+ align-self: stretch;
251
+ cursor: pointer;
252
+ }
253
+ }
package/tsconfig.json CHANGED
@@ -89,6 +89,7 @@
89
89
  "./src/components/states/DataQualityClassValidationState.ts",
90
90
  "./src/components/states/DataQualityGraphFetchTreeState.ts",
91
91
  "./src/components/states/DataQualityQueryBuilderState.ts",
92
+ "./src/components/states/DataQualityRelationComparisonConfigurationState.ts",
92
93
  "./src/components/states/DataQualityRelationResultState.ts",
93
94
  "./src/components/states/DataQualityRelationValidationConfigurationState.ts",
94
95
  "./src/components/states/DataQualityRelationValidationState.ts",
@@ -144,6 +145,7 @@
144
145
  "./src/components/DataQualityExplorerPanel.tsx",
145
146
  "./src/components/DataQualityFilterPanel.tsx",
146
147
  "./src/components/DataQualityMappingAndRuntimeBuilder.tsx",
148
+ "./src/components/DataQualityRelationComparisonEditor.tsx",
147
149
  "./src/components/DataQualityRelationGridResult.tsx",
148
150
  "./src/components/DataQualityRelationLambdaGUIDataTypeHandlers.tsx",
149
151
  "./src/components/DataQualityRelationLambdaGUIValidationEditor.tsx",