@finos/legend-application-studio 28.18.26 → 28.18.28
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/LegendStudioNavigation.d.ts +1 -0
- package/lib/__lib__/LegendStudioNavigation.d.ts.map +1 -1
- package/lib/__lib__/LegendStudioNavigation.js +1 -0
- package/lib/__lib__/LegendStudioNavigation.js.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.d.ts +4 -0
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js +5 -0
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioWebApplication.js +8 -3
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +3 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +10 -4
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.d.ts.map +1 -1
- package/lib/components/editor/Editor.js +14 -2
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/ShowcaseSideBar.d.ts +24 -0
- package/lib/components/editor/ShowcaseSideBar.d.ts.map +1 -0
- package/lib/components/editor/ShowcaseSideBar.js +36 -0
- package/lib/components/editor/ShowcaseSideBar.js.map +1 -0
- package/lib/components/pct/PureCompatibilityTest.d.ts +19 -0
- package/lib/components/pct/PureCompatibilityTest.d.ts.map +1 -0
- package/lib/components/pct/PureCompatibilityTest.js +27 -0
- package/lib/components/pct/PureCompatibilityTest.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/EditorStore.d.ts +3 -0
- package/lib/stores/editor/EditorStore.d.ts.map +1 -1
- package/lib/stores/editor/EditorStore.js +18 -2
- package/lib/stores/editor/EditorStore.js.map +1 -1
- package/package.json +5 -5
- package/src/__lib__/LegendStudioNavigation.ts +1 -0
- package/src/application/LegendStudioApplicationConfig.ts +9 -0
- package/src/components/LegendStudioWebApplication.tsx +18 -1
- package/src/components/editor/ActivityBar.tsx +15 -4
- package/src/components/editor/Editor.tsx +32 -2
- package/src/components/editor/ShowcaseSideBar.tsx +66 -0
- package/src/components/pct/PureCompatibilityTest.tsx +35 -0
- package/src/stores/editor/EditorStore.ts +25 -2
- package/tsconfig.json +2 -0
@@ -55,6 +55,7 @@ export declare const LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN: Readonly<{
|
|
55
55
|
VIEW_BY_GAV_ENTITY: "/view/archive/:gav/entity/:entityPath";
|
56
56
|
PREVIEW_BY_GAV_ENTITY: "/view/archive/:gav/entity/:entityPath/preview";
|
57
57
|
SHOWCASE_PROJECT: "/showcase/*";
|
58
|
+
PCT_REPORT: "/pct";
|
58
59
|
}>;
|
59
60
|
export type ProjectReviewerPathParams = {
|
60
61
|
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID]: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendStudioNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendStudioNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAI1D,oBAAY,iCAAiC;IAC3C,aAAa,iBAAiB;IAC9B,UAAU,cAAc;IACxB,wBAAwB,0BAA0B;IAClD,YAAY,gBAAgB;IAC5B,kBAAkB,qBAAqB;IACvC,WAAW,eAAe;IAC1B,UAAU,cAAc;IACxB,SAAS,aAAa;IACtB,WAAW,eAAe;IAC1B,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;EAuBtC,CAAC;AAEH,eAAO,MAAM,yCAAyC
|
1
|
+
{"version":3,"file":"LegendStudioNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendStudioNavigation.ts"],"names":[],"mappings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MAGzD,CAAC;AAEL,eAAO,MAAM,uBAAuB,cACvB,MAAM,cACL,MAAM,KACjB,MAIC,CAAC;AAEL,eAAO,MAAM,wBAAwB,cACxB,MAAM,aACN,MAAM,eACJ,MAAM,GAAG,SAAS,KAC9B,MAUK,CAAC;AAET,eAAO,MAAM,yBAAyB,cACzB,MAAM,cACL,MAAM,eACL,MAAM,GAAG,SAAS,KAC9B,MAUK,CAAC;AAET,eAAO,MAAM,6BAA6B,YAC/B,MAAM,cACH,MAAM,aACP,MAAM,GAAG,SAAS,eAChB,MAAM,GAAG,SAAS,KAC9B,MAWI,CAAC;AAER,eAAO,MAAM,2BAA2B,YAC7B,MAAM,cACH,MAAM,aACP,MAAM,GAAG,SAAS,cACjB,MAAM,KACjB,MAOA,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,+DAA+D,wBACrD,MAAM,WAClB,MAAM,cACH,MAAM,aACP,MAAM,eACJ,MAAM,KAClB,MAKiB,CAAC;AAErB,eAAO,MAAM,oBAAoB,gBAAiB,MAAM,KAAG,MAGvD,CAAC"}
|
@@ -59,6 +59,7 @@ export const LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN = Object.freeze({
|
|
59
59
|
VIEW_BY_GAV_ENTITY: `/view/archive/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GAV}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}`,
|
60
60
|
PREVIEW_BY_GAV_ENTITY: `/view/archive/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GAV}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}/preview`,
|
61
61
|
SHOWCASE_PROJECT: `/showcase/*`,
|
62
|
+
PCT_REPORT: '/pct',
|
62
63
|
});
|
63
64
|
const generateGroupWorkspaceSetupRoute = (projectId, patchReleaseVersionId, groupWorkspaceId) => patchReleaseVersionId
|
64
65
|
? generatePath(LEGEND_STUDIO_ROUTE_PATTERN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OAAO,EACP,UAAU,EACV,SAAS,CACV,IAAI,WAAW,EAAE,CAAC;AAErB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,WAAmB,EAAU,EAAE,CAClE,YAAY,CAAC,yCAAyC,CAAC,gBAAgB,EAAE;IACvE,CAAC,EAAE,WAAW;CACf,CAAC,CAAC"}
|
@@ -90,6 +90,9 @@ export interface LegendStudioApplicationConfigurationData extends LegendApplicat
|
|
90
90
|
showcase?: {
|
91
91
|
url: string;
|
92
92
|
};
|
93
|
+
pct?: {
|
94
|
+
reportUrl: string;
|
95
|
+
};
|
93
96
|
}
|
94
97
|
export declare class LegendStudioApplicationConfig extends LegendApplicationConfig {
|
95
98
|
readonly options: LegendStudioApplicationCoreOptions;
|
@@ -100,6 +103,7 @@ export declare class LegendStudioApplicationConfig extends LegendApplicationConf
|
|
100
103
|
readonly sdlcServerBaseHeaders?: RequestHeaders | undefined;
|
101
104
|
readonly queryApplicationUrl?: string | undefined;
|
102
105
|
readonly showcaseServerUrl?: string | undefined;
|
106
|
+
readonly pctReportUrl?: string | undefined;
|
103
107
|
constructor(input: LegendApplicationConfigurationInput<LegendStudioApplicationConfigurationData>);
|
104
108
|
getDefaultApplicationStorageKey(): string;
|
105
109
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendStudioApplicationConfig.d.ts","sourceRoot":"","sources":["../../src/application/LegendStudioApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EAGnB,oBAAoB,EAErB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,KAAK,mCAAmC,EACxC,KAAK,kCAAkC,EACxC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,qBAAa,oCAAoC;IAC/C,GAAG,EAAG,MAAM,CAAC;IACb,YAAY,EAAG,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAM;IACrB,aAAa,EAAG,MAAM,CAAC;IAEvB,MAAM,CAAC,QAAQ,CAAC,aAAa,6DAO3B;CACH;AAED,cAAM,kCAAkC;IACtC;;;;OAIG;IACH,4BAA4B,UAAS;IACrC,gCAAgC,SAAwB;IAExD;;;OAGG;IACH,wBAAwB,UAAS;IAEjC;;;;;;OAMG;IACH,+BAA+B,UAAS;IAExC;;;;OAIG;IACH,uCAAuC,UAAS;IAEhD;;;OAGG;IACH,0CAA0C,UAAS;IAEnD;;;;;;;;OAQG;IACH,oCAAoC,EAAE,oCAAoC,EAAE,CACvE;IAEL;;OAEG;IACH,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAEnD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAenC;IAEF,MAAM,CAAC,MAAM,CACX,UAAU,EAAE,WAAW,CAAC,kCAAkC,CAAC,GAC1D,kCAAkC;CAKtC;AAED,MAAM,WAAW,wCACf,SAAQ,kCAAkC;IAC1C,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,cAAc,CAAA;KAAE,CAAC;IACpD,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACvB,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,KAAK,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACxB,QAAQ,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;
|
1
|
+
{"version":3,"file":"LegendStudioApplicationConfig.d.ts","sourceRoot":"","sources":["../../src/application/LegendStudioApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EAGnB,oBAAoB,EAErB,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AE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3B,GAAG,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7B;AAED,qBAAa,6BAA8B,SAAQ,uBAAuB;IACxE,QAAQ,CAAC,OAAO,qCAA4C;IAE5D,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,qBAAqB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAGzC,KAAK,EAAE,mCAAmC,CAAC,wCAAwC,CAAC;IAyE7E,+BAA+B,IAAI,MAAM;CAGnD"}
|
@@ -98,6 +98,7 @@ export class LegendStudioApplicationConfig extends LegendApplicationConfig {
|
|
98
98
|
sdlcServerBaseHeaders;
|
99
99
|
queryApplicationUrl;
|
100
100
|
showcaseServerUrl;
|
101
|
+
pctReportUrl;
|
101
102
|
constructor(input) {
|
102
103
|
super(input);
|
103
104
|
// engine
|
@@ -121,6 +122,10 @@ export class LegendStudioApplicationConfig extends LegendApplicationConfig {
|
|
121
122
|
if (input.configData.showcase?.url) {
|
122
123
|
this.showcaseServerUrl = LegendApplicationConfig.resolveAbsoluteUrl(input.configData.showcase.url);
|
123
124
|
}
|
125
|
+
// pct
|
126
|
+
if (input.configData.pct?.reportUrl) {
|
127
|
+
this.pctReportUrl = LegendApplicationConfig.resolveAbsoluteUrl(input.configData.pct.reportUrl);
|
128
|
+
}
|
124
129
|
// options
|
125
130
|
this.options = LegendStudioApplicationCoreOptions.create(input.configData.extensions?.core ?? {});
|
126
131
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendStudioApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendStudioApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,GACV,MAAM,WAAW,CAAC;AACnB,OAAO,EAGL,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,GAGxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,OAAO,oCAAoC;IAC/C,GAAG,CAAU;IACb,YAAY,CAAU;IACtB,KAAK,GAAa,EAAE,CAAC;IACrB,aAAa,CAAU;IAEvB,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,oCAAoC,EAAE;QACtD,GAAG,EAAE,SAAS,EAAE;QAChB,YAAY,EAAE,SAAS,EAAE;QACzB,aAAa,EAAE,SAAS,EAAE;QAC1B,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;KACzB,CAAC,CACH,CAAC;;AAGJ,MAAM,kCAAkC;IACtC;;;;OAIG;IACH,4BAA4B,GAAG,KAAK,CAAC;IACrC,gCAAgC,GAAG,oBAAoB,CAAC;IAExD;;;OAGG;IACH,wBAAwB,GAAG,KAAK,CAAC;IAEjC;;;;;;OAMG;IACH,+BAA+B,GAAG,KAAK,CAAC;IAExC;;;;OAIG;IACH,uCAAuC,GAAG,KAAK,CAAC;IAEhD;;;OAGG;IACH,0CAA0C,GAAG,KAAK,CAAC;IAEnD;;;;;;;;OAQG;IACH,oCAAoC,GAClC,EAAE,CAAC;IAEL;;OAEG;IACH,kBAAkB,CAAiC;IAE3C,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CAC9D,iBAAiB,CAAC,kCAAkC,EAAE;QACpD,4BAA4B,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QACnD,gCAAgC,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QACvD,+BAA+B,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QACtD,0CAA0C,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QACjE,uCAAuC,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAC9D,wBAAwB,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAC/C,oCAAoC,EAAE,IAAI,CACxC,MAAM,CAAC,oCAAoC,CAAC,CAC7C;QACD,kBAAkB,EAAE,QAAQ,CAC1B,gBAAgB,CAAC,kBAAkB,CAAC,aAAa,CAAC,MAAM,CAAC,CAC1D;KACF,CAAC,CACH,CAAC;IAEF,MAAM,CAAC,MAAM,CACX,UAA2D;QAE3D,OAAO,kCAAkC,CAAC,aAAa,CAAC,QAAQ,CAC9D,UAAU,CACX,CAAC;IACJ,CAAC;;
|
1
|
+
{"version":3,"file":"LegendStudioApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendStudioApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,GACV,MAAM,WAAW,CAAC;AACnB,OAAO,EAGL,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,GAGxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,OAAO,oCAAoC;IAC/C,GAAG,CAAU;IACb,YAAY,CAAU;IACtB,KAAK,GAAa,EAA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,uBAAuB,CACrB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EACzB,mEAAmE,CACpE,CACF,CAAC;QACF,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;QAE/D,QAAQ;QACR,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC;YAChC,IAAI,CAAC,mBAAmB,GAAG,uBAAuB,CAAC,kBAAkB,CACnE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAC3B,CAAC;QACJ,CAAC;QAED,WAAW;QACX,IAAI,KAAK,CAAC,UAAU,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;YACnC,IAAI,CAAC,iBAAiB,GAAG,uBAAuB,CAAC,kBAAkB,CACjE,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAC9B,CAAC;QACJ,CAAC;QAED,MAAM;QACN,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC;YACpC,IAAI,CAAC,YAAY,GAAG,uBAAuB,CAAC,kBAAkB,CAC5D,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAC/B,CAAC;QACJ,CAAC;QAED,UAAU;QACV,IAAI,CAAC,OAAO,GAAG,kCAAkC,CAAC,MAAM,CACtD,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE,IAAI,IAAI,EAAE,CACxC,CAAC;IACJ,CAAC;IAEQ,+BAA+B;QACtC,OAAO,eAAe,CAAC;IACzB,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendStudioWebApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendStudioWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"LegendStudioWebApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendStudioWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2FH,eAAO,MAAM,gCAAgC;;CA6J3C,CAAC;AAEH,eAAO,MAAM,0BAA0B,WAC7B;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;CAW5B,CAAC"}
|
@@ -27,8 +27,9 @@ import { LegendStudioFrameworkProvider, useLegendStudioApplicationStore, useLege
|
|
27
27
|
import { useApplicationStore } from '@finos/legend-application';
|
28
28
|
import { BrowserEnvironmentProvider, generateExtensionUrlPattern, Route, Switch, } from '@finos/legend-application/browser';
|
29
29
|
import { LEGEND_STUDIO_DOCUMENTATION_KEY } from '../__lib__/LegendStudioDocumentation.js';
|
30
|
-
import { ShowcaseViewer } from './showcase/ShowcaseViewer.js';
|
31
30
|
import { LazyTextEditor } from './lazy-text-editor/LazyTextEditor.js';
|
31
|
+
import { PureCompatibilityTestManager } from './pct/PureCompatibilityTest.js';
|
32
|
+
import { ShowcaseViewer } from './showcase/ShowcaseViewer.js';
|
32
33
|
const NotFoundPage = observer(() => {
|
33
34
|
const applicationStore = useApplicationStore();
|
34
35
|
const currentPath = applicationStore.navigationService.navigator.getCurrentLocation();
|
@@ -53,7 +54,9 @@ export const LegendStudioWebApplicationRouter = observer(() => {
|
|
53
54
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
54
55
|
ProjectViewer }), _jsx(Route, { exact: true, path: LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN.SHOWCASE_PROJECT, component:
|
55
56
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
56
|
-
ShowcaseViewer }), _jsx(Route, {
|
57
|
+
ShowcaseViewer }), _jsx(Route, { exact: true, path: LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN.PCT_REPORT, component:
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
59
|
+
PureCompatibilityTestManager }), _jsx(Route, { children: _jsx(NotFoundPage, {}) })] }) })), baseStore.isSDLCAuthorized && (_jsx(_Fragment, { children: _jsxs(Switch, { children: [_jsx(Route, { exact: true, path: [
|
57
60
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW,
|
58
61
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_ENTITY,
|
59
62
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_REVISION,
|
@@ -89,7 +92,9 @@ export const LegendStudioWebApplicationRouter = observer(() => {
|
|
89
92
|
LEGEND_STUDIO_ROUTE_PATTERN.SETUP_PATCH_GROUP_WORKSPACE,
|
90
93
|
], component:
|
91
94
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
92
|
-
WorkspaceSetup }),
|
95
|
+
WorkspaceSetup }), _jsx(Route, { exact: true, path: LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN.PCT_REPORT, component:
|
96
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
97
|
+
PureCompatibilityTestManager }), extraApplicationPageEntries.map((entry) => (_jsx(Route, { exact: true, path: entry.addressPatterns.map(generateExtensionUrlPattern), component:
|
93
98
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
94
99
|
entry.renderer }, entry.key))), _jsx(Route, { children: _jsx(NotFoundPage, {}) })] }) }))] })) }));
|
95
100
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendStudioWebApplication.js","sourceRoot":"","sources":["../../src/components/LegendStudioWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EACL,2BAA2B,EAC3B,yCAAyC,GAC1C,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,6BAA6B,EAC7B,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,KAAK,EACL,MAAM,GAEP,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"LegendStudioWebApplication.js","sourceRoot":"","sources":["../../src/components/LegendStudioWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EACL,2BAA2B,EAC3B,yCAAyC,GAC1C,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,6BAA6B,EAC7B,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;A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P,mEAAmE;gCACnE,cAAqD,GAEvD,EACF,KAAC,KAAK,IACJ,KAAK,EAAE,IAAI,EACX,IAAI,EAAE;oCACJ,gDAAgD;oCAChD,GAAG;oCACH,2BAA2B,CAAC,eAAe;oCAC3C,2BAA2B,CAAC,qBAAqB;oCACjD,2BAA2B,CAAC,qBAAqB;oCACjD,2BAA2B,CAAC,2BAA2B;iCACxD,EACD,SAAS;gCACP,mEAAmE;gCACnE,cAAqD,GAEvD,EACF,KAAC,KAAK,IACJ,KAAK,EAAE,IAAI,EACX,IAAI,EAAE,yCAAyC,CAAC,UAAU,EAC1D,SAAS;gCACP,mEAAmE;gCACnE,4BAAmE,GAErE,EACD,2BAA2B,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1C,KAAC,KAAK,IAEJ,KAAK,EAAE,IAAI,EACX,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,CAC7B,2BAA2B,CAC5B,EACD,SAAS;gCACP,mEAAmE;gCACnE,KAAK,CAAC,QAA+C,IAPlD,KAAK,CAAC,GAAG,CASd,CACH,CAAC,EACF,KAAC,KAAK,cACJ,KAAC,YAAY,KAAG,GACV,IACD,GACR,CACJ,IACA,CACJ,GACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAChD,CAAC,KAA0B,EAAE,EAAE;IAC7B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,OAAO,CACL,KAAC,0BAA0B,IAAC,OAAO,EAAE,OAAO,YAC1C,KAAC,6BAA6B,cAC5B,KAAC,gCAAgC,KAAG,GACN,GACL,CAC9B,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -13,7 +13,9 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export declare const ActivityBarMenu: React.FC
|
16
|
+
export declare const ActivityBarMenu: React.FC<{
|
17
|
+
openShowcasePanel?: () => void;
|
18
|
+
}>;
|
17
19
|
export declare const ActivityBar: (() => import("react/jsx-runtime").JSX.Element) & {
|
18
20
|
displayName: string;
|
19
21
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ActivityBar.d.ts","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"ActivityBar.d.ts","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAsEH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC,CA8FA,CAAC;AAEF,eAAO,MAAM,WAAW;;CA+RtB,CAAC"}
|
@@ -26,6 +26,7 @@ import { generateSetupRoute } from '../../__lib__/LegendStudioNavigation.js';
|
|
26
26
|
import { useLegendStudioApplicationStore } from '../LegendStudioFrameworkProvider.js';
|
27
27
|
import { ActivityBarItemExperimentalBadge, } from '@finos/legend-lego/application';
|
28
28
|
import { ShowcaseManagerState, openShowcaseManager, } from '../../stores/ShowcaseManagerState.js';
|
29
|
+
import { toggleShowcasePanel } from './ShowcaseSideBar.js';
|
29
30
|
const SettingsMenu = observer(forwardRef(function SettingsMenu(props, ref) {
|
30
31
|
const editorStore = useEditorStore();
|
31
32
|
const showDeveloperTool = () => {
|
@@ -34,7 +35,7 @@ const SettingsMenu = observer(forwardRef(function SettingsMenu(props, ref) {
|
|
34
35
|
};
|
35
36
|
return (_jsx(MenuContent, { ref: ref, className: "activity-bar__setting__menu", children: _jsx(MenuContentItem, { onClick: showDeveloperTool, children: _jsx(MenuContentItemLabel, { children: "Show Developer Tool" }) }) }));
|
36
37
|
}));
|
37
|
-
export const ActivityBarMenu = () => {
|
38
|
+
export const ActivityBarMenu = ({ openShowcasePanel }) => {
|
38
39
|
const applicationStore = useLegendStudioApplicationStore();
|
39
40
|
const appDocUrl = applicationStore.documentationService.url;
|
40
41
|
const docLinks = applicationStore.documentationService.links;
|
@@ -69,7 +70,9 @@ export const ActivityBarMenu = () => {
|
|
69
70
|
anchorOrigin: { vertical: 'top', horizontal: 'right' },
|
70
71
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
71
72
|
elevation: 7,
|
72
|
-
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: showAppInfo, children: "About" }), showcaseManagerState?.isEnabled && (_jsx(MenuContentItem, { onClick: () =>
|
73
|
+
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: showAppInfo, children: "About" }), showcaseManagerState?.isEnabled && (_jsx(MenuContentItem, { onClick: () => openShowcasePanel
|
74
|
+
? openShowcasePanel()
|
75
|
+
: openShowcaseManager(applicationStore), children: "See Showcases" })), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "Documentation" }), docLinks?.map((entry) => (_jsx(MenuContentItem, { onClick: () => goToDocLink(entry.url), children: entry.label }, entry.key))), _jsx(MenuContentItem, { onClick: openHelp, children: "Help..." }), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { onClick: goToWorkspaceSetup, children: "Back to workspace setup" })] }), children: _jsx(MenuIcon, {}) }) }), _jsx(LegendStudioAppInfo, { open: openAppInfo, closeModal: hideAppInfo }), _jsx(ReleaseLogManager, {}), _jsx(ReleaseNotesManager, {})] }));
|
73
76
|
};
|
74
77
|
export const ActivityBar = observer(() => {
|
75
78
|
const editorStore = useEditorStore();
|
@@ -182,13 +185,16 @@ export const ActivityBar = observer(() => {
|
|
182
185
|
!editorStore.applicationStore.config.options.NonProductionFeatureFlag,
|
183
186
|
},
|
184
187
|
].filter((activity) => !activity.disabled);
|
185
|
-
|
188
|
+
const openShowcasePanel = () => {
|
189
|
+
toggleShowcasePanel(editorStore);
|
190
|
+
};
|
191
|
+
return (_jsxs("div", { className: "activity-bar", children: [_jsx(ActivityBarMenu, { openShowcasePanel: openShowcasePanel }), _jsxs("div", { className: "activity-bar__items", children: [activities.map((activity) => (_jsx("button", { className: clsx('activity-bar__item', {
|
186
192
|
'activity-bar__item--active': editorStore.sideBarDisplayState.isOpen &&
|
187
193
|
editorStore.activeActivity === activity.mode,
|
188
194
|
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode))), Boolean(userJourneys.length) && _jsx(MenuContentDivider, {}), userJourneys.map((activity) => (_jsx("button", { className: clsx('activity-bar__item', {
|
189
195
|
'activity-bar__item--active': editorStore.sideBarDisplayState.isOpen &&
|
190
196
|
editorStore.activeActivity === activity.mode,
|
191
|
-
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode)))] }), _jsx("button", { className: clsx('activity-bar__item'), onClick: () =>
|
197
|
+
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode)))] }), _jsx("button", { className: clsx('activity-bar__item'), onClick: () => openShowcasePanel(), tabIndex: -1, title: 'Open Showcases', children: _jsx(ReadMeIcon, {}) }), _jsx(ControlledDropdownMenu, { className: "activity-bar__item", title: "Settings", content: _jsx(SettingsMenu, {}), menuProps: {
|
192
198
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
193
199
|
transformOrigin: { vertical: 'bottom', horizontal: 'left' },
|
194
200
|
elevation: 7,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ActivityBar.js","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,I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CAAC,IAAI,KAAC,kBAAkB,KAAG,EACtD,YAAY,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAC9B,iBAEE,SAAS,EAAE,IAAI,CAAC,oBAAoB,EAAE;4BACpC,4BAA4B,EAC1B,WAAW,CAAC,mBAAmB,CAAC,MAAM;gCACtC,WAAW,CAAC,cAAc,KAAK,QAAQ,CAAC,IAAI;yBAC/C,CAAC,EACF,OAAO,EAAE,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,EACtC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,QAAQ,CAAC,KAAK,YAEpB,QAAQ,CAAC,IAAI,IAVT,QAAQ,CAAC,IAAI,CAWX,CACV,CAAC,IACE,EACN,iBACE,SAAS,EAAE,IAAI,CAAC,oBAAoB,CAAC,EACrC,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,EAAE,EAClC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,gBAAgB,YAEvB,KAAC,UAAU,KAAG,GACP,EACT,KAAC,sBAAsB,IACrB,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAC,UAAU,EAChB,OAAO,EAAE,KAAC,YAAY,KAAG,EACzB,SAAS,EAAE;oBACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oBACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE;oBAC3D,SAAS,EAAE,CAAC;iBACb,YAED,KAAC,OAAO,KAAG,GACY,IACrB,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../src/components/editor/Editor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../src/components/editor/Editor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4CH,eAAO,MAAM,MAAM,wBAiPlB,CAAC"}
|
@@ -23,6 +23,7 @@ import { EditorGroup, EditorGroupSplashScreen, } from './editor-group/EditorGrou
|
|
23
23
|
import { GrammarTextEditor } from './editor-group/GrammarTextEditor.js';
|
24
24
|
import { StatusBar } from './StatusBar.js';
|
25
25
|
import { ActivityBar } from './ActivityBar.js';
|
26
|
+
import { ShowcaseSideBar } from './ShowcaseSideBar.js';
|
26
27
|
import { ProjectSearchCommand } from '../editor/command-center/ProjectSearchCommand.js';
|
27
28
|
import { guaranteeNonNullable, isNonNullable } from '@finos/legend-shared';
|
28
29
|
import { flowResult } from 'mobx';
|
@@ -35,6 +36,7 @@ import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../__lib__/
|
|
35
36
|
import { EmbeddedQueryBuilder } from './EmbeddedQueryBuilder.js';
|
36
37
|
import { GRAPH_EDITOR_MODE } from '../../stores/editor/EditorConfig.js';
|
37
38
|
import { QuickInput } from './QuickInput.js';
|
39
|
+
import { ShowcaseManager } from '../ShowcaseManager.js';
|
38
40
|
export const Editor = withEditorStore(observer(() => {
|
39
41
|
const params = useParams();
|
40
42
|
const projectId = params.projectId;
|
@@ -72,6 +74,13 @@ export const Editor = withEditorStore(observer(() => {
|
|
72
74
|
size: editorStore.panelGroupDisplayState.size,
|
73
75
|
});
|
74
76
|
const maximizedCollapsiblePanelGroupProps = getCollapsiblePanelGroupProps(editorStore.panelGroupDisplayState.isMaximized);
|
77
|
+
// handle resizing showcase sidebar
|
78
|
+
const showcaseResizeSideBar = (handleProps) => editorStore.showcasePanelDisplayState.setSize(handleProps.domElement.getBoundingClientRect()
|
79
|
+
.width);
|
80
|
+
const showcaseCollapsibleSideBarGroupProps = getCollapsiblePanelGroupProps(editorStore.showcasePanelDisplayState.size === 0, {
|
81
|
+
onStopResize: showcaseResizeSideBar,
|
82
|
+
size: editorStore.showcasePanelDisplayState.size,
|
83
|
+
});
|
75
84
|
useEffect(() => {
|
76
85
|
if (ref.current) {
|
77
86
|
editorStore.panelGroupDisplayState.setMaxSize(ref.current.offsetHeight);
|
@@ -124,7 +133,10 @@ export const Editor = withEditorStore(observer(() => {
|
|
124
133
|
useCommands(editorStore);
|
125
134
|
// Cleanup the editor
|
126
135
|
useEffect(() => () => editorStore.cleanUp(), [editorStore]);
|
127
|
-
return (_jsx("div", { className: "app__page", children: _jsxs("div", { className: "editor", children: [_jsxs("div", { className: "editor__body", children: [_jsx(ActivityBar, {}), _jsx("div", { ref: ref, className: "editor__content-container", children: _jsx("div", { className: "editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { ...collapsibleSideBarGroupProps.collapsiblePanel, direction: 1, children: _jsx(SideBar, {}) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { ...
|
136
|
+
return (_jsx("div", { className: "app__page", children: _jsxs("div", { className: "editor", children: [_jsxs("div", { className: "editor__body", children: [_jsx(ActivityBar, {}), _jsx("div", { ref: ref, className: "editor__content-container", children: _jsx("div", { className: "editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { ...collapsibleSideBarGroupProps.collapsiblePanel, direction: 1, children: _jsx(SideBar, {}) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { ...(!editorStore.sideBarDisplayState.isOpen &&
|
137
|
+
!editorStore.showcasePanelDisplayState.isOpen
|
138
|
+
? { flex: 1 }
|
139
|
+
: {}), minSize: 300, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxs(ResizablePanel, { ...maximizedCollapsiblePanelGroupProps.collapsiblePanel, ...(editorStore.panelGroupDisplayState.size === 0
|
128
140
|
? collapsiblePanelGroupProps.remainingPanel
|
129
141
|
: {}), children: [(isResolvingConflicts || editable) &&
|
130
142
|
editorStore.graphEditorMode.mode ===
|
@@ -134,7 +146,7 @@ export const Editor = withEditorStore(observer(() => {
|
|
134
146
|
? 'transparent'
|
135
147
|
: 'var(--color-dark-grey-250)' }) }), _jsx(ResizablePanel, { ...collapsiblePanelGroupProps.collapsiblePanel, ...(editorStore.panelGroupDisplayState.isMaximized
|
136
148
|
? maximizedCollapsiblePanelGroupProps.remainingPanel
|
137
|
-
: {}), direction: -1, children: _jsx(PanelGroup, {}) })] }) })] }) }) })] }), _jsx(QuickInput, {}), _jsx(StatusBar, { actionsDisabled: !editable }), editable && _jsx(ProjectSearchCommand, {}), editorStore.localChangesState.workspaceSyncState
|
149
|
+
: {}), direction: -1, children: _jsx(PanelGroup, {}) })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { ...showcaseCollapsibleSideBarGroupProps.collapsiblePanel, direction: -1, children: _jsx("div", { className: "panel__content explorer__content__container", children: _jsx(ShowcaseManager, {}) }) })] }) }) }), _jsx(ShowcaseSideBar, {})] }), _jsx(QuickInput, {}), _jsx(StatusBar, { actionsDisabled: !editable }), editable && _jsx(ProjectSearchCommand, {}), editorStore.localChangesState.workspaceSyncState
|
138
150
|
.workspaceSyncConflictResolutionState.showModal && (_jsx(WorkspaceSyncConflictResolver, {})), _jsx(EmbeddedQueryBuilder, {}), extraEditorExtensionComponents] }) }));
|
139
151
|
}));
|
140
152
|
//# sourceMappingURL=Editor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Editor.js","sourceRoot":"","sources":["../../../src/components/editor/Editor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,6BAA6B,EAC7B,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,6B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;4DACpD,CAAC,CAAC,EAAE,CAAC,EACP,SAAS,EAAE,CAAC,CAAC,YAEb,KAAC,UAAU,KAAG,GACC,IACG,GACP,EACjB,KAAC,sBAAsB,KAAG,EAC1B,KAAC,cAAc,OACT,oCAAoC,CAAC,gBAAgB,EACzD,SAAS,EAAE,CAAC,CAAC,YAEb,cAAK,SAAS,EAAC,6CAA6C,YAC1D,KAAC,eAAe,KAAG,GACf,GACS,IACG,GAClB,GACF,EACN,KAAC,eAAe,KAAG,IACf,EACN,KAAC,UAAU,KAAG,EACd,KAAC,SAAS,IAAC,eAAe,EAAE,CAAC,QAAQ,GAAI,EACxC,QAAQ,IAAI,KAAC,oBAAoB,KAAG,EACpC,WAAW,CAAC,iBAAiB,CAAC,kBAAkB;qBAC9C,oCAAoC,CAAC,SAAS,IAAI,CACnD,KAAC,6BAA6B,KAAG,CAClC,EACD,KAAC,oBAAoB,KAAG,EACvB,8BAA8B,IAC3B,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
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 { EditorStore } from '../../stores/editor/EditorStore.js';
|
17
|
+
export declare enum SHOWCASE_PANEL_LOCAL_STORAGE {
|
18
|
+
PANEL_STATE_KEY = "ShowShowcasePanel"
|
19
|
+
}
|
20
|
+
export declare const toggleShowcasePanel: (editorStore: EditorStore) => void;
|
21
|
+
export declare const ShowcaseSideBar: (() => import("react/jsx-runtime").JSX.Element) & {
|
22
|
+
displayName: string;
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=ShowcaseSideBar.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ShowcaseSideBar.d.ts","sourceRoot":"","sources":["../../../src/components/editor/ShowcaseSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE,oBAAY,4BAA4B;IACtC,eAAe,sBAAsB;CACtC;AAED,eAAO,MAAM,mBAAmB,gBAAiB,WAAW,SAM3D,CAAC;AAEF,eAAO,MAAM,eAAe;;CA4B1B,CAAC"}
|
@@ -0,0 +1,36 @@
|
|
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 { observer } from 'mobx-react-lite';
|
18
|
+
import { MenuContentDivider, DoubleArrowLeft, DoubleArrowRight, } from '@finos/legend-art';
|
19
|
+
import { useEditorStore } from './EditorStoreProvider.js';
|
20
|
+
export var SHOWCASE_PANEL_LOCAL_STORAGE;
|
21
|
+
(function (SHOWCASE_PANEL_LOCAL_STORAGE) {
|
22
|
+
SHOWCASE_PANEL_LOCAL_STORAGE["PANEL_STATE_KEY"] = "ShowShowcasePanel";
|
23
|
+
})(SHOWCASE_PANEL_LOCAL_STORAGE || (SHOWCASE_PANEL_LOCAL_STORAGE = {}));
|
24
|
+
export const toggleShowcasePanel = (editorStore) => {
|
25
|
+
editorStore.showcasePanelDisplayState.toggle();
|
26
|
+
editorStore.applicationStore.userDataService.persistValue(SHOWCASE_PANEL_LOCAL_STORAGE.PANEL_STATE_KEY, editorStore.showcasePanelDisplayState.isOpen);
|
27
|
+
};
|
28
|
+
export const ShowcaseSideBar = observer(() => {
|
29
|
+
const editorStore = useEditorStore();
|
30
|
+
return (_jsx("div", { className: "activity-bar", children: _jsxs("div", { className: "activity-bar__items", children: [_jsx("button", { className: "activity-bar__item", onClick: () => {
|
31
|
+
toggleShowcasePanel(editorStore);
|
32
|
+
}, tabIndex: -1, title: editorStore.showcasePanelDisplayState.isOpen
|
33
|
+
? 'Close Showcases'
|
34
|
+
: 'Open Showcases', children: editorStore.showcasePanelDisplayState.isOpen ? (_jsx(DoubleArrowRight, {})) : (_jsx(DoubleArrowLeft, {})) }), _jsx(MenuContentDivider, {})] }) }));
|
35
|
+
});
|
36
|
+
//# sourceMappingURL=ShowcaseSideBar.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ShowcaseSideBar.js","sourceRoot":"","sources":["../../../src/components/editor/ShowcaseSideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,MAAM,CAAN,IAAY,4BAEX;AAFD,WAAY,4BAA4B;IACtC,qEAAqC,CAAA;AACvC,CAAC,EAFW,4BAA4B,KAA5B,4BAA4B,QAEvC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,WAAwB,EAAE,EAAE;IAC9D,WAAW,CAAC,yBAAyB,CAAC,MAAM,EAAE,CAAC;IAC/C,WAAW,CAAC,gBAAgB,CAAC,eAAe,CAAC,YAAY,CACvD,4BAA4B,CAAC,eAAe,EAC5C,WAAW,CAAC,yBAAyB,CAAC,MAAM,CAC7C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE;IAC3C,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IAErC,OAAO,CACL,cAAK,SAAS,EAAC,cAAc,YAC3B,eAAK,SAAS,EAAC,qBAAqB,aAClC,iBACE,SAAS,EAAC,oBAAoB,EAC9B,OAAO,EAAE,GAAG,EAAE;wBACZ,mBAAmB,CAAC,WAAW,CAAC,CAAC;oBACnC,CAAC,EACD,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EACH,WAAW,CAAC,yBAAyB,CAAC,MAAM;wBAC1C,CAAC,CAAC,iBAAiB;wBACnB,CAAC,CAAC,gBAAgB,YAGrB,WAAW,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC9C,KAAC,gBAAgB,KAAG,CACrB,CAAC,CAAC,CAAC,CACF,KAAC,eAAe,KAAG,CACpB,GACM,EACT,KAAC,kBAAkB,KAAG,IAClB,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
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
|
+
export declare const PureCompatibilityTestManager: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
17
|
+
displayName: string;
|
18
|
+
};
|
19
|
+
//# sourceMappingURL=PureCompatibilityTest.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PureCompatibilityTest.d.ts","sourceRoot":"","sources":["../../../src/components/pct/PureCompatibilityTest.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,eAAO,MAAM,4BAA4B;;CAevC,CAAC"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { jsx as _jsx } 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 { observer } from 'mobx-react-lite';
|
18
|
+
import { useLegendStudioApplicationStore } from '../LegendStudioFrameworkProvider.js';
|
19
|
+
export const PureCompatibilityTestManager = observer(() => {
|
20
|
+
const studioApplicationStore = useLegendStudioApplicationStore();
|
21
|
+
const config = studioApplicationStore.config;
|
22
|
+
if (!config.pctReportUrl) {
|
23
|
+
return null;
|
24
|
+
}
|
25
|
+
return (_jsx("div", { className: "app__page", children: _jsx("iframe", { src: config.pctReportUrl, style: { width: '100%', height: '100%', border: 'none' }, title: "Legend Pure Compatibility Test" }) }));
|
26
|
+
});
|
27
|
+
//# sourceMappingURL=PureCompatibilityTest.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PureCompatibilityTest.js","sourceRoot":"","sources":["../../../src/components/pct/PureCompatibilityTest.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AAEtF,MAAM,CAAC,MAAM,4BAA4B,GAAG,QAAQ,CAAC,GAAG,EAAE;IACxD,MAAM,sBAAsB,GAAG,+BAA+B,EAAE,CAAC;IACjE,MAAM,MAAM,GAAG,sBAAsB,CAAC,MAAM,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,cAAK,SAAS,EAAC,WAAW,YACxB,iBACE,GAAG,EAAE,MAAM,CAAC,YAAY,EACxB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EACxD,KAAK,EAAC,gCAAgC,GACtC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|