@egov3/system-design 1.3.254 → 1.3.255

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.
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var css_248z = ".ConsentCheckbox-module_wrapper__f7JEc {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n\n.ConsentCheckbox-module_hint__AhIrQ {\n color: var(--text-secondary);\n white-space: pre-line;\n}\n\n.ConsentCheckbox-module_modalContent__zHDPA {\n padding: 16px;\n white-space: pre-wrap;\n}\n";
6
+ var styles = {"wrapper":"ConsentCheckbox-module_wrapper__f7JEc","hint":"ConsentCheckbox-module_hint__AhIrQ","modalContent":"ConsentCheckbox-module_modalContent__zHDPA"};
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=ConsentCheckbox.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsentCheckbox.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,62 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var React = require('react');
5
+ require('../../../styles/colors.css.js');
6
+ require('../../../baseComponents/Accordion/Accordion.module.css.js');
7
+ require('@egov3/graphics/General/Close');
8
+ require('../../../baseComponents/Overlay/Overlay.module.css.js');
9
+ var index$2 = require('../../../baseComponents/Typography/index.js');
10
+ require('../../../baseComponents/BottomSheet/BottomSheet.module.css.js');
11
+ require('../../../styles/typography.module.css.js');
12
+ require('../../../baseComponents/Button/button.module.css.js');
13
+ var index = require('../../../baseComponents/Checkbox/index.js');
14
+ require('@egov3/graphics/General/Search');
15
+ var index$1 = require('../../../constants/i18n/index.js');
16
+ require('../../../baseComponents/RadioGroup/RadioGroup.module.css.js');
17
+ require('@egov3/graphics/General/Clear');
18
+ require('@egov3/graphics/General/Loader');
19
+ require('../../../baseComponents/SearchBar/SearchBar.module.css.js');
20
+ require('@egov3/graphics/Basic/ChevronDownSmall');
21
+ require('../../../baseComponents/SelectBoxButton/SelectBoxButton.module.css.js');
22
+ require('../../../baseComponents/DropdownSelect/DropdownSelect.module.css.js');
23
+ require('dompurify');
24
+ require('html-react-parser');
25
+ require('../../../baseComponents/HtmlContainer/HtmlContainer.module.css.js');
26
+ require('../../../baseComponents/ImageOverlay/ImageOverlay.module.css.js');
27
+ require('../../../baseComponents/InputField/index.js');
28
+ require('../../../baseComponents/InputFieldGroup/InputFieldGroup.module.css.js');
29
+ require('../../../baseComponents/Label/Label.module.css.js');
30
+ require('../../../baseComponents/Loader/Loader.module.css.js');
31
+ require('../../../baseComponents/LoadingSkeleton/LoadingSkeleton.module.css.js');
32
+ var index$3 = require('../../../baseComponents/Modal/index.js');
33
+ require('@egov3/graphics/Basic/Check');
34
+ require('../../../baseComponents/PageSizeSelector/PageSizeSelector.module.css.js');
35
+ require('../../../baseComponents/TabButtons/TabButtons.module.css.js');
36
+ require('../../../baseComponents/Pagination/Pagination.module.css.js');
37
+ require('../../../baseComponents/PhotoCutter/PhotoCutter.module.css.js');
38
+ require('../../../baseComponents/ProgressBar/ProgressBar.module.css.js');
39
+ require('../../../baseComponents/RadioToggle/RadioToggle.module.css.js');
40
+ require('@egov3/graphics/General/DocFilled');
41
+ require('@egov3/graphics/General/CheckedRound');
42
+ require('@egov3/graphics/General/Error');
43
+ require('@egov3/graphics/General/InfoStroke');
44
+ require('../../../baseComponents/TextPair/TextPair.module.css.js');
45
+ require('../../../baseComponents/StatusText/StatusText.module.css.js');
46
+ require('../../../baseComponents/Responses/Responses.module.css.js');
47
+ require('@egov3/graphics/General/Hourglass');
48
+ require('../../../baseComponents/StatusStepper/StatusStepper.module.css.js');
49
+ require('../../../baseComponents/Table/Table.module.css.js');
50
+ require('../../../baseComponents/TextareaField/index.js');
51
+ require('../../../baseComponents/TextWithAction/TextWithAction.module.css.js');
52
+ require('../../../baseComponents/Title/Title.module.css.js');
53
+ var ConsentCheckbox_module = require('./ConsentCheckbox.module.css.js');
54
+
55
+ const langDic = index$1.i18n.ConsentCheckbox;
56
+ const ConsentCheckbox = ({ lang, isChecked, setIsChecked, modalText, label = langDic.label[lang], actionLabel = langDic.actionLabel[lang], isHintShown = false, }) => {
57
+ const [isModalOpen, setIsModalOpen] = React.useState(false);
58
+ return (jsxRuntime.jsxs("div", { className: ConsentCheckbox_module.default.wrapper, "data-testid": "ConsentCheckbox_WRAPPER", children: [jsxRuntime.jsx(index.Checkbox, { label: label, actionLabel: actionLabel, checked: isChecked, setChecked: setIsChecked, onActionClick: () => setIsModalOpen(true) }), isHintShown && (jsxRuntime.jsx(index$2.Typography, { tag: "p", fontClass: "body2Regular", className: ConsentCheckbox_module.default.hint, "data-testid": "ConsentCheckbox_HINT", children: langDic.hint[lang] })), isModalOpen && (jsxRuntime.jsx(index$3.Modal, { isOpen: isModalOpen, setIsOpen: setIsModalOpen, header: { title: langDic.title[lang], isClosable: true }, lang: lang, variant: "small", children: jsxRuntime.jsx("div", { className: ConsentCheckbox_module.default.modalContent, "data-testid": "ConsentCheckbox_MODAL_CONTENT", children: jsxRuntime.jsx(index$2.Typography, { tag: "p", fontClass: "body2Regular", "data-testid": "ConsentCheckbox_MODAL_TEXT", children: modalText }) }) }))] }));
59
+ };
60
+
61
+ exports.ConsentCheckbox = ConsentCheckbox;
62
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/Services/ConsentCheckbox/index.tsx"],"sourcesContent":[null],"names":["i18n","useState","_jsxs","styles","_jsx","Checkbox","Typography","Modal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAM,OAAO,GAAGA,YAAI,CAAC,eAAe;AAE7B,MAAM,eAAe,GAAG,CAAC,EAC9B,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAC3B,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EACvC,WAAW,GAAG,KAAK,GACG,KAAI;IAC1B,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAGC,cAAQ,CAAU,KAAK,CAAC;AAE9D,IAAA,QACEC,eAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAEC,8BAAM,CAAC,OAAO,EAAA,aAAA,EAAc,yBAAyB,EAAA,QAAA,EAAA,CACnEC,cAAA,CAACC,cAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,UAAU,EAAE,YAAY,EACxB,aAAa,EAAE,MAAM,cAAc,CAAC,IAAI,CAAC,EAAA,CACzC,EACD,WAAW,KACVD,cAAA,CAACE,kBAAU,EAAA,EACT,GAAG,EAAC,GAAG,EACP,SAAS,EAAC,cAAc,EACxB,SAAS,EAAEH,8BAAM,CAAC,IAAI,EAAA,aAAA,EACV,sBAAsB,EAAA,QAAA,EAEjC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,CACR,CACd,EACA,WAAW,KACVC,cAAA,CAACG,aAAK,EAAA,EACJ,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,cAAc,EACzB,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,EACxD,IAAI,EAAE,IAAI,EACV,OAAO,EAAC,OAAO,EAAA,QAAA,EAEfH,cAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAED,8BAAM,CAAC,YAAY,EAAA,aAAA,EAClB,+BAA+B,EAAA,QAAA,EAE3CC,cAAA,CAACE,kBAAU,EAAA,EACT,GAAG,EAAC,GAAG,EACP,SAAS,EAAC,cAAc,iBACZ,4BAA4B,EAAA,QAAA,EAEvC,SAAS,EAAA,CACC,EAAA,CACT,EAAA,CACA,CACT,CAAA,EAAA,CACG;AAEV;;;;"}
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ const ConsentCheckbox = {
4
+ title: {
5
+ ru: "Согласие на сбор и обработку данных",
6
+ kk: "Дербес деректерді жинауға және өңдеуге келісім",
7
+ en: "Consent to the collection and processing of data",
8
+ },
9
+ label: {
10
+ ru: "Даю согласие на сбор и обработку данных, необходимых для оказания услуги.",
11
+ kk: "Қызмет көрсету үшін қажетті деректерді жинауға және өңдеуге келісім беремін.",
12
+ en: "I give consent to the collection and processing of data necessary for the provision of the service.",
13
+ },
14
+ actionLabel: {
15
+ ru: "Подробнее",
16
+ kk: "Толығырақ",
17
+ en: "Read more",
18
+ },
19
+ hint: {
20
+ ru: "Для дальнейшего оказания услуги обязательно подтвердите согласие",
21
+ kk: "Қызметті әрі қарай көрсету үшін келісімді міндетті түрде растаңыз",
22
+ en: "To further provide the service, you must confirm your consent",
23
+ },
24
+ };
25
+
26
+ exports.ConsentCheckbox = ConsentCheckbox;
27
+ //# sourceMappingURL=ConsentCheckbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsentCheckbox.js","sources":["../../../../../src/constants/i18n/Services/ConsentCheckbox.tsx"],"sourcesContent":[null],"names":[],"mappings":";;AAAO,MAAM,eAAe,GAAG;AAC7B,IAAA,KAAK,EAAE;AACL,QAAA,EAAE,EAAE,qCAAqC;AACzC,QAAA,EAAE,EAAE,gDAAgD;AACpD,QAAA,EAAE,EAAE,kDAAkD;AACvD,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,EAAE,EAAE,2EAA2E;AAC/E,QAAA,EAAE,EAAE,8EAA8E;AAClF,QAAA,EAAE,EAAE,qGAAqG;AAC1G,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,WAAW;AAChB,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,EAAE,EAAE,kEAAkE;AACtE,QAAA,EAAE,EAAE,mEAAmE;AACvE,QAAA,EAAE,EAAE,+DAA+D;AACpE,KAAA;;;;;"}
@@ -22,6 +22,7 @@ var SetUpAccess = require('./Profile/SetUpAccess.js');
22
22
  var ScreenMessage = require('./ScreenMessage.js');
