@xaypay/tui 0.0.68 → 0.0.70
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/index.es.js +650 -97
- package/dist/index.js +652 -97
- package/package.json +1 -1
- package/src/assets/icons/range-arrow-default.svg +19 -0
- package/src/assets/icons/range-arrow-error.svg +19 -0
- package/src/assets/icons/range-arrow-success.svg +19 -0
- package/src/components/captcha/captcha.module.css +61 -62
- package/src/components/captcha/captcha.stories.js +5 -4
- package/src/components/captcha/index.js +143 -56
- package/src/components/file/file.module.css +1 -1
- package/src/components/file/index.js +8 -5
- package/src/components/icon/CaptchaArrowDown.js +19 -0
- package/src/components/icon/CaptchaArrowUp.js +19 -0
- package/src/components/icon/PDF.js +19 -0
- package/src/components/icon/index.js +15 -10
- package/src/components/newAutocomplete/NewAutocomplete.stories.js +50 -0
- package/src/components/newAutocomplete/index.js +407 -0
- package/src/index.js +2 -0
- package/src/stories/configuration.stories.mdx +86 -0
- package/src/stories/static/captcha-usage.png +0 -0
- package/src/stories/static/new-autocomplete-usage.png +0 -0
- package/src/stories/usage.stories.mdx +10 -3
- package/tui.config.js +98 -22
- package/src/components/captcha/blue.png +0 -0
- package/src/components/captcha/green.png +0 -0
- package/src/components/captcha/red.png +0 -0
package/dist/index.js
CHANGED
|
@@ -28,13 +28,46 @@ function _interopNamespace(e) {
|
|
|
28
28
|
return Object.freeze(n);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
32
31
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
32
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
33
33
|
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
34
34
|
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
35
35
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
36
36
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
37
37
|
|
|
38
|
+
function _extends() {
|
|
39
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
40
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
41
|
+
var source = arguments[i];
|
|
42
|
+
for (var key in source) {
|
|
43
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
44
|
+
target[key] = source[key];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return target;
|
|
49
|
+
};
|
|
50
|
+
return _extends.apply(this, arguments);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const SvgPdf = ({
|
|
54
|
+
title,
|
|
55
|
+
titleId,
|
|
56
|
+
...props
|
|
57
|
+
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
58
|
+
width: "40",
|
|
59
|
+
height: "52",
|
|
60
|
+
viewBox: "0 0 40 52",
|
|
61
|
+
fill: "none",
|
|
62
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
63
|
+
"aria-labelledby": titleId
|
|
64
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
65
|
+
id: titleId
|
|
66
|
+
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
67
|
+
d: "M39.1304 13.1106V36.2849V36.2853C39.394 36.4388 39.6133 36.6599 39.7659 36.9263C39.9189 37.1931 39.9992 37.4956 40 37.8037V47.5932C39.9984 48.7614 39.54 49.8816 38.7252 50.7079C37.91 51.5337 36.8048 51.9984 35.6522 52H4.34783C3.19523 51.9984 2.09005 51.5338 1.27483 50.7079C0.460015 49.8816 0.0015528 48.7614 0 47.5932V34.7817C0.000775155 34.4736 0.0815204 34.1714 0.234087 33.9051C0.386643 33.6383 0.605983 33.4176 0.869565 33.2641V3.52545C0.869565 2.5906 1.23602 1.69387 1.8882 1.03245C2.54072 0.371431 3.42547 0 4.34783 0H26.1953L39.1304 13.1106ZM13.872 45.3893C14.6037 45.4385 15.3293 45.2261 15.9225 44.7893C16.4303 44.3463 16.7036 43.6872 16.6605 43.0096C16.671 42.6272 16.598 42.2471 16.4478 41.8965C16.3154 41.6026 16.1136 41.3464 15.8597 41.1509C15.5976 40.9542 15.2991 40.8137 14.9816 40.7385C14.6225 40.6512 14.2541 40.6083 13.8849 40.6115H11.0258V48.4741H12.6849V45.3893H13.872ZM22.6954 47.4563C23.0149 47.1041 23.2498 46.6815 23.3814 46.2224C23.5347 45.6809 23.6084 45.1195 23.5999 44.5564C23.6065 44.008 23.5362 43.4614 23.3918 42.933C23.2672 42.477 23.0475 42.0532 22.7474 41.6904C22.4465 41.3379 22.0669 41.064 21.6398 40.8917C21.1305 40.6934 20.5882 40.5982 20.0432 40.6116H17.506V48.4821H20.0642C21.0475 48.5494 22.0103 48.1743 22.6954 47.4563ZM26.1252 42.05H29.4956L29.4956 40.6115H24.4661V48.4804L26.1287 48.4808V45.1068L28.6505 45.0962L28.64 43.6577H26.1252V42.05ZM18.3352 36.0407H37.3911L37.3908 14.3567H28.4428C27.5205 14.3567 26.6358 13.9852 25.9836 13.3238C25.331 12.6628 24.9646 11.7661 24.9646 10.8312V1.76186H4.34743C3.88625 1.76186 3.4437 1.94758 3.11762 2.27808C2.79153 2.60859 2.6083 3.05715 2.6083 3.52458V33.0185H14.9392C15.4408 33.0185 15.9179 33.238 16.2482 33.6205L18.3352 36.0407ZM6.08594 13.7151C6.08594 13.2283 6.48054 12.8337 6.9673 12.8337H20.6043C21.0911 12.8337 21.4857 13.2283 21.4857 13.7151C21.4857 14.2019 21.0911 14.5965 20.6043 14.5965H6.9673C6.48054 14.5965 6.08594 14.2019 6.08594 13.7151ZM18.5137 25.3369C18.5137 24.8502 18.9083 24.4556 19.395 24.4556H33.0321C33.5188 24.4556 33.9134 24.8502 33.9134 25.3369C33.9134 25.8237 33.5188 26.2183 33.0321 26.2183H19.395C18.9083 26.2183 18.5137 25.8237 18.5137 25.3369ZM6.9673 16.7056C6.48054 16.7056 6.08594 17.1002 6.08594 17.5869C6.08594 18.0737 6.48054 18.4683 6.9673 18.4683H33.0307C33.5174 18.4683 33.912 18.0737 33.912 17.5869C33.912 17.1002 33.5174 16.7056 33.0307 16.7056H6.9673ZM6.08594 21.4618C6.08594 20.975 6.48054 20.5804 6.9673 20.5804H33.0307C33.5174 20.5804 33.912 20.975 33.912 21.4618C33.912 21.9486 33.5174 22.3432 33.0307 22.3432H6.9673C6.48054 22.3432 6.08594 21.9486 6.08594 21.4618ZM21.4704 42.6691C21.1241 42.239 20.5919 42.0085 20.0457 42.0521H19.166V47.0441H20.0251C20.352 47.0567 20.6773 46.9886 20.9727 46.8469C21.213 46.7226 21.4156 46.5345 21.5589 46.3032C21.7076 46.0577 21.8089 45.7862 21.8582 45.5029C21.9164 45.1846 21.9455 44.8615 21.9451 44.5377C21.951 44.1698 21.9106 43.8023 21.8252 43.4446C21.758 43.1653 21.6373 42.9016 21.4704 42.6691ZM13.7445 42.0508C14.085 42.0213 14.4258 42.1008 14.7193 42.2782C14.8136 42.3518 14.8858 42.4501 14.9282 42.5627C14.9825 42.7134 15.0077 42.8731 15.0019 43.0333C15.0093 43.1969 14.9728 43.3594 14.8967 43.5039C14.8311 43.6211 14.7352 43.7175 14.6195 43.7832C14.4961 43.8525 14.361 43.8981 14.2212 43.9182C14.0636 43.9426 13.9041 43.9548 13.7445 43.9544H12.6855V42.0508H13.7445Z",
|
|
68
|
+
fill: "#00236A"
|
|
69
|
+
}));
|
|
70
|
+
|
|
38
71
|
function styleInject(css, ref) {
|
|
39
72
|
if ( ref === void 0 ) ref = {};
|
|
40
73
|
var insertAt = ref.insertAt;
|
|
@@ -62,14 +95,9 @@ function styleInject(css, ref) {
|
|
|
62
95
|
}
|
|
63
96
|
}
|
|
64
97
|
|
|
65
|
-
var css_248z$
|
|
98
|
+
var css_248z$e = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:190px;justify-content:space-between;overflow:hidden;padding:4px 0;position:relative;width:100%}.file-module_file-form-wrap__qY--B:before{background:rgba(60,57,62,.4);border-radius:6px;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover:before{opacity:1;pointer-events:unset}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover .file-module_delete-upload-icon__PWN66{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00!important}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;opacity:0;position:absolute;right:10px;top:10px;transition:opacity .24s;width:26px;z-index:11}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn{align-items:center;display:flex;height:100%;justify-content:center;max-height:190px;overflow:hidden;position:relative;width:100%}.file-module_upload-file-content__QHMjn>img{display:block;height:auto;max-height:95%;object-fit:contain;width:27.8rem}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}.file-module_file-form-wrap__qY--B{position:relative;transform:translateZ(0)}";
|
|
66
99
|
var styles$c = {"file-form-wrap":"file-module_file-form-wrap__qY--B","file-form":"file-module_file-form__l13d5","active":"file-module_active__L1gPt","delete-upload-icon":"file-module_delete-upload-icon__PWN66","file-form-inner-upload":"file-module_file-form-inner-upload__tq3Dn","upload-info":"file-module_upload-info__a8GFs","upload-info-txt":"file-module_upload-info-txt__l11uN","default":"file-module_default__t7KU0","error":"file-module_error__H-M4Z","accept":"file-module_accept__WTW6V","upload-file-content":"file-module_upload-file-content__QHMjn","file-form-title":"file-module_file-form-title__zWTSB"};
|
|
67
|
-
styleInject(css_248z$
|
|
68
|
-
|
|
69
|
-
var css_248z$c = "";
|
|
70
|
-
styleInject(css_248z$c);
|
|
71
|
-
|
|
72
|
-
var pdfImage = "<svg width=\"40\" height=\"52\" viewBox=\"0 0 40 52\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M39.1304 13.1106V36.2849V36.2853C39.394 36.4388 39.6133 36.6599 39.7659 36.9263C39.9189 37.1931 39.9992 37.4956 40 37.8037V47.5932C39.9984 48.7614 39.54 49.8816 38.7252 50.7079C37.91 51.5337 36.8048 51.9984 35.6522 52H4.34783C3.19523 51.9984 2.09005 51.5338 1.27483 50.7079C0.460015 49.8816 0.0015528 48.7614 0 47.5932V34.7817C0.000775155 34.4736 0.0815204 34.1714 0.234087 33.9051C0.386643 33.6383 0.605983 33.4176 0.869565 33.2641V3.52545C0.869565 2.5906 1.23602 1.69387 1.8882 1.03245C2.54072 0.371431 3.42547 0 4.34783 0H26.1953L39.1304 13.1106ZM13.872 45.3893C14.6037 45.4385 15.3293 45.2261 15.9225 44.7893C16.4303 44.3463 16.7036 43.6872 16.6605 43.0096C16.671 42.6272 16.598 42.2471 16.4478 41.8965C16.3154 41.6026 16.1136 41.3464 15.8597 41.1509C15.5976 40.9542 15.2991 40.8137 14.9816 40.7385C14.6225 40.6512 14.2541 40.6083 13.8849 40.6115H11.0258V48.4741H12.6849V45.3893H13.872ZM22.6954 47.4563C23.0149 47.1041 23.2498 46.6815 23.3814 46.2224C23.5347 45.6809 23.6084 45.1195 23.5999 44.5564C23.6065 44.008 23.5362 43.4614 23.3918 42.933C23.2672 42.477 23.0475 42.0532 22.7474 41.6904C22.4465 41.3379 22.0669 41.064 21.6398 40.8917C21.1305 40.6934 20.5882 40.5982 20.0432 40.6116H17.506V48.4821H20.0642C21.0475 48.5494 22.0103 48.1743 22.6954 47.4563ZM26.1252 42.05H29.4956L29.4956 40.6115H24.4661V48.4804L26.1287 48.4808V45.1068L28.6505 45.0962L28.64 43.6577H26.1252V42.05ZM18.3352 36.0407H37.3911L37.3908 14.3567H28.4428C27.5205 14.3567 26.6358 13.9852 25.9836 13.3238C25.331 12.6628 24.9646 11.7661 24.9646 10.8312V1.76186H4.34743C3.88625 1.76186 3.4437 1.94758 3.11762 2.27808C2.79153 2.60859 2.6083 3.05715 2.6083 3.52458V33.0185H14.9392C15.4408 33.0185 15.9179 33.238 16.2482 33.6205L18.3352 36.0407ZM6.08594 13.7151C6.08594 13.2283 6.48054 12.8337 6.9673 12.8337H20.6043C21.0911 12.8337 21.4857 13.2283 21.4857 13.7151C21.4857 14.2019 21.0911 14.5965 20.6043 14.5965H6.9673C6.48054 14.5965 6.08594 14.2019 6.08594 13.7151ZM18.5137 25.3369C18.5137 24.8502 18.9083 24.4556 19.395 24.4556H33.0321C33.5188 24.4556 33.9134 24.8502 33.9134 25.3369C33.9134 25.8237 33.5188 26.2183 33.0321 26.2183H19.395C18.9083 26.2183 18.5137 25.8237 18.5137 25.3369ZM6.9673 16.7056C6.48054 16.7056 6.08594 17.1002 6.08594 17.5869C6.08594 18.0737 6.48054 18.4683 6.9673 18.4683H33.0307C33.5174 18.4683 33.912 18.0737 33.912 17.5869C33.912 17.1002 33.5174 16.7056 33.0307 16.7056H6.9673ZM6.08594 21.4618C6.08594 20.975 6.48054 20.5804 6.9673 20.5804H33.0307C33.5174 20.5804 33.912 20.975 33.912 21.4618C33.912 21.9486 33.5174 22.3432 33.0307 22.3432H6.9673C6.48054 22.3432 6.08594 21.9486 6.08594 21.4618ZM21.4704 42.6691C21.1241 42.239 20.5919 42.0085 20.0457 42.0521H19.166V47.0441H20.0251C20.352 47.0567 20.6773 46.9886 20.9727 46.8469C21.213 46.7226 21.4156 46.5345 21.5589 46.3032C21.7076 46.0577 21.8089 45.7862 21.8582 45.5029C21.9164 45.1846 21.9455 44.8615 21.9451 44.5377C21.951 44.1698 21.9106 43.8023 21.8252 43.4446C21.758 43.1653 21.6373 42.9016 21.4704 42.6691ZM13.7445 42.0508C14.085 42.0213 14.4258 42.1008 14.7193 42.2782C14.8136 42.3518 14.8858 42.4501 14.9282 42.5627C14.9825 42.7134 15.0077 42.8731 15.0019 43.0333C15.0093 43.1969 14.9728 43.3594 14.8967 43.5039C14.8311 43.6211 14.7352 43.7175 14.6195 43.7832C14.4961 43.8525 14.361 43.8981 14.2212 43.9182C14.0636 43.9426 13.9041 43.9548 13.7445 43.9544H12.6855V42.0508H13.7445Z\" fill=\"#00236A\"/>\n</svg>";
|
|
100
|
+
styleInject(css_248z$e);
|
|
73
101
|
|
|
74
102
|
const File = ({
|
|
75
103
|
name,
|
|
@@ -84,9 +112,9 @@ const File = ({
|
|
|
84
112
|
fileExtensions,
|
|
85
113
|
...props
|
|
86
114
|
}) => {
|
|
87
|
-
const [image, setImage] = React.useState(defaultData ? defaultData.type != 'application/pdf' ? defaultData.url : pdfImage : null);
|
|
88
115
|
const [error, setError] = React.useState('');
|
|
89
116
|
const [fileName, setFileName] = React.useState('no selected file');
|
|
117
|
+
const [image, setImage] = React.useState(defaultData ? defaultData.type != 'application/pdf' ? defaultData.url : 'pdf' : null);
|
|
90
118
|
const handleCheckFile = e => {
|
|
91
119
|
const file = e.target.files;
|
|
92
120
|
if (file[0]) {
|
|
@@ -97,7 +125,7 @@ const File = ({
|
|
|
97
125
|
onChange({
|
|
98
126
|
file
|
|
99
127
|
});
|
|
100
|
-
setImage(
|
|
128
|
+
setImage('pdf');
|
|
101
129
|
} else {
|
|
102
130
|
setError('');
|
|
103
131
|
onChange({
|
|
@@ -150,7 +178,7 @@ const File = ({
|
|
|
150
178
|
onChange: e => handleCheckFile(e)
|
|
151
179
|
}), image ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
152
180
|
className: `${styles$c['upload-file-content']} upload-file-content-rem`
|
|
153
|
-
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
181
|
+
}, image === 'pdf' ? /*#__PURE__*/React__default["default"].createElement(SvgPdf, null) : /*#__PURE__*/React__default["default"].createElement("img", {
|
|
154
182
|
src: image,
|
|
155
183
|
alt: fileName
|
|
156
184
|
})) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -192,28 +220,13 @@ File.defaultProps = {
|
|
|
192
220
|
fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
|
|
193
221
|
};
|
|
194
222
|
|
|
195
|
-
var css_248z$
|
|
223
|
+
var css_248z$d = ".table-module_table-wrap__KKAnM{background:#fff;border-radius:14px 14px 0 0;box-shadow:0 10px 30px rgba(0,35,106,.06);overflow:hidden;width:100%}.table-module_table-wrap__KKAnM:not(:first-child){margin-top:30px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:first-child,.table-module_table-top__tfEKM .table-module_table-items__UpFg2:first-child{flex:0 0 auto;width:60px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(2),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(2){flex:0 0 auto;width:120px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(3),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(3){flex:0 0 auto;width:170px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(4),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(4){flex:0 0 auto;width:126px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(5),.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(6),.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(8),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(5),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(6),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(8){flex:0 0 auto;width:100px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:last-child,.table-module_table-top__tfEKM .table-module_table-items__UpFg2:last-child{flex:0 0 auto;width:104px}.table-module_table-top__tfEKM{background:#00236a;height:44px;width:100%}.table-module_table-top__tfEKM .table-module_table-items__UpFg2{align-items:center;color:#fff;display:flex;flex:1 1;font-size:15px;justify-content:center;line-height:17px;text-align:center}.table-module_table-bottom-inner__0Pus0{background:#fff;min-height:40px;width:100%}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2{align-items:center;border-bottom:1px solid #eee;display:flex;flex:1 1;font-size:14px;justify-content:center;line-height:16px;padding:4px;text-align:center}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:not(:last-child){border-right:1px solid #eee}";
|
|
196
224
|
var styles$b = {"table-wrap":"table-module_table-wrap__KKAnM","table-bottom-inner":"table-module_table-bottom-inner__0Pus0","table-items":"table-module_table-items__UpFg2","table-top":"table-module_table-top__tfEKM"};
|
|
197
|
-
styleInject(css_248z$
|
|
198
|
-
|
|
199
|
-
function _extends() {
|
|
200
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
201
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
202
|
-
var source = arguments[i];
|
|
203
|
-
for (var key in source) {
|
|
204
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
205
|
-
target[key] = source[key];
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
return target;
|
|
210
|
-
};
|
|
211
|
-
return _extends.apply(this, arguments);
|
|
212
|
-
}
|
|
225
|
+
styleInject(css_248z$d);
|
|
213
226
|
|
|
214
|
-
var css_248z$
|
|
227
|
+
var css_248z$c = ".checkbox-module_checkbox-wrap__Xrg-m{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.checkbox-module_checkbox-wrap__Xrg-m>input{height:0;opacity:0;position:absolute;width:0}.checkbox-module_checkbox-wrap__Xrg-m .checkbox-module_checkmark__M8DY6{border:1px solid #d9d9d9;border-radius:3px;bottom:0;display:inline-block;height:14px;left:0;margin:auto 4px auto auto;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.checkbox-module_checkbox-wrap__Xrg-m>.checkbox-module_checkmark__M8DY6:after{border:solid #1890ff;border-width:0 2px 2px 0;content:\"\";display:block;height:8px;left:4px;opacity:0;position:absolute;top:1px;transform:rotate(45deg);transition:opacity .24s;width:4px}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6:after{opacity:1}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6,.checkbox-module_checkbox-wrap__Xrg-m:hover input~.checkbox-module_checkmark__M8DY6{border-color:#1890ff}";
|
|
215
228
|
var styles$a = {"checkbox-wrap":"checkbox-module_checkbox-wrap__Xrg-m","checkmark":"checkbox-module_checkmark__M8DY6"};
|
|
216
|
-
styleInject(css_248z$
|
|
229
|
+
styleInject(css_248z$c);
|
|
217
230
|
|
|
218
231
|
const Checkbox = ({
|
|
219
232
|
disabled,
|
|
@@ -387,9 +400,12 @@ Table.defaultProps = {
|
|
|
387
400
|
hearderData: []
|
|
388
401
|
};
|
|
389
402
|
|
|
390
|
-
var css_248z$
|
|
403
|
+
var css_248z$b = ".modal-module_modal-wrap__IsXXf{background:rgba(0,0,0,.4);height:100%;left:0;position:fixed;top:0;width:100%;z-index:9}.modal-module_modal-top__ntDBi{background:#fbfbfb;box-sizing:border-box;display:flex;flex-direction:row;height:44px;padding:4px 10px 4px 0;width:100%}.modal-module_modal-title__r-WKl{align-items:center;color:#3c393e;display:flex;flex:1 1;font-size:20px;font-weight:500;line-height:24px;padding-right:20px}.modal-module_close-btn__Qf2UD{cursor:pointer;flex:0 0 auto;width:24px}.modal-module_close-btn__Qf2UD,.modal-module_modal-section__Bp8jN{align-items:center;display:flex;height:100%;justify-content:center}.modal-module_modal-section__Bp8jN{flex:1 1;padding:10px 0;width:100%}.modal-module_modal-content__1F-uE{align-items:center;animation:modal-module_show-popup__WrH7a .24s;background:#fff;border-radius:8px;display:flex;flex-direction:column;height:auto;left:0;margin:auto;min-height:130px;overflow:hidden;padding:10px;position:absolute;right:0;top:110px;width:fit-content}@keyframes modal-module_show-popup__WrH7a{0%{transform:translate3d(0,-30%,0)}to{opacity:1;transform:translateZ(0)}}";
|
|
391
404
|
var styles$9 = {"modal-wrap":"modal-module_modal-wrap__IsXXf","modal-top":"modal-module_modal-top__ntDBi","modal-title":"modal-module_modal-title__r-WKl","close-btn":"modal-module_close-btn__Qf2UD","modal-section":"modal-module_modal-section__Bp8jN","modal-content":"modal-module_modal-content__1F-uE","show-popup":"modal-module_show-popup__WrH7a"};
|
|
392
|
-
styleInject(css_248z$
|
|
405
|
+
styleInject(css_248z$b);
|
|
406
|
+
|
|
407
|
+
var css_248z$a = "";
|
|
408
|
+
styleInject(css_248z$a);
|
|
393
409
|
|
|
394
410
|
const _ = require('lodash');
|
|
395
411
|
const compereConfigs = () => {
|
|
@@ -580,9 +596,9 @@ Modal.propTypes = {
|
|
|
580
596
|
data: PropTypes__default["default"].array
|
|
581
597
|
};
|
|
582
598
|
|
|
583
|
-
var css_248z$
|
|
599
|
+
var css_248z$9 = ".input-module_input-wrap__NunrE{position:relative;width:100%}.input-module_input-content__kP7lZ{display:flex;width:100%}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{background-color:inherit!important}.input-module_error-message-show__OrVSo{animation-fill-mode:forwards;animation-name:input-module_error-show__9MP6k}@keyframes input-module_error-show__9MP6k{to{bottom:-20px;transform:scaleX(1);-webkit-transform:scaleX(1);-moz-transform:scaleX(1);-ms-transform:scaleX(1);-o-transform:scaleX(1)}}";
|
|
584
600
|
var styles$8 = {"input-wrap":"input-module_input-wrap__NunrE","input-content":"input-module_input-content__kP7lZ","error-message-show":"input-module_error-message-show__OrVSo","error-show":"input-module_error-show__9MP6k"};
|
|
585
|
-
styleInject(css_248z$
|
|
601
|
+
styleInject(css_248z$9);
|
|
586
602
|
|
|
587
603
|
const InputTypes = {
|
|
588
604
|
TEL: 'tel',
|
|
@@ -885,9 +901,9 @@ Input.defaultProps = {
|
|
|
885
901
|
type: "text"
|
|
886
902
|
};
|
|
887
903
|
|
|
888
|
-
var css_248z$
|
|
904
|
+
var css_248z$8 = ".radio-module_radio-wrap__-lO7V{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.radio-module_radio-wrap__-lO7V>input{height:0;opacity:0;position:absolute;width:0}.radio-module_radio-wrap__-lO7V .radio-module_radio-checkmark__Kvol0{border:1px solid #d9d9d9;border-radius:50%;display:inline-block;height:14px;left:0;margin-right:4px;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.radio-module_radio-wrap__-lO7V>.radio-module_radio-checkmark__Kvol0:after{background-color:#d9d9d9;border-radius:50%;bottom:0;content:\"\";height:8px;left:0;margin:auto;opacity:0;position:absolute;right:0;top:0;transition:opacity .24s,background-color .24s;width:8px}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0:after{background-color:#1890ff;opacity:1}.radio-module_radio-wrap__-lO7V:hover input~.radio-module_radio-checkmark__Kvol0:after{opacity:1}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0{border-color:#1890ff}";
|
|
889
905
|
var styles$7 = {"radio-wrap":"radio-module_radio-wrap__-lO7V","radio-checkmark":"radio-module_radio-checkmark__Kvol0"};
|
|
890
|
-
styleInject(css_248z$
|
|
906
|
+
styleInject(css_248z$8);
|
|
891
907
|
|
|
892
908
|
const Radio = ({
|
|
893
909
|
disabled,
|
|
@@ -1122,9 +1138,9 @@ const SvgCloseIcon = ({
|
|
|
1122
1138
|
fill: "#3C393E"
|
|
1123
1139
|
}));
|
|
1124
1140
|
|
|
1125
|
-
var css_248z$
|
|
1141
|
+
var css_248z$7 = ".select-module_select-content__GCMDX{display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.select-module_select-content-bottom__ueZCR{animation:select-module_select-show__391hQ .64s linear forwards;-webkit-animation:select-module_select-show__391hQ .64s linear forwards;left:0;max-height:0;overflow:hidden;position:absolute;width:100%;z-index:1}.select-module_select-content-bottom-inner__NWy2X{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}.select-module_select-content-top-icon__MBrGK{align-items:center;box-sizing:border-box;display:flex;flex:0 0 auto;padding:0 5px 0 20px}.select-module_select-content-top-icon__MBrGK>div{align-items:center;display:flex;height:14px;justify-content:center;width:14px}.select-module_close-icon__SFNaJ{border-right:1px solid #eee;box-sizing:content-box;padding-right:9px}.select-module_arrow-icon__rjHt-{margin-left:9px;transform-origin:center;transition:all .64s ease;-webkit-transition:all .64s ease;-moz-transition:all .64s ease;-ms-transition:all .64s ease;-o-transition:all .64s ease}.select-module_select-content-bottom-row__eKq5L{align-items:center;display:flex;transition:background-color .24s,color .24s;-webkit-transition:background-color .24s,color .24s;-moz-transition:background-color .24s,color .24s;-ms-transition:background-color .24s,color .24s;-o-transition:background-color .24s,color .24s}.select-module_select-content-bottom-row__eKq5L:last-child{margin-bottom:0}@keyframes select-module_select-show__391hQ{to{max-height:234px}}";
|
|
1126
1142
|
var styles$6 = {"select-content":"select-module_select-content__GCMDX","select-content-top":"select-module_select-content-top__Aw-fB","select-content-bottom":"select-module_select-content-bottom__ueZCR","select-show":"select-module_select-show__391hQ","select-content-bottom-inner":"select-module_select-content-bottom-inner__NWy2X","select-content-top-icon":"select-module_select-content-top-icon__MBrGK","close-icon":"select-module_close-icon__SFNaJ","arrow-icon":"select-module_arrow-icon__rjHt-","select-content-bottom-row":"select-module_select-content-bottom-row__eKq5L"};
|
|
1127
|
-
styleInject(css_248z$
|
|
1143
|
+
styleInject(css_248z$7);
|
|
1128
1144
|
|
|
1129
1145
|
const Select = ({
|
|
1130
1146
|
options,
|
|
@@ -1528,9 +1544,9 @@ const SvgToasterSuccess = ({
|
|
|
1528
1544
|
fill: "#0DA574"
|
|
1529
1545
|
}));
|
|
1530
1546
|
|
|
1531
|
-
var css_248z$
|
|
1547
|
+
var css_248z$6 = "#toaster-module_top-left__q0LcN{left:0;top:1em}#toaster-module_top-right__f-AFL{right:0;top:1em}#toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}#toaster-module_bottom-left__b-YHI{bottom:1em;left:0}#toaster-module_bottom-right__g9ACP{bottom:1em;right:0}#toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_top-left__q0LcN{left:0;top:1em}.toaster-module_top-right__f-AFL{right:0;top:1em}.toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_bottom-left__b-YHI{bottom:1em;left:0}.toaster-module_bottom-right__g9ACP{bottom:1em;right:0}.toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_notify-block__pRnEB{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.toaster-module_bounce-in-right__shR2D{-webkit-animation-name:toaster-module_bounceInRight__rSk5p;animation-name:toaster-module_bounceInRight__rSk5p}.toaster-module_bounce-out-right__48pyA{-webkit-animation-name:toaster-module_bounceOutRight__bmFGS;animation-name:toaster-module_bounceOutRight__bmFGS}@keyframes toaster-module_bounceInRight__rSk5p{0%{opacity:0;right:-100%}60%{opacity:1;right:40px}75%{right:0}90%{right:30px}to{right:20px}}@keyframes toaster-module_bounceOutRight__bmFGS{0%{opacity:1;right:20px}60%{opacity:1;right:60px}to{opacity:0;right:-100%}}.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeft__to59v;animation-name:toaster-module_bounceInLeft__to59v}.toaster-module_bounce-out-left__fDOZw{-webkit-animation-name:toaster-module_bounceOutLeft__k5QgO;animation-name:toaster-module_bounceOutLeft__k5QgO}@keyframes toaster-module_bounceInLeft__to59v{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:20px}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}";
|
|
1532
1548
|
var styles$5 = {"top-left":"toaster-module_top-left__q0LcN","top-right":"toaster-module_top-right__f-AFL","top-center":"toaster-module_top-center__eVRbc","bottom-left":"toaster-module_bottom-left__b-YHI","bottom-right":"toaster-module_bottom-right__g9ACP","bottom-center":"toaster-module_bottom-center__4KcFe","notify-block":"toaster-module_notify-block__pRnEB","bounce-in-right":"toaster-module_bounce-in-right__shR2D","bounceInRight":"toaster-module_bounceInRight__rSk5p","bounce-out-right":"toaster-module_bounce-out-right__48pyA","bounceOutRight":"toaster-module_bounceOutRight__bmFGS","bounce-in-left":"toaster-module_bounce-in-left__xoF-M","bounceInLeft":"toaster-module_bounceInLeft__to59v","bounce-out-left":"toaster-module_bounce-out-left__fDOZw","bounceOutLeft":"toaster-module_bounceOutLeft__k5QgO"};
|
|
1533
|
-
styleInject(css_248z$
|
|
1549
|
+
styleInject(css_248z$6);
|
|
1534
1550
|
|
|
1535
1551
|
const ToasterType = {
|
|
1536
1552
|
info: 'info',
|
|
@@ -1786,9 +1802,9 @@ const Toaster = () => {
|
|
|
1786
1802
|
|
|
1787
1803
|
var ReactInfoIcon = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M8 0C3.58214 0 0 3.58214 0 8C0 12.4179 3.58214 16 8 16C12.4179 16 16 12.4179 16 8C16 3.58214 12.4179 0 8 0ZM8.57143 11.8571C8.57143 11.9357 8.50714 12 8.42857 12H7.57143C7.49286 12 7.42857 11.9357 7.42857 11.8571V7C7.42857 6.92143 7.49286 6.85714 7.57143 6.85714H8.42857C8.50714 6.85714 8.57143 6.92143 8.57143 7V11.8571ZM8 5.71429C7.7757 5.70971 7.56213 5.61739 7.40513 5.45714C7.24812 5.2969 7.16018 5.08149 7.16018 4.85714C7.16018 4.6328 7.24812 4.41739 7.40513 4.25714C7.56213 4.0969 7.7757 4.00458 8 4C8.2243 4.00458 8.43787 4.0969 8.59488 4.25714C8.75189 4.41739 8.83982 4.6328 8.83982 4.85714C8.83982 5.08149 8.75189 5.2969 8.59488 5.45714C8.43787 5.61739 8.2243 5.70971 8 5.71429Z\" fill=\"#D1D1D1\"/>\n</svg>";
|
|
1788
1804
|
|
|
1789
|
-
var css_248z$
|
|
1805
|
+
var css_248z$5 = ".tooltip-module_tooltip-block__v8U9u{align-items:center;display:flex;justify-content:center;position:relative}.tooltip-module_tooltip__emM6A{padding:10px;position:absolute;z-index:1}.tooltip-module_tooltip-rel__to9gq{align-items:center;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;display:flex;height:auto;justify-content:center;min-height:10px;min-width:30px;position:relative;width:auto}.tooltip-module_tooltip-decor__qvt7t{border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;height:10px;position:absolute;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);width:10px;z-index:-1}";
|
|
1790
1806
|
var styles$4 = {"tooltip-block":"tooltip-module_tooltip-block__v8U9u","tooltip":"tooltip-module_tooltip__emM6A","tooltip-rel":"tooltip-module_tooltip-rel__to9gq","tooltip-decor":"tooltip-module_tooltip-decor__qvt7t"};
|
|
1791
|
-
styleInject(css_248z$
|
|
1807
|
+
styleInject(css_248z$5);
|
|
1792
1808
|
|
|
1793
1809
|
const Tooltip = ({
|
|
1794
1810
|
type,
|
|
@@ -1884,76 +1900,166 @@ Tooltip.defaultProps = {
|
|
|
1884
1900
|
type: 'top'
|
|
1885
1901
|
};
|
|
1886
1902
|
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1903
|
+
const SvgCaptchaArrowUp = ({
|
|
1904
|
+
title,
|
|
1905
|
+
titleId,
|
|
1906
|
+
...props
|
|
1907
|
+
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1908
|
+
width: "12",
|
|
1909
|
+
height: "15",
|
|
1910
|
+
viewBox: "0 0 12 15",
|
|
1911
|
+
fill: "none",
|
|
1912
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1913
|
+
"aria-labelledby": titleId
|
|
1914
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
1915
|
+
id: titleId
|
|
1916
|
+
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1917
|
+
d: "M6 14.9988C6.22729 14.9988 6.44527 14.9066 6.60598 14.7425C6.7667 14.5785 6.85699 14.3559 6.85699 14.1239L6.85699 3.98726L10.5352 7.74409C10.6149 7.82543 10.7095 7.88996 10.8136 7.93398C10.9177 7.97801 11.0292 8.00067 11.1419 8.00067C11.2546 8.00067 11.3662 7.97801 11.4703 7.93398C11.5744 7.88996 11.669 7.82543 11.7487 7.74409C11.8284 7.66274 11.8916 7.56617 11.9347 7.45989C11.9778 7.35361 12 7.2397 12 7.12466C12 7.00962 11.9778 6.89571 11.9347 6.78943C11.8916 6.68314 11.8284 6.58657 11.7487 6.50523L6.60675 1.25581C6.52714 1.17434 6.43257 1.1097 6.32845 1.06559C6.22434 1.02148 6.11272 0.998779 6 0.998779C5.88728 0.998779 5.77566 1.02148 5.67154 1.06559C5.56743 1.1097 5.47286 1.17434 5.39325 1.25581L0.251323 6.50523C0.0904038 6.66951 0 6.89233 0 7.12466C0 7.35699 0.0904038 7.57981 0.251323 7.74409C0.412243 7.90837 0.630497 8.00067 0.858071 8.00067C1.08565 8.00067 1.3039 7.90837 1.46482 7.74409L5.14301 3.98726L5.14301 14.1239C5.14301 14.3559 5.2333 14.5785 5.39402 14.7425C5.55473 14.9066 5.77271 14.9988 6 14.9988Z",
|
|
1918
|
+
fill: "#00236A"
|
|
1919
|
+
}));
|
|
1920
|
+
|
|
1921
|
+
const SvgCaptchaArrowDown = ({
|
|
1922
|
+
title,
|
|
1923
|
+
titleId,
|
|
1924
|
+
...props
|
|
1925
|
+
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1926
|
+
width: "12",
|
|
1927
|
+
height: "15",
|
|
1928
|
+
viewBox: "0 0 12 15",
|
|
1929
|
+
fill: "none",
|
|
1930
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1931
|
+
"aria-labelledby": titleId
|
|
1932
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
1933
|
+
id: titleId
|
|
1934
|
+
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1935
|
+
d: "M6 0.00146537C5.77271 0.00146539 5.55473 0.0936418 5.39402 0.257718C5.2333 0.421795 5.14301 0.64433 5.14301 0.876368L5.14301 11.013L1.46482 7.25615C1.38514 7.17481 1.29055 7.11028 1.18644 7.06626C1.08233 7.02224 0.970753 6.99958 0.85807 6.99958C0.745386 6.99958 0.633807 7.02224 0.529701 7.06626C0.425595 7.11028 0.331002 7.17481 0.251322 7.25616C0.171643 7.3375 0.108438 7.43407 0.0653156 7.54035C0.0221934 7.64663 -5.45598e-07 7.76055 -5.35541e-07 7.87559C-5.25484e-07 7.99063 0.0221934 8.10454 0.0653157 8.21082C0.108438 8.3171 0.171643 8.41367 0.251322 8.49502L5.39325 13.7444C5.47286 13.8259 5.56743 13.8905 5.67155 13.9347C5.77566 13.9788 5.88728 14.0015 6 14.0015C6.11272 14.0015 6.22434 13.9788 6.32846 13.9347C6.43257 13.8905 6.52714 13.8259 6.60675 13.7444L11.7487 8.49502C11.9096 8.33073 12 8.10792 12 7.87559C12 7.64325 11.9096 7.42044 11.7487 7.25615C11.5878 7.09187 11.3695 6.99958 11.1419 6.99958C10.9144 6.99958 10.6961 7.09187 10.5352 7.25615L6.85699 11.013L6.85699 0.876368C6.85699 0.64433 6.7667 0.421794 6.60598 0.257718C6.44526 0.0936418 6.22729 0.00146535 6 0.00146537Z",
|
|
1936
|
+
fill: "#00236A"
|
|
1937
|
+
}));
|
|
1938
|
+
|
|
1939
|
+
var css_248z$4 = ".captcha-module_start-point__LkOqy:after{background-color:#d1d1d1;border:2px solid #fff;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;content:\"\";height:10px;left:0;position:absolute;top:7.5px;width:10px;z-index:-1}.captcha-module_range__k24I2{-webkit-appearance:none;margin:0}.captcha-module_range__k24I2::-webkit-slider-runnable-track{-webkit-appearance:none;width:100%}.captcha-module_range-default__-O0QD::-webkit-slider-thumb{background-image:url(../../assets/icons/range-arrow-default.svg)}.captcha-module_range-default__-O0QD::-webkit-slider-thumb,.captcha-module_range-error__FKMfG::-webkit-slider-thumb{-webkit-appearance:none;background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}.captcha-module_range-error__FKMfG::-webkit-slider-thumb{background-image:url(../../assets/icons/range-arrow-error.svg)}.captcha-module_range-success__VzLPq::-webkit-slider-thumb{-webkit-appearance:none;background-image:url(../../assets/icons/range-arrow-success.svg);background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}";
|
|
1940
|
+
var styles$3 = {"start-point":"captcha-module_start-point__LkOqy","range":"captcha-module_range__k24I2","range-default":"captcha-module_range-default__-O0QD","range-error":"captcha-module_range-error__FKMfG","range-success":"captcha-module_range-success__VzLPq"};
|
|
1941
|
+
styleInject(css_248z$4);
|
|
1890
1942
|
|
|
1891
1943
|
const Captcha = ({
|
|
1892
|
-
|
|
1893
|
-
|
|
1944
|
+
size,
|
|
1945
|
+
color,
|
|
1946
|
+
range,
|
|
1947
|
+
label,
|
|
1948
|
+
getRange
|
|
1894
1949
|
}) => {
|
|
1895
|
-
const [
|
|
1896
|
-
const [
|
|
1897
|
-
|
|
1898
|
-
|
|
1950
|
+
const [rangeNumber, setRangeNumber] = React.useState(0);
|
|
1951
|
+
const [rangeProgress, setRangeProgress] = React.useState(0);
|
|
1952
|
+
const configStyles = compereConfigs();
|
|
1953
|
+
const handleRange = e => {
|
|
1954
|
+
const value = e.target.value;
|
|
1955
|
+
getRange(value);
|
|
1956
|
+
setRangeProgress(value);
|
|
1957
|
+
};
|
|
1899
1958
|
React.useEffect(() => {
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
selector[0].style.left = event.target.value + '%';
|
|
1911
|
-
progressBar[0].style.width = event.target.value + '%';
|
|
1912
|
-
if (rangeCount == event.target.value) {
|
|
1913
|
-
selectBtn[0].style.background = "pink";
|
|
1959
|
+
if (range === undefined || range === null) {
|
|
1960
|
+
alert('Please add range property on Captcha component');
|
|
1961
|
+
}
|
|
1962
|
+
if (!getRange) {
|
|
1963
|
+
alert('Please add getRange property on Captcha component');
|
|
1964
|
+
}
|
|
1965
|
+
if (range > 100) {
|
|
1966
|
+
setRangeNumber(100);
|
|
1967
|
+
} else if (range < 0) {
|
|
1968
|
+
setRangeNumber(0);
|
|
1914
1969
|
} else {
|
|
1915
|
-
|
|
1970
|
+
setRangeNumber(range);
|
|
1971
|
+
}
|
|
1972
|
+
}, [range, getRange]);
|
|
1973
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, label && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1974
|
+
style: {
|
|
1975
|
+
fontSize: size ? size : configStyles.Captcha.size,
|
|
1976
|
+
color: color ? color : configStyles.Captcha.color
|
|
1977
|
+
}
|
|
1978
|
+
}, label), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1979
|
+
style: {
|
|
1980
|
+
width: '100%',
|
|
1981
|
+
height: '76px',
|
|
1982
|
+
maxWidth: '400px',
|
|
1983
|
+
position: 'relative'
|
|
1916
1984
|
}
|
|
1917
|
-
}
|
|
1918
|
-
function sliderChange(e) {
|
|
1919
|
-
setRight(rangeCount == e.target.value ? true : false);
|
|
1920
|
-
}
|
|
1921
|
-
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1922
|
-
className: styles$3.main
|
|
1923
1985
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1986
|
+
style: {
|
|
1987
|
+
position: 'absolute',
|
|
1988
|
+
top: '0px',
|
|
1989
|
+
height: '15px',
|
|
1990
|
+
left: `calc(${rangeNumber}% - 6px)`
|
|
1991
|
+
}
|
|
1992
|
+
}, /*#__PURE__*/React__default["default"].createElement(SvgCaptchaArrowDown, null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1993
|
+
style: {
|
|
1994
|
+
position: 'absolute',
|
|
1995
|
+
display: 'flex',
|
|
1996
|
+
top: '23px',
|
|
1997
|
+
left: '0px',
|
|
1998
|
+
width: '100%',
|
|
1999
|
+
height: '30px',
|
|
2000
|
+
alignItems: 'center',
|
|
2001
|
+
zIndex: 1
|
|
2002
|
+
},
|
|
2003
|
+
className: styles$3['start-point']
|
|
2004
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2005
|
+
style: {
|
|
2006
|
+
position: 'absolute',
|
|
2007
|
+
top: '13px',
|
|
2008
|
+
right: '0px',
|
|
2009
|
+
width: '100%',
|
|
2010
|
+
height: '4px',
|
|
2011
|
+
borderRadius: '2px',
|
|
2012
|
+
backgroundColor: '#EEEEEE',
|
|
2013
|
+
borderRadius: '10px',
|
|
2014
|
+
zIndex: -2
|
|
2015
|
+
}
|
|
2016
|
+
}), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
2017
|
+
min: 0,
|
|
2018
|
+
max: 100,
|
|
1928
2019
|
type: "range",
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
2020
|
+
value: rangeProgress,
|
|
2021
|
+
style: {
|
|
2022
|
+
height: '4px',
|
|
2023
|
+
width: '100%',
|
|
2024
|
+
borderRadius: '2px',
|
|
2025
|
+
cursor: 'pointer',
|
|
2026
|
+
backgroundColor: 'transparent'
|
|
2027
|
+
},
|
|
2028
|
+
className: `
|
|
2029
|
+
${styles$3['range']}
|
|
2030
|
+
${rangeProgress >= rangeNumber ? styles$3['range-success'] : rangeProgress < rangeNumber && rangeProgress > 0 ? styles$3['range-error'] : styles$3['range-default']}
|
|
2031
|
+
`,
|
|
2032
|
+
onInput: handleRange
|
|
1933
2033
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
2034
|
+
style: {
|
|
2035
|
+
position: 'absolute',
|
|
2036
|
+
top: '13px',
|
|
2037
|
+
left: '0px',
|
|
2038
|
+
width: rangeProgress + '%',
|
|
2039
|
+
height: '4px',
|
|
2040
|
+
borderRadius: '2px',
|
|
2041
|
+
backgroundColor: rangeProgress >= rangeNumber ? '#0DA574' : rangeProgress < rangeNumber && rangeProgress > 0 ? '#EE0000' : 'transparent',
|
|
2042
|
+
borderRadius: '2px',
|
|
2043
|
+
zIndex: -1
|
|
2044
|
+
}
|
|
1937
2045
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
2046
|
+
style: {
|
|
2047
|
+
position: 'absolute',
|
|
2048
|
+
bottom: '0px',
|
|
2049
|
+
height: '15px',
|
|
2050
|
+
left: `calc(${rangeNumber}% - 6px)`
|
|
2051
|
+
}
|
|
2052
|
+
}, /*#__PURE__*/React__default["default"].createElement(SvgCaptchaArrowUp, null))));
|
|
1944
2053
|
};
|
|
1945
2054
|
Captcha.propTypes = {
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
};
|
|
1950
|
-
Captcha.defaultProps = {
|
|
1951
|
-
onclick: undefined
|
|
2055
|
+
label: PropTypes__default["default"].string,
|
|
2056
|
+
range: PropTypes__default["default"].number.isRequired,
|
|
2057
|
+
getRange: PropTypes__default["default"].func.isRequired
|
|
1952
2058
|
};
|
|
1953
2059
|
|
|
1954
|
-
var css_248z$
|
|
2060
|
+
var css_248z$3 = ".stepper-module_stepper-container__-OVGy>div:last-child:before{display:none}.stepper-module_activeRing__Lzvh1,.stepper-module_bigRing__5GBm0{border-radius:50%;cursor:pointer;height:36px;margin-bottom:36px;position:relative;width:36px}.stepper-module_bigRing__5GBm0{box-shadow:0 0 0 2px #d1d1d1}.stepper-module_bigRing__5GBm0:before{background:#d1d1d1}.stepper-module_activeRing__Lzvh1{box-shadow:0 0 0 2px #00236a}.stepper-module_activeRing__Lzvh1:before{background:#00236a}.stepper-module_activeRing__Lzvh1:before,.stepper-module_bigRing__5GBm0:before{border-radius:20px;bottom:-32px;content:\"\";height:28px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;width:2px}.stepper-module_smallActiveRing__im-XG,.stepper-module_smallRing__u-5a8{border-radius:50%;bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.stepper-module_smallRing__u-5a8{background-color:#d1d1d1;height:14px;width:14px}.stepper-module_smallActiveRing__im-XG{align-items:center;background-color:#00236a;color:#fff;display:flex;height:28px;justify-content:center;width:28px}";
|
|
1955
2061
|
var styles$2 = {"stepper-container":"stepper-module_stepper-container__-OVGy","bigRing":"stepper-module_bigRing__5GBm0","activeRing":"stepper-module_activeRing__Lzvh1","smallRing":"stepper-module_smallRing__u-5a8","smallActiveRing":"stepper-module_smallActiveRing__im-XG"};
|
|
1956
|
-
styleInject(css_248z$
|
|
2062
|
+
styleInject(css_248z$3);
|
|
1957
2063
|
|
|
1958
2064
|
const Stepper = ({
|
|
1959
2065
|
className,
|
|
@@ -1984,6 +2090,130 @@ Stepper.propTypes = {
|
|
|
1984
2090
|
activeSteps: PropTypes__default["default"].number
|
|
1985
2091
|
};
|
|
1986
2092
|
|
|
2093
|
+
var css_248z$2 = "textarea::-webkit-scrollbar{width:6px}textarea::-webkit-scrollbar-track{background:#eee}textarea::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-track{border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px}textarea::-webkit-scrollbar-thumb{background:#d1d1d1}";
|
|
2094
|
+
styleInject(css_248z$2);
|
|
2095
|
+
|
|
2096
|
+
const Textarea = ({
|
|
2097
|
+
size,
|
|
2098
|
+
label,
|
|
2099
|
+
width,
|
|
2100
|
+
value,
|
|
2101
|
+
height,
|
|
2102
|
+
resize,
|
|
2103
|
+
border,
|
|
2104
|
+
radius,
|
|
2105
|
+
padding,
|
|
2106
|
+
required,
|
|
2107
|
+
onChange,
|
|
2108
|
+
minWidth,
|
|
2109
|
+
maxWidth,
|
|
2110
|
+
minHeight,
|
|
2111
|
+
maxHeight,
|
|
2112
|
+
boxSizing,
|
|
2113
|
+
maxLength,
|
|
2114
|
+
labelSize,
|
|
2115
|
+
labelColor,
|
|
2116
|
+
borderColor,
|
|
2117
|
+
labelWeight,
|
|
2118
|
+
placeholder,
|
|
2119
|
+
labelDisplay,
|
|
2120
|
+
backgroundColor,
|
|
2121
|
+
borderFocusColor,
|
|
2122
|
+
borderHoverColor,
|
|
2123
|
+
labelRequiredColor
|
|
2124
|
+
}) => {
|
|
2125
|
+
const [isHover, setIsHover] = React.useState(false);
|
|
2126
|
+
const [isFocus, setIsFocus] = React.useState(false);
|
|
2127
|
+
const configStyles = compereConfigs();
|
|
2128
|
+
const handleMouseEnter = () => {
|
|
2129
|
+
setIsHover(true);
|
|
2130
|
+
};
|
|
2131
|
+
const handleMouseLeave = () => {
|
|
2132
|
+
setIsHover(false);
|
|
2133
|
+
};
|
|
2134
|
+
const handleFocus = () => {
|
|
2135
|
+
setIsFocus(true);
|
|
2136
|
+
};
|
|
2137
|
+
const handleBlur = () => {
|
|
2138
|
+
setIsFocus(false);
|
|
2139
|
+
};
|
|
2140
|
+
React.useEffect(() => {
|
|
2141
|
+
if (value === undefined) {
|
|
2142
|
+
alert('Please add value prop on Textarea component');
|
|
2143
|
+
}
|
|
2144
|
+
if (!onChange) {
|
|
2145
|
+
alert('Please add onChange function on Textarea component');
|
|
2146
|
+
}
|
|
2147
|
+
}, [value, onChange]);
|
|
2148
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, label ? /*#__PURE__*/React__default["default"].createElement("label", {
|
|
2149
|
+
style: {
|
|
2150
|
+
color: labelColor ? labelColor : configStyles.TEXTAREA.labelColor,
|
|
2151
|
+
fontSize: labelSize ? labelSize : configStyles.TEXTAREA.labelSize,
|
|
2152
|
+
display: labelDisplay ? labelDisplay : configStyles.TEXTAREA.labelDisplay,
|
|
2153
|
+
fontWeight: labelWeight ? labelWeight : configStyles.TEXTAREA.labelWeight
|
|
2154
|
+
}
|
|
2155
|
+
}, label, required && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
2156
|
+
style: {
|
|
2157
|
+
color: labelRequiredColor ? labelRequiredColor : configStyles.TEXTAREA.labelRequiredColor
|
|
2158
|
+
}
|
|
2159
|
+
}, "*")) : '', /*#__PURE__*/React__default["default"].createElement("textarea", {
|
|
2160
|
+
style: {
|
|
2161
|
+
outline: 'none',
|
|
2162
|
+
overflow: 'auto',
|
|
2163
|
+
fontSize: size ? size : configStyles.TEXTAREA.size,
|
|
2164
|
+
width: width ? width : configStyles.TEXTAREA.width,
|
|
2165
|
+
height: height ? height : configStyles.TEXTAREA.height,
|
|
2166
|
+
border: border ? border : configStyles.TEXTAREA.border,
|
|
2167
|
+
padding: padding ? padding : configStyles.TEXTAREA.padding,
|
|
2168
|
+
borderRadius: radius ? radius : configStyles.TEXTAREA.radius,
|
|
2169
|
+
minWidth: minWidth ? minWidth : configStyles.TEXTAREA.minWidth,
|
|
2170
|
+
maxWidth: maxWidth ? maxWidth : configStyles.TEXTAREA.maxWidth,
|
|
2171
|
+
minHeight: minHeight ? minHeight : configStyles.TEXTAREA.minHeight,
|
|
2172
|
+
maxHeight: maxHeight ? maxHeight : configStyles.TEXTAREA.maxHeight,
|
|
2173
|
+
boxSizing: boxSizing ? boxSizing : configStyles.TEXTAREA.boxSizing,
|
|
2174
|
+
backgroundColor: backgroundColor ? backgroundColor : configStyles.TEXTAREA.backgroundColor,
|
|
2175
|
+
borderColor: isFocus ? borderFocusColor ? borderFocusColor : configStyles.TEXTAREA.borderFocusColor : isHover ? borderHoverColor ? borderHoverColor : configStyles.TEXTAREA.borderHoverColor : borderColor ? borderColor : configStyles.TEXTAREA.borderColor,
|
|
2176
|
+
resize: resize ? resize : configStyles.TEXTAREA.resize
|
|
2177
|
+
},
|
|
2178
|
+
onBlur: handleBlur,
|
|
2179
|
+
onChange: onChange,
|
|
2180
|
+
onFocus: handleFocus,
|
|
2181
|
+
placeholder: placeholder,
|
|
2182
|
+
onMouseEnter: handleMouseEnter,
|
|
2183
|
+
onMouseLeave: handleMouseLeave,
|
|
2184
|
+
value: maxLength ? value.length > maxLength ? value.substr(0, maxLength) : value : configStyles.TEXTAREA.maxLength ? value.length > configStyles.TEXTAREA.maxLength ? value.substr(0, configStyles.TEXTAREA.maxLength) : value : value
|
|
2185
|
+
}));
|
|
2186
|
+
};
|
|
2187
|
+
Textarea.propTypes = {
|
|
2188
|
+
size: PropTypes__default["default"].string,
|
|
2189
|
+
label: PropTypes__default["default"].string,
|
|
2190
|
+
width: PropTypes__default["default"].string,
|
|
2191
|
+
height: PropTypes__default["default"].string,
|
|
2192
|
+
resize: PropTypes__default["default"].string,
|
|
2193
|
+
border: PropTypes__default["default"].string,
|
|
2194
|
+
radius: PropTypes__default["default"].string,
|
|
2195
|
+
required: PropTypes__default["default"].bool,
|
|
2196
|
+
padding: PropTypes__default["default"].string,
|
|
2197
|
+
minWidth: PropTypes__default["default"].string,
|
|
2198
|
+
maxWidth: PropTypes__default["default"].string,
|
|
2199
|
+
boxSizing: PropTypes__default["default"].string,
|
|
2200
|
+
minHeight: PropTypes__default["default"].string,
|
|
2201
|
+
maxHeight: PropTypes__default["default"].string,
|
|
2202
|
+
maxLength: PropTypes__default["default"].number,
|
|
2203
|
+
labelSize: PropTypes__default["default"].string,
|
|
2204
|
+
labelColor: PropTypes__default["default"].string,
|
|
2205
|
+
labelWeight: PropTypes__default["default"].string,
|
|
2206
|
+
borderColor: PropTypes__default["default"].string,
|
|
2207
|
+
placeholder: PropTypes__default["default"].string,
|
|
2208
|
+
labelDisplay: PropTypes__default["default"].string,
|
|
2209
|
+
backgroundColor: PropTypes__default["default"].string,
|
|
2210
|
+
value: PropTypes__default["default"].string.isRequired,
|
|
2211
|
+
borderFocusColor: PropTypes__default["default"].string,
|
|
2212
|
+
borderHoverColor: PropTypes__default["default"].string,
|
|
2213
|
+
onChange: PropTypes__default["default"].func.isRequired,
|
|
2214
|
+
labelRequiredColor: PropTypes__default["default"].string
|
|
2215
|
+
};
|
|
2216
|
+
|
|
1987
2217
|
var css_248z$1 = ".pagination-module_listItem__b1-WN:focus{background-color:#4caf50;color:#fff}.pagination-module_listItem__b1-WN:hover:not(.pagination-module_active__KwBDp){background-color:#ddd}.pagination-module_pagination-bar__MrtYT{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;justify-content:center}.pagination-module_pagination-btn__w8Yh8{border:none;border-radius:6px;outline:none}.pagination-module_pagination-btn__w8Yh8,.pagination-module_pagination-item__t3emS,.pagination-module_pagination-jump-next__LAb9Z{align-items:center;background-color:#fff;box-shadow:0 0 0 1px #eee;cursor:pointer;display:flex;height:34px;justify-content:center;width:34px}.pagination-module_pagination-item__t3emS,.pagination-module_pagination-jump-next__LAb9Z{border-radius:6px;flex:0 0 auto;font-size:13px;line-height:16px;position:relative;transition:background-color .24s}.pagination-module_pagination-item__t3emS:hover{background-color:#eee}.pagination-module_pagination-item__t3emS.pagination-module_selected__EXzCA{background-color:#00236a;color:#fff}.pagination-module_pagination-jump-next-arrow__aEVD8,.pagination-module_pagination-jump-next-txt__e7nFj{align-items:center;bottom:0;display:flex;font-size:12px;justify-content:center;left:0;line-height:14px;margin:auto;position:absolute;right:0;top:0;transition:opacity .24s,color .24s}.pagination-module_pagination-jump-next-arrow__aEVD8{opacity:0}.pagination-module_pagination-jump-next__LAb9Z:hover .pagination-module_pagination-jump-next-arrow__aEVD8{opacity:1}.pagination-module_pagination-jump-next__LAb9Z:hover .pagination-module_pagination-jump-next-txt__e7nFj{opacity:0}i{color:#3c393e;font-size:12px;line-height:12px}";
|
|
1988
2218
|
var styles$1 = {"listItem":"pagination-module_listItem__b1-WN","active":"pagination-module_active__KwBDp","pagination-bar":"pagination-module_pagination-bar__MrtYT","pagination-btn":"pagination-module_pagination-btn__w8Yh8","pagination-item":"pagination-module_pagination-item__t3emS","pagination-jump-next":"pagination-module_pagination-jump-next__LAb9Z","selected":"pagination-module_selected__EXzCA","pagination-jump-next-txt":"pagination-module_pagination-jump-next-txt__e7nFj","pagination-jump-next-arrow":"pagination-module_pagination-jump-next-arrow__aEVD8"};
|
|
1989
2219
|
styleInject(css_248z$1);
|
|
@@ -2312,6 +2542,329 @@ Autocomplate.defaultProps = {
|
|
|
2312
2542
|
required: false
|
|
2313
2543
|
};
|
|
2314
2544
|
|
|
2545
|
+
const NewAutocomplete = ({
|
|
2546
|
+
label,
|
|
2547
|
+
options,
|
|
2548
|
+
getItem,
|
|
2549
|
+
required,
|
|
2550
|
+
disabled,
|
|
2551
|
+
errorSize,
|
|
2552
|
+
labelSize,
|
|
2553
|
+
errorColor,
|
|
2554
|
+
labelColor,
|
|
2555
|
+
labelWeight,
|
|
2556
|
+
searchCount,
|
|
2557
|
+
placeHolder,
|
|
2558
|
+
errorMessage,
|
|
2559
|
+
autoComplete,
|
|
2560
|
+
labelDisplay,
|
|
2561
|
+
contentDisplay,
|
|
2562
|
+
contentTopSize,
|
|
2563
|
+
contentPosition,
|
|
2564
|
+
contentTopColor,
|
|
2565
|
+
labelLineHeight,
|
|
2566
|
+
contentDirection,
|
|
2567
|
+
contentTopWeight,
|
|
2568
|
+
contentTopRadius,
|
|
2569
|
+
contentTopHeight,
|
|
2570
|
+
contentTopBorder,
|
|
2571
|
+
labelMarginBottom,
|
|
2572
|
+
contentTopDisplay,
|
|
2573
|
+
contentTopPadding,
|
|
2574
|
+
contentBottomLeft,
|
|
2575
|
+
showOptionDuration,
|
|
2576
|
+
labelRequiredColor,
|
|
2577
|
+
contentTopMaxWidth,
|
|
2578
|
+
labelTextTransform,
|
|
2579
|
+
contentBottomWidth,
|
|
2580
|
+
contentBottomZindex,
|
|
2581
|
+
contentBottomRadius,
|
|
2582
|
+
contentTopDirection,
|
|
2583
|
+
contentTopBoxSizing,
|
|
2584
|
+
contentTopLineHeight,
|
|
2585
|
+
contentTopBorderColor,
|
|
2586
|
+
contentBottomMaxWidth,
|
|
2587
|
+
contentBottomOverflow,
|
|
2588
|
+
contentBottomPosition,
|
|
2589
|
+
contentBottomRowColor,
|
|
2590
|
+
contentBottomMinHeight,
|
|
2591
|
+
contentBottomBoxShadow,
|
|
2592
|
+
contentBottomRowHeight,
|
|
2593
|
+
contentBottomRowCursor,
|
|
2594
|
+
contentBottomRowDisplay,
|
|
2595
|
+
contentBottomRowPadding,
|
|
2596
|
+
contentBottomRowFontSize,
|
|
2597
|
+
contentBottomRowBoxSizing,
|
|
2598
|
+
contentBottomInnerDisplay,
|
|
2599
|
+
contentBottomRowFontWeight,
|
|
2600
|
+
contentBottomRowLineHeight,
|
|
2601
|
+
contentBottomRowAlignItems,
|
|
2602
|
+
contentBottomRowTransition,
|
|
2603
|
+
contentBottomRowHoverColor,
|
|
2604
|
+
contentTopBorderHoverColor,
|
|
2605
|
+
contentTopBorderActiveColor,
|
|
2606
|
+
contentBottomInnerOverflowY,
|
|
2607
|
+
contentBottomInnerOverflowX,
|
|
2608
|
+
contentBottomInnerMaxHeight,
|
|
2609
|
+
contentBottomInnerDirection,
|
|
2610
|
+
contentBottomBackgroundColor,
|
|
2611
|
+
contentBottomRowMarginBottom,
|
|
2612
|
+
contentBottomRowBackgroundColor,
|
|
2613
|
+
contentBottomRowHoverBackgroundColor,
|
|
2614
|
+
...props
|
|
2615
|
+
}) => {
|
|
2616
|
+
const [show, setShow] = React.useState(false);
|
|
2617
|
+
const [isHover, setIsHover] = React.useState(false);
|
|
2618
|
+
const [isFocus, setIsFocus] = React.useState(false);
|
|
2619
|
+
const [innerValue, setInnerValue] = React.useState('');
|
|
2620
|
+
const configStyles = compereConfigs();
|
|
2621
|
+
const showOption = styled.keyframes`
|
|
2622
|
+
100% {
|
|
2623
|
+
max-height: 400px;
|
|
2624
|
+
}
|
|
2625
|
+
`;
|
|
2626
|
+
const animation = _ => styled.css`
|
|
2627
|
+
${showOption} ${showOptionDuration ? showOptionDuration : configStyles.NEWAUTOCOMPLETE.showOptionDuration} linear forwards
|
|
2628
|
+
`;
|
|
2629
|
+
const handleMouseEnter = () => {
|
|
2630
|
+
setIsHover(true);
|
|
2631
|
+
};
|
|
2632
|
+
const handleMouseLeave = () => {
|
|
2633
|
+
setIsHover(false);
|
|
2634
|
+
};
|
|
2635
|
+
const handleRowMouseEnter = e => {
|
|
2636
|
+
e.target.style.color = contentBottomRowHoverColor ? contentBottomRowHoverColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowHoverColor;
|
|
2637
|
+
e.target.style.backgroundColor = contentBottomRowHoverBackgroundColor ? contentBottomRowHoverBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowHoverBackgroundColor;
|
|
2638
|
+
};
|
|
2639
|
+
const handleRowMouseLeave = e => {
|
|
2640
|
+
e.target.style.color = contentBottomRowColor ? contentBottomRowColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowColor;
|
|
2641
|
+
e.target.style.backgroundColor = contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor;
|
|
2642
|
+
};
|
|
2643
|
+
const handleFocus = () => {
|
|
2644
|
+
setIsFocus(true);
|
|
2645
|
+
};
|
|
2646
|
+
const handleBlur = () => {
|
|
2647
|
+
setIsFocus(false);
|
|
2648
|
+
};
|
|
2649
|
+
const handleChange = e => {
|
|
2650
|
+
const value = e.target.value;
|
|
2651
|
+
value.length > 0 ? setShow(true) : setShow(false);
|
|
2652
|
+
setInnerValue(value);
|
|
2653
|
+
};
|
|
2654
|
+
const handleClick = selectedValue => {
|
|
2655
|
+
setShow(false);
|
|
2656
|
+
getItem(selectedValue);
|
|
2657
|
+
setInnerValue(selectedValue.value);
|
|
2658
|
+
};
|
|
2659
|
+
const optionList = /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, show && options && options.length > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2660
|
+
style: {
|
|
2661
|
+
left: contentBottomLeft ? contentBottomLeft : configStyles.NEWAUTOCOMPLETE.contentBottomLeft,
|
|
2662
|
+
width: contentBottomWidth ? contentBottomWidth : configStyles.NEWAUTOCOMPLETE.contentBottomWidth,
|
|
2663
|
+
zIndex: contentBottomZindex ? contentBottomZindex : configStyles.NEWAUTOCOMPLETE.contentBottomZindex,
|
|
2664
|
+
borderRadius: contentBottomRadius ? contentBottomRadius : configStyles.NEWAUTOCOMPLETE.contentBottomRadius,
|
|
2665
|
+
maxWidth: contentBottomMaxWidth ? contentBottomMaxWidth : configStyles.NEWAUTOCOMPLETE.contentBottomMaxWidth,
|
|
2666
|
+
overflow: contentBottomOverflow ? contentBottomOverflow : configStyles.NEWAUTOCOMPLETE.contentBottomOverflow,
|
|
2667
|
+
position: contentBottomPosition ? contentBottomPosition : configStyles.NEWAUTOCOMPLETE.contentBottomPosition,
|
|
2668
|
+
minHeight: contentBottomMinHeight ? contentBottomMinHeight : configStyles.NEWAUTOCOMPLETE.contentBottomMinHeight,
|
|
2669
|
+
boxShadow: contentBottomBoxShadow ? contentBottomBoxShadow : configStyles.NEWAUTOCOMPLETE.contentBottomBoxShadow,
|
|
2670
|
+
backgroundColor: contentBottomBackgroundColor ? contentBottomBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomBackgroundColor,
|
|
2671
|
+
top: contentTopHeight ? contentTopHeight.includes('rem') ? parseFloat(contentTopHeight.substr(0, contentTopHeight.length - 3)) + 0.6 + 'rem' : parseFloat(contentTopHeight.substr(0, contentTopHeight.length - 2)) + 6 + 'px' : configStyles.NEWAUTOCOMPLETE.contentTopHeight.includes('rem') ? parseFloat(configStyles.NEWAUTOCOMPLETE.contentTopHeight.substr(0, configStyles.NEWAUTOCOMPLETE.contentTopHeight.length - 3)) + 0.6 + 'rem' : parseFloat(configStyles.NEWAUTOCOMPLETE.contentTopHeight.substr(0, configStyles.NEWAUTOCOMPLETE.contentTopHeight.length - 2)) + 6 + 'px',
|
|
2672
|
+
animation
|
|
2673
|
+
}
|
|
2674
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2675
|
+
style: {
|
|
2676
|
+
display: contentBottomInnerDisplay ? contentBottomInnerDisplay : configStyles.NEWAUTOCOMPLETE.contentBottomInnerDisplay,
|
|
2677
|
+
overflowY: contentBottomInnerOverflowY ? contentBottomInnerOverflowY : configStyles.NEWAUTOCOMPLETE.contentBottomInnerOverflowY,
|
|
2678
|
+
overflowX: contentBottomInnerOverflowX ? contentBottomInnerOverflowX : configStyles.NEWAUTOCOMPLETE.contentBottomInnerOverflowX,
|
|
2679
|
+
maxHeight: contentBottomInnerMaxHeight ? contentBottomInnerMaxHeight : configStyles.NEWAUTOCOMPLETE.contentBottomInnerMaxHeight,
|
|
2680
|
+
flexDirection: contentBottomInnerDirection ? contentBottomInnerDirection : configStyles.NEWAUTOCOMPLETE.contentBottomInnerDirection
|
|
2681
|
+
}
|
|
2682
|
+
}, innerValue.length >= searchCount ? options.filter(item => item.value.includes(innerValue)).length > 0 ? options.filter(item => item.value.includes(innerValue)).map((item, index) => {
|
|
2683
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2684
|
+
key: `${item}_${index}`,
|
|
2685
|
+
onMouseEnter: handleRowMouseEnter,
|
|
2686
|
+
onMouseLeave: handleRowMouseLeave,
|
|
2687
|
+
onClick: () => handleClick(item),
|
|
2688
|
+
style: {
|
|
2689
|
+
flexShrink: 0,
|
|
2690
|
+
color: contentBottomRowColor ? contentBottomRowColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowColor,
|
|
2691
|
+
height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
2692
|
+
cursor: contentBottomRowCursor ? contentBottomRowCursor : configStyles.NEWAUTOCOMPLETE.contentBottomRowCursor,
|
|
2693
|
+
display: contentBottomRowDisplay ? contentBottomRowDisplay : configStyles.NEWAUTOCOMPLETE.contentBottomRowDisplay,
|
|
2694
|
+
padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
|
|
2695
|
+
fontSize: contentBottomRowFontSize ? contentBottomRowFontSize : configStyles.NEWAUTOCOMPLETE.contentBottomRowFontSize,
|
|
2696
|
+
boxSizing: contentBottomRowBoxSizing ? contentBottomRowBoxSizing : configStyles.NEWAUTOCOMPLETE.contentBottomRowBoxSizing,
|
|
2697
|
+
fontWeight: contentBottomRowFontWeight ? contentBottomRowFontWeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowFontWeight,
|
|
2698
|
+
lineHeight: contentBottomRowLineHeight ? contentBottomRowLineHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowLineHeight,
|
|
2699
|
+
alignItems: contentBottomRowAlignItems ? contentBottomRowAlignItems : configStyles.NEWAUTOCOMPLETE.contentBottomRowAlignItems,
|
|
2700
|
+
transition: contentBottomRowTransition ? contentBottomRowTransition : configStyles.NEWAUTOCOMPLETE.contentBottomRowTransition,
|
|
2701
|
+
marginBottom: contentBottomRowMarginBottom ? contentBottomRowMarginBottom : configStyles.NEWAUTOCOMPLETE.contentBottomRowMarginBottom,
|
|
2702
|
+
backgroundColor: contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor
|
|
2703
|
+
}
|
|
2704
|
+
}, item.value);
|
|
2705
|
+
}) : /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2706
|
+
style: {
|
|
2707
|
+
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
2708
|
+
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
2709
|
+
height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
2710
|
+
padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
|
|
2711
|
+
lineHeight: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight
|
|
2712
|
+
}
|
|
2713
|
+
}, "\u0546\u0574\u0561\u0576 \u057F\u057E\u0575\u0561\u056C \u0561\u057C\u056F\u0561 \u0579\u0567") : /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2714
|
+
style: {
|
|
2715
|
+
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
2716
|
+
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
2717
|
+
height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
2718
|
+
padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
|
|
2719
|
+
lineHeight: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight
|
|
2720
|
+
}
|
|
2721
|
+
}, innerValue.length < searchCount && `Լրացնել առնվազն ${searchCount} նիշ`))));
|
|
2722
|
+
React.useEffect(() => {
|
|
2723
|
+
if (!options) {
|
|
2724
|
+
alert('Please add array of options');
|
|
2725
|
+
}
|
|
2726
|
+
if (options.length === 0) {
|
|
2727
|
+
alert('Please fill options array');
|
|
2728
|
+
}
|
|
2729
|
+
options && options.length > 0 && options.map(item => {
|
|
2730
|
+
if (!item.hasOwnProperty('value')) {
|
|
2731
|
+
alert('Please add value property in items of options array');
|
|
2732
|
+
}
|
|
2733
|
+
});
|
|
2734
|
+
if (!getItem) {
|
|
2735
|
+
alert('Please add getItem function for get choosen item from autocomplete');
|
|
2736
|
+
}
|
|
2737
|
+
}, [options, getItem]);
|
|
2738
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, label ? /*#__PURE__*/React__default["default"].createElement("label", {
|
|
2739
|
+
style: {
|
|
2740
|
+
color: labelColor ? labelColor : configStyles.NEWAUTOCOMPLETE.labelColor,
|
|
2741
|
+
fontSize: labelSize ? labelSize : configStyles.NEWAUTOCOMPLETE.labelSize,
|
|
2742
|
+
display: labelDisplay ? labelDisplay : configStyles.NEWAUTOCOMPLETE.labelDisplay,
|
|
2743
|
+
fontWeight: labelWeight ? labelWeight : configStyles.NEWAUTOCOMPLETE.labelWeight,
|
|
2744
|
+
lineHeight: labelLineHeight ? labelLineHeight : configStyles.NEWAUTOCOMPLETE.labelLineHeight,
|
|
2745
|
+
marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.NEWAUTOCOMPLETE.labelMarginBottom,
|
|
2746
|
+
textTransform: labelTextTransform ? labelTextTransform : configStyles.NEWAUTOCOMPLETE.labelTextTransform
|
|
2747
|
+
}
|
|
2748
|
+
}, label, required && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
2749
|
+
style: {
|
|
2750
|
+
color: labelRequiredColor ? labelRequiredColor : configStyles.NEWAUTOCOMPLETE.labelRequiredColor
|
|
2751
|
+
}
|
|
2752
|
+
}, "*")) : '', /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2753
|
+
style: {
|
|
2754
|
+
display: contentDisplay ? contentDisplay : configStyles.NEWAUTOCOMPLETE.contentDisplay,
|
|
2755
|
+
position: contentPosition ? contentPosition : configStyles.NEWAUTOCOMPLETE.contentPosition,
|
|
2756
|
+
flexDirection: contentDirection ? contentDirection : configStyles.NEWAUTOCOMPLETE.contentDirection
|
|
2757
|
+
}
|
|
2758
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", _extends({
|
|
2759
|
+
type: "text",
|
|
2760
|
+
value: innerValue,
|
|
2761
|
+
disabled: disabled,
|
|
2762
|
+
onBlur: handleBlur,
|
|
2763
|
+
onFocus: handleFocus,
|
|
2764
|
+
onInput: handleChange,
|
|
2765
|
+
placeholder: placeHolder ? placeHolder : '',
|
|
2766
|
+
autoComplete: autoComplete ? autoComplete : configStyles.NEWAUTOCOMPLETE.autoComplete,
|
|
2767
|
+
onMouseEnter: handleMouseEnter,
|
|
2768
|
+
onMouseLeave: handleMouseLeave,
|
|
2769
|
+
style: {
|
|
2770
|
+
transition: 'all 240ms',
|
|
2771
|
+
cursor: disabled ? 'not-allowed' : 'auto',
|
|
2772
|
+
color: contentTopColor ? contentTopColor : configStyles.NEWAUTOCOMPLETE.contentTopColor,
|
|
2773
|
+
fontSize: contentTopSize ? contentTopSize : configStyles.NEWAUTOCOMPLETE.contentTopSize,
|
|
2774
|
+
height: contentTopHeight ? contentTopHeight : configStyles.NEWAUTOCOMPLETE.contentTopHeight,
|
|
2775
|
+
border: contentTopBorder ? contentTopBorder : configStyles.NEWAUTOCOMPLETE.contentTopBorder,
|
|
2776
|
+
padding: contentTopPadding ? contentTopPadding : configStyles.NEWAUTOCOMPLETE.contentTopPadding,
|
|
2777
|
+
display: contentTopDisplay ? contentTopDisplay : configStyles.NEWAUTOCOMPLETE.contentTopDisplay,
|
|
2778
|
+
fontWeight: contentTopWeight ? contentTopWeight : configStyles.NEWAUTOCOMPLETE.contentTopWeight,
|
|
2779
|
+
borderRadius: contentTopRadius ? contentTopRadius : configStyles.NEWAUTOCOMPLETE.contentTopRadius,
|
|
2780
|
+
maxWidth: contentTopMaxWidth ? contentTopMaxWidth : configStyles.NEWAUTOCOMPLETE.contentTopMaxWidth,
|
|
2781
|
+
boxSizing: contentTopBoxSizing ? contentTopBoxSizing : configStyles.NEWAUTOCOMPLETE.contentTopBoxSizing,
|
|
2782
|
+
lineHeight: contentTopLineHeight ? contentTopLineHeight : configStyles.NEWAUTOCOMPLETE.contentTopLineHeight,
|
|
2783
|
+
flexDirection: contentTopDirection ? contentTopDirection : configStyles.NEWAUTOCOMPLETE.contentTopDirection,
|
|
2784
|
+
borderColor: errorMessage ? errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor : isFocus ? contentTopBorderActiveColor ? contentTopBorderActiveColor : configStyles.NEWAUTOCOMPLETE.contentTopBorderActiveColor : isHover ? contentTopBorderHoverColor ? contentTopBorderHoverColor : configStyles.NEWAUTOCOMPLETE.contentTopBorderHoverColor : contentTopBorderColor ? contentTopBorderColor : configStyles.NEWAUTOCOMPLETE.contentTopBorderColor
|
|
2785
|
+
}
|
|
2786
|
+
}, props)), errorMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2787
|
+
style: {
|
|
2788
|
+
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
2789
|
+
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize
|
|
2790
|
+
}
|
|
2791
|
+
}, errorMessage) : '', optionList));
|
|
2792
|
+
};
|
|
2793
|
+
NewAutocomplete.propTypes = {
|
|
2794
|
+
label: PropTypes__default["default"].string,
|
|
2795
|
+
required: PropTypes__default["default"].bool,
|
|
2796
|
+
disabled: PropTypes__default["default"].bool,
|
|
2797
|
+
errorSize: PropTypes__default["default"].string,
|
|
2798
|
+
labelSize: PropTypes__default["default"].string,
|
|
2799
|
+
errorColor: PropTypes__default["default"].string,
|
|
2800
|
+
labelColor: PropTypes__default["default"].string,
|
|
2801
|
+
searchCount: PropTypes__default["default"].number,
|
|
2802
|
+
placeHolder: PropTypes__default["default"].string,
|
|
2803
|
+
labelWeight: PropTypes__default["default"].number,
|
|
2804
|
+
errorMessage: PropTypes__default["default"].string,
|
|
2805
|
+
labelDisplay: PropTypes__default["default"].string,
|
|
2806
|
+
autoComplete: PropTypes__default["default"].string,
|
|
2807
|
+
contentDisplay: PropTypes__default["default"].string,
|
|
2808
|
+
contentTopSize: PropTypes__default["default"].string,
|
|
2809
|
+
contentPosition: PropTypes__default["default"].string,
|
|
2810
|
+
labelLineHeight: PropTypes__default["default"].string,
|
|
2811
|
+
contentTopColor: PropTypes__default["default"].string,
|
|
2812
|
+
contentDirection: PropTypes__default["default"].string,
|
|
2813
|
+
contentTopWeight: PropTypes__default["default"].number,
|
|
2814
|
+
contentTopRadius: PropTypes__default["default"].string,
|
|
2815
|
+
contentTopHeight: PropTypes__default["default"].string,
|
|
2816
|
+
contentTopBorder: PropTypes__default["default"].string,
|
|
2817
|
+
getItem: PropTypes__default["default"].func.isRequired,
|
|
2818
|
+
contentTopDisplay: PropTypes__default["default"].string,
|
|
2819
|
+
contentTopPadding: PropTypes__default["default"].string,
|
|
2820
|
+
contentBottomLeft: PropTypes__default["default"].string,
|
|
2821
|
+
options: PropTypes__default["default"].array.isRequired,
|
|
2822
|
+
labelMarginBottom: PropTypes__default["default"].string,
|
|
2823
|
+
labelRequiredColor: PropTypes__default["default"].string,
|
|
2824
|
+
labelTextTransform: PropTypes__default["default"].string,
|
|
2825
|
+
showOptionDuration: PropTypes__default["default"].string,
|
|
2826
|
+
contentTopMaxWidth: PropTypes__default["default"].string,
|
|
2827
|
+
contentBottomWidth: PropTypes__default["default"].string,
|
|
2828
|
+
contentTopDirection: PropTypes__default["default"].string,
|
|
2829
|
+
contentTopBoxSizing: PropTypes__default["default"].string,
|
|
2830
|
+
contentBottomZindex: PropTypes__default["default"].number,
|
|
2831
|
+
contentBottomRadius: PropTypes__default["default"].string,
|
|
2832
|
+
contentTopLineHeight: PropTypes__default["default"].string,
|
|
2833
|
+
contentTopBorderColor: PropTypes__default["default"].string,
|
|
2834
|
+
contentBottomRowColor: PropTypes__default["default"].string,
|
|
2835
|
+
contentBottomMaxWidth: PropTypes__default["default"].string,
|
|
2836
|
+
contentBottomOverflow: PropTypes__default["default"].string,
|
|
2837
|
+
contentBottomPosition: PropTypes__default["default"].string,
|
|
2838
|
+
contentBottomMinHeight: PropTypes__default["default"].string,
|
|
2839
|
+
contentBottomBoxShadow: PropTypes__default["default"].string,
|
|
2840
|
+
contentBottomRowHeight: PropTypes__default["default"].string,
|
|
2841
|
+
contentBottomRowCursor: PropTypes__default["default"].string,
|
|
2842
|
+
contentBottomRowDisplay: PropTypes__default["default"].string,
|
|
2843
|
+
contentBottomRowPadding: PropTypes__default["default"].string,
|
|
2844
|
+
contentBottomRowFontSize: PropTypes__default["default"].string,
|
|
2845
|
+
contentBottomRowBoxSizing: PropTypes__default["default"].string,
|
|
2846
|
+
contentBottomInnerDisplay: PropTypes__default["default"].string,
|
|
2847
|
+
contentBottomRowFontWeight: PropTypes__default["default"].number,
|
|
2848
|
+
contentBottomRowLineHeight: PropTypes__default["default"].string,
|
|
2849
|
+
contentBottomRowAlignItems: PropTypes__default["default"].string,
|
|
2850
|
+
contentBottomRowTransition: PropTypes__default["default"].string,
|
|
2851
|
+
contentBottomRowHoverColor: PropTypes__default["default"].string,
|
|
2852
|
+
contentTopBorderHoverColor: PropTypes__default["default"].string,
|
|
2853
|
+
contentTopBorderActiveColor: PropTypes__default["default"].string,
|
|
2854
|
+
contentBottomInnerOverflowY: PropTypes__default["default"].string,
|
|
2855
|
+
contentBottomInnerOverflowX: PropTypes__default["default"].string,
|
|
2856
|
+
contentBottomInnerMaxHeight: PropTypes__default["default"].string,
|
|
2857
|
+
contentBottomInnerDirection: PropTypes__default["default"].string,
|
|
2858
|
+
contentBottomRowMarginBottom: PropTypes__default["default"].string,
|
|
2859
|
+
contentBottomBackgroundColor: PropTypes__default["default"].string,
|
|
2860
|
+
contentBottomRowBackgroundColor: PropTypes__default["default"].string,
|
|
2861
|
+
contentBottomRowHoverBackgroundColor: PropTypes__default["default"].string
|
|
2862
|
+
};
|
|
2863
|
+
NewAutocomplete.defaultProps = {
|
|
2864
|
+
searchCount: 3,
|
|
2865
|
+
disabled: false
|
|
2866
|
+
};
|
|
2867
|
+
|
|
2315
2868
|
exports.Autocomplate = Autocomplate;
|
|
2316
2869
|
exports.Button = Button;
|
|
2317
2870
|
exports.Captcha = Captcha;
|
|
@@ -2320,12 +2873,14 @@ exports.File = File;
|
|
|
2320
2873
|
exports.Input = Input;
|
|
2321
2874
|
exports.InputTypes = InputTypes;
|
|
2322
2875
|
exports.Modal = Modal;
|
|
2876
|
+
exports.NewAutocomplete = NewAutocomplete;
|
|
2323
2877
|
exports.Pagination = Pagination;
|
|
2324
2878
|
exports.Radio = Radio;
|
|
2325
2879
|
exports.Select = Select;
|
|
2326
2880
|
exports.SingleCheckbox = SingleCheckbox;
|
|
2327
2881
|
exports.Stepper = Stepper;
|
|
2328
2882
|
exports.Table = Table;
|
|
2883
|
+
exports.Textarea = Textarea;
|
|
2329
2884
|
exports.Toaster = Toaster;
|
|
2330
2885
|
exports.Tooltip = Tooltip;
|
|
2331
2886
|
exports.Typography = Typography;
|