@finos/legend-query-builder 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/lib/{components/QueryBuilder_TestID.d.ts → application/QueryBuilderTesting.d.ts} +1 -1
  2. package/lib/application/QueryBuilderTesting.d.ts.map +1 -0
  3. package/lib/{components/QueryBuilder_TestID.js → application/QueryBuilderTesting.js} +1 -1
  4. package/lib/application/QueryBuilderTesting.js.map +1 -0
  5. package/lib/components/QueryBuilder.js +1 -1
  6. package/lib/components/QueryBuilder.js.map +1 -1
  7. package/lib/components/QueryBuilderComponentTestUtils.js +1 -1
  8. package/lib/components/QueryBuilderComponentTestUtils.js.map +1 -1
  9. package/lib/components/QueryBuilderConstantExpressionPanel.js +1 -1
  10. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  11. package/lib/components/QueryBuilderParametersPanel.js +1 -1
  12. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderResultPanel.js +1 -1
  14. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  15. package/lib/components/QueryBuilderSideBar.js +1 -1
  16. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  17. package/lib/components/explorer/QueryBuilderExplorerPanel.js +1 -1
  18. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  19. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +1 -1
  20. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  21. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +1 -1
  22. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  23. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
  24. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  25. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
  26. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  27. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +1 -1
  28. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  29. package/lib/components/filter/QueryBuilderFilterPanel.js +1 -1
  30. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  31. package/lib/components/shared/LambdaEditor.js +1 -1
  32. package/lib/components/shared/LambdaEditor.js.map +1 -1
  33. package/lib/index.css +1 -1
  34. package/lib/index.d.ts +1 -1
  35. package/lib/index.d.ts.map +1 -1
  36. package/lib/index.js +1 -1
  37. package/lib/index.js.map +1 -1
  38. package/lib/package.json +1 -1
  39. package/package.json +3 -3
  40. package/src/components/QueryBuilder.tsx +1 -1
  41. package/src/components/QueryBuilderComponentTestUtils.tsx +1 -1
  42. package/src/components/QueryBuilderConstantExpressionPanel.tsx +1 -1
  43. package/src/components/QueryBuilderParametersPanel.tsx +1 -1
  44. package/src/components/QueryBuilderResultPanel.tsx +1 -1
  45. package/src/components/QueryBuilderSideBar.tsx +1 -1
  46. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +1 -1
  47. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +1 -1
  48. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +1 -1
  49. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -1
  50. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -1
  51. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +1 -1
  52. package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -1
  53. package/src/components/shared/LambdaEditor.tsx +1 -1
  54. package/src/index.ts +1 -1
  55. package/tsconfig.json +1 -1
  56. package/lib/components/QueryBuilder_TestID.d.ts.map +0 -1
  57. package/lib/components/QueryBuilder_TestID.js.map +0 -1
  58. /package/src/{components/QueryBuilder_TestID.ts → application/QueryBuilderTesting.ts} +0 -0
@@ -26,7 +26,7 @@ import {
26
26
  } from '@finos/legend-art';
27
27
  import { observer } from 'mobx-react-lite';
