@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.
- package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +1 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +2 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +132 -67
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +1 -0
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +1 -0
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/index.css +16 -0
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +2 -0
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +11 -4
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +1 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +6 -3
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts +7 -2
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +46 -29
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
- package/package.json +6 -6
- package/src/__lib__/QueryBuilderTesting.ts +1 -0
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +2 -1
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -0
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +232 -140
- package/src/components/result/QueryBuilderResultPanel.tsx +1 -0
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +1 -0
- package/src/stores/QueryBuilderResultState.ts +13 -4
- package/src/stores/QueryBuilderStateHashUtils.ts +1 -1
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +16 -3
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +70 -38
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts +1 -1
@@ -41,6 +41,7 @@ type QueryBuilderDataGridConfig = {
|
|
41
41
|
columns: DataGridColumnState[];
|
42
42
|
isPivotModeEnabled: boolean | undefined;
|
43
43
|
isLocalModeEnabled: boolean | undefined;
|
44
|
+
previewLimit?: number | undefined;
|
44
45
|
};
|
45
46
|
export declare class QueryBuilderResultState {
|
46
47
|
readonly queryBuilderState: QueryBuilderState;
|
@@ -71,6 +72,7 @@ export declare class QueryBuilderResultState {
|
|
71
72
|
setMouseOverCell(val: QueryBuilderTDSResultCellData | null): void;
|
72
73
|
setQueryRunPromise(promise: Promise<ExecutionResult> | undefined): void;
|
73
74
|
setIsQueryUsageViewerOpened(val: boolean): void;
|
75
|
+
updatePreviewLimitInConfig(): void;
|
74
76
|
handlePreConfiguredGridConfig(config: QueryGridConfig): void;
|
75
77
|
getQueryGridConfig(): QueryGridConfig | undefined;
|
76
78
|
get checkForStaleResults(): boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAIhB,KAAK,WAAW,EAChB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,8BAA8B,EACnC,KAAK,eAAe,EAIrB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAGpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,eAAO,MAAM,aAAa,OAAO,CAAC;AAElC,MAAM,MAAM,iCAAiC,GACzC,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,WAAW,0BAA0B;IACzC,CAAC,GAAG,EAAE,MAAM,GAAG,iCAA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
68
68
|
handlePreConfiguredGridConfig: action,
|
69
|
+
updatePreviewLimitInConfig: action,
|
69
70
|
exportData: flow,
|
70
71
|
runQuery: flow,
|
71
72
|
cancelQuery: flow,
|
@@ -110,20 +111,26 @@ export class QueryBuilderResultState {
|
|
110
111
|
setIsQueryUsageViewerOpened(val) {
|
111
112
|
this.isQueryUsageViewerOpened = val;
|
112
113
|
}
|
114
|
+
updatePreviewLimitInConfig() {
|
115
|
+
if (this.gridConfig) {
|
116
|
+
this.gridConfig.previewLimit = this.previewLimit;
|
117
|
+
}
|
118
|
+
}
|
113
119
|
handlePreConfiguredGridConfig(config) {
|
114
120
|
const newConfig = {
|
121
|
+
...config,
|
115
122
|
columns: config.columns,
|
116
|
-
isPivotModeEnabled: Boolean(config.isPivotModeEnabled),
|
117
|
-
isLocalModeEnabled: Boolean(config.isLocalModeEnabled),
|
118
123
|
};
|
124
|
+
if (config.previewLimit) {
|
125
|
+
this.setPreviewLimit(config.previewLimit);
|
126
|
+
}
|
119
127
|
this.setGridConfig(newConfig);
|
120
128
|
}
|
121
129
|
getQueryGridConfig() {
|
122
130
|
if (this.gridConfig) {
|
123
131
|
return {
|
132
|
+
...this.gridConfig,
|
124
133
|
columns: this.gridConfig.columns,
|
125
|
-
isPivotModeEnabled: Boolean(this.gridConfig.isPivotModeEnabled),
|
126
|
-
isLocalModeEnabled: Boolean(this.gridConfig.isLocalModeEnabled),
|
127
134
|
};
|
128
135
|
}
|
129
136
|
return undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,EAEpB,WAAW,EACX,SAAS,EACT,2BAA2B,GAC5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AAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;aAC1C;YAAC,MAAM;gBACN,aAAa;aACd;YACD,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;YAEpE,SAAS;YACT,MAAM,CAAC,OAAO;gBACZ,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,qBAAqB,CACvE,SAAS,EACT,MAAM,CAAC,OAAO,CACf,CAAC;YACJ,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CACnC,EAAE,EACF,MAAM,EACN,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CACtC,CAAC;YACF,IAAI,KAAK,EAAE;gBACT,2BAA2B,CAAC,oCAAoC,CAC9D,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,eAAe,CAChB,CAAC;aACH;iBAAM;gBACL,2BAA2B,CAAC,yCAAyC,CACnE,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,eAAe,CAChB,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACtD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;SAC/B;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAA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 +61,7 @@ export declare enum QUERY_BUILDER_STATE_HASH_STRUCTURE {
|
|
61
61
|
WATERMARK_STATE = "WATERMARK_STATE",
|
62
62
|
TDS_WINDOW_GROUPBY_STATE = "TDS_WINDOW_STATE",
|
63
63
|
TDS_WINDOW_GROUPBY_OPERATION_STATE = "TDS_WINDOW_OPERATION_STATE",
|
64
|
-
|
64
|
+
TDS_WINDOW_GROUPBY_AGG_OPERATOR_STATE = "TDS_WINDOW_AGG_OPERATOR_STATE",
|
65
65
|
TDS_WINDOW_COLUMN_STATE = "TDS_WINDOW_COLUMN_STATE",
|
66
66
|
TDS_WINDOW_COLUMN_SORTBY_STATE = "TDS_WINDOW_COLUMN_SORTBY_STATE",
|
67
67
|
TDS_WINDOW_OPERATOR_RANK = "TDS_WINDOW_OPERATOR_RANK",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateHashUtils.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,kCAAkC;IAE5C,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,yBAAyB,8BAA8B;IAGvD,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,iBAAiB,sBAAsB;IACvC,8BAA8B,mCAAmC;IACjE,yBAAyB,8BAA8B;IACvD,kCAAkC,uCAAuC;IACzE,yBAAyB,8BAA8B;IACvD,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IAGrC,gCAAgC,qCAAqC;IACrE,qCAAqC,yCAAyC;IAC9E,0CAA0C,+CAA+C;IACzF,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,sCAAsC,2CAA2C;IACjF,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;IACrE,6BAA6B,kCAAkC;IAC/D,iCAAiC,sCAAsC;IACvE,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,iCAAiC,sCAAsC;IACvE,uCAAuC,4CAA4C;IACnF,uBAAuB,4BAA4B;IACnD,2BAA2B,gCAAgC;IAC3D,6BAA6B,kCAAkC;IAC/D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,oCAAoC,yCAAyC;IAC7E,+BAA+B,oCAAoC;IACnE,mCAAmC,wCAAwC;IAC3E,iBAAiB,sBAAsB;IAGvC,eAAe,oBAAoB;IAGnC,wBAAwB,qBAAqB;IAC7C,kCAAkC,+BAA+B;IACjE,
|
1
|
+
{"version":3,"file":"QueryBuilderStateHashUtils.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,kCAAkC;IAE5C,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,yBAAyB,8BAA8B;IAGvD,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,iBAAiB,sBAAsB;IACvC,8BAA8B,mCAAmC;IACjE,yBAAyB,8BAA8B;IACvD,kCAAkC,uCAAuC;IACzE,yBAAyB,8BAA8B;IACvD,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IAGrC,gCAAgC,qCAAqC;IACrE,qCAAqC,yCAAyC;IAC9E,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yBAAyB,8BAA8B;IACvD,+BAA+B,oCAAoC;IACnE,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,YAAY,iBAAiB;IAG7B,iBAAiB,sBAAsB;IACvC,0BAA0B,+BAA+B;IAGzD,iBAAiB,sBAAsB;IACvC,uBAAuB,4BAA4B;IACnD,mBAAmB,wBAAwB;IAE3C,wBAAwB,6BAA6B;IAGrD,sCAAsC,2CAA2C;IACjF,+BAA+B,oCAAoC;IACnE,8BAA8B,mCAAmC;IACjE,iCAAiC,sCAAsC;IACvE,qCAAqC,0CAA0C;IAC/E,qCAAqC,0CAA0C;IAC/E,+BAA+B,oCAAoC;IACnE,iCAAiC,sCAAsC;IACvE,kCAAkC,uCAAuC;IACzE,gCAAgC,qCAAqC;IACrE,iCAAiC,sCAAsC;IACvE,kCAAkC,sCAAsC;IACxE,iCAAiC,sCAAsC;IACvE,+BAA+B,oCAAoC;IACnE,gCAAgC,qCAAqC;IACrE,gCAAgC,qCAAqC;IACrE,qCAAqC,0CAA0C;IAC/E,sCAAsC,2CAA2C;IACjF,8BAA8B,mCAAmC;IACjE,iCAAiC,sCAAsC;IACvE,+BAA+B,oCAAoC;IACnE,gCAAgC,qCAAqC;IACrE,iCAAiC,sCAAsC;IACvE,iCAAiC,sCAAsC;IACvE,gCAAgC,qCAAqC;IACrE,gCAAgC,qCAAqC;IACrE,iCAAiC,sCAAsC;IACvE,+BAA+B,oCAAoC;IACnE,0CAA0C,+CAA+C;IACzF,+BAA+B,oCAAoC;IACnE,+BAA+B,oCAAoC;CACpE"}
|
@@ -67,7 +67,7 @@ export var QUERY_BUILDER_STATE_HASH_STRUCTURE;
|
|
67
67
|
// OLAPGroup state
|
68
68
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["TDS_WINDOW_GROUPBY_STATE"] = "TDS_WINDOW_STATE";
|
69
69
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["TDS_WINDOW_GROUPBY_OPERATION_STATE"] = "TDS_WINDOW_OPERATION_STATE";
|
70
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE["
|
70
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE["TDS_WINDOW_GROUPBY_AGG_OPERATOR_STATE"] = "TDS_WINDOW_AGG_OPERATOR_STATE";
|
71
71
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["TDS_WINDOW_COLUMN_STATE"] = "TDS_WINDOW_COLUMN_STATE";
|
72
72
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["TDS_WINDOW_COLUMN_SORTBY_STATE"] = "TDS_WINDOW_COLUMN_SORTBY_STATE";
|
73
73
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["TDS_WINDOW_OPERATOR_RANK"] = "TDS_WINDOW_OPERATOR_RANK";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateHashUtils.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,kCAyIX;AAzID,WAAY,kCAAkC;IAC5C,mBAAmB;IACnB,2EAAqC,CAAA;IACrC,uEAAiC,CAAA;IACjC,6FAAuD,CAAA;IAEvD,mBAAmB;IACnB,+FAAyD,CAAA;IACzD,2FAAqD,CAAA;IACrD,iGAA2D,CAAA;IAC3D,6GAAuE,CAAA;IACvE,uGAAiE,CAAA;IACjE,uFAAiD,CAAA;IACjD,uFAAiD,CAAA;IACjD,qHAA+E,CAAA;IAC/E,6GAAuE,CAAA;IACvE,uFAAiD,CAAA;IACjD,uFAAiD,CAAA;IACjD,6EAAuC,CAAA;IACvC,uGAAiE,CAAA;IACjE,6FAAuD,CAAA;IACvD,+GAAyE,CAAA;IACzE,6FAAuD,CAAA;IACvD,6EAAuC,CAAA;IACvC,2EAAqC,CAAA;IAErC,cAAc;IACd,2GAAqE,CAAA;IACrE,oHAA8E,CAAA;IAC9E,+HAAyF,CAAA;IACzF,iGAA2D,CAAA;IAC3D,6GAAuE,CAAA;IACvE,uHAAiF,CAAA;IACjF,mGAA6D,CAAA;IAC7D,2GAAqE,CAAA;IACrE,qGAA+D,CAAA;IAC/D,6GAAuE,CAAA;IACvE,+FAAyD,CAAA;IACzD,uGAAiE,CAAA;IACjE,6GAAuE,CAAA;IACvE,yHAAmF,CAAA;IACnF,yFAAmD,CAAA;IACnD,iGAA2D,CAAA;IAC3D,qGAA+D,CAAA;IAC/D,6GAAuE,CAAA;IACvE,uGAAiE,CAAA;IACjE,mHAA6E,CAAA;IAC7E,yGAAmE,CAAA;IACnE,iHAA2E,CAAA;IAC3E,6EAAuC,CAAA;IAEvC,kBAAkB;IAClB,yEAAmC,CAAA;IAEnC,kBAAkB;IAClB,mFAA6C,CAAA;IAC7C,uGAAiE,CAAA;IACjE
|
1
|
+
{"version":3,"file":"QueryBuilderStateHashUtils.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,kCAyIX;AAzID,WAAY,kCAAkC;IAC5C,mBAAmB;IACnB,2EAAqC,CAAA;IACrC,uEAAiC,CAAA;IACjC,6FAAuD,CAAA;IAEvD,mBAAmB;IACnB,+FAAyD,CAAA;IACzD,2FAAqD,CAAA;IACrD,iGAA2D,CAAA;IAC3D,6GAAuE,CAAA;IACvE,uGAAiE,CAAA;IACjE,uFAAiD,CAAA;IACjD,uFAAiD,CAAA;IACjD,qHAA+E,CAAA;IAC/E,6GAAuE,CAAA;IACvE,uFAAiD,CAAA;IACjD,uFAAiD,CAAA;IACjD,6EAAuC,CAAA;IACvC,uGAAiE,CAAA;IACjE,6FAAuD,CAAA;IACvD,+GAAyE,CAAA;IACzE,6FAAuD,CAAA;IACvD,6EAAuC,CAAA;IACvC,2EAAqC,CAAA;IAErC,cAAc;IACd,2GAAqE,CAAA;IACrE,oHAA8E,CAAA;IAC9E,+HAAyF,CAAA;IACzF,iGAA2D,CA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,6EAAuC,CAAA;IACvC,+FAAyD,CAAA;IAEzD,UAAU;IACV,6EAAuC,CAAA;IACvC,yFAAmD,CAAA;IACnD,iFAA2C,CAAA;IAE3C,2FAAqD,CAAA;IAErD,WAAW;IACX,uHAAiF,CAAA;IACjF,yGAAmE,CAAA;IACnE,uGAAiE,CAAA;IACjE,6GAAuE,CAAA;IACvE,qHAA+E,CAAA;IAC/E,qHAA+E,CAAA;IAC/E,yGAAmE,CAAA;IACnE,6GAAuE,CAAA;IACvE,+GAAyE,CAAA;IACzE,2GAAqE,CAAA;IACrE,6GAAuE,CAAA;IACvE,8GAAwE,CAAA;IACxE,6GAAuE,CAAA;IACvE,yGAAmE,CAAA;IACnE,2GAAqE,CAAA;IACrE,2GAAqE,CAAA;IACrE,qHAA+E,CAAA;IAC/E,uHAAiF,CAAA;IACjF,uGAAiE,CAAA;IACjE,6GAAuE,CAAA;IACvE,yGAAmE,CAAA;IACnE,2GAAqE,CAAA;IACrE,6GAAuE,CAAA;IACvE,6GAAuE,CAAA;IACvE,2GAAqE,CAAA;IACrE,2GAAqE,CAAA;IACrE,6GAAuE,CAAA;IACvE,yGAAmE,CAAA;IACnE,+HAAyF,CAAA;IACzF,yGAAmE,CAAA;IACnE,yGAAmE,CAAA;AACrE,CAAC,EAzIW,kCAAkC,KAAlC,kCAAkC,QAyI7C"}
|
@@ -19,6 +19,7 @@ import type { QueryBuilderState } from './QueryBuilderState.js';
|
|
19
19
|
import type { QuerySearchSpecification, RawLambda } from '@finos/legend-graph';
|
20
20
|
import type { DataAccessState, DatasetAccessInfo } from './data-access/DataAccessState.js';
|
21
21
|
export type CuratedTemplateQuery = {
|
22
|
+
id: string;
|
22
23
|
title: string;
|
23
24
|
description: string | undefined;
|
24
25
|
query: RawLambda;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[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,QAAQ,IAAI,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,CAAC;CACjE,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAC9B,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,CAAC;AAErB,MAAM,MAAM,iCAAiC,GAAG,CAC9C,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,CAAC;AAErB,MAAM,WAAW,8CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,qCAAqC,CAAC,IAAI,iCAAiC,EAAE,CAAC;IAE9E;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,2CAA2C,CAAC,IAAI,CAC9C,iBAAiB,EAAE,iBAAiB,KACjC,MAAM,EAAE,CAAC;IAEd;;OAEG;IACH,8BAA8B,CAAC,IAAI,0BAA0B,EAAE,CAAC;IAEhE;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;IAE7H;;OAEG;IACH,gCAAgC,CAAC,IAAI,6BAA6B,EAAE,CAAC;IAErE;;OAEG;IACH,0BAA0B,CAAC,IAAI,iBAAiB,EAAE,CAAC;IAEnD;;OAEG;IACH,yCAAyC,CAAC,IAAI,iCAAiC,EAAE,CAAC;CACnF"}
|
1
|
+
{"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAA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1D,qBAAqB,IAAI,IAAI;IAa7B,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IA2BnE,qBAAqB,IAAI,IAAI;IAQ7B,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAanE,eAAe,CAAC,KAAK,EAAE,wCAAwC,EAAE,GAAG,IAAI;IAexE,0BAA0B,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAsBtD,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAkC7D,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAgBrD,IAAI,QAAQ,IAAI,MAAM,CAQrB;IAEA,uBAAuB,IAAI,WAAW,CAAC,IAAI,CAAC;CAgC9C"}
|
@@ -156,12 +156,15 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
|
|
156
156
|
.length > 1);
|
157
157
|
if (hasDuplicatedProjectionColumns) {
|
158
158
|
validationIssues.push('Query has duplicated projection columns');
|
159
|
-
return validationIssues;
|
160
159
|
}
|
161
|
-
const
|
160
|
+
const hasDuplicatedProjectionWindowColumns = this.projectionColumns.some((column) => this.windowState.windowColumns.filter((c) => c.columnName === column.columnName).length > 0);
|
161
|
+
if (hasDuplicatedProjectionWindowColumns) {
|
162
|
+
validationIssues.push('Query has duplicated projection/window columns');
|
163
|
+
}
|
164
|
+
const hasNoProjectionColumns = this.projectionColumns.length === 0 &&
|
165
|
+
this.queryBuilderState.changeHistoryState.canUndo;
|
162
166
|
if (hasNoProjectionColumns) {
|
163
167
|
validationIssues.push('Query has no projection columns');
|
164
|
-
return validationIssues;
|
165
168
|
}
|
166
169
|
return validationIssues;
|
167
170
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,O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C,KAAK,CAAC;YAC7D,MAAM,WAAW,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAC/C,YAAY,CAAC,2CAA2C,CAAC,CAC1D,CAAC;YACF,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAC1B,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,oBAAoB,EAAE,CAAC,CACtD,CAAC;YACF,MAAM,MAAM,GACV,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,oBAAoB,CAC/E,KAAK,EACL,KAAK,CACN,CAGA,CAAC;YACJ,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBACnD,MAAM,GAAG,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC7D,IAAI,GAAG,EAAE;oBACP,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;iBACjC;YACH,CAAC,CAAC,CAAC;SACJ;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CACrD,QAAQ,CAAC,MAAM,CAAC,sCAAsC,CAAC,EACvD,KAAK,CACN,CAAC;SACH;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,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ACvD,KAAK,CACN,CAAC;SACH;IACH,CAAC;CACF"}
|
@@ -59,9 +59,9 @@ export declare class QueryBuilderWindowColumnState extends QueryBuilderTDSColumn
|
|
59
59
|
readonly windowState: QueryBuilderWindowState;
|
60
60
|
windowColumns: QueryBuilderTDSColumnState[];
|
61
61
|
sortByState: WindowGroupByColumnSortByState | undefined;
|
62
|
-
|
62
|
+
operatorState: QueryBuilderTDS_WindowOperatorState;
|
63
63
|
columnName: string;
|
64
|
-
constructor(windowState: QueryBuilderWindowState, windowColumns: QueryBuilderTDSColumnState[], sortType: WindowGroupByColumnSortByState | undefined,
|
64
|
+
constructor(windowState: QueryBuilderWindowState, windowColumns: QueryBuilderTDSColumnState[], sortType: WindowGroupByColumnSortByState | undefined, operatorState: QueryBuilderTDS_WindowOperatorState, columnName: string);
|
65
65
|
get columnWindowGroupIdx(): number;
|
66
66
|
get possibleReferencedColumns(): QueryBuilderTDSColumnState[];
|
67
67
|
get referencedTDSColumns(): QueryBuilderTDSColumnState[];
|
@@ -71,8 +71,13 @@ export declare class QueryBuilderWindowColumnState extends QueryBuilderTDSColumn
|
|
71
71
|
setSortBy(val: WindowGroupByColumnSortByState | undefined): void;
|
72
72
|
changeWindow(val: QueryBuilderTDSColumnState, idx: number): void;
|
73
73
|
addWindow(val: QueryBuilderTDSColumnState): void;
|
74
|
+
setWindows(val: QueryBuilderTDSColumnState[]): void;
|
74
75
|
deleteWindow(val: QueryBuilderTDSColumnState): void;
|
75
76
|
possibleAggregatedColumns(op: QueryBuilderTDS_WindowOperator): QueryBuilderTDSColumnState[];
|
77
|
+
getChangeOperatorStateAndColumnName(currentOperator: QueryBuilderTDS_WindowOperator, currentColumn: QueryBuilderTDSColumnState | undefined, newOperator: QueryBuilderTDS_WindowOperator): {
|
78
|
+
operatorState: QueryBuilderTDS_WindowOperatorState;
|
79
|
+
columnName: string;
|
80
|
+
} | undefined;
|
76
81
|
changeOperator(windowOp: QueryBuilderTDS_WindowOperator): void;
|
77
82
|
changeSortBy(sortOp: COLUMN_SORT_TYPE | undefined): void;
|
78
83
|
get hashCode(): string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWindowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAExF,eAAO,MAAM,oCAAoC,kBAAkB,CAAC;AAEpE,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE,0BAA0B,CAAC;CACzC;AAED,UAAU,mCAAmC;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,4BAA4B,GACpC,sCAAsC,GACtC,kCAAkC,CAAC;AAEvC,qBAAa,8BAA+B,YAAW,QAAQ;IAC7D,WAAW,EAAE,0BAA0B,CAAC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;gBAGzB,WAAW,EAAE,0BAA0B,EACvC,QAAQ,EAAE,gBAAgB;IAa5B,cAAc,CAAC,QAAQ,EAAE,0BAA0B,GAAG,IAAI;IAI1D,WAAW,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI;IAIzC,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,8BAAsB,mCAAoC,YAAW,QAAQ;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
@@ -93,7 +93,7 @@ export class QueryBuilderTDS_WindowAggreationOperatorState extends QueryBuilderT
|
|
93
93
|
}
|
94
94
|
get hashCode() {
|
95
95
|
return hashArray([
|
96
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE.
|
96
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.TDS_WINDOW_GROUPBY_AGG_OPERATOR_STATE,
|
97
97
|
this.lambdaParameterName,
|
98
98
|
this.operator,
|
99
99
|
this.columnState.columnName,
|
@@ -104,14 +104,14 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
104
104
|
windowState;
|
105
105
|
windowColumns = [];
|
106
106
|
sortByState;
|
107
|
-
|
107
|
+
operatorState;
|
108
108
|
columnName;
|
109
|
-
constructor(windowState, windowColumns, sortType,
|
109
|
+
constructor(windowState, windowColumns, sortType, operatorState, columnName) {
|
110
110
|
super();
|
111
111
|
makeObservable(this, {
|
112
112
|
windowColumns: observable,
|
113
113
|
sortByState: observable,
|
114
|
-
|
114
|
+
operatorState: observable,
|
115
115
|
columnName: observable,
|
116
116
|
setOperatorState: observable,
|
117
117
|
setColumnName: action,
|
@@ -119,13 +119,14 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
119
119
|
changeWindow: action,
|
120
120
|
deleteWindow: action,
|
121
121
|
addWindow: action,
|
122
|
+
setWindows: action,
|
122
123
|
changeOperator: action,
|
123
124
|
changeSortBy: action,
|
124
125
|
});
|
125
126
|
this.windowState = windowState;
|
126
127
|
this.windowColumns = windowColumns;
|
127
128
|
this.sortByState = sortType;
|
128
|
-
this.
|
129
|
+
this.operatorState = operatorState;
|
129
130
|
this.columnName = columnName;
|
130
131
|
}
|
131
132
|
get columnWindowGroupIdx() {
|
@@ -140,9 +141,9 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
140
141
|
return this.windowState.tdsState.tdsColumns.slice(0, idx);
|
141
142
|
}
|
142
143
|
get referencedTDSColumns() {
|
143
|
-
const operatorReference = this.
|
144
|
+
const operatorReference = this.operatorState instanceof
|
144
145
|
QueryBuilderTDS_WindowAggreationOperatorState
|
145
|
-
? [this.
|
146
|
+
? [this.operatorState.columnState]
|
146
147
|
: [];
|
147
148
|
const soryByReference = this.sortByState
|
148
149
|
? [this.sortByState.columnState]
|
@@ -150,13 +151,13 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
150
151
|
return [...this.windowColumns, ...soryByReference, ...operatorReference];
|
151
152
|
}
|
152
153
|
getColumnType() {
|
153
|
-
return this.
|
154
|
+
return this.operatorState.operator.getOperatorReturnType(this.windowState.tdsState.queryBuilderState.graphManagerState.graph);
|
154
155
|
}
|
155
156
|
setColumnName(val) {
|
156
157
|
this.columnName = val;
|
157
158
|
}
|
158
159
|
setOperatorState(op) {
|
159
|
-
this.
|
160
|
+
this.operatorState = op;
|
160
161
|
}
|
161
162
|
setSortBy(val) {
|
162
163
|
this.sortByState = val;
|
@@ -167,6 +168,9 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
167
168
|
addWindow(val) {
|
168
169
|
addUniqueEntry(this.windowColumns, val);
|
169
170
|
}
|
171
|
+
setWindows(val) {
|
172
|
+
this.windowColumns = val;
|
173
|
+
}
|
170
174
|
deleteWindow(val) {
|
171
175
|
deleteEntry(this.windowColumns, val);
|
172
176
|
}
|
@@ -176,28 +180,37 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
176
180
|
}
|
177
181
|
return [];
|
178
182
|
}
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
if (currentOperator !== windowOp) {
|
186
|
-
if (windowOp.isColumnAggregator()) {
|
187
|
-
const compatibleAggCol = currentAggregateColumn &&
|
188
|
-
windowOp.isCompatibleWithColumn(currentAggregateColumn)
|
189
|
-
? currentAggregateColumn
|
190
|
-
: this.possibleAggregatedColumns(windowOp)[0];
|
183
|
+
getChangeOperatorStateAndColumnName(currentOperator, currentColumn, newOperator) {
|
184
|
+
if (currentOperator !== newOperator) {
|
185
|
+
if (newOperator.isColumnAggregator()) {
|
186
|
+
const compatibleAggCol = currentColumn && newOperator.isCompatibleWithColumn(currentColumn)
|
187
|
+
? currentColumn
|
188
|
+
: this.possibleAggregatedColumns(newOperator)[0];
|
191
189
|
if (compatibleAggCol) {
|
192
|
-
|
193
|
-
|
190
|
+
return {
|
191
|
+
operatorState: new QueryBuilderTDS_WindowAggreationOperatorState(this.windowState, newOperator, compatibleAggCol),
|
192
|
+
columnName: `${newOperator.getLabel()} of ${compatibleAggCol.columnName}`,
|
193
|
+
};
|
194
194
|
}
|
195
195
|
}
|
196
196
|
else {
|
197
|
-
|
198
|
-
|
197
|
+
return {
|
198
|
+
operatorState: new QueryBuilderTDS_WindowRankOperatorState(this.windowState, newOperator),
|
199
|
+
columnName: `${newOperator.getLabel()}`,
|
200
|
+
};
|
199
201
|
}
|
200
202
|
}
|
203
|
+
return undefined;
|
204
|
+
}
|
205
|
+
changeOperator(windowOp) {
|
206
|
+
const stateAndName = this.getChangeOperatorStateAndColumnName(this.operatorState.operator, this.operatorState instanceof
|
207
|
+
QueryBuilderTDS_WindowAggreationOperatorState
|
208
|
+
? this.operatorState.columnState
|
209
|
+
: undefined, windowOp);
|
210
|
+
if (stateAndName) {
|
211
|
+
this.setOperatorState(stateAndName.operatorState);
|
212
|
+
this.setColumnName(stateAndName.columnName);
|
213
|
+
}
|
201
214
|
}
|
202
215
|
changeSortBy(sortOp) {
|
203
216
|
const sortByState = this.sortByState;
|
@@ -218,7 +231,7 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
|
|
218
231
|
QUERY_BUILDER_STATE_HASH_STRUCTURE.TDS_WINDOW_COLUMN_STATE,
|
219
232
|
hashArray(this.windowColumns),
|
220
233
|
this.sortByState ?? '',
|
221
|
-
this.
|
234
|
+
this.operatorState,
|
222
235
|
this.columnName,
|
223
236
|
]);
|
224
237
|
}
|
@@ -249,11 +262,11 @@ export class QueryBuilderWindowState {
|
|
249
262
|
const invalidColNames = [];
|
250
263
|
const windowCols = this.windowColumns;
|
251
264
|
windowCols.forEach((item, index) => {
|
252
|
-
if (item.
|
265
|
+
if (item.operatorState instanceof
|
253
266
|
QueryBuilderTDS_WindowAggreationOperatorState) {
|
254
|
-
if (item.
|
267
|
+
if (item.operatorState.columnState instanceof
|
255
268
|
QueryBuilderWindowColumnState) {
|
256
|
-
const windowColumnName = item.
|
269
|
+
const windowColumnName = item.operatorState.columnState.columnName;
|
257
270
|
const hasExistingColumn = item.windowState.isColumnOrderValid(windowColumnName, index);
|
258
271
|
if (!hasExistingColumn) {
|
259
272
|
invalidColNames.push({
|
@@ -277,6 +290,10 @@ export class QueryBuilderWindowState {
|
|
277
290
|
if (hasDuplicatedWindowColumns) {
|
278
291
|
issues.push(`Query has duplicated window columns`);
|
279
292
|
}
|
293
|
+
const hasDuplicatedProjectionWindowColumns = this.windowColumns.some((column) => this.tdsState.projectionColumns.filter((c) => c.columnName === column.columnName).length > 0);
|
294
|
+
if (hasDuplicatedProjectionWindowColumns) {
|
295
|
+
issues.push('Query has duplicated projection/window columns');
|
296
|
+
}
|
280
297
|
return issues;
|
281
298
|
}
|
282
299
|
get referencedTDSColumns() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM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AC;IACtB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,kCAAkC;YACrE,IAAI,CAAC,mBAAmB;YACxB,IAAI,CAAC,QAAQ;SACd,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,uCAAwC,SAAQ,mCAAmC;IAC9F,YACE,WAAoC,EACpC,QAAwC;QAExC,KAAK,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QAC7B,cAAc,CAAC,IAAI,EAAE;YACnB,sBAAsB,EAAE,MAAM;SAC/B,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,6CAA8C,SAAQ,mCAAmC;IACpG,WAAW,CAA6B;IACxC,YACE,WAAoC,EACpC,QAAwC,EACxC,WAAuC;QAEvC,KAAK,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QAC7B,cAAc,CAAC,IAAI,EAAE;YACnB,WAAW,EAAE,UAAU;YACvB,cAAc,EAAE,MAAM;YACtB,sBAAsB,EAAE,MAAM;SAC/B,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,cAAc,CAAC,GAA+B;QAC5C,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,
|
1
|
+
{"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CA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UAAU,CAAC,SAAiB,EAAE,OAAe;QAC3C,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QAC1C,IAAI,OAAO,IAAI,KAAK,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;YACtC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;SACvC;IACH,CAAC;IAED,kBAAkB,CAAC,UAAkB,EAAE,UAAkB;QACvD,OAAO,IAAI,CAAC,aAAa;aACtB,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;aACpB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js
CHANGED
@@ -40,7 +40,7 @@ const appendOLAPGroupByColumnState = (olapGroupByColumnState, lambda) => {
|
|
40
40
|
sortByFunction.parametersValues[0] = sortColInstance;
|
41
41
|
}
|
42
42
|
// create olap operation expression
|
43
|
-
const operationState = olapGroupByColumnState.
|
43
|
+
const operationState = olapGroupByColumnState.operatorState;
|
44
44
|
const olapFunc = extractElementNameFromPath(operationState.operator.pureFunc);
|
45
45
|
const olapFuncExpression = new SimpleFunctionExpression(olapFunc);
|
46
46
|
olapFuncExpression.parametersValues = [
|