@lvce-editor/panel-worker 2.3.2 → 2.5.0

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.
@@ -1550,11 +1550,12 @@ const handleFilterInput = async (state, value) => {
1550
1550
 
1551
1551
  const DebugConsole = 'Debug Console';
1552
1552
  const Output = 'Output';
1553
+ const Ports = 'Ports';
1553
1554
  const Problems = 'Problems';
1554
1555
  const Terminals = 'Terminals';
1555
1556
 
1556
1557
  const getPanelViews = () => {
1557
- const views = [Problems, Output, DebugConsole, Terminals];
1558
+ const views = [Problems, Output, DebugConsole, Terminals, Ports];
1558
1559
  return views;
1559
1560
  };
1560
1561
 
@@ -2007,6 +2008,11 @@ const panelToolBarNode = {
2007
2008
  role: ToolBar,
2008
2009
  type: Div
2009
2010
  };
2011
+ const closeIconNode = {
2012
+ childCount: 0,
2013
+ className: mergeClassNames(MaskIcon, MaskIconClose),
2014
+ type: Div
2015
+ };
2010
2016
  const getGlobalActionsDom = state => {
2011
2017
  const {
2012
2018
  maximized
@@ -2032,11 +2038,7 @@ const getGlobalActionsDom = state => {
2032
2038
  onClick: HandleClickClose,
2033
2039
  title: close(),
2034
2040
  type: Button
2035
- }, {
2036
- childCount: 0,
2037
- className: mergeClassNames(MaskIcon, MaskIconClose),
2038
- type: Div
2039
- }];
2041
+ }, closeIconNode];
2040
2042
  };
2041
2043
 
2042
2044
  const selectedClass = mergeClassNames(PanelTab, PanelTabSelected);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/panel-worker",
3
- "version": "2.3.2",
3
+ "version": "2.5.0",
4
4
  "description": "Panel Worker",
5
5
  "repository": {
6
6
  "type": "git",