28
28
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
29
- import { QUERY_BUILDER_TEST_ID } from './QueryBuilder_TestID.js';
29
+ import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
30
30
  import {
31
31
  type Class,
32
32
  type Mapping,
@@ -91,7 +91,7 @@ import {
91
91
  } from '@finos/legend-graph';
92
92
  import { useApplicationStore } from '@finos/legend-application';
93
93
  import { getClassPropertyIcon } from '../shared/ElementIconUtils.js';
94
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
94
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
95
95
  import { filterByType, guaranteeNonNullable } from '@finos/legend-shared';
96
96
  import { QueryBuilderPropertySearchPanel } from './QueryBuilderPropertySearchPanel.js';
97
97
  import { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
@@ -57,7 +57,7 @@ import {
57
57
  renderPropertyTypeIcon,
58
58
  } from './QueryBuilderExplorerPanel.js';
59
59
  import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
60
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
60
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
61
61
  import { TextSearchAdvancedConfigMenu } from '@finos/legend-application';
62
62
 
63
63
  const prettyPropertyNameFromNodeId = (name: string): string => {
@@ -30,7 +30,7 @@ import {
30
30
  InfoCircleIcon,
31
31
  PanelDropZone,
32
32
  } from '@finos/legend-art';
33
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
33
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
34
34
  import { isNonNullable } from '@finos/legend-shared';
35
35
  import {
36
36
  type QueryBuilderGraphFetchTreeData,
@@ -79,7 +79,7 @@ import {
79
79
  QueryBuilderDerivationProjectionColumnState,
80
80
  } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
81
81
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
82
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
82
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
83
83
  import { isTypeCompatibleForAssignment } from '../../stores/QueryBuilderValueSpecificationHelper.js';
84
84
  import { QUERY_BUILDER_GROUP_OPERATION } from '../../stores/QueryBuilderGroupOperationHelper.js';
85
85
  import { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
@@ -53,7 +53,7 @@ import {
53
53
  } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
54
54
  import { QueryBuilderPropertyExpressionBadge } from '../QueryBuilderPropertyExpressionEditor.js';
55
55
  import { QueryResultModifierModal } from './QueryBuilderResultModifierPanel.js';
56
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
56
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
57
57
  import { flowResult } from 'mobx';
58
58
  import { useApplicationStore } from '@finos/legend-application';
59
59
  import {
@@ -62,7 +62,7 @@ import { QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE } from '../../stores/fetch-str
62
62
  import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState.js';
63
63
  import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
64
64
  import { COLUMN_SORT_TYPE } from '../../stores/fetch-structure/tds/QueryResultSetModifierState.js';
65
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
65
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
66
66
 
67
67
  // helpers
68
68
  const createWindowColumnState = (
@@ -68,7 +68,7 @@ import {
68
68
  debounce,
69
69
  UnsupportedOperationError,
70
70
  } from '@finos/legend-shared';
71
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
71
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
72
72
  import { useApplicationStore } from '@finos/legend-application';
73
73
  import type { ValueSpecification } from '@finos/legend-graph';
74
74
  import {
@@ -51,7 +51,7 @@ import {
51
51
  TAB_SIZE,
52
52
  useApplicationStore,
53
53
  } from '@finos/legend-application';
54
- import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
54
+ import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
55
55
 
56
56
  const LambdaErrorFeedback: React.FC<{
57
57
  error?: EngineError | undefined;
package/src/index.ts CHANGED
@@ -21,7 +21,7 @@ export * from './application/QueryBuilderEvent.js';
21
21
  export * from './stores/QueryBuilderBootstraper.js';
22
22
  export { QueryBuilder_GraphManagerPreset } from './graphManager/QueryBuilder_GraphManagerPreset.js';
23
23
 
24
- export { QUERY_BUILDER_TEST_ID } from './components/QueryBuilder_TestID.js';
24
+ export { QUERY_BUILDER_TEST_ID } from './application/QueryBuilderTesting.js';
25
25
  export {
26
26
  type CheckEntitlementEditorRender,
27
27
  QueryBuilder_LegendApplicationPlugin,
package/tsconfig.json CHANGED
@@ -36,9 +36,9 @@
36
36
  "./src/application/QueryBuilderEvent.ts",
37
37
  "./src/application/QueryBuilderSetting.ts",
38
38
  "./src/application/QueryBuilderTelemetryHelper.ts",
39
+ "./src/application/QueryBuilderTesting.ts",
39
40
  "./src/components/QueryBuilderComponentElement.ts",
40
41
  "./src/components/QueryBuilder_LegendApplicationPlugin.ts",
41
- "./src/components/QueryBuilder_TestID.ts",
42
42
  "./src/components/QuerySetupUtils.ts",
43
43
  "./src/graphManager/QueryBuilderHashUtils.ts",
44
44
  "./src/graphManager/QueryBuilderSupportedFunctions.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilder_TestID.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_TestID.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,iBAAiB,wBAAwB;IACzC,yBAAyB,iCAAiC;IAC1D,oBAAoB,2BAA2B;IAC/C,yBAAyB,gCAAgC;IACzD,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,0BAA0B,kCAAkC;IAC5D,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;CACrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilder_TestID.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_TestID.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAeX;AAfD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,sEAA6C,CAAA;IAC7C,kEAAyC,CAAA;IACzC,mFAA0D,CAAA;IAC1D,wEAA+C,CAAA;IAC/C,kFAAyD,CAAA;IACzD,gFAAuD,CAAA;IACvD,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,qFAA4D,CAAA;IAC5D,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;AACtD,CAAC,EAfW,qBAAqB,GAArB,qBAAqB,KAArB,qBAAqB,QAehC"}