@egov3/system-design 1.3.253 → 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.
- package/dist/cjs/baseComponents/Checkbox/Checkbox.module.css.js +1 -1
- package/dist/cjs/baseComponents/Checkbox/index.js +1 -1
- package/dist/cjs/baseComponents/Checkbox/index.js.map +1 -1
- package/dist/cjs/components/Services/ConsentCheckbox/ConsentCheckbox.module.css.js +22 -0
- package/dist/cjs/components/Services/ConsentCheckbox/ConsentCheckbox.module.css.js.map +1 -0
- package/dist/cjs/components/Services/ConsentCheckbox/index.js +62 -0
- package/dist/cjs/components/Services/ConsentCheckbox/index.js.map +1 -0
- package/dist/cjs/constants/i18n/Services/ConsentCheckbox.js +27 -0
- package/dist/cjs/constants/i18n/Services/ConsentCheckbox.js.map +1 -0
- package/dist/cjs/constants/i18n/index.js +2 -0
- package/dist/cjs/constants/i18n/index.js.map +1 -1
- package/dist/cjs/index.js +127 -125
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/baseComponents/Checkbox/Checkbox.module.css.js +1 -1
- package/dist/esm/baseComponents/Checkbox/index.js +1 -1
- package/dist/esm/baseComponents/Checkbox/index.js.map +1 -1
- package/dist/esm/components/Services/ConsentCheckbox/ConsentCheckbox.module.css.js +18 -0
- package/dist/esm/components/Services/ConsentCheckbox/ConsentCheckbox.module.css.js.map +1 -0
- package/dist/esm/components/Services/ConsentCheckbox/index.js +60 -0
- package/dist/esm/components/Services/ConsentCheckbox/index.js.map +1 -0
- package/dist/esm/constants/i18n/Services/ConsentCheckbox.js +25 -0
- package/dist/esm/constants/i18n/Services/ConsentCheckbox.js.map +1 -0
- package/dist/esm/constants/i18n/index.js +2 -0
- package/dist/esm/constants/i18n/index.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/Services/ConsentCheckbox/index.d.ts +15 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var css_248z = ".Checkbox-module_checkbox__PIXrC {\n display: flex;\n align-items: center;\n cursor: pointer;\n padding: 8px 0;\n gap: 12px;\n}\n\n.Checkbox-module_checkbox__PIXrC input {\n position: absolute;\n width: 1px;\n height: 1px;\n clip-path: inset(50%);\n}\n\n.Checkbox-module_checkboxControl__LINlA {\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n}\n\n.Checkbox-module_labelGroupWrap__S5yei {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.Checkbox-module_hintText__chlIf {\n width: fit-content;\n color: var(--text-secondary);\n}\n\n.Checkbox-module_disabled__DZku2 {\n cursor: not-allowed;\n color: var(--text-disabled-color);\n}\n.Checkbox-module_labelWrap__wXwTk {\n display:
|
|
5
|
+
var css_248z = ".Checkbox-module_checkbox__PIXrC {\n display: flex;\n align-items: center;\n cursor: pointer;\n padding: 8px 0;\n gap: 12px;\n}\n\n.Checkbox-module_checkbox__PIXrC input {\n position: absolute;\n width: 1px;\n height: 1px;\n clip-path: inset(50%);\n}\n\n.Checkbox-module_checkboxControl__LINlA {\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n}\n\n.Checkbox-module_labelGroupWrap__S5yei {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.Checkbox-module_hintText__chlIf {\n width: fit-content;\n color: var(--text-secondary);\n}\n\n.Checkbox-module_disabled__DZku2 {\n cursor: not-allowed;\n color: var(--text-disabled-color);\n}\n.Checkbox-module_labelWrap__wXwTk {\n display: block;\n}\n.Checkbox-module_action__kP-ng {\n border: 0;\n padding: 0;\n background: transparent;\n color: var(--text-accent);\n font: inherit;\n cursor: pointer;\n}\n";
|
|
6
6
|
var styles = {"checkbox":"Checkbox-module_checkbox__PIXrC","checkboxControl":"Checkbox-module_checkboxControl__LINlA","labelGroupWrap":"Checkbox-module_labelGroupWrap__S5yei","hintText":"Checkbox-module_hintText__chlIf","disabled":"Checkbox-module_disabled__DZku2","labelWrap":"Checkbox-module_labelWrap__wXwTk","action":"Checkbox-module_action__kP-ng"};
|
|
7
7
|
function styleInject(css, options) {
|
|
8
8
|
if (typeof document === 'undefined') return;
|
|
@@ -27,7 +27,7 @@ const Checkbox = ({ label, checked, setChecked, disabled = false, hintText, acti
|
|
|
27
27
|
};
|
|
28
28
|
const CheckboxIcon = checked ? CheckboxEmptyFilled.CheckboxEmptyFilledIcon : CheckboxEmpty.CheckboxEmptyIcon;
|
|
29
29
|
const iconColor = getIconColor(checked, disabled);
|
|
30
|
-
return (jsxRuntime.jsxs("label", { "data-testid": "Checkbox_LABEL", className: joinClasses.joinClasses(Checkbox_module.default.checkbox, disabled ? Checkbox_module.default.disabled : undefined), children: [jsxRuntime.jsx("input", { "data-testid": "Checkbox_INPUT", type: "checkbox", checked: checked, onChange: handleChange, disabled: disabled }), jsxRuntime.jsx(CheckboxIcon, { "data-testid": "Checkbox_CONTROL", className: Checkbox_module.default.checkboxControl, "aria-hidden": "true", fill: iconColor }), jsxRuntime.jsxs("div", { className: Checkbox_module.default.labelGroupWrap, "data-testid": "Checkbox_LABEL_WRAP", children: [jsxRuntime.jsxs("div", { className: Checkbox_module.default.labelWrap, "data-testid": "Checkbox_LABEL", children: [jsxRuntime.
|
|
30
|
+
return (jsxRuntime.jsxs("label", { "data-testid": "Checkbox_LABEL", className: joinClasses.joinClasses(Checkbox_module.default.checkbox, disabled ? Checkbox_module.default.disabled : undefined), children: [jsxRuntime.jsx("input", { "data-testid": "Checkbox_INPUT", type: "checkbox", checked: checked, onChange: handleChange, disabled: disabled }), jsxRuntime.jsx(CheckboxIcon, { "data-testid": "Checkbox_CONTROL", className: Checkbox_module.default.checkboxControl, "aria-hidden": "true", fill: iconColor }), jsxRuntime.jsxs("div", { className: Checkbox_module.default.labelGroupWrap, "data-testid": "Checkbox_LABEL_WRAP", children: [jsxRuntime.jsxs("div", { className: Checkbox_module.default.labelWrap, "data-testid": "Checkbox_LABEL", children: [jsxRuntime.jsxs("span", { "data-testid": "Checkbox_TEXT", className: typography_module.default.body2Regular, children: [label, actionLabel && " "] }), actionLabel && (jsxRuntime.jsx("button", { type: "button", className: Checkbox_module.default.action, onClick: handleActionClick, "data-testid": "Checkbox_ACTION", children: jsxRuntime.jsx("span", { "data-testid": "Checkbox_ACTION_TEXT", className: typography_module.default.body2Regular, children: actionLabel }) }))] }), hintText && hintText.length > 0 && (jsxRuntime.jsx("span", { "data-testid": "CheckboxHint_TEXT", className: joinClasses.joinClasses(Checkbox_module.default.hintText, typography_module.default.caption1Regular), children: hintText }))] })] }));
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
exports.Checkbox = Checkbox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/baseComponents/Checkbox/index.tsx"],"sourcesContent":[null],"names":["CheckboxFilledIcon","CheckboxEmptyIcon","_jsxs","joinClasses","styles","_jsx","typography"],"mappings":";;;;;;;;;AAoBA,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,QAAiB,KAAI;IAC3D,IAAI,QAAQ,EAAE;AACZ,QAAA,OAAO,4BAA4B;IACrC;IACA,IAAI,OAAO,EAAE;AACX,QAAA,OAAO,0BAA0B;IACnC;AACA,IAAA,OAAO,sBAAsB;AAC/B,CAAC;MAEY,QAAQ,GAAG,CAAC,EACvB,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,WAAW,EACX,aAAa,GACE,KAAI;AACnB,IAAA,MAAM,YAAY,GAAG,CAAC,KAA0C,KAAI;AAClE,QAAA,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;AAClC,IAAA,CAAC;AACD,IAAA,MAAM,iBAAiB,GAA+C,CACpE,KAAK,KACH;QACF,KAAK,CAAC,cAAc,EAAE;QACtB,KAAK,CAAC,eAAe,EAAE;AACvB,QAAA,aAAa,GAAG,KAAK,CAAC;AACxB,IAAA,CAAC;IACD,MAAM,YAAY,GAAG,OAAO,GAAGA,2CAAkB,GAAGC,+BAAiB;IACrE,MAAM,SAAS,GAAG,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC;AAEjD,IAAA,QACEC,eAAA,CAAA,OAAA,EAAA,EAAA,aAAA,EACc,gBAAgB,EAC5B,SAAS,EAAEC,uBAAW,CACpBC,uBAAM,CAAC,QAAQ,EACf,QAAQ,GAAGA,uBAAM,CAAC,QAAQ,GAAG,SAAS,CACvC,EAAA,QAAA,EAAA,CAEDC,yCACc,gBAAgB,EAC5B,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,QAAQ,EAAA,CAClB,EACFA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/baseComponents/Checkbox/index.tsx"],"sourcesContent":[null],"names":["CheckboxFilledIcon","CheckboxEmptyIcon","_jsxs","joinClasses","styles","_jsx","typography"],"mappings":";;;;;;;;;AAoBA,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,QAAiB,KAAI;IAC3D,IAAI,QAAQ,EAAE;AACZ,QAAA,OAAO,4BAA4B;IACrC;IACA,IAAI,OAAO,EAAE;AACX,QAAA,OAAO,0BAA0B;IACnC;AACA,IAAA,OAAO,sBAAsB;AAC/B,CAAC;MAEY,QAAQ,GAAG,CAAC,EACvB,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,WAAW,EACX,aAAa,GACE,KAAI;AACnB,IAAA,MAAM,YAAY,GAAG,CAAC,KAA0C,KAAI;AAClE,QAAA,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;AAClC,IAAA,CAAC;AACD,IAAA,MAAM,iBAAiB,GAA+C,CACpE,KAAK,KACH;QACF,KAAK,CAAC,cAAc,EAAE;QACtB,KAAK,CAAC,e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AU,CAAC,YAAY,YAEjC,WAAW,EAAA,CACP,EAAA,CACA,CACV,IACG,EAEL,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,KAC9BD,wCACc,mBAAmB,EAC/B,SAAS,EAAEF,uBAAW,CAACC,uBAAM,CAAC,QAAQ,EAAEE,yBAAU,CAAC,eAAe,CAAC,YAElE,QAAQ,EAAA,CACJ,CACR,CAAA,EAAA,CACG,CAAA,EAAA,CACA;AAEZ;;;;"}
|
|
@@ -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,W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|
|
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":"
|
|
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$
|
|
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$
|
|
24
|
-
var index$
|
|
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$
|
|
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$
|
|
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$
|
|
46
|
-
var index$
|
|
47
|
-
var index$
|
|
48
|
-
var index$
|
|
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$
|
|
60
|
-
var index$
|
|
61
|
-
var index$
|
|
62
|
-
var index$
|
|
63
|
-
var index$
|
|
64
|
-
var index$
|
|
65
|
-
var index$h = require('./components/Services/
|
|
66
|
-
var index$
|
|
67
|
-
var index$
|
|
68
|
-
var index$
|
|
69
|
-
var index$
|
|
70
|
-
var index$
|
|
71
|
-
var index$
|
|
72
|
-
var index$
|
|
73
|
-
var index$
|
|
74
|
-
var index$Y = require('./baseComponents/Table/
|
|
75
|
-
var index$Z = require('./baseComponents/Table/
|
|
76
|
-
var index$_ = require('./baseComponents/Table/
|
|
77
|
-
var index$$ = require('./baseComponents/Table/
|
|
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$
|
|
86
|
-
exports.HtmlContainer = index$
|
|
87
|
-
exports.ImageOverlay = index$
|
|
88
|
-
exports.InputField = index$
|
|
89
|
-
exports.InputFieldGroup = index$
|
|
90
|
-
exports.Label = index$
|
|
91
|
-
exports.Loader = index$
|
|
92
|
-
exports.LoadingSkeleton = index$
|
|
93
|
-
exports.Modal = index$
|
|
94
|
-
exports.Overlay = index$
|
|
95
|
-
exports.PageSizeSelector = index$
|
|
96
|
-
exports.Pagination = index$
|
|
97
|
-
exports.PhotoCutter = index$
|
|
98
|
-
exports.ProgressBar = index$
|
|
99
|
-
exports.CustomRadioButton = index$
|
|
100
|
-
exports.RadioGroup = index$
|
|
101
|
-
exports.RadioToggle = index$
|
|
102
|
-
exports.Responses = index$
|
|
103
|
-
exports.SearchBar = index$
|
|
104
|
-
exports.SelectBoxButton = index$
|
|
105
|
-
exports.StatusStepper = index$
|
|
106
|
-
exports.StatusText = index$
|
|
107
|
-
exports.TabButtons = index$
|
|
108
|
-
exports.Table = index$
|
|
109
|
-
exports.TextareaField = index$
|
|
110
|
-
exports.TextPair = index$
|
|
111
|
-
exports.TextWithAction = index$
|
|
112
|
-
exports.Title = index$
|
|
113
|
-
exports.Typography = index$
|
|
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$
|
|
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$
|
|
122
|
-
exports.IdentityModal = index$
|
|
123
|
-
exports.EmptyMessages = index$
|
|
124
|
-
exports.HelpNotification = index$
|
|
125
|
-
exports.HelpNotificationItem = index$
|
|
126
|
-
exports.MsgBody = index$
|
|
127
|
-
exports.MsgComponentHeader = index$
|
|
128
|
-
exports.MsgSearch = index$
|
|
129
|
-
exports.ViewToggle = index$
|
|
130
|
-
exports.NotificationItem = index$
|
|
131
|
-
exports.NotificationWrapper = index$
|
|
132
|
-
exports.PresaleComponent = index$
|
|
133
|
-
exports.PrivacyModal = index$
|
|
134
|
-
exports.DocCard = index$
|
|
135
|
-
exports.IconToggleItem = index$
|
|
136
|
-
exports.ProfileHealthGeneral = index$
|
|
137
|
-
exports.RightMenuSectionItem = index$
|
|
138
|
-
exports.SetUpAccess = index$
|
|
139
|
-
exports.QRAppButton = index$
|
|
140
|
-
exports.
|
|
141
|
-
exports.
|
|
142
|
-
exports.
|
|
143
|
-
exports.
|
|
144
|
-
exports.
|
|
145
|
-
exports.
|
|
146
|
-
exports.
|
|
147
|
-
exports.
|
|
148
|
-
exports.
|
|
149
|
-
exports.
|
|
150
|
-
exports.
|
|
151
|
-
exports.
|
|
152
|
-
exports.
|
|
153
|
-
exports.
|
|
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
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var css_248z = ".Checkbox-module_checkbox__PIXrC {\n display: flex;\n align-items: center;\n cursor: pointer;\n padding: 8px 0;\n gap: 12px;\n}\n\n.Checkbox-module_checkbox__PIXrC input {\n position: absolute;\n width: 1px;\n height: 1px;\n clip-path: inset(50%);\n}\n\n.Checkbox-module_checkboxControl__LINlA {\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n}\n\n.Checkbox-module_labelGroupWrap__S5yei {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.Checkbox-module_hintText__chlIf {\n width: fit-content;\n color: var(--text-secondary);\n}\n\n.Checkbox-module_disabled__DZku2 {\n cursor: not-allowed;\n color: var(--text-disabled-color);\n}\n.Checkbox-module_labelWrap__wXwTk {\n display:
|
|
1
|
+
var css_248z = ".Checkbox-module_checkbox__PIXrC {\n display: flex;\n align-items: center;\n cursor: pointer;\n padding: 8px 0;\n gap: 12px;\n}\n\n.Checkbox-module_checkbox__PIXrC input {\n position: absolute;\n width: 1px;\n height: 1px;\n clip-path: inset(50%);\n}\n\n.Checkbox-module_checkboxControl__LINlA {\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n}\n\n.Checkbox-module_labelGroupWrap__S5yei {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.Checkbox-module_hintText__chlIf {\n width: fit-content;\n color: var(--text-secondary);\n}\n\n.Checkbox-module_disabled__DZku2 {\n cursor: not-allowed;\n color: var(--text-disabled-color);\n}\n.Checkbox-module_labelWrap__wXwTk {\n display: block;\n}\n.Checkbox-module_action__kP-ng {\n border: 0;\n padding: 0;\n background: transparent;\n color: var(--text-accent);\n font: inherit;\n cursor: pointer;\n}\n";
|
|
2
2
|
var styles = {"checkbox":"Checkbox-module_checkbox__PIXrC","checkboxControl":"Checkbox-module_checkboxControl__LINlA","labelGroupWrap":"Checkbox-module_labelGroupWrap__S5yei","hintText":"Checkbox-module_hintText__chlIf","disabled":"Checkbox-module_disabled__DZku2","labelWrap":"Checkbox-module_labelWrap__wXwTk","action":"Checkbox-module_action__kP-ng"};
|
|
3
3
|
function styleInject(css, options) {
|
|
4
4
|
if (typeof document === 'undefined') return;
|
|
@@ -25,7 +25,7 @@ const Checkbox = ({ label, checked, setChecked, disabled = false, hintText, acti
|
|
|
25
25
|
};
|
|
26
26
|
const CheckboxIcon = checked ? CheckboxEmptyFilledIcon : CheckboxEmptyIcon;
|
|
27
27
|
const iconColor = getIconColor(checked, disabled);
|
|
28
|
-
return (jsxs("label", { "data-testid": "Checkbox_LABEL", className: joinClasses(styles.checkbox, disabled ? styles.disabled : undefined), children: [jsx("input", { "data-testid": "Checkbox_INPUT", type: "checkbox", checked: checked, onChange: handleChange, disabled: disabled }), jsx(CheckboxIcon, { "data-testid": "Checkbox_CONTROL", className: styles.checkboxControl, "aria-hidden": "true", fill: iconColor }), jsxs("div", { className: styles.labelGroupWrap, "data-testid": "Checkbox_LABEL_WRAP", children: [jsxs("div", { className: styles.labelWrap, "data-testid": "Checkbox_LABEL", children: [
|
|
28
|
+
return (jsxs("label", { "data-testid": "Checkbox_LABEL", className: joinClasses(styles.checkbox, disabled ? styles.disabled : undefined), children: [jsx("input", { "data-testid": "Checkbox_INPUT", type: "checkbox", checked: checked, onChange: handleChange, disabled: disabled }), jsx(CheckboxIcon, { "data-testid": "Checkbox_CONTROL", className: styles.checkboxControl, "aria-hidden": "true", fill: iconColor }), jsxs("div", { className: styles.labelGroupWrap, "data-testid": "Checkbox_LABEL_WRAP", children: [jsxs("div", { className: styles.labelWrap, "data-testid": "Checkbox_LABEL", children: [jsxs("span", { "data-testid": "Checkbox_TEXT", className: typography.body2Regular, children: [label, actionLabel && " "] }), actionLabel && (jsx("button", { type: "button", className: styles.action, onClick: handleActionClick, "data-testid": "Checkbox_ACTION", children: jsx("span", { "data-testid": "Checkbox_ACTION_TEXT", className: typography.body2Regular, children: actionLabel }) }))] }), hintText && hintText.length > 0 && (jsx("span", { "data-testid": "CheckboxHint_TEXT", className: joinClasses(styles.hintText, typography.caption1Regular), children: hintText }))] })] }));
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export { Checkbox };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/baseComponents/Checkbox/index.tsx"],"sourcesContent":[null],"names":["CheckboxFilledIcon","_jsxs","_jsx"],"mappings":";;;;;;;AAoBA,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,QAAiB,KAAI;IAC3D,IAAI,QAAQ,EAAE;AACZ,QAAA,OAAO,4BAA4B;IACrC;IACA,IAAI,OAAO,EAAE;AACX,QAAA,OAAO,0BAA0B;IACnC;AACA,IAAA,OAAO,sBAAsB;AAC/B,CAAC;MAEY,QAAQ,GAAG,CAAC,EACvB,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,WAAW,EACX,aAAa,GACE,KAAI;AACnB,IAAA,MAAM,YAAY,GAAG,CAAC,KAA0C,KAAI;AAClE,QAAA,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;AAClC,IAAA,CAAC;AACD,IAAA,MAAM,iBAAiB,GAA+C,CACpE,KAAK,KACH;QACF,KAAK,CAAC,cAAc,EAAE;QACtB,KAAK,CAAC,eAAe,EAAE;AACvB,QAAA,aAAa,GAAG,KAAK,CAAC;AACxB,IAAA,CAAC;IACD,MAAM,YAAY,GAAG,OAAO,GAAGA,uBAAkB,GAAG,iBAAiB;IACrE,MAAM,SAAS,GAAG,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC;AAEjD,IAAA,QACEC,IAAA,CAAA,OAAA,EAAA,EAAA,aAAA,EACc,gBAAgB,EAC5B,SAAS,EAAE,WAAW,CACpB,MAAM,CAAC,QAAQ,EACf,QAAQ,GAAG,MAAM,CAAC,QAAQ,GAAG,SAAS,CACvC,EAAA,QAAA,EAAA,CAEDC,8BACc,gBAAgB,EAC5B,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,QAAQ,EAAA,CAClB,EACFA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../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EAAE,MAAM,CAAC,eAAe,EAAA,aAAA,EACrB,MAAM,EAClB,IAAI,EAAE,SAAS,EAAA,CACf,EACFD,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,cAAc,EAAA,aAAA,EAAc,qBAAqB,EAAA,QAAA,EAAA,CACtEA,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,iBAAc,gBAAgB,EAAA,QAAA,EAAA,CAC5DA,IAAA,CAAA,MAAA,EAAA,EAAA,aAAA,EAAkB,eAAe,EAAC,SAAS,EAAE,UAAU,CAAC,YAAY,EAAA,QAAA,EAAA,CACjE,KAAK,EACL,WAAW,IAAI,GAAG,CAAA,EAAA,CACd,EACN,WAAW,KACVC,GAAA,CAAA,QAAA,EAAA,EACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,OAAO,EAAE,iBAAiB,iBACd,iBAAiB,EAAA,QAAA,EAE7BA,6BACc,sBAAsB,EAClC,SAAS,EAAE,UAAU,CAAC,YAAY,YAEjC,WAAW,EAAA,CACP,EAAA,CACA,CACV,IACG,EAEL,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,KAC9BA,6BACc,mBAAmB,EAC/B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,eAAe,CAAC,YAElE,QAAQ,EAAA,CACJ,CACR,CAAA,EAAA,CACG,CAAA,EAAA,CACA;AAEZ;;;;"}
|
|
@@ -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":";;;;;;;;;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,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":"
|
|
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';
|
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,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 };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|