@finos/legend-extension-dsl-data-quality 1.0.44 → 1.0.46
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DSL_NewDataQualityServiceValidationElement.js +1 -1
- package/lib/components/DSL_NewDataQualityServiceValidationElement.js.map +1 -1
- package/lib/components/DataQualityDataSpaceBuilder.js +2 -2
- package/lib/components/DataQualityDataSpaceBuilder.js.map +1 -1
- package/lib/components/DataQualityMappingAndRuntimeBuilder.d.ts.map +1 -1
- package/lib/components/DataQualityMappingAndRuntimeBuilder.js +3 -3
- package/lib/components/DataQualityMappingAndRuntimeBuilder.js.map +1 -1
- package/lib/components/DataQualitySideBar.d.ts.map +1 -1
- package/lib/components/DataQualitySideBar.js +2 -6
- package/lib/components/DataQualitySideBar.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +5 -5
- package/package.json +16 -16
- package/src/components/DSL_NewDataQualityServiceValidationElement.tsx +1 -1
- package/src/components/DataQualityDataSpaceBuilder.tsx +4 -4
- package/src/components/DataQualityMappingAndRuntimeBuilder.tsx +6 -5
- package/src/components/DataQualitySideBar.tsx +7 -12
@@ -27,7 +27,7 @@ export const NewDataQualityServiceValidationElementEditor = observer(() => {
|
|
27
27
|
const selectedServiceOption = dataQualityServiceElementDriver.serviceSelected
|
28
28
|
? {
|
29
29
|
label: dataQualityServiceElementDriver.serviceSelected.value.name,
|
30
|
-
value: dataQualityServiceElementDriver.serviceSelected,
|
30
|
+
value: dataQualityServiceElementDriver.serviceSelected.value,
|
31
31
|
}
|
32
32
|
: undefined;
|
33
33
|
const onServiceOptionChange = (val) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_NewDataQualityServiceValidationElement.js","sourceRoot":"","sources":["../../src/components/DSL_NewDataQualityServiceValidationElement.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAEL,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AAGzC,MAAM,CAAC,MAAM,4CAA4C,GAAG,QAAQ,CAAC,GAAG,EAAE;IACxE,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IACtD,MAAM,+BAA+B,GACnC,WAAW,CAAC,eAAe,CAAC,mBAAmB,CAC7C,gCAAgC,CACjC,CAAC;IAEJ,MAAM,cAAc,GAClB,WAAW,CAAC,iBAAiB,CAAC,cAAc,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAEvE,MAAM,qBAAqB,GAAG,+BAA+B,CAAC,eAAe;QAC3E,CAAC,CAAC;YACE,KAAK,EAAE,+BAA+B,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI;YACjE,KAAK,EAAE,+BAA+B,CAAC,eAAe;
|
1
|
+
{"version":3,"file":"DSL_NewDataQualityServiceValidationElement.js","sourceRoot":"","sources":["../../src/components/DSL_NewDataQualityServiceValidationElement.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAEL,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AAGzC,MAAM,CAAC,MAAM,4CAA4C,GAAG,QAAQ,CAAC,GAAG,EAAE;IACxE,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IACtD,MAAM,+BAA+B,GACnC,WAAW,CAAC,eAAe,CAAC,mBAAmB,CAC7C,gCAAgC,CACjC,CAAC;IAEJ,MAAM,cAAc,GAClB,WAAW,CAAC,iBAAiB,CAAC,cAAc,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAEvE,MAAM,qBAAqB,GAAG,+BAA+B,CAAC,eAAe;QAC3E,CAAC,CAAC;YACE,KAAK,EAAE,+BAA+B,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI;YACjE,KAAK,EAAE,+BAA+B,CAAC,eAAe,CAAC,KAAK;SAC7D;QACH,CAAC,CAAC,SAAS,CAAC;IAEd,MAAM,qBAAqB,GAAG,CAC5B,GAAkD,EAC5C,EAAE;QACR,IAAI,GAAG,EAAE,CAAC;YACR,+BAA+B,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC;QAC1D,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,4BACE,0BACE,cAAK,SAAS,EAAC,8CAA8C,wBAEvD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,mBAAmB,IAClB,SAAS,EAAC,4DAA4D,EACtE,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,qBAAqB,EAC/B,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6BAC5B,mCAAmC,GAExC,GACE,IACF,GACL,CACJ,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -79,8 +79,8 @@ export const DataQualityDataSpaceBuilderSetupPanelContent = observer((props) =>
|
|
79
79
|
const runtimeFilterOption = createFilter({
|
80
80
|
ignoreCase: true,
|
81
81
|
ignoreAccents: false,
|
82
|
-
stringify: (option) => guaranteeType(option.value, RuntimePointer).packageableRuntime
|
83
|
-
.path,
|
82
|
+
stringify: (option) => guaranteeType(option.data.value, RuntimePointer).packageableRuntime
|
83
|
+
.value.path,
|
84
84
|
});
|
85
85
|
useEffect(() => {
|
86
86
|
flowResult(dataQualityState.loadDataSpaces()).catch(applicationStore.alertUnhandledError);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityDataSpaceBuilder.js","sourceRoot":"","sources":["../../src/components/DataQualityDataSpaceBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEL,4BAA4B,EAC5B,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AACnF,OAAO,EAGL,oBAAoB,EACpB,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,4CAA4C,GAAG,QAAQ,CAClE,CAAC,KAA4D,EAAE,EAAE;IAC/D,MAAM,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,EAAE,4BAA4B,EAAE,GAAG,gBAAgB,CAAC;IAC1D,MAAM,SAAS,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC7C,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,aAAa;IACb,MAAM,gBAAgB,GACpB,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAExD,MAAM,uBAAuB,GAAG;QAC9B,KAAK,EAAE,SAAS,CAAC,KAAK,IAAI,SAAS,CAAC,IAAI;QACxC,KAAK,EAAE;YACL,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,uBAAuB,EAAE,SAAS,CAAC,uBAAuB,CAAC,IAAI;SAChE;
|
1
|
+
{"version":3,"file":"DataQualityDataSpaceBuilder.js","sourceRoot":"","sources":["../../src/components/DataQualityDataSpaceBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEL,4BAA4B,EAC5B,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,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,KAAG,GAChB,EACN,KAAC,mBAAmB,IAClB,SAAS,EAAC,sGAAsG,EAChH,WAAW,EAAC,qBAAqB,EACjC,cAAc,EAAC,6DAA6D,EAC5E,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,yBAAyB,CAAC;4CAC3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,EACF,QAAQ,EAAE,IAAI,GACd,IACE,CACP,IACG,IACF,EACN,KAAC,wBAAwB,IACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,2DAA2D,GAC1E,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityMappingAndRuntimeBuilder.d.ts","sourceRoot":"","sources":["../../src/components/DataQualityMappingAndRuntimeBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAMnG,eAAO,MAAM,mCAAmC,WACtC;IAAE,gBAAgB,EAAE,+BAA+B,CAAA;CAAE;;
|
1
|
+
{"version":3,"file":"DataQualityMappingAndRuntimeBuilder.d.ts","sourceRoot":"","sources":["../../src/components/DataQualityMappingAndRuntimeBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAMnG,eAAO,MAAM,mCAAmC,WACtC;IAAE,gBAAgB,EAAE,+BAA+B,CAAA;CAAE;;CAmL9D,CAAC"}
|
@@ -54,7 +54,7 @@ export const DataQualityMappingAndRuntimeBuilder = observer((props) => {
|
|
54
54
|
const mappingFilterOption = createFilter({
|
55
55
|
ignoreCase: true,
|
56
56
|
ignoreAccents: false,
|
57
|
-
stringify: (option) => option.value.path,
|
57
|
+
stringify: (option) => option.data.value.path,
|
58
58
|
});
|
59
59
|
const runtimeOptions = getRuntimesBasedOnMapping().map(buildRuntimeValueOption);
|
60
60
|
const selectedRuntimeOption = dataQualityQueryBuilderState
|
@@ -76,8 +76,8 @@ export const DataQualityMappingAndRuntimeBuilder = observer((props) => {
|
|
76
76
|
const runtimeFilterOption = createFilter({
|
77
77
|
ignoreCase: true,
|
78
78
|
ignoreAccents: false,
|
79
|
-
stringify: (option) => option.value instanceof RuntimePointer
|
80
|
-
? option.value.packageableRuntime.value.path
|
79
|
+
stringify: (option) => option.data.value instanceof RuntimePointer
|
80
|
+
? option.data.value.packageableRuntime.value.path
|
81
81
|
: 'custom',
|
82
82
|
});
|
83
83
|
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "data-quality-validation__setup__config-group", children: [_jsx("div", { className: "data-quality-validation__setup__config-group__header", children: _jsx("div", { className: "data-quality-validation__setup__config-group__header__title", children: "execution context" }) }), _jsxs("div", { className: "data-quality-validation__setup__config-group__content", children: [_jsxs("div", { className: "data-quality-validation__setup__config-group__item", children: [_jsx("div", { className: "btn--sm data-quality-validation__setup__config-group__item__label", title: "mapping", children: _jsx(PURE_MappingIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown data-quality-validation__setup__config-group__item__selector", placeholder: mappingOptions.length
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityMappingAndRuntimeBuilder.js","sourceRoot":"","sources":["../../src/components/DataQualityMappingAndRuntimeBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,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,EAAQ,EAAE;QACrE,IACE,GAAG,CAAC,KAAK;YACP,4BAA4B,CAAC,qBAAqB,CAAC,OAAO;YAC5D,gBAAgB,CAAC,iBAAiB,EAClC,CAAC;YACD,OAAO;QACT,CAAC;QACD,gBAAgB,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAC1C,MAAM,cAAc,GAAG,yBAAyB,EAAE,CAAC;QACnD,IAAI,cAAc,CAAC,MAAM,EAAE,CAAC;YAC1B,4BAA4B,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,CAAE,CAAC,CAAC;QACjE,CAAC;QACD,gBAAgB,CAAC,4BAA4B,EAAE,CAAC;QAChD,MAAM,OAAO,GAAG,2BAA2B,CACzC,4BAA4B,CAAC,qBAAqB,CAAC,OAAQ,EAC3D,gBAAgB,CAAC,iBAAiB,CAAC,aAAa,CACjD,CAAC;QACF,IAAI,cAAc,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;YAC5C,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAE,CAAC,CAAC;YAC1C,gBAAgB,CAAC,0BAA0B,EAAE,CAAC;QAChD,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,mBAAmB,GAAG,YAAY,CAAC;QACvC,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,KAAK;QACpB,SAAS,EAAE,CAAC,
|
1
|
+
{"version":3,"file":"DataQualityMappingAndRuntimeBuilder.js","sourceRoot":"","sources":["../../src/components/DataQualityMappingAndRuntimeBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,GACrC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAGL,2BAA2B,EAC3B,4BAA4B,EAC5B,mCA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B,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,oCAAoC,CAAC;4CACtD,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,GACF,IACE,EACN,eAAK,SAAS,EAAC,oDAAoD,aACjE,cACE,SAAS,EAAC,mEAAmE,EAC7E,KAAK,EAAC,SAAS,YAEf,KAAC,gBAAgB,KAAG,GAChB,EACN,KAAC,mBAAmB,IAClB,SAAS,EAAC,sGAAsG,EAChH,WAAW,EACT,cAAc,CAAC,MAAM;4CACnB,CAAC,CAAC,qBAAqB;4CACvB,CAAC,CAAC,kBAAkB,EAExB,QAAQ,EACN,gBAAgB,CAAC,iBAAiB;4CAClC,CAAC,4BAA4B,CAAC,qBAAqB,CAAC,OAAO,EAE7D,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,yBAAyB,CAAC;4CAC3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,GACF,IACE,IACF,IACF,EACN,KAAC,wBAAwB,IACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,OAAO,GAChB,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualitySideBar.d.ts","sourceRoot":"","sources":["../../src/components/DataQualitySideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIrE,OAAO,EAAE,KAAK,KAAK,EAAuB,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"DataQualitySideBar.d.ts","sourceRoot":"","sources":["../../src/components/DataQualitySideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIrE,OAAO,EAAE,KAAK,KAAK,EAAuB,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AA0BvG,eAAO,MAAM,wBAAwB,WAC3B;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACnD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;;CA0EF,CAAC;AACF,eAAO,MAAM,mCAAmC,WACtC;IACN,gBAAgB,EAAE,iCAAiC,CAAC;IACpD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;;CA0BF,CAAC;AAEF,eAAO,MAAM,iCAAiC,WACpC;IACN,+BAA+B,EAAE,+BAA+B,CAAC;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;;CAqCF,CAAC"}
|
@@ -21,7 +21,6 @@ import { DataQualityDataSpaceBuilderSetupPanelContent } from './DataQualityDataS
|
|
21
21
|
import { DataQualityMappingAndRuntimeBuilder } from './DataQualityMappingAndRuntimeBuilder.js';
|
22
22
|
import { ELEMENT_CREATION_BASIS } from './DSL_DataQuality_ClassElementDriver.js';
|
23
23
|
import { isElementDeprecated } from '@finos/legend-graph';
|
24
|
-
import { getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
|
25
24
|
import { DATA_QUALITY_VALIDATION_TEST_ID } from './constants/DataQualityConstants.js';
|
26
25
|
const generateClassLabel = (val, dataQualityState) => {
|
27
26
|
const isDeprecatedClass = isElementDeprecated(val, dataQualityState.graphManagerState.graph);
|
@@ -36,7 +35,7 @@ export const DataQualityClassSelector = observer((props) => {
|
|
36
35
|
const elementFilterOption = createFilter({
|
37
36
|
ignoreCase: true,
|
38
37
|
ignoreAccents: false,
|
39
|
-
stringify: (option) => option.value.path,
|
38
|
+
stringify: (option) => option.data.value.path,
|
40
39
|
});
|
41
40
|
const classOptions = classes.map((_class) => ({
|
42
41
|
value: _class,
|
@@ -60,10 +59,7 @@ export const DataQualityClassSelector = observer((props) => {
|
|
60
59
|
? 'Choose a class...'
|
61
60
|
: (noMatchMessage ?? 'No class found'), disabled: classOptions.length < 1 ||
|
62
61
|
(classOptions.length === 1 && Boolean(selectedClassOption)), noMatchMessage: noMatchMessage, options: classOptions, onChange: changeClass, value: selectedClassOption, darkMode: !applicationStore.layoutService
|
63
|
-
.TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption
|
64
|
-
darkMode: !applicationStore.layoutService
|
65
|
-
.TEMPORARY__isLightColorThemeEnabled,
|
66
|
-
}) })] }) }) }));
|
62
|
+
.TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption })] }) }) }));
|
67
63
|
});
|
68
64
|
export const DataQualityServiceValidationSideBar = observer((props) => {
|
69
65
|
const { dataQualityState, children } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualitySideBar.js","sourceRoot":"","sources":["../../src/components/DataQualitySideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,4CAA4C,EAAE,MAAM,kCAAkC,CAAC;AAChG,OAAO,EAAE,mC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ACjD,aAED,6BAEI,+BAA+B,CAAC,6BAA6B,EAE/D,SAAS,EAAC,sCAAsC,YAEhD,cAAK,SAAS,EAAC,wDAAwD,YACpE,8BAA8B;wBAC/B,sBAAsB,CAAC,eAAe,CAAC,CAAC,CAAC,CACvC,KAAC,4CAA4C,IAC3C,gBAAgB,EAAE,+BAA+B,GACjD,CACH,CAAC,CAAC,CAAC,CACF,KAAC,mCAAmC,IAClC,gBAAgB,EAAE,+BAA+B,GACjD,CACH,GACG,GACF,EACN,cAAK,SAAS,EAAC,4CAA4C,YACxD,QAAQ,GACL,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-quality",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.46",
|
4
4
|
"description": "Legend extension for Data Quality",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"@finos/legend-query-builder": "workspace:*",
|
53
53
|
"@finos/legend-shared": "workspace:*",
|
54
54
|
"@finos/legend-storage": "workspace:*",
|
55
|
-
"@types/react": "18.3.
|
55
|
+
"@types/react": "18.3.11",
|
56
56
|
"@types/react-dom": "18.3.0",
|
57
57
|
"mobx": "6.13.3",
|
58
58
|
"mobx-react-lite": "4.0.7",
|
@@ -65,12 +65,12 @@
|
|
65
65
|
"@finos/legend-dev-utils": "workspace:*",
|
66
66
|
"@jest/globals": "29.7.0",
|
67
67
|
"cross-env": "7.0.3",
|
68
|
-
"eslint": "
|
68
|
+
"eslint": "9.12.0",
|
69
69
|
"jest": "29.7.0",
|
70
70
|
"npm-run-all": "4.1.5",
|
71
71
|
"rimraf": "6.0.1",
|
72
|
-
"sass": "1.79.
|
73
|
-
"typescript": "5.6.
|
72
|
+
"sass": "1.79.4",
|
73
|
+
"typescript": "5.6.3"
|
74
74
|
},
|
75
75
|
"peerDependencies": {
|
76
76
|
"react": "^18.0.0"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-quality",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.46",
|
4
4
|
"description": "Legend extension for Data Quality",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,17 +42,17 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "16.0.
|
46
|
-
"@finos/legend-application-studio": "28.18.
|
47
|
-
"@finos/legend-art": "7.1.
|
48
|
-
"@finos/legend-code-editor": "2.0.
|
49
|
-
"@finos/legend-extension-dsl-data-space": "10.3.
|
50
|
-
"@finos/legend-graph": "31.10.
|
51
|
-
"@finos/legend-lego": "2.0.
|
52
|
-
"@finos/legend-query-builder": "4.
|
53
|
-
"@finos/legend-shared": "10.0.
|
54
|
-
"@finos/legend-storage": "3.0.
|
55
|
-
"@types/react": "18.3.
|
45
|
+
"@finos/legend-application": "16.0.2",
|
46
|
+
"@finos/legend-application-studio": "28.18.41",
|
47
|
+
"@finos/legend-art": "7.1.61",
|
48
|
+
"@finos/legend-code-editor": "2.0.3",
|
49
|
+
"@finos/legend-extension-dsl-data-space": "10.3.79",
|
50
|
+
"@finos/legend-graph": "31.10.37",
|
51
|
+
"@finos/legend-lego": "2.0.4",
|
52
|
+
"@finos/legend-query-builder": "4.15.1",
|
53
|
+
"@finos/legend-shared": "10.0.57",
|
54
|
+
"@finos/legend-storage": "3.0.107",
|
55
|
+
"@types/react": "18.3.11",
|
56
56
|
"@types/react-dom": "18.3.0",
|
57
57
|
"mobx": "6.13.3",
|
58
58
|
"mobx-react-lite": "4.0.7",
|
@@ -62,15 +62,15 @@
|
|
62
62
|
"serializr": "3.0.2"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
65
|
-
"@finos/legend-dev-utils": "2.1.
|
65
|
+
"@finos/legend-dev-utils": "2.1.24",
|
66
66
|
"@jest/globals": "29.7.0",
|
67
67
|
"cross-env": "7.0.3",
|
68
|
-
"eslint": "
|
68
|
+
"eslint": "9.12.0",
|
69
69
|
"jest": "29.7.0",
|
70
70
|
"npm-run-all": "4.1.5",
|
71
71
|
"rimraf": "6.0.1",
|
72
|
-
"sass": "1.79.
|
73
|
-
"typescript": "5.6.
|
72
|
+
"sass": "1.79.4",
|
73
|
+
"typescript": "5.6.3"
|
74
74
|
},
|
75
75
|
"peerDependencies": {
|
76
76
|
"react": "^18.0.0"
|
@@ -38,7 +38,7 @@ export const NewDataQualityServiceValidationElementEditor = observer(() => {
|
|
38
38
|
const selectedServiceOption = dataQualityServiceElementDriver.serviceSelected
|
39
39
|
? {
|
40
40
|
label: dataQualityServiceElementDriver.serviceSelected.value.name,
|
41
|
-
value: dataQualityServiceElementDriver.serviceSelected,
|
41
|
+
value: dataQualityServiceElementDriver.serviceSelected.value,
|
42
42
|
}
|
43
43
|
: undefined;
|
44
44
|
|
@@ -76,7 +76,7 @@ export const DataQualityDataSpaceBuilderSetupPanelContent = observer(
|
|
76
76
|
path: dataSpace.path,
|
77
77
|
defaultExecutionContext: dataSpace.defaultExecutionContext.name,
|
78
78
|
},
|
79
|
-
};
|
79
|
+
} as DataSpaceOption;
|
80
80
|
const executionContextOptions = dataSpace.executionContexts.map(
|
81
81
|
buildExecutionContextOption,
|
82
82
|
);
|
@@ -136,9 +136,9 @@ export const DataQualityDataSpaceBuilderSetupPanelContent = observer(
|
|
136
136
|
const runtimeFilterOption = createFilter({
|
137
137
|
ignoreCase: true,
|
138
138
|
ignoreAccents: false,
|
139
|
-
stringify: (option: { value: Runtime }): string =>
|
140
|
-
guaranteeType(option.value, RuntimePointer).packageableRuntime
|
141
|
-
.path,
|
139
|
+
stringify: (option: { data: { value: Runtime } }): string =>
|
140
|
+
guaranteeType(option.data.value, RuntimePointer).packageableRuntime
|
141
|
+
.value.path,
|
142
142
|
});
|
143
143
|
|
144
144
|
useEffect(() => {
|
@@ -98,8 +98,9 @@ export const DataQualityMappingAndRuntimeBuilder = observer(
|
|
98
98
|
const mappingFilterOption = createFilter({
|
99
99
|
ignoreCase: true,
|
100
100
|
ignoreAccents: false,
|
101
|
-
stringify: (option:
|
102
|
-
|
101
|
+
stringify: (option: {
|
102
|
+
data: PackageableElementOption<Mapping>;
|
103
|
+
}): string => option.data.value.path,
|
103
104
|
});
|
104
105
|
|
105
106
|
const runtimeOptions = getRuntimesBasedOnMapping().map(
|
@@ -134,9 +135,9 @@ export const DataQualityMappingAndRuntimeBuilder = observer(
|
|
134
135
|
const runtimeFilterOption = createFilter({
|
135
136
|
ignoreCase: true,
|
136
137
|
ignoreAccents: false,
|
137
|
-
stringify: (option: { value: Runtime }): string =>
|
138
|
-
option.value instanceof RuntimePointer
|
139
|
-
? option.value.packageableRuntime.value.path
|
138
|
+
stringify: (option: { data: { value: Runtime } }): string =>
|
139
|
+
option.data.value instanceof RuntimePointer
|
140
|
+
? option.data.value.packageableRuntime.value.path
|
140
141
|
: 'custom',
|
141
142
|
});
|
142
143
|
|
@@ -27,10 +27,6 @@ import { DataQualityDataSpaceBuilderSetupPanelContent } from './DataQualityDataS
|
|
27
27
|
import { DataQualityMappingAndRuntimeBuilder } from './DataQualityMappingAndRuntimeBuilder.js';
|
28
28
|
import { ELEMENT_CREATION_BASIS } from './DSL_DataQuality_ClassElementDriver.js';
|
29
29
|
import { type Class, isElementDeprecated } from '@finos/legend-graph';
|
30
|
-
import {
|
31
|
-
getPackageableElementOptionFormatter,
|
32
|
-
type PackageableElementOption,
|
33
|
-
} from '@finos/legend-lego/graph-editor';
|
34
30
|
import type { DataQualityClassValidationState } from './states/DataQualityClassValidationState.js';
|
35
31
|
import type { DataQualityServiceValidationState } from './states/DataQualityServiceValidationState.js';
|
36
32
|
import { DATA_QUALITY_VALIDATION_TEST_ID } from './constants/DataQualityConstants.js';
|
@@ -72,8 +68,9 @@ export const DataQualityClassSelector = observer(
|
|
72
68
|
const elementFilterOption = createFilter({
|
73
69
|
ignoreCase: true,
|
74
70
|
ignoreAccents: false,
|
75
|
-
stringify: (option:
|
76
|
-
|
71
|
+
stringify: (option: {
|
72
|
+
data: { label: React.ReactNode; value: Class };
|
73
|
+
}): string => option.data.value.path,
|
77
74
|
});
|
78
75
|
|
79
76
|
const classOptions = classes.map((_class) => ({
|
@@ -89,7 +86,10 @@ export const DataQualityClassSelector = observer(
|
|
89
86
|
),
|
90
87
|
}
|
91
88
|
: null;
|
92
|
-
const changeClass = (val:
|
89
|
+
const changeClass = (val: {
|
90
|
+
label: React.ReactNode;
|
91
|
+
value: Class;
|
92
|
+
}): void => {
|
93
93
|
if (val.value === dataQualityQueryBuilderState.class) {
|
94
94
|
return;
|
95
95
|
}
|
@@ -128,11 +128,6 @@ export const DataQualityClassSelector = observer(
|
|
128
128
|
.TEMPORARY__isLightColorThemeEnabled
|
129
129
|
}
|
130
130
|
filterOption={elementFilterOption}
|
131
|
-
formatOptionLabel={getPackageableElementOptionFormatter({
|
132
|
-
darkMode:
|
133
|
-
!applicationStore.layoutService
|
134
|
-
.TEMPORARY__isLightColorThemeEnabled,
|
135
|
-
})}
|
136
131
|
/>
|
137
132
|
</div>
|
138
133
|
</div>
|