@semcore/errors 4.48.0-prerelease.0 → 16.0.0-prerelease.0
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/AccessDenied/index.js +3 -3
- package/lib/cjs/AccessDenied/index.js.map +1 -1
- package/lib/cjs/Error.js +14 -14
- package/lib/cjs/Error.js.map +1 -1
- package/lib/cjs/Maintenance/index.js +3 -3
- package/lib/cjs/Maintenance/index.js.map +1 -1
- package/lib/cjs/PageError/index.js +5 -5
- package/lib/cjs/PageError/index.js.map +1 -1
- package/lib/cjs/PageNotFound/index.js +3 -3
- package/lib/cjs/PageNotFound/index.js.map +1 -1
- package/lib/cjs/ProjectNotFound/index.js +3 -3
- package/lib/cjs/ProjectNotFound/index.js.map +1 -1
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/es6/AccessDenied/index.js +2 -2
- package/lib/es6/AccessDenied/index.js.map +1 -1
- package/lib/es6/Error.js +14 -12
- package/lib/es6/Error.js.map +1 -1
- package/lib/es6/Maintenance/index.js +2 -2
- package/lib/es6/Maintenance/index.js.map +1 -1
- package/lib/es6/PageError/index.js +4 -4
- package/lib/es6/PageError/index.js.map +1 -1
- package/lib/es6/PageNotFound/index.js +2 -2
- package/lib/es6/PageNotFound/index.js.map +1 -1
- package/lib/es6/ProjectNotFound/index.js +2 -2
- package/lib/es6/ProjectNotFound/index.js.map +1 -1
- package/lib/es6/index.d.js.map +1 -1
- 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 +77 -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/lib/types/index.d.ts +1 -1
- package/package.json +7 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","Button","createComponent","Component","i18nEnhance","canUseDOM","callAllEventHandlers","Error","getIconPath","localizedMessages","RootPageError","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","location","reload","_createClass","key","value","render","_this$asProps","asProps","Children","getI18nText","onClick","titleTag","other","_objectWithoutProperties","_excluded","createElement","Title","tag","Description","Controls","handleReload","size","use","theme","i18n","locale","icon"],"sources":["../../../src/PageError/index.jsx"],"sourcesContent":["import React from 'react';\nimport Button from '@semcore/button';\nimport createComponent,
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","Button","createComponent","Component","i18nEnhance","canUseDOM","callAllEventHandlers","Error","getIconPath","localizedMessages","RootPageError","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","location","reload","_createClass","key","value","render","_this$asProps","asProps","Children","getI18nText","onClick","titleTag","other","_objectWithoutProperties","_excluded","createElement","Title","tag","Description","Controls","handleReload","size","use","theme","i18n","locale","icon"],"sources":["../../../src/PageError/index.jsx"],"sourcesContent":["import React from 'react';\nimport Button from '@semcore/button';\nimport { createComponent, Component } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport canUseDOM from '@semcore/core/lib/utils/canUseDOM';\nimport { callAllEventHandlers } from '@semcore/core/lib/utils/assignProps';\nimport Error, { getIconPath } from '../Error';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass RootPageError extends Component {\n static displayName = 'PageError';\n static enhance = [i18nEnhance(localizedMessages)];\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n icon: getIconPath('page_error'),\n titleTag: 'h2',\n };\n\n handleReload = () => {\n if (canUseDOM()) {\n location.reload();\n }\n };\n\n render() {\n const { Children, getI18nText, onClick, titleTag, ...other } = this.asProps;\n\n return (\n <Error {...other}>\n <Error.Title tag={titleTag}>{getI18nText('title')}</Error.Title>\n <Error.Description>{getI18nText('text')}</Error.Description>\n <Children />\n <Error.Controls>\n <Button\n onClick={callAllEventHandlers(onClick, this.handleReload)}\n size='l'\n use='primary'\n theme='info'\n >\n {getI18nText('btnRetry')}\n </Button>\n </Error.Controls>\n </Error>\n );\n }\n}\n\nexport default createComponent(RootPageError);\n"],"mappings":";;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,iBAAiB;AACpC,SAASC,eAAe,EAAEC,SAAS,QAAQ,eAAe;AAC1D,OAAOC,WAAW,MAAM,8CAA8C;AACtE,OAAOC,SAAS,MAAM,mCAAmC;AACzD,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,OAAOC,KAAK,IAAIC,WAAW,QAAQ,UAAU;AAC7C,S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AACuC,WAAW,QAAET,WAAW,CAAC,MAAM,CAAC,CAAqB,eAC5DrC,KAAA,CAAA2C,aAAA,CAACP,QAAQ,OAAG,eACZpC,KAAA,CAAA2C,aAAA,CAACpC,KAAK,CAACwC,QAAQ,qBACb/C,KAAA,CAAA2C,aAAA,CAAC1C,MAAM;QACLqC,OAAO,EAAEhC,oBAAoB,CAACgC,OAAO,EAAE,IAAI,CAACU,YAAY,CAAE;QAC1DC,IAAI,EAAC,GAAG;QACRC,GAAG,EAAC,SAAS;QACbC,KAAK,EAAC;MAAM,GAEXd,WAAW,CAAC,UAAU,CAAC,CACjB,CACM,CACX;IAEZ;EAAC;EAAA,OAAA3B,aAAA;AAAA,EApCyBP,SAAS;AAAAuB,eAAA,CAA/BhB,aAAa,iBACI,WAAW;AAAAgB,eAAA,CAD5BhB,aAAa,aAEA,CAACN,WAAW,CAACK,iBAAiB,CAAC,CAAC;AAAAiB,eAAA,CAF7ChB,aAAa,kBAGK;EACpB0C,IAAI,EAAE3C,iBAAiB;EACvB4C,MAAM,EAAE,IAAI;EACZC,IAAI,EAAE9C,WAAW,CAAC,YAAY,CAAC;EAC/B+B,QAAQ,EAAE;AACZ,CAAC;AA+BH,eAAerC,eAAe,CAACQ,aAAa,CAAC"}
|
|
@@ -6,8 +6,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
6
6
|
import { assignProps as _assignProps } from "@semcore/core";
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import Button from '@semcore/button';
|
|
9
|
-
import createComponent,
|
|
10
|
-
import i18nEnhance from '@semcore/
|
|
9
|
+
import { createComponent, Component, Root } from '@semcore/core';
|
|
10
|
+
import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
11
11
|
import Error, { getIconPath } from '../Error';
|
|
12
12
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
13
13
|
var RootPageNotFound = /*#__PURE__*/function (_Component) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","Button","createComponent","Component","Root","i18nEnhance","Error","getIconPath","localizedMessages","RootPageNotFound","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","getI18nText","homeLink","titleTag","createElement","_assignProps","Title","tag","Description","Controls","type","size","use","theme","href","_defineProperty","i18n","locale","icon"],"sources":["../../../src/PageNotFound/index.jsx"],"sourcesContent":["import React from 'react';\nimport Button from '@semcore/button';\nimport createComponent,
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","Button","createComponent","Component","Root","i18nEnhance","Error","getIconPath","localizedMessages","RootPageNotFound","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","getI18nText","homeLink","titleTag","createElement","_assignProps","Title","tag","Description","Controls","type","size","use","theme","href","_defineProperty","i18n","locale","icon"],"sources":["../../../src/PageNotFound/index.jsx"],"sourcesContent":["import React from 'react';\nimport Button from '@semcore/button';\nimport { createComponent, Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport Error, { getIconPath } from '../Error';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass RootPageNotFound extends Component {\n static displayName = 'Maintenance';\n static enhance = [i18nEnhance(localizedMessages)];\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n icon: getIconPath('page_not_found'),\n homeLink: '/',\n titleTag: 'h2',\n };\n\n render() {\n const { Children, getI18nText, homeLink, titleTag } = this.asProps;\n\n return (\n <Root render={Error}>\n <Error.Title tag={titleTag}>{getI18nText('title')}</Error.Title>\n <Error.Description>{getI18nText('text')}</Error.Description>\n <Children />\n <Error.Controls>\n <Button tag='a' type='none' size='l' use='primary' theme='info' href={homeLink}>\n {getI18nText('btnHome')}\n </Button>\n </Error.Controls>\n </Root>\n );\n }\n}\n\nexport default createComponent(RootPageNotFound);\n"],"mappings":";;;;;;AA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B,GAAG,EAAC,GAAG;QAACG,IAAI,EAAC,MAAM;QAACC,IAAI,EAAC,GAAG;QAACC,GAAG,EAAC,SAAS;QAACC,KAAK,EAAC,MAAM;QAACC,IAAI,EAAEZ;MAAS,GAC5ED,WAAW,CAAC,SAAS,CAAC,CAChB,CACM,CACZ;IAEX;EAAC;EAAA,OAAAhB,gBAAA;AAAA,EA1B4BN,SAAS;AAAAoC,eAAA,CAAlC9B,gBAAgB,iBACC,aAAa;AAAA8B,eAAA,CAD9B9B,gBAAgB,aAEH,CAACJ,WAAW,CAACG,iBAAiB,CAAC,CAAC;AAAA+B,eAAA,CAF7C9B,gBAAgB,kBAGE;EACpB+B,IAAI,EAAEhC,iBAAiB;EACvBiC,MAAM,EAAE,IAAI;EACZC,IAAI,EAAEnC,WAAW,CAAC,gBAAgB,CAAC;EACnCmB,QAAQ,EAAE,GAAG;EACbC,QAAQ,EAAE;AACZ,CAAC;AAoBH,eAAezB,eAAe,CAACO,gBAAgB,CAAC"}
|
|
@@ -7,8 +7,8 @@ import { assignProps as _assignProps } from "@semcore/core";
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import Button from '@semcore/button';
|
|
9
9
|
import FormatText from '@semcore/format-text';
|
|
10
|
-
import createComponent,
|
|
11
|
-
import i18nEnhance from '@semcore/
|
|
10
|
+
import { createComponent, Component, Root } from '@semcore/core';
|
|
11
|
+
import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
12
12
|
import Error, { getIconPath } from '../Error';
|
|
13
13
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
14
14
|
var RootProjectNotFound = /*#__PURE__*/function (_Component) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","Button","FormatText","createComponent","Component","Root","i18nEnhance","Error","getIconPath","localizedMessages","RootProjectNotFound","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","getI18nText","projectsLink","contactsLink","supportTeamLink","titleTag","text","url","createElement","_assignProps","Title","tag","Description","size","dangerouslySetInnerHTML","__html","Controls","type","use","theme","href","_defineProperty","i18n","locale","icon"],"sources":["../../../src/ProjectNotFound/index.jsx"],"sourcesContent":["import React from 'react';\nimport Button from '@semcore/button';\nimport FormatText from '@semcore/format-text';\nimport createComponent,
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","Button","FormatText","createComponent","Component","Root","i18nEnhance","Error","getIconPath","localizedMessages","RootProjectNotFound","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","getI18nText","projectsLink","contactsLink","supportTeamLink","titleTag","text","url","createElement","_assignProps","Title","tag","Description","size","dangerouslySetInnerHTML","__html","Controls","type","use","theme","href","_defineProperty","i18n","locale","icon"],"sources":["../../../src/ProjectNotFound/index.jsx"],"sourcesContent":["import React from 'react';\nimport Button from '@semcore/button';\nimport FormatText from '@semcore/format-text';\nimport { createComponent, Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport Error, { getIconPath } from '../Error';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass RootProjectNotFound extends Component {\n static displayName = 'Maintenance';\n static enhance = [i18nEnhance(localizedMessages)];\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n icon: getIconPath('project_not_found'),\n projectsLink: '/projects',\n contactsLink: '/company/contacts',\n supportTeamLink: 'mailto:mail@semrush.com',\n titleTag: 'h2',\n };\n\n render() {\n const { Children, getI18nText, projectsLink, contactsLink, supportTeamLink, titleTag } =\n this.asProps;\n const text = getI18nText('text', { url: supportTeamLink });\n return (\n <Root render={Error}>\n <Error.Title tag={titleTag}>{getI18nText('title')}</Error.Title>\n <Error.Description tag={FormatText} size='l' dangerouslySetInnerHTML={{ __html: text }} />\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);\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,iBAAiB;AACpC,OAAOC,UAAU,MAAM,sBAAsB;AAC7C,SAASC,eAAe,EAAEC,SAAS,EAAEC,IAAI,QAAQ,eAAe;AAChE,OAAOC,WAAW,MAAM,8CAA8C;AACtE,OAAOC,KAAK,IAAIC,WAAW,QAAQ,UAAU;AAC7C,SAASC,iBAAiB,QAAQ,gDAAgD;AAAC,IAE7EC,mBAAmB,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,mBAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,mBAAA;EAAA,SAAAA,oBAAA;IAAAK,eAAA,OAAAL,mBAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAAC,YAAA,CAAAR,mBAAA;IAAAS,GAAA;IAAAC,KAAA,EAavB,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;MACP,IAAAC,aAAA,GACE,IAAI,CAACD,OAAO;QADNE,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,WAAW,GAAAF,aAAA,CAAXE,WAAW;QAAEC,YAAY,GAAAH,aAAA,CAAZG,YAAY;QAAEC,YAAY,GAAAJ,aAAA,CAAZI,YAAY;QAAEC,eAAe,GAAAL,aAAA,CAAfK,eAAe;QAAEC,QAAQ,GAAAN,aAAA,CAARM,QAAQ;MAEpF,IAAMC,IAAI,GAAGL,WAAW,CAAC,MAAM,EAAE;QAAEM,GAAG,EAAEH;MAAgB,CAAC,CAAC;MAC1D,oBACE7B,KAAA,CAAAiC,aAAA,CAAc1B,KAAK,EAAA2B,YAAA,KAAAZ,IAAA,gBACjBtB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,CAAC;AAwBH,eAAe3B,eAAe,CAACO,mBAAmB,CAAC"}
|
package/lib/es6/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":["Error"],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { Box, FlexProps } from '@semcore/flex-box';\nimport { Intergalactic, PropGetterFn, UnknownProperties } from '@semcore/core';\nimport { TIllustrationNamesErrors } from '@semcore/illustration';\nimport { WithI18nEnhanceProps } from '@semcore/
|
|
1
|
+
{"version":3,"file":"index.d.js","names":["Error"],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { Box, FlexProps } from '@semcore/flex-box';\nimport { Intergalactic, PropGetterFn, UnknownProperties } from '@semcore/core';\nimport { TIllustrationNamesErrors } from '@semcore/illustration';\nimport { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nexport type iconNamesErrors = TIllustrationNamesErrors;\n\n/** @deprecated */\nexport interface IErrorsProps extends ErrorsProps, UnknownProperties {}\nexport type ErrorsProps = FlexProps & {\n /**\n * Error icon\n */\n icon?: string | React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IErrorsContext extends ErrorsContext, UnknownProperties {}\nexport type ErrorsContext = {\n getTextProps: PropGetterFn;\n getDescriptionProps: PropGetterFn;\n getControlsProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IProjectNotFoundProps extends ProjectNotFoundProps, UnknownProperties {}\nexport type ProjectNotFoundProps = WithI18nEnhanceProps & {\n /**\n * Link to the projects\n * @default /projects\n */\n projectsLink?: string;\n contactsLink?: string;\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/** @deprecated */\nexport interface IPageNotFoundProps extends PageNotFoundProps, UnknownProperties {}\nexport type PageNotFoundProps = 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/** @deprecated */\nexport interface IPageErrorProps extends PageErrorProps, UnknownProperties {}\nexport type PageErrorProps = WithI18nEnhanceProps & {\n /**\n * Page reloading button click handler\n * @default () => { if (canUseDOM()) { location.reload(); } }\n */\n onClick?: (e: React.MouseEvent) => void;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n};\n\n/** @deprecated */\nexport interface IMaintenanceProps extends MaintenanceProps, UnknownProperties {}\nexport type MaintenanceProps = WithI18nEnhanceProps & {\n /**\n * Tool name\n */\n toolName: string;\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/** @deprecated */\nexport interface IAccessDeniedProps extends AccessDeniedProps, UnknownProperties {}\nexport type AccessDeniedProps = 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\ndeclare const Error: Intergalactic.Component<'div', ErrorsProps, ErrorsContext> & {\n Title: typeof Box;\n Description: typeof Box;\n Controls: typeof Box;\n};\ndeclare const ProjectNotFound: Intergalactic.Component<'div', ProjectNotFoundProps & ErrorsProps>;\ndeclare const PageNotFound: Intergalactic.Component<'div', PageNotFoundProps & ErrorsProps>;\ndeclare const PageError: Intergalactic.Component<'div', PageErrorProps & ErrorsProps>;\ndeclare const Maintenance: Intergalactic.Component<'div', MaintenanceProps & ErrorsProps>;\ndeclare const AccessDenied: Intergalactic.Component<'div', AccessDeniedProps & ErrorsProps>;\ndeclare const getIconPath: (name: iconNamesErrors) => string;\n\nexport default Error;\nexport { ProjectNotFound, PageNotFound, PageError, Maintenance, AccessDenied, getIconPath };\n"],"mappings":"AAQA;;AASA;;AAQA;;AAiBA;;AAeA;;AAeA;;AAmBA;;AA2BA,eAAeA,KAAK"}
|
|
@@ -1,49 +1,52 @@
|
|
|
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/core/lib/utils/enhances/i18nEnhance";
|
|
10
|
+
import Error, { getIconPath } from "../Error.mjs";
|
|
11
|
+
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
12
|
+
var RootAccessDenied = /* @__PURE__ */ function(_Component) {
|
|
13
|
+
_inherits(RootAccessDenied2, _Component);
|
|
14
|
+
var _super = _createSuper(RootAccessDenied2);
|
|
15
|
+
function RootAccessDenied2() {
|
|
16
|
+
_classCallCheck(this, RootAccessDenied2);
|
|
17
|
+
return _super.apply(this, arguments);
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
_createClass(RootAccessDenied2, [{
|
|
19
20
|
key: "render",
|
|
20
|
-
value: function() {
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
value: function render() {
|
|
22
|
+
var _ref = this.asProps;
|
|
23
|
+
var _this$asProps = this.asProps, Children = _this$asProps.Children, getI18nText = _this$asProps.getI18nText, homeLink = _this$asProps.homeLink, titleTag = _this$asProps.titleTag;
|
|
24
|
+
return /* @__PURE__ */ React.createElement(Error, assignProps({}, _ref), /* @__PURE__ */ React.createElement(Error.Title, {
|
|
25
|
+
tag: titleTag
|
|
26
|
+
}, getI18nText("title")), /* @__PURE__ */ React.createElement(Error.Description, {
|
|
25
27
|
wMax: "640px"
|
|
26
|
-
},
|
|
28
|
+
}, getI18nText("text")), /* @__PURE__ */ React.createElement(Children, null), /* @__PURE__ */ React.createElement(Error.Controls, null, /* @__PURE__ */ React.createElement(Button, {
|
|
27
29
|
tag: "a",
|
|
28
30
|
type: "none",
|
|
29
31
|
size: "l",
|
|
30
32
|
use: "primary",
|
|
31
33
|
theme: "info",
|
|
32
|
-
href:
|
|
33
|
-
},
|
|
34
|
+
href: homeLink
|
|
35
|
+
}, getI18nText("btnHome"))));
|
|
34
36
|
}
|
|
35
|
-
}])
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
}]);
|
|
38
|
+
return RootAccessDenied2;
|
|
39
|
+
}(Component);
|
|
40
|
+
_defineProperty(RootAccessDenied, "displayName", "AccessDenied");
|
|
41
|
+
_defineProperty(RootAccessDenied, "enhance", [i18nEnhance(localizedMessages)]);
|
|
42
|
+
_defineProperty(RootAccessDenied, "defaultProps", {
|
|
43
|
+
i18n: localizedMessages,
|
|
41
44
|
locale: "en",
|
|
42
45
|
homeLink: "/",
|
|
43
|
-
icon:
|
|
46
|
+
icon: getIconPath("access_denied"),
|
|
44
47
|
titleTag: "h2"
|
|
45
48
|
});
|
|
46
|
-
const
|
|
49
|
+
const index = createComponent(RootAccessDenied);
|
|
47
50
|
export {
|
|
48
|
-
|
|
51
|
+
index as default
|
|
49
52
|
};
|
|
@@ -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 = "Sie haben die geheime Seite gefunden";
|
|
2
|
+
const text = "Sie haben nicht die notwendigen Administratorrechte für den Zugriff auf diese Seite. Bitte gehen Sie zur vorigen Seite zurück oder besuchen Sie unsere Homepage. ";
|
|
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 = "You’ve found the secret page";
|
|
2
|
+
const text = "You’re missing the administrator permissions to access this page. Go back to the previous page or visit our homepage. ";
|
|
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 = "Has encontrado la página secreta";
|
|
2
|
+
const text = "Te faltan los permisos de administrador necesarios para acceder a esta página. Vuelve a la página anterior o visita nuestra página de inicio. ";
|
|
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 = "Vous avez trouvé la page secrète";
|
|
2
|
+
const text = "Il vous manque les autorisations de l'administrateur pour accéder à cette page. Retournez à la page précédente ou visitez notre page d'accueil. ";
|
|
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 = "Hai trovato la pagina segreta";
|
|
2
|
+
const text = "Ti mancano i permessi da amministratore per accedere a questa pagina. Torna alla pagina precedente o visita la nostra homepage. ";
|
|
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 = "Je hebt de geheime pagina gevonden";
|
|
2
|
+
const text = "Je moet beheerder zijn om deze pagina te openen. Ga terug naar de vorige pagina of bezoek onze homepage. ";
|
|
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 = "To jest tajna strona";
|
|
2
|
+
const text = "Nie masz uprawnień administratora potrzebnych w celu uzyskania dostępu do tej strony. Wróć do poprzedniej strony lub przejdź na naszą stronę główną. ";
|
|
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
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const title = "Você encontrou a página secreta";
|
|
2
|
+
const text = "Você não tem as permissões de administrador para acessar esta página. Volte à página anterior ou acesse a nossa página inicial. ";
|
|
3
|
+
const btnHome = "Acessar página inicial";
|
|
4
|
+
const pt = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
5
8
|
};
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
pt as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
11
14
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
Вернитесь на предыдущую страницу или перейдите на главную.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
const title = "Вы нашли секретную страницу";
|
|
2
|
+
const text = "У вас нет прав для доступа к этой странице.\nВернитесь на предыдущую страницу или перейдите на главную. ";
|
|
3
|
+
const btnHome = "На главную страницу";
|
|
4
|
+
const ru = {
|
|
5
|
+
title,
|
|
6
|
+
text,
|
|
7
|
+
btnHome
|
|
6
8
|
};
|
|
7
9
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
btnHome,
|
|
11
|
+
ru as default,
|
|
12
|
+
text,
|
|
13
|
+
title
|
|
12
14
|
};
|
|
@@ -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
|
};
|