@egov3/system-design 1.3.268 → 1.3.270
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/dist/cjs/components/Identity/ErrorIdentity/ErrorIdentity.module.css.js +22 -0
- package/dist/cjs/components/Identity/ErrorIdentity/ErrorIdentity.module.css.js.map +1 -0
- package/dist/cjs/components/Identity/ErrorIdentity/index.js +16 -0
- package/dist/cjs/components/Identity/ErrorIdentity/index.js.map +1 -0
- package/dist/cjs/components/Services/StepsLabel/StepsLabel.module.css.js +22 -0
- package/dist/cjs/components/Services/StepsLabel/StepsLabel.module.css.js.map +1 -0
- package/dist/cjs/components/Services/StepsLabel/index.js +10 -0
- package/dist/cjs/components/Services/StepsLabel/index.js.map +1 -0
- package/dist/cjs/components/Services/YesNoQuestion/index.js +17 -0
- package/dist/cjs/components/Services/YesNoQuestion/index.js.map +1 -0
- package/dist/cjs/constants/i18n/Identity/ErrorIdentity.js +17 -0
- package/dist/cjs/constants/i18n/Identity/ErrorIdentity.js.map +1 -0
- package/dist/cjs/constants/i18n/Services/YesNoQuestion.js +17 -0
- package/dist/cjs/constants/i18n/Services/YesNoQuestion.js.map +1 -0
- package/dist/cjs/constants/i18n/index.js +4 -0
- package/dist/cjs/constants/i18n/index.js.map +1 -1
- package/dist/cjs/index.js +132 -126
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/Identity/ErrorIdentity/ErrorIdentity.module.css.js +18 -0
- package/dist/esm/components/Identity/ErrorIdentity/ErrorIdentity.module.css.js.map +1 -0
- package/dist/esm/components/Identity/ErrorIdentity/index.js +14 -0
- package/dist/esm/components/Identity/ErrorIdentity/index.js.map +1 -0
- package/dist/esm/components/Services/StepsLabel/StepsLabel.module.css.js +18 -0
- package/dist/esm/components/Services/StepsLabel/StepsLabel.module.css.js.map +1 -0
- package/dist/esm/components/Services/StepsLabel/index.js +8 -0
- package/dist/esm/components/Services/StepsLabel/index.js.map +1 -0
- package/dist/esm/components/Services/YesNoQuestion/index.js +15 -0
- package/dist/esm/components/Services/YesNoQuestion/index.js.map +1 -0
- package/dist/esm/constants/i18n/Identity/ErrorIdentity.js +15 -0
- package/dist/esm/constants/i18n/Identity/ErrorIdentity.js.map +1 -0
- package/dist/esm/constants/i18n/Services/YesNoQuestion.js +15 -0
- package/dist/esm/constants/i18n/Services/YesNoQuestion.js.map +1 -0
- package/dist/esm/constants/i18n/index.js +4 -0
- package/dist/esm/constants/i18n/index.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/Identity/ErrorIdentity/index.d.ts +11 -0
- package/dist/types/components/Services/StepsLabel/index.d.ts +9 -0
- package/dist/types/components/Services/YesNoQuestion/index.d.ts +14 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var css_248z = ".ErrorIdentity-module_wrapper__J9Y7G {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 32px;\n}\n\n.ErrorIdentity-module_description__AsxJy {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n text-align: center;\n color: var(--text-primary);\n}\n\n.ErrorIdentity-module_btnReturn__KXsUv {\n align-self: stretch;\n}\n";
|
|
6
|
+
var styles = {"wrapper":"ErrorIdentity-module_wrapper__J9Y7G","description":"ErrorIdentity-module_description__AsxJy","btnReturn":"ErrorIdentity-module_btnReturn__KXsUv"};
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
20
|
+
|
|
21
|
+
exports.default = styles;
|
|
22
|
+
//# sourceMappingURL=ErrorIdentity.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorIdentity.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var InternetNotAvailable = require('@egov3/graphics/Illustrations/InternetNotAvailable');
|
|
5
|
+
var index$1 = require('../../../constants/i18n/index.js');
|
|
6
|
+
var index$2 = require('../../../baseComponents/Button/index.js');
|
|
7
|
+
var index = require('../../../baseComponents/Typography/index.js');
|
|
8
|
+
var ErrorIdentity_module = require('./ErrorIdentity.module.css.js');
|
|
9
|
+
|
|
10
|
+
const ErrorIdentity = ({ lang, message, onReturn, }) => {
|
|
11
|
+
const langDic = index$1.i18n.ErrorIdentity;
|
|
12
|
+
return (jsxRuntime.jsxs("div", { "data-testid": "ErrorIdentity_WRAPPER", className: ErrorIdentity_module.default.wrapper, children: [jsxRuntime.jsx(InternetNotAvailable.InternetNotAvailableIllustration, {}), jsxRuntime.jsxs("div", { "data-testid": "ErrorIdentity_DESCRIPTION", className: ErrorIdentity_module.default.description, children: [jsxRuntime.jsx(index.Typography, { tag: "span", fontClass: "heading3", "data-testid": "ErrorIdentity_TITLE", "aria-label": langDic.ErrorTitleAttention[lang], children: langDic.ErrorTitleAttention[lang] }), message && (jsxRuntime.jsx(index.Typography, { tag: "span", fontClass: "body2Regular", "data-testid": "ErrorIdentity_TEXT", "aria-label": message, children: message }))] }), jsxRuntime.jsx(index$2.Button, { "data-testid": "ErrorIdentityBtn_RETURN", className: ErrorIdentity_module.default.btnReturn, "aria-label": langDic.ErrorBtnReturn[lang], size: "large", onClick: onReturn, children: langDic.ErrorBtnReturn[lang] })] }));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.ErrorIdentity = ErrorIdentity;
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Identity/ErrorIdentity/index.tsx"],"sourcesContent":[null],"names":["i18n","_jsxs","styles","_jsx","InternetNotAvailableIllustration","Typography","Button"],"mappings":";;;;;;;;;AAeO,MAAM,aAAa,GAAG,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,QAAQ,GACY,KAAI;AACxB,IAAA,MAAM,OAAO,GAAGA,YAAI,CAAC,aAAa;IAElC,QACEC,eAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,uBAAuB,EAAC,SAAS,EAAEC,4BAAM,CAAC,OAAO,EAAA,QAAA,EAAA,CAChEC,cAAA,CAACC,qDAAgC,KAAG,EACpCH,eAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EACc,2BAA2B,EACvC,SAAS,EAAEC,4BAAM,CAAC,WAAW,EAAA,QAAA,EAAA,CAE7BC,cAAA,CAACE,gBAAU,EAAA,EACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,UAAU,iBACR,qBAAqB,EAAA,YAAA,EACrB,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAA,QAAA,EAE5C,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAA,CACvB,EACZ,OAAO,KACNF,eAACE,gBAAU,EAAA,EACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,cAAc,EAAA,aAAA,EACZ,oBAAoB,EAAA,YAAA,EACpB,OAAO,YAElB,OAAO,EAAA,CACG,CACd,CAAA,EAAA,CACG,EACNF,cAAA,CAACG,cAAM,EAAA,EAAA,aAAA,EACO,yBAAyB,EACrC,SAAS,EAAEJ,4BAAM,CAAC,SAAS,EAAA,YAAA,EACf,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EACxC,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,QAAQ,EAAA,QAAA,EAEhB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAA,CACtB,CAAA,EAAA,CACL;AAEV;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var css_248z = "h3.StepsLabel-module_title__Er-4w {\n display: inline-block;\n margin-bottom: 16px;\n color: var(--surface-accent);\n}\n";
|
|
6
|
+
var styles = {"title":"StepsLabel-module_title__Er-4w"};
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
20
|
+
|
|
21
|
+
exports.default = styles;
|
|
22
|
+
//# sourceMappingURL=StepsLabel.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepsLabel.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var index = require('../../../baseComponents/Typography/index.js');
|
|
5
|
+
var StepsLabel_module = require('./StepsLabel.module.css.js');
|
|
6
|
+
|
|
7
|
+
const StepsLabel = ({ label }) => (jsxRuntime.jsx(index.Typography, { tag: "span", fontClass: "subtitles2", className: StepsLabel_module.default.title, "data-testid": "StepsLabel_TITLE", children: label }));
|
|
8
|
+
|
|
9
|
+
exports.StepsLabel = StepsLabel;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/StepsLabel/index.tsx"],"sourcesContent":[null],"names":["_jsx","Typography","styles"],"mappings":";;;;;;AAOO,MAAM,UAAU,GAAG,CAAC,EAAE,KAAK,EAAoB,MACpDA,cAAA,CAACC,gBAAU,IACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,YAAY,EACtB,SAAS,EAAEC,yBAAM,CAAC,KAAK,iBACX,kBAAkB,EAAA,QAAA,EAE7B,KAAK,EAAA,CACK;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var index$2 = require('../../../constants/i18n/index.js');
|
|
5
|
+
var index$1 = require('../../../baseComponents/RadioGroup/index.js');
|
|
6
|
+
var index = require('../StepsLabel/index.js');
|
|
7
|
+
|
|
8
|
+
const langDic = index$2.i18n.YesNoQuestion;
|
|
9
|
+
const YesNoQuestion = ({ lang, name, question, answer, onChange, }) => (jsxRuntime.jsxs("div", { "data-testid": "YesNoQuestion_WRAPPER", children: [jsxRuntime.jsx(index.StepsLabel, { label: question }), jsxRuntime.jsx(index$1.RadioGroup, { name: name, direction: "horizontal", legend: question, radioGroupItems: [
|
|
10
|
+
{ value: "yes", label: langDic.yes[lang] },
|
|
11
|
+
{ value: "no", label: langDic.no[lang] },
|
|
12
|
+
], selectedOption: answer ?? "", setSelectedOption: (value) => {
|
|
13
|
+
onChange(value === "yes" ? "yes" : "no");
|
|
14
|
+
} })] }));
|
|
15
|
+
|
|
16
|
+
exports.YesNoQuestion = YesNoQuestion;
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/YesNoQuestion/index.tsx"],"sourcesContent":[null],"names":["i18n","_jsxs","_jsx","StepsLabel","RadioGroup"],"mappings":";;;;;;;AAeA,MAAM,OAAO,GAAGA,YAAI,CAAC,aAAa;MACrB,aAAa,GAAG,CAAC,EAC5B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,QAAQ,GACY,MACpBC,eAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,uBAAuB,EAAA,QAAA,EAAA,CACtCC,eAACC,gBAAU,EAAA,EAAC,KAAK,EAAE,QAAQ,GAAI,EAC/BD,cAAA,CAACE,kBAAU,EAAA,EACT,IAAI,EAAE,IAAI,EACV,SAAS,EAAC,YAAY,EACtB,MAAM,EAAE,QAAQ,EAChB,eAAe,EAAE;AACf,gBAAA,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;AAC1C,gBAAA,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;aACzC,EACD,cAAc,EAAE,MAAM,IAAI,EAAE,EAC5B,iBAAiB,EAAE,CAAC,KAAK,KAAI;AAC3B,gBAAA,QAAQ,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,GAAG,IAAI,CAAC;YAC1C,CAAC,EAAA,CACD,CAAA,EAAA,CACE;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const ErrorIdentity = {
|
|
4
|
+
ErrorTitleAttention: {
|
|
5
|
+
ru: "Внимание!",
|
|
6
|
+
kk: "Назар аударыңыз!",
|
|
7
|
+
en: "Attention!",
|
|
8
|
+
},
|
|
9
|
+
ErrorBtnReturn: {
|
|
10
|
+
ru: "Вернуться",
|
|
11
|
+
kk: "Қайту",
|
|
12
|
+
en: "Return",
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.ErrorIdentity = ErrorIdentity;
|
|
17
|
+
//# sourceMappingURL=ErrorIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorIdentity.js","sources":["../../../../../src/constants/i18n/Identity/ErrorIdentity.tsx"],"sourcesContent":[null],"names":[],"mappings":";;AAAO,MAAM,aAAa,GAAG;AAC3B,IAAA,mBAAmB,EAAE;AACnB,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,kBAAkB;AACtB,QAAA,EAAE,EAAE,YAAY;AACjB,KAAA;AACD,IAAA,cAAc,EAAE;AACd,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,OAAO;AACX,QAAA,EAAE,EAAE,QAAQ;AACb,KAAA;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YesNoQuestion.js","sources":["../../../../../src/constants/i18n/Services/YesNoQuestion.tsx"],"sourcesContent":[null],"names":[],"mappings":";;AAAO,MAAM,aAAa,GAAG;AAC3B,IAAA,GAAG,EAAE;AACH,QAAA,EAAE,EAAE,IAAI;AACR,QAAA,EAAE,EAAE,IAAI;AACR,QAAA,EAAE,EAAE,KAAK;AACV,KAAA;AACD,IAAA,EAAE,EAAE;AACF,QAAA,EAAE,EAAE,KAAK;AACT,QAAA,EAAE,EAAE,KAAK;AACT,QAAA,EAAE,EAAE,IAAI;AACT,KAAA;;;;;"}
|
|
@@ -10,6 +10,7 @@ var Auth = require('./Identity/Auth.js');
|
|
|
10
10
|
var AuthQR = require('./Identity/AuthQR.js');
|
|
11
11
|
var CodeInput = require('./Identity/CodeInput.js');
|
|
12
12
|
var EdsSuccess = require('./Identity/EdsSuccess.js');
|
|
13
|
+
var ErrorIdentity = require('./Identity/ErrorIdentity.js');
|
|
13
14
|
var EmptyMessages = require('./Messages/EmptyMessages.js');
|
|
14
15
|
var HelpNotificationItem = require('./Messages/HelpNotificationItem.js');
|
|
15
16
|
var MsgBody = require('./Messages/MsgBody.js');
|
|
@@ -27,6 +28,7 @@ var ConsentCheckbox = require('./Services/ConsentCheckbox.js');
|
|
|
27
28
|
var Feedback = require('./Services/Feedback.js');
|
|
28
29
|
var FileUpload = require('./Services/FileUpload.js');
|
|
29
30
|
var S022OfferTable = require('./Services/S022/S022OfferTable.js');
|
|
31
|
+
var YesNoQuestion = require('./Services/YesNoQuestion.js');
|
|
30
32
|
var Table = require('./Table.js');
|
|
31
33
|
|
|
32
34
|
const i18n = {
|
|
@@ -43,6 +45,7 @@ const i18n = {
|
|
|
43
45
|
SetUpAccess: SetUpAccess.SetUpAccess,
|
|
44
46
|
ProfileHealthGeneral: ProfileHealthGeneral.ProfileHealthGeneral,
|
|
45
47
|
EdsSuccess: EdsSuccess.EdsSuccess,
|
|
48
|
+
ErrorIdentity: ErrorIdentity.ErrorIdentity,
|
|
46
49
|
Auth: Auth.Auth,
|
|
47
50
|
Agreement: Agreement.Agreement,
|
|
48
51
|
CodeInput: CodeInput.CodeInput,
|
|
@@ -58,6 +61,7 @@ const i18n = {
|
|
|
58
61
|
SearchBar: SearchBar.SearchBar,
|
|
59
62
|
ServiceDetails: ServiceDetails.ServiceDetails,
|
|
60
63
|
Table: Table.Table,
|
|
64
|
+
YesNoQuestion: YesNoQuestion.YesNoQuestion,
|
|
61
65
|
};
|
|
62
66
|
|
|
63
67
|
exports.i18n = i18n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/constants/i18n/index.tsx"],"sourcesContent":[null],"names":["AuthQR","Calendar","Common","ConsentCheckbox","DropdownSelect","DocCard","Feedback","Modal","SelectBoxButton","ErrorModal","SetUpAccess","ProfileHealthGeneral","EdsSuccess","Auth","Agreement","CodeInput","HelpNotificationItem","HelpQuestionAnswer","MsgBody","EmptyMessages","MsgComponentHeader","FileUpload","PrivacyModal","S022OfferTable","ScreenMessage","SearchBar","ServiceDetails","Table"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/constants/i18n/index.tsx"],"sourcesContent":[null],"names":["AuthQR","Calendar","Common","ConsentCheckbox","DropdownSelect","DocCard","Feedback","Modal","SelectBoxButton","ErrorModal","SetUpAccess","ProfileHealthGeneral","EdsSuccess","ErrorIdentity","Auth","Agreement","CodeInput","HelpNotificationItem","HelpQuestionAnswer","MsgBody","EmptyMessages","MsgComponentHeader","FileUpload","PrivacyModal","S022OfferTable","ScreenMessage","SearchBar","ServiceDetails","Table","YesNoQuestion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCO,MAAM,IAAI,GAAG;YAClBA,aAAM;cACNC,iBAAQ;YACRC,aAAM;qBACNC,+BAAe;oBACfC,6BAAc;aACdC,eAAO;cACPC,iBAAQ;WACRC,WAAK;qBACLC,+BAAe;gBACfC,qBAAU;iBACVC,uBAAW;0BACXC,yCAAoB;gBACpBC,qBAAU;mBACVC,2BAAa;UACbC,SAAI;eACJC,mBAAS;eACTC,mBAAS;0BACTC,yCAAoB;wBACpBC,qCAAkB;aAElBC,eAAO;mBACPC,2BAAa;wBACbC,qCAAkB;gBAClBC,qBAAU;kBACVC,yBAAY;oBACZC,6BAAc;mBACdC,2BAAa;eACbC,mBAAS;oBACTC,6BAAc;WACdC,WAAK;mBACLC,2BAAa;;;;;"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -8,80 +8,83 @@ var index$4 = require('./baseComponents/BottomSheet/index.js');
|
|
|
8
8
|
var index$5 = require('./baseComponents/Button/index.js');
|
|
9
9
|
var index$8 = require('./baseComponents/Checkbox/index.js');
|
|
10
10
|
var index$d = require('./baseComponents/DropdownSelect/index.js');
|
|
11
|
-
var index$
|
|
12
|
-
var index$
|
|
13
|
-
var index$
|
|
14
|
-
var index$
|
|
15
|
-
var index$
|
|
16
|
-
var index$
|
|
17
|
-
var index$
|
|
18
|
-
var index$
|
|
19
|
-
var index$
|
|
20
|
-
var index$
|
|
21
|
-
var index$
|
|
22
|
-
var index$
|
|
23
|
-
var index$
|
|
11
|
+
var index$n = require('./baseComponents/HtmlContainer/index.js');
|
|
12
|
+
var index$q = require('./baseComponents/ImageOverlay/index.js');
|
|
13
|
+
var index$r = require('./baseComponents/InputField/index.js');
|
|
14
|
+
var index$s = require('./baseComponents/InputFieldGroup/index.js');
|
|
15
|
+
var index$t = require('./baseComponents/Label/index.js');
|
|
16
|
+
var index$u = require('./baseComponents/Loader/index.js');
|
|
17
|
+
var index$v = require('./baseComponents/LoadingSkeleton/index.js');
|
|
18
|
+
var index$x = require('./baseComponents/Modal/index.js');
|
|
19
|
+
var index$E = require('./baseComponents/Overlay/index.js');
|
|
20
|
+
var index$F = require('./baseComponents/PageSizeSelector/index.js');
|
|
21
|
+
var index$G = require('./baseComponents/Pagination/index.js');
|
|
22
|
+
var index$I = require('./baseComponents/PhotoCutter/index.js');
|
|
23
|
+
var index$N = require('./baseComponents/ProgressBar/index.js');
|
|
24
24
|
var index$b = require('./baseComponents/RadioGroup/index.js');
|
|
25
|
-
var index$
|
|
26
|
-
var index$
|
|
27
|
-
var index$
|
|
28
|
-
var index$
|
|
29
|
-
var index$
|
|
30
|
-
var index
|
|
31
|
-
var index
|
|
32
|
-
var index$
|
|
33
|
-
var index$
|
|
34
|
-
var index$
|
|
35
|
-
var index$
|
|
36
|
-
var index$
|
|
37
|
-
var index$
|
|
25
|
+
var index$P = require('./baseComponents/RadioToggle/index.js');
|
|
26
|
+
var index$Q = require('./baseComponents/Responses/index.js');
|
|
27
|
+
var index$U = require('./baseComponents/SearchBar/index.js');
|
|
28
|
+
var index$V = require('./baseComponents/SelectBoxButton/index.js');
|
|
29
|
+
var index$_ = require('./baseComponents/StatusStepper/index.js');
|
|
30
|
+
var index$$ = require('./baseComponents/StatusText/index.js');
|
|
31
|
+
var index$11 = require('./baseComponents/TabButtons/index.js');
|
|
32
|
+
var index$12 = require('./baseComponents/Table/index.js');
|
|
33
|
+
var index$1b = require('./baseComponents/TextareaField/index.js');
|
|
34
|
+
var index$19 = require('./baseComponents/TextPair/index.js');
|
|
35
|
+
var index$1a = require('./baseComponents/TextWithAction/index.js');
|
|
36
|
+
var index$1c = require('./baseComponents/Title/index.js');
|
|
37
|
+
var index$1d = require('./baseComponents/Typography/index.js');
|
|
38
38
|
var index$6 = require('./components/Calendar/index.js');
|
|
39
39
|
var index$7 = require('./components/Calendar/Body/index.js');
|
|
40
|
-
var index$
|
|
41
|
-
var index$
|
|
40
|
+
var index$h = require('./components/ErrorModal/index.js');
|
|
41
|
+
var index$m = require('./components/Help/HelpQuestionAnswer/index.js');
|
|
42
42
|
var index$1 = require('./components/Identity/Agreement/index.js');
|
|
43
43
|
var index$2 = require('./components/Identity/Auth/index.js');
|
|
44
44
|
var index$3 = require('./components/Identity/AuthQR/index.js');
|
|
45
45
|
var index$9 = require('./components/Identity/CodeInput/index.js');
|
|
46
46
|
var index$e = require('./components/Identity/EdsSuccess/index.js');
|
|
47
|
-
var index$
|
|
47
|
+
var index$g = require('./components/Identity/ErrorIdentity/index.js');
|
|
48
|
+
var index$p = require('./components/Identity/IdentityModal/index.js');
|
|
48
49
|
var index$f = require('./components/Messages/EmptyMessages/index.js');
|
|
49
|
-
var index$
|
|
50
|
-
var index$
|
|
51
|
-
var index$
|
|
52
|
-
var index$
|
|
53
|
-
var index$
|
|
54
|
-
var index$
|
|
55
|
-
var index$
|
|
56
|
-
var index$
|
|
57
|
-
var index$
|
|
58
|
-
var index$
|
|
59
|
-
var index$
|
|
50
|
+
var index$k = require('./components/Messages/HelpNotification/index.js');
|
|
51
|
+
var index$l = require('./components/Messages/HelpNotificationItem/index.js');
|
|
52
|
+
var index$y = require('./components/Messages/MsgBody/index.js');
|
|
53
|
+
var index$z = require('./components/Messages/MsgComponentHeader/index.js');
|
|
54
|
+
var index$A = require('./components/Messages/MsgSearch/index.js');
|
|
55
|
+
var index$w = require('./components/MobileDocumentViewer/index.js');
|
|
56
|
+
var index$1g = require('./components/Navigation/ViewToggle/index.js');
|
|
57
|
+
var index$C = require('./components/Notification/Item/index.js');
|
|
58
|
+
var index$D = require('./components/Notification/Wrapper/index.js');
|
|
59
|
+
var index$K = require('./components/Presale/index.js');
|
|
60
|
+
var index$L = require('./components/PrivacyModal/index.js');
|
|
60
61
|
var index$c = require('./components/Profile/DocCard/index.js');
|
|
61
|
-
var index$
|
|
62
|
-
var index$
|
|
63
|
-
var index$
|
|
64
|
-
var index$
|
|
65
|
-
var index$
|
|
62
|
+
var index$o = require('./components/Profile/IconToggleItem/index.js');
|
|
63
|
+
var index$M = require('./components/Profile/ProfileHealthGeneral/index.js');
|
|
64
|
+
var index$R = require('./components/Profile/RightMenuSectionItem/index.js');
|
|
65
|
+
var index$Y = require('./components/Profile/SetUpAccess/index.js');
|
|
66
|
+
var index$O = require('./components/QRAppButton/index.js');
|
|
66
67
|
var index$a = require('./components/Services/ConsentCheckbox/index.js');
|
|
67
|
-
var index$
|
|
68
|
-
var index$
|
|
69
|
-
var index$
|
|
70
|
-
var index$
|
|
71
|
-
var index$
|
|
72
|
-
var index$
|
|
73
|
-
var index$
|
|
74
|
-
var index$
|
|
75
|
-
var index$
|
|
76
|
-
var index$
|
|
77
|
-
var index$
|
|
78
|
-
var index$
|
|
79
|
-
var index$
|
|
80
|
-
var index$
|
|
81
|
-
var index$13 = require('./baseComponents/Table/
|
|
82
|
-
var index$14 = require('./baseComponents/Table/
|
|
83
|
-
var index$15 = require('./baseComponents/Table/
|
|
84
|
-
var index$16 = require('./baseComponents/Table/
|
|
68
|
+
var index$i = require('./components/Services/Feedback/index.js');
|
|
69
|
+
var index$j = require('./components/Services/FileForUpload/index.js');
|
|
70
|
+
var index$B = require('./components/Services/NextStepComponent/index.js');
|
|
71
|
+
var index$H = require('./components/Services/PersonalIDTemplate/index.js');
|
|
72
|
+
var index$J = require('./components/Services/PrecheckList/index.js');
|
|
73
|
+
var index$S = require('./components/Services/S022/S022OfferTable/index.js');
|
|
74
|
+
var index$W = require('./components/Services/SelectFieldModal/index.js');
|
|
75
|
+
var index$X = require('./components/Services/ServiceCardComponent/index.js');
|
|
76
|
+
var index$10 = require('./components/Services/StepsLabel/index.js');
|
|
77
|
+
var index$1f = require('./components/Services/UsefulServiceCard/index.js');
|
|
78
|
+
var index$1h = require('./components/Services/YesNoQuestion/index.js');
|
|
79
|
+
var index$T = require('./components/ScreenMessage/index.js');
|
|
80
|
+
var index$Z = require('./components/SocialCard/index.js');
|
|
81
|
+
var index$1e = require('./components/UploadFile/index.js');
|
|
82
|
+
var index$13 = require('./baseComponents/Table/TableCell/index.js');
|
|
83
|
+
var index$14 = require('./baseComponents/Table/TableEmpty/index.js');
|
|
84
|
+
var index$15 = require('./baseComponents/Table/TableFooter/index.js');
|
|
85
|
+
var index$16 = require('./baseComponents/Table/TableHead/index.js');
|
|
86
|
+
var index$17 = require('./baseComponents/Table/TableHeadCell/index.js');
|
|
87
|
+
var index$18 = require('./baseComponents/Table/TableRow/index.js');
|
|
85
88
|
|
|
86
89
|
|
|
87
90
|
|
|
@@ -90,79 +93,82 @@ exports.BottomSheet = index$4.BottomSheet;
|
|
|
90
93
|
exports.Button = index$5.Button;
|
|
91
94
|
exports.Checkbox = index$8.Checkbox;
|
|
92
95
|
exports.DropdownSelect = index$d.DropdownSelect;
|
|
93
|
-
exports.HtmlContainer = index$
|
|
94
|
-
exports.ImageOverlay = index$
|
|
95
|
-
exports.InputField = index$
|
|
96
|
-
exports.InputFieldGroup = index$
|
|
97
|
-
exports.Label = index$
|
|
98
|
-
exports.Loader = index$
|
|
99
|
-
exports.LoadingSkeleton = index$
|
|
100
|
-
exports.Modal = index$
|
|
101
|
-
exports.Overlay = index$
|
|
102
|
-
exports.PageSizeSelector = index$
|
|
103
|
-
exports.Pagination = index$
|
|
104
|
-
exports.PhotoCutter = index$
|
|
105
|
-
exports.ProgressBar = index$
|
|
96
|
+
exports.HtmlContainer = index$n.HtmlContainer;
|
|
97
|
+
exports.ImageOverlay = index$q.ImageOverlay;
|
|
98
|
+
exports.InputField = index$r.InputField;
|
|
99
|
+
exports.InputFieldGroup = index$s.InputFieldGroup;
|
|
100
|
+
exports.Label = index$t.Label;
|
|
101
|
+
exports.Loader = index$u.Loader;
|
|
102
|
+
exports.LoadingSkeleton = index$v.LoadingSkeleton;
|
|
103
|
+
exports.Modal = index$x.Modal;
|
|
104
|
+
exports.Overlay = index$E.Overlay;
|
|
105
|
+
exports.PageSizeSelector = index$F.PageSizeSelector;
|
|
106
|
+
exports.Pagination = index$G.Pagination;
|
|
107
|
+
exports.PhotoCutter = index$I.PhotoCutter;
|
|
108
|
+
exports.ProgressBar = index$N.ProgressBar;
|
|
106
109
|
exports.CustomRadioButton = index$b.CustomRadioButton;
|
|
107
110
|
exports.RadioGroup = index$b.RadioGroup;
|
|
108
|
-
exports.RadioToggle = index$
|
|
109
|
-
exports.Responses = index$
|
|
110
|
-
exports.SearchBar = index$
|
|
111
|
-
exports.SelectBoxButton = index$
|
|
112
|
-
exports.StatusStepper = index$
|
|
113
|
-
exports.StatusText = index
|
|
114
|
-
exports.TabButtons = index
|
|
115
|
-
exports.Table = index$
|
|
116
|
-
exports.TextareaField = index$
|
|
117
|
-
exports.TextPair = index$
|
|
118
|
-
exports.TextWithAction = index$
|
|
119
|
-
exports.Title = index$
|
|
120
|
-
exports.Typography = index$
|
|
111
|
+
exports.RadioToggle = index$P.RadioToggle;
|
|
112
|
+
exports.Responses = index$Q.Responses;
|
|
113
|
+
exports.SearchBar = index$U.SearchBar;
|
|
114
|
+
exports.SelectBoxButton = index$V.SelectBoxButton;
|
|
115
|
+
exports.StatusStepper = index$_.StatusStepper;
|
|
116
|
+
exports.StatusText = index$$.StatusText;
|
|
117
|
+
exports.TabButtons = index$11.TabButtons;
|
|
118
|
+
exports.Table = index$12.Table;
|
|
119
|
+
exports.TextareaField = index$1b.TextareaField;
|
|
120
|
+
exports.TextPair = index$19.TextPair;
|
|
121
|
+
exports.TextWithAction = index$1a.TextWithAction;
|
|
122
|
+
exports.Title = index$1c.Title;
|
|
123
|
+
exports.Typography = index$1d.Typography;
|
|
121
124
|
exports.Calendar = index$6.Calendar;
|
|
122
125
|
exports.CalendarBody = index$7.CalendarBody;
|
|
123
|
-
exports.ErrorModal = index$
|
|
124
|
-
exports.HelpQuestionAnswer = index$
|
|
126
|
+
exports.ErrorModal = index$h.ErrorModal;
|
|
127
|
+
exports.HelpQuestionAnswer = index$m.HelpQuestionAnswer;
|
|
125
128
|
exports.Agreement = index$1.Agreement;
|
|
126
129
|
exports.Auth = index$2.Auth;
|
|
127
130
|
exports.AuthQR = index$3.AuthQR;
|
|
128
131
|
exports.CodeInput = index$9.CodeInput;
|
|
129
132
|
exports.EdsSuccess = index$e.EdsSuccess;
|
|
130
|
-
exports.
|
|
133
|
+
exports.ErrorIdentity = index$g.ErrorIdentity;
|
|
134
|
+
exports.IdentityModal = index$p.IdentityModal;
|
|
131
135
|
exports.EmptyMessages = index$f.EmptyMessages;
|
|
132
|
-
exports.HelpNotification = index$
|
|
133
|
-
exports.HelpNotificationItem = index$
|
|
134
|
-
exports.MsgBody = index$
|
|
135
|
-
exports.MsgComponentHeader = index$
|
|
136
|
-
exports.MsgSearch = index$
|
|
137
|
-
exports.MobileDocumentViewer = index$
|
|
138
|
-
exports.ViewToggle = index$
|
|
139
|
-
exports.NotificationItem = index$
|
|
140
|
-
exports.NotificationWrapper = index$
|
|
141
|
-
exports.PresaleComponent = index$
|
|
142
|
-
exports.PrivacyModal = index$
|
|
136
|
+
exports.HelpNotification = index$k.HelpNotification;
|
|
137
|
+
exports.HelpNotificationItem = index$l.HelpNotificationItem;
|
|
138
|
+
exports.MsgBody = index$y.MsgBody;
|
|
139
|
+
exports.MsgComponentHeader = index$z.MsgComponentHeader;
|
|
140
|
+
exports.MsgSearch = index$A.MsgSearch;
|
|
141
|
+
exports.MobileDocumentViewer = index$w.MobileDocumentViewer;
|
|
142
|
+
exports.ViewToggle = index$1g.ViewToggle;
|
|
143
|
+
exports.NotificationItem = index$C.NotificationItem;
|
|
144
|
+
exports.NotificationWrapper = index$D.NotificationWrapper;
|
|
145
|
+
exports.PresaleComponent = index$K.PresaleComponent;
|
|
146
|
+
exports.PrivacyModal = index$L.PrivacyModal;
|
|
143
147
|
exports.DocCard = index$c.DocCard;
|
|
144
|
-
exports.IconToggleItem = index$
|
|
145
|
-
exports.ProfileHealthGeneral = index$
|
|
146
|
-
exports.RightMenuSectionItem = index$
|
|
147
|
-
exports.SetUpAccess = index$
|
|
148
|
-
exports.QRAppButton = index$
|
|
148
|
+
exports.IconToggleItem = index$o.IconToggleItem;
|
|
149
|
+
exports.ProfileHealthGeneral = index$M.ProfileHealthGeneral;
|
|
150
|
+
exports.RightMenuSectionItem = index$R.RightMenuSectionItem;
|
|
151
|
+
exports.SetUpAccess = index$Y.SetUpAccess;
|
|
152
|
+
exports.QRAppButton = index$O.QRAppButton;
|
|
149
153
|
exports.ConsentCheckbox = index$a.ConsentCheckbox;
|
|
150
|
-
exports.Feedback = index$
|
|
151
|
-
exports.FileForUpload = index$
|
|
152
|
-
exports.NextStepComponent = index$
|
|
153
|
-
exports.PersonalIDTemplate = index$
|
|
154
|
-
exports.PrecheckList = index$
|
|
155
|
-
exports.S022OfferTable = index$
|
|
156
|
-
exports.SelectFieldModal = index$
|
|
157
|
-
exports.ServiceCardComponent = index$
|
|
158
|
-
exports.
|
|
159
|
-
exports.
|
|
160
|
-
exports.
|
|
161
|
-
exports.
|
|
162
|
-
exports.
|
|
163
|
-
exports.
|
|
164
|
-
exports.
|
|
165
|
-
exports.
|
|
166
|
-
exports.
|
|
167
|
-
exports.
|
|
154
|
+
exports.Feedback = index$i.Feedback;
|
|
155
|
+
exports.FileForUpload = index$j.FileForUpload;
|
|
156
|
+
exports.NextStepComponent = index$B.NextStepComponent;
|
|
157
|
+
exports.PersonalIDTemplate = index$H.PersonalIDTemplate;
|
|
158
|
+
exports.PrecheckList = index$J.PrecheckList;
|
|
159
|
+
exports.S022OfferTable = index$S.S022OfferTable;
|
|
160
|
+
exports.SelectFieldModal = index$W.SelectFieldModal;
|
|
161
|
+
exports.ServiceCardComponent = index$X.ServiceCardComponent;
|
|
162
|
+
exports.StepsLabel = index$10.StepsLabel;
|
|
163
|
+
exports.UsefulServiceCard = index$1f.UsefulServiceCard;
|
|
164
|
+
exports.YesNoQuestion = index$1h.YesNoQuestion;
|
|
165
|
+
exports.ScreenMessage = index$T.ScreenMessage;
|
|
166
|
+
exports.SocialCard = index$Z.SocialCard;
|
|
167
|
+
exports.UploadFile = index$1e.UploadFile;
|
|
168
|
+
exports.TableCell = index$13.TableCell;
|
|
169
|
+
exports.TableEmpty = index$14.TableEmpty;
|
|
170
|
+
exports.TableFooter = index$15.TableFooter;
|
|
171
|
+
exports.TableHead = index$16.TableHead;
|
|
172
|
+
exports.TableHeadCell = index$17.TableHeadCell;
|
|
173
|
+
exports.TableRow = index$18.TableRow;
|
|
168
174
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var css_248z = ".ErrorIdentity-module_wrapper__J9Y7G {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 32px;\n}\n\n.ErrorIdentity-module_description__AsxJy {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n text-align: center;\n color: var(--text-primary);\n}\n\n.ErrorIdentity-module_btnReturn__KXsUv {\n align-self: stretch;\n}\n";
|
|
2
|
+
var styles = {"wrapper":"ErrorIdentity-module_wrapper__J9Y7G","description":"ErrorIdentity-module_description__AsxJy","btnReturn":"ErrorIdentity-module_btnReturn__KXsUv"};
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
16
|
+
|
|
17
|
+
export { styles as default };
|
|
18
|
+
//# sourceMappingURL=ErrorIdentity.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorIdentity.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { InternetNotAvailableIllustration } from '@egov3/graphics/Illustrations/InternetNotAvailable';
|
|
3
|
+
import { i18n } from '../../../constants/i18n/index.js';
|
|
4
|
+
import { Button } from '../../../baseComponents/Button/index.js';
|
|
5
|
+
import { Typography } from '../../../baseComponents/Typography/index.js';
|
|
6
|
+
import styles from './ErrorIdentity.module.css.js';
|
|
7
|
+
|
|
8
|
+
const ErrorIdentity = ({ lang, message, onReturn, }) => {
|
|
9
|
+
const langDic = i18n.ErrorIdentity;
|
|
10
|
+
return (jsxs("div", { "data-testid": "ErrorIdentity_WRAPPER", className: styles.wrapper, children: [jsx(InternetNotAvailableIllustration, {}), jsxs("div", { "data-testid": "ErrorIdentity_DESCRIPTION", className: styles.description, children: [jsx(Typography, { tag: "span", fontClass: "heading3", "data-testid": "ErrorIdentity_TITLE", "aria-label": langDic.ErrorTitleAttention[lang], children: langDic.ErrorTitleAttention[lang] }), message && (jsx(Typography, { tag: "span", fontClass: "body2Regular", "data-testid": "ErrorIdentity_TEXT", "aria-label": message, children: message }))] }), jsx(Button, { "data-testid": "ErrorIdentityBtn_RETURN", className: styles.btnReturn, "aria-label": langDic.ErrorBtnReturn[lang], size: "large", onClick: onReturn, children: langDic.ErrorBtnReturn[lang] })] }));
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { ErrorIdentity };
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Identity/ErrorIdentity/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;AAeO,MAAM,aAAa,GAAG,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,QAAQ,GACY,KAAI;AACxB,IAAA,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa;IAElC,QACEA,IAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,uBAAuB,EAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAA,QAAA,EAAA,CAChEC,GAAA,CAAC,gCAAgC,KAAG,EACpCD,IAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EACc,2BAA2B,EACvC,SAAS,EAAE,MAAM,CAAC,WAAW,EAAA,QAAA,EAAA,CAE7BC,GAAA,CAAC,UAAU,EAAA,EACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,UAAU,iBACR,qBAAqB,EAAA,YAAA,EACrB,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAA,QAAA,EAE5C,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAA,CACvB,EACZ,OAAO,KACNA,IAAC,UAAU,EAAA,EACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,cAAc,EAAA,aAAA,EACZ,oBAAoB,EAAA,YAAA,EACpB,OAAO,YAElB,OAAO,EAAA,CACG,CACd,CAAA,EAAA,CACG,EACNA,GAAA,CAAC,MAAM,EAAA,EAAA,aAAA,EACO,yBAAyB,EACrC,SAAS,EAAE,MAAM,CAAC,SAAS,EAAA,YAAA,EACf,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EACxC,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,QAAQ,EAAA,QAAA,EAEhB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAA,CACtB,CAAA,EAAA,CACL;AAEV;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var css_248z = "h3.StepsLabel-module_title__Er-4w {\n display: inline-block;\n margin-bottom: 16px;\n color: var(--surface-accent);\n}\n";
|
|
2
|
+
var styles = {"title":"StepsLabel-module_title__Er-4w"};
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
16
|
+
|
|
17
|
+
export { styles as default };
|
|
18
|
+
//# sourceMappingURL=StepsLabel.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepsLabel.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Typography } from '../../../baseComponents/Typography/index.js';
|
|
3
|
+
import styles from './StepsLabel.module.css.js';
|
|
4
|
+
|
|
5
|
+
const StepsLabel = ({ label }) => (jsx(Typography, { tag: "span", fontClass: "subtitles2", className: styles.title, "data-testid": "StepsLabel_TITLE", children: label }));
|
|
6
|
+
|
|
7
|
+
export { StepsLabel };
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/StepsLabel/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;AAOO,MAAM,UAAU,GAAG,CAAC,EAAE,KAAK,EAAoB,MACpDA,GAAA,CAAC,UAAU,IACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,YAAY,EACtB,SAAS,EAAE,MAAM,CAAC,KAAK,iBACX,kBAAkB,EAAA,QAAA,EAE7B,KAAK,EAAA,CACK;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { i18n } from '../../../constants/i18n/index.js';
|
|
3
|
+
import { RadioGroup } from '../../../baseComponents/RadioGroup/index.js';
|
|
4
|
+
import { StepsLabel } from '../StepsLabel/index.js';
|
|
5
|
+
|
|
6
|
+
const langDic = i18n.YesNoQuestion;
|
|
7
|
+
const YesNoQuestion = ({ lang, name, question, answer, onChange, }) => (jsxs("div", { "data-testid": "YesNoQuestion_WRAPPER", children: [jsx(StepsLabel, { label: question }), jsx(RadioGroup, { name: name, direction: "horizontal", legend: question, radioGroupItems: [
|
|
8
|
+
{ value: "yes", label: langDic.yes[lang] },
|
|
9
|
+
{ value: "no", label: langDic.no[lang] },
|
|
10
|
+
], selectedOption: answer ?? "", setSelectedOption: (value) => {
|
|
11
|
+
onChange(value === "yes" ? "yes" : "no");
|
|
12
|
+
} })] }));
|
|
13
|
+
|
|
14
|
+
export { YesNoQuestion };
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/YesNoQuestion/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;AAeA,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa;MACrB,aAAa,GAAG,CAAC,EAC5B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,QAAQ,GACY,MACpBA,IAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,uBAAuB,EAAA,QAAA,EAAA,CACtCC,IAAC,UAAU,EAAA,EAAC,KAAK,EAAE,QAAQ,GAAI,EAC/BA,GAAA,CAAC,UAAU,EAAA,EACT,IAAI,EAAE,IAAI,EACV,SAAS,EAAC,YAAY,EACtB,MAAM,EAAE,QAAQ,EAChB,eAAe,EAAE;AACf,gBAAA,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;AAC1C,gBAAA,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;aACzC,EACD,cAAc,EAAE,MAAM,IAAI,EAAE,EAC5B,iBAAiB,EAAE,CAAC,KAAK,KAAI;AAC3B,gBAAA,QAAQ,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,GAAG,IAAI,CAAC;YAC1C,CAAC,EAAA,CACD,CAAA,EAAA,CACE;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const ErrorIdentity = {
|
|
2
|
+
ErrorTitleAttention: {
|
|
3
|
+
ru: "Внимание!",
|
|
4
|
+
kk: "Назар аударыңыз!",
|
|
5
|
+
en: "Attention!",
|
|
6
|
+
},
|
|
7
|
+
ErrorBtnReturn: {
|
|
8
|
+
ru: "Вернуться",
|
|
9
|
+
kk: "Қайту",
|
|
10
|
+
en: "Return",
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ErrorIdentity };
|
|
15
|
+
//# sourceMappingURL=ErrorIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorIdentity.js","sources":["../../../../../src/constants/i18n/Identity/ErrorIdentity.tsx"],"sourcesContent":[null],"names":[],"mappings":"AAAO,MAAM,aAAa,GAAG;AAC3B,IAAA,mBAAmB,EAAE;AACnB,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,kBAAkB;AACtB,QAAA,EAAE,EAAE,YAAY;AACjB,KAAA;AACD,IAAA,cAAc,EAAE;AACd,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,OAAO;AACX,QAAA,EAAE,EAAE,QAAQ;AACb,KAAA;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YesNoQuestion.js","sources":["../../../../../src/constants/i18n/Services/YesNoQuestion.tsx"],"sourcesContent":[null],"names":[],"mappings":"AAAO,MAAM,aAAa,GAAG;AAC3B,IAAA,GAAG,EAAE;AACH,QAAA,EAAE,EAAE,IAAI;AACR,QAAA,EAAE,EAAE,IAAI;AACR,QAAA,EAAE,EAAE,KAAK;AACV,KAAA;AACD,IAAA,EAAE,EAAE;AACF,QAAA,EAAE,EAAE,KAAK;AACT,QAAA,EAAE,EAAE,KAAK;AACT,QAAA,EAAE,EAAE,IAAI;AACT,KAAA;;;;;"}
|
|
@@ -8,6 +8,7 @@ import { Auth } from './Identity/Auth.js';
|
|
|
8
8
|
import { AuthQR } from './Identity/AuthQR.js';
|
|
9
9
|
import { CodeInput } from './Identity/CodeInput.js';
|
|
10
10
|
import { EdsSuccess } from './Identity/EdsSuccess.js';
|
|
11
|
+
import { ErrorIdentity } from './Identity/ErrorIdentity.js';
|
|
11
12
|
import { EmptyMessages } from './Messages/EmptyMessages.js';
|
|
12
13
|
import { HelpNotificationItem } from './Messages/HelpNotificationItem.js';
|
|
13
14
|
import { MsgBody } from './Messages/MsgBody.js';
|
|
@@ -25,6 +26,7 @@ import { ConsentCheckbox } from './Services/ConsentCheckbox.js';
|
|
|
25
26
|
import { Feedback } from './Services/Feedback.js';
|
|
26
27
|
import { FileUpload } from './Services/FileUpload.js';
|
|
27
28
|
import { S022OfferTable } from './Services/S022/S022OfferTable.js';
|
|
29
|
+
import { YesNoQuestion } from './Services/YesNoQuestion.js';
|
|
28
30
|
import { Table } from './Table.js';
|
|
29
31
|
|
|
30
32
|
const i18n = {
|
|
@@ -41,6 +43,7 @@ const i18n = {
|
|
|
41
43
|
SetUpAccess,
|
|
42
44
|
ProfileHealthGeneral,
|
|
43
45
|
EdsSuccess,
|
|
46
|
+
ErrorIdentity,
|
|
44
47
|
Auth,
|
|
45
48
|
Agreement,
|
|
46
49
|
CodeInput,
|
|
@@ -56,6 +59,7 @@ const i18n = {
|
|
|
56
59
|
SearchBar,
|
|
57
60
|
ServiceDetails,
|
|
58
61
|
Table,
|
|
62
|
+
YesNoQuestion,
|
|
59
63
|
};
|
|
60
64
|
|
|
61
65
|
export { i18n };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/constants/i18n/index.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/constants/i18n/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCO,MAAM,IAAI,GAAG;IAClB,MAAM;IACN,QAAQ;IACR,MAAM;IACN,eAAe;IACf,cAAc;IACd,OAAO;IACP,QAAQ;IACR,KAAK;IACL,eAAe;IACf,UAAU;IACV,WAAW;IACX,oBAAoB;IACpB,UAAU;IACV,aAAa;IACb,IAAI;IACJ,SAAS;IACT,SAAS;IACT,oBAAoB;IACpB,kBAAkB;IAElB,OAAO;IACP,aAAa;IACb,kBAAkB;IAClB,UAAU;IACV,YAAY;IACZ,cAAc;IACd,aAAa;IACb,SAAS;IACT,cAAc;IACd,KAAK;IACL,aAAa;;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -42,6 +42,7 @@ export { Auth } from './components/Identity/Auth/index.js';
|
|
|
42
42
|
export { AuthQR } from './components/Identity/AuthQR/index.js';
|
|
43
43
|
export { CodeInput } from './components/Identity/CodeInput/index.js';
|
|
44
44
|
export { EdsSuccess } from './components/Identity/EdsSuccess/index.js';
|
|
45
|
+
export { ErrorIdentity } from './components/Identity/ErrorIdentity/index.js';
|
|
45
46
|
export { IdentityModal } from './components/Identity/IdentityModal/index.js';
|
|
46
47
|
export { EmptyMessages } from './components/Messages/EmptyMessages/index.js';
|
|
47
48
|
export { HelpNotification } from './components/Messages/HelpNotification/index.js';
|
|
@@ -70,7 +71,9 @@ export { PrecheckList } from './components/Services/PrecheckList/index.js';
|
|
|
70
71
|
export { S022OfferTable } from './components/Services/S022/S022OfferTable/index.js';
|
|
71
72
|
export { SelectFieldModal } from './components/Services/SelectFieldModal/index.js';
|
|
72
73
|
export { ServiceCardComponent } from './components/Services/ServiceCardComponent/index.js';
|
|
74
|
+
export { StepsLabel } from './components/Services/StepsLabel/index.js';
|
|
73
75
|
export { UsefulServiceCard } from './components/Services/UsefulServiceCard/index.js';
|
|
76
|
+
export { YesNoQuestion } from './components/Services/YesNoQuestion/index.js';
|
|
74
77
|
export { ScreenMessage } from './components/ScreenMessage/index.js';
|
|
75
78
|
export { SocialCard } from './components/SocialCard/index.js';
|
|
76
79
|
export { UploadFile } from './components/UploadFile/index.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
3
|
+
|
|
4
|
+
interface IErrorIdentityProps extends ILangProps {
|
|
5
|
+
message?: string;
|
|
6
|
+
onReturn: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const ErrorIdentity: ({ lang, message, onReturn, }: IErrorIdentityProps) => react.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { ErrorIdentity };
|
|
11
|
+
export type { IErrorIdentityProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
3
|
+
|
|
4
|
+
type TYesNoAnswer = "yes" | "no";
|
|
5
|
+
interface IYesNoQuestionProps extends ILangProps {
|
|
6
|
+
name: string;
|
|
7
|
+
question: string;
|
|
8
|
+
answer: TYesNoAnswer | null;
|
|
9
|
+
onChange: (answer: TYesNoAnswer) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const YesNoQuestion: ({ lang, name, question, answer, onChange, }: IYesNoQuestionProps) => react.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { YesNoQuestion };
|
|
14
|
+
export type { IYesNoQuestionProps, TYesNoAnswer };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export { Auth, IAuthStepProps } from './components/Identity/Auth/index.js';
|
|
|
39
39
|
export { AuthQR, IAuthQRProps } from './components/Identity/AuthQR/index.js';
|
|
40
40
|
export { CodeInput, ICodeInputProps, ICodeInputResendButton } from './components/Identity/CodeInput/index.js';
|
|
41
41
|
export { EdsSuccess, IEdsSuccessProps } from './components/Identity/EdsSuccess/index.js';
|
|
42
|
+
export { ErrorIdentity, IErrorIdentityProps } from './components/Identity/ErrorIdentity/index.js';
|
|
42
43
|
export { IIdentityModalProps, IdentityModal } from './components/Identity/IdentityModal/index.js';
|
|
43
44
|
export { EmptyMessages, IEmptyMessagesProps } from './components/Messages/EmptyMessages/index.js';
|
|
44
45
|
export { HelpNotification, IHelpNotificationProps } from './components/Messages/HelpNotification/index.js';
|
|
@@ -67,7 +68,9 @@ export { IPrecheckListItem, IPrecheckListProps, PrecheckList, TPrecheckStatus }
|
|
|
67
68
|
export { IS022OfferTableProps, IS022OfferTableVacancy, S022OfferTable } from './components/Services/S022/S022OfferTable/index.js';
|
|
68
69
|
export { ISelectFieldModalProps, SelectFieldModal } from './components/Services/SelectFieldModal/index.js';
|
|
69
70
|
export { ServiceCardComponent } from './components/Services/ServiceCardComponent/index.js';
|
|
71
|
+
export { IStepsLabelProps, StepsLabel } from './components/Services/StepsLabel/index.js';
|
|
70
72
|
export { IUsefulServiceCardProps, UsefulServiceCard } from './components/Services/UsefulServiceCard/index.js';
|
|
73
|
+
export { IYesNoQuestionProps, TYesNoAnswer, YesNoQuestion } from './components/Services/YesNoQuestion/index.js';
|
|
71
74
|
export { IScreenMessageProps, ScreenMessage } from './components/ScreenMessage/index.js';
|
|
72
75
|
export { ISocialCardProps, SocialCard } from './components/SocialCard/index.js';
|
|
73
76
|
export { UploadFile } from './components/UploadFile/index.js';
|