23
23
  var SearchBar = require('./SearchBar.js');
24
24
  var SelectBoxButton = require('./SelectBoxButton.js');
25
+ var ConsentCheckbox = require('./Services/ConsentCheckbox.js');
25
26
  var Feedback = require('./Services/Feedback.js');
26
27
  var FileUpload = require('./Services/FileUpload.js');
27
28
  var Table = require('./Table.js');
@@ -30,6 +31,7 @@ const i18n = {
30
31
  AuthQR: AuthQR.AuthQR,
31
32
  Calendar: Calendar.Calendar,
32
33
  Common: Common.Common,
34
+ ConsentCheckbox: ConsentCheckbox.ConsentCheckbox,
33
35
  DropdownSelect: DropdownSelect.DropdownSelect,
34
36
  DocCard: DocCard.DocCard,
35
37
  Feedback: Feedback.Feedback,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/constants/i18n/index.tsx"],"sourcesContent":[null],"names":["AuthQR","Calendar","Common","DropdownSelect","DocCard","Feedback","Modal","SelectBoxButton","ErrorModal","SetUpAccess","ProfileHealthGeneral","EdsSuccess","Auth","Agreement","CodeInput","HelpNotificationItem","MsgBody","EmptyMessages","MsgComponentHeader","FileUpload","PrivacyModal","ScreenMessage","SearchBar","ServiceDetails","Table"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BO,MAAM,IAAI,GAAG;YAClBA,aAAM;cACNC,iBAAQ;YACRC,aAAM;oBACNC,6BAAc;aACdC,eAAO;cACPC,iBAAQ;WACRC,WAAK;qBACLC,+BAAe;gBACfC,qBAAU;iBACVC,uBAAW;0BACXC,yCAAoB;gBACpBC,qBAAU;UACVC,SAAI;eACJC,mBAAS;eACTC,mBAAS;0BACTC,yCAAoB;aAEpBC,eAAO;mBACPC,2BAAa;wBACbC,qCAAkB;gBAClBC,qBAAU;kBACVC,yBAAY;mBACZC,2BAAa;eACbC,mBAAS;oBACTC,6BAAc;WACdC,WAAK;;;;;"}
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","MsgBody","EmptyMessages","MsgComponentHeader","FileUpload","PrivacyModal","ScreenMessage","SearchBar","ServiceDetails","Table"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BO,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;UACVC,SAAI;eACJC,mBAAS;eACTC,mBAAS;0BACTC,yCAAoB;aAEpBC,eAAO;mBACPC,2BAAa;wBACbC,qCAAkB;gBAClBC,qBAAU;kBACVC,yBAAY;mBACZC,2BAAa;eACbC,mBAAS;oBACTC,6BAAc;WACdC,WAAK;;;;;"}
package/dist/cjs/index.js CHANGED
@@ -7,74 +7,75 @@ var index = require('./baseComponents/Accordion/index.js');
7
7
  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
