@finos/legend-extension-dsl-data-quality 1.0.27 → 1.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/lib/components/DSL_DataQuality_ClassElementDriver.d.ts.map +1 -1
  2. package/lib/components/DSL_DataQuality_ClassElementDriver.js +12 -5
  3. package/lib/components/DSL_DataQuality_ClassElementDriver.js.map +1 -1
  4. package/lib/components/DataQualityConstraintsSelection.d.ts.map +1 -1
  5. package/lib/components/DataQualityConstraintsSelection.js +42 -4
  6. package/lib/components/DataQualityConstraintsSelection.js.map +1 -1
  7. package/lib/components/DataQualityResultPanel.js +3 -3
  8. package/lib/components/DataQualityResultPanel.js.map +1 -1
  9. package/lib/components/states/DataQualityGraphFetchTreeState.d.ts +2 -3
  10. package/lib/components/states/DataQualityGraphFetchTreeState.d.ts.map +1 -1
  11. package/lib/components/states/DataQualityGraphFetchTreeState.js +2 -5
  12. package/lib/components/states/DataQualityGraphFetchTreeState.js.map +1 -1
  13. package/lib/components/states/DataQualityState.d.ts +1 -2
  14. package/lib/components/states/DataQualityState.d.ts.map +1 -1
  15. package/lib/components/states/DataQualityState.js +5 -8
  16. package/lib/components/states/DataQualityState.js.map +1 -1
  17. package/lib/components/utils/DataQualityGraphFetchTreeUtil.d.ts +2 -1
  18. package/lib/components/utils/DataQualityGraphFetchTreeUtil.d.ts.map +1 -1
  19. package/lib/components/utils/DataQualityGraphFetchTreeUtil.js +14 -4
  20. package/lib/components/utils/DataQualityGraphFetchTreeUtil.js.map +1 -1
  21. package/lib/index.css +2 -2
  22. package/lib/index.css.map +1 -1
  23. package/lib/package.json +1 -1
  24. package/package.json +2 -2
  25. package/src/components/DSL_DataQuality_ClassElementDriver.tsx +25 -3
  26. package/src/components/DataQualityConstraintsSelection.tsx +74 -11
  27. package/src/components/DataQualityResultPanel.tsx +5 -5
  28. package/src/components/states/DataQualityGraphFetchTreeState.ts +2 -6
  29. package/src/components/states/DataQualityState.ts +12 -15
  30. package/src/components/utils/DataQualityGraphFetchTreeUtil.ts +42 -16
  31. package/style/_data-quality-validation-builder.scss +7 -2
  32. package/style/index.scss +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataQuality_ClassElementDriver.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataQuality_ClassElementDriver.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,WAAW,EAChB,gBAAgB,EACjB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,wCAAwC,EAGzC,MAAM,gGAAgG,CAAC;AAOxG,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EAGxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAEzE,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,oBAAY,sBAAsB;IAChC,qBAAqB,oBAAoB;IACzC,eAAe,cAAc;CAC9B;AAED,qBAAa,8BAA+B,SAAQ,gBAAgB,CAAC,wCAAwC,CAAC;IAC5G,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,iBAAiB,EAAE,wBAAwB,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACnE,eAAe,EAAE,wBAAwB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/D,eAAe,EAAE,aAAa,GAAG,SAAS,CAAC;gBAE/B,WAAW,EAAE,WAAW;IAoBpC,IAAI,gBAAgB,IAAI,wBAAwB,CAAC,SAAS,CAAC,EAAE,CAI5D;IAED,IAAI,cAAc,IAAI,wBAAwB,CAAC,OAAO,CAAC,EAAE,CAIxD;IAED,IAAI,yBAAyB,IAAI,kBAAkB,EAAE,CAOpD;IAED,IAAI,cAAc,IAAI,aAAa,EAAE,CAIpC;IAED,oBAAoB,CAClB,SAAS,EAAE,wBAAwB,CAAC,SAAS,CAAC,GAAG,SAAS,GACzD,IAAI;IAIP,kBAAkB,CAChB,eAAe,EAAE,wBAAwB,CAAC,OAAO,CAAC,GAAG,SAAS,GAC7D,IAAI;IAIP,kBAAkB,CAAC,eAAe,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI;IAIpE,yBAAyB,CACvB,sBAAsB,EAAE,sBAAsB,GAC7C,IAAI;IAIP,IAAI,OAAO,IAAI,OAAO,CAOrB;IAED,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,wCAAwC;CAqCtE"}
1
+ {"version":3,"file":"DSL_DataQuality_ClassElementDriver.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataQuality_ClassElementDriver.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,WAAW,EAChB,gBAAgB,EACjB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,wCAAwC,EAGzC,MAAM,gGAAgG,CAAC;AAQxG,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,SAAS,EAEV,MAAM,8CAA8C,CAAC;AAGtD,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,oBAAY,sBAAsB;IAChC,qBAAqB,oBAAoB;IACzC,eAAe,cAAc;CAC9B;AAED,qBAAa,8BAA+B,SAAQ,gBAAgB,CAAC,wCAAwC,CAAC;IAC5G,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,iBAAiB,EAAE,wBAAwB,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACnE,eAAe,EAAE,wBAAwB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/D,eAAe,EAAE,aAAa,GAAG,SAAS,CAAC;gBAE/B,WAAW,EAAE,WAAW;IAoBpC,IAAI,gBAAgB,IAAI,wBAAwB,CAAC,SAAS,CAAC,EAAE,CAI5D;IAED,IAAI,cAAc,IAAI,wBAAwB,CAAC,OAAO,CAAC,EAAE,CAIxD;IAED,IAAI,yBAAyB,IAAI,kBAAkB,EAAE,CAOpD;IAED,IAAI,cAAc,IAAI,aAAa,EAAE,CAIpC;IAED,oBAAoB,CAClB,SAAS,EAAE,wBAAwB,CAAC,SAAS,CAAC,GAAG,SAAS,GACzD,IAAI;IAIP,kBAAkB,CAChB,eAAe,EAAE,wBAAwB,CAAC,OAAO,CAAC,GAAG,SAAS,GAC7D,IAAI;IAIP,kBAAkB,CAAC,eAAe,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI;IAIpE,yBAAyB,CACvB,sBAAsB,EAAE,sBAAsB,GAC7C,IAAI;IAIP,IAAI,OAAO,IAAI,OAAO,CAOrB;IAED,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,wCAAwC;CAoDtE"}
@@ -16,10 +16,11 @@
16
16
  import { NewElementDriver, } from '@finos/legend-application-studio';
