@opensumi/ide-overlay 2.17.7 → 2.18.1-rc-1654142476.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.
|
@@ -6,7 +6,7 @@ const mobx_react_lite_1 = require("mobx-react-lite");
|
|
|
6
6
|
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
7
|
const ide_components_1 = require("@opensumi/ide-components");
|
|
8
8
|
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
9
|
-
const
|
|
9
|
+
const ide_core_browser_2 = require("@opensumi/ide-core-browser");
|
|
10
10
|
const common_1 = require("../common");
|
|
11
11
|
exports.Dialog = (0, mobx_react_lite_1.observer)(() => {
|
|
12
12
|
const dialogService = (0, ide_core_browser_1.useInjectable)(common_1.IDialogService);
|
|
@@ -26,6 +26,6 @@ exports.Dialog = (0, mobx_react_lite_1.observer)(() => {
|
|
|
26
26
|
dialogService.hide(value);
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
return (react_1.default.createElement(ide_components_1.Dialog, { visible: dialogService.isVisible(), onClose: handleClose, closable: dialogService.closable, afterClose: afterClose, message: message, type: 'confirm', messageType: type, icon: icon, keyboard: true, buttons: buttons.length ? (buttons.map((button, index) => (react_1.default.createElement(ide_components_1.Button, { size: 'large', onClick: handlerClickButton(button), key: button, type: index === buttons.length - 1 ? 'primary' : 'secondary' },
|
|
29
|
+
return (react_1.default.createElement(ide_components_1.Dialog, { visible: dialogService.isVisible(), onClose: handleClose, closable: dialogService.closable, afterClose: afterClose, message: message, type: 'confirm', messageType: type, icon: icon, keyboard: true, buttons: buttons.length ? (buttons.map((button, index) => (react_1.default.createElement(ide_components_1.Button, { size: 'large', onClick: handlerClickButton(button), key: button, type: index === buttons.length - 1 ? 'primary' : 'secondary' }, ide_core_browser_2.strings.mnemonicButtonLabel(button, true))))) : (react_1.default.createElement(ide_components_1.Button, { size: 'large', onClick: handleClose, type: 'primary' }, (0, ide_core_browser_1.localize)('dialog.confirm'))) }));
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=dialog.view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.view.js","sourceRoot":"","sources":["../../src/browser/dialog.view.tsx"],"names":[],"mappings":";;;;AAAA,qDAA2C;AAC3C,uDAA4D;AAE5D,6DAAwE;AACxE,iEAAqE;AACrE,
|
|
1
|
+
{"version":3,"file":"dialog.view.js","sourceRoot":"","sources":["../../src/browser/dialog.view.tsx"],"names":[],"mappings":";;;;AAAA,qDAA2C;AAC3C,uDAA4D;AAE5D,6DAAwE;AACxE,iEAAqE;AACrE,iEAAqD;AAErD,sCAA2C;AAE9B,QAAA,MAAM,GAAG,IAAA,0BAAQ,EAAC,GAAG,EAAE;IAClC,MAAM,aAAa,GAAG,IAAA,gCAAa,EAAiB,uBAAc,CAAC,CAAC;IACpE,MAAM,IAAI,GAAG,aAAa,CAAC,OAAO,EAAE,CAAC;IACrC,MAAM,OAAO,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC;IAC3C,MAAM,OAAO,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC;IAC3C,MAAM,IAAI,GAAG,aAAa,CAAC,OAAO,EAAE,CAAC;IACrC,MAAM,UAAU,GAA8B,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IAE3D,SAAS,UAAU;QACjB,aAAa,CAAC,KAAK,EAAE,CAAC;IACxB,CAAC;IAED,SAAS,WAAW;QAClB,aAAa,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,SAAS,kBAAkB,CAAC,KAAa;QACvC,OAAO,GAAG,EAAE;YACV,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5B,CAAC,CAAC;IACJ,CAAC;IAED,OAAO,CACL,8BAAC,uBAAU,IACT,OAAO,EAAE,aAAa,CAAC,SAAS,EAAE,EAClC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,aAAa,CAAC,QAAQ,EAChC,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,SAAS,EACd,WAAW,EAAE,IAAI,EACjB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,IAAI,EACd,OAAO,EACL,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CACf,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAC7B,8BAAC,uBAAM,IACL,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,kBAAkB,CAAC,MAAM,CAAC,EACnC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,IAE3D,0BAAO,CAAC,mBAAmB,CAAC,MAAM,EAAE,IAAI,CAAC,CACnC,CACV,CAAC,CACH,CAAC,CAAC,CAAC,CACF,8BAAC,uBAAM,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAC,SAAS,IACtD,IAAA,2BAAQ,EAAC,gBAAgB,CAAC,CACpB,CACV,GAEH,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-overlay",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.1-rc-1654142476.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib"
|
|
6
6
|
],
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"url": "git@github.com:opensumi/core.git"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@opensumi/ide-core-common": "2.
|
|
19
|
+
"@opensumi/ide-core-common": "2.18.1-rc-1654142476.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@opensumi/ide-components": "2.
|
|
23
|
-
"@opensumi/ide-core-browser": "2.
|
|
22
|
+
"@opensumi/ide-components": "2.18.1-rc-1654142476.0",
|
|
23
|
+
"@opensumi/ide-core-browser": "2.18.1-rc-1654142476.0",
|
|
24
24
|
"@opensumi/ide-dev-tool": "^1.3.1",
|
|
25
25
|
"@types/marked": "4.0.1"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "3864ee8866c17d0d372e62d8f8b3d75f3c7f75ac"
|
|
28
28
|
}
|