- var index$c = require('./baseComponents/DropdownSelect/index.js');
11
- var index$k = require('./baseComponents/HtmlContainer/index.js');
12
- var index$n = require('./baseComponents/ImageOverlay/index.js');
13
- var index$o = require('./baseComponents/InputField/index.js');
14
- var index$p = require('./baseComponents/InputFieldGroup/index.js');
15
- var index$q = require('./baseComponents/Label/index.js');
16
- var index$r = require('./baseComponents/Loader/index.js');
17
- var index$s = require('./baseComponents/LoadingSkeleton/index.js');
18
- var index$t = require('./baseComponents/Modal/index.js');
19
- var index$A = require('./baseComponents/Overlay/index.js');
20
- var index$B = require('./baseComponents/PageSizeSelector/index.js');
21
- var index$C = require('./baseComponents/Pagination/index.js');
22
- var index$E = require('./baseComponents/PhotoCutter/index.js');
23
- var index$I = require('./baseComponents/ProgressBar/index.js');
24
- var index$a = require('./baseComponents/RadioGroup/index.js');
25
- var index$K = require('./baseComponents/RadioToggle/index.js');
26
- var index$L = require('./baseComponents/Responses/index.js');
27
- var index$O = require('./baseComponents/SearchBar/index.js');
28
- var index$P = require('./baseComponents/SelectBoxButton/index.js');
29
- var index$T = require('./baseComponents/StatusStepper/index.js');
30
- var index$U = require('./baseComponents/StatusText/index.js');
31
- var index$V = require('./baseComponents/TabButtons/index.js');
32
- var index$W = require('./baseComponents/Table/index.js');
33
- var index$12 = require('./baseComponents/TextareaField/index.js');
34
- var index$10 = require('./baseComponents/TextPair/index.js');
35
- var index$11 = require('./baseComponents/TextWithAction/index.js');
36
- var index$13 = require('./baseComponents/Title/index.js');
37
- var index$14 = require('./baseComponents/Typography/index.js');
10
+ var index$d = require('./baseComponents/DropdownSelect/index.js');
11
+ var index$l = require('./baseComponents/HtmlContainer/index.js');
12
+ var index$o = require('./baseComponents/ImageOverlay/index.js');
13
+ var index$p = require('./baseComponents/InputField/index.js');
14
+ var index$q = require('./baseComponents/InputFieldGroup/index.js');
15
+ var index$r = require('./baseComponents/Label/index.js');
16
+ var index$s = require('./baseComponents/Loader/index.js');
17
+ var index$t = require('./baseComponents/LoadingSkeleton/index.js');
18
+ var index$u = require('./baseComponents/Modal/index.js');
19
+ var index$B = require('./baseComponents/Overlay/index.js');
20
+ var index$C = require('./baseComponents/PageSizeSelector/index.js');
21
+ var index$D = require('./baseComponents/Pagination/index.js');
22
+ var index$F = require('./baseComponents/PhotoCutter/index.js');
23
+ var index$J = require('./baseComponents/ProgressBar/index.js');
24
+ var index$b = require('./baseComponents/RadioGroup/index.js');
25
+ var index$L = require('./baseComponents/RadioToggle/index.js');
26
+ var index$M = require('./baseComponents/Responses/index.js');
27
+ var index$P = require('./baseComponents/SearchBar/index.js');
28
+ var index$Q = require('./baseComponents/SelectBoxButton/index.js');
29
+ var index$U = require('./baseComponents/StatusStepper/index.js');
30
+ var index$V = require('./baseComponents/StatusText/index.js');
31
+ var index$W = require('./baseComponents/TabButtons/index.js');
32
+ var index$X = require('./baseComponents/Table/index.js');
33
+ var index$13 = require('./baseComponents/TextareaField/index.js');
34
+ var index$11 = require('./baseComponents/TextPair/index.js');
35
+ var index$12 = require('./baseComponents/TextWithAction/index.js');
36
+ var index$14 = require('./baseComponents/Title/index.js');
37
+ var index$15 = 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$f = require('./components/ErrorModal/index.js');
40
+ var index$g = require('./components/ErrorModal/index.js');
41
41
  var index$1 = require('./components/Identity/Agreement/index.js');
