@semcore/errors 4.48.0-prerelease.5 → 4.48.0-prerelease.7
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/{AccessDenied.js → index.js} +14 -11
- package/lib/cjs/AccessDenied/index.js.map +1 -0
- package/lib/cjs/AccessDenied/translations/__intergalactic-dynamic-locales.js +5 -4
- package/lib/cjs/AccessDenied/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/Error.js +29 -24
- package/lib/cjs/Error.js.map +1 -1
- package/lib/cjs/Maintenance/{Maintenance.js → index.js} +14 -11
- package/lib/cjs/Maintenance/index.js.map +1 -0
- package/lib/cjs/Maintenance/translations/__intergalactic-dynamic-locales.js +5 -4
- package/lib/cjs/Maintenance/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/PageError/{PageError.js → index.js} +24 -20
- package/lib/cjs/PageError/index.js.map +1 -0
- package/lib/cjs/PageError/translations/__intergalactic-dynamic-locales.js +5 -4
- package/lib/cjs/PageError/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/PageNotFound/{PageNotFound.js → index.js} +15 -12
- package/lib/cjs/PageNotFound/index.js.map +1 -0
- package/lib/cjs/PageNotFound/translations/__intergalactic-dynamic-locales.js +5 -4
- package/lib/cjs/PageNotFound/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/ProjectNotFound/{ProjectNotFound.js → index.js} +24 -32
- package/lib/cjs/ProjectNotFound/index.js.map +1 -0
- package/lib/cjs/ProjectNotFound/translations/__intergalactic-dynamic-locales.js +5 -4
- 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.d.js +16 -0
- package/lib/cjs/index.d.js.map +1 -0
- package/lib/cjs/index.js +10 -78
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/style/errors.shadow.css +13 -11
- package/lib/es6/AccessDenied/{AccessDenied.js → index.js} +10 -8
- package/lib/es6/AccessDenied/index.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 +20 -19
- package/lib/es6/Error.js.map +1 -1
- package/lib/es6/Maintenance/{Maintenance.js → index.js} +10 -8
- package/lib/es6/Maintenance/index.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/{PageError.js → index.js} +19 -17
- package/lib/es6/PageError/index.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/{PageNotFound.js → index.js} +11 -9
- package/lib/es6/PageNotFound/index.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/{ProjectNotFound.js → index.js} +20 -29
- package/lib/es6/ProjectNotFound/index.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.d.js +16 -0
- package/lib/es6/index.d.js.map +1 -0
- package/lib/es6/index.js +7 -12
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/style/errors.shadow.css +13 -11
- package/lib/esm/AccessDenied/{AccessDenied.mjs → index.mjs} +13 -11
- package/lib/esm/AccessDenied/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/Error.mjs +27 -24
- package/lib/esm/Maintenance/{Maintenance.mjs → index.mjs} +13 -11
- package/lib/esm/Maintenance/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/PageError/{PageError.mjs → index.mjs} +21 -19
- package/lib/esm/PageError/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/PageNotFound/{PageNotFound.mjs → index.mjs} +14 -12
- package/lib/esm/PageNotFound/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/ProjectNotFound/{ProjectNotFound.mjs → index.mjs} +23 -32
- 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 +5 -11
- package/lib/esm/style/errors.shadow.css +13 -11
- package/lib/types/index.d.ts +120 -12
- package/package.json +8 -8
- package/lib/cjs/AccessDenied/AccessDenied.js.map +0 -1
- package/lib/cjs/AccessDenied/AccessDenied.type.js +0 -2
- package/lib/cjs/AccessDenied/AccessDenied.type.js.map +0 -1
- package/lib/cjs/Error.type.js +0 -2
- package/lib/cjs/Error.type.js.map +0 -1
- package/lib/cjs/Maintenance/Maintenance.js.map +0 -1
- package/lib/cjs/Maintenance/Maintenance.type.js +0 -2
- package/lib/cjs/Maintenance/Maintenance.type.js.map +0 -1
- package/lib/cjs/PageError/PageError.js.map +0 -1
- package/lib/cjs/PageError/PageError.type.js +0 -2
- package/lib/cjs/PageError/PageError.type.js.map +0 -1
- package/lib/cjs/PageNotFound/PageNotFound.js.map +0 -1
- package/lib/cjs/PageNotFound/PageNotFound.type.js +0 -2
- package/lib/cjs/PageNotFound/PageNotFound.type.js.map +0 -1
- package/lib/cjs/ProjectNotFound/ProjectNotFound.js.map +0 -1
- package/lib/cjs/ProjectNotFound/ProjectNotFound.type.js +0 -2
- package/lib/cjs/ProjectNotFound/ProjectNotFound.type.js.map +0 -1
- package/lib/es6/AccessDenied/AccessDenied.js.map +0 -1
- package/lib/es6/AccessDenied/AccessDenied.type.js +0 -2
- package/lib/es6/AccessDenied/AccessDenied.type.js.map +0 -1
- package/lib/es6/Error.type.js +0 -2
- package/lib/es6/Error.type.js.map +0 -1
- package/lib/es6/Maintenance/Maintenance.js.map +0 -1
- package/lib/es6/Maintenance/Maintenance.type.js +0 -2
- package/lib/es6/Maintenance/Maintenance.type.js.map +0 -1
- package/lib/es6/PageError/PageError.js.map +0 -1
- package/lib/es6/PageError/PageError.type.js +0 -2
- package/lib/es6/PageError/PageError.type.js.map +0 -1
- package/lib/es6/PageNotFound/PageNotFound.js.map +0 -1
- package/lib/es6/PageNotFound/PageNotFound.type.js +0 -2
- package/lib/es6/PageNotFound/PageNotFound.type.js.map +0 -1
- package/lib/es6/ProjectNotFound/ProjectNotFound.js.map +0 -1
- package/lib/es6/ProjectNotFound/ProjectNotFound.type.js +0 -2
- package/lib/es6/ProjectNotFound/ProjectNotFound.type.js.map +0 -1
- package/lib/esm/AccessDenied/AccessDenied.type.mjs +0 -1
- package/lib/esm/Error.type.mjs +0 -1
- package/lib/esm/Maintenance/Maintenance.type.mjs +0 -1
- package/lib/esm/PageError/PageError.type.mjs +0 -1
- package/lib/esm/PageNotFound/PageNotFound.type.mjs +0 -1
- package/lib/esm/ProjectNotFound/ProjectNotFound.type.mjs +0 -1
- package/lib/types/AccessDenied/AccessDenied.d.ts +0 -3
- package/lib/types/AccessDenied/AccessDenied.type.d.ts +0 -21
- package/lib/types/AccessDenied/translations/__intergalactic-dynamic-locales.d.ts +0 -77
- package/lib/types/Error.d.ts +0 -4
- package/lib/types/Error.type.d.ts +0 -40
- package/lib/types/Maintenance/Maintenance.d.ts +0 -3
- package/lib/types/Maintenance/Maintenance.type.d.ts +0 -25
- package/lib/types/Maintenance/translations/__intergalactic-dynamic-locales.d.ts +0 -77
- package/lib/types/PageError/PageError.d.ts +0 -3
- package/lib/types/PageError/PageError.type.d.ts +0 -21
- package/lib/types/PageError/translations/__intergalactic-dynamic-locales.d.ts +0 -77
- package/lib/types/PageNotFound/PageNotFound.d.ts +0 -3
- package/lib/types/PageNotFound/PageNotFound.type.d.ts +0 -21
- package/lib/types/PageNotFound/translations/__intergalactic-dynamic-locales.d.ts +0 -77
- package/lib/types/ProjectNotFound/ProjectNotFound.d.ts +0 -3
- package/lib/types/ProjectNotFound/ProjectNotFound.type.d.ts +0 -31
- package/lib/types/ProjectNotFound/translations/__intergalactic-dynamic-locales.d.ts +0 -92
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export declare const localizedMessages: {
|
|
2
|
-
de: {
|
|
3
|
-
title: string;
|
|
4
|
-
text: string;
|
|
5
|
-
btnHome: string;
|
|
6
|
-
};
|
|
7
|
-
en: {
|
|
8
|
-
title: string;
|
|
9
|
-
text: string;
|
|
10
|
-
btnHome: string;
|
|
11
|
-
};
|
|
12
|
-
es: {
|
|
13
|
-
title: string;
|
|
14
|
-
text: string;
|
|
15
|
-
btnHome: string;
|
|
16
|
-
};
|
|
17
|
-
fr: {
|
|
18
|
-
title: string;
|
|
19
|
-
text: string;
|
|
20
|
-
btnHome: string;
|
|
21
|
-
};
|
|
22
|
-
it: {
|
|
23
|
-
title: string;
|
|
24
|
-
text: string;
|
|
25
|
-
btnHome: string;
|
|
26
|
-
};
|
|
27
|
-
ja: {
|
|
28
|
-
title: string;
|
|
29
|
-
text: string;
|
|
30
|
-
btnHome: string;
|
|
31
|
-
};
|
|
32
|
-
ko: {
|
|
33
|
-
title: string;
|
|
34
|
-
text: string;
|
|
35
|
-
btnHome: string;
|
|
36
|
-
};
|
|
37
|
-
nl: {
|
|
38
|
-
title: string;
|
|
39
|
-
text: string;
|
|
40
|
-
btnHome: string;
|
|
41
|
-
};
|
|
42
|
-
pt: {
|
|
43
|
-
title: string;
|
|
44
|
-
text: string;
|
|
45
|
-
btnHome: string;
|
|
46
|
-
};
|
|
47
|
-
ru: {
|
|
48
|
-
title: string;
|
|
49
|
-
text: string;
|
|
50
|
-
btnHome: string;
|
|
51
|
-
};
|
|
52
|
-
tr: {
|
|
53
|
-
title: string;
|
|
54
|
-
text: string;
|
|
55
|
-
btnHome: string;
|
|
56
|
-
};
|
|
57
|
-
vi: {
|
|
58
|
-
title: string;
|
|
59
|
-
text: string;
|
|
60
|
-
btnHome: string;
|
|
61
|
-
};
|
|
62
|
-
zh: {
|
|
63
|
-
title: string;
|
|
64
|
-
text: string;
|
|
65
|
-
btnHome: string;
|
|
66
|
-
};
|
|
67
|
-
pl: {
|
|
68
|
-
title: string;
|
|
69
|
-
text: string;
|
|
70
|
-
btnHome: string;
|
|
71
|
-
};
|
|
72
|
-
sv: {
|
|
73
|
-
title: string;
|
|
74
|
-
text: string;
|
|
75
|
-
btnHome: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
package/lib/types/Error.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { Box, FlexProps } from '@semcore/base-components';
|
|
2
|
-
import type { Intergalactic, PropGetterFn } from '@semcore/core';
|
|
3
|
-
import type { TIllustrationNamesErrors } from '@semcore/illustration';
|
|
4
|
-
import type React from 'react';
|
|
5
|
-
declare namespace NSErrors {
|
|
6
|
-
type Props = FlexProps & {
|
|
7
|
-
/**
|
|
8
|
-
* Error icon
|
|
9
|
-
* Icon as a string is a URL to an image.
|
|
10
|
-
*/
|
|
11
|
-
icon?: string | React.ReactNode;
|
|
12
|
-
};
|
|
13
|
-
type Ctx = {
|
|
14
|
-
getTextProps: PropGetterFn;
|
|
15
|
-
getDescriptionProps: PropGetterFn;
|
|
16
|
-
getControlsProps: PropGetterFn;
|
|
17
|
-
};
|
|
18
|
-
type IconName = TIllustrationNamesErrors;
|
|
19
|
-
namespace Title {
|
|
20
|
-
type Component = typeof Box;
|
|
21
|
-
}
|
|
22
|
-
namespace Description {
|
|
23
|
-
type Component = typeof Box;
|
|
24
|
-
}
|
|
25
|
-
namespace Controls {
|
|
26
|
-
type Component = typeof Box;
|
|
27
|
-
}
|
|
28
|
-
type Component = Intergalactic.Component<'div', Props, Ctx> & {
|
|
29
|
-
Title: Title.Component;
|
|
30
|
-
Description: Description.Component;
|
|
31
|
-
Controls: Controls.Component;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/** @deprecated It will be removed in v18. */
|
|
35
|
-
export type ErrorsProps = NSErrors.Props;
|
|
36
|
-
/** @deprecated It will be removed in v18. */
|
|
37
|
-
export type ErrorsContext = NSErrors.Ctx;
|
|
38
|
-
/** @deprecated It will be removed in v18. */
|
|
39
|
-
export type IconNamesErrors = NSErrors.IconName;
|
|
40
|
-
export type { NSErrors };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
3
|
-
import type { NSErrors } from '../Error.type';
|
|
4
|
-
declare namespace NSMaintenance {
|
|
5
|
-
type Props = WithI18nEnhanceProps & {
|
|
6
|
-
/**
|
|
7
|
-
* Tool name
|
|
8
|
-
*/
|
|
9
|
-
toolName: string;
|
|
10
|
-
/**
|
|
11
|
-
* href of the home link
|
|
12
|
-
* @default /
|
|
13
|
-
*/
|
|
14
|
-
homeLink?: string;
|
|
15
|
-
/**
|
|
16
|
-
* HTML tag of the error title
|
|
17
|
-
* @default h2
|
|
18
|
-
*/
|
|
19
|
-
titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';
|
|
20
|
-
};
|
|
21
|
-
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
22
|
-
}
|
|
23
|
-
/** @deprecated It will be removed in v18. */
|
|
24
|
-
export type MaintenanceProps = NSMaintenance.Props;
|
|
25
|
-
export type { NSMaintenance };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export declare const localizedMessages: {
|
|
2
|
-
de: {
|
|
3
|
-
title: string;
|
|
4
|
-
text: string;
|
|
5
|
-
btnHome: string;
|
|
6
|
-
};
|
|
7
|
-
en: {
|
|
8
|
-
title: string;
|
|
9
|
-
text: string;
|
|
10
|
-
btnHome: string;
|
|
11
|
-
};
|
|
12
|
-
es: {
|
|
13
|
-
title: string;
|
|
14
|
-
text: string;
|
|
15
|
-
btnHome: string;
|
|
16
|
-
};
|
|
17
|
-
fr: {
|
|
18
|
-
title: string;
|
|
19
|
-
text: string;
|
|
20
|
-
btnHome: string;
|
|
21
|
-
};
|
|
22
|
-
it: {
|
|
23
|
-
title: string;
|
|
24
|
-
text: string;
|
|
25
|
-
btnHome: string;
|
|
26
|
-
};
|
|
27
|
-
ja: {
|
|
28
|
-
title: string;
|
|
29
|
-
text: string;
|
|
30
|
-
btnHome: string;
|
|
31
|
-
};
|
|
32
|
-
ko: {
|
|
33
|
-
title: string;
|
|
34
|
-
text: string;
|
|
35
|
-
btnHome: string;
|
|
36
|
-
};
|
|
37
|
-
nl: {
|
|
38
|
-
title: string;
|
|
39
|
-
text: string;
|
|
40
|
-
btnHome: string;
|
|
41
|
-
};
|
|
42
|
-
pt: {
|
|
43
|
-
title: string;
|
|
44
|
-
text: string;
|
|
45
|
-
btnHome: string;
|
|
46
|
-
};
|
|
47
|
-
ru: {
|
|
48
|
-
title: string;
|
|
49
|
-
text: string;
|
|
50
|
-
btnHome: string;
|
|
51
|
-
};
|
|
52
|
-
tr: {
|
|
53
|
-
title: string;
|
|
54
|
-
text: string;
|
|
55
|
-
btnHome: string;
|
|
56
|
-
};
|
|
57
|
-
vi: {
|
|
58
|
-
title: string;
|
|
59
|
-
text: string;
|
|
60
|
-
btnHome: string;
|
|
61
|
-
};
|
|
62
|
-
zh: {
|
|
63
|
-
title: string;
|
|
64
|
-
text: string;
|
|
65
|
-
btnHome: string;
|
|
66
|
-
};
|
|
67
|
-
pl: {
|
|
68
|
-
title: string;
|
|
69
|
-
text: string;
|
|
70
|
-
btnHome: string;
|
|
71
|
-
};
|
|
72
|
-
sv: {
|
|
73
|
-
title: string;
|
|
74
|
-
text: string;
|
|
75
|
-
btnHome: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
3
|
-
import type { NSErrors } from '../Error.type';
|
|
4
|
-
declare namespace NSPageError {
|
|
5
|
-
type Props = WithI18nEnhanceProps & {
|
|
6
|
-
/**
|
|
7
|
-
* Page reloading button click handler
|
|
8
|
-
* @default () => { if (canUseDOM()) { location.reload(); } }
|
|
9
|
-
*/
|
|
10
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
11
|
-
/**
|
|
12
|
-
* HTML tag of the error title
|
|
13
|
-
* @default h2
|
|
14
|
-
*/
|
|
15
|
-
titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';
|
|
16
|
-
};
|
|
17
|
-
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
18
|
-
}
|
|
19
|
-
/** @deprecated It will be removed in v18. */
|
|
20
|
-
export type PageErrorProps = NSPageError.Props;
|
|
21
|
-
export type { NSPageError };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export declare const localizedMessages: {
|
|
2
|
-
de: {
|
|
3
|
-
title: string;
|
|
4
|
-
text: string;
|
|
5
|
-
btnRetry: string;
|
|
6
|
-
};
|
|
7
|
-
en: {
|
|
8
|
-
title: string;
|
|
9
|
-
text: string;
|
|
10
|
-
btnRetry: string;
|
|
11
|
-
};
|
|
12
|
-
es: {
|
|
13
|
-
title: string;
|
|
14
|
-
text: string;
|
|
15
|
-
btnRetry: string;
|
|
16
|
-
};
|
|
17
|
-
fr: {
|
|
18
|
-
title: string;
|
|
19
|
-
text: string;
|
|
20
|
-
btnRetry: string;
|
|
21
|
-
};
|
|
22
|
-
it: {
|
|
23
|
-
title: string;
|
|
24
|
-
text: string;
|
|
25
|
-
btnRetry: string;
|
|
26
|
-
};
|
|
27
|
-
ja: {
|
|
28
|
-
title: string;
|
|
29
|
-
text: string;
|
|
30
|
-
btnRetry: string;
|
|
31
|
-
};
|
|
32
|
-
ko: {
|
|
33
|
-
title: string;
|
|
34
|
-
text: string;
|
|
35
|
-
btnRetry: string;
|
|
36
|
-
};
|
|
37
|
-
nl: {
|
|
38
|
-
title: string;
|
|
39
|
-
text: string;
|
|
40
|
-
btnRetry: string;
|
|
41
|
-
};
|
|
42
|
-
pt: {
|
|
43
|
-
title: string;
|
|
44
|
-
text: string;
|
|
45
|
-
btnRetry: string;
|
|
46
|
-
};
|
|
47
|
-
ru: {
|
|
48
|
-
title: string;
|
|
49
|
-
text: string;
|
|
50
|
-
btnRetry: string;
|
|
51
|
-
};
|
|
52
|
-
tr: {
|
|
53
|
-
title: string;
|
|
54
|
-
text: string;
|
|
55
|
-
btnRetry: string;
|
|
56
|
-
};
|
|
57
|
-
vi: {
|
|
58
|
-
title: string;
|
|
59
|
-
text: string;
|
|
60
|
-
btnRetry: string;
|
|
61
|
-
};
|
|
62
|
-
zh: {
|
|
63
|
-
title: string;
|
|
64
|
-
text: string;
|
|
65
|
-
btnRetry: string;
|
|
66
|
-
};
|
|
67
|
-
pl: {
|
|
68
|
-
title: string;
|
|
69
|
-
text: string;
|
|
70
|
-
btnRetry: string;
|
|
71
|
-
};
|
|
72
|
-
sv: {
|
|
73
|
-
title: string;
|
|
74
|
-
text: string;
|
|
75
|
-
btnRetry: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
3
|
-
import type { NSErrors } from '../Error.type';
|
|
4
|
-
declare namespace NSPageNotFound {
|
|
5
|
-
type Props = WithI18nEnhanceProps & {
|
|
6
|
-
/**
|
|
7
|
-
* href of the home link
|
|
8
|
-
* @default /
|
|
9
|
-
*/
|
|
10
|
-
homeLink?: string;
|
|
11
|
-
/**
|
|
12
|
-
* HTML tag of the error title
|
|
13
|
-
* @default h2
|
|
14
|
-
*/
|
|
15
|
-
titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';
|
|
16
|
-
};
|
|
17
|
-
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
18
|
-
}
|
|
19
|
-
/** @deprecated It will be removed in v18. */
|
|
20
|
-
export type PageNotFoundProps = NSPageNotFound.Props;
|
|
21
|
-
export type { NSPageNotFound };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export declare const localizedMessages: {
|
|
2
|
-
de: {
|
|
3
|
-
title: string;
|
|
4
|
-
text: string;
|
|
5
|
-
btnHome: string;
|
|
6
|
-
};
|
|
7
|
-
en: {
|
|
8
|
-
title: string;
|
|
9
|
-
text: string;
|
|
10
|
-
btnHome: string;
|
|
11
|
-
};
|
|
12
|
-
es: {
|
|
13
|
-
title: string;
|
|
14
|
-
text: string;
|
|
15
|
-
btnHome: string;
|
|
16
|
-
};
|
|
17
|
-
fr: {
|
|
18
|
-
title: string;
|
|
19
|
-
text: string;
|
|
20
|
-
btnHome: string;
|
|
21
|
-
};
|
|
22
|
-
it: {
|
|
23
|
-
title: string;
|
|
24
|
-
text: string;
|
|
25
|
-
btnHome: string;
|
|
26
|
-
};
|
|
27
|
-
ja: {
|
|
28
|
-
title: string;
|
|
29
|
-
text: string;
|
|
30
|
-
btnHome: string;
|
|
31
|
-
};
|
|
32
|
-
ko: {
|
|
33
|
-
title: string;
|
|
34
|
-
text: string;
|
|
35
|
-
btnHome: string;
|
|
36
|
-
};
|
|
37
|
-
nl: {
|
|
38
|
-
title: string;
|
|
39
|
-
text: string;
|
|
40
|
-
btnHome: string;
|
|
41
|
-
};
|
|
42
|
-
pt: {
|
|
43
|
-
title: string;
|
|
44
|
-
text: string;
|
|
45
|
-
btnHome: string;
|
|
46
|
-
};
|
|
47
|
-
ru: {
|
|
48
|
-
title: string;
|
|
49
|
-
text: string;
|
|
50
|
-
btnHome: string;
|
|
51
|
-
};
|
|
52
|
-
tr: {
|
|
53
|
-
title: string;
|
|
54
|
-
text: string;
|
|
55
|
-
btnHome: string;
|
|
56
|
-
};
|
|
57
|
-
vi: {
|
|
58
|
-
title: string;
|
|
59
|
-
text: string;
|
|
60
|
-
btnHome: string;
|
|
61
|
-
};
|
|
62
|
-
zh: {
|
|
63
|
-
title: string;
|
|
64
|
-
text: string;
|
|
65
|
-
btnHome: string;
|
|
66
|
-
};
|
|
67
|
-
pl: {
|
|
68
|
-
title: string;
|
|
69
|
-
text: string;
|
|
70
|
-
btnHome: string;
|
|
71
|
-
};
|
|
72
|
-
sv: {
|
|
73
|
-
title: string;
|
|
74
|
-
text: string;
|
|
75
|
-
btnHome: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Intergalactic } from '@semcore/core';
|
|
2
|
-
import type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
3
|
-
import type { NSErrors } from '../Error.type';
|
|
4
|
-
declare namespace NSProjectNotFound {
|
|
5
|
-
type Props = WithI18nEnhanceProps & {
|
|
6
|
-
/**
|
|
7
|
-
* URL for the "Go to Projects" button
|
|
8
|
-
* @default /projects
|
|
9
|
-
*/
|
|
10
|
-
projectsLink?: string;
|
|
11
|
-
/**
|
|
12
|
-
* URL for the "Contact us" button
|
|
13
|
-
* @default /company/contacts
|
|
14
|
-
*/
|
|
15
|
-
contactsLink?: string;
|
|
16
|
-
/**
|
|
17
|
-
* URL for the "Support Team" link
|
|
18
|
-
* @default /company/contacts
|
|
19
|
-
*/
|
|
20
|
-
supportTeamLink?: string;
|
|
21
|
-
/**
|
|
22
|
-
* HTML tag of the error title
|
|
23
|
-
* @default h2
|
|
24
|
-
*/
|
|
25
|
-
titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';
|
|
26
|
-
};
|
|
27
|
-
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
28
|
-
}
|
|
29
|
-
/** @deprecated It will be removed in v18. */
|
|
30
|
-
export type ProjectNotFoundProps = NSProjectNotFound.Props;
|
|
31
|
-
export type { NSProjectNotFound };
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export declare const localizedMessages: {
|
|
2
|
-
de: {
|
|
3
|
-
title: string;
|
|
4
|
-
text: string;
|
|
5
|
-
btnProjects: string;
|
|
6
|
-
btnContacts: string;
|
|
7
|
-
};
|
|
8
|
-
en: {
|
|
9
|
-
title: string;
|
|
10
|
-
text: string;
|
|
11
|
-
btnProjects: string;
|
|
12
|
-
btnContacts: string;
|
|
13
|
-
};
|
|
14
|
-
es: {
|
|
15
|
-
title: string;
|
|
16
|
-
text: string;
|
|
17
|
-
btnProjects: string;
|
|
18
|
-
btnContacts: string;
|
|
19
|
-
};
|
|
20
|
-
fr: {
|
|
21
|
-
title: string;
|
|
22
|
-
text: string;
|
|
23
|
-
btnProjects: string;
|
|
24
|
-
btnContacts: string;
|
|
25
|
-
};
|
|
26
|
-
it: {
|
|
27
|
-
title: string;
|
|
28
|
-
text: string;
|
|
29
|
-
btnProjects: string;
|
|
30
|
-
btnContacts: string;
|
|
31
|
-
};
|
|
32
|
-
ja: {
|
|
33
|
-
title: string;
|
|
34
|
-
text: string;
|
|
35
|
-
btnProjects: string;
|
|
36
|
-
btnContacts: string;
|
|
37
|
-
};
|
|
38
|
-
ko: {
|
|
39
|
-
title: string;
|
|
40
|
-
text: string;
|
|
41
|
-
btnProjects: string;
|
|
42
|
-
btnContacts: string;
|
|
43
|
-
};
|
|
44
|
-
nl: {
|
|
45
|
-
title: string;
|
|
46
|
-
text: string;
|
|
47
|
-
btnProjects: string;
|
|
48
|
-
btnContacts: string;
|
|
49
|
-
};
|
|
50
|
-
pt: {
|
|
51
|
-
title: string;
|
|
52
|
-
text: string;
|
|
53
|
-
btnProjects: string;
|
|
54
|
-
btnContacts: string;
|
|
55
|
-
};
|
|
56
|
-
ru: {
|
|
57
|
-
title: string;
|
|
58
|
-
text: string;
|
|
59
|
-
btnProjects: string;
|
|
60
|
-
btnContacts: string;
|
|
61
|
-
};
|
|
62
|
-
tr: {
|
|
63
|
-
title: string;
|
|
64
|
-
text: string;
|
|
65
|
-
btnProjects: string;
|
|
66
|
-
btnContacts: string;
|
|
67
|
-
};
|
|
68
|
-
vi: {
|
|
69
|
-
title: string;
|
|
70
|
-
text: string;
|
|
71
|
-
btnProjects: string;
|
|
72
|
-
btnContacts: string;
|
|
73
|
-
};
|
|
74
|
-
zh: {
|
|
75
|
-
title: string;
|
|
76
|
-
text: string;
|
|
77
|
-
btnProjects: string;
|
|
78
|
-
btnContacts: string;
|
|
79
|
-
};
|
|
80
|
-
pl: {
|
|
81
|
-
title: string;
|
|
82
|
-
text: string;
|
|
83
|
-
btnProjects: string;
|
|
84
|
-
btnContacts: string;
|
|
85
|
-
};
|
|
86
|
-
sv: {
|
|
87
|
-
title: string;
|
|
88
|
-
text: string;
|
|
89
|
-
btnProjects: string;
|
|
90
|
-
btnContacts: string;
|
|
91
|
-
};
|
|
92
|
-
};
|