@opensumi/ide-design 3.6.3 → 3.6.4-next-1734515084.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.
|
@@ -17,13 +17,16 @@ let DesignMenuBarContribution = class DesignMenuBarContribution extends ide_core
|
|
|
17
17
|
if (toDispose) {
|
|
18
18
|
toDispose.dispose();
|
|
19
19
|
}
|
|
20
|
-
toDispose = this.menuRegistry.registerMenuItems(next_1.MenuId.DesignMenuBarTopExtra, menubarItems.map((item) =>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
toDispose = this.menuRegistry.registerMenuItems(next_1.MenuId.DesignMenuBarTopExtra, menubarItems.map((item) => {
|
|
21
|
+
var _a;
|
|
22
|
+
return ({
|
|
23
|
+
label: item.label,
|
|
24
|
+
submenu: item.id,
|
|
25
|
+
iconClass: item.iconClass,
|
|
26
|
+
group: item.group || '1_navigation',
|
|
27
|
+
order: (_a = item.order) !== null && _a !== void 0 ? _a : 100,
|
|
28
|
+
});
|
|
29
|
+
}));
|
|
27
30
|
}));
|
|
28
31
|
}
|
|
29
32
|
registerComponent(registry) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-bar.contribution.js","sourceRoot":"","sources":["../../../src/browser/menu-bar/menu-bar.contribution.tsx"],"names":[],"mappings":";;;;AAAA,qCAAyC;AACzC,iEAAuH;AACvH,mEAA6G;AAC7G,sFAAiF;AAEjF,yCAAgE;AAEhE,mDAAoD;AAG7C,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,6BAAU;IAOvD;QACE,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,YAAY,CAAC,2BAA2B,CAAC,aAAM,CAAC,qBAAqB,CAAC,CAAC;QAE5E,IAAI,SAAkC,CAAC;QAEvC,IAAI,CAAC,UAAU,CACb,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,YAA4B,EAAE,EAAE;YACpE,IAAI,SAAS,EAAE,CAAC;gBACd,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,CAAC;YAED,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAC7C,aAAM,CAAC,qBAAqB,EAC5B,YAAY,CAAC,GAAG,CACd,CAAC,IAAkB,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"menu-bar.contribution.js","sourceRoot":"","sources":["../../../src/browser/menu-bar/menu-bar.contribution.tsx"],"names":[],"mappings":";;;;AAAA,qCAAyC;AACzC,iEAAuH;AACvH,mEAA6G;AAC7G,sFAAiF;AAEjF,yCAAgE;AAEhE,mDAAoD;AAG7C,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,6BAAU;IAOvD;QACE,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,YAAY,CAAC,2BAA2B,CAAC,aAAM,CAAC,qBAAqB,CAAC,CAAC;QAE5E,IAAI,SAAkC,CAAC;QAEvC,IAAI,CAAC,UAAU,CACb,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,YAA4B,EAAE,EAAE;YACpE,IAAI,SAAS,EAAE,CAAC;gBACd,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,CAAC;YAED,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAC7C,aAAM,CAAC,qBAAqB,EAC5B,YAAY,CAAC,GAAG,CACd,CAAC,IAAkB,EAAE,EAAE;;gBACrB,OAAA,CAAC;oBACC,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,OAAO,EAAE,IAAI,CAAC,EAAE;oBAChB,SAAS,EAAE,IAAI,CAAC,SAAS;oBACzB,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,cAAc;oBACnC,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,mCAAI,GAAG;iBACR,CAAA,CAAA;aAAA,CACrB,CACF,CAAC;QACJ,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;IAED,iBAAiB,CAAC,QAA2B;QAC3C,QAAQ,CAAC,QAAQ,CAAC,yCAAgC,EAAE;YAClD,SAAS,EAAE,iCAAiB;YAC5B,EAAE,EAAE,yCAAgC;SACrC,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA3CY,8DAAyB;AAEnB;IADhB,IAAA,cAAS,EAAC,6BAAY,CAAC;sCACO,6BAAY;+DAAC;AAG3B;IADhB,IAAA,cAAS,EAAC,oBAAa,CAAC;sCACM,oBAAa;+DAAC;oCALlC,yBAAyB;IADrC,IAAA,yBAAM,EAAC,wCAAqB,CAAC;;GACjB,yBAAyB,CA2CrC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-design",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.4-next-1734515084.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"src"
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"url": "git@github.com:opensumi/core.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@opensumi/ide-components": "3.6.
|
|
23
|
-
"@opensumi/ide-core-common": "3.6.
|
|
24
|
-
"@opensumi/ide-editor": "3.6.
|
|
25
|
-
"@opensumi/ide-file-service": "3.6.
|
|
26
|
-
"@opensumi/ide-main-layout": "3.6.
|
|
27
|
-
"@opensumi/ide-menu-bar": "3.6.
|
|
28
|
-
"@opensumi/ide-overlay": "3.6.
|
|
29
|
-
"@opensumi/ide-theme": "3.6.
|
|
22
|
+
"@opensumi/ide-components": "3.6.4-next-1734515084.0",
|
|
23
|
+
"@opensumi/ide-core-common": "3.6.4-next-1734515084.0",
|
|
24
|
+
"@opensumi/ide-editor": "3.6.4-next-1734515084.0",
|
|
25
|
+
"@opensumi/ide-file-service": "3.6.4-next-1734515084.0",
|
|
26
|
+
"@opensumi/ide-main-layout": "3.6.4-next-1734515084.0",
|
|
27
|
+
"@opensumi/ide-menu-bar": "3.6.4-next-1734515084.0",
|
|
28
|
+
"@opensumi/ide-overlay": "3.6.4-next-1734515084.0",
|
|
29
|
+
"@opensumi/ide-theme": "3.6.4-next-1734515084.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@opensumi/ide-core-browser": "3.6.
|
|
33
|
-
"@opensumi/ide-dev-tool": "3.6.
|
|
32
|
+
"@opensumi/ide-core-browser": "3.6.4-next-1734515084.0",
|
|
33
|
+
"@opensumi/ide-dev-tool": "3.6.4-next-1734515084.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "d6bfe7283fed44b203493d78403950269e86a925"
|
|
36
36
|
}
|
|
@@ -37,7 +37,7 @@ export class DesignMenuBarContribution extends Disposable implements ComponentCo
|
|
|
37
37
|
submenu: item.id,
|
|
38
38
|
iconClass: item.iconClass,
|
|
39
39
|
group: item.group || '1_navigation',
|
|
40
|
-
order: item.order
|
|
40
|
+
order: item.order ?? 100,
|
|
41
41
|
} as ISubmenuItem),
|
|
42
42
|
),
|
|
43
43
|
);
|