42
42
  var index$2 = require('./components/Identity/Auth/index.js');
43
43
  var index$3 = require('./components/Identity/AuthQR/index.js');
44
44
  var index$9 = require('./components/Identity/CodeInput/index.js');
45
- var index$d = require('./components/Identity/EdsSuccess/index.js');
46
- var index$m = require('./components/Identity/IdentityModal/index.js');
47
- var index$e = require('./components/Messages/EmptyMessages/index.js');
48
- var index$i = require('./components/Messages/HelpNotification/index.js');
49
- var index$j = require('./components/Messages/HelpNotificationItem/index.js');
50
- var index$u = require('./components/Messages/MsgBody/index.js');
51
- var index$v = require('./components/Messages/MsgComponentHeader/index.js');
52
- var index$w = require('./components/Messages/MsgSearch/index.js');
53
- var index$17 = require('./components/Navigation/ViewToggle/index.js');
54
- var index$y = require('./components/Notification/Item/index.js');
55
- var index$z = require('./components/Notification/Wrapper/index.js');
56
- var index$F = require('./components/Presale/index.js');
57
- var index$G = require('./components/PrivacyModal/index.js');
58
- var index$b = require('./components/Profile/DocCard/index.js');
59
- var index$l = require('./components/Profile/IconToggleItem/index.js');
60
- var index$H = require('./components/Profile/ProfileHealthGeneral/index.js');
61
- var index$M = require('./components/Profile/RightMenuSectionItem/index.js');
62
- var index$R = require('./components/Profile/SetUpAccess/index.js');
63
- var index$J = require('./components/QRAppButton/index.js');
64
- var index$g = require('./components/Services/Feedback/index.js');
65
- var index$h = require('./components/Services/FileForUpload/index.js');
66
- var index$x = require('./components/Services/NextStepComponent/index.js');
67
- var index$D = require('./components/Services/PersonalIDTemplate/index.js');
68
- var index$Q = require('./components/Services/ServiceCardComponent/index.js');
69
- var index$16 = require('./components/Services/UsefulServiceCard/index.js');
70
- var index$N = require('./components/ScreenMessage/index.js');
71
- var index$S = require('./components/SocialCard/index.js');
72
- var index$15 = require('./components/UploadFile/index.js');
73
- var index$X = require('./baseComponents/Table/TableCell/index.js');
74
- var index$Y = require('./baseComponents/Table/TableFooter/index.js');
75
- var index$Z = require('./baseComponents/Table/TableHead/index.js');
76
- var index$_ = require('./baseComponents/Table/TableHeadCell/index.js');
77
- var index$$ = require('./baseComponents/Table/TableRow/index.js');
45
+ var index$e = require('./components/Identity/EdsSuccess/index.js');
46
+ var index$n = require('./components/Identity/IdentityModal/index.js');
47
+ var index$f = require('./components/Messages/EmptyMessages/index.js');
48
+ var index$j = require('./components/Messages/HelpNotification/index.js');
49
+ var index$k = require('./components/Messages/HelpNotificationItem/index.js');
50
+ var index$v = require('./components/Messages/MsgBody/index.js');
51
+ var index$w = require('./components/Messages/MsgComponentHeader/index.js');
52
+ var index$x = require('./components/Messages/MsgSearch/index.js');
53
+ var index$18 = require('./components/Navigation/ViewToggle/index.js');
54
+ var index$z = require('./components/Notification/Item/index.js');
55
+ var index$A = require('./components/Notification/Wrapper/index.js');
56
+ var index$G = require('./components/Presale/index.js');
57
+ var index$H = require('./components/PrivacyModal/index.js');
58
+ var index$c = require('./components/Profile/DocCard/index.js');
59
+ var index$m = require('./components/Profile/IconToggleItem/index.js');
60
+ var index$I = require('./components/Profile/ProfileHealthGeneral/index.js');
61
+ var index$N = require('./components/Profile/RightMenuSectionItem/index.js');
62
+ var index$S = require('./components/Profile/SetUpAccess/index.js');
63
+ var index$K = require('./components/QRAppButton/index.js');
64
+ var index$a = require('./components/Services/ConsentCheckbox/index.js');
65
+ var index$h = require('./components/Services/Feedback/index.js');
66
+ var index$i = require('./components/Services/FileForUpload/index.js');
67
+ var index$y = require('./components/Services/NextStepComponent/index.js');
68
+ var index$E = require('./components/Services/PersonalIDTemplate/index.js');
69
+ var index$R = require('./components/Services/ServiceCardComponent/index.js');
70
+ var index$17 = require('./components/Services/UsefulServiceCard/index.js');
71
+ var index$O = require('./components/ScreenMessage/index.js');
72
+ var index$T = require('./components/SocialCard/index.js');
73
+ var index$16 = require('./components/UploadFile/index.js');
74
+ var index$Y = require('./baseComponents/Table/TableCell/index.js');
75
+ var index$Z = require('./baseComponents/Table/TableFooter/index.js');
76
+ var index$_ = require('./baseComponents/Table/TableHead/index.js');
77
+ var index$$ = require('./baseComponents/Table/TableHeadCell/index.js');
78
+ var index$10 = require('./baseComponents/Table/TableRow/index.js');
78
79
 
79
80
 
80
81
 
@@ -82,73 +83,74 @@ exports.Accordion = index.Accordion;
82
83
  exports.BottomSheet = index$4.BottomSheet;
