@finos/legend-application-query 13.4.16 → 13.4.18
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/LegendQueryEvent.d.ts +2 -1
- package/lib/__lib__/LegendQueryEvent.d.ts.map +1 -1
- package/lib/__lib__/LegendQueryEvent.js +1 -0
- package/lib/__lib__/LegendQueryEvent.js.map +1 -1
- package/lib/__lib__/LegendQueryUserDataHelper.d.ts +23 -3
- package/lib/__lib__/LegendQueryUserDataHelper.d.ts.map +1 -1
- package/lib/__lib__/LegendQueryUserDataHelper.js +94 -14
- package/lib/__lib__/LegendQueryUserDataHelper.js.map +1 -1
- package/lib/__lib__/LegendQueryUserDataSpaceHelper.d.ts +31 -0
- package/lib/__lib__/LegendQueryUserDataSpaceHelper.d.ts.map +1 -0
- package/lib/__lib__/LegendQueryUserDataSpaceHelper.js +54 -0
- package/lib/__lib__/LegendQueryUserDataSpaceHelper.js.map +1 -0
- package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/Core_LegendQueryApplicationPlugin.js +29 -11
- package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/LegendQueryAppInfo.d.ts +21 -0
- package/lib/components/LegendQueryAppInfo.d.ts.map +1 -0
- package/lib/components/LegendQueryAppInfo.js +46 -0
- package/lib/components/LegendQueryAppInfo.js.map +1 -0
- package/lib/components/QueryEditor.d.ts.map +1 -1
- package/lib/components/QueryEditor.js +8 -7
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/data-space/DataSpaceQuerySetup.js +1 -1
- package/lib/components/data-space/DataSpaceQuerySetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/QueryEditorStore.d.ts +3 -0
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +13 -1
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts +2 -0
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.js +21 -2
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts +10 -2
- package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.js +53 -3
- package/lib/stores/data-space/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +13 -13
- package/src/__lib__/LegendQueryEvent.ts +2 -0
- package/src/__lib__/LegendQueryUserDataHelper.ts +192 -18
- package/src/__lib__/LegendQueryUserDataSpaceHelper.ts +98 -0
- package/src/components/Core_LegendQueryApplicationPlugin.tsx +35 -20
- package/src/components/LegendQueryAppInfo.tsx +153 -0
- package/src/components/QueryEditor.tsx +18 -9
- package/src/components/data-space/DataSpaceQuerySetup.tsx +1 -1
- package/src/stores/QueryEditorStore.ts +19 -0
- package/src/stores/data-space/DataSpaceQueryCreatorStore.ts +59 -0
- package/src/stores/data-space/DataSpaceQuerySetupState.ts +92 -4
- package/tsconfig.json +2 -0
@@ -21,6 +21,7 @@ export declare enum LEGEND_QUERY_APP_EVENT {
|
|
21
21
|
RENAME_QUERY__SUCCESS = "query-editor.rename.query.success",
|
22
22
|
INITIALIZE_QUERY_STATE__SUCCESS = "query-editor.initialize-query-state.success",
|
23
23
|
VIEW_PROJECT__LAUNCH = "query-editor.view-project.launch",
|
24
|
-
VIEW_SDLC_PROJECT__LAUNCH = "query-editor.view-sdlc-project.launch"
|
24
|
+
VIEW_SDLC_PROJECT__LAUNCH = "query-editor.view-sdlc-project.launch",
|
25
|
+
LOCAL_STORAGE_PERSIST_ERROR = "LOCAL_STORAGE_PERSIST_ERROR"
|
25
26
|
}
|
26
27
|
//# sourceMappingURL=LegendQueryEvent.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryEvent.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendQueryEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,sBAAsB;IAEhC,eAAe,gCAAgC;IAE/C,mBAAmB,oCAAoC;IACvD,qBAAqB,sCAAsC;IAC3D,qBAAqB,sCAAsC;IAC3D,qBAAqB,sCAAsC;IAC3D,+BAA+B,gDAAgD;IAE/E,oBAAoB,qCAAqC;IACzD,yBAAyB,0CAA0C;
|
1
|
+
{"version":3,"file":"LegendQueryEvent.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendQueryEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,sBAAsB;IAEhC,eAAe,gCAAgC;IAE/C,mBAAmB,oCAAoC;IACvD,qBAAqB,sCAAsC;IAC3D,qBAAqB,sCAAsC;IAC3D,qBAAqB,sCAAsC;IAC3D,+BAA+B,gDAAgD;IAE/E,oBAAoB,qCAAqC;IACzD,yBAAyB,0CAA0C;IAEnE,2BAA2B,gCAAgC;CAC5D"}
|
@@ -24,5 +24,6 @@ export var LEGEND_QUERY_APP_EVENT;
|
|
24
24
|
LEGEND_QUERY_APP_EVENT["INITIALIZE_QUERY_STATE__SUCCESS"] = "query-editor.initialize-query-state.success";
|
25
25
|
LEGEND_QUERY_APP_EVENT["VIEW_PROJECT__LAUNCH"] = "query-editor.view-project.launch";
|
26
26
|
LEGEND_QUERY_APP_EVENT["VIEW_SDLC_PROJECT__LAUNCH"] = "query-editor.view-sdlc-project.launch";
|
27
|
+
LEGEND_QUERY_APP_EVENT["LOCAL_STORAGE_PERSIST_ERROR"] = "LOCAL_STORAGE_PERSIST_ERROR";
|
27
28
|
})(LEGEND_QUERY_APP_EVENT || (LEGEND_QUERY_APP_EVENT = {}));
|
28
29
|
//# sourceMappingURL=LegendQueryEvent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryEvent.js","sourceRoot":"","sources":["../../src/__lib__/LegendQueryEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"LegendQueryEvent.js","sourceRoot":"","sources":["../../src/__lib__/LegendQueryEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,sBAcX;AAdD,WAAY,sBAAsB;IAChC,wCAAwC;IACxC,yEAA+C,CAAA;IAE/C,iFAAuD,CAAA;IACvD,qFAA2D,CAAA;IAC3D,qFAA2D,CAAA;IAC3D,qFAA2D,CAAA;IAC3D,yGAA+E,CAAA;IAE/E,mFAAyD,CAAA;IACzD,6FAAmE,CAAA;IAEnE,qFAA2D,CAAA;AAC7D,CAAC,EAdW,sBAAsB,KAAtB,sBAAsB,QAcjC"}
|
@@ -14,15 +14,35 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import type { UserDataService } from '@finos/legend-application';
|
17
|
+
import { type SavedVisitedDataSpaces, type VisitedDataspace } from './LegendQueryUserDataSpaceHelper.js';
|
18
|
+
import type { DataSpaceInfo } from '@finos/legend-extension-dsl-data-space/application';
|
17
19
|
export declare enum LEGEND_QUERY_USER_DATA_KEY {
|
18
|
-
RECENTLY_VIEWED_QUERIES = "query-editor.recent-queries"
|
20
|
+
RECENTLY_VIEWED_QUERIES = "query-editor.recent-queries",
|
21
|
+
RECENTLY_VIEWED_DATASPACES = "query-editor.recent-dataSpaces"
|
19
22
|
}
|
20
|
-
|
23
|
+
export declare const USER_DATA_RECENTLY_VIEWED_QUERIES_LIMIT = 10;
|
24
|
+
export declare const USER_DATA_QUERY_DATASPACE_LIMIT = 10;
|
25
|
+
type SavedData = string[];
|
21
26
|
export declare class LegendQueryUserDataHelper {
|
22
|
-
static
|
27
|
+
static getPersistedData(service: UserDataService, key: LEGEND_QUERY_USER_DATA_KEY): SavedData;
|
28
|
+
static persistValue(service: UserDataService, value: string, persistedData: SavedData, opts: {
|
29
|
+
key: LEGEND_QUERY_USER_DATA_KEY;
|
30
|
+
limit: number;
|
31
|
+
}): void;
|
32
|
+
static getRecentlyViewedQueries(service: UserDataService): SavedData;
|
23
33
|
static removeRecentlyViewedQueries(service: UserDataService): void;
|
24
34
|
static removeRecentlyViewedQuery(service: UserDataService, queryId: string): void;
|
25
35
|
static addRecentlyViewedQuery(service: UserDataService, queryId: string): void;
|
36
|
+
static getRecentlyVisitedDataSpaces(service: UserDataService): SavedVisitedDataSpaces;
|
37
|
+
static findRecentlyVisitedDataSpace(service: UserDataService, id: string): VisitedDataspace | undefined;
|
38
|
+
static getRecentlyVisitedDataSpace(service: UserDataService): VisitedDataspace | undefined;
|
39
|
+
static persistVisitedDataspace(service: UserDataService, value: VisitedDataspace, persistedData: SavedVisitedDataSpaces, limit?: number): void;
|
40
|
+
static removeRecentlyViewedDataSpaces(service: UserDataService): void;
|
41
|
+
static removeRecentlyViewedDataSpace(service: UserDataService, id: string): void;
|
42
|
+
static removeDataSpace(service: UserDataService, info: DataSpaceInfo): void;
|
43
|
+
static addRecentlyVistedDatspace(service: UserDataService, info: DataSpaceInfo, execContext: string | undefined): void;
|
44
|
+
static addVisitedDatspace(service: UserDataService, visited: VisitedDataspace): void;
|
45
|
+
static updateVisitedDataSpaceExecContext(service: UserDataService, groupId: string, artifactId: string, dataspace: string, exec: string): boolean;
|
26
46
|
}
|
27
47
|
export {};
|
28
48
|
//# sourceMappingURL=LegendQueryUserDataHelper.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryUserDataHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendQueryUserDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"LegendQueryUserDataHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendQueryUserDataHelper.ts"],"names":[],"mappings":"AAA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,eAAe,GACvB,gBAAgB,GAAG,SAAS;IAI/B,MAAM,CAAC,uBAAuB,CAC5B,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,gBAAgB,EACvB,aAAa,EAAE,sBAAsB,EACrC,KAAK,SAAkC,GACtC,IAAI;IAeP,MAAM,CAAC,8BAA8B,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAOrE,MAAM,CAAC,6BAA6B,CAClC,OAAO,EAAE,eAAe,EACxB,EAAE,EAAE,MAAM,GACT,IAAI;IAgBP,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI;IAO3E,MAAM,CAAC,yBAAyB,CAC9B,OAAO,EAAE,eAAe,EACxB,IAAI,EAAE,aAAa,EACnB,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,IAAI;IAYP,MAAM,CAAC,kBAAkB,CACvB,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAUP,MAAM,CAAC,iCAAiC,CACtC,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,GACX,OAAO;CAYX"}
|
@@ -14,15 +14,18 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { returnUndefOnError } from '@finos/legend-shared';
|
17
|
-
import { createSimpleSchema, deserialize, list, primitive } from 'serializr';
|
17
|
+
import { createSimpleSchema, deserialize, list, primitive, raw, } from 'serializr';
|
18
|
+
import { createVisitedDataspaceFromInfo, createIdFromDataSpaceInfo, createVisitedDataSpaceId, } from './LegendQueryUserDataSpaceHelper.js';
|
18
19
|
export var LEGEND_QUERY_USER_DATA_KEY;
|
19
20
|
(function (LEGEND_QUERY_USER_DATA_KEY) {
|
20
21
|
LEGEND_QUERY_USER_DATA_KEY["RECENTLY_VIEWED_QUERIES"] = "query-editor.recent-queries";
|
22
|
+
LEGEND_QUERY_USER_DATA_KEY["RECENTLY_VIEWED_DATASPACES"] = "query-editor.recent-dataSpaces";
|
21
23
|
})(LEGEND_QUERY_USER_DATA_KEY || (LEGEND_QUERY_USER_DATA_KEY = {}));
|
22
|
-
const USER_DATA_RECENTLY_VIEWED_QUERIES_LIMIT = 10;
|
24
|
+
export const USER_DATA_RECENTLY_VIEWED_QUERIES_LIMIT = 10;
|
25
|
+
export const USER_DATA_QUERY_DATASPACE_LIMIT = 10;
|
23
26
|
export class LegendQueryUserDataHelper {
|
24
|
-
static
|
25
|
-
const data = service.getObjectValue(
|
27
|
+
static getPersistedData(service, key) {
|
28
|
+
const data = service.getObjectValue(key);
|
26
29
|
return (
|
27
30
|
// TODO: think of a better way to deserialize this data, maybe like settings, use JSON schema
|
28
31
|
// See https://github.com/finos/legend-studio/issues/407
|
@@ -32,6 +35,23 @@ export class LegendQueryUserDataHelper {
|
|
32
35
|
data,
|
33
36
|
}).data) ?? []);
|
34
37
|
}
|
38
|
+
static persistValue(service, value, persistedData, opts) {
|
39
|
+
const idx = persistedData.findIndex((data) => data === value);
|
40
|
+
if (idx === -1) {
|
41
|
+
if (persistedData.length >= opts.limit) {
|
42
|
+
persistedData.pop();
|
43
|
+
}
|
44
|
+
persistedData.unshift(value);
|
45
|
+
}
|
46
|
+
else {
|
47
|
+
persistedData.splice(idx, 1);
|
48
|
+
persistedData.unshift(value);
|
49
|
+
}
|
50
|
+
service.persistValue(opts.key, persistedData);
|
51
|
+
}
|
52
|
+
static getRecentlyViewedQueries(service) {
|
53
|
+
return LegendQueryUserDataHelper.getPersistedData(service, LEGEND_QUERY_USER_DATA_KEY.RECENTLY_VIEWED_QUERIES);
|
54
|
+
}
|
35
55
|
static removeRecentlyViewedQueries(service) {
|
36
56
|
service.persistValue(LEGEND_QUERY_USER_DATA_KEY.RECENTLY_VIEWED_QUERIES, []);
|
37
57
|
}
|
@@ -46,21 +66,81 @@ export class LegendQueryUserDataHelper {
|
|
46
66
|
}
|
47
67
|
static addRecentlyViewedQuery(service, queryId) {
|
48
68
|
const queries = LegendQueryUserDataHelper.getRecentlyViewedQueries(service);
|
49
|
-
|
69
|
+
LegendQueryUserDataHelper.persistValue(service, queryId, queries, {
|
70
|
+
limit: USER_DATA_RECENTLY_VIEWED_QUERIES_LIMIT,
|
71
|
+
key: LEGEND_QUERY_USER_DATA_KEY.RECENTLY_VIEWED_QUERIES,
|
72
|
+
});
|
73
|
+
}
|
74
|
+
// DataSpaces
|
75
|
+
static getRecentlyVisitedDataSpaces(service) {
|
76
|
+
const data = service.getObjectValue(LEGEND_QUERY_USER_DATA_KEY.RECENTLY_VIEWED_DATASPACES);
|
77
|
+
return (
|
78
|
+
// TODO: think of a better way to deserialize this data, maybe like settings, use JSON schema
|
79
|
+
// See https://github.com/finos/legend-studio/issues/407
|
80
|
+
returnUndefOnError(() => deserialize(createSimpleSchema({
|
81
|
+
data: raw(),
|
82
|
+
}), {
|
83
|
+
data,
|
84
|
+
}).data) ?? []);
|
85
|
+
}
|
86
|
+
static findRecentlyVisitedDataSpace(service, id) {
|
87
|
+
return LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(service).find((v) => v.id === id);
|
88
|
+
}
|
89
|
+
static getRecentlyVisitedDataSpace(service) {
|
90
|
+
return LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(service)[0];
|
91
|
+
}
|
92
|
+
static persistVisitedDataspace(service, value, persistedData, limit = USER_DATA_QUERY_DATASPACE_LIMIT) {
|
93
|
+
const key = LEGEND_QUERY_USER_DATA_KEY.RECENTLY_VIEWED_DATASPACES;
|
94
|
+
const idx = persistedData.findIndex((data) => data.id === value.id);
|
50
95
|
if (idx === -1) {
|
51
|
-
if (
|
52
|
-
|
53
|
-
}
|
54
|
-
else {
|
55
|
-
queries.pop();
|
56
|
-
queries.unshift(queryId);
|
96
|
+
if (persistedData.length >= limit) {
|
97
|
+
persistedData.pop();
|
57
98
|
}
|
99
|
+
persistedData.unshift(value);
|
58
100
|
}
|
59
101
|
else {
|
60
|
-
|
61
|
-
|
102
|
+
persistedData.splice(idx, 1);
|
103
|
+
persistedData.unshift(value);
|
62
104
|
}
|
63
|
-
service.persistValue(
|
105
|
+
service.persistValue(key, persistedData);
|
106
|
+
}
|
107
|
+
static removeRecentlyViewedDataSpaces(service) {
|
108
|
+
service.persistValue(LEGEND_QUERY_USER_DATA_KEY.RECENTLY_VIEWED_DATASPACES, []);
|
109
|
+
}
|
110
|
+
static removeRecentlyViewedDataSpace(service, id) {
|
111
|
+
const dataSpaces = LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(service);
|
112
|
+
const idx = dataSpaces.findIndex((visitedDataspace) => visitedDataspace.id === id);
|
113
|
+
if (idx === -1) {
|
114
|
+
return;
|
115
|
+
}
|
116
|
+
dataSpaces.splice(idx, 1);
|
117
|
+
service.persistValue(LEGEND_QUERY_USER_DATA_KEY.RECENTLY_VIEWED_QUERIES, dataSpaces);
|
118
|
+
}
|
119
|
+
static removeDataSpace(service, info) {
|
120
|
+
const id = createIdFromDataSpaceInfo(info);
|
121
|
+
if (id) {
|
122
|
+
LegendQueryUserDataHelper.removeRecentlyViewedDataSpace(service, id);
|
123
|
+
}
|
124
|
+
}
|
125
|
+
static addRecentlyVistedDatspace(service, info, execContext) {
|
126
|
+
const visited = createVisitedDataspaceFromInfo(info, execContext);
|
127
|
+
if (visited) {
|
128
|
+
const dataspaces = LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(service);
|
129
|
+
LegendQueryUserDataHelper.persistVisitedDataspace(service, visited, dataspaces);
|
130
|
+
}
|
131
|
+
}
|
132
|
+
static addVisitedDatspace(service, visited) {
|
133
|
+
const dataspaces = LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(service);
|
134
|
+
LegendQueryUserDataHelper.persistVisitedDataspace(service, visited, dataspaces);
|
135
|
+
}
|
136
|
+
static updateVisitedDataSpaceExecContext(service, groupId, artifactId, dataspace, exec) {
|
137
|
+
const visited = LegendQueryUserDataHelper.findRecentlyVisitedDataSpace(service, createVisitedDataSpaceId(groupId, artifactId, dataspace));
|
138
|
+
if (visited) {
|
139
|
+
visited.execContext = exec;
|
140
|
+
LegendQueryUserDataHelper.addVisitedDatspace(service, visited);
|
141
|
+
return true;
|
142
|
+
}
|
143
|
+
return false;
|
64
144
|
}
|
65
145
|
}
|
66
146
|
//# sourceMappingURL=LegendQueryUserDataHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryUserDataHelper.js","sourceRoot":"","sources":["../../src/__lib__/LegendQueryUserDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,
|
1
|
+
{"version":3,"file":"LegendQueryUserDataHelper.js","sourceRoot":"","sources":["../../src/__lib__/LegendQueryUserDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,SAAS,EACT,GAAG,GACJ,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,wBAAwB,GAGzB,MAAM,qCAAqC,CAAC;AAG7C,MAAM,CAAN,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,qFAAuD,CAAA;IACvD,2FAA6D,CAAA;AAC/D,CAAC,EAHW,0BAA0B,KAA1B,0BAA0B,QAGrC;AAED,MAAM,CAAC,MAAM,uCAAuC,GAAG,EAAE,CAAC;AAC1D,MAAM,CAAC,MAAM,+BAA+B,GAAG,EAAE,CAAC;AAIlD,MAAM,OAAO,yBAAyB;IACpC,MAAM,CAAC,gBAAgB,CACrB,OAAwB,EACxB,GAA+B;QAE/B,MAAM,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QACzC,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AAO,EAAE,OAAO,CAAC,CAAC;YAC/D,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import type { DataSpaceInfo } from '@finos/legend-extension-dsl-data-space/application';
|
17
|
+
export interface VisitedDataspace {
|
18
|
+
id: string;
|
19
|
+
groupId: string;
|
20
|
+
artifactId: string;
|
21
|
+
path: string;
|
22
|
+
versionId: string | undefined;
|
23
|
+
execContext?: string | undefined;
|
24
|
+
}
|
25
|
+
export type SavedVisitedDataSpaces = VisitedDataspace[];
|
26
|
+
export declare const createVisitedDataSpaceId: (groupId: string, artifactId: string, dataSpace: string) => string;
|
27
|
+
export declare const createIdFromDataSpaceInfo: (info: DataSpaceInfo) => string | undefined;
|
28
|
+
export declare const createSimpleVisitedDataspace: (groupId: string, artifactId: string, versionId: string | undefined, path: string, exec: string | undefined) => VisitedDataspace;
|
29
|
+
export declare const createVisitedDataspaceFromInfo: (info: DataSpaceInfo, execContext: string | undefined) => VisitedDataspace | undefined;
|
30
|
+
export declare const hasDataSpaceInfoBeenVisited: (val: DataSpaceInfo, visited: SavedVisitedDataSpaces) => boolean;
|
31
|
+
//# sourceMappingURL=LegendQueryUserDataSpaceHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LegendQueryUserDataSpaceHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendQueryUserDataSpaceHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAGxF,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,EAAE,CAAC;AAExD,eAAO,MAAM,wBAAwB,YAC1B,MAAM,cACH,MAAM,aACP,MAAM,KAChB,MAIQ,CAAC;AAEZ,eAAO,MAAM,yBAAyB,SAC9B,aAAa,KAClB,MAAM,GAAG,SAOX,CAAC;AAEF,eAAO,MAAM,4BAA4B,YAC9B,MAAM,cACH,MAAM,aACP,MAAM,GAAG,SAAS,QACvB,MAAM,QACN,MAAM,GAAG,SAAS,KACvB,gBAOD,CAAC;AAEH,eAAO,MAAM,8BAA8B,SACnC,aAAa,eACN,MAAM,GAAG,SAAS,KAC9B,gBAAgB,GAAG,SAerB,CAAC;AAEF,eAAO,MAAM,2BAA2B,QACjC,aAAa,sCAEjB,OAQA,CAAC"}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { GAV_DELIMITER, generateGAVCoordinates } from '@finos/legend-storage';
|
17
|
+
export const createVisitedDataSpaceId = (groupId, artifactId, dataSpace) =>
|
18
|
+
// we will consider unique dataSpace if it belongs to the same project. i.e we will not save 2 dataspaces visited for 2 different versionss
|
19
|
+
generateGAVCoordinates(groupId, artifactId, undefined) +
|
20
|
+
GAV_DELIMITER +
|
21
|
+
dataSpace;
|
22
|
+
export const createIdFromDataSpaceInfo = (info) => {
|
23
|
+
const groupId = info.groupId;
|
24
|
+
const artifactId = info.artifactId;
|
25
|
+
if (groupId && artifactId) {
|
26
|
+
return createVisitedDataSpaceId(groupId, artifactId, info.path);
|
27
|
+
}
|
28
|
+
return undefined;
|
29
|
+
};
|
30
|
+
export const createSimpleVisitedDataspace = (groupId, artifactId, versionId, path, exec) => ({
|
31
|
+
id: createVisitedDataSpaceId(groupId, artifactId, path),
|
32
|
+
groupId,
|
33
|
+
artifactId,
|
34
|
+
versionId,
|
35
|
+
path,
|
36
|
+
execContext: exec,
|
37
|
+
});
|
38
|
+
export const createVisitedDataspaceFromInfo = (info, execContext) => {
|
39
|
+
const groupId = info.groupId;
|
40
|
+
const artifactId = info.artifactId;
|
41
|
+
const versionId = info.versionId;
|
42
|
+
const path = info.path;
|
43
|
+
if (groupId && artifactId) {
|
44
|
+
return createSimpleVisitedDataspace(groupId, artifactId, versionId, path, execContext);
|
45
|
+
}
|
46
|
+
return undefined;
|
47
|
+
};
|
48
|
+
export const hasDataSpaceInfoBeenVisited = (val, visited) => Boolean(visited.find((_visit) => {
|
49
|
+
if (_visit.id === createIdFromDataSpaceInfo(val)) {
|
50
|
+
return true;
|
51
|
+
}
|
52
|
+
return false;
|
53
|
+
}));
|
54
|
+
//# sourceMappingURL=LegendQueryUserDataSpaceHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LegendQueryUserDataSpaceHelper.js","sourceRoot":"","sources":["../../src/__lib__/LegendQueryUserDataSpaceHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAa9E,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,OAAe,EACf,UAAkB,EAClB,SAAiB,EACT,EAAE;AACV,2IAA2I;AAC3I,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC;IACtD,aAAa;IACb,SAAS,CAAC;AAEZ,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,IAAmB,EACC,EAAE;IACtB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;IAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;IACnC,IAAI,OAAO,IAAI,UAAU,EAAE,CAAC;QAC1B,OAAO,wBAAwB,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,OAAe,EACf,UAAkB,EAClB,SAA6B,EAC7B,IAAY,EACZ,IAAwB,EACN,EAAE,CAAC,CAAC;IACtB,EAAE,EAAE,wBAAwB,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC;IACvD,OAAO;IACP,UAAU;IACV,SAAS;IACT,IAAI;IACJ,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC5C,IAAmB,EACnB,WAA+B,EACD,EAAE;IAChC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;IAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;IACnC,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IACjC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;IACvB,IAAI,OAAO,IAAI,UAAU,EAAE,CAAC;QAC1B,OAAO,4BAA4B,CACjC,OAAO,EACP,UAAU,EACV,SAAS,EACT,IAAI,EACJ,WAAW,CACZ,CAAC;IACJ,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,GAAkB,EAClB,OAA+B,EACtB,EAAE,CACX,OAAO,CACL,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;IACtB,IAAI,MAAM,CAAC,EAAE,KAAK,yBAAyB,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC,CACH,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AA+BnD,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAanC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACzC,MAAM,6BAA6B,CAAC;
|
1
|
+
{"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AA+BnD,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAanC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACzC,MAAM,6BAA6B,CAAC;AAkBrC,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;IAyGlF,kDAAkD,CAAC,IAAI,mCAAmC,EAAE;IAuE5F,gDAAgD,CAAC,IAAI,mCAAmC,EAAE;IA0F1F,8CAA8C,CAAC,IAAI,qCAAqC,EAAE;IA2M1F,6CAA6C,CAAC,IAAI,qCAAqC;CAmDxF"}
|
@@ -26,7 +26,7 @@ import { LoadProjectServiceQuerySetup } from './LoadProjectServiceQuerySetup.js'
|
|
26
26
|
import { configureCodeEditorComponent, setupPureLanguageService, } from '@finos/legend-lego/code-editor';
|
27
27
|
import { generateDataSpaceQueryCreatorRoute, generateDataSpaceQuerySetupRoute, } from '../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
|
28
28
|
import {} from '@finos/legend-query-builder';
|
29
|
-
import { ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication,
|
29
|
+
import { ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, createViewSDLCProjectHandler, } from '../stores/QueryEditorStore.js';
|
30
30
|
import { DataSpaceQueryBuilderState, generateDataSpaceTemplateQueryPromotionRoute, } from '@finos/legend-extension-dsl-data-space/application';
|
31
31
|
import { RuntimePointer } from '@finos/legend-graph';
|
32
32
|
import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
|
@@ -209,6 +209,16 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
|
|
209
209
|
key: 'about-query-info',
|
210
210
|
title: 'Get Query Info',
|
211
211
|
label: 'About Query Info',
|
212
|
+
disableFunc: (queryBuilderState) => {
|
213
|
+
if (queryBuilderState.workflowState.actionConfig instanceof
|
214
|
+
QueryBuilderActionConfig_QueryApplication) {
|
215
|
+
const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
|
216
|
+
if (editorStore instanceof ExistingQueryEditorStore) {
|
217
|
+
return false;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
return true;
|
221
|
+
},
|
212
222
|
onClick: (queryBuilderState) => {
|
213
223
|
if (queryBuilderState.workflowState.actionConfig instanceof
|
214
224
|
QueryBuilderActionConfig_QueryApplication) {
|
@@ -221,31 +231,39 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
|
|
221
231
|
icon: _jsx(InfoCircleIcon, {}),
|
222
232
|
},
|
223
233
|
{
|
224
|
-
key: 'about-query-project',
|
234
|
+
key: 'about-query-sdlc-project',
|
225
235
|
title: 'Go to Project',
|
226
236
|
label: 'Go to Project',
|
237
|
+
disableFunc: (queryBuilderState) => {
|
238
|
+
if (queryBuilderState.workflowState.actionConfig instanceof
|
239
|
+
QueryBuilderActionConfig_QueryApplication) {
|
240
|
+
const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
|
241
|
+
if (editorStore instanceof ExistingQueryEditorStore) {
|
242
|
+
return false;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
return true;
|
246
|
+
},
|
227
247
|
onClick: (queryBuilderState) => {
|
228
248
|
if (queryBuilderState.workflowState.actionConfig instanceof
|
229
249
|
QueryBuilderActionConfig_QueryApplication) {
|
230
250
|
const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
|
231
|
-
LegendQueryTelemetryHelper.
|
232
|
-
const { groupId, artifactId
|
233
|
-
|
251
|
+
LegendQueryTelemetryHelper.logEvent_QueryViewSdlcProjectLaunched(editorStore.applicationStore.telemetryService);
|
252
|
+
const { groupId, artifactId } = editorStore.getProjectInfo();
|
253
|
+
createViewSDLCProjectHandler(editorStore.applicationStore, editorStore.depotServerClient)(groupId, artifactId, undefined).catch(editorStore.applicationStore.alertUnhandledError);
|
234
254
|
}
|
235
255
|
},
|
236
256
|
icon: _jsx(InfoCircleIcon, {}),
|
237
257
|
},
|
238
258
|
{
|
239
|
-
key: 'about-query
|
240
|
-
title: '
|
241
|
-
label: '
|
259
|
+
key: 'about-legend-query',
|
260
|
+
title: 'About Legend Query',
|
261
|
+
label: 'About Legend Query',
|
242
262
|
onClick: (queryBuilderState) => {
|
243
263
|
if (queryBuilderState.workflowState.actionConfig instanceof
|
244
264
|
QueryBuilderActionConfig_QueryApplication) {
|
245
265
|
const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
|
246
|
-
|
247
|
-
const { groupId, artifactId } = editorStore.getProjectInfo();
|
248
|
-
createViewSDLCProjectHandler(editorStore.applicationStore, editorStore.depotServerClient)(groupId, artifactId, undefined).catch(editorStore.applicationStore.alertUnhandledError);
|
266
|
+
editorStore.setShowAppInfo(true);
|
249
267
|
}
|
250
268
|
},
|
251
269
|
icon: _jsx(InfoCircleIcon, {}),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GAEpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,SAAS,EACT,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qC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AAO,CACL,cAAK,SAAS,EAAC,+BAA+B,YAC3C,gBAAgB,EAAE,GACf,CACP,CAAC;gBACJ,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC"}
|
1
|
+
{"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GAEpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,SAAS,EACT,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qCAAqC,EACrC,uCAAuC,EACvC,0BAA0B,GAC3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,eAAe,GAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,kCAAkC,EAClC,gCAAgC,GACjC,MAAM,mDAAmD,CAAC;AAC3D,O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,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
export declare const LegendQueryInfo: React.FC<{
|
18
|
+
open: boolean;
|
19
|
+
closeModal: () => void;
|
20
|
+
}>;
|
21
|
+
//# sourceMappingURL=LegendQueryAppInfo.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LegendQueryAppInfo.d.ts","sourceRoot":"","sources":["../../src/components/LegendQueryAppInfo.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgBH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAuHA,CAAC"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { CopyIcon, Dialog, InfoCircleIcon, Modal, ModalBody, ModalHeader, ModalHeaderActions, ModalTitle, TimesIcon, } from '@finos/legend-art';
|
18
|
+
import { isNonNullable } from '@finos/legend-shared';
|
19
|
+
import { useQueryEditorStore } from './QueryEditorStoreProvider.js';
|
20
|
+
export const LegendQueryInfo = (props) => {
|
21
|
+
const { open, closeModal } = props;
|
22
|
+
const editorStore = useQueryEditorStore();
|
23
|
+
const applicationStore = editorStore.applicationStore;
|
24
|
+
const config = applicationStore.config;
|
25
|
+
const copyInfo = () => {
|
26
|
+
applicationStore.clipboardService
|
27
|
+
.copyTextToClipboard([
|
28
|
+
`Environment: ${config.env}`,
|
29
|
+
`Version: ${config.appVersion}`,
|
30
|
+
`Revision: ${config.appVersionCommitId}`,
|
31
|
+
`Build Time: ${config.appVersionBuildTime}`,
|
32
|
+
`Engine Server: ${config.engineServerUrl}`,
|
33
|
+
`Depot Server: ${config.depotServerUrl}`,
|
34
|
+
]
|
35
|
+
.filter(isNonNullable)
|
36
|
+
.join('\n'))
|
37
|
+
.then(() => applicationStore.notificationService.notifySuccess('Copied application info to clipboard'))
|
38
|
+
.catch(applicationStore.alertUnhandledError);
|
39
|
+
};
|
40
|
+
const goToReleaseLog = () => {
|
41
|
+
closeModal();
|
42
|
+
applicationStore.releaseNotesService.setReleaseLog(true);
|
43
|
+
};
|
44
|
+
return (_jsx(Dialog, { onClose: closeModal, open: open, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal--scrollable app__info", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { icon: _jsx(InfoCircleIcon, {}), title: "About Legend Query" }), _jsxs(ModalHeaderActions, { children: [_jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: copyInfo, title: "Copy application info", children: _jsx(CopyIcon, {}) }), _jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: closeModal, children: _jsx(TimesIcon, {}) })] })] }), _jsxs(ModalBody, { children: [_jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Environment:" }), _jsx("div", { className: "app__info__entry__value", children: config.env })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Version:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersion })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Revision:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersionCommitId })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Build Time:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersionBuildTime })] }), _jsx("div", { className: "app__info__entry", children: _jsx("div", { onClick: goToReleaseLog, className: "app__info__entry__value app__info__entry__value__action", children: "Details of Released Versions" }) }), _jsxs("div", { className: "app__info__group", children: [_jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Engine Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.engineServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.engineServerUrl }) })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Depot Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.depotServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.depotServerUrl }) })] })] })] })] }) }));
|
45
|
+
};
|
46
|
+
//# sourceMappingURL=LegendQueryAppInfo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LegendQueryAppInfo.js","sourceRoot":"","sources":["../../src/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AC,kBAAkB,YAC/B,cACE,OAAO,EAAE,cAAc,EACvB,SAAS,EAAC,yDAAyD,6CAG/D,GACF,EACN,eAAK,SAAS,EAAC,kBAAkB,aAC/B,eAAK,SAAS,EAAC,kBAAkB,aAC/B,cAAK,SAAS,EAAC,yBAAyB,+BAAqB,EAC7D,cAAK,SAAS,EAAC,yBAAyB,YACtC,YACE,IAAI,EAAE,MAAM,CAAC,eAAe,EAC5B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,YAExB,MAAM,CAAC,eAAe,GACrB,GACA,IACF,EACN,eAAK,SAAS,EAAC,kBAAkB,aAC/B,cAAK,SAAS,EAAC,yBAAyB,8BAAoB,EAC5D,cAAK,SAAS,EAAC,yBAAyB,YACtC,YACE,IAAI,EAAE,MAAM,CAAC,cAAc,EAC3B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,YAExB,MAAM,CAAC,cAAc,GACpB,GACA,IACF,IACF,IACI,IACN,GACD,CACV,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;
|
1
|
+
{"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAezE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AA2LrC,eAAO,MAAM,8BAA8B,WACjC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;;CAqHF,CAAC;AAsLF,eAAO,MAAM,WAAW;;CA8KtB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAS9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAmB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC"}
|