@semcore/errors 4.48.0-prerelease.0 → 4.48.0-prerelease.1
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/CHANGELOG.md +20 -2
- package/lib/cjs/Error.js +12 -10
- package/lib/cjs/Error.js.map +1 -1
- package/lib/cjs/style/errors.shadow.css +2 -2
- package/lib/es6/Error.js +12 -10
- package/lib/es6/Error.js.map +1 -1
- package/lib/es6/style/errors.shadow.css +2 -2
- 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 +78 -62
- 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/lib/esm/style/errors.shadow.css +67 -0
- package/package.json +8 -8
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Du har hittat den hemliga sidan";
|
|
2
|
+
const text = "Du saknar administratörsbehörighet för att komma åt den här sidan. Gå tillbaka till föregående sida eller besök vår hemsida. ";
|
|
3
|
+
const btnHome = "Gå till startsidan";
|
|
4
|
+
const sv = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
sv as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Gizli sayfayı buldunuz";
|
|
2
|
+
const text = "Bu sayfaya erişim için yönetici izniniz yok. Lütfen bir önceki sayfaya geri dönün veya ana sayfamızı ziyaret edin. ";
|
|
3
|
+
const btnHome = "Ana sayfaya git";
|
|
4
|
+
const tr = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
tr as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Bạn vừa tìm ra một trang ẩn";
|
|
2
|
+
const text = "Bạn không được cấp quyền xem trang này. Quay trở tại trang trước hoặc tham khảo trang chủ của chúng tôi. ";
|
|
3
|
+
const btnHome = "Đi đến Trang chủ";
|
|
4
|
+
const vi = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
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 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
|
};
|
package/lib/esm/Error.mjs
CHANGED
|
@@ -1,74 +1,90 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { sstyled
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { Flex
|
|
11
|
-
import { getIllustrationPath
|
|
12
|
-
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
6
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
+
import { sstyled } from "@semcore/utils/lib/core/index";
|
|
8
|
+
import createComponent, { sstyled as sstyled$1, assignProps, Component } from "@semcore/core";
|
|
9
|
+
import React from "react";
|
|
10
|
+
import { Flex, Box } from "@semcore/flex-box";
|
|
11
|
+
import { getIllustrationPath } from "@semcore/illustration";
|
|
12
|
+
/*!__reshadow-styles__:"./style/errors.shadow.css"*/
|
|
13
|
+
var style = (
|
|
13
14
|
/*__reshadow_css_start__*/
|
|
14
|
-
(
|
|
15
|
+
(sstyled.insert(
|
|
15
16
|
/*__inner_css_start__*/
|
|
16
|
-
".
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
".___SError_1rtcg_gg_{padding:var(--intergalactic-spacing-20x, 80px)0;margin:0 auto;max-width:960px}@media (max-width:768px){.___SError_1rtcg_gg_{padding:var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px)}}@media (max-width:320px){.___SError_1rtcg_gg_{padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px)}}.___SError_1rtcg_gg_ .___SControls_1rtcg_gg_{display:flex;align-items:center}.___SError_1rtcg_gg_ .___SControls_1rtcg_gg_>:not(:last-child){margin-right:var(--intergalactic-spacing-3x, 12px)}.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box}.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___SImageWrapper_1rtcg_gg_,.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___SImage_1rtcg_gg_{width:260px;height:260px}@media (max-width:320px){.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___SImageWrapper_1rtcg_gg_,.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___SImage_1rtcg_gg_{width:200px;height:200px}}.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___SImageWrapper_1rtcg_gg_{margin-right:var(--intergalactic-spacing-10x, 40px)}.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___SWrapper_1rtcg_gg_{flex:1 0 300px;max-width:100%;margin-top:var(--intergalactic-spacing-8x, 32px)}.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___STitle_1rtcg_gg_[data-errors-title]{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-weight:var(--intergalactic-semi-bold, 600);margin:0 0 var(--intergalactic-spacing-4x, 16px)0}.___SError_1rtcg_gg_ .___SInner_1rtcg_gg_ .___SDescription_1rtcg_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));margin:0 0 var(--intergalactic-spacing-6x, 24px)0}",
|
|
18
|
+
/*__inner_css_end__*/
|
|
19
|
+
"1rtcg_gg_"
|
|
20
|
+
), /*__reshadow_css_end__*/
|
|
21
|
+
{
|
|
22
|
+
"__SError": "___SError_1rtcg_gg_",
|
|
23
|
+
"__SControls": "___SControls_1rtcg_gg_",
|
|
24
|
+
"__SInner": "___SInner_1rtcg_gg_",
|
|
25
|
+
"__SImageWrapper": "___SImageWrapper_1rtcg_gg_",
|
|
26
|
+
"__SImage": "___SImage_1rtcg_gg_",
|
|
27
|
+
"__SWrapper": "___SWrapper_1rtcg_gg_",
|
|
28
|
+
"__STitle": "___STitle_1rtcg_gg_",
|
|
29
|
+
"__SDescription": "___SDescription_1rtcg_gg_"
|
|
27
30
|
})
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
);
|
|
32
|
+
var getIconPath = function getIconPath2(name) {
|
|
33
|
+
return getIllustrationPath(name);
|
|
34
|
+
};
|
|
35
|
+
var RootError = /* @__PURE__ */ function(_Component) {
|
|
36
|
+
_inherits(RootError2, _Component);
|
|
37
|
+
var _super = _createSuper(RootError2);
|
|
38
|
+
function RootError2() {
|
|
39
|
+
_classCallCheck(this, RootError2);
|
|
40
|
+
return _super.apply(this, arguments);
|
|
35
41
|
}
|
|
36
|
-
|
|
42
|
+
_createClass(RootError2, [{
|
|
37
43
|
key: "render",
|
|
38
|
-
value: function() {
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
value: function render() {
|
|
45
|
+
var _ref = this.asProps, _ref5;
|
|
46
|
+
var SError = Flex;
|
|
47
|
+
var _this$asProps = this.asProps, Children = _this$asProps.Children, styles = _this$asProps.styles, icon = _this$asProps.icon;
|
|
48
|
+
var SInner = "div";
|
|
49
|
+
var SImageWrapper = "div";
|
|
50
|
+
var SWrapper = "div";
|
|
51
|
+
var SImage = "img";
|
|
52
|
+
return _ref5 = sstyled$1(styles), /* @__PURE__ */ React.createElement(SError, _ref5.cn("SError", _objectSpread({}, assignProps({}, _ref))), /* @__PURE__ */ React.createElement(SInner, _ref5.cn("SInner", {}), icon && /* @__PURE__ */ React.createElement(SImageWrapper, _ref5.cn("SImageWrapper", {}), typeof icon === "string" ? /* @__PURE__ */ React.createElement(SImage, _ref5.cn("SImage", {
|
|
53
|
+
"src": icon,
|
|
54
|
+
"alt": ""
|
|
55
|
+
})) : icon), /* @__PURE__ */ React.createElement(SWrapper, _ref5.cn("SWrapper", {}), /* @__PURE__ */ React.createElement(Children, _ref5.cn("Children", {})))));
|
|
44
56
|
}
|
|
45
|
-
}])
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
57
|
+
}]);
|
|
58
|
+
return RootError2;
|
|
59
|
+
}(Component);
|
|
60
|
+
_defineProperty(RootError, "displayName", "Error");
|
|
61
|
+
_defineProperty(RootError, "style", style);
|
|
62
|
+
function Title(props) {
|
|
63
|
+
var _ref2 = arguments[0], _ref6;
|
|
64
|
+
var STitle = Box;
|
|
65
|
+
return _ref6 = sstyled$1(props.styles), /* @__PURE__ */ React.createElement(STitle, _ref6.cn("STitle", _objectSpread({}, assignProps({
|
|
66
|
+
"data-errors-title": true,
|
|
67
|
+
"tag": "h2"
|
|
68
|
+
}, _ref2))));
|
|
55
69
|
}
|
|
56
|
-
function
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
70
|
+
function Description(props) {
|
|
71
|
+
var _ref3 = arguments[0], _ref7;
|
|
72
|
+
var SDescription = Box;
|
|
73
|
+
return _ref7 = sstyled$1(props.styles), /* @__PURE__ */ React.createElement(SDescription, _ref7.cn("SDescription", _objectSpread({}, assignProps({
|
|
74
|
+
"tag": "p"
|
|
75
|
+
}, _ref3))));
|
|
61
76
|
}
|
|
62
|
-
function
|
|
63
|
-
var
|
|
64
|
-
|
|
77
|
+
function Controls(props) {
|
|
78
|
+
var _ref4 = arguments[0], _ref8;
|
|
79
|
+
var SControls = Box;
|
|
80
|
+
return _ref8 = sstyled$1(props.styles), /* @__PURE__ */ React.createElement(SControls, _ref8.cn("SControls", _objectSpread({}, assignProps({}, _ref4))));
|
|
65
81
|
}
|
|
66
|
-
const
|
|
67
|
-
Title
|
|
68
|
-
Description
|
|
69
|
-
Controls
|
|
82
|
+
const Error = createComponent(RootError, {
|
|
83
|
+
Title,
|
|
84
|
+
Description,
|
|
85
|
+
Controls
|
|
70
86
|
});
|
|
71
87
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
88
|
+
Error as default,
|
|
89
|
+
getIconPath
|
|
74
90
|
};
|
|
@@ -1,47 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
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/utils/lib/enhances/i18nEnhance";
|
|
10
|
+
import Error, { getIconPath } from "../Error.mjs";
|
|
11
|
+
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
12
|
+
var RootMaintenance = /* @__PURE__ */ function(_Component) {
|
|
13
|
+
_inherits(RootMaintenance2, _Component);
|
|
14
|
+
var _super = _createSuper(RootMaintenance2);
|
|
15
|
+
function RootMaintenance2() {
|
|
16
|
+
_classCallCheck(this, RootMaintenance2);
|
|
17
|
+
return _super.apply(this, arguments);
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
_createClass(RootMaintenance2, [{
|
|
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, toolName = _this$asProps.toolName, titleTag = _this$asProps.titleTag;
|
|
24
|
+
return /* @__PURE__ */ React.createElement(Error, assignProps({}, _ref), /* @__PURE__ */ React.createElement(Error.Title, {
|
|
25
|
+
tag: titleTag
|
|
26
|
+
}, "".concat(toolName, " ").concat(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 RootMaintenance2;
|
|
37
|
+
}(Component);
|
|
38
|
+
_defineProperty(RootMaintenance, "displayName", "Maintenance");
|
|
39
|
+
_defineProperty(RootMaintenance, "enhance", [i18nEnhance(localizedMessages)]);
|
|
40
|
+
_defineProperty(RootMaintenance, "defaultProps", {
|
|
41
|
+
i18n: localizedMessages,
|
|
39
42
|
locale: "en",
|
|
40
43
|
homeLink: "/",
|
|
41
|
-
icon:
|
|
44
|
+
icon: getIconPath("maintenance"),
|
|
42
45
|
titleTag: "h2"
|
|
43
46
|
});
|
|
44
|
-
const
|
|
47
|
+
const index = createComponent(RootMaintenance);
|
|
45
48
|
export {
|
|
46
|
-
|
|
49
|
+
index as default
|
|
47
50
|
};
|
|
@@ -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 = "wird derzeit gewartet";
|
|
2
|
+
const text = "Wir bemühen uns, das Problem so bald wie möglich zu beheben. Bitte versuchen Sie es später wieder.";
|
|
3
|
+
const btnHome = "Zur Homepage";
|
|
4
|
+
const de = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
de as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "is under maintenance";
|
|
2
|
+
const text = "We are doing our best to fix it as soon as possible. Please come back later.";
|
|
3
|
+
const btnHome = "Go to homepage";
|
|
4
|
+
const en = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
en as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "en mantenimiento";
|
|
2
|
+
const text = "Estamos haciendo todo lo posible para solucionarlo rápidamente. Por favor, visítanos en otro momento.";
|
|
3
|
+
const btnHome = "Ir a la página de inicio";
|
|
4
|
+
const es = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
es as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "est en cours de maintenance";
|
|
2
|
+
const text = "Nous faisons tout notre possible pour résoudre ce problème dès que possible. Veuillez revenir plus tard.";
|
|
3
|
+
const btnHome = "Vers la page d'accueil";
|
|
4
|
+
const fr = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
fr as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "è in manutenzione";
|
|
2
|
+
const text = "Stiamo facendo del nostro meglio per ripristinarla il prima possibile. Torna in un secondo momento.";
|
|
3
|
+
const btnHome = "Vai alla homepage";
|
|
4
|
+
const it = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
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 btnHome = "ホームページに行く";
|
|
4
|
+
const ja = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
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 btnHome = "홈페이지로 이동";
|
|
4
|
+
const ko = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
ko as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "wordt onderhouden";
|
|
2
|
+
const text = "We doen ons best om het probleem zo snel mogelijk te verhelpen. Probeer het later nog eens.";
|
|
3
|
+
const btnHome = "Naar homepage";
|
|
4
|
+
const nl = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
nl as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "jest w trakcie konserwacji";
|
|
2
|
+
const text = "Robimy co w naszej mocy, aby jak najszybciej rozwiązać ten problem. Wróć tu później.";
|
|
3
|
+
const btnHome = "Przejdź do strony głównej";
|
|
4
|
+
const pl = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
pl as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|