83
84
  exports.Button = index$5.Button;
84
85
  exports.Checkbox = index$8.Checkbox;
85
- exports.DropdownSelect = index$c.DropdownSelect;
86
- exports.HtmlContainer = index$k.HtmlContainer;
87
- exports.ImageOverlay = index$n.ImageOverlay;
88
- exports.InputField = index$o.InputField;
89
- exports.InputFieldGroup = index$p.InputFieldGroup;
90
- exports.Label = index$q.Label;
91
- exports.Loader = index$r.Loader;
92
- exports.LoadingSkeleton = index$s.LoadingSkeleton;
93
- exports.Modal = index$t.Modal;
94
- exports.Overlay = index$A.Overlay;
95
- exports.PageSizeSelector = index$B.PageSizeSelector;
96
- exports.Pagination = index$C.Pagination;
97
- exports.PhotoCutter = index$E.PhotoCutter;
98
- exports.ProgressBar = index$I.ProgressBar;
99
- exports.CustomRadioButton = index$a.CustomRadioButton;
100
- exports.RadioGroup = index$a.RadioGroup;
101
- exports.RadioToggle = index$K.RadioToggle;
102
- exports.Responses = index$L.Responses;
103
- exports.SearchBar = index$O.SearchBar;
104
- exports.SelectBoxButton = index$P.SelectBoxButton;
105
- exports.StatusStepper = index$T.StatusStepper;
106
- exports.StatusText = index$U.StatusText;
107
- exports.TabButtons = index$V.TabButtons;
108
- exports.Table = index$W.Table;
109
- exports.TextareaField = index$12.TextareaField;
110
- exports.TextPair = index$10.TextPair;
111
- exports.TextWithAction = index$11.TextWithAction;
112
- exports.Title = index$13.Title;
113
- exports.Typography = index$14.Typography;
86
+ exports.DropdownSelect = index$d.DropdownSelect;
87
+ exports.HtmlContainer = index$l.HtmlContainer;
88
+ exports.ImageOverlay = index$o.ImageOverlay;
89
+ exports.InputField = index$p.InputField;
90
+ exports.InputFieldGroup = index$q.InputFieldGroup;
91
+ exports.Label = index$r.Label;
92
+ exports.Loader = index$s.Loader;
93
+ exports.LoadingSkeleton = index$t.LoadingSkeleton;
94
+ exports.Modal = index$u.Modal;
95
+ exports.Overlay = index$B.Overlay;
96
+ exports.PageSizeSelector = index$C.PageSizeSelector;
97
+ exports.Pagination = index$D.Pagination;
98
+ exports.PhotoCutter = index$F.PhotoCutter;
99
+ exports.ProgressBar = index$J.ProgressBar;
100
+ exports.CustomRadioButton = index$b.CustomRadioButton;
101
+ exports.RadioGroup = index$b.RadioGroup;
102
+ exports.RadioToggle = index$L.RadioToggle;
103
+ exports.Responses = index$M.Responses;
104
+ exports.SearchBar = index$P.SearchBar;
105
+ exports.SelectBoxButton = index$Q.SelectBoxButton;
106
+ exports.StatusStepper = index$U.StatusStepper;
107
+ exports.StatusText = index$V.StatusText;
108
+ exports.TabButtons = index$W.TabButtons;
109
+ exports.Table = index$X.Table;
110
+ exports.TextareaField = index$13.TextareaField;
111
+ exports.TextPair = index$11.TextPair;
112
+ exports.TextWithAction = index$12.TextWithAction;
113
+ exports.Title = index$14.Title;
114
+ exports.Typography = index$15.Typography;
114
115
  exports.Calendar = index$6.Calendar;
115
116
  exports.CalendarBody = index$7.CalendarBody;
116
- exports.ErrorModal = index$f.ErrorModal;
117
+ exports.ErrorModal = index$g.ErrorModal;
117
118
  exports.Agreement = index$1.Agreement;
118
119
  exports.Auth = index$2.Auth;
119
120
  exports.AuthQR = index$3.AuthQR;
120
121
  exports.CodeInput = index$9.CodeInput;
