@semcore/errors 4.48.0-prerelease.4 → 4.48.0-prerelease.5
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/cjs/AccessDenied/{index.js → AccessDenied.js} +11 -14
- package/lib/cjs/AccessDenied/AccessDenied.js.map +1 -0
- package/lib/cjs/AccessDenied/AccessDenied.type.js +2 -0
- package/lib/cjs/AccessDenied/AccessDenied.type.js.map +1 -0
- package/lib/cjs/AccessDenied/translations/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/AccessDenied/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/Error.js +24 -29
- package/lib/cjs/Error.js.map +1 -1
- package/lib/cjs/Error.type.js +2 -0
- package/lib/cjs/Error.type.js.map +1 -0
- package/lib/cjs/Maintenance/{index.js → Maintenance.js} +11 -14
- package/lib/cjs/Maintenance/Maintenance.js.map +1 -0
- package/lib/cjs/Maintenance/Maintenance.type.js +2 -0
- package/lib/cjs/Maintenance/Maintenance.type.js.map +1 -0
- package/lib/cjs/Maintenance/translations/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/Maintenance/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/PageError/{index.js → PageError.js} +20 -24
- package/lib/cjs/PageError/PageError.js.map +1 -0
- package/lib/cjs/PageError/PageError.type.js +2 -0
- package/lib/cjs/PageError/PageError.type.js.map +1 -0
- package/lib/cjs/PageError/translations/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/PageError/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/PageNotFound/{index.js → PageNotFound.js} +12 -15
- package/lib/cjs/PageNotFound/PageNotFound.js.map +1 -0
- package/lib/cjs/PageNotFound/PageNotFound.type.js +2 -0
- package/lib/cjs/PageNotFound/PageNotFound.type.js.map +1 -0
- package/lib/cjs/PageNotFound/translations/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/PageNotFound/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/ProjectNotFound/{index.js → ProjectNotFound.js} +32 -24
- package/lib/cjs/ProjectNotFound/ProjectNotFound.js.map +1 -0
- package/lib/cjs/ProjectNotFound/ProjectNotFound.type.js +2 -0
- package/lib/cjs/ProjectNotFound/ProjectNotFound.type.js.map +1 -0
- package/lib/cjs/ProjectNotFound/translations/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/ProjectNotFound/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/ProjectNotFound/translations/de.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/en.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/es.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/fr.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/it.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/ja.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/ko.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/nl.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/pl.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/pt.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/ru.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/sv.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/tr.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/vi.json +1 -1
- package/lib/cjs/ProjectNotFound/translations/zh.json +1 -1
- package/lib/cjs/index.js +78 -10
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/style/errors.shadow.css +11 -13
- package/lib/es6/AccessDenied/{index.js → AccessDenied.js} +8 -10
- package/lib/es6/AccessDenied/AccessDenied.js.map +1 -0
- package/lib/es6/AccessDenied/AccessDenied.type.js +2 -0
- package/lib/es6/AccessDenied/AccessDenied.type.js.map +1 -0
- package/lib/es6/AccessDenied/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/AccessDenied/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/Error.js +19 -20
- package/lib/es6/Error.js.map +1 -1
- package/lib/es6/Error.type.js +2 -0
- package/lib/es6/Error.type.js.map +1 -0
- package/lib/es6/Maintenance/{index.js → Maintenance.js} +8 -10
- package/lib/es6/Maintenance/Maintenance.js.map +1 -0
- package/lib/es6/Maintenance/Maintenance.type.js +2 -0
- package/lib/es6/Maintenance/Maintenance.type.js.map +1 -0
- package/lib/es6/Maintenance/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/Maintenance/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/PageError/{index.js → PageError.js} +17 -19
- package/lib/es6/PageError/PageError.js.map +1 -0
- package/lib/es6/PageError/PageError.type.js +2 -0
- package/lib/es6/PageError/PageError.type.js.map +1 -0
- package/lib/es6/PageError/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/PageError/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/PageNotFound/{index.js → PageNotFound.js} +9 -11
- package/lib/es6/PageNotFound/PageNotFound.js.map +1 -0
- package/lib/es6/PageNotFound/PageNotFound.type.js +2 -0
- package/lib/es6/PageNotFound/PageNotFound.type.js.map +1 -0
- package/lib/es6/PageNotFound/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/PageNotFound/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/ProjectNotFound/{index.js → ProjectNotFound.js} +29 -20
- package/lib/es6/ProjectNotFound/ProjectNotFound.js.map +1 -0
- package/lib/es6/ProjectNotFound/ProjectNotFound.type.js +2 -0
- package/lib/es6/ProjectNotFound/ProjectNotFound.type.js.map +1 -0
- package/lib/es6/ProjectNotFound/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/ProjectNotFound/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/ProjectNotFound/translations/de.json +1 -1
- package/lib/es6/ProjectNotFound/translations/en.json +1 -1
- package/lib/es6/ProjectNotFound/translations/es.json +1 -1
- package/lib/es6/ProjectNotFound/translations/fr.json +1 -1
- package/lib/es6/ProjectNotFound/translations/it.json +1 -1
- package/lib/es6/ProjectNotFound/translations/ja.json +1 -1
- package/lib/es6/ProjectNotFound/translations/ko.json +1 -1
- package/lib/es6/ProjectNotFound/translations/nl.json +1 -1
- package/lib/es6/ProjectNotFound/translations/pl.json +1 -1
- package/lib/es6/ProjectNotFound/translations/pt.json +1 -1
- package/lib/es6/ProjectNotFound/translations/ru.json +1 -1
- package/lib/es6/ProjectNotFound/translations/sv.json +1 -1
- package/lib/es6/ProjectNotFound/translations/tr.json +1 -1
- package/lib/es6/ProjectNotFound/translations/vi.json +1 -1
- package/lib/es6/ProjectNotFound/translations/zh.json +1 -1
- package/lib/es6/index.js +12 -7
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/style/errors.shadow.css +11 -13
- package/lib/esm/AccessDenied/{index.mjs → AccessDenied.mjs} +11 -13
- package/lib/esm/AccessDenied/AccessDenied.type.mjs +1 -0
- package/lib/esm/AccessDenied/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/Error.mjs +24 -27
- package/lib/esm/Error.type.mjs +1 -0
- package/lib/esm/Maintenance/{index.mjs → Maintenance.mjs} +11 -13
- package/lib/esm/Maintenance/Maintenance.type.mjs +1 -0
- package/lib/esm/Maintenance/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/PageError/{index.mjs → PageError.mjs} +19 -21
- package/lib/esm/PageError/PageError.type.mjs +1 -0
- package/lib/esm/PageError/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/PageNotFound/{index.mjs → PageNotFound.mjs} +12 -14
- package/lib/esm/PageNotFound/PageNotFound.type.mjs +1 -0
- package/lib/esm/PageNotFound/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/ProjectNotFound/{index.mjs → ProjectNotFound.mjs} +32 -23
- package/lib/esm/ProjectNotFound/ProjectNotFound.type.mjs +1 -0
- package/lib/esm/ProjectNotFound/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/ProjectNotFound/translations/de.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/en.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/es.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/fr.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/it.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/ja.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/ko.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/nl.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/pl.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/pt.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/ru.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/sv.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/tr.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/vi.json.mjs +1 -1
- package/lib/esm/ProjectNotFound/translations/zh.json.mjs +1 -1
- package/lib/esm/index.mjs +11 -5
- package/lib/esm/style/errors.shadow.css +11 -13
- package/lib/types/AccessDenied/AccessDenied.d.ts +3 -0
- package/lib/types/AccessDenied/AccessDenied.type.d.ts +21 -0
- package/lib/types/AccessDenied/translations/__intergalactic-dynamic-locales.d.ts +77 -0
- package/lib/types/Error.d.ts +4 -0
- package/lib/types/Error.type.d.ts +40 -0
- package/lib/types/Maintenance/Maintenance.d.ts +3 -0
- package/lib/types/Maintenance/Maintenance.type.d.ts +25 -0
- package/lib/types/Maintenance/translations/__intergalactic-dynamic-locales.d.ts +77 -0
- package/lib/types/PageError/PageError.d.ts +3 -0
- package/lib/types/PageError/PageError.type.d.ts +21 -0
- package/lib/types/PageError/translations/__intergalactic-dynamic-locales.d.ts +77 -0
- package/lib/types/PageNotFound/PageNotFound.d.ts +3 -0
- package/lib/types/PageNotFound/PageNotFound.type.d.ts +21 -0
- package/lib/types/PageNotFound/translations/__intergalactic-dynamic-locales.d.ts +77 -0
- package/lib/types/ProjectNotFound/ProjectNotFound.d.ts +3 -0
- package/lib/types/ProjectNotFound/ProjectNotFound.type.d.ts +31 -0
- package/lib/types/ProjectNotFound/translations/__intergalactic-dynamic-locales.d.ts +92 -0
- package/lib/types/index.d.ts +12 -120
- package/package.json +8 -8
- package/lib/cjs/AccessDenied/index.js.map +0 -1
- package/lib/cjs/Maintenance/index.js.map +0 -1
- package/lib/cjs/PageError/index.js.map +0 -1
- package/lib/cjs/PageNotFound/index.js.map +0 -1
- package/lib/cjs/ProjectNotFound/index.js.map +0 -1
- package/lib/cjs/index.d.js +0 -16
- package/lib/cjs/index.d.js.map +0 -1
- package/lib/es6/AccessDenied/index.js.map +0 -1
- package/lib/es6/Maintenance/index.js.map +0 -1
- package/lib/es6/PageError/index.js.map +0 -1
- package/lib/es6/PageNotFound/index.js.map +0 -1
- package/lib/es6/ProjectNotFound/index.js.map +0 -1
- package/lib/es6/index.d.js +0 -16
- package/lib/es6/index.d.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageNotFound.type.js","names":[],"sources":["../../../src/PageNotFound/PageNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\n\ndeclare namespace NSPageNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type PageNotFoundProps = NSPageNotFound.Props;\n\nexport type { NSPageNotFound };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -6,13 +6,13 @@ import it from './it.json';
|
|
|
6
6
|
import ja from './ja.json';
|
|
7
7
|
import ko from './ko.json';
|
|
8
8
|
import nl from './nl.json';
|
|
9
|
+
import pl from './pl.json';
|
|
9
10
|
import pt from './pt.json';
|
|
10
11
|
import ru from './ru.json';
|
|
12
|
+
import sv from './sv.json';
|
|
11
13
|
import tr from './tr.json';
|
|
12
14
|
import vi from './vi.json';
|
|
13
15
|
import zh from './zh.json';
|
|
14
|
-
import pl from './pl.json';
|
|
15
|
-
import sv from './sv.json';
|
|
16
16
|
export var localizedMessages = {
|
|
17
17
|
de: de,
|
|
18
18
|
en: en,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__intergalactic-dynamic-locales.js","names":["de","en","es","fr","it","ja","ko","nl","
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.js","names":["de","en","es","fr","it","ja","ko","nl","pl","pt","ru","sv","tr","vi","zh","localizedMessages"],"sources":["../../../../src/PageNotFound/translations/__intergalactic-dynamic-locales.ts"],"sourcesContent":["import de from './de.json';\nimport en from './en.json';\nimport es from './es.json';\nimport fr from './fr.json';\nimport it from './it.json';\nimport ja from './ja.json';\nimport ko from './ko.json';\nimport nl from './nl.json';\nimport pl from './pl.json';\nimport pt from './pt.json';\nimport ru from './ru.json';\nimport sv from './sv.json';\nimport tr from './tr.json';\nimport vi from './vi.json';\nimport zh from './zh.json';\n\nexport const localizedMessages = {\n de,\n en,\n es,\n fr,\n it,\n ja,\n ko,\n nl,\n pt,\n ru,\n tr,\n vi,\n zh,\n pl,\n sv,\n};\n"],"mappings":"AAAA,OAAOA,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAE1B,OAAO,IAAMC,iBAAiB,GAAG;EAC/Bf,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFE,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFE,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFN,EAAE,EAAFA,EAAE;EACFG,EAAE,EAAFA;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
+
import _callSuper from "@babel/runtime/helpers/callSuper";
|
|
3
4
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
|
-
import _createSuper from "@babel/runtime/helpers/createSuper";
|
|
5
5
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
6
6
|
import { assignProps as _assignProps } from "@semcore/core";
|
|
7
|
-
import React from 'react';
|
|
8
7
|
import Button from '@semcore/button';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
8
|
+
import { createComponent, Component, Root } from '@semcore/core';
|
|
9
|
+
import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
10
|
+
import { Text } from '@semcore/typography';
|
|
11
|
+
import React from 'react';
|
|
12
12
|
import Error, { getIconPath } from '../Error';
|
|
13
13
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
14
14
|
var RootProjectNotFound = /*#__PURE__*/function (_Component) {
|
|
15
|
-
_inherits(RootProjectNotFound, _Component);
|
|
16
|
-
var _super = _createSuper(RootProjectNotFound);
|
|
17
15
|
function RootProjectNotFound() {
|
|
18
16
|
_classCallCheck(this, RootProjectNotFound);
|
|
19
|
-
return
|
|
17
|
+
return _callSuper(this, RootProjectNotFound, arguments);
|
|
20
18
|
}
|
|
21
|
-
|
|
19
|
+
_inherits(RootProjectNotFound, _Component);
|
|
20
|
+
return _createClass(RootProjectNotFound, [{
|
|
22
21
|
key: "render",
|
|
23
22
|
value: function render() {
|
|
24
23
|
var _ref = this.asProps;
|
|
@@ -30,17 +29,28 @@ var RootProjectNotFound = /*#__PURE__*/function (_Component) {
|
|
|
30
29
|
supportTeamLink = _this$asProps.supportTeamLink,
|
|
31
30
|
titleTag = _this$asProps.titleTag;
|
|
32
31
|
var text = getI18nText('text', {
|
|
33
|
-
|
|
32
|
+
p: function p(chunk) {
|
|
33
|
+
return /*#__PURE__*/React.createElement("p", null, chunk);
|
|
34
|
+
},
|
|
35
|
+
ul: function ul(chunk) {
|
|
36
|
+
return /*#__PURE__*/React.createElement("ul", null, chunk);
|
|
37
|
+
},
|
|
38
|
+
li: function li(chunk) {
|
|
39
|
+
return /*#__PURE__*/React.createElement("li", null, chunk);
|
|
40
|
+
},
|
|
41
|
+
supportLink: function supportLink(chunk) {
|
|
42
|
+
return /*#__PURE__*/React.createElement("a", {
|
|
43
|
+
href: supportTeamLink
|
|
44
|
+
}, chunk);
|
|
45
|
+
}
|
|
34
46
|
});
|
|
35
47
|
return /*#__PURE__*/React.createElement(Error, _assignProps({}, _ref), /*#__PURE__*/React.createElement(Error.Title, {
|
|
36
48
|
tag: titleTag
|
|
37
49
|
}, getI18nText('title')), /*#__PURE__*/React.createElement(Error.Description, {
|
|
38
|
-
tag:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
}), /*#__PURE__*/React.createElement(Children, null), /*#__PURE__*/React.createElement(Error.Controls, null, /*#__PURE__*/React.createElement(Button, {
|
|
50
|
+
tag: Text,
|
|
51
|
+
formatTags: true,
|
|
52
|
+
size: 300
|
|
53
|
+
}, text), /*#__PURE__*/React.createElement(Children, null), /*#__PURE__*/React.createElement(Error.Controls, null, /*#__PURE__*/React.createElement(Button, {
|
|
44
54
|
tag: "a",
|
|
45
55
|
type: "none",
|
|
46
56
|
size: "l",
|
|
@@ -55,9 +65,8 @@ var RootProjectNotFound = /*#__PURE__*/function (_Component) {
|
|
|
55
65
|
}, getI18nText('btnContacts'))));
|
|
56
66
|
}
|
|
57
67
|
}]);
|
|
58
|
-
return RootProjectNotFound;
|
|
59
68
|
}(Component);
|
|
60
|
-
_defineProperty(RootProjectNotFound, "displayName", '
|
|
69
|
+
_defineProperty(RootProjectNotFound, "displayName", 'ProjectNotFound');
|
|
61
70
|
_defineProperty(RootProjectNotFound, "enhance", [i18nEnhance(localizedMessages)]);
|
|
62
71
|
_defineProperty(RootProjectNotFound, "defaultProps", {
|
|
63
72
|
i18n: localizedMessages,
|
|
@@ -65,8 +74,8 @@ _defineProperty(RootProjectNotFound, "defaultProps", {
|
|
|
65
74
|
icon: getIconPath('project_not_found'),
|
|
66
75
|
projectsLink: '/projects',
|
|
67
76
|
contactsLink: '/company/contacts',
|
|
68
|
-
supportTeamLink: '
|
|
77
|
+
supportTeamLink: '/company/contacts',
|
|
69
78
|
titleTag: 'h2'
|
|
70
79
|
});
|
|
71
80
|
export default createComponent(RootProjectNotFound);
|
|
72
|
-
//# sourceMappingURL=
|
|
81
|
+
//# sourceMappingURL=ProjectNotFound.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectNotFound.js","names":["Button","createComponent","Component","Root","i18nEnhance","Text","React","Error","getIconPath","localizedMessages","RootProjectNotFound","_Component","_classCallCheck","_callSuper","arguments","_inherits","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","getI18nText","projectsLink","contactsLink","supportTeamLink","titleTag","text","p","chunk","createElement","ul","li","supportLink","href","_assignProps","Title","tag","Description","formatTags","size","Controls","type","use","theme","_defineProperty","i18n","locale","icon"],"sources":["../../../src/ProjectNotFound/ProjectNotFound.tsx"],"sourcesContent":["import Button from '@semcore/button';\nimport type { Intergalactic } from '@semcore/core';\nimport { createComponent, Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport { Text } from '@semcore/typography';\nimport React from 'react';\n\nimport Error, { getIconPath } from '../Error';\nimport type { NSProjectNotFound } from './ProjectNotFound.type';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass RootProjectNotFound extends Component<\n Intergalactic.InternalTypings.InferComponentProps<NSProjectNotFound.Component>,\n typeof RootProjectNotFound.enhance\n> {\n static displayName = 'ProjectNotFound';\n static enhance = [i18nEnhance(localizedMessages)] as const;\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n icon: getIconPath('project_not_found'),\n projectsLink: '/projects',\n contactsLink: '/company/contacts',\n supportTeamLink: '/company/contacts',\n titleTag: 'h2',\n };\n\n render() {\n const { Children, getI18nText, projectsLink, contactsLink, supportTeamLink, titleTag } = this.asProps;\n const text = getI18nText('text', {\n p: (chunk: string) => <p>{chunk}</p>,\n ul: (chunk: string) => <ul>{chunk}</ul>,\n li: (chunk: string) => <li>{chunk}</li>,\n supportLink: (chunk: string) => <a href={supportTeamLink}>{chunk}</a>,\n });\n return (\n <Root render={Error}>\n <Error.Title tag={titleTag}>{getI18nText('title')}</Error.Title>\n <Error.Description tag={Text} formatTags={true} size={300}>\n {text}\n </Error.Description>\n <Children />\n <Error.Controls>\n <Button tag='a' type='none' size='l' use='primary' theme='info' href={projectsLink}>\n {getI18nText('btnProjects')}\n </Button>\n <Button size='l' tag='a' type='none' href={contactsLink}>\n {getI18nText('btnContacts')}\n </Button>\n </Error.Controls>\n </Root>\n );\n }\n}\n\nexport default createComponent(RootProjectNotFound) as NSProjectNotFound.Component;\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectNotFound.type.js","names":[],"sources":["../../../src/ProjectNotFound/ProjectNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\n\ndeclare namespace NSProjectNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * URL for the \"Go to Projects\" button\n * @default /projects\n */\n projectsLink?: string;\n /**\n * URL for the \"Contact us\" button\n * @default /company/contacts\n */\n contactsLink?: string;\n /**\n * URL for the \"Support Team\" link\n * @default /company/contacts\n */\n supportTeamLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type ProjectNotFoundProps = NSProjectNotFound.Props;\n\nexport type { NSProjectNotFound };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -6,13 +6,13 @@ import it from './it.json';
|
|
|
6
6
|
import ja from './ja.json';
|
|
7
7
|
import ko from './ko.json';
|
|
8
8
|
import nl from './nl.json';
|
|
9
|
+
import pl from './pl.json';
|
|
9
10
|
import pt from './pt.json';
|
|
10
11
|
import ru from './ru.json';
|
|
12
|
+
import sv from './sv.json';
|
|
11
13
|
import tr from './tr.json';
|
|
12
14
|
import vi from './vi.json';
|
|
13
15
|
import zh from './zh.json';
|
|
14
|
-
import pl from './pl.json';
|
|
15
|
-
import sv from './sv.json';
|
|
16
16
|
export var localizedMessages = {
|
|
17
17
|
de: de,
|
|
18
18
|
en: en,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__intergalactic-dynamic-locales.js","names":["de","en","es","fr","it","ja","ko","nl","
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.js","names":["de","en","es","fr","it","ja","ko","nl","pl","pt","ru","sv","tr","vi","zh","localizedMessages"],"sources":["../../../../src/ProjectNotFound/translations/__intergalactic-dynamic-locales.ts"],"sourcesContent":["import de from './de.json';\nimport en from './en.json';\nimport es from './es.json';\nimport fr from './fr.json';\nimport it from './it.json';\nimport ja from './ja.json';\nimport ko from './ko.json';\nimport nl from './nl.json';\nimport pl from './pl.json';\nimport pt from './pt.json';\nimport ru from './ru.json';\nimport sv from './sv.json';\nimport tr from './tr.json';\nimport vi from './vi.json';\nimport zh from './zh.json';\n\nexport const localizedMessages = {\n de,\n en,\n es,\n fr,\n it,\n ja,\n ko,\n nl,\n pt,\n ru,\n tr,\n vi,\n zh,\n pl,\n sv,\n};\n"],"mappings":"AAAA,OAAOA,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAE1B,OAAO,IAAMC,iBAAiB,GAAG;EAC/Bf,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFE,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFE,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFN,EAAE,EAAFA,EAAE;EACFG,EAAE,EAAFA;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Projekt nicht gefunden",
|
|
3
|
-
"text": "<p>Das Projekt, auf das Sie zugreifen möchten, wurde nicht gefunden.</p><p>Überprüfen Sie, ob eines der folgenden Probleme vorliegt:</p><ul><li>Das Projekt wurde gelöscht, oder die eingegebene URL ist fehlerhaft.</li><li>Sie sind nicht berechtigt, das Projekt anzuzeigen. Bitten Sie den Projektverantwortlichen um Zugriffsrechte.</li></ul><p>Sie finden alle Ihre Projekte auf der Seite „Projekte“.</p><p>Wenn Sie andere Probleme mit dem Zugriff auf das Projekt haben, kontaktieren Sie unser <
|
|
3
|
+
"text": "<p>Das Projekt, auf das Sie zugreifen möchten, wurde nicht gefunden.</p><p>Überprüfen Sie, ob eines der folgenden Probleme vorliegt:</p><ul><li>Das Projekt wurde gelöscht, oder die eingegebene URL ist fehlerhaft.</li><li>Sie sind nicht berechtigt, das Projekt anzuzeigen. Bitten Sie den Projektverantwortlichen um Zugriffsrechte.</li></ul><p>Sie finden alle Ihre Projekte auf der Seite „Projekte“.</p><p>Wenn Sie andere Probleme mit dem Zugriff auf das Projekt haben, kontaktieren Sie unser <supportLink>Support-Team.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Zu den Projekten",
|
|
5
5
|
"btnContacts": "Kontakt"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Project not found",
|
|
3
|
-
"text": "<p>We cannot find the project you’re trying to access.</p><p>Check one of the following issues:</p><ul><li>The project may have been deleted or there is an error in the URL entered.</li><li>
|
|
3
|
+
"text": "<p>We cannot find the project you’re trying to access.</p><p>Check one of the following issues:</p><ul><li>The project may have been deleted or there is an error in the URL entered.</li><li>You may not have permission to view the project. Please request access from the project owner.</li></ul><p>You can find all your projects on the Projects page.</p><p>If you have any other problems with access to the project, please contact our <supportLink>Support Team.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Go to Projects",
|
|
5
5
|
"btnContacts": "Contact us"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Proyecto no encontrado",
|
|
3
|
-
"text": "<p>No encontramos el proyecto al que quieres acceder.</p><p>Comprueba que no existan los siguientes problemas:</p><ul><li>El proyecto se ha borrado o la URL proporcionada es errónea.</li><li>No cuentas con los permisos para ver el proyecto. Solicita acceso al propietario del proyecto.</li></ul><p>Todos tus proyectos están disponibles en la sección de proyectos.</p><p>Para cualquier problema relacionado con el acceso a tus proyectos, contacta con nuestro <
|
|
3
|
+
"text": "<p>No encontramos el proyecto al que quieres acceder.</p><p>Comprueba que no existan los siguientes problemas:</p><ul><li>El proyecto se ha borrado o la URL proporcionada es errónea.</li><li>No cuentas con los permisos para ver el proyecto. Solicita acceso al propietario del proyecto.</li></ul><p>Todos tus proyectos están disponibles en la sección de proyectos.</p><p>Para cualquier problema relacionado con el acceso a tus proyectos, contacta con nuestro <supportLink>Equipo de asistencia técnica.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Ir a proyectos",
|
|
5
5
|
"btnContacts": "Contáctanos"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Projet introuvable",
|
|
3
|
-
"text": "<p>Nous ne trouvons pas le projet auquel vous essayez d'accéder.</p><p>Vérifiez s'il n'y pas l'un des problèmes suivants :</p><ul><li>Le projet a peut-être été supprimé ou il y a une erreur dans l'URL saisie.</li><li>Vous n'avez peut-être pas l'autorisation de voir le projet. Veuillez demander l'accès au propriétaire du projet.</li></ul><p>Vous pouvez trouver tous vos projets sur la page Projets.</p><p>Si vous rencontrez d'autres problèmes pour accéder au projet, veuillez contacter notre <
|
|
3
|
+
"text": "<p>Nous ne trouvons pas le projet auquel vous essayez d'accéder.</p><p>Vérifiez s'il n'y pas l'un des problèmes suivants :</p><ul><li>Le projet a peut-être été supprimé ou il y a une erreur dans l'URL saisie.</li><li>Vous n'avez peut-être pas l'autorisation de voir le projet. Veuillez demander l'accès au propriétaire du projet.</li></ul><p>Vous pouvez trouver tous vos projets sur la page Projets.</p><p>Si vous rencontrez d'autres problèmes pour accéder au projet, veuillez contacter notre <supportLink>équipe d'assistance.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Vers Projets",
|
|
5
5
|
"btnContacts": "Nous contacter"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Progetto non trovato",
|
|
3
|
-
"text": "<p>Impossibile trovare il progetto a cui stai provando ad accedere.</p><p>Verifica se è presente uno dei seguenti errori:</p><ul><li>Il progetto potrebbe essere stato cancellato o c'è un errore nell'URL inserito.</li><li>Forse non hai i permessi per visualizzare il progetto. Richiedi l'accesso al proprietario del progetto.</li></ul><p>Puoi trovare tutti i tuoi progetti nella pagina Progetti.</p><p>Se hai ancora problemi nell'accedere al progetto, contatta il nostro <
|
|
3
|
+
"text": "<p>Impossibile trovare il progetto a cui stai provando ad accedere.</p><p>Verifica se è presente uno dei seguenti errori:</p><ul><li>Il progetto potrebbe essere stato cancellato o c'è un errore nell'URL inserito.</li><li>Forse non hai i permessi per visualizzare il progetto. Richiedi l'accesso al proprietario del progetto.</li></ul><p>Puoi trovare tutti i tuoi progetti nella pagina Progetti.</p><p>Se hai ancora problemi nell'accedere al progetto, contatta il nostro <supportLink>Team di assistenza.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Vai a Progetti",
|
|
5
5
|
"btnContacts": "Contattaci"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "プロジェクトが見つかりませんでした",
|
|
3
|
-
"text": "<p>アクセスしようとしているプロジェクトが見つかりません。</p><p>下記の問題をご確認ください:</p><ul><li>プロジェクトは削除されたか入力したURLにエラーがある。</li><li>プロジェクトを表示することが許可されていない。プロジェクトの所有者にアクセス許可をリクエストしてください。</li></ul><p>プロジェクトページですべてのプロジェクトを発見できます。</p><p>プロジェクトのアクセスにおいて他の問題がある場合は、<
|
|
3
|
+
"text": "<p>アクセスしようとしているプロジェクトが見つかりません。</p><p>下記の問題をご確認ください:</p><ul><li>プロジェクトは削除されたか入力したURLにエラーがある。</li><li>プロジェクトを表示することが許可されていない。プロジェクトの所有者にアクセス許可をリクエストしてください。</li></ul><p>プロジェクトページですべてのプロジェクトを発見できます。</p><p>プロジェクトのアクセスにおいて他の問題がある場合は、<supportLink>サポートチーム</supportLink>にご連絡ください。</p>",
|
|
4
4
|
"btnProjects": "プロジェクトに移動する",
|
|
5
5
|
"btnContacts": "お問い合わせ"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "프로젝트를 찾을 수 없음",
|
|
3
|
-
"text": "<p>액세스를 시도 중이신 프로젝트를 찾을 수 없습니다.</p><p>이유는 다음 중 하나일 수 있습니다.</p><ul><li>프로젝트가 삭제되었거나 입력하신 URL이 잘못되었을 수 있습니다.</li><li>해당 프로젝트를 볼 수 있는 권한이 없을 수 있습니다. 프로젝트 소유자에게 액세스 권한을 요청하세요.</li></ul><p>프로젝트 페이지에서 모든 프로젝트를 찾으실 수 있습니다.</p><p>프로젝트 액세스와 관련하여 다른 문제가 더 있으시다면 <
|
|
3
|
+
"text": "<p>액세스를 시도 중이신 프로젝트를 찾을 수 없습니다.</p><p>이유는 다음 중 하나일 수 있습니다.</p><ul><li>프로젝트가 삭제되었거나 입력하신 URL이 잘못되었을 수 있습니다.</li><li>해당 프로젝트를 볼 수 있는 권한이 없을 수 있습니다. 프로젝트 소유자에게 액세스 권한을 요청하세요.</li></ul><p>프로젝트 페이지에서 모든 프로젝트를 찾으실 수 있습니다.</p><p>프로젝트 액세스와 관련하여 다른 문제가 더 있으시다면 <supportLink>지원팀에 문의해 주세요.</supportLink></p>",
|
|
4
4
|
"btnProjects": "프로젝트로 이동",
|
|
5
5
|
"btnContacts": "문의하기"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Project niet gevonden",
|
|
3
|
-
"text": "<p>We kunnen het project dat je probeert te openen niet vinden.</p><p>Dit kan een van de volgende oorzaken hebben:</p><ul><li>Het project is verwijderd of de ingevoerde URL is onjuist.</li><li>Je hebt geen toestemming om het project te bekijken. Vraag de eigenaar van het project om toegang.</li></ul><p>Je vindt al je projecten op de pagina Projecten.</p><p>Als je andere problemen hebt met het openen van projecten, neem dan contact op met ons <
|
|
3
|
+
"text": "<p>We kunnen het project dat je probeert te openen niet vinden.</p><p>Dit kan een van de volgende oorzaken hebben:</p><ul><li>Het project is verwijderd of de ingevoerde URL is onjuist.</li><li>Je hebt geen toestemming om het project te bekijken. Vraag de eigenaar van het project om toegang.</li></ul><p>Je vindt al je projecten op de pagina Projecten.</p><p>Als je andere problemen hebt met het openen van projecten, neem dan contact op met ons <supportLink>supportteam</supportLink>.</p>",
|
|
4
4
|
"btnProjects": "Naar projecten",
|
|
5
5
|
"btnContacts": "Neem contact met ons op"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Nie znaleziono projektu",
|
|
3
|
-
"text": "<p>Nie możemy znaleźć projektu, do którego próbujesz uzyskać dostęp.</p><p>Sprawdź, czy nie wystąpił jeden z poniższych problemów:</p><ul><li>Być może projekt został usunięty lub wprowadzony adres URL zawiera błąd.</li><li>Być może nie masz uprawnień do wyświetlenia projektu. Poproś o dostęp właściciela projektu.</li></ul><p>Wszystkie swoje projekty znajdziesz na stronie Projekty.</p><p>Jeśli masz inne problemy z dostępem do projektu, skontaktuj się z naszym <
|
|
3
|
+
"text": "<p>Nie możemy znaleźć projektu, do którego próbujesz uzyskać dostęp.</p><p>Sprawdź, czy nie wystąpił jeden z poniższych problemów:</p><ul><li>Być może projekt został usunięty lub wprowadzony adres URL zawiera błąd.</li><li>Być może nie masz uprawnień do wyświetlenia projektu. Poproś o dostęp właściciela projektu.</li></ul><p>Wszystkie swoje projekty znajdziesz na stronie Projekty.</p><p>Jeśli masz inne problemy z dostępem do projektu, skontaktuj się z naszym <supportLink>zespołem wsparcia.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Przejdź do projektów",
|
|
5
5
|
"btnContacts": "Kontakt z nami"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Projeto não encontrado",
|
|
3
|
-
"text": "<p>Não foi possível encontrar o projeto que você está tentando acessar.</p><p>Verifique um dos seguintes problemas:</p><ul><li>O projeto pode ter sido excluído, ou há um erro na URL informada.</li><li>Talvez você não tenha permissão para visualizar o projeto. Solicite acesso ao proprietário do projeto.</li></ul><p>Todos os seus projetos podem ser encontrados na página Projetos.</p><p>Caso tenha algum outro problema no acesso ao projeto, entre em contato com a nossa <
|
|
3
|
+
"text": "<p>Não foi possível encontrar o projeto que você está tentando acessar.</p><p>Verifique um dos seguintes problemas:</p><ul><li>O projeto pode ter sido excluído, ou há um erro na URL informada.</li><li>Talvez você não tenha permissão para visualizar o projeto. Solicite acesso ao proprietário do projeto.</li></ul><p>Todos os seus projetos podem ser encontrados na página Projetos.</p><p>Caso tenha algum outro problema no acesso ao projeto, entre em contato com a nossa <supportLink>Equipe de suporte.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Ir a Projetos",
|
|
5
5
|
"btnContacts": "Fale conosco"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Проект не найден",
|
|
3
|
-
"text": "<p>Проект, который вы ищете, не найден.</p>\n<p>Это может быть связано с одной из следующих проблем:</p><ul><li>Проект был удален или введенный URL-адрес введен некорректно.</li><li>Возможно, у вас нет прав доступа для просмотра этого проекта. Пожалуйста, запросите доступ у владельца проекта.</li></ul><p>Все ваши проекты находятся в разделе «Проекты».</p><p>По другим вопросам, связанным с доступом к проекту, обратитесь в нашу <
|
|
3
|
+
"text": "<p>Проект, который вы ищете, не найден.</p>\n<p>Это может быть связано с одной из следующих проблем:</p><ul><li>Проект был удален или введенный URL-адрес введен некорректно.</li><li>Возможно, у вас нет прав доступа для просмотра этого проекта. Пожалуйста, запросите доступ у владельца проекта.</li></ul><p>Все ваши проекты находятся в разделе «Проекты».</p><p>По другим вопросам, связанным с доступом к проекту, обратитесь в нашу <supportLink>службу поддержки.</supportLink></p>",
|
|
4
4
|
"btnProjects": "К проектам",
|
|
5
5
|
"btnContacts": "Написать нам"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Projektet hittades inte",
|
|
3
|
-
"text": "<p>Vi kan inte hitta det projekt du försöker komma åt.</p><p>Kontrollera något av följande problem:</p><ul><li>Projektet kan ha raderats eller så finns det ett fel i den angivna webbadressen.</li><li>Du kanske inte har behörighet att visa projektet. Be projektägaren om åtkomst.</li></ul><p>Du hittar alla dina projekt på projektsidan.</p><p>Om du har några andra problem med åtkomst till projektet, kontakta vårt <
|
|
3
|
+
"text": "<p>Vi kan inte hitta det projekt du försöker komma åt.</p><p>Kontrollera något av följande problem:</p><ul><li>Projektet kan ha raderats eller så finns det ett fel i den angivna webbadressen.</li><li>Du kanske inte har behörighet att visa projektet. Be projektägaren om åtkomst.</li></ul><p>Du hittar alla dina projekt på projektsidan.</p><p>Om du har några andra problem med åtkomst till projektet, kontakta vårt <supportLink>supportteam.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Gå till projekt",
|
|
5
5
|
"btnContacts": "Kontakta oss"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Proje bulunamadı",
|
|
3
|
-
"text": "<p>Erişmeye çalıştığınız projeyi bulamıyoruz.</p><p>Şu sorunlardan birinin mevcut olup olmadığını kontrol edin:</p><ul><li>Proje silinmiş veya girilen URL hatalı olabilir.</li><li>Belki de projeyi görme izniniz olmayabilir. Lütfen proje sahibinden erişim izni isteyin.</li></ul><p>Tüm projelerinizi, Projeler sayfasında bulabilirsiniz.</p><p>Projeye erişimle ilgili başka sorunlarınız olursa, lütfen <
|
|
3
|
+
"text": "<p>Erişmeye çalıştığınız projeyi bulamıyoruz.</p><p>Şu sorunlardan birinin mevcut olup olmadığını kontrol edin:</p><ul><li>Proje silinmiş veya girilen URL hatalı olabilir.</li><li>Belki de projeyi görme izniniz olmayabilir. Lütfen proje sahibinden erişim izni isteyin.</li></ul><p>Tüm projelerinizi, Projeler sayfasında bulabilirsiniz.</p><p>Projeye erişimle ilgili başka sorunlarınız olursa, lütfen <supportLink>Destek Ekibimizle</supportLink> iletişime geçin.</p>",
|
|
4
4
|
"btnProjects": "Projelere git",
|
|
5
5
|
"btnContacts": "Bizimle iletişime geçin"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Không tìm thấy trang",
|
|
3
|
-
"text": "<p>Chúng tôi không thể tìm thấy dự án bạn đang muốn truy cập.</p><p>Hãy kiểm tra một trong các vấn đề sau:</p><ul><li>Dự án có thể đã bị xóa hoặc có lỗi trong URL đã nhập.</li><li>Có thể bạn không có quyền xem dự án. Vui lòng yêu cầu quyền truy cập từ chủ sở hữu dự án.</li></ul><p>Bạn có thể tìm thấy tất cả các dự án của mình trên trang Dự án.</p><p>Nếu bạn gặp bất kỳ sự cố nàokhác về quyền truy cập vào dự án, vui lòng liên hệ với <
|
|
3
|
+
"text": "<p>Chúng tôi không thể tìm thấy dự án bạn đang muốn truy cập.</p><p>Hãy kiểm tra một trong các vấn đề sau:</p><ul><li>Dự án có thể đã bị xóa hoặc có lỗi trong URL đã nhập.</li><li>Có thể bạn không có quyền xem dự án. Vui lòng yêu cầu quyền truy cập từ chủ sở hữu dự án.</li></ul><p>Bạn có thể tìm thấy tất cả các dự án của mình trên trang Dự án.</p><p>Nếu bạn gặp bất kỳ sự cố nàokhác về quyền truy cập vào dự án, vui lòng liên hệ với <supportLink>Đội hỗ trợ của chúng tôi.</supportLink></p>",
|
|
4
4
|
"btnProjects": "Chuyển đến dự án",
|
|
5
5
|
"btnContacts": "Liên hệ chúng tôi"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "无法找到此项目",
|
|
3
|
-
"text": "<p>我们找不到您尝试访问的项目。</p><p>检查是否存在以下问题:</p><ul><li>该项目可能已被删除,或者输入的 URL 中存在错误。</li><li>也许您没有查看该项目的权限。请向项目所有者请求访问权限。</li></ul><p>您可以在“项目”页面中找到所有项目。</p><p>如果您在访问项目时遇到任何其他问题,请联系我们的<
|
|
3
|
+
"text": "<p>我们找不到您尝试访问的项目。</p><p>检查是否存在以下问题:</p><ul><li>该项目可能已被删除,或者输入的 URL 中存在错误。</li><li>也许您没有查看该项目的权限。请向项目所有者请求访问权限。</li></ul><p>您可以在“项目”页面中找到所有项目。</p><p>如果您在访问项目时遇到任何其他问题,请联系我们的<supportLink>支持团队。</supportLink></p>",
|
|
4
4
|
"btnProjects": "转到项目",
|
|
5
5
|
"btnContacts": "联系我们"
|
|
6
6
|
}
|
package/lib/es6/index.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
export { default } from './Error';
|
|
2
|
-
export * from './Error';
|
|
3
|
-
export { default as AccessDenied } from './AccessDenied';
|
|
4
|
-
export
|
|
5
|
-
export { default as
|
|
6
|
-
export
|
|
7
|
-
export { default as
|
|
1
|
+
export { default, getIconPath } from './Error';
|
|
2
|
+
export * from './Error.type';
|
|
3
|
+
export { default as AccessDenied } from './AccessDenied/AccessDenied';
|
|
4
|
+
export * from './AccessDenied/AccessDenied.type';
|
|
5
|
+
export { default as Maintenance } from './Maintenance/Maintenance';
|
|
6
|
+
export * from './Maintenance/Maintenance.type';
|
|
7
|
+
export { default as PageError } from './PageError/PageError';
|
|
8
|
+
export * from './PageError/PageError.type';
|
|
9
|
+
export { default as PageNotFound } from './PageNotFound/PageNotFound';
|
|
10
|
+
export * from './PageNotFound/PageNotFound.type';
|
|
11
|
+
export { default as ProjectNotFound } from './ProjectNotFound/ProjectNotFound';
|
|
12
|
+
export * from './ProjectNotFound/ProjectNotFound.type';
|
|
8
13
|
//# sourceMappingURL=index.js.map
|
package/lib/es6/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default","AccessDenied","Maintenance","PageError","PageNotFound","ProjectNotFound"],"sources":["../../src/index.
|
|
1
|
+
{"version":3,"file":"index.js","names":["default","getIconPath","AccessDenied","Maintenance","PageError","PageNotFound","ProjectNotFound"],"sources":["../../src/index.ts"],"sourcesContent":["export { default, getIconPath } from './Error';\nexport * from './Error.type';\n\nexport { default as AccessDenied } from './AccessDenied/AccessDenied';\nexport * from './AccessDenied/AccessDenied.type';\nexport { default as Maintenance } from './Maintenance/Maintenance';\nexport * from './Maintenance/Maintenance.type';\nexport { default as PageError } from './PageError/PageError';\nexport * from './PageError/PageError.type';\nexport { default as PageNotFound } from './PageNotFound/PageNotFound';\nexport * from './PageNotFound/PageNotFound.type';\nexport { default as ProjectNotFound } from './ProjectNotFound/ProjectNotFound';\nexport * from './ProjectNotFound/ProjectNotFound.type';\n"],"mappings":"AAAA,SAASA,OAAO,EAAEC,WAAW,QAAQ,SAAS;AAC9C,cAAc,cAAc;AAE5B,SAASD,OAAO,IAAIE,YAAY,QAAQ,6BAA6B;AACrE,cAAc,kCAAkC;AAChD,SAASF,OAAO,IAAIG,WAAW,QAAQ,2BAA2B;AAClE,cAAc,gCAAgC;AAC9C,SAASH,OAAO,IAAII,SAAS,QAAQ,uBAAuB;AAC5D,cAAc,4BAA4B;AAC1C,SAASJ,OAAO,IAAIK,YAAY,QAAQ,6BAA6B;AACrE,cAAc,kCAAkC;AAChD,SAASL,OAAO,IAAIM,eAAe,QAAQ,mCAAmC;AAC9E,cAAc,wCAAwC","ignoreList":[]}
|
|
@@ -1,50 +1,47 @@
|
|
|
1
1
|
SError {
|
|
2
|
-
padding: var(--intergalactic-spacing-20x, 80px)
|
|
2
|
+
padding: var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-6x, 24px);
|
|
3
3
|
margin: 0 auto;
|
|
4
4
|
max-width: 960px;
|
|
5
5
|
|
|
6
|
-
@media (max-width:
|
|
7
|
-
padding: var(--intergalactic-spacing-20x, 80px) var(--intergalactic-spacing-8x, 32px);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media (max-width: 320px) {
|
|
6
|
+
@media (max-width: 647px) {
|
|
11
7
|
padding: var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-20x, 80px);
|
|
12
8
|
}
|
|
13
9
|
|
|
14
10
|
SControls {
|
|
15
11
|
display: flex;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
gap: var(--intergalactic-spacing-3x, 12px);
|
|
16
14
|
align-items: center;
|
|
17
|
-
|
|
18
|
-
&>*:not(:last-child) {
|
|
19
|
-
margin-right: var(--intergalactic-spacing-3x, 12px);
|
|
20
|
-
}
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
SInner {
|
|
24
18
|
width: 100%;
|
|
25
19
|
display: flex;
|
|
26
20
|
justify-content: flex-start;
|
|
27
|
-
flex-wrap: wrap;
|
|
28
21
|
align-items: flex-start;
|
|
29
22
|
box-sizing: border-box;
|
|
30
23
|
|
|
24
|
+
@media (max-width: 647px) {
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
}
|
|
27
|
+
|
|
31
28
|
SImageWrapper,
|
|
32
29
|
SImage {
|
|
33
30
|
width: 260px;
|
|
34
31
|
height: 260px;
|
|
35
32
|
|
|
36
|
-
@media (max-width:
|
|
33
|
+
@media (max-width: 647px) {
|
|
37
34
|
width: 200px;
|
|
38
35
|
height: 200px;
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
SImageWrapper {
|
|
40
|
+
flex-shrink: 0;
|
|
43
41
|
margin-right: var(--intergalactic-spacing-10x, 40px);
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
SWrapper {
|
|
47
|
-
flex: 1 0 300px;
|
|
48
45
|
max-width: 100%;
|
|
49
46
|
margin-top: var(--intergalactic-spacing-8x, 32px);
|
|
50
47
|
}
|
|
@@ -58,6 +55,7 @@ SError {
|
|
|
58
55
|
}
|
|
59
56
|
|
|
60
57
|
SDescription {
|
|
58
|
+
display: block;
|
|
61
59
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
62
60
|
line-height: var(--intergalactic-lh-300, 150%);
|
|
63
61
|
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
|
+
import _callSuper from "@babel/runtime/helpers/esm/callSuper";
|
|
3
4
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
4
|
-
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
5
5
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
6
|
-
import
|
|
7
|
-
import React from "react";
|
|
6
|
+
import { assignProps, Component, createComponent } from "@semcore/core";
|
|
8
7
|
import Button from "@semcore/button";
|
|
9
|
-
import i18nEnhance from "@semcore/
|
|
8
|
+
import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
9
|
+
import React from "react";
|
|
10
10
|
import Error, { getIconPath } from "../Error.mjs";
|
|
11
11
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
12
|
-
var RootAccessDenied = /* @__PURE__ */ function(_Component) {
|
|
13
|
-
_inherits(RootAccessDenied2, _Component);
|
|
14
|
-
var _super = _createSuper(RootAccessDenied2);
|
|
12
|
+
var RootAccessDenied = /* @__PURE__ */ (function(_Component) {
|
|
15
13
|
function RootAccessDenied2() {
|
|
16
14
|
_classCallCheck(this, RootAccessDenied2);
|
|
17
|
-
return
|
|
15
|
+
return _callSuper(this, RootAccessDenied2, arguments);
|
|
18
16
|
}
|
|
19
|
-
|
|
17
|
+
_inherits(RootAccessDenied2, _Component);
|
|
18
|
+
return _createClass(RootAccessDenied2, [{
|
|
20
19
|
key: "render",
|
|
21
20
|
value: function render() {
|
|
22
21
|
var _ref = this.asProps;
|
|
@@ -35,8 +34,7 @@ var RootAccessDenied = /* @__PURE__ */ function(_Component) {
|
|
|
35
34
|
}, getI18nText("btnHome"))));
|
|
36
35
|
}
|
|
37
36
|
}]);
|
|
38
|
-
|
|
39
|
-
}(Component);
|
|
37
|
+
})(Component);
|
|
40
38
|
_defineProperty(RootAccessDenied, "displayName", "AccessDenied");
|
|
41
39
|
_defineProperty(RootAccessDenied, "enhance", [i18nEnhance(localizedMessages)]);
|
|
42
40
|
_defineProperty(RootAccessDenied, "defaultProps", {
|
|
@@ -46,7 +44,7 @@ _defineProperty(RootAccessDenied, "defaultProps", {
|
|
|
46
44
|
icon: getIconPath("access_denied"),
|
|
47
45
|
titleTag: "h2"
|
|
48
46
|
});
|
|
49
|
-
const
|
|
47
|
+
const AccessDenied = createComponent(RootAccessDenied);
|
|
50
48
|
export {
|
|
51
|
-
|
|
49
|
+
AccessDenied as default
|
|
52
50
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -6,13 +6,13 @@ import it from "./it.json.mjs";
|
|
|
6
6
|
import ja from "./ja.json.mjs";
|
|
7
7
|
import ko from "./ko.json.mjs";
|
|
8
8
|
import nl from "./nl.json.mjs";
|
|
9
|
+
import pl from "./pl.json.mjs";
|
|
9
10
|
import pt from "./pt.json.mjs";
|
|
10
11
|
import ru from "./ru.json.mjs";
|
|
12
|
+
import sv from "./sv.json.mjs";
|
|
11
13
|
import tr from "./tr.json.mjs";
|
|
12
14
|
import vi from "./vi.json.mjs";
|
|
13
15
|
import zh from "./zh.json.mjs";
|
|
14
|
-
import pl from "./pl.json.mjs";
|
|
15
|
-
import sv from "./sv.json.mjs";
|
|
16
16
|
var localizedMessages = {
|
|
17
17
|
de,
|
|
18
18
|
en,
|