@finos/legend-query-builder 4.14.70 → 4.14.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderConstantExpressionPanel.js +2 -1
  3. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  4. package/lib/components/QueryLoader.d.ts.map +1 -1
  5. package/lib/components/QueryLoader.js +12 -34
  6. package/lib/components/QueryLoader.js.map +1 -1
  7. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  8. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +10 -3
  9. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +2 -2
  12. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  13. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  14. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +6 -2
  15. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  16. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  17. package/lib/components/filter/QueryBuilderFilterPanel.js +5 -1
  18. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  19. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  20. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +5 -16
  21. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  22. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +3 -1
  23. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
  24. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +88 -31
  25. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  26. package/lib/index.css +2 -2
  27. package/lib/index.css.map +1 -1
  28. package/lib/package.json +1 -1
  29. package/lib/stores/QueryBuilderConstantsState.d.ts +1 -0
  30. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  31. package/lib/stores/QueryBuilderConstantsState.js +6 -1
  32. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  33. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +1 -1
  34. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  35. package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -0
  36. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  37. package/lib/stores/QueryLoaderState.d.ts +8 -6
  38. package/lib/stores/QueryLoaderState.d.ts.map +1 -1
  39. package/lib/stores/QueryLoaderState.js +30 -7
  40. package/lib/stores/QueryLoaderState.js.map +1 -1
  41. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +4 -1
  42. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  43. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +22 -11
  44. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  45. package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
  46. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  47. package/lib/stores/filter/QueryBuilderFilterState.js +8 -4
  48. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  49. package/package.json +3 -3
  50. package/src/components/QueryBuilderConstantExpressionPanel.tsx +2 -1
  51. package/src/components/QueryLoader.tsx +37 -54
  52. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +24 -2
  53. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +6 -2
  54. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +10 -2
  55. package/src/components/filter/QueryBuilderFilterPanel.tsx +10 -1
  56. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +8 -16
  57. package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +96 -34
  58. package/src/stores/QueryBuilderConstantsState.ts +16 -1
  59. package/src/stores/QueryBuilderValueSpecificationHelper.ts +2 -1
  60. package/src/stores/QueryLoaderState.ts +43 -17
  61. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +39 -10
  62. package/src/stores/filter/QueryBuilderFilterState.ts +11 -3
@@ -23,37 +23,94 @@ import { QueryBuilderTDSState } from '../../../stores/fetch-structure/tds/QueryB
23
23
  import { DEFAULT_LOCALE } from '../../../graph-manager/QueryBuilderConst.js';
24
24
  import { guaranteeNonNullable, isBoolean, isNumber, isString, isValidURL, } from '@finos/legend-shared';
25
25
  import { QUERY_BUILDER_TEST_ID } from '../../../__lib__/QueryBuilderTesting.js';