121
- exports.EdsSuccess = index$d.EdsSuccess;
122
- exports.IdentityModal = index$m.IdentityModal;
123
- exports.EmptyMessages = index$e.EmptyMessages;
124
- exports.HelpNotification = index$i.HelpNotification;
125
- exports.HelpNotificationItem = index$j.HelpNotificationItem;
126
- exports.MsgBody = index$u.MsgBody;
127
- exports.MsgComponentHeader = index$v.MsgComponentHeader;
128
- exports.MsgSearch = index$w.MsgSearch;
129
- exports.ViewToggle = index$17.ViewToggle;
130
- exports.NotificationItem = index$y.NotificationItem;
131
- exports.NotificationWrapper = index$z.NotificationWrapper;
132
- exports.PresaleComponent = index$F.PresaleComponent;
133
- exports.PrivacyModal = index$G.PrivacyModal;
134
- exports.DocCard = index$b.DocCard;
135
- exports.IconToggleItem = index$l.IconToggleItem;
136
- exports.ProfileHealthGeneral = index$H.ProfileHealthGeneral;
137
- exports.RightMenuSectionItem = index$M.RightMenuSectionItem;
138
- exports.SetUpAccess = index$R.SetUpAccess;
139
- exports.QRAppButton = index$J.QRAppButton;
140
- exports.Feedback = index$g.Feedback;
141
- exports.FileForUpload = index$h.FileForUpload;
142
- exports.NextStepComponent = index$x.NextStepComponent;
143
- exports.PersonalIDTemplate = index$D.PersonalIDTemplate;
144
- exports.ServiceCardComponent = index$Q.ServiceCardComponent;
145
- exports.UsefulServiceCard = index$16.UsefulServiceCard;
146
- exports.ScreenMessage = index$N.ScreenMessage;
147
- exports.SocialCard = index$S.SocialCard;
148
- exports.UploadFile = index$15.UploadFile;
149
- exports.TableCell = index$X.TableCell;
150
- exports.TableFooter = index$Y.TableFooter;
151
- exports.TableHead = index$Z.TableHead;
152
- exports.TableHeadCell = index$_.TableHeadCell;
153
- exports.TableRow = index$$.TableRow;
122
+ exports.EdsSuccess = index$e.EdsSuccess;
123
+ exports.IdentityModal = index$n.IdentityModal;
124
+ exports.EmptyMessages = index$f.EmptyMessages;
125
+ exports.HelpNotification = index$j.HelpNotification;
126
+ exports.HelpNotificationItem = index$k.HelpNotificationItem;
127
+ exports.MsgBody = index$v.MsgBody;
128
+ exports.MsgComponentHeader = index$w.MsgComponentHeader;
129
+ exports.MsgSearch = index$x.MsgSearch;
130
+ exports.ViewToggle = index$18.ViewToggle;
131
+ exports.NotificationItem = index$z.NotificationItem;
132
+ exports.NotificationWrapper = index$A.NotificationWrapper;
133
+ exports.PresaleComponent = index$G.PresaleComponent;
134
+ exports.PrivacyModal = index$H.PrivacyModal;
135
+ exports.DocCard = index$c.DocCard;
136
+ exports.IconToggleItem = index$m.IconToggleItem;
137
+ exports.ProfileHealthGeneral = index$I.ProfileHealthGeneral;
138
+ exports.RightMenuSectionItem = index$N.RightMenuSectionItem;
139
+ exports.SetUpAccess = index$S.SetUpAccess;
140
+ exports.QRAppButton = index$K.QRAppButton;
141
+ exports.ConsentCheckbox = index$a.ConsentCheckbox;
142
+ exports.Feedback = index$h.Feedback;
143
+ exports.FileForUpload = index$i.FileForUpload;
144
+ exports.NextStepComponent = index$y.NextStepComponent;
145
+ exports.PersonalIDTemplate = index$E.PersonalIDTemplate;
146
+ exports.ServiceCardComponent = index$R.ServiceCardComponent;
147
+ exports.UsefulServiceCard = index$17.UsefulServiceCard;
148
+ exports.ScreenMessage = index$O.ScreenMessage;
149
+ exports.SocialCard = index$T.SocialCard;
150
+ exports.UploadFile = index$16.UploadFile;
151
+ exports.TableCell = index$Y.TableCell;
152
+ exports.TableFooter = index$Z.TableFooter;
153
+ exports.TableHead = index$_.TableHead;
154
+ exports.TableHeadCell = index$$.TableHeadCell;
155
+ exports.TableRow = index$10.TableRow;
154
156
  //# sourceMappingURL=index.js.map