17
17
  import { DataQualityClassValidationsConfiguration, DataSpaceDataQualityExecutionContext, MappingAndRuntimeDataQualityExecutionContext, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
18
18
  import { action, computed, makeObservable, observable } from 'mobx';
19
- import { filterByType, getNullableFirstEntry, guaranteeNonNullable, } from '@finos/legend-shared';
20
- import { getMappingCompatibleRuntimes, PackageableElementExplicitReference, } from '@finos/legend-graph';
19
+ import { filterByType, getNullableFirstEntry, guaranteeNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
20
+ import { getMappingCompatibleRuntimes, PackageableElementExplicitReference, getMappingCompatibleClasses, } from '@finos/legend-graph';
21
21
  import { buildElementOption, } from '@finos/legend-lego/graph-editor';
22
- import { DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
22
+ import { DataSpace, resolveUsableDataSpaceClasses, } from '@finos/legend-extension-dsl-data-space/graph';
23
+ import { buildDefaultDataQualityRootGraphFetchTree } from './utils/DataQualityGraphFetchTreeUtil.js';
23
24
  export var ELEMENT_CREATION_BASIS;
24
25
  (function (ELEMENT_CREATION_BASIS) {
25
26
  ELEMENT_CREATION_BASIS["MAPPING_RUNTIME_BASED"] = "Mapping/Runtime";
@@ -83,6 +84,7 @@ export class DataQuality_ClassElementDriver extends NewElementDriver {
83
84
  return Boolean(this.mappingSelected && this.runtimeSelected);
84
85
  }
85
86
  createElement(name) {
87
+ let usableClasses = [];
86
88
  const dataQualityConstraintsConfiguration = new DataQualityClassValidationsConfiguration(name);
87
89
  if (this.dqElementCreationBasis === ELEMENT_CREATION_BASIS.DATASPACE_BASED) {
88
90
  const dataSpaceToSet = PackageableElementExplicitReference.create(this.dataSpaceSelected.value);
@@ -93,6 +95,7 @@ export class DataQuality_ClassElementDriver extends NewElementDriver {
93
95
  dataQualityConstraintsConfiguration.context = dataSpaceExecutionContext;
94
96
  dataQualityConstraintsConfiguration.dataQualityRootGraphFetchTree =
95
97
  undefined;
98
+ usableClasses = resolveUsableDataSpaceClasses(dataSpaceToSet.value, dataSpaceToSet.value.defaultExecutionContext.mapping.value, this.editorStore.graphManagerState);
96
99
  }
97
100
  else {
98
101
  if (this.mappingSelected && this.runtimeSelected) {
@@ -106,10 +109,14 @@ export class DataQuality_ClassElementDriver extends NewElementDriver {
106
109
  mappingAndRuntimeExecutionContext.runtime = runtimeValue;
107
110
  dataQualityConstraintsConfiguration.context =
108
111
  mappingAndRuntimeExecutionContext;
112
+ usableClasses = getMappingCompatibleClasses(mapping.value, this.editorStore.graphManagerState.usableClasses);
109
113
  }
110
- dataQualityConstraintsConfiguration.dataQualityRootGraphFetchTree =
111
- undefined;
112
114
  }
115
+ if (usableClasses.length === 0) {
116
+ throw new UnsupportedOperationError('Must have at least one usable class with given mapping');
117
+ }
118
+ dataQualityConstraintsConfiguration.dataQualityRootGraphFetchTree =
119
+ buildDefaultDataQualityRootGraphFetchTree(usableClasses[0]);
113
120
  return dataQualityConstraintsConfiguration;
114
121
  }
115
122
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataQuality_ClassElementDriver.js","sourceRoot":"","sources":["../../src/components/DSL_DataQuality_ClassElementDriver.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,gBAAgB,GACjB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,wCAAwC,EACxC,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,YAAY,EACZ,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,4BAA4B,EAC5B,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAOzE,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mEAAyC,CAAA;IACzC,uDAA6B,CAAA;AAC/B,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED,MAAM,OAAO,8BAA+B,SAAQ,gBAA0D;IAC5G,sBAAsB,CAAyB;IAC/C,iBAAiB,CAAkD;IACnE,eAAe,CAAgD;IAC/D,eAAe,CAA4B;IAE3C,YAAY,WAAwB;QAClC,KAAK,CAAC,WAAW,CAAC,CAAC;QAEnB,cAAc,CAAC,IAAI,EAAE;YACnB,iBAAiB,EAAE,UAAU;YAC7B,eAAe,EAAE,UAAU;YAC3B,eAAe,EAAE,UAAU;YAC3B,sBAAsB,EAAE,UAAU;YAClC,oBAAoB,EAAE,MAAM;YAC5B,kBAA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AM,CAAC,QAAQ,CAAC,CAAC;gBACrE,MAAM,aAAa,GAAG,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;gBACvE,MAAM,YAAY,GAChB,mCAAmC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;gBAC5D,MAAM,iCAAiC,GACrC,IAAI,4CAA4C,EAAE,CAAC;gBACrD,iCAAiC,CAAC,OAAO,GAAG,OAAO,CAAC;gBACpD,iCAAiC,CAAC,OAAO,GAAG,YAAY,CAAC;gBACzD,mCAAmC,CAAC,OAAO;oBACzC,iCAAiC,CAAC;YACtC,CAAC;YACD,mCAAmC,CAAC,6BAA6B;gBAC/D,SAAS,CAAC;QACd,CAAC;QACD,OAAO,mCAAmC,CAAC;IAC7C,CAAC;CACF"}
1
+ {"version":3,"file":"DSL_DataQuality_ClassElementDriver.js","sourceRoot":"","sources":["../../src/components/DSL_DataQuality_ClassElementDriver.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,gBAAgB,GACjB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,wCAAwC,EACxC,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,YAAY,EACZ,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAIL,4BAA4B,EAC5B,mCAAmC,EACnC,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,SAAS,EACT,6BAA6B,GAC9B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,yCAAyC,EAAE,MAAM,0CAA0C,CAAC;AAOrG,MAAM,CAAN,IAAY,sBAGX;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CAAC;YAC/B,MAAM,IAAI,yBAAyB,CACjC,wDAAwD,CACzD,CAAC;QACJ,CAAC;QACD,mCAAmC,CAAC,6BAA6B;YAC/D,yCAAyC,CAAC,aAAa,CAAC,CAAC,CAAE,CAAC,CAAC;QAC/D,OAAO,mCAAmC,CAAC;IAC7C,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityConstraintsSelection.d.ts","sourceRoot":"","sources":["../../src/components/DataQualityConstraintsSelection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIrE,OAAO,EACL,KAAK,6BAA6B,EAClC,iCAAiC,EAGlC,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,KAAK,sBAAsB,EAY5B,MAAM,mBAAmB,CAAC;AAkB3B,eAAO,MAAM,uCAAuC,SAC5C,iCAAiC,KACtC,MAQF,CAAC;AAEF,eAAO,MAAM,uCAAuC,WAEzC,sBAAsB,CAC3B,iCAAiC,EACjC;IACE,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,iCAAiC,KAAK,IAAI,CAAC;CAChE,CACF;;CAwIJ,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAC/B;IACN,kBAAkB,EAAE,6BAA6B,CAAC;IAClD,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,CAAC,IAAI,EAAE,6BAA6B,KAAK,IAAI,CAAC;CAC/D;;CAoFF,CAAC;AAEF,eAAO,MAAM,+BAA+B,WAClC;IAAE,gBAAgB,EAAE,gBAAgB,CAAA;CAAE;;CA8E/C,CAAC"}
1
+ {"version":3,"file":"DataQualityConstraintsSelection.d.ts","sourceRoot":"","sources":["../../src/components/DataQualityConstraintsSelection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIrE,OAAO,EACL,KAAK,6BAA6B,EAClC,iCAAiC,EAGlC,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,KAAK,sBAAsB,EAa5B,MAAM,mBAAmB,CAAC;AAmB3B,eAAO,MAAM,uCAAuC,SAC5C,iCAAiC,KACtC,MAQF,CAAC;AAEF,eAAO,MAAM,uCAAuC,WAEzC,sBAAsB,CAC3B,iCAAiC,EACjC;IACE,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,iCAAiC,KAAK,IAAI,CAAC;CAChE,CACF;;CAqMJ,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAC/B;IACN,kBAAkB,EAAE,6BAA6B,CAAC;IAClD,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,CAAC,IAAI,EAAE,6BAA6B,KAAK,IAAI,CAAC;CAC/D;;CAoFF,CAAC;AAEF,eAAO,MAAM,+BAA+B,WAClC;IAAE,gBAAgB,EAAE,gBAAgB,CAAA;CAAE;;CA8E/C,CAAC"}
@@ -19,7 +19,7 @@ import { useDrop } from 'react-dnd';
19
19
  import { useCallback } from 'react';
20
20
  import { getClassPropertyIcon } from '@finos/legend-lego/graph-editor';
21
21
  import { DataQualityGraphFetchTreeNodeData, isConstraintsClassesTreeEmpty, removeNodeRecursively, } from './utils/DataQualityGraphFetchTreeUtil.js';
22
- import { BlankPanelPlaceholder, CheckSquareIcon, ChevronDownIcon, ChevronRightIcon, clsx, PanelDropZone, PURE_UnknownElementTypeIcon, SquareIcon, TimesIcon, TreeView, ExclamationTriangleIcon, } from '@finos/legend-art';
22
+ import { BlankPanelPlaceholder, CheckSquareIcon, ChevronDownIcon, ChevronRightIcon, clsx, PanelDropZone, PURE_UnknownElementTypeIcon, SquareIcon, TimesIcon, TreeView, ExclamationTriangleIcon, MinusSquareIcon, } from '@finos/legend-art';
23
23
  import { dataQualityClassValidation_setDataQualityGraphFetchTree } from '../graph-manager/DSL_DataQuality_GraphModifierHelper.js';
24
24
  import { Class, Enumeration, PropertyGraphFetchTree, RootGraphFetchTree, } from '@finos/legend-graph';
25
25
  import { DATA_QUALITY_VALIDATION_TEST_ID } from './constants/DataQualityConstants.js';
@@ -50,18 +50,56 @@ export const DataQualityConstraintsTreeNodeContainer = observer((props) => {
50
50
  type = node.tree.class.value;
51
51
  }
52
52
  const isExpandable = Boolean(node.childrenIds.length);
53
- const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
53
+ const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : null;
54
54
  const nodeTypeIcon = type ? (getClassPropertyIcon(type)) : (_jsx(PURE_UnknownElementTypeIcon, {}));
55
+ const showClassConstraintsSelectionCheckBox = !node.isReadOnly &&
56
+ node.type instanceof Class &&
57
+ node.constraints.length !== 0;
58
+ const noClassConstraintsSelected = node.type instanceof Class &&
59
+ node.constraints.length > 0 &&
60
+ node.constraints.every((constraint) => !constraint.isSelected);
61
+ const allClassConstraintsSelected = node.type instanceof Class &&
62
+ node.constraints.length > 0 &&
63
+ node.constraints.every((constraint) => constraint.isSelected);
55
64
  const toggleExpandNode = () => onNodeSelect?.(node);
56
65
  const deleteNode = () => removeNode?.(node);
57
66
  const toggleChecked = (constraint) => {
58
- dataQualityGraphFetchTreeState.updateNode(node, constraint.constraint, !constraint.isSelected);
67
+ dataQualityGraphFetchTreeState.updateNode(node, [constraint.constraint], !constraint.isSelected);
59
68
  constraint.setIsSelected(!constraint.isSelected);
60
69
  };
70
+ const checkBoxIcon = () => {
71
+ if (noClassConstraintsSelected) {
72
+ return _jsx(SquareIcon, {});
73
+ }
74
+ if (allClassConstraintsSelected) {
75
+ return _jsx(CheckSquareIcon, {});
76
+ }
77
+ return _jsx(MinusSquareIcon, {});
78
+ };
79
+ const toggleClassConstraintsSelection = () => {
80
+ const desiredConstraints = [];
81
+ let addConstraint = true;
82
+ if (!allClassConstraintsSelected) {
83
+ node.constraints.forEach((constraint) => {
84
+ desiredConstraints.push(constraint.constraint);
85
+ constraint.setIsSelected(true);
86
+ });
87
+ }
88
+ else {
89
+ addConstraint = false;
90
+ node.constraints.forEach((constraint) => {
91
+ desiredConstraints.push(constraint.constraint);
92
+ constraint.setIsSelected(false);
93
+ });
94
+ }
95
+ dataQualityGraphFetchTreeState.updateNode(node, desiredConstraints, addConstraint);
96
+ };
61
97
  return (_jsxs("div", { className: "constraints-selection-node", children: [_jsxs("div", { className: "tree-view__node__container data-quality-validation-graph-fetch-tree__node__container", style: {
62
98
  paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2)}rem`,
63
99
  display: 'flex',
64
- }, children: [_jsxs("div", { className: "data-quality-validation-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "tree-view__node__icon data-quality-validation-graph-fetch-tree__node__icon", children: [_jsx("div", { className: "data-quality-validation-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }), _jsx("div", { className: "data-quality-validation-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label data-quality-validation-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, _jsx("div", { className: "data-quality-validation-graph-fetch-tree__node__type", children: _jsx("div", { className: "data-quality-validation-graph-fetch-tree__node__type__label", children: type ? type.name : '' }) })] })] }), !node.isReadOnly ? (_jsx("div", { className: "data-quality-validation-graph-fetch-tree__node__actions", children: _jsx("button", { className: "data-quality-validation-graph-fetch-tree__node__action", title: "Remove", tabIndex: -1, onClick: deleteNode, disabled: isReadOnly, children: _jsx(TimesIcon, {}) }) })) : (_jsx("div", {}))] }), node.constraints.length ? (_jsx("div", { style: {
100
+ }, children: [_jsxs("div", { className: "data-quality-validation-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "data-quality-validation-graph-fetch-tree__node__icon", children: [showClassConstraintsSelectionCheckBox && (_jsx("div", { onClick: toggleClassConstraintsSelection, children: _jsx("button", { className: clsx('panel__content__form__section__toggler__btn', 'data-quality-validation-graph-fetch-tree__constraint__checkbox', {
101
+ 'panel__content__form__section__toggler__btn--toggled': !noClassConstraintsSelected,
102
+ }), children: checkBoxIcon() }) })), nodeExpandIcon && (_jsx("div", { className: "data-quality-validation-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon })), _jsx("div", { className: "data-quality-validation-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label data-quality-validation-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, _jsx("div", { className: "data-quality-validation-graph-fetch-tree__node__type", children: _jsx("div", { className: "data-quality-validation-graph-fetch-tree__node__type__label", children: type ? type.name : '' }) })] })] }), !node.isReadOnly ? (_jsx("div", { className: "data-quality-validation-graph-fetch-tree__node__actions", children: _jsx("button", { className: "data-quality-validation-graph-fetch-tree__node__action", title: "Remove", tabIndex: -1, onClick: deleteNode, disabled: isReadOnly, children: _jsx(TimesIcon, {}) }) })) : (_jsx("div", {}))] }), node.constraints.length ? (_jsx("div", { style: {
65
103
  paddingLeft: `${(level + 2) * (stepPaddingInRem ?? 2)}rem`,
66
104
  display: 'flex',
67
105
  flexDirection: 'column',
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityConstraintsSelection.js","sourceRoot":"","sources":["../../src/components/DataQualityConstraintsSelection.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,o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;QACD,IAAI,EAAE,CAAC,IAAI,EAAE,OAAO,EAAQ,EAAE;YAC5B,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;gBACvB,UAAU,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC,CAAC,+DAA+D;QACnE,CAAC;QACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACrB,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;SAC9C,CAAC;KACH,CAAC,EACF,CAAC,UAAU,CAAC,CACb,CAAC;IAEF,OAAO,CACL,6BAEI,+BAA+B,CAAC,4BAA4B,EAE9D,SAAS,EAAC,2BAA2B,YAErC,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,EACxC,gBAAgB,EAAC,2CAA2C,aAE3D,CAAC,CAAC,QAAQ,IAAI,6BAA6B,CAAC,QAAQ,CAAC,CAAC,IAAI,CACzD,KAAC,qBAAqB,IACpB,IAAI,EAAC,6BAA6B,EAClC,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,QAAQ,IAAI,CAAC,6BAA6B,CAAC,QAAQ,CAAC,IAAI,CACvD,KAAC,4BAA4B,IAC3B,kBAAkB,EAAE,QAAQ,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc,GAC9B,CACH,IACa,GACZ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataQualityConstraintsSelection.js","sourceRoot":"","sources":["../../src/components/DataQualityConstraintsSelection.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,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C,CACH,EACA,QAAQ,IAAI,CAAC,6BAA6B,CAAC,QAAQ,CAAC,IAAI,CACvD,KAAC,4BAA4B,IAC3B,kBAAkB,EAAE,QAAQ,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc,GAC9B,CACH,IACa,GACZ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -73,7 +73,7 @@ export const DataQualityResultPanel = observer((props) => {
73
73
  if (!queryDuration) {
74
74
  return undefined;
75
75
  }
76
- return `query ran in ${queryDuration}`;
76
+ return `validation ran in ${queryDuration}`;
77
77
  };
78
78
  const resultDescription = executionResult
79
79
  ? getResultSetDescription(executionResult)
@@ -102,9 +102,9 @@ export const DataQualityResultPanel = observer((props) => {
102
102
  }
103
103
  };
104
104
  const isLoading = resultState.isRunningQuery || resultState.isGeneratingPlan;
105
- return (_jsxs("div", { "data-testid": DATA_QUALITY_VALIDATION_TEST_ID.DATA_QUALITY_VALIDATION_RESULT_PANEL, className: "panel data-quality-validation__result", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "results" }), resultState.pressedRunQuery.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running Query..." })), _jsx("div", { "data-testid": DATA_QUALITY_VALIDATION_TEST_ID.DATA_QUALITY_VALIDATION_RESULT_ANALYTICS, className: "data-quality-validation__result__analytics", children: resultDescription ?? '' }), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "data-quality-validation__result__stale-status", children: [_jsx("div", { className: "data-quality-validation__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "data-quality-validation__result__stale-status__label", children: "Preview data might be stale" })] }))] }), _jsxs("div", { className: "panel__header__actions data-quality-validation__result__header__actions", children: [allowSettingPreviewLimit && (_jsxs("div", { className: "data-quality-validation__result__limit", children: [_jsx("div", { className: "data-quality-validation__result__limit__label", children: "preview row limit" }), _jsx("input", { ref: inputRef, className: "input--dark data-quality-validation__result__limit__input", spellCheck: false, type: "number", value: previewLimitValue, onChange: changePreviewLimit, onBlur: getPreviewLimit, onKeyDown: onKeyDown })] })), _jsx("div", { className: "data-quality-validation__result__execute-btn btn__dropdown-combo btn__dropdown-combo--primary", children: resultState.isRunningQuery ? (_jsx("button", { className: "btn__dropdown-combo__canceler data-quality-validation__result__execute-btn__btn", onClick: cancelQuery, tabIndex: -1, children: _jsxs("div", { className: "btn--dark btn--caution btn__dropdown-combo__canceler__label data-quality-validation__result__execute-btn__btn", children: [_jsx(PauseCircleIcon, {}), "Stop"] }) })) : (_jsxs(_Fragment, { children: [_jsxs("button", { className: "btn__dropdown-combo__label data-quality-validation__result__execute-btn__btn data-quality-validation__result__execute-btn__btn--green", onClick: runQuery, tabIndex: -1, disabled: isRunQueryDisabled, children: [_jsx(PlayIcon, {}), "Run Query"] }), _jsx(ControlledDropdownMenu, { className: "btn__dropdown-combo__dropdown-btn data-quality-validation__result__execute-btn__btn data-quality-validation__result__execute-btn__btn--green", disabled: isRunQueryDisabled, content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: generatePlan, disabled: isRunQueryDisabled, children: [_jsx(MenuContentItemIcon, { children: _jsx(ReportIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Generate Plan" })] }), _jsxs(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: debugPlanGeneration, disabled: isRunQueryDisabled, children: [_jsx(MenuContentItemIcon, { children: _jsx(DebugIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Debug" })] })] }), menuProps: {
105
+ return (_jsxs("div", { "data-testid": DATA_QUALITY_VALIDATION_TEST_ID.DATA_QUALITY_VALIDATION_RESULT_PANEL, className: "panel data-quality-validation__result", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "results" }), resultState.pressedRunQuery.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running Validation..." })), _jsx("div", { "data-testid": DATA_QUALITY_VALIDATION_TEST_ID.DATA_QUALITY_VALIDATION_RESULT_ANALYTICS, className: "data-quality-validation__result__analytics", children: resultDescription ?? '' }), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "data-quality-validation__result__stale-status", children: [_jsx("div", { className: "data-quality-validation__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "data-quality-validation__result__stale-status__label", children: "Preview data might be stale" })] }))] }), _jsxs("div", { className: "panel__header__actions data-quality-validation__result__header__actions", children: [allowSettingPreviewLimit && (_jsxs("div", { className: "data-quality-validation__result__limit", children: [_jsx("div", { className: "data-quality-validation__result__limit__label", children: "preview row limit" }), _jsx("input", { ref: inputRef, className: "input--dark data-quality-validation__result__limit__input", spellCheck: false, type: "number", value: previewLimitValue, onChange: changePreviewLimit, onBlur: getPreviewLimit, onKeyDown: onKeyDown })] })), _jsx("div", { className: "data-quality-validation__result__execute-btn btn__dropdown-combo btn__dropdown-combo--primary", children: resultState.isRunningQuery ? (_jsx("button", { className: "btn__dropdown-combo__canceler data-quality-validation__result__execute-btn__btn", onClick: cancelQuery, tabIndex: -1, children: _jsxs("div", { className: "btn--dark btn--caution btn__dropdown-combo__canceler__label data-quality-validation__result__execute-btn__btn", children: [_jsx(PauseCircleIcon, {}), "Stop"] }) })) : (_jsxs(_Fragment, { children: [_jsxs("button", { className: "btn__dropdown-combo__label data-quality-validation__result__execute-btn__validation data-quality-validation__result__execute-btn__btn data-quality-validation__result__execute-btn__btn--green", onClick: runQuery, tabIndex: -1, disabled: isRunQueryDisabled, children: [_jsx(PlayIcon, {}), "Run Validation"] }), _jsx(ControlledDropdownMenu, { className: "btn__dropdown-combo__dropdown-btn data-quality-validation__result__execute-btn__btn data-quality-validation__result__execute-btn__btn--green", disabled: isRunQueryDisabled, content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: generatePlan, disabled: isRunQueryDisabled, children: [_jsx(MenuContentItemIcon, { children: _jsx(ReportIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Generate Plan" })] }), _jsxs(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: debugPlanGeneration, disabled: isRunQueryDisabled, children: [_jsx(MenuContentItemIcon, { children: _jsx(DebugIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Debug" })] })] }), menuProps: {
106
106
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
107
107
  transformOrigin: { vertical: 'top', horizontal: 'right' },
108
- }, children: _jsx(CaretDownIcon, {}) })] })) })] })] }), _jsxs(PanelContent, { className: "data-quality-validation__result__content", children: [_jsx(CubesLoadingIndicator, { isLoading: isLoading, children: _jsx(CubesLoadingIndicatorIcon, {}) }), !executionResult && !isLoading && (_jsx(BlankPanelContent, { children: "Build or load a valid query first" })), executionResult && !isLoading && (_jsx("div", { className: "data-quality-validation__result__values", children: _jsx(DataQualityResultValues, { executionResult: executionResult, dataQualityState: dataQualityState }) }))] }), _jsx(ExecutionPlanViewer, { executionPlanState: resultState.executionPlanState })] }));
108
+ }, children: _jsx(CaretDownIcon, {}) })] })) })] })] }), _jsxs(PanelContent, { className: "data-quality-validation__result__content", children: [_jsx(CubesLoadingIndicator, { isLoading: isLoading, children: _jsx(CubesLoadingIndicatorIcon, {}) }), !executionResult && !isLoading && (_jsx(BlankPanelContent, { children: "Click on run validation to see the constraints validation results" })), executionResult && !isLoading && (_jsx("div", { className: "data-quality-validation__result__values", children: _jsx(DataQualityResultValues, { executionResult: executionResult, dataQualityState: dataQualityState }) }))] }), _jsx(ExecutionPlanViewer, { executionPlanState: resultState.executionPlanState })] }));
109
109
  });
110
110
  //# sourceMappingURL=DataQualityResultPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityResultPanel.js","sourceRoot":"","sources":["../../src/components/DataQualityResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,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mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -16,7 +16,7 @@
16
16
  import { type Hashable } from '@finos/legend-shared';
17
17
  import { type DataQualityGraphFetchTreeData, type DataQualityGraphFetchTreeNodeData } from '../utils/DataQualityGraphFetchTreeUtil.js';
18
18
  import type { DataQualityState } from './DataQualityState.js';
19
- import { type Class, type Constraint } from '@finos/legend-graph';
19
+ import { type Constraint } from '@finos/legend-graph';
20
20
  import type { QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeRootNodeData } from '@finos/legend-query-builder';
21
21
  export declare class DataQualityGraphFetchTreeState implements Hashable {
22
22
  readonly dataQualityState: DataQualityState;
@@ -24,8 +24,7 @@ export declare class DataQualityGraphFetchTreeState implements Hashable {
24
24
  constructor(dataQualityState: DataQualityState);
25
25
  setGraphFetchTree(val: DataQualityGraphFetchTreeData | undefined): void;
26
26
  private updateTreeData;
27
- onClassChange(_class: Class | undefined): void;
28
- updateNode(node: DataQualityGraphFetchTreeNodeData, constraint: Constraint, addConstraint: boolean): void;
27
+ updateNode(node: DataQualityGraphFetchTreeNodeData, constraints: Constraint[], addConstraint: boolean): void;
29
28
  addProperty(node: QueryBuilderExplorerTreePropertyNodeData | QueryBuilderExplorerTreeRootNodeData, options?: {
30
29
  refreshTreeData?: boolean;
31
30
  }): void;
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../src/components/states/DataQualityGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EAIvC,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,EACL,KAAK,KAAK,EACV,KAAK,UAAU,EAEhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,wCAAwC,EACxC,oCAAoC,EACrC,MAAM,6BAA6B,CAAC;AAIrC,qBAAa,8BAA+B,YAAW,QAAQ;IAC7D,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;gBAEzC,gBAAgB,EAAE,gBAAgB;IAW9C,iBAAiB,CAAC,GAAG,EAAE,6BAA6B,GAAG,SAAS,GAAG,IAAI;IAIvE,OAAO,CAAC,cAAc;IAgBtB,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,SAAS,GAAG,IAAI;IAI9C,UAAU,CACR,IAAI,EAAE,iCAAiC,EACvC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,OAAO,GACrB,IAAI;IAWP,WAAW,CACT,IAAI,EACA,wCAAwC,GACxC,oCAAoC,EACxC,OAAO,CAAC,EAAE;QACR,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,GACA,IAAI;IAmBP,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
1
+ {"version":3,"file":"DataQualityGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../src/components/states/DataQualityGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EAIvC,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,EAEL,KAAK,UAAU,EAEhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,wCAAwC,EACxC,oCAAoC,EACrC,MAAM,6BAA6B,CAAC;AAIrC,qBAAa,8BAA+B,YAAW,QAAQ;IAC7D,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;gBAEzC,gBAAgB,EAAE,gBAAgB;IAW9C,iBAAiB,CAAC,GAAG,EAAE,6BAA6B,GAAG,SAAS,GAAG,IAAI;IAIvE,OAAO,CAAC,cAAc;IAgBtB,UAAU,CACR,IAAI,EAAE,iCAAiC,EACvC,WAAW,EAAE,UAAU,EAAE,EACzB,aAAa,EAAE,OAAO,GACrB,IAAI;IAWP,WAAW,CACT,IAAI,EACA,wCAAwC,GACxC,oCAAoC,EACxC,OAAO,CAAC,EAAE;QACR,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,GACA,IAAI;IAmBP,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
@@ -38,15 +38,12 @@ export class DataQualityGraphFetchTreeState {
38
38
  ? buildGraphFetchTreeData(this.dataQualityState.editorStore, new DataQualityRootGraphFetchTree(PackageableElementExplicitReference.create(_class)), false, false, false)
39
39
  : undefined);
40
40
  }
41
- onClassChange(_class) {
42
- this.updateTreeData(_class);
43
- }
44
- updateNode(node, constraint, addConstraint) {
41
+ updateNode(node, constraints, addConstraint) {
45
42
  if (!this.treeData) {
46
43
  this.dataQualityState.applicationStore.notificationService.notifyWarning(`Can't add property: data quality graph-fetch tree has not been properly initialized`);
47
44
  return;
48
45
  }
49
- updateNodeConstraints(this.treeData, node, constraint, addConstraint);
46
+ updateNodeConstraints(this.treeData, node, constraints, addConstraint);
50
47
  this.setGraphFetchTree({ ...this.treeData });
51
48
  }
52
49
  addProperty(node, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityGraphFetchTreeState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAGL,qBAAqB,EACr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gB,CAAC,mBAAmB,CAAC,aAAa,CACtE,qFAAqF,CACtF,CAAC;YACF,OAAO;QACT,CAAC;QACD,qBAAqB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;QACtE,IAAI,CAAC,iBAAiB,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,WAAW,CACT,IAEwC,EACxC,OAEC;QAED,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACtE,qFAAqF,CACtF,CAAC;YACF,OAAO;QACT,CAAC;QACD,2BAA2B,CACzB,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,aAAa;aAC7D,mBAAmB,EACtB,IAAI,EACJ,IAAI,CAAC,gBAAgB,CACtB,CAAC;QACF,IAAI,OAAO,EAAE,eAAe,EAAE,CAAC;YAC7B,IAAI,CAAC,iBAAiB,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,8BAA8B;YAC1D,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"DataQualityGraphFetchTreeState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAGL,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU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AiB,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,WAAW,CACT,IAEwC,EACxC,OAEC;QAED,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACtE,qFAAqF,CACtF,CAAC;YACF,OAAO;QACT,CAAC;QACD,2BAA2B,CACzB,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,aAAa;aAC7D,mBAAmB,EACtB,IAAI,EACJ,IAAI,CAAC,gBAAgB,CACtB,CAAC;QACF,IAAI,OAAO,EAAE,eAAe,EAAE,CAAC;YAC7B,IAAI,CAAC,iBAAiB,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,8BAA8B;YAC1D,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -17,7 +17,7 @@ import { type GraphManagerState, type Runtime, type RawLambda, type PackageableE
17
17
  import { type EditorExtensionState, type EditorStore, ElementEditorState } from '@finos/legend-application-studio';
18
18
  import type { DataSpaceExecutionContext } from '@finos/legend-extension-dsl-data-space/graph';
19
19
  import { DataQualityGraphFetchTreeState } from './DataQualityGraphFetchTreeState.js';
20
- import { DataQualityRootGraphFetchTree } from '../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
20
+ import { type DataQualityRootGraphFetchTree } from '../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
21
21
  import { type GeneratorFn, ActionState } from '@finos/legend-shared';
22
22
  import { type GenericLegendApplicationStore } from '@finos/legend-application';
23
23
  import { DataQualityResultState } from './DataQualityResultState.js';
@@ -48,7 +48,6 @@ export declare abstract class DataQualityState extends ElementEditorState {
48
48
  setShowStructuralValidations(val: boolean): void;
49
49
  get tabsToShow(): string[];
50
50
  fetchStructuralValidations(): GeneratorFn<void>;
51
- initialGraphFetchTreeFromClass(rootClass: Class): DataQualityRootGraphFetchTree;
52
51
  initializeFilterState(filterLambda: RawLambda | undefined): void;
53
52
  initializeGraphFetchTreeState(tree: DataQualityRootGraphFetchTree | undefined): void;
54
53
  get areNestedConstraintsSelected(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityState.d.ts","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,SAAS,EAEd,KAAK,kBAAkB,EACvB,KAAK,KAAK,EACV,KAAK,cAAc,EAYpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,kBAAkB,EACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0FAA0F,CAAC;AAElG,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAMZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAOrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AASjF,oBAAY,gBAAgB;IAC1B,MAAM,YAAY;IAClB,qBAAqB,0BAA0B;IAC/C,UAAU,eAAe;CAC1B;AACD,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE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SAAS;IAwBzD,6BAA6B,CAC3B,IAAI,EAAE,6BAA6B,GAAG,SAAS;IAcjD,IAAI,4BAA4B,IAAI,OAAO,CAY1C;IAED,8BAA8B,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO;IAc7D,mBAAmB,QAAO,IAAI,CA8C5B;IAEF,kDAAkD,CAChD,IAAI,EAAE,6BAA6B,GAAG,SAAS;IASjD,IAAI,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAIzC;IAED,WAAW,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAa7B,0BAA0B;IAa1B,mBAAmB,CAAC,GAAG,EAAE,yBAAyB,GAAG,IAAI;IAIzD,IAAI,iBAAiB,IAAI,OAAO,CAE/B;IAED,IAAI,iBAAiB,IAAI,OAAO,CAE/B;IAED,IAAI,gBAAgB,IAAI,OAAO,CAE9B;IAED,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIjC,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAG1C,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -17,8 +17,8 @@ import { action, computed, flow, makeObservable, observable } from 'mobx';
17
17
  import { buildRawLambdaFromLambdaFunction, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, LambdaFunctionInstanceValue, Multiplicity, observe_ValueSpecification, PackageableElementExplicitReference, VariableExpression, } from '@finos/legend-graph';
18
18
  import { ElementEditorState, } from '@finos/legend-application-studio';
19
19
  import { DataQualityGraphFetchTreeState } from './DataQualityGraphFetchTreeState.js';
20
- import { DataQualityPropertyGraphFetchTree, DataQualityRootGraphFetchTree, } from '../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
21
- import { buildGraphFetchTreeData } from '../utils/DataQualityGraphFetchTreeUtil.js';
20
+ import { DataQualityPropertyGraphFetchTree, } from '../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
21
+ import { buildDefaultDataQualityRootGraphFetchTree, buildGraphFetchTreeData, } from '../utils/DataQualityGraphFetchTreeUtil.js';
22
22
  import { ActionState, guaranteeNonNullable, guaranteeType, hashArray, isNonNullable, assertType, } from '@finos/legend-shared';
23
23
  import {} from '@finos/legend-application';
24
24
  import { DataQualityResultState } from './DataQualityResultState.js';
@@ -75,11 +75,11 @@ export class DataQualityState extends ElementEditorState {
75
75
  setExecutionContext: action,
76
76
  setShowRuntimeSelector: action,
77
77
  initializeGraphFetchTreeState: action,
78
- initialGraphFetchTreeFromClass: action,
79
78
  initializeStructuralValidationsGraphFetchTreeState: action,
80
79
  setShowStructuralValidations: action,
81
80
  updateElementOnClassChange: action,
82
81
  checkConstraintsSelectedAtNode: action,
82
+ changeClass: action,
83
83
  fetchStructuralValidations: flow,
84
84
  tabsToShow: computed,
85
85
  areNestedConstraintsSelected: computed,
@@ -114,9 +114,6 @@ export class DataQualityState extends ElementEditorState {
114
114
  const rootGraphFetchTree = (yield getDataQualityPureGraphManagerExtension(this.graphManagerState.graphManager).fetchStructuralValidations(model, packagePath));
115
115
  this.initializeStructuralValidationsGraphFetchTreeState(rootGraphFetchTree);
116
116
  }
117
- initialGraphFetchTreeFromClass(rootClass) {
118
- return new DataQualityRootGraphFetchTree(PackageableElementExplicitReference.create(rootClass));
119
- }
120
117
  initializeFilterState(filterLambda) {
121
118
  if (!filterLambda) {
122
119
  return;
@@ -191,15 +188,15 @@ export class DataQualityState extends ElementEditorState {
191
188
  }
192
189
  changeClass(val) {
193
190
  this.dataQualityQueryBuilderState.changeClass(val);
194
- this.dataQualityGraphFetchTreeState.onClassChange(val);
195
191
  this.structuralValidationsGraphFetchTreeState =
196
192
  new DataQualityGraphFetchTreeState(this);
197
193
  this.resultState = new DataQualityResultState(this);
194
+ this.initializeGraphFetchTreeState(buildDefaultDataQualityRootGraphFetchTree(this.dataQualityQueryBuilderState.class));
198
195
  this.updateElementOnClassChange();
199
196
  }
200
197
  updateElementOnClassChange() {
201
198
  dataQualityClassValidation_setDataQualityGraphFetchTree(this
202
- .constraintsConfigurationElement, this.initialGraphFetchTreeFromClass(this.dataQualityQueryBuilderState.class));
199
+ .constraintsConfigurationElement, this.dataQualityGraphFetchTreeState.treeData.tree);
203
200
  dataQualityClassValidation_setFilter(this
204
201
  .constraintsConfigurationElement, undefined);
205
202
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAQL,gCAAgC,EAChC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,2BAA2B,EAC3B,YAAY,EACZ,0BAA0B,EAC1B,mCAAmC,EACnC,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EACL,iCAAiC,EACjC,6BAA6B,GAC9B,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAEL,WAAW,EACX,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACjG,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,EACnB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,O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,CAAC,GAA8B;QAChD,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC;IAC9B,CAAC;IAED,IAAI,iBAAiB;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,iBAAiB;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,cAAc,CAAC,GAAW;QACxB,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,sBAAsB,CAAC,GAAY;QACjC,IAAI,CAAC,mBAAmB,GAAG,GAAG,CAAC;IACjC,CAAC;IACD,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,kBAAkB;YAC9C,IAAI,CAAC,8BAA8B;YACnC,IAAI,CAAC,4BAA4B,CAAC,WAAW;SAC9C,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"DataQualityState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAQL,gCAAgC,EAChC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,2BAA2B,EAC3B,YAAY,EACZ,0BAA0B,EAC1B,mCAAmC,EACnC,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAEL,iCAAiC,GAClC,MAAM,0FAA0F,CAAC;AAClG,OAAO,EACL,yCAAyC,EACzC,uBAAuB,GACxB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,WAAW,EACX,oBAAoB,EACpB,aAA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,0BAA0B,EAAE,CAAC;IACpC,CAAC;IAED,0BAA0B;QACxB,uDAAuD,CACrD,IAAI;aACD,+BAA2E,EAC9E,IAAI,CAAC,8BAA8B,CAAC,QAAS,CAAC,IAAI,CACnD,CAAC;QACF,oCAAoC,CAClC,IAAI;aACD,+BAA2E,EAC9E,SAAS,CACV,CAAC;IACJ,CAAC;IAED,mBAAmB,CAAC,GAA8B;QAChD,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC;IAC9B,CAAC;IAED,IAAI,iBAAiB;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,iBAAiB;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,cAAc,CAAC,GAAW;QACxB,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,sBAAsB,CAAC,GAAY;QACjC,IAAI,CAAC,mBAAmB,GAAG,GAAG,CAAC;IACjC,CAAC;IACD,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,kBAAkB;YAC9C,IAAI,CAAC,8BAA8B;YACnC,IAAI,CAAC,4BAA4B,CAAC,WAAW;SAC9C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -47,6 +47,7 @@ export declare const generateGraphFetchTreeNodeID: (property: AbstractProperty,
47
47
  export declare const buildGraphFetchTreeData: (editorStore: EditorStore, tree: DataQualityRootGraphFetchTree, displayRoot: boolean | undefined, fetchConstraints: boolean, isReadOnly: boolean) => DataQualityGraphFetchTreeData;
48
48
  export declare const isGraphFetchTreeDataEmpty: (treeData: DataQualityGraphFetchTreeData) => boolean;
49
49
  export declare const isConstraintsClassesTreeEmpty: (treeData: DataQualityGraphFetchTreeData) => boolean;
50
- export declare const updateNodeConstraints: (treeData: DataQualityGraphFetchTreeData, node: DataQualityGraphFetchTreeNodeData, constraint: Constraint, addConstraint: boolean) => void;
50
+ export declare const updateNodeConstraints: (treeData: DataQualityGraphFetchTreeData, node: DataQualityGraphFetchTreeNodeData, constraints: Constraint[], addConstraint: boolean) => void;
51
51
  export declare const addQueryBuilderPropertyNode: (treeData: DataQualityGraphFetchTreeData, explorerTreeData: TreeData<QueryBuilderExplorerTreeNodeData>, node: QueryBuilderExplorerTreePropertyNodeData | QueryBuilderExplorerTreeRootNodeData, dataQualityState: DataQualityState) => void;
52
+ export declare const buildDefaultDataQualityRootGraphFetchTree: (selectedClass: Class) => DataQualityRootGraphFetchTree;
52
53
  //# sourceMappingURL=DataQualityGraphFetchTreeUtil.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityGraphFetchTreeUtil.d.ts","sourceRoot":"","sources":["../../../src/components/utils/DataQualityGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EACL,KAAK,QAAQ,EAQd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EACT,KAAK,UAAU,EAGf,KAAK,EAON,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,gCAAgC,EAGrC,KAAK,oCAAoC,EACzC,wCAAwC,EAEzC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EACL,iCAAiC,EACjC,6BAA6B,EAC9B,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAOpE,qBAAa,iCACX,YAAW,YAAY,EAAE,QAAQ;IAEjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACv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B,KACtC,OAA8C,CAAC;AAElD,eAAO,MAAM,6BAA6B,aAC9B,6BAA6B,KACtC,OAAwC,CAAC;AAE5C,eAAO,MAAM,qBAAqB,aACtB,6BAA6B,QACjC,iCAAiC,cAC3B,UAAU,iBACP,OAAO,KACrB,IAUF,CAAC;AAEF,eAAO,MAAM,2BAA2B,aAC5B,6BAA6B,oBACrB,QAAQ,CAAC,gCAAgC,CAAC,QAExD,wCAAwC,GACxC,oCAAoC,oBACtB,gBAAgB,KACjC,IA2JF,CAAC"}
1
+ {"version":3,"file":"DataQualityGraphFetchTreeUtil.d.ts","sourceRoot":"","sources":["../../../src/components/utils/DataQualityGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EACL,KAAK,QAAQ,EAQd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EACT,KAAK,UAAU,EAGf,KAAK,EAON,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,gCAAgC,EAGrC,KAAK,oCAAoC,EACzC,wCAAwC,EAEzC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EACL,iCAAiC,EACjC,6BAA6B,EAC9B,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAOpE,qBAAa,iCACX,YAAW,YAAY,EAAE,QAAQ;IAEjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EACT,iCAAiC,GACjC,6BAA6B,CAAC;IAClC,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B,KACtC,OAAwC,CAAC;AAE5C,eAAO,MAAM,qBAAqB,aAEpB,6BAA6B,QACjC,iCAAiC,eAC1B,UAAU,EAAE,iBACV,OAAO,KACrB,IAcJ,CAAC;AAEF,eAAO,MAAM,2BAA2B,aAC5B,6BAA6B,oBACrB,QAAQ,CAAC,gCAAgC,CAAC,QAExD,wCAAwC,GACxC,oCAAoC,oBACtB,gBAAgB,KACjC,IA2JF,CAAC;AAEF,eAAO,MAAM,yCAAyC,kBACpC,KAAK,KAAG,6BAkBzB,CAAC"}
@@ -194,16 +194,18 @@ export const buildGraphFetchTreeData = (editorStore, tree, displayRoot = false,
194
194
  };
195
195
  export const isGraphFetchTreeDataEmpty = (treeData) => treeData.tree.subTrees.length === 0;
196
196
  export const isConstraintsClassesTreeEmpty = (treeData) => treeData.rootIds.length === 0;
197
- export const updateNodeConstraints = (treeData, node, constraint, addConstraint) => {
197
+ export const updateNodeConstraints = action((treeData, node, constraints, addConstraint) => {
198
198
  //update the node of graph fetch tree present
199
199
  const updatedTreeNode = node.tree;
200
200
  if (addConstraint) {
201
- updatedTreeNode.constraints.push(constraint.name);
201
+ constraints.forEach((constraint) => {
202
+ updatedTreeNode.constraints.push(constraint.name);
203
+ });
202
204
  }
203
205
  else {
204
- updatedTreeNode.constraints = updatedTreeNode.constraints.filter((constraintName) => constraintName !== constraint.name);
206
+ updatedTreeNode.constraints = updatedTreeNode.constraints.filter((constraintName) => !constraints.find((constraint) => constraint.name === constraintName));
205
207
  }
206
- };
208
+ });
207
209
  export const addQueryBuilderPropertyNode = (treeData, explorerTreeData, node, dataQualityState) => {
208
210
  const editorStore = dataQualityState.editorStore;
209
211
  const rootNodeId = generateRootGraphFetchTreeNodeID(undefined, treeData.tree.class.valueForSerialization ?? '');
@@ -300,4 +302,12 @@ export const addQueryBuilderPropertyNode = (treeData, explorerTreeData, node, da
300
302
  treeData.nodes.set(rootNodeFromTree.id, rootNodeFromTree);
301
303
  }
302
304
  };
305
+ export const buildDefaultDataQualityRootGraphFetchTree = action((selectedClass) => {
306
+ const dataQualityRootGraphFetchTree = new DataQualityRootGraphFetchTree(PackageableElementExplicitReference.create(selectedClass));
307
+ dataQualityRootGraphFetchTree.constraints = selectedClass.constraints.map((constraint) => constraint.name);
308
+ dataQualityRootGraphFetchTree.subTrees = selectedClass.properties
309
+ .filter((property) => property.multiplicity.lowerBound > 0)
310
+ .map((property) => new DataQualityPropertyGraphFetchTree(PropertyExplicitReference.create(property), undefined));
311
+ return dataQualityRootGraphFetchTree;
312
+ });
303
313
  //# sourceMappingURL=DataQualityGraphFetchTreeUtil.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataQualityGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../src/components/utils/DataQualityGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAoC,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAML,KAAK,EACL,mBAAmB,EACnB,mCAAmC,EACnC,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,4BAA4B,EAE5B,wCAAwC,EACxC,uCAAuC,GACxC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,iCAAiC,EACjC,6BAA6B,GAC9B,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACjG,OAAO,EACL,2CAA2C,EAC3C,gCAAgC,GACjC,MAAM,4DAA4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