@finos/legend-query-builder 0.6.32 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. package/lib/application/QueryBuilderEvent.d.ts.map +1 -0
  2. package/lib/application/QueryBuilderEvent.js.map +1 -0
  3. package/lib/application/QueryBuilderSetting.d.ts +21 -0
  4. package/lib/application/QueryBuilderSetting.d.ts.map +1 -0
  5. package/lib/application/QueryBuilderSetting.js +25 -0
  6. package/lib/application/QueryBuilderSetting.js.map +1 -0
  7. package/lib/{stores/QueryBuilderTelemetry.d.ts → application/QueryBuilderTelemetryHelper.d.ts} +5 -8
  8. package/lib/application/QueryBuilderTelemetryHelper.d.ts.map +1 -0
  9. package/lib/{stores/QueryBuilderTelemetry.js → application/QueryBuilderTelemetryHelper.js} +8 -8
  10. package/lib/application/QueryBuilderTelemetryHelper.js.map +1 -0
  11. package/lib/components/QueryBuilder.d.ts +0 -1
  12. package/lib/components/QueryBuilder.d.ts.map +1 -1
  13. package/lib/components/QueryBuilder.js +4 -2
  14. package/lib/components/QueryBuilder.js.map +1 -1
  15. package/lib/components/QueryBuilderComponentElement.d.ts +19 -0
  16. package/lib/components/QueryBuilderComponentElement.d.ts.map +1 -0
  17. package/lib/components/QueryBuilderComponentElement.js +20 -0
  18. package/lib/components/QueryBuilderComponentElement.js.map +1 -0
  19. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  20. package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -2
  21. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  22. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  23. package/lib/components/QueryBuilderDiffPanel.js +2 -1
  24. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  25. package/lib/components/QueryBuilderNavigationBlocker.d.ts.map +1 -1
  26. package/lib/components/QueryBuilderNavigationBlocker.js +1 -2
  27. package/lib/components/QueryBuilderNavigationBlocker.js.map +1 -1
  28. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  29. package/lib/components/QueryBuilderParametersPanel.js +5 -3
  30. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  31. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  32. package/lib/components/QueryBuilderSideBar.js +9 -6
  33. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  34. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  35. package/lib/components/QueryBuilderTextEditor.js +2 -2
  36. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  37. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts +2 -1
  38. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
  39. package/lib/components/QueryBuilder_LegendApplicationPlugin.js +7 -2
  40. package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
  41. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +1 -1
  42. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  43. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +1 -1
  44. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  46. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +6 -5
  47. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  48. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  49. package/lib/components/shared/BasicValueSpecificationEditor.js +2 -1
  50. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  51. package/lib/components/shared/LambdaEditor.d.ts +0 -5
  52. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  53. package/lib/components/shared/LambdaEditor.js +18 -17
  54. package/lib/components/shared/LambdaEditor.js.map +1 -1
  55. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  56. package/lib/components/workflows/ClassQueryBuilder.js +6 -4
  57. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  58. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  59. package/lib/components/workflows/MappingQueryBuilder.js +6 -4
  60. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  61. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  62. package/lib/components/workflows/ServiceQueryBuilder.js +3 -2
  63. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  64. package/lib/index.css +1 -1
  65. package/lib/index.d.ts +4 -3
  66. package/lib/index.d.ts.map +1 -1
  67. package/lib/index.js +5 -3
  68. package/lib/index.js.map +1 -1
  69. package/lib/package.json +4 -4
  70. package/lib/stores/QueryBuilderChangeDetectionState.js +1 -1
  71. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  72. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  73. package/lib/stores/QueryBuilderResultState.js +8 -20
  74. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  75. package/lib/stores/QueryBuilderState.d.ts +5 -6
  76. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  77. package/lib/stores/QueryBuilderState.js +2 -3
  78. package/lib/stores/QueryBuilderState.js.map +1 -1
  79. package/lib/stores/QueryBuilderTextEditorState.js +1 -1
  80. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  81. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +2 -2
  82. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  83. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +3 -3
  84. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  85. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  86. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -1
  87. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  88. package/package.json +11 -11
  89. package/src/application/QueryBuilderSetting.ts +27 -0
  90. package/src/{stores/QueryBuilderTelemetry.ts → application/QueryBuilderTelemetryHelper.ts} +5 -14
  91. package/src/components/QueryBuilder.tsx +9 -4
  92. package/src/components/QueryBuilderComponentElement.ts +19 -0
  93. package/src/components/QueryBuilderConstantExpressionPanel.tsx +3 -2
  94. package/src/components/QueryBuilderDiffPanel.tsx +2 -1
  95. package/src/components/QueryBuilderNavigationBlocker.tsx +1 -2
  96. package/src/components/QueryBuilderParametersPanel.tsx +5 -3
  97. package/src/components/QueryBuilderSideBar.tsx +9 -6
  98. package/src/components/QueryBuilderTextEditor.tsx +13 -5
  99. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +9 -0
  100. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +1 -1
  101. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +6 -5
  102. package/src/components/shared/BasicValueSpecificationEditor.tsx +4 -3
  103. package/src/components/shared/LambdaEditor.tsx +14 -22
  104. package/src/components/workflows/ClassQueryBuilder.tsx +6 -4
  105. package/src/components/workflows/MappingQueryBuilder.tsx +6 -4
  106. package/src/components/workflows/ServiceQueryBuilder.tsx +3 -2
  107. package/src/index.ts +6 -6
  108. package/src/stores/QueryBuilderChangeDetectionState.ts +1 -1
  109. package/src/stores/QueryBuilderResultState.ts +8 -23
  110. package/src/stores/QueryBuilderState.ts +7 -8
  111. package/src/stores/QueryBuilderTextEditorState.ts +1 -1
  112. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +4 -4
  113. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +6 -1
  114. package/tsconfig.json +5 -4
  115. package/tsconfig.package.json +1 -2
  116. package/lib/stores/QueryBuilderEvent.d.ts.map +0 -1
  117. package/lib/stores/QueryBuilderEvent.js.map +0 -1
  118. package/lib/stores/QueryBuilderTelemetry.d.ts.map +0 -1
  119. package/lib/stores/QueryBuilderTelemetry.js.map +0 -1
  120. /package/lib/{stores → application}/QueryBuilderEvent.d.ts +0 -0
  121. /package/lib/{stores → application}/QueryBuilderEvent.js +0 -0
  122. /package/src/{stores → application}/QueryBuilderEvent.ts +0 -0
