@finos/legend-application-studio 28.18.26 → 28.18.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;AAqEH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EA0FnC,CAAC;AAEF,eAAO,MAAM,WAAW;;CA2RtB,CAAC"}
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: () => 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
+ }, 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
- return (_jsxs("div", { className: "activity-bar", children: [_jsx(ActivityBarMenu, {}), _jsxs("div", { className: "activity-bar__items", children: [activities.map((activity) => (_jsx("button", { className: clsx('activity-bar__item', {
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: () => openShowcaseManager(editorStore.applicationStore), tabIndex: -1, title: 'Open Showcases', children: _jsx(ReadMeIcon, {}) }), _jsx(ControlledDropdownMenu, { className: "activity-bar__item", title: "Settings", content: _jsx(SettingsMenu, {}), menuProps: {
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,IAAI,EACJ,sBAAsB,EACtB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,cAAc,EACd,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO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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;AA0CH,eAAO,MAAM,MAAM,wBAqNlB,CAAC"}
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, { ...collapsibleSideBarGroupProps.remainingPanel, minSize: 300, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxs(ResizablePanel, { ...maximizedCollapsiblePanelGroupProps.collapsiblePanel, ...(editorStore.panelGroupDisplayState.size === 0
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,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,WAAW,EACX,uBAAuB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,eAAe,EACf,q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AkB;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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