26
- export const getFloatGridColumnCustomHeader = (columnName) => ` <div data-testid="query__builder__result__grid__custom-header" class="query-builder__result__values__table__custom-header">
27
- <div>${columnName}</div>
28
- <div
29
- class="query-builder__result__stale-status__icon"
30
- title="some values have been rounded using en-us format in this preview grid (defaults to max 4 decimal places)"
31
- >
32
- <svg
33
- stroke="currentColor"
34
- fill="currentColor"
35
- stroke-width="0"
36
- viewBox="0 0 576 512"
37
- height="1em"
38
- width="1em"
39
- xmlns="http://www.w3.org/2000/svg"
40
- >
41
- <path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path>
42
- </svg>
43
- </div>
44
- </div>`;
45
- const getTDSColumnCustomizations = (result, columnName) => {
46
- const columnType = result.builder.columns.find((col) => col.name === columnName)?.type;
47
- switch (columnType) {
48
- case PRIMITIVE_TYPE.FLOAT:
49
- return {
50
- headerComponentParams: {
51
- template: getFloatGridColumnCustomHeader(columnName),
52
- },
53
- };
54
- default:
55
- return {};
26
+ export const MAXIMUM_FRACTION_DIGITS = 4;
27
+ export const getFloatGridColumnCustomHeader = () => `<div class="ag-cell-label-container" role="presentation">
28
+ <span
29
+ data-ref="eMenu"
30
+ class="ag-header-icon ag-header-cell-menu-button"
31
+ ></span>
32
+ <span
33
+ data-ref="eFilterButton"
34
+ class="ag-header-icon ag-header-cell-filter-button"
35
+ ></span>
36
+ <div data-ref="eLabel" class="ag-header-cell-label" role="presentation">
37
+ <span
38
+ data-ref="eSortOrder"
39
+ class="ag-header-icon ag-sort-order ag-hidden"
40
+ ></span>
41
+ <span
42
+ data-ref="eSortAsc"
43
+ class="ag-header-icon ag-sort-ascending-icon ag-hidden"
44
+ ></span>
45
+ <span
46
+ data-ref="eSortDesc"
47
+ class="ag-header-icon ag-sort-descending-icon ag-hidden"
48
+ ></span>
49
+ <span
50
+ data-ref="eSortMixed"
51
+ class="ag-header-icon ag-sort-mixed-icon ag-hidden"
52
+ ></span>
53
+ <span
54
+ data-ref="eSortNone"
55
+ class="ag-header-icon ag-sort-none-icon ag-hidden"
56
+ ></span>
57
+ <span
58
+ data-ref="eText"
59
+ class="ag-header-cell-text"
60
+ role="columnheader"
61
+ ></span>
62
+ <span data-ref="eFilter" class="ag-header-icon ag-filter-icon"></span>
63
+ </div>
64
+ <div
65
+ data-testid="query__builder__result__grid__custom-header"
66
+ class="query-builder__result__values__table__custom-header"
67
+ >
68
+ <div
69
+ class="query-builder__result__values__table__custom-header__icon"
70
+ title="some values have been rounded using en-us format in this preview grid (defaults to max 4 decimal places)"
71
+ >
72
+ <svg
73
+ stroke="currentColor"
74
+ fill="currentColor"
75
+ stroke-width="0"
76
+ viewBox="0 0 576 512"
77
+ height="1em"
78
+ width="1em"
79
+ xmlns="http://www.w3.org/2000/svg"
80
+ >
81
+ <path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path>
82
+ </svg>
83
+ </div>
84
+ </div>
85
+ </div>`;
86
+ export const getTDSColumnCustomizations = (result, columnName) => {
87
+ const index = result.builder.columns.findIndex((col) => col.name === columnName);
88
+ if (index >= 0) {
89
+ const columnType = result.builder.columns[index]?.type;
90
+ const colValues = result.result.rows.map((r) => r.values[index]);
91
+ const isTruncated = (vals) => Boolean(vals.some((val) => {
92
+ if (val) {
93
+ const decimalPart = val.toString().split('.')[1];
94
+ return decimalPart && decimalPart.length > MAXIMUM_FRACTION_DIGITS;
95
+ }
96
+ return false;
97
+ }));
98
+ switch (columnType) {
99
+ case PRIMITIVE_TYPE.NUMBER:
100
+ case PRIMITIVE_TYPE.DECIMAL:
101
+ case PRIMITIVE_TYPE.FLOAT:
102
+ return isTruncated(colValues)
103
+ ? {
104
+ headerComponentParams: {
105
+ template: getFloatGridColumnCustomHeader(),
106
+ },
107
+ }
108
+ : {};
109
+ default:
110
+ return {};
111
+ }
56
112
  }
113
+ return {};
57
114
  };
58
115
  const QueryResultCellRenderer = observer((params) => {
59
116
  const resultState = params.resultState;
@@ -66,7 +123,7 @@ const QueryResultCellRenderer = observer((params) => {
66
123
  const formattedCellValue = () => {
67
124
  if (isNumber(cellValue)) {
68
125
  return Intl.NumberFormat(DEFAULT_LOCALE, {
69
- maximumFractionDigits: 4,
126
+ maximumFractionDigits: MAXIMUM_FRACTION_DIGITS,
70
127
  }).format(Number(cellValue));
71
128
  }
72
129
  else if (isBoolean(cellValue)) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSSimpleGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,GAElC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC5C,UAAkB,EACV,EAAE,CAAC;qBACQ,UAAU;;;;;;;;;;;;;;;;;mBAiBZ,CAAC;AAEpB,MAAM,0BAA0B,GAAG,CACjC,MAA0B,EAC1B,UAAkB,EACV,EAAE;IACV,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAC5C,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,UAAU,CACjC,EAAE,IAAI,CAAC;IACR,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,cAAc,CAAC,KAAK;YACvB,OAAO;gBACL,qB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E,EAAE,CACV,CAAC;QACC,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,CAAC;QACP,GAAG,0BAA0B,CAAC,eAAe,EAAE,OAAO,CAAC;QACvD,YAAY,EAAE,uBAAuB;QACrC,kBAAkB,EAAE;YAClB,WAAW,EAAE,WAAW;YACxB,kBAAkB,EAAE,eAAe;SACpC;KACF,CAA6B,CACjC,CAAC;IAEF,OAAO,CACL,6BACe,qBAAqB,CAAC,+BAA+B,EAClE,SAAS,EAAC,sCAAsC,YAEhD,cACE,SAAS,EAAE,IAAI,CAAC,iCAAiC,EAAE;gBACjD,iBAAiB,EAAE,CAAC,QAAQ;gBAC5B,sBAAsB,EAAE,QAAQ;aACjC,CAAC,YAEF,KAAC,QAAQ,IACP,OAAO,EAAE,6BAA6B,CAAC,eAAe,CAAC,EACvD,WAAW,EAAE;oBACX,uBAAuB,EAAE,IAAI;oBAC7B,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS;oBACvC,YAAY,EAAE,UAAU;iBACzB;gBACD,oHAAoH;gBACpH,oIAAoI;gBACpI,gBAAgB,EAAE,CAAC,MAAM,EAAE,EAAE;oBAC3B,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;gBAC3C,CAAC,EACD,wBAAwB,EAAE,IAAI,EAC9B,mBAAmB,EAAE,KAAK,EAC1B,UAAU,EAAE,OAAO,GACnB,GACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSSimpleGridResult.js","sourceRoot":"","sources":["../../../../src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM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