@@ -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 = ".ConsentCheckbox-module_wrapper__f7JEc {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n\n.ConsentCheckbox-module_hint__AhIrQ {\n color: var(--text-secondary);\n white-space: pre-line;\n}\n\n.ConsentCheckbox-module_modalContent__zHDPA {\n padding: 16px;\n white-space: pre-wrap;\n}\n";
2
+ var styles = {"wrapper":"ConsentCheckbox-module_wrapper__f7JEc","hint":"ConsentCheckbox-module_hint__AhIrQ","modalContent":"ConsentCheckbox-module_modalContent__zHDPA"};
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=ConsentCheckbox.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsentCheckbox.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,60 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { useState } from 'react';
3
+ import '../../../styles/colors.css.js';
4
+ import '../../../baseComponents/Accordion/Accordion.module.css.js';
5
+ import '@egov3/graphics/General/Close';
6
+ import '../../../baseComponents/Overlay/Overlay.module.css.js';
7
+ import { Typography } from '../../../baseComponents/Typography/index.js';
8
+ import '../../../baseComponents/BottomSheet/BottomSheet.module.css.js';
9
+ import '../../../styles/typography.module.css.js';
10
+ import '../../../baseComponents/Button/button.module.css.js';
11
+ import { Checkbox } from '../../../baseComponents/Checkbox/index.js';
12
+ import '@egov3/graphics/General/Search';
13
+ import { i18n } from '../../../constants/i18n/index.js';
14
+ import '../../../baseComponents/RadioGroup/RadioGroup.module.css.js';
15
+ import '@egov3/graphics/General/Clear';
16
+ import '@egov3/graphics/General/Loader';
17
+ import '../../../baseComponents/SearchBar/SearchBar.module.css.js';
18
+ import '@egov3/graphics/Basic/ChevronDownSmall';
19
+ import '../../../baseComponents/SelectBoxButton/SelectBoxButton.module.css.js';
20
+ import '../../../baseComponents/DropdownSelect/DropdownSelect.module.css.js';
21
+ import 'dompurify';
22
+ import 'html-react-parser';
23
+ import '../../../baseComponents/HtmlContainer/HtmlContainer.module.css.js';
24
+ import '../../../baseComponents/ImageOverlay/ImageOverlay.module.css.js';
25
+ import '../../../baseComponents/InputField/index.js';
26
+ import '../../../baseComponents/InputFieldGroup/InputFieldGroup.module.css.js';
27
+ import '../../../baseComponents/Label/Label.module.css.js';
28
+ import '../../../baseComponents/Loader/Loader.module.css.js';
29
+ import '../../../baseComponents/LoadingSkeleton/LoadingSkeleton.module.css.js';
30
+ import { Modal } from '../../../baseComponents/Modal/index.js';
31
+ import '@egov3/graphics/Basic/Check';
32
+ import '../../../baseComponents/PageSizeSelector/PageSizeSelector.module.css.js';
33
+ import '../../../baseComponents/TabButtons/TabButtons.module.css.js';
34
+ import '../../../baseComponents/Pagination/Pagination.module.css.js';
35
+ import '../../../baseComponents/PhotoCutter/PhotoCutter.module.css.js';
36
+ import '../../../baseComponents/ProgressBar/ProgressBar.module.css.js';
37
+ import '../../../baseComponents/RadioToggle/RadioToggle.module.css.js';
38
+ import '@egov3/graphics/General/DocFilled';
39
+ import '@egov3/graphics/General/CheckedRound';
40
+ import '@egov3/graphics/General/Error';
41
+ import '@egov3/graphics/General/InfoStroke';
42
+ import '../../../baseComponents/TextPair/TextPair.module.css.js';
43
+ import '../../../baseComponents/StatusText/StatusText.module.css.js';
44
+ import '../../../baseComponents/Responses/Responses.module.css.js';
45
+ import '@egov3/graphics/General/Hourglass';
46
+ import '../../../baseComponents/StatusStepper/StatusStepper.module.css.js';
47
+ import '../../../baseComponents/Table/Table.module.css.js';
48
+ import '../../../baseComponents/TextareaField/index.js';
49
+ import '../../../baseComponents/TextWithAction/TextWithAction.module.css.js';
50
+ import '../../../baseComponents/Title/Title.module.css.js';
51
+ import styles from './ConsentCheckbox.module.css.js';
52
+
53
+ const langDic = i18n.ConsentCheckbox;
54
+ const ConsentCheckbox = ({ lang, isChecked, setIsChecked, modalText, label = langDic.label[lang], actionLabel = langDic.actionLabel[lang], isHintShown = false, }) => {
55
+ const [isModalOpen, setIsModalOpen] = useState(false);
56
+ return (jsxs("div", { className: styles.wrapper, "data-testid": "ConsentCheckbox_WRAPPER", children: [jsx(Checkbox, { label: label, actionLabel: actionLabel, checked: isChecked, setChecked: setIsChecked, onActionClick: () => setIsModalOpen(true) }), isHintShown && (jsx(Typography, { tag: "p", fontClass: "body2Regular", className: styles.hint, "data-testid": "ConsentCheckbox_HINT", children: langDic.hint[lang] })), isModalOpen && (jsx(Modal, { isOpen: isModalOpen, setIsOpen: setIsModalOpen, header: { title: langDic.title[lang], isClosable: true }, lang: lang, variant: "small", children: jsx("div", { className: styles.modalContent, "data-testid": "ConsentCheckbox_MODAL_CONTENT", children: jsx(Typography, { tag: "p", fontClass: "body2Regular", "data-testid": "ConsentCheckbox_MODAL_TEXT", children: modalText }) }) }))] }));
57
+ };
58
+
59
+ export { ConsentCheckbox };
60
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/Services/ConsentCheckbox/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe;AAE7B,MAAM,eAAe,GAAG,CAAC,EAC9B,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAC3B,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EACvC,WAAW,GAAG,KAAK,GACG,KAAI;IAC1B,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC;AAE9D,IAAA,QACEA,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,OAAO,EAAA,aAAA,EAAc,yBAAyB,EAAA,QAAA,EAAA,CACnEC,GAAA,CAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,UAAU,EAAE,YAAY,EACxB,aAAa,EAAE,MAAM,cAAc,CAAC,IAAI,CAAC,EAAA,CACzC,EACD,WAAW,KACVA,GAAA,CAAC,UAAU,EAAA,EACT,GAAG,EAAC,GAAG,EACP,SAAS,EAAC,cAAc,EACxB,SAAS,EAAE,MAAM,CAAC,IAAI,EAAA,aAAA,EACV,sBAAsB,EAAA,QAAA,EAEjC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,CACR,CACd,EACA,WAAW,KACVA,GAAA,CAAC,KAAK,EAAA,EACJ,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,cAAc,EACzB,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,EACxD,IAAI,EAAE,IAAI,EACV,OAAO,EAAC,OAAO,EAAA,QAAA,EAEfA,GAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,MAAM,CAAC,YAAY,EAAA,aAAA,EAClB,+BAA+B,EAAA,QAAA,EAE3CA,GAAA,CAAC,UAAU,EAAA,EACT,GAAG,EAAC,GAAG,EACP,SAAS,EAAC,cAAc,iBACZ,4BAA4B,EAAA,QAAA,EAEvC,SAAS,EAAA,CACC,EAAA,CACT,EAAA,CACA,CACT,CAAA,EAAA,CACG;AAEV;;;;"}
@@ -0,0 +1,25 @@
1
+ const ConsentCheckbox = {
2
+ title: {
3
+ ru: "Согласие на сбор и обработку данных",
4
+ kk: "Дербес деректерді жинауға және өңдеуге келісім",
5
+ en: "Consent to the collection and processing of data",
6
+ },
7
+ label: {
8
+ ru: "Даю согласие на сбор и обработку данных, необходимых для оказания услуги.",
9
+ kk: "Қызмет көрсету үшін қажетті деректерді жинауға және өңдеуге келісім беремін.",
10
+ en: "I give consent to the collection and processing of data necessary for the provision of the service.",
11
+ },
12
+ actionLabel: {
13
+ ru: "Подробнее",
14
+ kk: "Толығырақ",
15
+ en: "Read more",
16
+ },
17
+ hint: {
18
+ ru: "Для дальнейшего оказания услуги обязательно подтвердите согласие",
19
+ kk: "Қызметті әрі қарай көрсету үшін келісімді міндетті түрде растаңыз",
20
+ en: "To further provide the service, you must confirm your consent",
21
+ },
22
+ };
23
+
24
+ export { ConsentCheckbox };
25
+ //# sourceMappingURL=ConsentCheckbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsentCheckbox.js","sources":["../../../../../src/constants/i18n/Services/ConsentCheckbox.tsx"],"sourcesContent":[null],"names":[],"mappings":"AAAO,MAAM,eAAe,GAAG;AAC7B,IAAA,KAAK,EAAE;AACL,QAAA,EAAE,EAAE,qCAAqC;AACzC,QAAA,EAAE,EAAE,gDAAgD;AACpD,QAAA,EAAE,EAAE,kDAAkD;AACvD,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,EAAE,EAAE,2EAA2E;AAC/E,QAAA,EAAE,EAAE,8EAA8E;AAClF,QAAA,EAAE,EAAE,qGAAqG;AAC1G,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,WAAW;AACf,QAAA,EAAE,EAAE,WAAW;AAChB,KAAA;AACD,IAAA,IAAI,EAAE;AACJ,QAAA,EAAE,EAAE,kEAAkE;AACtE,QAAA,EAAE,EAAE,mEAAmE;AACvE,QAAA,EAAE,EAAE,+DAA+D;AACpE,KAAA;;;;;"}
@@ -20,6 +20,7 @@ import { SetUpAccess } from './Profile/SetUpAccess.js';
20
20
  import { ScreenMessage } from './ScreenMessage.js';