package/tsconfig.json CHANGED
@@ -15,8 +15,7 @@
15
15
  "module": "nodenext",
16
16
  "skipLibCheck": true,
17
17
  "resolveJsonModule": true,
18
- "isolatedModules": true,
19
- "importsNotUsedAsValues": "error",
18
+ "verbatimModuleSyntax": true,
20
19
  "strict": true,
21
20
  "noImplicitOverride": true,
22
21
  "noUncheckedIndexedAccess": true,
@@ -34,6 +33,10 @@
34
33
  ],
35
34
  "files": [
36
35
  "./src/index.ts",
36
+ "./src/application/QueryBuilderEvent.ts",
37
+ "./src/application/QueryBuilderSetting.ts",
38
+ "./src/application/QueryBuilderTelemetryHelper.ts",
39
+ "./src/components/QueryBuilderComponentElement.ts",
37
40
  "./src/components/QueryBuilder_LegendApplicationPlugin.ts",
38
41
  "./src/components/QueryBuilder_TestID.ts",
39
42
  "./src/components/QuerySetupUtils.ts",
@@ -53,7 +56,6 @@
53
56
  "./src/stores/QueryBuilderCommand.ts",
54
57
  "./src/stores/QueryBuilderConfig.ts",
55
58
  "./src/stores/QueryBuilderConstantsState.ts",
56
- "./src/stores/QueryBuilderEvent.ts",
57
59
  "./src/stores/QueryBuilderGroupOperationHelper.ts",
58
60
  "./src/stores/QueryBuilderParametersState.ts",
59
61
  "./src/stores/QueryBuilderPreviewDataHelper.ts",
@@ -62,7 +64,6 @@
62
64
  "./src/stores/QueryBuilderState.ts",
63
65
  "./src/stores/QueryBuilderStateBuilder.ts",
64
66
  "./src/stores/QueryBuilderStateTestUtils.ts",
65
- "./src/stores/QueryBuilderTelemetry.ts",
66
67
  "./src/stores/QueryBuilderTextEditorState.ts",
67
68
  "./src/stores/QueryBuilderTypeaheadHelper.ts",
68
69
  "./src/stores/QueryBuilderUnsupportedQueryState.ts",
@@ -15,8 +15,7 @@
15
15
  "module": "nodenext",
16
16
  "skipLibCheck": true,
17
17
  "resolveJsonModule": true,
18
- "isolatedModules": true,
19
- "importsNotUsedAsValues": "error",
18
+ "verbatimModuleSyntax": true,
20
19
  "strict": true,
21
20
  "noImplicitOverride": true,
22
21
  "noUncheckedIndexedAccess": true,
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderEvent.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,iBAAiB,sCAAsC;IACvD,+BAA+B,0CAA0C;IACzE,4BAA4B,uCAAuC;IAEnE,kBAAkB,uCAAuC;IACzD,gCAAgC,2CAA2C;IAC3E,6BAA6B,wCAAwC;IACrE,6BAA6B,+CAA+C;CAC7E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderEvent.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,8EAAuD,CAAA;IACvD,gGAAyE,CAAA;IACzE,0FAAmE,CAAA;IAEnE,gFAAyD,CAAA;IACzD,kGAA2E,CAAA;IAC3E,4FAAqE,CAAA;IACrE,mGAA4E,CAAA;AAC9E,CAAC,EATW,mBAAmB,GAAnB,mBAAmB,KAAnB,mBAAmB,QAS9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderTelemetry.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderTelemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,KAAK,kCAAkC,GAAG;IACxC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,KAAK,4BAA4B,GAAG,2BAA2B,GAAG;IAChE,iBAAiB,EAAE,MAAM,CAAC;CAC3B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