@finos/legend-application 15.1.9 → 15.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/ActionAlert.d.ts +1 -1
- package/lib/components/ActionAlert.js +8 -9
- package/lib/components/ActionAlert.js.map +1 -1
- package/lib/components/ApplicationComponentFrameworkProvider.d.ts +1 -2
- package/lib/components/ApplicationComponentFrameworkProvider.d.ts.map +1 -1
- package/lib/components/ApplicationComponentFrameworkProvider.js +6 -7
- package/lib/components/ApplicationComponentFrameworkProvider.js.map +1 -1
- package/lib/components/ApplicationFrameworkProvider.d.ts.map +1 -1
- package/lib/components/ApplicationFrameworkProvider.js +3 -4
- package/lib/components/ApplicationFrameworkProvider.js.map +1 -1
- package/lib/components/ApplicationPlatformProvider.d.ts +0 -1
- package/lib/components/ApplicationPlatformProvider.d.ts.map +1 -1
- package/lib/components/ApplicationStoreProvider.d.ts.map +1 -1
- package/lib/components/ApplicationStoreProvider.js +2 -3
- package/lib/components/ApplicationStoreProvider.js.map +1 -1
- package/lib/components/BlockingAlert.d.ts +1 -1
- package/lib/components/BlockingAlert.js +3 -4
- package/lib/components/BlockingAlert.js.map +1 -1
- package/lib/components/BrowserEnvironmentProvider.d.ts +0 -1
- package/lib/components/BrowserEnvironmentProvider.d.ts.map +1 -1
- package/lib/components/BrowserEnvironmentProvider.js +3 -4
- package/lib/components/BrowserEnvironmentProvider.js.map +1 -1
- package/lib/components/NotificationManager.d.ts +1 -1
- package/lib/components/NotificationManager.js +14 -15
- package/lib/components/NotificationManager.js.map +1 -1
- package/lib/components/ReleaseNotesManager.d.ts +3 -3
- package/lib/components/ReleaseNotesManager.js +8 -9
- package/lib/components/ReleaseNotesManager.js.map +1 -1
- package/lib/components/VirtualAssistant.d.ts +1 -1
- package/lib/components/VirtualAssistant.js +27 -28
- package/lib/components/VirtualAssistant.js.map +1 -1
- package/lib/components/__test-utils__/BrowserEnvironmentTestUtils.d.ts +0 -1
- package/lib/components/__test-utils__/BrowserEnvironmentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/BrowserEnvironmentTestUtils.js +2 -3
- package/lib/components/__test-utils__/BrowserEnvironmentTestUtils.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/AlertService.d.ts +0 -1
- package/lib/stores/AlertService.d.ts.map +1 -1
- package/lib/stores/ApplicationStore.d.ts +1 -0
- package/lib/stores/ApplicationStore.d.ts.map +1 -1
- package/lib/stores/ApplicationStore.js +4 -1
- package/lib/stores/ApplicationStore.js.map +1 -1
- package/lib/stores/CommandService.d.ts.map +1 -1
- package/lib/stores/DocumentationService.d.ts.map +1 -1
- package/lib/stores/LayoutService.d.ts +1 -0
- package/lib/stores/LayoutService.d.ts.map +1 -1
- package/lib/stores/LayoutService.js +3 -0
- package/lib/stores/LayoutService.js.map +1 -1
- package/lib/stores/LegendApplicationPlugin.d.ts +0 -1
- package/lib/stores/LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/NotificationService.d.ts +0 -1
- package/lib/stores/NotificationService.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/stores/ApplicationStore.ts +5 -1
- package/src/stores/LayoutService.ts +4 -0
- package/tsconfig.package.json +1 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export declare const ActionAlert: (() => import("react/jsx-
|
|
16
|
+
export declare const ActionAlert: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=ActionAlert.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/ActionAlert.tsx";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -43,12 +42,12 @@ const ActionAlertContent = observer((props) => {
|
|
|
43
42
|
actions.find((action) => action.default)?.handler?.();
|
|
44
43
|
handleClose();
|
|
45
44
|
};
|
|
46
|
-
return (
|
|
45
|
+
return (_jsx(Dialog, { open: Boolean(applicationStore.alertService.actionAlertInfo), onClose: noop, TransitionProps: {
|
|
47
46
|
onEnter: handleEnter,
|
|
48
|
-
}, children:
|
|
47
|
+
}, children: _jsxs("form", { onSubmit: (event) => {
|
|
49
48
|
event.preventDefault();
|
|
50
49
|
handleSubmit();
|
|
51
|
-
}, className: `modal search-modal modal--dark blocking-alert blocking-alert--${(type ?? ActionAlertType.STANDARD).toLowerCase()}`, children: [title &&
|
|
50
|
+
}, className: `modal search-modal modal--dark blocking-alert blocking-alert--${(type ?? ActionAlertType.STANDARD).toLowerCase()}`, children: [title && _jsx(ModalHeader, { title: title }), _jsxs(ModalBody, { children: [_jsx("div", { className: "blocking-alert__summary-text", children: message }), _jsx("div", { className: "blocking-alert__prompt-text", children: prompt })] }), _jsxs(ModalFooter, { children: [actions.map((action, idx) => {
|
|
52
51
|
// NOTE: need to prevent default for the submit button, otherwise, we would get the warning "Form submission canceled because the form is not connected"
|
|
53
52
|
// See https://stackoverflow.com/a/58234405
|
|
54
53
|
const handler = (e) => {
|
|
@@ -56,9 +55,9 @@ const ActionAlertContent = observer((props) => {
|
|
|
56
55
|
action.handler?.();
|
|
57
56
|
handleClose();
|
|
58
57
|
};
|
|
59
|
-
return (
|
|
60
|
-
}), !actions.length && (
|
|
61
|
-
, className: "btn btn--dark blocking-alert__action--standard", onClick: handleClose, children: "Cancel" }
|
|
58
|
+
return (_jsx("button", { type: action.default ? 'submit' : 'button', className: `btn btn--dark ${getActionButtonClassName(action.type ?? ActionAlertActionType.STANDARD)}`, onClick: handler, autoFocus: Boolean(action.default), children: action.label }, idx));
|
|
59
|
+
}), !actions.length && (_jsx("button", { type: "button" // prevent this toggler being activated on form submission
|
|
60
|
+
, className: "btn btn--dark blocking-alert__action--standard", onClick: handleClose, children: "Cancel" }))] })] }) }));
|
|
62
61
|
});
|
|
63
62
|
export const ActionAlert = observer(() => {
|
|
64
63
|
const applicationStore = useApplicationStore();
|
|
@@ -66,6 +65,6 @@ export const ActionAlert = observer(() => {
|
|
|
66
65
|
if (!actionAlertInfo) {
|
|
67
66
|
return null;
|
|
68
67
|
}
|
|
69
|
-
return
|
|
68
|
+
return _jsx(ActionAlertContent, { info: actionAlertInfo });
|
|
70
69
|
});
|
|
71
70
|
//# sourceMappingURL=ActionAlert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionAlert.js","sourceRoot":"","sources":["../../src/components/ActionAlert.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionAlert.js","sourceRoot":"","sources":["../../src/components/ActionAlert.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChF,OAAO,EACL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,wBAAwB,GAAG,CAAC,IAA2B,EAAU,EAAE;IACvE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,qBAAqB,CAAC,oBAAoB;YAC7C,OAAO,cAAc,CAAC;QACxB,KAAK,qBAAqB,CAAC,OAAO,CAAC;QACnC,KAAK,qBAAqB,CAAC,QAAQ,CAAC;QACpC;YACE,OAAO,WAAW,CAAC;IACvB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG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governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { GenericLegendApplicationStore } from '../stores/ApplicationStore.js';
|
|
18
17
|
/**
|
|
19
18
|
* Some elements (e.g. <canvas>) and components that we do not control the implementation
|
|
@@ -33,7 +32,7 @@ export declare const BackdropContainer: React.FC<{
|
|
|
33
32
|
}>;
|
|
34
33
|
export declare const ApplicationComponentFrameworkProvider: ((props: {
|
|
35
34
|
children: React.ReactNode;
|
|
36
|
-
}) => import("react/jsx-
|
|
35
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
37
36
|
displayName: string;
|
|
38
37
|
};
|
|
39
38
|
//# sourceMappingURL=ApplicationComponentFrameworkProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationComponentFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ApplicationComponentFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AA4DnF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,UAC9B,aAAa,oBACF,6BAA6B,KAC9C,IAIF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAE7D,CAAC;AAEF,eAAO,MAAM,qCAAqC,WACxC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE;;CAqGtC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/ApplicationComponentFrameworkProvider.tsx";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -91,7 +90,7 @@ export const forceDispatchKeyboardEvent = (event, applicationStore) => {
|
|
|
91
90
|
* NOTE: we usually want the backdrop container to be the first child of its immediate parent
|
|
92
91
|
* so that it properly lies under the content that we pick to show on top of the backdrop
|
|
93
92
|
*/
|
|
94
|
-
export const BackdropContainer = (props) => (
|
|
93
|
+
export const BackdropContainer = (props) => (_jsx("div", { className: "backdrop__container", "data-elementid": props.elementId }));
|
|
95
94
|
export const ApplicationComponentFrameworkProvider = observer((props) => {
|
|
96
95
|
const { children } = props;
|
|
97
96
|
const applicationStore = useApplicationStore();
|
|
@@ -137,16 +136,16 @@ export const ApplicationComponentFrameworkProvider = observer((props) => {
|
|
|
137
136
|
document.removeEventListener('visibilitychange', onVisibilityChange);
|
|
138
137
|
};
|
|
139
138
|
}, [applicationStore]);
|
|
140
|
-
return (
|
|
139
|
+
return (_jsxs(LegendStyleProvider, { children: [_jsx(BlockingAlert, {}), _jsx(ActionAlert, {}), _jsx(NotificationManager, {}), _jsx(VirtualAssistant, {}), applicationStore.layoutService.showBackdrop && (
|
|
141
140
|
// We use <Portal> here to insert backdrop into different parts of the app
|
|
142
141
|
// as backdrop relies heavily on z-index mechanism so its location in the DOM
|
|
143
142
|
// really matters.
|
|
144
143
|
// For example, the default location of the backdrop works fine for most cases
|
|
145
144
|
// but if we want to use the backdrop for elements within modal dialogs, we would
|
|
146
145
|
// need to mount the backdrop at a different location
|
|
147
|
-
|
|
148
|
-
APPLICATION_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER) ?? null, children:
|
|
146
|
+
_jsx(Portal, { container: applicationStore.layoutService.getElementByID(applicationStore.layoutService.backdropContainerElementID ??
|
|
147
|
+
APPLICATION_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER) ?? null, children: _jsx(Backdrop, { className: "backdrop", open: applicationStore.layoutService.showBackdrop }) })), _jsx(DndProvider, { backend: HTML5Backend, children: _jsxs("div", { className: "app__container", "data-elementid": APPLICATION_COMPONENT_ELEMENT_ID.TOP_LEVEL_CONTAINER,
|
|
149
148
|
// Disable global context menu so that only places in the app that supports context-menu will be effective
|
|
150
|
-
onContextMenu: disableContextMenu, children: [
|
|
149
|
+
onContextMenu: disableContextMenu, children: [_jsx(BackdropContainer, { elementId: APPLICATION_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), children] }) })] }));
|
|
151
150
|
});
|
|
152
151
|
//# sourceMappingURL=ApplicationComponentFrameworkProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationComponentFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApplicationComponentFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;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c,CAC3C,gBAAgB,CAAC,aAAa,CAAC,0BAA0B;oBACvD,gCAAgC,CAAC,kBAAkB,CACtD,IAAI,IAAI,YAGX,KAAC,QAAQ,IACP,SAAS,EAAC,UAAU,EACpB,IAAI,EAAE,gBAAgB,CAAC,aAAa,CAAC,YAAY,GACjD,GACK,CACV,EACD,KAAC,WAAW,IAAC,OAAO,EAAE,YAAY,YAChC,eACE,SAAS,EAAC,gBAAgB,oBAIxB,gCAAgC,CAAC,mBAAmB;oBAEtD,0GAA0G;oBAC1G,aAAa,EAAE,kBAAkB,aAEjC,KAAC,iBAAiB,IAChB,SAAS,EAAE,gCAAgC,CAAC,kBAAkB,GAC9D,EACD,QAAQ,IACL,GACM,IACM,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,eAAO,MAAM,4BAA4B,WAC/B;IAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"ApplicationFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,eAAO,MAAM,4BAA4B,WAC/B;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,KAAG,KAAK,CAAC,YAAY;;CAuB3D,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Fragment as _Fragment,
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/ApplicationFrameworkProvider.tsx";
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -30,11 +29,11 @@ export const ApplicationFrameworkProvider = observer((props) => {
|
|
|
30
29
|
.catch(applicationStore.alertUnhandledError);
|
|
31
30
|
}, [applicationStore, platform]);
|
|
32
31
|
if (!applicationStore.initState.hasSucceeded) {
|
|
33
|
-
return
|
|
32
|
+
return _jsx(_Fragment, {});
|
|
34
33
|
}
|
|
35
34
|
// TODO: would be great if we can have <React.StrictMode> here but since Mobx React is not ready for
|
|
36
35
|
// concurrency yet, we would have to wait
|
|
37
36
|
// See https://github.com/mobxjs/mobx/issues/2526
|
|
38
|
-
return (
|
|
37
|
+
return (_jsx(ApplicationComponentFrameworkProvider, { children: children }));
|
|
39
38
|
});
|
|
40
39
|
//# sourceMappingURL=ApplicationFrameworkProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationFrameworkProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApplicationFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,CAAC,MAAM,4BAA4B,GAAG,QAAQ,CAClD,CAAC,KAAoC,EAAsB,EAAE;IAC3D,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,QAAQ,GAAG,sBAAsB,EAAE,CAAC;IAC1C,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,gBAAgB;aACb,UAAU,CAAC,QAAQ,CAAC;aACpB,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACjD,CAAC,EAAE,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEjC,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,YAAY,EAAE,CAAC;QAC7C,OAAO,mBAAK,CAAC;IACf,CAAC;IACD,oGAAoG;IACpG,yCAAyC;IACzC,iDAAiD;IACjD,OAAO,CACL,KAAC,qCAAqC,cACnC,QAAQ,GAC6B,CACzC,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { ApplicationPlatform } from '../stores/platform/ApplicationPlatform.js';
|
|
18
17
|
export declare const ApplicationPlatformContext: import("react").Context<ApplicationPlatform | undefined>;
|
|
19
18
|
export declare const useApplicationPlatform: () => ApplicationPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationPlatformProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationPlatformProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ApplicationPlatformProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationPlatformProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAErF,eAAO,MAAM,0BAA0B,0DAE3B,CAAC;AAEb,eAAO,MAAM,sBAAsB,QAAO,mBAIvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationStoreProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEzF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAMpF,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ApplicationStoreProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEzF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAMpF,eAAO,MAAM,mBAAmB,GAC9B,CAAC,SAAS,uBAAuB,EACjC,CAAC,SAAS,8BAA8B,CAAC,uBAAuB,CAAC,OAC9D,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAIvB,CAAC;AAEJ,eAAO,MAAM,wBAAwB,GACnC,CAAC,SAAS,uBAAuB,EACjC,CAAC,SAAS,8BAA8B,CAAC,uBAAuB,CAAC,wBAIhE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CAC/B,KAAG,KAAK,CAAC,YAOT,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/ApplicationStoreProvider.tsx";
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -22,6 +21,6 @@ const ApplicationStoreContext = createContext(undefined);
|
|
|
22
21
|
export const useApplicationStore = () => guaranteeNonNullable(useContext(ApplicationStoreContext), `Can't find application store in context`);
|
|
23
22
|
export const ApplicationStoreProvider = ({ children, store, }) => {
|
|
24
23
|
const applicationStore = useLocalObservable(() => store);
|
|
25
|
-
return (
|
|
24
|
+
return (_jsx(ApplicationStoreContext.Provider, { value: applicationStore, children: children }));
|
|
26
25
|
};
|
|
27
26
|
//# sourceMappingURL=ApplicationStoreProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationStoreProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationStoreProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApplicationStoreProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationStoreProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAMrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAI5D,MAAM,uBAAuB,GAAG,aAAa,CAE3C,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAGP,EAAE,CAC5B,oBAAoB,CAClB,UAAU,CAAC,uBAAuB,CAAuC,EACzE,yCAAyC,CAC1C,CAAC;AAEJ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAGtC,EACA,QAAQ,EACR,KAAK,GAIN,EAAsB,EAAE;IACvB,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;IACzD,OAAO,CACL,KAAC,uBAAuB,CAAC,QAAQ,IAAC,KAAK,EAAE,gBAAgB,YACtD,QAAQ,GACwB,CACpC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Of course there are legitimate use cases but please consult the team when you do so.
|
|
19
19
|
* See https://material.io/components/dialogs#usage
|
|
20
20
|
*/
|
|
21
|
-
export declare const BlockingAlert: (() => import("react/jsx-
|
|
21
|
+
export declare const BlockingAlert: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=BlockingAlert.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/BlockingAlert.tsx";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -30,9 +29,9 @@ export const BlockingAlert = observer(() => {
|
|
|
30
29
|
if (!info) {
|
|
31
30
|
return null;
|
|
32
31
|
}
|
|
33
|
-
return (
|
|
32
|
+
return (_jsx(Dialog, { open: Boolean(info), onClose: noop, classes: {
|
|
34
33
|
root: 'blocking-alert__root-container',
|
|
35
34
|
container: 'blocking-alert__container',
|
|
36
|
-
}, children:
|
|
35
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "blocking-alert", children: [_jsx(PanelLoadingIndicator, { isLoading: Boolean(info.showLoading) }), _jsxs(ModalBody, { children: [_jsx("div", { className: "blocking-alert__message", children: info.message }), info.prompt && (_jsx("div", { className: "blocking-alert__message__prompt", children: info.prompt }))] })] }) }));
|
|
37
36
|
});
|
|
38
37
|
//# sourceMappingURL=BlockingAlert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockingAlert.js","sourceRoot":"","sources":["../../src/components/BlockingAlert.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BlockingAlert.js","sourceRoot":"","sources":["../../src/components/BlockingAlert.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,MAAM,EACN,KAAK,EACL,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,EAAE;IACzC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,IAAI,GAAG,gBAAgB,CAAC,YAAY,CAAC,iBAAiB,CAAC;IAE7D,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,EACnB,OAAO,EAAE,IAAI,EACb,OAAO,EAAE;YACP,IAAI,EAAE,gCAAgC;YACtC,SAAS,EAAE,2BAA2B;SACvC,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAC,gBAAgB,aAE1B,KAAC,qBAAqB,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,GAAI,EAC/D,MAAC,SAAS,eACR,cAAK,SAAS,EAAC,yBAAyB,YAAE,IAAI,CAAC,OAAO,GAAO,EAC5D,IAAI,CAAC,MAAM,IAAI,CACd,cAAK,SAAS,EAAC,iCAAiC,YAAE,IAAI,CAAC,MAAM,GAAO,CACrE,IACS,IACN,GACD,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
export declare const BrowserEnvironmentProvider: React.FC<{
|
|
18
17
|
children: React.ReactNode;
|
|
19
18
|
baseUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserEnvironmentProvider.d.ts","sourceRoot":"","sources":["../../src/components/BrowserEnvironmentProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"BrowserEnvironmentProvider.d.ts","sourceRoot":"","sources":["../../src/components/BrowserEnvironmentProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0BH,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;CACjB,CAIA,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/BrowserEnvironmentProvider.tsx";
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -26,7 +25,7 @@ const BrowserPlatformProvider = ({ children }) => {
|
|
|
26
25
|
const applicationStore = useApplicationStore();
|
|
27
26
|
const historyAPI = useHistory(); // TODO: this is a temporary hack until we upgrade react-router
|
|
28
27
|
const platform = useLocalObservable(() => new BrowserPlatform(applicationStore, { historyAPI }));
|
|
29
|
-
return (
|
|
28
|
+
return (_jsx(ApplicationPlatformContext.Provider, { value: platform, children: children }));
|
|
30
29
|
};
|
|
31
|
-
export const BrowserEnvironmentProvider = ({ children, baseUrl }) => (
|
|
30
|
+
export const BrowserEnvironmentProvider = ({ children, baseUrl }) => (_jsx(BrowserRouter, { basename: baseUrl, children: _jsx(BrowserPlatformProvider, { children: children }) }));
|
|
32
31
|
//# sourceMappingURL=BrowserEnvironmentProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserEnvironmentProvider.js","sourceRoot":"","sources":["../../src/components/BrowserEnvironmentProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BrowserEnvironmentProvider.js","sourceRoot":"","sources":["../../src/components/BrowserEnvironmentProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAgB,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,uBAAuB,GAExB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,UAAU,GAAG,UAAU,EAAa,CAAC,CAAC,+DAA+D;IAC3G,MAAM,QAAQ,GAAG,kBAAkB,CACjC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,EAAE,EAAE,UAAU,EAAE,CAAC,CAC5D,CAAC;IAEF,OAAO,CACL,KAAC,0BAA0B,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,YACjD,QAAQ,GAC2B,CACvC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAGlC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9B,KAAC,aAAa,IAAC,QAAQ,EAAE,OAAO,YAC9B,KAAC,uBAAuB,cAAE,QAAQ,GAA2B,GAC/C,CACjB,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export declare const NotificationManager: (() => import("react/jsx-
|
|
16
|
+
export declare const NotificationManager: (() => import("react/jsx-runtime").JSX.Element) & {
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=NotificationManager.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/NotificationManager.tsx";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -27,19 +26,19 @@ export const NotificationManager = observer(() => {
|
|
|
27
26
|
const message = notification?.message ?? '';
|
|
28
27
|
const severity = notification?.severity ?? NOTIFCATION_SEVERITY.INFO;
|
|
29
28
|
const [isExpanded, setIsExpanded] = useState(false);
|
|
30
|
-
let notificationIcon = (
|
|
29
|
+
let notificationIcon = (_jsx("div", { className: "notification__message__content__icon notification__message__content__icon--info", children: _jsx(InfoCircleIcon, {}) }));
|
|
31
30
|
switch (severity) {
|
|
32
31
|
case NOTIFCATION_SEVERITY.ILEGAL_STATE:
|
|
33
|
-
notificationIcon = (
|
|
32
|
+
notificationIcon = (_jsx("div", { className: "notification__message__content__icon notification__message__content__icon--error", children: _jsx(BugIcon, {}) }));
|
|
34
33
|
break;
|
|
35
34
|
case NOTIFCATION_SEVERITY.ERROR:
|
|
36
|
-
notificationIcon = (
|
|
35
|
+
notificationIcon = (_jsx("div", { className: "notification__message__content__icon notification__message__content__icon--error", children: _jsx(TimesCircleIcon, {}) }));
|
|
37
36
|
break;
|
|
38
37
|
case NOTIFCATION_SEVERITY.WARNING:
|
|
39
|
-
notificationIcon = (
|
|
38
|
+
notificationIcon = (_jsx("div", { className: "notification__message__content__icon notification__message__content__icon--warning", children: _jsx(ExclamationTriangleIcon, {}) }));
|
|
40
39
|
break;
|
|
41
40
|
case NOTIFCATION_SEVERITY.SUCCESS:
|
|
42
|
-
notificationIcon = (
|
|
41
|
+
notificationIcon = (_jsx("div", { className: "notification__message__content__icon notification__message__content__icon--success", children: _jsx(CheckCircleIcon, {}) }));
|
|
43
42
|
break;
|
|
44
43
|
default:
|
|
45
44
|
break;
|
|
@@ -58,7 +57,7 @@ export const NotificationManager = observer(() => {
|
|
|
58
57
|
handleClose();
|
|
59
58
|
}
|
|
60
59
|
};
|
|
61
|
-
return (
|
|
60
|
+
return (_jsx(Notification, { classes: {
|
|
62
61
|
root: 'notification',
|
|
63
62
|
anchorOriginBottomRight: 'notification__position',
|
|
64
63
|
}, anchorOrigin: {
|
|
@@ -68,17 +67,17 @@ export const NotificationManager = observer(() => {
|
|
|
68
67
|
// setting the auto-hide duration to null will stop it from hiding automatically
|
|
69
68
|
autoHideDuration: notification
|
|
70
69
|
? notification.autoHideDuration ?? null
|
|
71
|
-
: DEFAULT_NOTIFICATION_HIDE_TIME, onClose: onSnackbarAutoHideOrClickAway, children:
|
|
70
|
+
: DEFAULT_NOTIFICATION_HIDE_TIME, onClose: onSnackbarAutoHideOrClickAway, children: _jsx(NotificationContent, { classes: {
|
|
72
71
|
root: 'notification__content',
|
|
73
72
|
message: 'notification__message',
|
|
74
73
|
action: 'notification__actions',
|
|
75
|
-
}, message:
|
|
74
|
+
}, message: _jsxs("div", { className: "notification__message__content", children: [notificationIcon, _jsx("div", { className: clsx('notification__message__content__text', {
|
|
76
75
|
'notification__message__content__text--expanded': isExpanded,
|
|
77
|
-
}), onClick: handleCopy, title: "Click to Copy", children: message }
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
] }
|
|
76
|
+
}), onClick: handleCopy, title: "Click to Copy", children: message })] }), action: [
|
|
77
|
+
_jsx("button", { className: "notification__action", onClick: toggleExpansion, tabIndex: -1, title: isExpanded ? 'Collapse' : 'Expand', children: isExpanded ? _jsx(ChevronDownIcon, {}) : _jsx(ChevronUpIcon, {}) }, "expand"),
|
|
78
|
+
_jsx("button", { className: "notification__action", onClick: handleClose, tabIndex: -1, title: "Dismiss", children: _jsx(TimesIcon, {}) }, "close"),
|
|
79
|
+
] }) }, typeof message === 'string' || typeof message === 'number'
|
|
81
80
|
? message
|
|
82
|
-
: ''
|
|
81
|
+
: ''));
|
|
83
82
|
});
|
|
84
83
|
//# sourceMappingURL=NotificationManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationManager.js","sourceRoot":"","sources":["../../src/components/NotificationManager.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NotificationManager.js","sourceRoot":"","sources":["../../src/components/NotificationManager.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,YAAY,EACZ,mBAAmB,EAEnB,eAAe,EACf,aAAa,EACb,SAAS,EACT,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,cAAc,EACd,OAAO,EACP,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EACL,8BAA8B,EAC9B,oBAAoB,GACrB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,GAAG,EAAE;IAC/C,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,YAAY,GAAG,gBAAg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ExC,UAAU,CAAC,CAAC,CAAC,KAAC,eAAe,KAAG,CAAC,CAAC,CAAC,KAAC,aAAa,KAAG,IALjD,QAAQ,CAML;gBACT,iBACE,SAAS,EAAC,sBAAsB,EAEhC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,SAAS,YAEf,KAAC,SAAS,KAAG,IALT,OAAO,CAMJ;aACV,GACD,IA7CA,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,KAAK,QAAQ;QACxD,CAAC,CAAC,OAAO;QACT,CAAC,CAAC,EAAE,CA4CK,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
import { type VersionReleaseNotes } from '../stores/ReleaseNotesService.js';
|
|
17
17
|
export declare const ReleaseViewer: ((props: {
|
|
18
18
|
releaseNotes: VersionReleaseNotes;
|
|
19
|
-
}) => import("react/jsx-
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
|
-
export declare const ReleaseNotesManager: (() => import("react/jsx-
|
|
22
|
+
export declare const ReleaseNotesManager: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
|
-
export declare const ReleaseLogManager: (() => import("react/jsx-
|
|
25
|
+
export declare const ReleaseLogManager: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=ReleaseNotesManager.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application/src/components/ReleaseNotesManager.tsx";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
5
4
|
*
|
|
@@ -29,15 +28,15 @@ const ReleaseNoteViewer = observer((props) => {
|
|
|
29
28
|
applicationStore.navigationService.navigator.visitAddress(note.docLink);
|
|
30
29
|
}
|
|
31
30
|
};
|
|
32
|
-
return (
|
|
31
|
+
return (_jsxs("div", { className: "release-viewer__update__item", children: [_jsx("div", { className: clsx('release-viewer__update__item-btn', {
|
|
33
32
|
'release-viewer__update__item-btn-bug': isBug,
|
|
34
|
-
}), children: isBug ?
|
|
33
|
+
}), children: isBug ? _jsx(BugIcon, {}) : _jsx(ArrowCircleUpIcon, {}) }), _jsx("div", { className: "release-viewer__update__description", children: note.description }), note.docLink && (_jsx("div", { className: "release-viewer__update__link", children: _jsx("button", { className: "release-viewer__update__link-btn", title: "Visit...", onClick: visitLink, children: _jsx(ShareIcon, {}) }) }))] }, note.description));
|
|
35
34
|
});
|
|
36
35
|
export const ReleaseViewer = observer((props) => {
|
|
37
36
|
const { releaseNotes } = props;
|
|
38
37
|
const enhancements = releaseNotes.notes?.filter((r) => r.type === RELEASE_UPDATE_TYPE.ENHANCEMENT) ?? [];
|
|
39
38
|
const bugFixes = releaseNotes.notes?.filter((r) => r.type === RELEASE_UPDATE_TYPE.BUG_FIX) ?? [];
|
|
40
|
-
return (
|
|
39
|
+
return (_jsxs("div", { className: "release-viewer", children: [_jsxs("div", { className: "release-viewer__version", children: ["Version ", releaseNotes.label ?? releaseNotes.version] }), _jsxs("div", { className: "release-viewer__content", children: [Boolean(enhancements.length) && (_jsxs("div", { className: "release-viewer__update", children: [_jsx("div", { className: "release-viewer__update-type", children: "ENHANCEMENTS" }), _jsx("div", { className: "release-viewer__update__items", children: enhancements.map((e) => (_jsx(ReleaseNoteViewer, { note: e }, e.description))) })] })), Boolean(bugFixes.length) && (_jsxs("div", { className: "release-viewer__update", children: [_jsx("div", { className: "release-viewer__update-type", children: "BUG FIXES" }), _jsx("div", { className: "release-viewer__update__items", children: bugFixes.map((e) => (_jsx(ReleaseNoteViewer, { note: e }, e.description))) })] }))] })] }));
|
|
41
40
|
});
|
|
42
41
|
export const ReleaseNotesManager = observer(() => {
|
|
43
42
|
const applicationStore = useApplicationStore();
|
|
@@ -52,10 +51,10 @@ export const ReleaseNotesManager = observer(() => {
|
|
|
52
51
|
releaseService.updateViewedVersion();
|
|
53
52
|
};
|
|
54
53
|
const title = `Legend ${prettyCONSTName(applicationStore.config.appName)} has been upgraded !`;
|
|
55
|
-
return (
|
|
54
|
+
return (_jsx(Dialog, { open: isOpen, onClose: closeModal, classes: {
|
|
56
55
|
root: 'release-notes__root-container',
|
|
57
56
|
container: 'release-notes__container',
|
|
58
|
-
}, children:
|
|
57
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal release-notes__dialog", children: [_jsx(ModalHeader, { className: "release-notes__dialog__header__title", title: title }), _jsx(ModalBody, { className: "release-notes__dialog__body", children: _jsxs("div", { className: "release-notes__dialog__content", children: [_jsx("div", { className: "release-notes__dialog__content__title", children: "New features, enhancements and bug fixes that were released" }), releaseNotes.map((e) => (_jsx(ReleaseViewer, { releaseNotes: e }, e.version)))] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { className: "modal__footer__close-btn", onClick: closeModal, type: 'primary', children: "Close" }) })] }) }));
|
|
59
58
|
});
|
|
60
59
|
export const ReleaseLogManager = observer(() => {
|
|
61
60
|
const applicationStore = useApplicationStore();
|
|
@@ -70,9 +69,9 @@ export const ReleaseLogManager = observer(() => {
|
|
|
70
69
|
releaseService.updateViewedVersion();
|
|
71
70
|
};
|
|
72
71
|
const title = `Release Notes`;
|
|
73
|
-
return (
|
|
72
|
+
return (_jsx(Dialog, { open: isOpen, onClose: closeModal, classes: {
|
|
74
73
|
root: 'release-notes__root-container',
|
|
75
74
|
container: 'release-notes__container',
|
|
76
|
-
}, children:
|
|
75
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal release-notes__dialog", children: [_jsx(ModalHeader, { className: "release-notes__dialog__header__title", title: title }), _jsx(ModalBody, { className: "release-notes__dialog__body", children: _jsxs("div", { className: "release-notes__dialog__content", children: [_jsx("div", { className: "release-notes__dialog__content__title", children: "New features, enhancements and bug fixes that were released" }), releaseNotes.map((e) => (_jsx(ReleaseViewer, { releaseNotes: e }, e.version)))] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { className: "modal__footer__close-btn", onClick: closeModal, type: 'primary', children: "Close" }) })] }) }));
|
|
77
76
|
});
|
|
78
77
|
//# sourceMappingURL=ReleaseNotesManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReleaseNotesManager.js","sourceRoot":"","sources":["../../src/components/ReleaseNotesManager.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReleaseNotesManager.js","sourceRoot":"","sources":["../../src/components/ReleaseNotesManager.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,iBAAiB,EACjB,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mBAAmB,GAGpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,iBAAiB,GAAG,QAAQ,CAAC,CAAC,KAA4B,EAAE,EAAE;IAClE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACvB,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,KAAK,mBAAmB,CAAC,OA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AAY,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,YAAY,GAAG,cAAc,CAAC,YAAY,IAAI,EAAE,CAAC;IACvD,MAAM,MAAM,GAAG,cAAc,CAAC,uBAAuB,CAAC;IACtD,MAAM,UAAU,GAAG,GAAS,EAAE;QAC5B,cAAc,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QACpC,cAAc,CAAC,mBAAmB,EAAE,CAAC;IACvC,CAAC,CAAC;IACF,MAAM,KAAK,GAAG,eAAe,CAAC;IAC9B,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,UAAU,EACnB,OAAO,EAAE;YACP,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,0BAA0B;SACtC,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAC,oCAAoC,aAE9C,KAAC,WAAW,IACV,SAAS,EAAC,sCAAsC,EAChD,KAAK,EAAE,KAAK,GACZ,EACF,KAAC,SAAS,IAAC,SAAS,EAAC,6BAA6B,YAChD,eAAK,SAAS,EAAC,gCAAgC,aAC7C,cAAK,SAAS,EAAC,uCAAuC,4EAEhD,EACL,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACvB,KAAC,aAAa,IAAiB,YAAY,EAAE,CAAC,IAA1B,CAAC,CAAC,OAAO,CAAqB,CACnD,CAAC,IACE,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,SAAS,EAAC,0BAA0B,EACpC,OAAO,EAAE,UAAU,EACnB,IAAI,EAAE,SAAS,sBAGG,GACR,IACR,GACD,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export declare const VirtualAssistant: (() => import("react/jsx-
|
|
16
|
+
export declare const VirtualAssistant: (() => import("react/jsx-runtime").JSX.Element) & {
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=VirtualAssistant.d.ts.map
|