@uxf/cms 11.49.0 → 11.49.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/cms",
|
|
3
|
-
"version": "11.49.
|
|
3
|
+
"version": "11.49.2",
|
|
4
4
|
"description": "UXF Cms",
|
|
5
5
|
"author": "UXFans <dev@uxf.cz>",
|
|
6
6
|
"homepage": "https://gitlab.com/uxf-npm/cms#readme",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@redux-devtools/extension": "3.3.0",
|
|
33
33
|
"@uxf/core": "11.47.0",
|
|
34
34
|
"@uxf/core-react": "11.47.0",
|
|
35
|
-
"@uxf/data-grid": "11.49.
|
|
36
|
-
"@uxf/form": "11.49.
|
|
37
|
-
"@uxf/router": "11.
|
|
38
|
-
"@uxf/ui": "11.49.
|
|
39
|
-
"@uxf/wysiwyg": "11.49.
|
|
35
|
+
"@uxf/data-grid": "11.49.1",
|
|
36
|
+
"@uxf/form": "11.49.2",
|
|
37
|
+
"@uxf/router": "11.49.1",
|
|
38
|
+
"@uxf/ui": "11.49.1",
|
|
39
|
+
"@uxf/wysiwyg": "11.49.1",
|
|
40
40
|
"axios": "1.7.5",
|
|
41
41
|
"axios-hooks": "5.0.2",
|
|
42
42
|
"es6-error": "4.1.1",
|
|
@@ -5,7 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.removeConfirmHandler = removeConfirmHandler;
|
|
7
7
|
const button_1 = require("@uxf/ui/button");
|
|
8
|
-
const dialog_panel_1 = require("@uxf/ui/dialog/dialog-panel");
|
|
9
8
|
const modal_1 = require("@uxf/ui/modal");
|
|
10
9
|
const modal_dialog_1 = require("@uxf/ui/modal-dialog/modal-dialog");
|
|
11
10
|
const react_1 = __importDefault(require("react"));
|
|
@@ -13,16 +12,15 @@ function removeConfirmHandler() {
|
|
|
13
12
|
return new Promise((resolve) => {
|
|
14
13
|
(0, modal_1.openModal)({
|
|
15
14
|
isBackdropCloseDisabled: true,
|
|
16
|
-
children: (react_1.default.createElement(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} }, "Ano, smazat")), title: "Opravdu chcete smazat tento soubor?" }))),
|
|
15
|
+
children: (react_1.default.createElement(modal_dialog_1.ModalDialog, { footer: react_1.default.createElement(react_1.default.Fragment, null,
|
|
16
|
+
react_1.default.createElement(button_1.Button, { onClick: () => {
|
|
17
|
+
resolve(false);
|
|
18
|
+
(0, modal_1.closeModal)();
|
|
19
|
+
} }, "Zru\u0161it"),
|
|
20
|
+
react_1.default.createElement(button_1.Button, { color: "negative", onClick: () => {
|
|
21
|
+
resolve(true);
|
|
22
|
+
(0, modal_1.closeModal)();
|
|
23
|
+
} }, "Ano, smazat")), title: "Opravdu chcete smazat tento soubor?", width: "sm" })),
|
|
26
24
|
});
|
|
27
25
|
});
|
|
28
26
|
}
|