@semcore/errors 16.0.0-prerelease.6 → 16.0.0-prerelease.9
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/lib/esm/AccessDenied/index.mjs +37 -34
- package/lib/esm/AccessDenied/translations/__intergalactic-dynamic-locales.mjs +32 -32
- package/lib/esm/AccessDenied/translations/de.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/en.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/es.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/fr.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/it.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/ja.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/ko.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/nl.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/pl.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/pt.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/ru.json.mjs +11 -9
- package/lib/esm/AccessDenied/translations/sv.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/tr.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/vi.json.mjs +11 -8
- package/lib/esm/AccessDenied/translations/zh.json.mjs +11 -8
- package/lib/esm/Error.mjs +71 -58
- package/lib/esm/Maintenance/index.mjs +36 -33
- package/lib/esm/Maintenance/translations/__intergalactic-dynamic-locales.mjs +32 -32
- package/lib/esm/Maintenance/translations/de.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/en.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/es.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/fr.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/it.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/ja.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/ko.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/nl.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/pl.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/pt.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/ru.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/sv.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/tr.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/vi.json.mjs +11 -8
- package/lib/esm/Maintenance/translations/zh.json.mjs +11 -8
- package/lib/esm/PageError/index.mjs +50 -43
- package/lib/esm/PageError/translations/__intergalactic-dynamic-locales.mjs +32 -32
- package/lib/esm/PageError/translations/de.json.mjs +11 -8
- package/lib/esm/PageError/translations/en.json.mjs +11 -8
- package/lib/esm/PageError/translations/es.json.mjs +11 -8
- package/lib/esm/PageError/translations/fr.json.mjs +11 -8
- package/lib/esm/PageError/translations/it.json.mjs +11 -8
- package/lib/esm/PageError/translations/ja.json.mjs +11 -8
- package/lib/esm/PageError/translations/ko.json.mjs +11 -8
- package/lib/esm/PageError/translations/nl.json.mjs +11 -8
- package/lib/esm/PageError/translations/pl.json.mjs +11 -8
- package/lib/esm/PageError/translations/pt.json.mjs +11 -8
- package/lib/esm/PageError/translations/ru.json.mjs +11 -8
- package/lib/esm/PageError/translations/sv.json.mjs +11 -8
- package/lib/esm/PageError/translations/tr.json.mjs +11 -8
- package/lib/esm/PageError/translations/vi.json.mjs +11 -8
- package/lib/esm/PageError/translations/zh.json.mjs +11 -8
- package/lib/esm/PageNotFound/index.mjs +36 -33
- package/lib/esm/PageNotFound/translations/__intergalactic-dynamic-locales.mjs +32 -32
- package/lib/esm/PageNotFound/translations/de.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/en.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/es.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/fr.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/it.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/ja.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/ko.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/nl.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/pl.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/pt.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/ru.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/sv.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/tr.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/vi.json.mjs +11 -8
- package/lib/esm/PageNotFound/translations/zh.json.mjs +11 -8
- package/lib/esm/ProjectNotFound/index.mjs +44 -40
- package/lib/esm/ProjectNotFound/translations/__intergalactic-dynamic-locales.mjs +32 -32
- package/lib/esm/ProjectNotFound/translations/de.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/en.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/es.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/fr.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/it.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/ja.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/ko.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/nl.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/pl.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/pt.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/ru.json.mjs +14 -11
- package/lib/esm/ProjectNotFound/translations/sv.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/tr.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/vi.json.mjs +14 -10
- package/lib/esm/ProjectNotFound/translations/zh.json.mjs +14 -10
- package/lib/esm/index.mjs +13 -13
- package/package.json +7 -7
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "正在维护";
|
|
2
|
+
const text = "我们将全力尽快修复。请稍后再来。";
|
|
3
|
+
const btnHome = "前往主页";
|
|
4
|
+
const zh = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
zh as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,54 +1,61 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { createComponent
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { callAllEventHandlers
|
|
14
|
-
import
|
|
15
|
-
import { localizedMessages
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
|
|
5
|
+
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
6
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
7
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
8
|
+
import React from "react";
|
|
9
|
+
import Button from "@semcore/button";
|
|
10
|
+
import { createComponent, Component } from "@semcore/core";
|
|
11
|
+
import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
12
|
+
import canUseDOM from "@semcore/core/lib/utils/canUseDOM";
|
|
13
|
+
import { callAllEventHandlers } from "@semcore/core/lib/utils/assignProps";
|
|
14
|
+
import Error, { getIconPath } from "../Error.mjs";
|
|
15
|
+
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
16
|
+
var _excluded = ["Children", "getI18nText", "onClick", "titleTag"];
|
|
17
|
+
var RootPageError = /* @__PURE__ */ function(_Component) {
|
|
18
|
+
_inherits(RootPageError2, _Component);
|
|
19
|
+
var _super = _createSuper(RootPageError2);
|
|
20
|
+
function RootPageError2() {
|
|
21
|
+
var _this;
|
|
22
|
+
_classCallCheck(this, RootPageError2);
|
|
23
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
24
|
+
args[_key] = arguments[_key];
|
|
25
|
+
}
|
|
26
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
27
|
+
_defineProperty(_assertThisInitialized(_this), "handleReload", function() {
|
|
28
|
+
if (canUseDOM()) {
|
|
29
|
+
location.reload();
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
return _this;
|
|
27
33
|
}
|
|
28
|
-
|
|
34
|
+
_createClass(RootPageError2, [{
|
|
29
35
|
key: "render",
|
|
30
|
-
value: function() {
|
|
31
|
-
var
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
tag:
|
|
34
|
-
},
|
|
35
|
-
onClick:
|
|
36
|
+
value: function render() {
|
|
37
|
+
var _this$asProps = this.asProps, Children = _this$asProps.Children, getI18nText = _this$asProps.getI18nText, onClick = _this$asProps.onClick, titleTag = _this$asProps.titleTag, other = _objectWithoutProperties(_this$asProps, _excluded);
|
|
38
|
+
return /* @__PURE__ */ React.createElement(Error, other, /* @__PURE__ */ React.createElement(Error.Title, {
|
|
39
|
+
tag: titleTag
|
|
40
|
+
}, getI18nText("title")), /* @__PURE__ */ React.createElement(Error.Description, null, getI18nText("text")), /* @__PURE__ */ React.createElement(Children, null), /* @__PURE__ */ React.createElement(Error.Controls, null, /* @__PURE__ */ React.createElement(Button, {
|
|
41
|
+
onClick: callAllEventHandlers(onClick, this.handleReload),
|
|
36
42
|
size: "l",
|
|
37
43
|
use: "primary",
|
|
38
44
|
theme: "info"
|
|
39
|
-
},
|
|
45
|
+
}, getI18nText("btnRetry"))));
|
|
40
46
|
}
|
|
41
|
-
}])
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
}]);
|
|
48
|
+
return RootPageError2;
|
|
49
|
+
}(Component);
|
|
50
|
+
_defineProperty(RootPageError, "displayName", "PageError");
|
|
51
|
+
_defineProperty(RootPageError, "enhance", [i18nEnhance(localizedMessages)]);
|
|
52
|
+
_defineProperty(RootPageError, "defaultProps", {
|
|
53
|
+
i18n: localizedMessages,
|
|
47
54
|
locale: "en",
|
|
48
|
-
icon:
|
|
55
|
+
icon: getIconPath("page_error"),
|
|
49
56
|
titleTag: "h2"
|
|
50
57
|
});
|
|
51
|
-
const
|
|
58
|
+
const index = createComponent(RootPageError);
|
|
52
59
|
export {
|
|
53
|
-
|
|
60
|
+
index as default
|
|
54
61
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
var
|
|
17
|
-
de
|
|
18
|
-
en
|
|
19
|
-
es
|
|
20
|
-
fr
|
|
21
|
-
it
|
|
22
|
-
ja
|
|
23
|
-
ko
|
|
24
|
-
nl
|
|
25
|
-
pt
|
|
26
|
-
ru
|
|
27
|
-
tr
|
|
28
|
-
vi
|
|
29
|
-
zh
|
|
30
|
-
pl
|
|
31
|
-
sv
|
|
1
|
+
import de from "./de.json.mjs";
|
|
2
|
+
import en from "./en.json.mjs";
|
|
3
|
+
import es from "./es.json.mjs";
|
|
4
|
+
import fr from "./fr.json.mjs";
|
|
5
|
+
import it from "./it.json.mjs";
|
|
6
|
+
import ja from "./ja.json.mjs";
|
|
7
|
+
import ko from "./ko.json.mjs";
|
|
8
|
+
import nl from "./nl.json.mjs";
|
|
9
|
+
import pt from "./pt.json.mjs";
|
|
10
|
+
import ru from "./ru.json.mjs";
|
|
11
|
+
import tr from "./tr.json.mjs";
|
|
12
|
+
import vi from "./vi.json.mjs";
|
|
13
|
+
import zh from "./zh.json.mjs";
|
|
14
|
+
import pl from "./pl.json.mjs";
|
|
15
|
+
import sv from "./sv.json.mjs";
|
|
16
|
+
var localizedMessages = {
|
|
17
|
+
de,
|
|
18
|
+
en,
|
|
19
|
+
es,
|
|
20
|
+
fr,
|
|
21
|
+
it,
|
|
22
|
+
ja,
|
|
23
|
+
ko,
|
|
24
|
+
nl,
|
|
25
|
+
pt,
|
|
26
|
+
ru,
|
|
27
|
+
tr,
|
|
28
|
+
vi,
|
|
29
|
+
zh,
|
|
30
|
+
pl,
|
|
31
|
+
sv
|
|
32
32
|
};
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
localizedMessages
|
|
35
35
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Es ist ein Fehler aufgetreten";
|
|
2
|
+
const text = "Keine Sorge – wir wissen von dem Problem und arbeiten an seiner Behebung. Bitte versuchen Sie es später erneut.";
|
|
3
|
+
const btnRetry = "Noch mal versuchen";
|
|
4
|
+
const de = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
de as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Something went wrong";
|
|
2
|
+
const text = "Don't worry though, we are aware of the issue and are working to fix it. Please try again later.";
|
|
3
|
+
const btnRetry = "Try again";
|
|
4
|
+
const en = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
en as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Algo salió mal";
|
|
2
|
+
const text = "De todas maneras no te preocupes, estamos al corriente del problema y estamos tratando de solucionarlo.";
|
|
3
|
+
const btnRetry = "Inténtalo de nuevo";
|
|
4
|
+
const es = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
es as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Une erreur est survenue";
|
|
2
|
+
const text = "Ne vous inquiétez pas, nous avons connaissance du problème et travaillons pour le réparer. Veuillez réessayer plus tard.";
|
|
3
|
+
const btnRetry = "Veuillez réessayer";
|
|
4
|
+
const fr = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
fr as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Si è verificato un errore";
|
|
2
|
+
const text = "Ma non preoccuparti, siamo a conoscenza del problema e stiamo lavorando per porvi rimedio. Riprova più tardi.";
|
|
3
|
+
const btnRetry = "Riprova";
|
|
4
|
+
const it = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
it as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "エラーが発生しました";
|
|
2
|
+
const text = "心配はありません。私たちは問題を把握し、解決に向けて動いています。あとで再試行してください。";
|
|
3
|
+
const btnRetry = "もう一度お試しください";
|
|
4
|
+
const ja = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
ja as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "오류가 발생했습니다.";
|
|
2
|
+
const text = "문제를 파악했으며 해결 중입니다. 나중에 다시 시도해 주세요.";
|
|
3
|
+
const btnRetry = "다시 시도해 주세요";
|
|
4
|
+
const ko = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
ko as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Er is iets fout gegaan";
|
|
2
|
+
const text = "We zijn op de hoogte van het probleem en werken aan een oplossing. Probeer het later nog eens.";
|
|
3
|
+
const btnRetry = "Opnieuw proberen";
|
|
4
|
+
const nl = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
nl as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Coś poszło nie tak";
|
|
2
|
+
const text = "Spokojnie: wiemy o tym problemie i pracujemy nad jego rozwiązaniem. Spróbuj ponownie później.";
|
|
3
|
+
const btnRetry = "Spróbuj ponownie";
|
|
4
|
+
const pl = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
pl as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Algo deu errado";
|
|
2
|
+
const text = "Não se preocupe, estamos cientes do problema e estamos trabalhando para resolvê-lo. Tente novamente mais tarde.";
|
|
3
|
+
const btnRetry = "Tente novamente";
|
|
4
|
+
const pt = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
pt as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Произошла ошибка";
|
|
2
|
+
const text = "Мы уже знаем об этой проблеме и в настоящий момент устраняем ее. Пожалуйста, повторите попытку позже.";
|
|
3
|
+
const btnRetry = "Повторите попытку";
|
|
4
|
+
const ru = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
ru as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Något gick fel";
|
|
2
|
+
const text = "Oroa dig dock inte, vi är medvetna om problemet och arbetar på att åtgärda det. Försök igen senare.";
|
|
3
|
+
const btnRetry = "Försök igen";
|
|
4
|
+
const sv = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
sv as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Bir şeyler ters gitti";
|
|
2
|
+
const text = "Endişelenmeyin, sorunu düzeltmek için çalışıyoruz. Lütfen daha sonra tekrar deneyiniz.";
|
|
3
|
+
const btnRetry = "Tekrar deneyin";
|
|
4
|
+
const tr = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
tr as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Đã xảy ra lỗi";
|
|
2
|
+
const text = "Đừng lo lắng, chúng tôi đã nhận thấy vấn đề và đang khắc phục nó. Vui lòng thử lại sau.";
|
|
3
|
+
const btnRetry = "Vui lòng thử lại";
|
|
4
|
+
const vi = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
vi as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "出错了";
|
|
2
|
+
const text = "别担心,我们已经发现了问题并正在处理。请稍后重试。";
|
|
3
|
+
const btnRetry = "重试";
|
|
4
|
+
const zh = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnRetry
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnRetry,
|
|
11
|
+
zh as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,47 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { createComponent
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { localizedMessages
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
|
+
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
4
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
5
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
6
|
+
import { createComponent, assignProps, Component } from "@semcore/core";
|
|
7
|
+
import React from "react";
|
|
8
|
+
import Button from "@semcore/button";
|
|
9
|
+
import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
10
|
+
import Error, { getIconPath } from "../Error.mjs";
|
|
11
|
+
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
12
|
+
var RootPageNotFound = /* @__PURE__ */ function(_Component) {
|
|
13
|
+
_inherits(RootPageNotFound2, _Component);
|
|
14
|
+
var _super = _createSuper(RootPageNotFound2);
|
|
15
|
+
function RootPageNotFound2() {
|
|
16
|
+
_classCallCheck(this, RootPageNotFound2);
|
|
17
|
+
return _super.apply(this, arguments);
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
_createClass(RootPageNotFound2, [{
|
|
19
20
|
key: "render",
|
|
20
|
-
value: function() {
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
value: function render() {
|
|
22
|
+
var _ref = this.asProps;
|
|
23
|
+
var _this$asProps = this.asProps, Children = _this$asProps.Children, getI18nText = _this$asProps.getI18nText, homeLink = _this$asProps.homeLink, titleTag = _this$asProps.titleTag;
|
|
24
|
+
return /* @__PURE__ */ React.createElement(Error, assignProps({}, _ref), /* @__PURE__ */ React.createElement(Error.Title, {
|
|
25
|
+
tag: titleTag
|
|
26
|
+
}, getI18nText("title")), /* @__PURE__ */ React.createElement(Error.Description, null, getI18nText("text")), /* @__PURE__ */ React.createElement(Children, null), /* @__PURE__ */ React.createElement(Error.Controls, null, /* @__PURE__ */ React.createElement(Button, {
|
|
25
27
|
tag: "a",
|
|
26
28
|
type: "none",
|
|
27
29
|
size: "l",
|
|
28
30
|
use: "primary",
|
|
29
31
|
theme: "info",
|
|
30
|
-
href:
|
|
31
|
-
},
|
|
32
|
+
href: homeLink
|
|
33
|
+
}, getI18nText("btnHome"))));
|
|
32
34
|
}
|
|
33
|
-
}])
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
}]);
|
|
36
|
+
return RootPageNotFound2;
|
|
37
|
+
}(Component);
|
|
38
|
+
_defineProperty(RootPageNotFound, "displayName", "Maintenance");
|
|
39
|
+
_defineProperty(RootPageNotFound, "enhance", [i18nEnhance(localizedMessages)]);
|
|
40
|
+
_defineProperty(RootPageNotFound, "defaultProps", {
|
|
41
|
+
i18n: localizedMessages,
|
|
39
42
|
locale: "en",
|
|
40
|
-
icon:
|
|
43
|
+
icon: getIconPath("page_not_found"),
|
|
41
44
|
homeLink: "/",
|
|
42
45
|
titleTag: "h2"
|
|
43
46
|
});
|
|
44
|
-
const
|
|
47
|
+
const index = createComponent(RootPageNotFound);
|
|
45
48
|
export {
|
|
46
|
-
|
|
49
|
+
index as default
|
|
47
50
|
};
|