@finos/legend-query-builder 4.14.21 → 4.14.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
  2. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderTesting.js +1 -0
  4. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  5. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  6. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +2 -1
  7. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  9. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  12. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +132 -67
  13. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  14. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  15. package/lib/components/result/QueryBuilderResultPanel.js +1 -0
  16. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  17. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  18. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +1 -0
  19. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  20. package/lib/index.css +16 -0
  21. package/lib/package.json +1 -1
  22. package/lib/stores/QueryBuilderResultState.d.ts +2 -0
  23. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  24. package/lib/stores/QueryBuilderResultState.js +11 -4
  25. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  26. package/lib/stores/QueryBuilderStateHashUtils.d.ts +1 -1
  27. package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
  28. package/lib/stores/QueryBuilderStateHashUtils.js +1 -1
  29. package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
  30. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +1 -0
  31. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  32. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  33. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +6 -3
  34. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  35. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts +7 -2
  36. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
  37. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +46 -29
  38. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  39. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js +1 -1
  40. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
  41. package/package.json +6 -6
  42. package/src/__lib__/QueryBuilderTesting.ts +1 -0
  43. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +2 -1
  44. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -0
  45. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +232 -140
  46. package/src/components/result/QueryBuilderResultPanel.tsx +1 -0
  47. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +1 -0
  48. package/src/stores/QueryBuilderResultState.ts +13 -4
  49. package/src/stores/QueryBuilderStateHashUtils.ts +1 -1
  50. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +1 -0
  51. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +16 -3
  52. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +70 -38
  53. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWindowValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAGL,6CAA6C,GAC9C,MAAM,8BAA8B,CAAC;AAEtC,MAAM,4BAA4B,GAAG,CACnC,sBAAqD,EACrD,MAAsB,EACN,EAAE;IAClB,MAAM,KAAK,GACT,sBAAsB,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAiB;SAC1D,iBAAiB,CAAC,KAAK,CAAC;IAE7B,gCAAgC;IAChC,MAAM,aAAa,GAAG,sBAAsB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QACxE,MAAM,cAAc,GAAG,IAAI,sBAAsB,CAC/C,4BAA4B,CAAC,MAAM,CACjC,IAAI,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CACtC,CACF,CAAC;QACF,cAAc,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC5C,OAAO,cAAc,CAAC;IACxB,CAAC,CAAC,CAAC;IAEH,MAAM,0BAA0B,GAAG,IAAI,uBAAuB,CAC5D,KAAK,CAAC,eAAe,CAAC,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CAAC,EAAE,EAAE,CAC3C,4BAA4B,CAAC,CAAC,EAAE,MAAM,CAAC,CACxC,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWindowValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAGL,6CAA6C,GAC9C,MAAM,8BAA8B,CAAC;AAEtC,MAAM,4BAA4B,GAAG,CACnC,sBAAqD,EACrD,MAAsB,EACN,EAAE;IAClB,MAAM,KAAK,GACT,sBAAsB,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAiB;SAC1D,iBAAiB,CAAC,KAAK,CAAC;IAE7B,gCAAgC;IAChC,MAAM,aAAa,GAAG,sBAAsB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QACxE,MAAM,cAAc,GAAG,IAAI,sBAAsB,CAC/C,4BAA4B,CAAC,MAAM,CACjC,IAAI,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CACtC,CACF,CAAC;QACF,cAAc,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC5C,OAAO,cAAc,CAAC;IACxB,CAAC,CAAC,CAAC;IA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,MAAsB,EACN,EAAE;IAClB,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAC3C,4BAA4B,CAAC,CAAC,EAAE,MAAM,CAAC,CACxC,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.21",
3
+ "version": "4.14.23",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,11 +42,11 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.73",
46
- "@finos/legend-art": "7.1.25",
47
- "@finos/legend-graph": "31.9.7",
48
- "@finos/legend-lego": "1.2.20",
49
- "@finos/legend-server-depot": "6.0.38",
45
+ "@finos/legend-application": "15.0.74",
46
+ "@finos/legend-art": "7.1.26",
47
+ "@finos/legend-graph": "31.9.9",
48
+ "@finos/legend-lego": "1.2.22",
49
+ "@finos/legend-server-depot": "6.0.39",
50
50
  "@finos/legend-shared": "10.0.34",
51
51
  "@finos/legend-storage": "3.0.84",
52
52
  "@testing-library/react": "14.0.0",
@@ -19,6 +19,7 @@ export enum QUERY_BUILDER_TEST_ID {
19
19
 
20
20
  QUERY_BUILDER = 'query__builder',
21
21
  QUERY_BUILDER_SETUP = 'query__builder__setup',
22
+ QUERY_BUILDER_FETCH_STRUCTURE = 'query__builder__fetch__structure',
22
23
  QUERY_BUILDER_TDS_PROJECTION = 'query__builder__tds__projection',
23
24
  QUERY_BUILDER_TDS = 'query__builder__tds',
24
25
  QUERY_BUILDER_TDS_PROJECTION_COLUMN = 'QUERY_BUILDER_TDS_PROJECTION_COLUMN',
@@ -31,6 +31,7 @@ import { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuil
31
31
  import { QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
32
32
  import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
33
33
  import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js';
34
+ import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
34
35
 
35
36
  const QueryBuilderFetchStructureEditor = observer(
36
37
  (props: { queryBuilderState: QueryBuilderState }) => {
@@ -81,7 +82,7 @@ export const QueryBuilderFetchStructurePanel = observer(
81
82
  };
82
83
 
83
84
  return (
84
- <Panel>
85
+ <Panel data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FETCH_STRUCTURE}>
85
86
  <PanelHeader>
86
87
  <div className="panel__header__title">
87
88
  <div className="panel__header__title__label">fetch structure</div>
@@ -908,6 +908,7 @@ const QueryBuilderProjectionColumnEditor = observer(
908
908
  "This column is used and can't be removed"
909
909
  : 'Remove'
910
910
  }
911
+ name="Remove"
911
912
  >
912
913
  <TimesIcon />
913
914
  </button>