21
21
  import { SearchBar } from './SearchBar.js';
22
22
  import { SelectBoxButton } from './SelectBoxButton.js';
23
+ import { ConsentCheckbox } from './Services/ConsentCheckbox.js';
23
24
  import { Feedback } from './Services/Feedback.js';
24
25
  import { FileUpload } from './Services/FileUpload.js';
25
26
  import { Table } from './Table.js';
@@ -28,6 +29,7 @@ const i18n = {
28
29
  AuthQR,
29
30
  Calendar,
30
31
  Common,
32
+ ConsentCheckbox,
31
33
  DropdownSelect,
32
34
  DocCard,
33
35
  Feedback,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/constants/i18n/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2BO,MAAM,IAAI,GAAG;IAClB,MAAM;IACN,QAAQ;IACR,MAAM;IACN,cAAc;IACd,OAAO;IACP,QAAQ;IACR,KAAK;IACL,eAAe;IACf,UAAU;IACV,WAAW;IACX,oBAAoB;IACpB,UAAU;IACV,IAAI;IACJ,SAAS;IACT,SAAS;IACT,oBAAoB;IAEpB,OAAO;IACP,aAAa;IACb,kBAAkB;IAClB,UAAU;IACV,YAAY;IACZ,aAAa;IACb,SAAS;IACT,cAAc;IACd,KAAK;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/constants/i18n/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BO,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,IAAI;IACJ,SAAS;IACT,SAAS;IACT,oBAAoB;IAEpB,OAAO;IACP,aAAa;IACb,kBAAkB;IAClB,UAAU;IACV,YAAY;IACZ,aAAa;IACb,SAAS;IACT,cAAc;IACd,KAAK;;;;;"}
package/dist/esm/index.js CHANGED
@@ -59,6 +59,7 @@ export { ProfileHealthGeneral } from './components/Profile/ProfileHealthGeneral/
59
59
  export { RightMenuSectionItem } from './components/Profile/RightMenuSectionItem/index.js';
60
60
  export { SetUpAccess } from './components/Profile/SetUpAccess/index.js';
61
61
  export { QRAppButton } from './components/QRAppButton/index.js';
62
+ export { ConsentCheckbox } from './components/Services/ConsentCheckbox/index.js';
62
63
  export { Feedback } from './components/Services/Feedback/index.js';
63
64
  export { FileForUpload } from './components/Services/FileForUpload/index.js';
64
65
  export { NextStepComponent } from './components/Services/NextStepComponent/index.js';
@@ -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,15 @@
1
+ import * as react from 'react';
2
+ import { ILangProps } from '../../../interfaces/common/index.js';
3
+
4
+ interface IConsentCheckboxProps extends ILangProps {
5
+ isChecked: boolean;
6
+ setIsChecked: (isChecked: boolean) => void;
7
+ modalText: string;
8
+ label?: string;
9
+ actionLabel?: string;
10
+ isHintShown?: boolean;
11
+ }
12
+ declare const ConsentCheckbox: ({ lang, isChecked, setIsChecked, modalText, label, actionLabel, isHintShown, }: IConsentCheckboxProps) => react.JSX.Element;
13
+
14
+ export { ConsentCheckbox };
15
+ export type { IConsentCheckboxProps };
@@ -56,6 +56,7 @@ export { IProfileHealthGeneral, ProfileHealthGeneral } from './components/Profil
56
56
  export { IRightMenuSectionItemProps, RightMenuSectionItem } from './components/Profile/RightMenuSectionItem/index.js';
57
57
  export { ISetUpAccessProps, SetUpAccess } from './components/Profile/SetUpAccess/index.js';
58
58
  export { IQRAppButtonProps, QRAppButton } from './components/QRAppButton/index.js';
59
+ export { ConsentCheckbox, IConsentCheckboxProps } from './components/Services/ConsentCheckbox/index.js';
59
60
  export { Feedback, IFeedbackProps } from './components/Services/Feedback/index.js';
60
61
  export { FileForUpload, IFileForUploadProps } from './components/Services/FileForUpload/index.js';
61
62
  export { INextStepComponentProps, NextStepComponent } from './components/Services/NextStepComponent/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egov3/system-design",
3
- "version": "1.3.254",
3
+ "version": "1.3.255",
4
4
  "description": "A system-design NPM package in Typescript",
5
5
  "license": "ISC",
6
6
  "author": "Zhassulan Baigozha",