@finos/legend-query-builder 4.14.1 → 4.14.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderEvent.d.ts +2 -0
- package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderEvent.js +2 -0
- package/lib/__lib__/QueryBuilderEvent.js.map +1 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +2 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.js +6 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +1 -3
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +0 -1
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +16 -17
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/package.json +9 -9
- package/src/__lib__/QueryBuilderEvent.ts +2 -0
- package/src/__lib__/QueryBuilderTelemetryHelper.ts +11 -0
- package/src/components/result/QueryBuilderResultPanel.tsx +1 -3
- package/src/stores/QueryBuilderResultState.ts +35 -22
@@ -17,10 +17,12 @@ export declare enum QUERY_BUILDER_EVENT {
|
|
17
17
|
RUN_QUERY__LAUNCH = "query-builder.run-query.launch",
|
18
18
|
GENERATE_EXECUTION_PLAN__LAUNCH = "query-builder.generate-plan.launch",
|
19
19
|
DEBUG_EXECUTION_PLAN__LAUNCH = "query-builder.debug-plan.launch",
|
20
|
+
EXPORT_QUERY_DATA__LAUNCH = "query-builder.export-query-data.launch",
|
20
21
|
RUN_QUERY__SUCCESS = "query-builder.run-query.success",
|
21
22
|
GENERATE_EXECUTION_PLAN__SUCCESS = "query-builder.generate-plan.success",
|
22
23
|
DEBUG_EXECUTION_PLAN__SUCCESS = "query-builder.debug-plan.success",
|
23
24
|
BUILD_EXECUTION_PLAN__SUCCESS = "query-builder.build-plan.success",
|
25
|
+
EXPORT_QUERY_DATA__SUCCESS = "query-builder.export-query-data.success",
|
24
26
|
MAPPING_MODEL_COVERAGE_ANALYSYS__LAUNCH = "query-builder.mapping-model-coverage-analysis.launch",
|
25
27
|
MAPPING_MODEL_COVERAGE_ANALYSYS__SUCCESS = "query-builder.mapping-model-coverage-analysis.success",
|
26
28
|
UNSUPPORTED_QUERY_LAUNCH = "query-builder.unsupported-query.lanuch"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderEvent.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,iBAAiB,mCAAmC;IACpD,+BAA+B,uCAAuC;IACtE,4BAA4B,oCAAoC;
|
1
|
+
{"version":3,"file":"QueryBuilderEvent.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,iBAAiB,mCAAmC;IACpD,+BAA+B,uCAAuC;IACtE,4BAA4B,oCAAoC;IAChE,yBAAyB,2CAA2C;IAEpE,kBAAkB,oCAAoC;IACtD,gCAAgC,wCAAwC;IACxE,6BAA6B,qCAAqC;IAClE,6BAA6B,qCAAqC;IAClE,0BAA0B,4CAA4C;IAEtE,uCAAuC,yDAAyD;IAChG,wCAAwC,0DAA0D;IAClG,wBAAwB,2CAA2C;CACpE;AAED,oBAAY,0BAA0B;IACpC,iCAAiC,iDAAiD;IAClF,8CAA8C,4DAA4D;IAC1G,sCAAsC,qDAAqD;IAC3F,6BAA6B,6CAA6C;IAC1E,8BAA8B,8CAA8C;IAC5E,8BAA8B,8CAA8C;IAC5E,4BAA4B,4CAA4C;CACzE;AAED,oBAAY,+BAA+B;IACzC,iCAAiC,sDAAsD;IACvF,8CAA8C,iEAAiE;IAC/G,sCAAsC,0DAA0D;IAChG,6BAA6B,kDAAkD;IAC/E,8BAA8B,mDAAmD;IACjF,8BAA8B,mDAAmD;IACjF,4BAA4B,iDAAiD;CAC9E"}
|
@@ -18,10 +18,12 @@ export var QUERY_BUILDER_EVENT;
|
|
18
18
|
QUERY_BUILDER_EVENT["RUN_QUERY__LAUNCH"] = "query-builder.run-query.launch";
|
19
19
|
QUERY_BUILDER_EVENT["GENERATE_EXECUTION_PLAN__LAUNCH"] = "query-builder.generate-plan.launch";
|
20
20
|
QUERY_BUILDER_EVENT["DEBUG_EXECUTION_PLAN__LAUNCH"] = "query-builder.debug-plan.launch";
|
21
|
+
QUERY_BUILDER_EVENT["EXPORT_QUERY_DATA__LAUNCH"] = "query-builder.export-query-data.launch";
|
21
22
|
QUERY_BUILDER_EVENT["RUN_QUERY__SUCCESS"] = "query-builder.run-query.success";
|
22
23
|
QUERY_BUILDER_EVENT["GENERATE_EXECUTION_PLAN__SUCCESS"] = "query-builder.generate-plan.success";
|
23
24
|
QUERY_BUILDER_EVENT["DEBUG_EXECUTION_PLAN__SUCCESS"] = "query-builder.debug-plan.success";
|
24
25
|
QUERY_BUILDER_EVENT["BUILD_EXECUTION_PLAN__SUCCESS"] = "query-builder.build-plan.success";
|
26
|
+
QUERY_BUILDER_EVENT["EXPORT_QUERY_DATA__SUCCESS"] = "query-builder.export-query-data.success";
|
25
27
|
QUERY_BUILDER_EVENT["MAPPING_MODEL_COVERAGE_ANALYSYS__LAUNCH"] = "query-builder.mapping-model-coverage-analysis.launch";
|
26
28
|
QUERY_BUILDER_EVENT["MAPPING_MODEL_COVERAGE_ANALYSYS__SUCCESS"] = "query-builder.mapping-model-coverage-analysis.success";
|
27
29
|
QUERY_BUILDER_EVENT["UNSUPPORTED_QUERY_LAUNCH"] = "query-builder.unsupported-query.lanuch";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderEvent.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"QueryBuilderEvent.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,mBAeX;AAfD,WAAY,mBAAmB;IAC7B,2EAAoD,CAAA;IACpD,6FAAsE,CAAA;IACtE,uFAAgE,CAAA;IAChE,2FAAoE,CAAA;IAEpE,6EAAsD,CAAA;IACtD,+FAAwE,CAAA;IACxE,yFAAkE,CAAA;IAClE,yFAAkE,CAAA;IAClE,6FAAsE,CAAA;IAEtE,uHAAgG,CAAA;IAChG,yHAAkG,CAAA;IAClG,0FAAmE,CAAA;AACrE,CAAC,EAfW,mBAAmB,KAAnB,mBAAmB,QAe9B;AAED,MAAM,CAAN,IAAY,0BAQX;AARD,WAAY,0BAA0B;IACpC,gHAAkF,CAAA;IAClF,wIAA0G,CAAA;IAC1G,yHAA2F,CAAA;IAC3F,wGAA0E,CAAA;IAC1E,0GAA4E,CAAA;IAC5E,0GAA4E,CAAA;IAC5E,sGAAwE,CAAA;AAC1E,CAAC,EARW,0BAA0B,KAA1B,0BAA0B,QAQrC;AAED,MAAM,CAAN,IAAY,+BAQX;AARD,WAAY,+BAA+B;IACzC,0HAAuF,CAAA;IACvF,kJAA+G,CAAA;IAC/G,mIAAgG,CAAA;IAChG,kHAA+E,CAAA;IAC/E,oHAAiF,CAAA;IACjF,oHAAiF,CAAA;IACjF,gHAA6E,CAAA;AAC/E,CAAC,EARW,+BAA+B,KAA/B,+BAA+B,QAQ1C"}
|
@@ -26,9 +26,11 @@ type QueryMappingModelCoverageAnalysis_TelemetryData = GraphManagerOperationRepo
|
|
26
26
|
};
|
27
27
|
export declare class QueryBuilderTelemetryHelper {
|
28
28
|
static logEvent_QueryRunLaunched(service: TelemetryService): void;
|
29
|
+
static logEvent_ExportQueryDataLaunched(service: TelemetryService): void;
|
29
30
|
static logEvent_ExecutionPlanGenerationLaunched(service: TelemetryService): void;
|
30
31
|
static logEvent_ExecutionPlanDebugLaunched(service: TelemetryService): void;
|
31
32
|
static logEvent_QueryRunSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
|
33
|
+
static logEvent_ExportQueryDatSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
|
32
34
|
static logEvent_ExecutionPlanGenerationSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
|
33
35
|
static logEvent_ExecutionPlanDebugSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
|
34
36
|
static logEvent_FilterCreateConditionLaunched(service: TelemetryService): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTelemetryHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTelemetryHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAMlE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAErE,KAAK,4BAA4B,GAAG,2BAA2B,GAAG;IAChE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;CACpC,CAAC;AACF,KAAK,+CAA+C,GAClD,2BAA2B,GAAG;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;CACpC,CAAC;AAEJ,qBAAa,2BAA2B;IACtC,MAAM,CAAC,yBAAyB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAIjE,MAAM,CAAC,wCAAwC,CAC7C,OAAO,EAA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C,mDAAmD,CACxD,OAAO,EAAE,gBAAgB,EACzB,IAAI,EAAE,+CAA+C,GACpD,IAAI;CAMR"}
|
@@ -18,6 +18,9 @@ export class QueryBuilderTelemetryHelper {
|
|
18
18
|
static logEvent_QueryRunLaunched(service) {
|
19
19
|
service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__LAUNCH, {});
|
20
20
|
}
|
21
|
+
static logEvent_ExportQueryDataLaunched(service) {
|
22
|
+
service.logEvent(QUERY_BUILDER_EVENT.EXPORT_QUERY_DATA__LAUNCH, {});
|
23
|
+
}
|
21
24
|
static logEvent_ExecutionPlanGenerationLaunched(service) {
|
22
25
|
service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__LAUNCH, {});
|
23
26
|
}
|
@@ -27,6 +30,9 @@ export class QueryBuilderTelemetryHelper {
|
|
27
30
|
static logEvent_QueryRunSucceeded(service, data) {
|
28
31
|
service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__SUCCESS, data);
|
29
32
|
}
|
33
|
+
static logEvent_ExportQueryDatSucceeded(service, data) {
|
34
|
+
service.logEvent(QUERY_BUILDER_EVENT.EXPORT_QUERY_DATA__SUCCESS, data);
|
35
|
+
}
|
30
36
|
static logEvent_ExecutionPlanGenerationSucceeded(service, data) {
|
31
37
|
service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__SUCCESS, data);
|
32
38
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTelemetryHelper.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTelemetryHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAahC,MAAM,OAAO,2BAA2B;IACtC,MAAM,CAAC,yBAAyB,CAAC,OAAyB;QACxD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAC,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C,wCAAwC,EAC5D,IAAI,CACL,CAAC;IACJ,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA+E3E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA+E3E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAybjD,CAAC"}
|
@@ -178,8 +178,6 @@ export const QueryBuilderResultPanel = observer((props) => {
|
|
178
178
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
179
179
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
180
180
|
elevation: 7,
|
181
|
-
}, children: [_jsx("div", { className: "query-builder__result__export__dropdown__label", children: "Export" }), _jsx("div", { className: "query-builder__result__export__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), resultState.isQueryUsageViewerOpened && (_jsx(QueryUsageViewer, { resultState: resultState }))] })] }), _jsxs(PanelContent, { children: [_jsx(PanelLoadingIndicator, { isLoading: resultState.isRunningQuery ||
|
182
|
-
resultState.isGeneratingPlan ||
|
183
|
-
resultState.exportDataState.isInProgress }), !executionResult && (_jsx(BlankPanelContent, { children: "Build or load a valid query first" })), executionResult && (_jsx("div", { className: "query-builder__result__values", children: _jsx(QueryBuilderResultValues, { executionResult: executionResult, queryBuilderState: queryBuilderState }) }))] }), _jsx(ExecutionPlanViewer, { executionPlanState: resultState.executionPlanState })] }));
|
181
|
+
}, children: [_jsx("div", { className: "query-builder__result__export__dropdown__label", children: "Export" }), _jsx("div", { className: "query-builder__result__export__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), resultState.isQueryUsageViewerOpened && (_jsx(QueryUsageViewer, { resultState: resultState }))] })] }), _jsxs(PanelContent, { children: [_jsx(PanelLoadingIndicator, { isLoading: resultState.isRunningQuery || resultState.isGeneratingPlan }), !executionResult && (_jsx(BlankPanelContent, { children: "Build or load a valid query first" })), executionResult && (_jsx("div", { className: "query-builder__result__values", children: _jsx(QueryBuilderResultValues, { executionResult: executionResult, queryBuilderState: queryBuilderState }) }))] }), _jsx(ExecutionPlanViewer, { executionPlanState: resultState.executionPlanState })] }));
|
184
182
|
});
|
185
183
|
//# sourceMappingURL=QueryBuilderResultPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,MAAM,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAEL,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EA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ACd,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,GAAS,EAAE,CAClB,WAAW,CAAC,2BAA2B,CAAC,IAAI,CAAC,EAE/C,QAAQ,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,UAAU,oCAG3C,IACN,EAEhB,SAAS,EAAE;oCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,SAAS,EAAE,CAAC;iCACb,aAED,cAAK,SAAS,EAAC,gDAAgD,uBAEzD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,EACd,WAAW,CAAC,wBAAwB,IAAI,CACvC,KAAC,gBAAgB,IAAC,WAAW,EAAE,WAAW,GAAI,CAC/C,IACG,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,EACD,CAAC,eAAe,IAAI,CACnB,KAAC,iBAAiB,oDAEE,CACrB,EACA,eAAe,IAAI,CAClB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,E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C,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -43,7 +43,6 @@ type QueryBuilderDataGridConfig = {
|
|
43
43
|
};
|
44
44
|
export declare class QueryBuilderResultState {
|
45
45
|
readonly queryBuilderState: QueryBuilderState;
|
46
|
-
readonly exportDataState: ActionState;
|
47
46
|
readonly executionPlanState: ExecutionPlanState;
|
48
47
|
previewLimit: number;
|
49
48
|
pressedRunQuery: ActionState;
|
@@ -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,
|
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,EAIpC,MAAM,qBAAqB,CAAC;AAQ7B,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;AAExE,eAAO,MAA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AAiB,EAAE,iBAAiB;IA4ChD,aAAa,CAAC,GAAG,EAAE,0BAA0B,GAAG,IAAI;IAIpD,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIvC,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIrC,kBAAkB,CAAC,GAAG,EAAE,eAAe,GAAG,SAAS,GAAG,IAAI;IAI1D,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAInD,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIlC,eAAe,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI;IAIzD,gBAAgB,CAAC,GAAG,EAAE,6BAA6B,EAAE,GAAG,IAAI;IAI5D,gBAAgB,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI,GAAG,IAAI;IAIjE,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI;IAIvE,2BAA2B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI/C,IAAI,oBAAoB,IAAI,OAAO,CAKlC;IAED,uBAAuB,CACrB,gBAAgB,CAAC,EAAE,2BAA2B,GAC7C,SAAS;IA2BX,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAoE7C,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAiF7B,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IAiBhC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CAgGjD"}
|
@@ -14,10 +14,10 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { action, flow, makeObservable, observable } from 'mobx';
|
17
|
-
import { assertErrorThrown, LogEvent, guaranteeNonNullable,
|
18
|
-
import { GRAPH_MANAGER_EVENT,
|
17
|
+
import { assertErrorThrown, LogEvent, guaranteeNonNullable, ActionState, StopWatch, getContentTypeFileExtension, } from '@finos/legend-shared';
|
18
|
+
import { GRAPH_MANAGER_EVENT, buildRawLambdaFromLambdaFunction, reportGraphAnalytics, } from '@finos/legend-graph';
|
19
|
+
import { downloadStream } from '@finos/legend-lego/download-helper';
|
19
20
|
import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
|
20
|
-
import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
|
21
21
|
import { buildExecutionParameterValues, getExecutionQueryFromRawLambda, } from './shared/LambdaParameterState.js';
|
22
22
|
import { QueryBuilderTelemetryHelper } from '../__lib__/QueryBuilderTelemetryHelper.js';
|
23
23
|
import { QUERY_BUILDER_EVENT } from '../__lib__/QueryBuilderEvent.js';
|
@@ -25,7 +25,6 @@ import { ExecutionPlanState } from './execution-plan/ExecutionPlanState.js';
|
|
25
25
|
export const DEFAULT_LIMIT = 1000;
|
26
26
|
export class QueryBuilderResultState {
|
27
27
|
queryBuilderState;
|
28
|
-
exportDataState = ActionState.create();
|
29
28
|
executionPlanState;
|
30
29
|
previewLimit = DEFAULT_LIMIT;
|
31
30
|
pressedRunQuery = ActionState.create();
|
@@ -137,33 +136,33 @@ export class QueryBuilderResultState {
|
|
137
136
|
}
|
138
137
|
*exportData(format) {
|
139
138
|
try {
|
139
|
+
this.queryBuilderState.applicationStore.notificationService.notifySuccess(`Export ${format} will run in background`);
|
140
140
|
const exportData = this.queryBuilderState.fetchStructureState.implementation.getExportDataInfo(format);
|
141
141
|
const contentType = exportData.contentType;
|
142
142
|
const serializationFormat = exportData.serializationFormat;
|
143
|
-
this.exportDataState.inProgress();
|
144
143
|
const query = this.buildExecutionRawLambda({
|
145
144
|
isExportingResult: true,
|
146
145
|
});
|
147
|
-
|
146
|
+
QueryBuilderTelemetryHelper.logEvent_ExportQueryDataLaunched(this.queryBuilderState.applicationStore.telemetryService);
|
147
|
+
const result = (yield this.queryBuilderState.graphManagerState.graphManager.exportData(query, this.queryBuilderState.executionContextState.mapping, this.queryBuilderState.executionContextState.runtimeValue, this.queryBuilderState.graphManagerState.graph, {
|
148
148
|
serializationFormat,
|
149
149
|
parameterValues: buildExecutionParameterValues(this.queryBuilderState.parametersState.parameterStates, this.queryBuilderState.graphManagerState),
|
150
150
|
}));
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
151
|
+
const report = reportGraphAnalytics(this.queryBuilderState.graphManagerState.graph);
|
152
|
+
downloadStream(result, `result.${getContentTypeFileExtension(contentType)}`)
|
153
|
+
.then(() => {
|
154
|
+
const reportWithState = Object.assign({}, report, this.queryBuilderState.getStateInfo());
|
155
|
+
QueryBuilderTelemetryHelper.logEvent_ExportQueryDatSucceeded(this.queryBuilderState.applicationStore.telemetryService, reportWithState);
|
156
|
+
})
|
157
|
+
.catch((error) => {
|
158
|
+
assertErrorThrown(error);
|
159
|
+
this.queryBuilderState.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE), error);
|
160
|
+
});
|
161
161
|
}
|
162
162
|
catch (error) {
|
163
163
|
assertErrorThrown(error);
|
164
164
|
this.queryBuilderState.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE), error);
|
165
165
|
this.queryBuilderState.applicationStore.notificationService.notifyError(error);
|
166
|
-
this.exportDataState.fail();
|
167
166
|
}
|
168
167
|
}
|
169
168
|
*runQuery() {
|
@@ -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,wBAAwB,EACxB,WAAW,EACX,SAAS,EACT,2BAA2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ACxD,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"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.14.
|
3
|
+
"version": "4.14.2",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,13 +42,13 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.0.
|
46
|
-
"@finos/legend-art": "7.1.
|
47
|
-
"@finos/legend-graph": "31.7.
|
48
|
-
"@finos/legend-lego": "1.2.
|
49
|
-
"@finos/legend-server-depot": "6.0.
|
50
|
-
"@finos/legend-shared": "10.0.
|
51
|
-
"@finos/legend-storage": "3.0.
|
45
|
+
"@finos/legend-application": "15.0.66",
|
46
|
+
"@finos/legend-art": "7.1.19",
|
47
|
+
"@finos/legend-graph": "31.7.2",
|
48
|
+
"@finos/legend-lego": "1.2.2",
|
49
|
+
"@finos/legend-server-depot": "6.0.36",
|
50
|
+
"@finos/legend-shared": "10.0.32",
|
51
|
+
"@finos/legend-storage": "3.0.82",
|
52
52
|
"@testing-library/react": "14.0.0",
|
53
53
|
"@types/react": "18.2.31",
|
54
54
|
"@types/react-dom": "18.2.14",
|
@@ -65,7 +65,7 @@
|
|
65
65
|
"sql-formatter": "13.0.1"
|
66
66
|
},
|
67
67
|
"devDependencies": {
|
68
|
-
"@finos/legend-dev-utils": "2.1.
|
68
|
+
"@finos/legend-dev-utils": "2.1.2",
|
69
69
|
"@jest/globals": "29.7.0",
|
70
70
|
"cross-env": "7.0.3",
|
71
71
|
"eslint": "8.52.0",
|
@@ -18,11 +18,13 @@ export enum QUERY_BUILDER_EVENT {
|
|
18
18
|
RUN_QUERY__LAUNCH = 'query-builder.run-query.launch',
|
19
19
|
GENERATE_EXECUTION_PLAN__LAUNCH = 'query-builder.generate-plan.launch',
|
20
20
|
DEBUG_EXECUTION_PLAN__LAUNCH = 'query-builder.debug-plan.launch',
|
21
|
+
EXPORT_QUERY_DATA__LAUNCH = 'query-builder.export-query-data.launch',
|
21
22
|
|
22
23
|
RUN_QUERY__SUCCESS = 'query-builder.run-query.success',
|
23
24
|
GENERATE_EXECUTION_PLAN__SUCCESS = 'query-builder.generate-plan.success',
|
24
25
|
DEBUG_EXECUTION_PLAN__SUCCESS = 'query-builder.debug-plan.success',
|
25
26
|
BUILD_EXECUTION_PLAN__SUCCESS = 'query-builder.build-plan.success',
|
27
|
+
EXPORT_QUERY_DATA__SUCCESS = 'query-builder.export-query-data.success',
|
26
28
|
|
27
29
|
MAPPING_MODEL_COVERAGE_ANALYSYS__LAUNCH = 'query-builder.mapping-model-coverage-analysis.launch',
|
28
30
|
MAPPING_MODEL_COVERAGE_ANALYSYS__SUCCESS = 'query-builder.mapping-model-coverage-analysis.success',
|
@@ -38,6 +38,10 @@ export class QueryBuilderTelemetryHelper {
|
|
38
38
|
service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__LAUNCH, {});
|
39
39
|
}
|
40
40
|
|
41
|
+
static logEvent_ExportQueryDataLaunched(service: TelemetryService): void {
|
42
|
+
service.logEvent(QUERY_BUILDER_EVENT.EXPORT_QUERY_DATA__LAUNCH, {});
|
43
|
+
}
|
44
|
+
|
41
45
|
static logEvent_ExecutionPlanGenerationLaunched(
|
42
46
|
service: TelemetryService,
|
43
47
|
): void {
|
@@ -55,6 +59,13 @@ export class QueryBuilderTelemetryHelper {
|
|
55
59
|
service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__SUCCESS, data);
|
56
60
|
}
|
57
61
|
|
62
|
+
static logEvent_ExportQueryDatSucceeded(
|
63
|
+
service: TelemetryService,
|
64
|
+
data: QueryExecution_TelemetryData,
|
65
|
+
): void {
|
66
|
+
service.logEvent(QUERY_BUILDER_EVENT.EXPORT_QUERY_DATA__SUCCESS, data);
|
67
|
+
}
|
68
|
+
|
58
69
|
static logEvent_ExecutionPlanGenerationSucceeded(
|
59
70
|
service: TelemetryService,
|
60
71
|
data: QueryExecution_TelemetryData,
|
@@ -538,9 +538,7 @@ export const QueryBuilderResultPanel = observer(
|
|
538
538
|
<PanelContent>
|
539
539
|
<PanelLoadingIndicator
|
540
540
|
isLoading={
|
541
|
-
resultState.isRunningQuery ||
|
542
|
-
resultState.isGeneratingPlan ||
|
543
|
-
resultState.exportDataState.isInProgress
|
541
|
+
resultState.isRunningQuery || resultState.isGeneratingPlan
|
544
542
|
}
|
545
543
|
/>
|
546
544
|
{!executionResult && (
|
@@ -21,7 +21,6 @@ import {
|
|
21
21
|
LogEvent,
|
22
22
|
guaranteeNonNullable,
|
23
23
|
type ContentType,
|
24
|
-
downloadFileUsingDataURI,
|
25
24
|
ActionState,
|
26
25
|
StopWatch,
|
27
26
|
getContentTypeFileExtension,
|
@@ -33,13 +32,12 @@ import {
|
|
33
32
|
type RawLambda,
|
34
33
|
type EXECUTION_SERIALIZATION_FORMAT,
|
35
34
|
GRAPH_MANAGER_EVENT,
|
36
|
-
RawExecutionResult,
|
37
35
|
buildRawLambdaFromLambdaFunction,
|
38
36
|
reportGraphAnalytics,
|
39
|
-
extractExecutionResultValues,
|
40
37
|
} from '@finos/legend-graph';
|
38
|
+
import { downloadStream } from '@finos/legend-lego/download-helper';
|
39
|
+
|
41
40
|
import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
|
42
|
-
import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
|
43
41
|
import {
|
44
42
|
buildExecutionParameterValues,
|
45
43
|
getExecutionQueryFromRawLambda,
|
@@ -86,7 +84,6 @@ type QueryBuilderDataGridConfig = {
|
|
86
84
|
|
87
85
|
export class QueryBuilderResultState {
|
88
86
|
readonly queryBuilderState: QueryBuilderState;
|
89
|
-
readonly exportDataState = ActionState.create();
|
90
87
|
readonly executionPlanState: ExecutionPlanState;
|
91
88
|
|
92
89
|
previewLimit = DEFAULT_LIMIT;
|
@@ -231,18 +228,23 @@ export class QueryBuilderResultState {
|
|
231
228
|
|
232
229
|
*exportData(format: string): GeneratorFn<void> {
|
233
230
|
try {
|
231
|
+
this.queryBuilderState.applicationStore.notificationService.notifySuccess(
|
232
|
+
`Export ${format} will run in background`,
|
233
|
+
);
|
234
234
|
const exportData =
|
235
235
|
this.queryBuilderState.fetchStructureState.implementation.getExportDataInfo(
|
236
236
|
format,
|
237
237
|
);
|
238
238
|
const contentType = exportData.contentType;
|
239
239
|
const serializationFormat = exportData.serializationFormat;
|
240
|
-
this.exportDataState.inProgress();
|
241
240
|
const query = this.buildExecutionRawLambda({
|
242
241
|
isExportingResult: true,
|
243
242
|
});
|
243
|
+
QueryBuilderTelemetryHelper.logEvent_ExportQueryDataLaunched(
|
244
|
+
this.queryBuilderState.applicationStore.telemetryService,
|
245
|
+
);
|
244
246
|
const result =
|
245
|
-
(yield this.queryBuilderState.graphManagerState.graphManager.
|
247
|
+
(yield this.queryBuilderState.graphManagerState.graphManager.exportData(
|
246
248
|
query,
|
247
249
|
this.queryBuilderState.executionContextState.mapping,
|
248
250
|
this.queryBuilderState.executionContextState.runtimeValue,
|
@@ -254,20 +256,32 @@ export class QueryBuilderResultState {
|
|
254
256
|
this.queryBuilderState.graphManagerState,
|
255
257
|
),
|
256
258
|
},
|
257
|
-
)) as
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
259
|
+
)) as ReadableStream;
|
260
|
+
const report = reportGraphAnalytics(
|
261
|
+
this.queryBuilderState.graphManagerState.graph,
|
262
|
+
);
|
263
|
+
downloadStream(
|
264
|
+
result,
|
265
|
+
`result.${getContentTypeFileExtension(contentType)}`,
|
266
|
+
)
|
267
|
+
.then(() => {
|
268
|
+
const reportWithState = Object.assign(
|
269
|
+
{},
|
270
|
+
report,
|
271
|
+
this.queryBuilderState.getStateInfo(),
|
272
|
+
);
|
273
|
+
QueryBuilderTelemetryHelper.logEvent_ExportQueryDatSucceeded(
|
274
|
+
this.queryBuilderState.applicationStore.telemetryService,
|
275
|
+
reportWithState,
|
276
|
+
);
|
277
|
+
})
|
278
|
+
.catch((error) => {
|
279
|
+
assertErrorThrown(error);
|
280
|
+
this.queryBuilderState.applicationStore.logService.error(
|
281
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
282
|
+
error,
|
283
|
+
);
|
284
|
+
});
|
271
285
|
} catch (error) {
|
272
286
|
assertErrorThrown(error);
|
273
287
|
this.queryBuilderState.applicationStore.logService.error(
|
@@ -277,7 +291,6 @@ export class QueryBuilderResultState {
|
|
277
291
|
this.queryBuilderState.applicationStore.notificationService.notifyError(
|
278
292
|
error,
|
279
293
|
);
|
280
|
-
this.exportDataState.fail();
|
281
294
|
}
|
282
295
|
}
|
283
296
|
|