@xaypay/tui 0.0.80 → 0.0.82
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 +220 -146
- package/dist/index.js +220 -146
- package/package.json +1 -1
- package/src/assets/attach.svg +4 -0
- package/src/assets/delete.svg +4 -0
- package/src/assets/down-arrow.svg +4 -0
- package/src/assets/minus.svg +4 -0
- package/src/assets/plus.svg +4 -0
- package/src/assets/up-arrow.svg +4 -0
- package/src/components/icon/Arrow.js +2 -2
- package/src/components/icon/CaptchaArrowDown.js +2 -2
- package/src/components/icon/CaptchaArrowUp.js +2 -2
- package/src/components/icon/CheckboxChecked.js +2 -2
- package/src/components/icon/CheckboxUnchecked.js +2 -2
- package/src/components/icon/Close.js +2 -2
- package/src/components/icon/CloseIcon.js +2 -2
- package/src/components/icon/CloseSlide.js +2 -2
- package/src/components/icon/DeleteComponent.js +2 -2
- package/src/components/icon/Dots.js +2 -2
- package/src/components/icon/HeartFilled.js +2 -2
- package/src/components/icon/HeartOutline.js +2 -2
- package/src/components/icon/ListItemDelete.js +2 -2
- package/src/components/icon/ListItemJpeg.js +2 -2
- package/src/components/icon/ListItemJpg.js +2 -2
- package/src/components/icon/ListItemPdf.js +2 -2
- package/src/components/icon/ListItemPng.js +2 -2
- package/src/components/icon/Next.js +2 -2
- package/src/components/icon/Nextarrow.js +2 -2
- package/src/components/icon/PDF.js +2 -2
- package/src/components/icon/Prev.js +2 -2
- package/src/components/icon/RangeArrowDefault.js +2 -2
- package/src/components/icon/RangeArrowError.js +2 -2
- package/src/components/icon/RangeArrowSuccess.js +2 -2
- package/src/components/icon/RemoveFile.js +2 -2
- package/src/components/icon/ToasterClose.js +2 -2
- package/src/components/icon/ToasterError.js +2 -2
- package/src/components/icon/ToasterInfo.js +2 -2
- package/src/components/icon/ToasterSuccess.js +2 -2
- package/src/components/icon/ToasterWarning.js +2 -2
- package/src/components/icon/Tooltip.js +2 -2
- package/src/components/icon/Upload.js +2 -2
- package/src/components/input/index.js +11 -21
- package/src/components/modal/index.js +28 -20
- package/src/components/modal/modal.stories.js +1 -1
- package/src/components/newAutocomplete/index.js +9 -5
- package/src/components/newFile/index.js +4 -3
- package/src/components/select/index.js +9 -2
- package/src/components/singleCheckbox/index.js +27 -5
- package/src/components/table/index.js +70 -97
- package/src/components/table/table.module.css +28 -0
- package/src/components/table/table.stories.js +391 -172
- package/src/components/table/td.js +133 -0
- package/src/components/table/th.js +55 -0
- package/src/components/textarea/index.js +21 -15
- package/src/components/textarea/textarea.stories.js +4 -0
- package/src/stories/configuration.stories.mdx +17 -5
- package/tui.config.js +18 -7
package/dist/index.es.js
CHANGED
|
@@ -23,6 +23,7 @@ function _extends() {
|
|
|
23
23
|
const SvgPdf = ({
|
|
24
24
|
title,
|
|
25
25
|
titleId,
|
|
26
|
+
fillColor,
|
|
26
27
|
...props
|
|
27
28
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
29
|
width: "40",
|
|
@@ -35,7 +36,7 @@ const SvgPdf = ({
|
|
|
35
36
|
id: titleId
|
|
36
37
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
37
38
|
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",
|
|
38
|
-
fill:
|
|
39
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
39
40
|
}));
|
|
40
41
|
|
|
41
42
|
function styleInject(css, ref) {
|
|
@@ -65,9 +66,9 @@ function styleInject(css, ref) {
|
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
var css_248z$
|
|
69
|
+
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)}";
|
|
69
70
|
var styles$b = {"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"};
|
|
70
|
-
styleInject(css_248z$
|
|
71
|
+
styleInject(css_248z$e);
|
|
71
72
|
|
|
72
73
|
const File = ({
|
|
73
74
|
name,
|
|
@@ -189,6 +190,87 @@ File.defaultProps = {
|
|
|
189
190
|
fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
|
|
190
191
|
};
|
|
191
192
|
|
|
193
|
+
const SvgCheckboxUnchecked = ({
|
|
194
|
+
title,
|
|
195
|
+
titleId,
|
|
196
|
+
fillColor,
|
|
197
|
+
...props
|
|
198
|
+
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
199
|
+
width: "16",
|
|
200
|
+
height: "16",
|
|
201
|
+
viewBox: "0 0 16 16",
|
|
202
|
+
fill: "none",
|
|
203
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
204
|
+
"aria-labelledby": titleId
|
|
205
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
206
|
+
id: titleId
|
|
207
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
208
|
+
fillRule: "evenodd",
|
|
209
|
+
clipRule: "evenodd",
|
|
210
|
+
d: "M3.2 0h9.6A3.2 3.2 0 0 1 16 3.2v9.6a3.2 3.2 0 0 1-3.2 3.2H3.2A3.2 3.2 0 0 1 0 12.8V3.2A3.2 3.2 0 0 1 3.2 0Zm0 1.6a1.6 1.6 0 0 0-1.6 1.6v9.6a1.6 1.6 0 0 0 1.6 1.6h9.6a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H3.2Z",
|
|
211
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
212
|
+
}));
|
|
213
|
+
|
|
214
|
+
const SvgCheckboxChecked = ({
|
|
215
|
+
title,
|
|
216
|
+
titleId,
|
|
217
|
+
fillColor,
|
|
218
|
+
...props
|
|
219
|
+
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
220
|
+
width: "16",
|
|
221
|
+
height: "16",
|
|
222
|
+
viewBox: "0 0 16 16",
|
|
223
|
+
fill: "none",
|
|
224
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
225
|
+
"aria-labelledby": titleId
|
|
226
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
227
|
+
id: titleId
|
|
228
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
229
|
+
fillRule: "evenodd",
|
|
230
|
+
clipRule: "evenodd",
|
|
231
|
+
d: "M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v9.6A3.2 3.2 0 0 0 3.2 16h9.6a3.2 3.2 0 0 0 3.2-3.2V3.2A3.2 3.2 0 0 0 12.8 0ZM6.85 10.966c.068.023.14.034.218.034.078 0 .151-.011.219-.034a.515.515 0 0 0 .19-.114l5.363-4.94A.496.496 0 0 0 13 5.53a.496.496 0 0 0-.16-.382.589.589 0 0 0-.415-.148.59.59 0 0 0-.416.148l-4.94 4.55-2.085-1.92a.579.579 0 0 0-.408-.147.579.579 0 0 0-.408.148A.52.52 0 0 0 4 8.16a.476.476 0 0 0 .154.383l2.506 2.308a.515.515 0 0 0 .19.114Z",
|
|
232
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
233
|
+
}));
|
|
234
|
+
|
|
235
|
+
const SingleCheckbox = ({
|
|
236
|
+
id,
|
|
237
|
+
float,
|
|
238
|
+
checked,
|
|
239
|
+
onClick,
|
|
240
|
+
content,
|
|
241
|
+
disabled,
|
|
242
|
+
checkedColor,
|
|
243
|
+
unCheckedColor
|
|
244
|
+
}) => {
|
|
245
|
+
const [innerCheckd, setInnerChecked] = useState(false);
|
|
246
|
+
useEffect(() => {
|
|
247
|
+
setInnerChecked(checked);
|
|
248
|
+
}, [checked]);
|
|
249
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
250
|
+
style: {
|
|
251
|
+
width: '16px',
|
|
252
|
+
height: '16px',
|
|
253
|
+
marginRight: '9px',
|
|
254
|
+
display: 'inline-block',
|
|
255
|
+
float: float ? float : '',
|
|
256
|
+
cursor: !disabled && onClick ? 'pointer' : 'normal'
|
|
257
|
+
}
|
|
258
|
+
}, innerCheckd ? /*#__PURE__*/React__default.createElement(SvgCheckboxChecked, {
|
|
259
|
+
onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
|
|
260
|
+
fillColor: checkedColor ? checkedColor : ''
|
|
261
|
+
}) : /*#__PURE__*/React__default.createElement(SvgCheckboxUnchecked, {
|
|
262
|
+
onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
|
|
263
|
+
fillColor: unCheckedColor ? unCheckedColor : ''
|
|
264
|
+
}));
|
|
265
|
+
};
|
|
266
|
+
SingleCheckbox.propTypes = {
|
|
267
|
+
disabled: PropTypes.bool,
|
|
268
|
+
checked: PropTypes.bool.isRequired
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
var css_248z$d = ".table-module_sorting-arrows__BaN-G:after{content:\"▲\";font-size:11px;position:absolute;right:0;top:calc(50% - 12px)}.table-module_sorting-arrows__BaN-G:before{bottom:calc(50% - 12px);content:\"▼\";font-size:11px;position:absolute;right:0}.table-module_td-span__XHo6k{cursor:pointer;display:inline-block;position:relative}.table-module_td-span__XHo6k>svg{left:0;position:absolute;top:0;z-index:-1}";
|
|
272
|
+
styleInject(css_248z$d);
|
|
273
|
+
|
|
192
274
|
const _ = require('lodash');
|
|
193
275
|
const compereConfigs = () => {
|
|
194
276
|
let projectConfig = {};
|
|
@@ -213,8 +295,8 @@ const compereConfigs = () => {
|
|
|
213
295
|
};
|
|
214
296
|
|
|
215
297
|
({
|
|
216
|
-
|
|
217
|
-
|
|
298
|
+
dataBody: PropTypes.array,
|
|
299
|
+
dataHeader: PropTypes.array,
|
|
218
300
|
tHeadColor: PropTypes.string,
|
|
219
301
|
tHeadFamily: PropTypes.string,
|
|
220
302
|
tHeadPadding: PropTypes.string,
|
|
@@ -228,7 +310,10 @@ const compereConfigs = () => {
|
|
|
228
310
|
tBodyFontWeight: PropTypes.string,
|
|
229
311
|
tBodyFontFamily: PropTypes.string,
|
|
230
312
|
tBodyRowBorder: PropTypes.string,
|
|
231
|
-
|
|
313
|
+
handleCheckedBody: PropTypes.func,
|
|
314
|
+
handleCheckedHeader: PropTypes.func,
|
|
315
|
+
handleHeaderItemClick: PropTypes.func,
|
|
316
|
+
handleBodyActionClick: PropTypes.func
|
|
232
317
|
});
|
|
233
318
|
|
|
234
319
|
var css_248z$c = ".modal-module_animation__modal__3mt48{animation:modal-module_show-popup__WrH7a .15s;-webkit-animation:modal-module_show-popup__WrH7a .15s}@keyframes modal-module_show-popup__WrH7a{0%{transform:translate3d(0,-50%,0);-webkit-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-ms-transform:translate3d(0,-50%,0);-o-transform:translate3d(0,-50%,0)}to{opacity:1;transform:translateZ(0);-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}}";
|
|
@@ -238,6 +323,7 @@ styleInject(css_248z$c);
|
|
|
238
323
|
const SvgNext = ({
|
|
239
324
|
title,
|
|
240
325
|
titleId,
|
|
326
|
+
fillColor,
|
|
241
327
|
...props
|
|
242
328
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
243
329
|
width: "24",
|
|
@@ -252,12 +338,13 @@ const SvgNext = ({
|
|
|
252
338
|
fillRule: "evenodd",
|
|
253
339
|
clipRule: "evenodd",
|
|
254
340
|
d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm3.4-11.443a.854.854 0 0 0 .198-.548.855.855 0 0 0-.146-.539l-4.137-5.134a.857.857 0 0 0-1.251-.12.856.856 0 0 0-.129 1.207l3.701 4.586-3.838 4.587a.856.856 0 0 0 .739 1.4.858.858 0 0 0 .58-.305l4.284-5.134Z",
|
|
255
|
-
fill:
|
|
341
|
+
fill: fillColor ? fillColor : '#fff'
|
|
256
342
|
}));
|
|
257
343
|
|
|
258
344
|
const SvgPrev = ({
|
|
259
345
|
title,
|
|
260
346
|
titleId,
|
|
347
|
+
fillColor,
|
|
261
348
|
...props
|
|
262
349
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
263
350
|
width: "24",
|
|
@@ -272,12 +359,13 @@ const SvgPrev = ({
|
|
|
272
359
|
fillRule: "evenodd",
|
|
273
360
|
clipRule: "evenodd",
|
|
274
361
|
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM8.6 11.443a.855.855 0 0 0-.198.548c-.013.19.038.38.146.539l4.137 5.133a.857.857 0 0 0 1.251.12.856.856 0 0 0 .129-1.206l-3.701-4.586 3.838-4.587a.856.856 0 0 0-.739-1.4.858.858 0 0 0-.58.305l-4.284 5.134Z",
|
|
275
|
-
fill:
|
|
362
|
+
fill: fillColor ? fillColor : '#fff'
|
|
276
363
|
}));
|
|
277
364
|
|
|
278
365
|
const SvgCloseIcon = ({
|
|
279
366
|
title,
|
|
280
367
|
titleId,
|
|
368
|
+
fillColor,
|
|
281
369
|
...props
|
|
282
370
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
283
371
|
width: "14",
|
|
@@ -290,12 +378,13 @@ const SvgCloseIcon = ({
|
|
|
290
378
|
id: titleId
|
|
291
379
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
292
380
|
d: "m12.425.241.006-.005a.95.95 0 0 1 1.34 1.34l-.005.006-5.38 5.38 5.38 5.38.005.007a.95.95 0 0 1-1.34 1.34l-.006-.005-5.38-5.38-5.378 5.37a.951.951 0 1 1-1.34-1.341l5.377-5.37-5.38-5.388-.005-.006a.95.95 0 0 1 1.34-1.34l.006.005 5.38 5.387 5.38-5.38Z",
|
|
293
|
-
fill:
|
|
381
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
294
382
|
}));
|
|
295
383
|
|
|
296
384
|
const SvgCloseSlide = ({
|
|
297
385
|
title,
|
|
298
386
|
titleId,
|
|
387
|
+
fillColor,
|
|
299
388
|
...props
|
|
300
389
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
301
390
|
width: "18",
|
|
@@ -308,13 +397,15 @@ const SvgCloseSlide = ({
|
|
|
308
397
|
id: titleId
|
|
309
398
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
310
399
|
d: "m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z",
|
|
311
|
-
fill:
|
|
400
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
312
401
|
}));
|
|
313
402
|
|
|
314
403
|
const Modal = ({
|
|
315
404
|
type,
|
|
316
405
|
data,
|
|
406
|
+
width,
|
|
317
407
|
radius,
|
|
408
|
+
height,
|
|
318
409
|
padding,
|
|
319
410
|
setShow,
|
|
320
411
|
selected,
|
|
@@ -322,13 +413,18 @@ const Modal = ({
|
|
|
322
413
|
minWidth,
|
|
323
414
|
minHeight,
|
|
324
415
|
className,
|
|
416
|
+
mMaxWidth,
|
|
417
|
+
alignItems,
|
|
418
|
+
mMaxHeight,
|
|
325
419
|
headerText,
|
|
326
420
|
imageWidth,
|
|
327
421
|
headerSize,
|
|
328
422
|
imageHeight,
|
|
329
423
|
headerColor,
|
|
424
|
+
outsideClose,
|
|
330
425
|
headerWeight,
|
|
331
426
|
headerHeight,
|
|
427
|
+
justifyContent,
|
|
332
428
|
backgroundColor,
|
|
333
429
|
layerBackgroundColor
|
|
334
430
|
}) => {
|
|
@@ -342,8 +438,7 @@ const Modal = ({
|
|
|
342
438
|
const handleStopClosing = e => {
|
|
343
439
|
e.stopPropagation();
|
|
344
440
|
};
|
|
345
|
-
const handleGoTo =
|
|
346
|
-
const goTo = e.target.getAttribute('data-go');
|
|
441
|
+
const handleGoTo = goTo => {
|
|
347
442
|
if (goTo === 'next') {
|
|
348
443
|
if (select >= data.length - 1) {
|
|
349
444
|
setSelect(0);
|
|
@@ -389,7 +484,7 @@ const Modal = ({
|
|
|
389
484
|
};
|
|
390
485
|
}, []);
|
|
391
486
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
392
|
-
onClick: handleCloseModal,
|
|
487
|
+
onClick: outsideClose || configStyles.MODAL.outsideClose ? handleCloseModal : _ => _,
|
|
393
488
|
style: {
|
|
394
489
|
top: '0px',
|
|
395
490
|
left: '0px',
|
|
@@ -402,30 +497,27 @@ const Modal = ({
|
|
|
402
497
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
403
498
|
style: {
|
|
404
499
|
position: 'relative',
|
|
500
|
+
display: 'flex',
|
|
405
501
|
width: '100%',
|
|
406
|
-
height: '100vh'
|
|
502
|
+
height: '100vh',
|
|
503
|
+
alignItems: alignItems ? alignItems : configStyles.MODAL.alignItems,
|
|
504
|
+
justifyContent: justifyContent ? justifyContent : configStyles.MODAL.justifyContent
|
|
407
505
|
}
|
|
408
506
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
409
507
|
className: `${classProps} ${styles$a['animation__modal']}`,
|
|
410
508
|
onClick: handleStopClosing,
|
|
411
509
|
style: {
|
|
412
|
-
top: '0px',
|
|
413
|
-
left: '0px',
|
|
414
|
-
right: '0px',
|
|
415
|
-
bottom: '0px',
|
|
416
|
-
margin: 'auto',
|
|
417
|
-
maxWidth: '95%',
|
|
418
510
|
overflow: 'auto',
|
|
419
|
-
maxHeight: '95vh',
|
|
420
|
-
position: 'absolute',
|
|
421
|
-
width: 'fit-content',
|
|
422
|
-
height: 'fit-content',
|
|
423
511
|
boxSizing: 'border-box',
|
|
512
|
+
width: width ? width : configStyles.MODAL.width,
|
|
513
|
+
height: height ? height : configStyles.MODAL.height,
|
|
424
514
|
borderRadius: radius ? radius : configStyles.MODAL.radius,
|
|
425
|
-
|
|
426
|
-
|
|
515
|
+
maxWidth: mMaxWidth ? mMaxWidth : configStyles.MODAL.mMaxWidth,
|
|
516
|
+
maxHeight: mMaxHeight ? mMaxHeight : configStyles.MODAL.mMaxHeight,
|
|
517
|
+
minWidth: type === 'content' ? minWidth ? minWidth : configStyles.MODAL.minWidth : '',
|
|
427
518
|
padding: type === 'content' ? padding ? padding : configStyles.MODAL.padding : '10px',
|
|
428
|
-
backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor
|
|
519
|
+
backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor,
|
|
520
|
+
minHeight: type === 'content' ? minHeight ? minHeight : configStyles.MODAL.minHeight : ''
|
|
429
521
|
}
|
|
430
522
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
431
523
|
style: {
|
|
@@ -505,8 +597,7 @@ const Modal = ({
|
|
|
505
597
|
}
|
|
506
598
|
}
|
|
507
599
|
}), innerData && innerData.length > 1 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("button", {
|
|
508
|
-
onClick: handleGoTo,
|
|
509
|
-
"data-go": "prev",
|
|
600
|
+
onClick: _ => handleGoTo('prev'),
|
|
510
601
|
style: {
|
|
511
602
|
position: 'absolute',
|
|
512
603
|
left: '14px',
|
|
@@ -520,8 +611,7 @@ const Modal = ({
|
|
|
520
611
|
backgroundColor: 'transparent'
|
|
521
612
|
}
|
|
522
613
|
}, /*#__PURE__*/React__default.createElement(SvgPrev, null)), /*#__PURE__*/React__default.createElement("button", {
|
|
523
|
-
onClick: handleGoTo,
|
|
524
|
-
"data-go": "next",
|
|
614
|
+
onClick: _ => handleGoTo('next'),
|
|
525
615
|
style: {
|
|
526
616
|
position: 'absolute',
|
|
527
617
|
width: '24px',
|
|
@@ -540,19 +630,26 @@ Modal.propTypes = {
|
|
|
540
630
|
data: PropTypes.array,
|
|
541
631
|
type: PropTypes.string,
|
|
542
632
|
setShow: PropTypes.func,
|
|
633
|
+
width: PropTypes.string,
|
|
543
634
|
radius: PropTypes.string,
|
|
635
|
+
height: PropTypes.string,
|
|
544
636
|
padding: PropTypes.string,
|
|
545
637
|
selected: PropTypes.number,
|
|
546
638
|
minWidth: PropTypes.string,
|
|
639
|
+
mMaxWidth: PropTypes.string,
|
|
547
640
|
minHeight: PropTypes.string,
|
|
548
641
|
className: PropTypes.string,
|
|
642
|
+
alignItems: PropTypes.string,
|
|
643
|
+
mMaxHeight: PropTypes.string,
|
|
549
644
|
headerText: PropTypes.string,
|
|
550
645
|
imageWidth: PropTypes.string,
|
|
551
646
|
headerSize: PropTypes.string,
|
|
647
|
+
outsideClose: PropTypes.bool,
|
|
552
648
|
headerColor: PropTypes.string,
|
|
553
649
|
imageHeight: PropTypes.string,
|
|
554
650
|
headerWeight: PropTypes.string,
|
|
555
651
|
headerHeight: PropTypes.string,
|
|
652
|
+
justifyContent: PropTypes.string,
|
|
556
653
|
backgroundColor: PropTypes.string,
|
|
557
654
|
layerBackgroundColor: PropTypes.string
|
|
558
655
|
};
|
|
@@ -569,7 +666,7 @@ const InputTypes = {
|
|
|
569
666
|
TEXT: "text",
|
|
570
667
|
PASSWORD: "password"
|
|
571
668
|
};
|
|
572
|
-
const P = styled.
|
|
669
|
+
const P = styled.span`
|
|
573
670
|
animation: ${props => props.errorAnimation ? props.animation : 'none'};
|
|
574
671
|
`;
|
|
575
672
|
const Input = ({
|
|
@@ -589,6 +686,7 @@ const Input = ({
|
|
|
589
686
|
leftIcon,
|
|
590
687
|
required,
|
|
591
688
|
disabled,
|
|
689
|
+
marginTop,
|
|
592
690
|
transform,
|
|
593
691
|
iconWidth,
|
|
594
692
|
rightIcon,
|
|
@@ -604,7 +702,6 @@ const Input = ({
|
|
|
604
702
|
borderRight,
|
|
605
703
|
placeholder,
|
|
606
704
|
errorZindex,
|
|
607
|
-
errorBottom,
|
|
608
705
|
labelWeight,
|
|
609
706
|
phoneDisplay,
|
|
610
707
|
errorMessage,
|
|
@@ -659,10 +756,6 @@ const Input = ({
|
|
|
659
756
|
if (!phoneNumberRegex.test(currentValue)) {
|
|
660
757
|
if (currentValue === '') {
|
|
661
758
|
setInnerErrorMessage('');
|
|
662
|
-
setInnerValue('');
|
|
663
|
-
if (change) {
|
|
664
|
-
change('');
|
|
665
|
-
}
|
|
666
759
|
} else {
|
|
667
760
|
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
668
761
|
setInnerValue(prevValue);
|
|
@@ -677,11 +770,6 @@ const Input = ({
|
|
|
677
770
|
if (change) {
|
|
678
771
|
change(currentValue.substr(0, 8));
|
|
679
772
|
}
|
|
680
|
-
} else {
|
|
681
|
-
setInnerValue(currentValue);
|
|
682
|
-
if (change) {
|
|
683
|
-
change(currentValue);
|
|
684
|
-
}
|
|
685
773
|
}
|
|
686
774
|
}
|
|
687
775
|
}
|
|
@@ -722,13 +810,11 @@ const Input = ({
|
|
|
722
810
|
} else {
|
|
723
811
|
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
724
812
|
}
|
|
725
|
-
setInnerValue('');
|
|
726
813
|
} else {
|
|
727
|
-
|
|
728
|
-
|
|
814
|
+
if (value.length < 8) {
|
|
815
|
+
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
816
|
+
} else if (value.length > 8) {
|
|
729
817
|
setInnerValue(value.substr(0, 8));
|
|
730
|
-
} else {
|
|
731
|
-
setInnerValue(value);
|
|
732
818
|
}
|
|
733
819
|
}
|
|
734
820
|
}
|
|
@@ -816,8 +902,8 @@ const Input = ({
|
|
|
816
902
|
padding: padding ? padding : configStyles.INPUT.padding,
|
|
817
903
|
borderRadius: radius ? radius : configStyles.INPUT.radius,
|
|
818
904
|
boxSizing: boxSizing ? boxSizing : configStyles.INPUT.boxSizing,
|
|
819
|
-
|
|
820
|
-
|
|
905
|
+
color: innerErrorMessage && errorColor ? errorColor : color ? color : configStyles.INPUT.color,
|
|
906
|
+
backgroundColor: disabled ? '#FBFBFB' : backgroundColor ? backgroundColor : configStyles.INPUT.backgroundColor
|
|
821
907
|
}
|
|
822
908
|
})), rightIcon && rightIcon.length > 0 ? /*#__PURE__*/React__default.createElement("div", {
|
|
823
909
|
onMouseUp: type === 'password' ? _ => setShow(false) : _ => _,
|
|
@@ -838,13 +924,14 @@ const Input = ({
|
|
|
838
924
|
animation: animation,
|
|
839
925
|
style: {
|
|
840
926
|
margin: '0px',
|
|
927
|
+
position: 'absolute',
|
|
928
|
+
width: width ? width : configStyles.INPUT.width,
|
|
841
929
|
left: errorLeft ? errorLeft : configStyles.INPUT.errorLeft,
|
|
842
930
|
color: errorColor ? errorColor : configStyles.INPUT.errorColor,
|
|
843
931
|
fontSize: errorSize ? errorSize : configStyles.INPUT.errorSize,
|
|
844
|
-
bottom: errorBottom ? errorBottom : configStyles.INPUT.errorBottom,
|
|
845
932
|
zIndex: errorZindex ? errorZindex : configStyles.INPUT.errorZindex,
|
|
846
|
-
position: errorPosition ? errorPosition : configStyles.INPUT.errorPosition,
|
|
847
933
|
lineHeight: errorLineHeight ? errorLineHeight : configStyles.INPUT.errorLineHeight,
|
|
934
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
848
935
|
transform: !errorAnimation ? 'scale3d(1,1,1)' : transform ? transform : configStyles.INPUT.transform
|
|
849
936
|
},
|
|
850
937
|
className: errorClassName ? errorClassName : configStyles.INPUT.errorClassName
|
|
@@ -863,6 +950,7 @@ Input.propTypes = {
|
|
|
863
950
|
padding: PropTypes.string,
|
|
864
951
|
fontSize: PropTypes.string,
|
|
865
952
|
tooltip: PropTypes.element,
|
|
953
|
+
marginTop: PropTypes.string,
|
|
866
954
|
transform: PropTypes.string,
|
|
867
955
|
className: PropTypes.string,
|
|
868
956
|
iconWidth: PropTypes.string,
|
|
@@ -877,7 +965,6 @@ Input.propTypes = {
|
|
|
877
965
|
borderRight: PropTypes.string,
|
|
878
966
|
placeholder: PropTypes.string,
|
|
879
967
|
errorZindex: PropTypes.string,
|
|
880
|
-
errorBottom: PropTypes.string,
|
|
881
968
|
labelWeight: PropTypes.string,
|
|
882
969
|
errorMessage: PropTypes.string,
|
|
883
970
|
phoneDisplay: PropTypes.string,
|
|
@@ -1061,62 +1148,10 @@ Button.propTypes = {
|
|
|
1061
1148
|
disabledBackgroundColor: PropTypes.string
|
|
1062
1149
|
};
|
|
1063
1150
|
|
|
1064
|
-
const SvgCheckboxUnchecked = ({
|
|
1065
|
-
title,
|
|
1066
|
-
titleId,
|
|
1067
|
-
...props
|
|
1068
|
-
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1069
|
-
width: "16",
|
|
1070
|
-
height: "16",
|
|
1071
|
-
viewBox: "0 0 16 16",
|
|
1072
|
-
fill: "none",
|
|
1073
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1074
|
-
"aria-labelledby": titleId
|
|
1075
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
1076
|
-
id: titleId
|
|
1077
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1078
|
-
fillRule: "evenodd",
|
|
1079
|
-
clipRule: "evenodd",
|
|
1080
|
-
d: "M3.2 0h9.6A3.2 3.2 0 0 1 16 3.2v9.6a3.2 3.2 0 0 1-3.2 3.2H3.2A3.2 3.2 0 0 1 0 12.8V3.2A3.2 3.2 0 0 1 3.2 0Zm0 1.6a1.6 1.6 0 0 0-1.6 1.6v9.6a1.6 1.6 0 0 0 1.6 1.6h9.6a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H3.2Z",
|
|
1081
|
-
fill: "#D1D1D1"
|
|
1082
|
-
}));
|
|
1083
|
-
|
|
1084
|
-
const SvgCheckboxChecked = ({
|
|
1085
|
-
title,
|
|
1086
|
-
titleId,
|
|
1087
|
-
...props
|
|
1088
|
-
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1089
|
-
width: "16",
|
|
1090
|
-
height: "16",
|
|
1091
|
-
viewBox: "0 0 16 16",
|
|
1092
|
-
fill: "none",
|
|
1093
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1094
|
-
"aria-labelledby": titleId
|
|
1095
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
1096
|
-
id: titleId
|
|
1097
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1098
|
-
fillRule: "evenodd",
|
|
1099
|
-
clipRule: "evenodd",
|
|
1100
|
-
d: "M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v9.6A3.2 3.2 0 0 0 3.2 16h9.6a3.2 3.2 0 0 0 3.2-3.2V3.2A3.2 3.2 0 0 0 12.8 0ZM6.85 10.966c.068.023.14.034.218.034.078 0 .151-.011.219-.034a.515.515 0 0 0 .19-.114l5.363-4.94A.496.496 0 0 0 13 5.53a.496.496 0 0 0-.16-.382.589.589 0 0 0-.415-.148.59.59 0 0 0-.416.148l-4.94 4.55-2.085-1.92a.579.579 0 0 0-.408-.147.579.579 0 0 0-.408.148A.52.52 0 0 0 4 8.16a.476.476 0 0 0 .154.383l2.506 2.308a.515.515 0 0 0 .19.114Z",
|
|
1101
|
-
fill: "#00236A"
|
|
1102
|
-
}));
|
|
1103
|
-
|
|
1104
|
-
const SingleCheckbox = ({
|
|
1105
|
-
checked
|
|
1106
|
-
}) => {
|
|
1107
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
1108
|
-
style: {
|
|
1109
|
-
marginRight: '9px'
|
|
1110
|
-
}
|
|
1111
|
-
}, checked ? /*#__PURE__*/React__default.createElement(SvgCheckboxChecked, null) : /*#__PURE__*/React__default.createElement(SvgCheckboxUnchecked, null));
|
|
1112
|
-
};
|
|
1113
|
-
SingleCheckbox.propTypes = {
|
|
1114
|
-
checked: PropTypes.bool
|
|
1115
|
-
};
|
|
1116
|
-
|
|
1117
1151
|
const SvgArrow = ({
|
|
1118
1152
|
title,
|
|
1119
1153
|
titleId,
|
|
1154
|
+
fillColor,
|
|
1120
1155
|
...props
|
|
1121
1156
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1122
1157
|
width: "15",
|
|
@@ -1129,7 +1164,7 @@ const SvgArrow = ({
|
|
|
1129
1164
|
id: titleId
|
|
1130
1165
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1131
1166
|
d: "M7.988 8a.997.997 0 0 1-.64-.23l-5.989-5a1.002 1.002 0 0 1 .548-1.767.998.998 0 0 1 .73.227l5.35 4.48 5.351-4.32a.997.997 0 0 1 1.408.15 1 1 0 0 1-.14 1.46l-5.99 4.83a.997.997 0 0 1-.628.17Z",
|
|
1132
|
-
fill:
|
|
1167
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
1133
1168
|
}));
|
|
1134
1169
|
|
|
1135
1170
|
var css_248z$9 = ".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:9}.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}}";
|
|
@@ -1145,8 +1180,10 @@ const Select = ({
|
|
|
1145
1180
|
keyNames,
|
|
1146
1181
|
selected,
|
|
1147
1182
|
className,
|
|
1183
|
+
marginTop,
|
|
1148
1184
|
arrowIcon,
|
|
1149
1185
|
closeIcon,
|
|
1186
|
+
errorZindex,
|
|
1150
1187
|
errorMessage,
|
|
1151
1188
|
defaultOption,
|
|
1152
1189
|
multipleCheckbox,
|
|
@@ -1296,7 +1333,10 @@ const Select = ({
|
|
|
1296
1333
|
}
|
|
1297
1334
|
}, [options, multiple, selected, selected?.length]);
|
|
1298
1335
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
1299
|
-
className: classProps
|
|
1336
|
+
className: classProps,
|
|
1337
|
+
style: {
|
|
1338
|
+
position: 'relative'
|
|
1339
|
+
}
|
|
1300
1340
|
}, label ? /*#__PURE__*/React__default.createElement("label", {
|
|
1301
1341
|
style: {
|
|
1302
1342
|
color: labelColor ? labelColor : configStyles.SELECT.labelColor,
|
|
@@ -1394,8 +1434,11 @@ const Select = ({
|
|
|
1394
1434
|
}) : '', option[keyNames.name]);
|
|
1395
1435
|
}))) : null)), errorMessage ? /*#__PURE__*/React__default.createElement("span", {
|
|
1396
1436
|
style: {
|
|
1437
|
+
position: 'absolute',
|
|
1397
1438
|
color: errorColor ? errorColor : configStyles.SELECT.errorColor,
|
|
1398
|
-
fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize
|
|
1439
|
+
fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize,
|
|
1440
|
+
zIndex: errorZindex ? errorZindex : configStyles.SELECT.errorZindex,
|
|
1441
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`
|
|
1399
1442
|
}
|
|
1400
1443
|
}, errorMessage) : '');
|
|
1401
1444
|
};
|
|
@@ -1407,9 +1450,11 @@ Select.propTypes = {
|
|
|
1407
1450
|
disabled: PropTypes.bool,
|
|
1408
1451
|
selected: PropTypes.array,
|
|
1409
1452
|
keyNames: PropTypes.object,
|
|
1453
|
+
marginTop: PropTypes.string,
|
|
1410
1454
|
className: PropTypes.string,
|
|
1411
1455
|
arrowIcon: PropTypes.element,
|
|
1412
1456
|
closeIcon: PropTypes.element,
|
|
1457
|
+
errorZindex: PropTypes.number,
|
|
1413
1458
|
errorMessage: PropTypes.string,
|
|
1414
1459
|
defaultOption: PropTypes.string,
|
|
1415
1460
|
multipleCheckbox: PropTypes.bool,
|
|
@@ -1456,6 +1501,7 @@ Select.propTypes = {
|
|
|
1456
1501
|
const SvgToasterInfo = ({
|
|
1457
1502
|
title,
|
|
1458
1503
|
titleId,
|
|
1504
|
+
fillColor,
|
|
1459
1505
|
...props
|
|
1460
1506
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1461
1507
|
width: "24",
|
|
@@ -1468,12 +1514,13 @@ const SvgToasterInfo = ({
|
|
|
1468
1514
|
id: titleId
|
|
1469
1515
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1470
1516
|
d: "M12 18c.34 0 .625-.115.856-.346.23-.23.345-.515.344-.854v-4.83c0-.34-.115-.62-.346-.84A1.19 1.19 0 0 0 12 10.8c-.34 0-.625.115-.856.346-.23.23-.345.515-.344.854v4.83c0 .34.115.62.346.84.23.22.515.33.854.33Zm0-9.6c.34 0 .625-.115.856-.346.23-.23.345-.515.344-.854 0-.34-.115-.625-.346-.856A1.157 1.157 0 0 0 12 6c-.34 0-.625.115-.856.346-.23.23-.345.515-.344.854 0 .34.115.625.346.856.23.23.515.345.854.344ZM12 24c-1.66 0-3.22-.315-4.68-.946a12.137 12.137 0 0 1-3.81-2.564 12.11 12.11 0 0 1-2.564-3.81C.316 15.22 0 13.66 0 12c0-1.66.315-3.22.946-4.68.63-1.46 1.485-2.73 2.564-3.81A12.11 12.11 0 0 1 7.32.946C8.78.316 10.34 0 12 0c1.66 0 3.22.315 4.68.946 1.46.63 2.73 1.485 3.81 2.564a12.127 12.127 0 0 1 2.566 3.81c.63 1.46.945 3.02.944 4.68 0 1.66-.315 3.22-.946 4.68a12.137 12.137 0 0 1-2.564 3.81 12.127 12.127 0 0 1-3.81 2.566c-1.46.63-3.02.945-4.68.944Z",
|
|
1471
|
-
fill:
|
|
1517
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1472
1518
|
}));
|
|
1473
1519
|
|
|
1474
1520
|
const SvgToasterError = ({
|
|
1475
1521
|
title,
|
|
1476
1522
|
titleId,
|
|
1523
|
+
fillColor,
|
|
1477
1524
|
...props
|
|
1478
1525
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1479
1526
|
width: "24",
|
|
@@ -1486,12 +1533,13 @@ const SvgToasterError = ({
|
|
|
1486
1533
|
id: titleId
|
|
1487
1534
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1488
1535
|
d: "M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24Zm0 16a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-11a1 1 0 0 0-.984.82L11 6v7l.016.18a1 1 0 0 0 1.968 0L13 13V6l-.016-.18A1 1 0 0 0 12 5Z",
|
|
1489
|
-
fill:
|
|
1536
|
+
fill: fillColor ? fillColor : '#E00'
|
|
1490
1537
|
}));
|
|
1491
1538
|
|
|
1492
1539
|
const SvgToasterClose = ({
|
|
1493
1540
|
title,
|
|
1494
1541
|
titleId,
|
|
1542
|
+
fillColor,
|
|
1495
1543
|
...props
|
|
1496
1544
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1497
1545
|
width: "18",
|
|
@@ -1504,12 +1552,13 @@ const SvgToasterClose = ({
|
|
|
1504
1552
|
id: titleId
|
|
1505
1553
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1506
1554
|
d: "m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z",
|
|
1507
|
-
fill:
|
|
1555
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
1508
1556
|
}));
|
|
1509
1557
|
|
|
1510
1558
|
const SvgToasterWarning = ({
|
|
1511
1559
|
title,
|
|
1512
1560
|
titleId,
|
|
1561
|
+
fillColor,
|
|
1513
1562
|
...props
|
|
1514
1563
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1515
1564
|
width: "24",
|
|
@@ -1522,12 +1571,13 @@ const SvgToasterWarning = ({
|
|
|
1522
1571
|
id: titleId
|
|
1523
1572
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1524
1573
|
d: "M1.156 21a1.143 1.143 0 0 1-.994-.583 1.285 1.285 0 0 1-.16-.57c-.01-.204.043-.403.16-.597L10.978.583c.117-.194.268-.34.454-.437C11.616.049 11.806 0 12 0c.194 0 .384.049.57.146.185.097.336.243.452.437L23.838 19.25c.116.194.17.394.161.599a1.26 1.26 0 0 1-.161.568 1.14 1.14 0 0 1-.41.423 1.09 1.09 0 0 1-.584.16H1.156ZM12 17.5c.331 0 .61-.112.834-.336.224-.224.336-.5.335-.83 0-.331-.112-.608-.337-.832a1.128 1.128 0 0 0-.832-.335c-.331 0-.609.112-.834.336-.224.224-.336.5-.335.83 0 .33.112.608.337.832.224.224.502.336.832.335Zm0-3.5c.331 0 .61-.112.834-.336.224-.224.336-.5.335-.83v-3.5c0-.331-.112-.608-.337-.832A1.128 1.128 0 0 0 12 8.166c-.331 0-.609.112-.834.336-.224.224-.336.5-.335.83v3.5c0 .33.112.608.337.832.224.224.502.336.832.335Z",
|
|
1525
|
-
fill:
|
|
1574
|
+
fill: fillColor ? fillColor : '#FF8A00'
|
|
1526
1575
|
}));
|
|
1527
1576
|
|
|
1528
1577
|
const SvgToasterSuccess = ({
|
|
1529
1578
|
title,
|
|
1530
1579
|
titleId,
|
|
1580
|
+
fillColor,
|
|
1531
1581
|
...props
|
|
1532
1582
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1533
1583
|
width: "24",
|
|
@@ -1540,7 +1590,7 @@ const SvgToasterSuccess = ({
|
|
|
1540
1590
|
id: titleId
|
|
1541
1591
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1542
1592
|
d: "M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24Zm-1.495 14.367L7.84 11.7a1.028 1.028 0 1 0-1.455 1.455l3.394 3.395a1.024 1.024 0 0 0 1.456 0l7.028-7.03a1.03 1.03 0 1 0-1.453-1.456l-6.304 6.303Z",
|
|
1543
|
-
fill:
|
|
1593
|
+
fill: fillColor ? fillColor : '#0DA574'
|
|
1544
1594
|
}));
|
|
1545
1595
|
|
|
1546
1596
|
var css_248z$8 = "#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}}";
|
|
@@ -1802,6 +1852,7 @@ const Toaster = () => {
|
|
|
1802
1852
|
const SvgTooltip = ({
|
|
1803
1853
|
title,
|
|
1804
1854
|
titleId,
|
|
1855
|
+
fillColor,
|
|
1805
1856
|
...props
|
|
1806
1857
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1807
1858
|
width: "16",
|
|
@@ -1814,7 +1865,7 @@ const SvgTooltip = ({
|
|
|
1814
1865
|
id: titleId
|
|
1815
1866
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1816
1867
|
d: "M8 0a8 8 0 1 0 .001 16.001A8 8 0 0 0 8 0Zm.571 11.857A.143.143 0 0 1 8.43 12H7.57a.143.143 0 0 1-.142-.143V7c0-.079.064-.143.142-.143h.858c.078 0 .142.064.142.143v4.857ZM8 5.714A.857.857 0 0 1 8 4a.857.857 0 0 1 0 1.714Z",
|
|
1817
|
-
fill:
|
|
1868
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
1818
1869
|
}));
|
|
1819
1870
|
|
|
1820
1871
|
var css_248z$7 = ".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}";
|
|
@@ -1916,6 +1967,7 @@ Tooltip.defaultProps = {
|
|
|
1916
1967
|
const SvgCaptchaArrowUp = ({
|
|
1917
1968
|
title,
|
|
1918
1969
|
titleId,
|
|
1970
|
+
fillColor,
|
|
1919
1971
|
...props
|
|
1920
1972
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1921
1973
|
width: "12",
|
|
@@ -1928,12 +1980,13 @@ const SvgCaptchaArrowUp = ({
|
|
|
1928
1980
|
id: titleId
|
|
1929
1981
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1930
1982
|
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",
|
|
1931
|
-
fill:
|
|
1983
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1932
1984
|
}));
|
|
1933
1985
|
|
|
1934
1986
|
const SvgCaptchaArrowDown = ({
|
|
1935
1987
|
title,
|
|
1936
1988
|
titleId,
|
|
1989
|
+
fillColor,
|
|
1937
1990
|
...props
|
|
1938
1991
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1939
1992
|
width: "12",
|
|
@@ -1946,7 +1999,7 @@ const SvgCaptchaArrowDown = ({
|
|
|
1946
1999
|
id: titleId
|
|
1947
2000
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1948
2001
|
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",
|
|
1949
|
-
fill:
|
|
2002
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1950
2003
|
}));
|
|
1951
2004
|
|
|
1952
2005
|
var css_248z$6 = ".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/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/range-arrow-error.svg)}.captcha-module_range-success__VzLPq::-webkit-slider-thumb{-webkit-appearance:none;background-image:url(../../assets/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}";
|
|
@@ -2183,6 +2236,7 @@ function v4(options, buf, offset) {
|
|
|
2183
2236
|
const SvgListItemPdf = ({
|
|
2184
2237
|
title,
|
|
2185
2238
|
titleId,
|
|
2239
|
+
fillColor,
|
|
2186
2240
|
...props
|
|
2187
2241
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2188
2242
|
width: "32",
|
|
@@ -2197,12 +2251,13 @@ const SvgListItemPdf = ({
|
|
|
2197
2251
|
fillRule: "evenodd",
|
|
2198
2252
|
clipRule: "evenodd",
|
|
2199
2253
|
d: "M31.862 10.64c.007.01.015.02.022.027l.116.108v28.328c0 .768-.306 1.505-.852 2.049a2.917 2.917 0 0 1-2.057.848H2.909a2.917 2.917 0 0 1-2.057-.848A2.891 2.891 0 0 1 0 39.103V2.897C0 2.128.306 1.392.852.848A2.917 2.917 0 0 1 2.909 0h18.27l.108.116.03.025.028.026.025.02.026.023L31.79 10.558c.02.018.037.037.052.058l.02.025Zm-1.743 29.486a1.45 1.45 0 0 0 .427-1.022v-8.77H13.95a.716.716 0 0 1-.546-.246l-1.963-2.238H1.455v11.254c.001.383.155.751.427 1.022.273.272.642.425 1.027.426h26.182a1.463 1.463 0 0 0 1.027-.426ZM4.364 17.633c0 .4.324.724.724.724h21.825a.724.724 0 1 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm23.273 3.186c0-.4-.325-.724-.724-.724H15.48a.724.724 0 0 0 0 1.448h11.432c.4 0 .724-.324.724-.724Zm-.724-5.641a.724.724 0 1 0 0-1.449H5.088a.724.724 0 1 0 0 1.449h21.825Zm-22.55-3.91c0 .4.325.723.725.723H16.52a.724.724 0 0 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm17.672-1.345c.272.27.642.423 1.027.425h6.458l-7.913-7.879V8.9c.002.384.155.752.428 1.024ZM10.43 36.013H9.103v2.385H8V32h2.43c.495 0 .916.088 1.261.264.349.172.614.413.796.72.181.305.272.654.272 1.046 0 .413-.09.768-.272 1.064a1.754 1.754 0 0 1-.796.68c-.345.16-.766.238-1.26.238Zm-1.327-3.134v2.259h1.327c.29 0 .525-.047.703-.14a.877.877 0 0 0 .391-.388c.085-.167.128-.357.128-.57 0-.203-.043-.392-.128-.568a.971.971 0 0 0-.39-.43c-.18-.109-.414-.163-.704-.163H9.103Zm6.504 5.52h-1.859V32H15.646c.425 0 .813.072 1.165.215.352.141.655.345.91.611.258.267.455.586.593.958.138.372.206.788.206 1.248v.339c0 .46-.068.876-.206 1.248a2.714 2.714 0 0 1-.593.958 2.662 2.662 0 0 1-.923.61c-.355.141-.752.211-1.191.211Zm0-.875h-.756v-4.645h.795c.285 0 .535.047.752.14.22.094.404.232.554.414a1.8 1.8 0 0 1 .342.672c.08.267.12.573.12.918v.348c0 .445-.07.829-.208 1.151-.134.322-.336.57-.606.743-.267.172-.598.259-.993.259Zm5.124-2.725v-1.92h2.975V32h-4.078v6.398h1.103v-2.724h2.61v-.875h-2.61Z",
|
|
2200
|
-
fill:
|
|
2254
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2201
2255
|
}));
|
|
2202
2256
|
|
|
2203
2257
|
const SvgListItemJpg = ({
|
|
2204
2258
|
title,
|
|
2205
2259
|
titleId,
|
|
2260
|
+
fillColor,
|
|
2206
2261
|
...props
|
|
2207
2262
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2208
2263
|
width: "32",
|
|
@@ -2217,12 +2272,13 @@ const SvgListItemJpg = ({
|
|
|
2217
2272
|
fillRule: "evenodd",
|
|
2218
2273
|
clipRule: "evenodd",
|
|
2219
2274
|
d: "M31.862 10.64c.007.01.015.02.022.027l.116.108v28.328c0 .768-.306 1.505-.852 2.049a2.917 2.917 0 0 1-2.057.848H2.909a2.917 2.917 0 0 1-2.057-.848A2.891 2.891 0 0 1 0 39.103V2.897C0 2.128.306 1.392.852.848A2.917 2.917 0 0 1 2.909 0h18.27l.108.116.03.025.028.026.025.02.026.023L31.79 10.558c.02.018.037.037.052.058l.02.025Zm-1.743 29.486a1.45 1.45 0 0 0 .427-1.022v-8.77H13.95a.716.716 0 0 1-.546-.246l-1.963-2.238H1.455v11.254c.001.383.155.751.427 1.022.273.272.642.425 1.027.426h26.182a1.463 1.463 0 0 0 1.027-.426ZM4.364 17.633c0 .4.324.724.724.724h21.825a.724.724 0 1 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm23.273 3.186c0-.4-.325-.724-.724-.724H15.48a.724.724 0 0 0 0 1.448h11.432c.4 0 .724-.324.724-.724Zm-.724-5.641a.724.724 0 1 0 0-1.449H5.088a.724.724 0 1 0 0 1.449h21.825Zm-22.55-3.91c0 .4.325.723.725.723H16.52a.724.724 0 0 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm17.672-1.345c.272.27.642.423 1.027.425h6.458l-7.913-7.879V8.9c.002.384.155.752.428 1.024Zm2.071 27.737v-2.443h-2.43v.822h1.331v1.27a1.19 1.19 0 0 1-.224.175c-.094.059-.221.11-.382.154a2.579 2.579 0 0 1-.62.062c-.258 0-.489-.047-.694-.14a1.408 1.408 0 0 1-.523-.427 2.062 2.062 0 0 1-.325-.69 3.614 3.614 0 0 1-.11-.936v-.453c0-.346.032-.653.097-.923.064-.27.16-.498.285-.685.13-.188.29-.33.484-.426.193-.097.417-.146.672-.146.296 0 .536.052.72.154.188.1.332.238.431.413.103.176.172.375.207.598h1.081a2.633 2.633 0 0 0-.356-1.055 1.913 1.913 0 0 0-.8-.72c-.343-.176-.776-.264-1.3-.264-.41 0-.778.069-1.104.206a2.204 2.204 0 0 0-.826.598 2.742 2.742 0 0 0-.527.967c-.12.378-.18.809-.18 1.292v.444c0 .486.066.92.197 1.3.132.378.318.7.559.963.243.264.531.464.865.602.334.135.702.202 1.103.202.472 0 .866-.051 1.182-.154.317-.102.57-.224.76-.364a2.13 2.13 0 0 0 .427-.396Zm-13.03-1.094v-4.478h1.099v4.478c0 .425-.091.786-.273 1.085-.181.3-.429.528-.742.686-.314.158-.67.237-1.068.237-.407 0-.77-.069-1.086-.206a1.622 1.622 0 0 1-.738-.633C8.09 37.45 8 37.09 8 36.654h1.107c0 .252.04.455.12.61a.755.755 0 0 0 .342.335c.15.067.324.1.523.1a.99.99 0 0 0 .505-.127.909.909 0 0 0 .352-.382c.085-.17.127-.378.127-.624Zm4.799-.466h-1.327v2.386h-1.103v-6.398h2.43c.495 0 .916.088 1.261.264.349.172.614.413.796.72.181.305.272.654.272 1.046 0 .413-.09.768-.272 1.064a1.753 1.753 0 0 1-.796.68c-.345.159-.766.238-1.261.238Zm-1.327-3.133v2.259h1.327c.29 0 .524-.047.703-.141a.876.876 0 0 0 .391-.387c.085-.167.128-.357.128-.571 0-.202-.043-.391-.128-.567a.97.97 0 0 0-.39-.43c-.18-.109-.414-.163-.704-.163h-1.327Z",
|
|
2220
|
-
fill:
|
|
2275
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2221
2276
|
}));
|
|
2222
2277
|
|
|
2223
2278
|
const SvgListItemPng = ({
|
|
2224
2279
|
title,
|
|
2225
2280
|
titleId,
|
|
2281
|
+
fillColor,
|
|
2226
2282
|
...props
|
|
2227
2283
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2228
2284
|
width: "32",
|
|
@@ -2237,12 +2293,13 @@ const SvgListItemPng = ({
|
|
|
2237
2293
|
fillRule: "evenodd",
|
|
2238
2294
|
clipRule: "evenodd",
|
|
2239
2295
|
d: "m31.873 10.655-.011-.014c-.007-.01-.014-.018-.021-.025a.356.356 0 0 0-.052-.058L21.396.21 21.37.188l-.025-.021a.476.476 0 0 0-.029-.025l-.029-.026L21.178 0H2.91C2.138 0 1.398.305.852.848A2.891 2.891 0 0 0 0 2.897v36.206c0 .768.306 1.505.852 2.049A2.917 2.917 0 0 0 2.909 42h26.182c.771 0 1.511-.305 2.057-.848.546-.544.852-1.28.852-2.049V10.775l-.116-.108a.21.21 0 0 1-.01-.012Zm-1.327 28.449a1.45 1.45 0 0 1-.427 1.022 1.463 1.463 0 0 1-1.028.426H2.91a1.463 1.463 0 0 1-1.027-.426 1.45 1.45 0 0 1-.427-1.022V27.85h9.986l1.963 2.238a.716.716 0 0 0 .546.246h16.596v8.77ZM5.088 18.357a.724.724 0 1 1 0-1.448h21.825a.724.724 0 1 1 0 1.448H5.088Zm21.825 1.738a.724.724 0 0 1 0 1.448H15.48a.724.724 0 0 1 0-1.448h11.432Zm.724-5.641c0 .4-.325.724-.724.724H5.088a.724.724 0 1 1 0-1.449h21.825c.4 0 .724.325.724.725ZM5.088 11.99a.724.724 0 1 1 0-1.448H16.52a.724.724 0 0 1 0 1.449H5.088Zm17.974-1.643A1.451 1.451 0 0 1 21.607 8.9V2.47l7.913 7.878h-6.458ZM9.103 36.012h1.327c.495 0 .916-.079 1.261-.237.349-.158.614-.385.796-.681.181-.296.272-.65.272-1.064 0-.392-.09-.74-.272-1.046a1.85 1.85 0 0 0-.796-.72c-.345-.176-.766-.264-1.26-.264H8v6.398h1.103v-2.386Zm0-.874v-2.26h1.327c.29 0 .525.055.703.163.179.109.31.253.391.431.085.176.128.365.128.567 0 .214-.043.404-.128.571a.877.877 0 0 1-.39.387c-.18.094-.414.14-.704.14H9.103ZM13.7 32h1.09l3.292 5.106a63.566 63.566 0 0 1-.044-1.379V32h.956v6.398h-1.1l-3.303-4.9.002.044c.012.134.02.279.027.435l.018.468c.006.163.009.327.009.49v3.463H13.7V32Zm11.393 5.66v-2.443h-2.43v.822h1.332v1.27a1.19 1.19 0 0 1-.225.175c-.093.059-.22.11-.382.154a2.578 2.578 0 0 1-.62.062c-.257 0-.489-.047-.694-.14a1.408 1.408 0 0 1-.523-.427 2.062 2.062 0 0 1-.325-.69 3.614 3.614 0 0 1-.11-.936v-.453c0-.346.032-.653.097-.923.064-.27.16-.498.285-.685.13-.188.29-.33.484-.426.193-.097.417-.146.672-.146.296 0 .536.052.721.154.188.1.331.238.43.413a1.7 1.7 0 0 1 .207.598h1.081a2.633 2.633 0 0 0-.356-1.055 1.913 1.913 0 0 0-.8-.72c-.342-.176-.776-.264-1.3-.264-.41 0-.778.069-1.103.206a2.204 2.204 0 0 0-.826.598 2.742 2.742 0 0 0-.528.967c-.12.378-.18.809-.18 1.292v.444c0 .486.066.92.198 1.3.132.378.318.7.558.963.243.264.532.464.866.602.334.135.701.202 1.103.202.471 0 .865-.051 1.182-.154.316-.102.57-.224.76-.364.193-.144.335-.276.426-.396Z",
|
|
2240
|
-
fill:
|
|
2296
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2241
2297
|
}));
|
|
2242
2298
|
|
|
2243
2299
|
const SvgListItemJpeg = ({
|
|
2244
2300
|
title,
|
|
2245
2301
|
titleId,
|
|
2302
|
+
fillColor,
|
|
2246
2303
|
...props
|
|
2247
2304
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2248
2305
|
width: "33",
|
|
@@ -2257,12 +2314,13 @@ const SvgListItemJpeg = ({
|
|
|
2257
2314
|
fillRule: "evenodd",
|
|
2258
2315
|
clipRule: "evenodd",
|
|
2259
2316
|
d: "m32.384 10.667-.022-.026-.021-.025a.356.356 0 0 0-.052-.058L21.896.21 21.87.188l-.025-.021-.029-.026a.477.477 0 0 1-.029-.025L21.678 0H3.41c-.771 0-1.511.305-2.057.848A2.891 2.891 0 0 0 .5 2.897v36.206c0 .768.306 1.505.852 2.049A2.917 2.917 0 0 0 3.409 42h26.182c.771 0 1.511-.305 2.057-.848.546-.544.852-1.28.852-2.049V10.775l-.116-.108Zm-1.338 28.437a1.45 1.45 0 0 1-.427 1.022 1.463 1.463 0 0 1-1.028.426H3.41a1.463 1.463 0 0 1-1.027-.426 1.45 1.45 0 0 1-.427-1.022V27.85h9.986l1.963 2.238a.716.716 0 0 0 .546.246h16.596v8.77ZM5.588 18.357a.724.724 0 1 1 0-1.448h21.825a.724.724 0 1 1 0 1.448H5.588Zm21.825 1.738a.724.724 0 0 1 0 1.448H15.98a.724.724 0 0 1 0-1.448h11.432Zm.724-5.641c0 .4-.325.724-.724.724H5.588a.724.724 0 1 1 0-1.449h21.825c.4 0 .724.325.724.725ZM5.588 11.99a.724.724 0 1 1 0-1.448H17.02a.724.724 0 0 1 0 1.449H5.588Zm17.974-1.643A1.451 1.451 0 0 1 22.107 8.9V2.47l7.913 7.878h-6.458ZM8.576 32.088v4.478c0 .246-.042.454-.127.624a.91.91 0 0 1-.352.382.99.99 0 0 1-.505.128c-.2 0-.374-.034-.523-.101a.755.755 0 0 1-.343-.334c-.079-.156-.119-.36-.119-.611H5.5c0 .436.09.797.268 1.08.179.285.425.496.738.634.317.137.679.206 1.086.206.398 0 .754-.079 1.068-.237.313-.158.56-.387.742-.686.182-.299.273-.66.273-1.085v-4.478H8.576Zm3.472 4.012h1.327c.495 0 .915-.079 1.261-.237.349-.158.614-.386.796-.681.181-.296.272-.65.272-1.064 0-.392-.09-.741-.272-1.046a1.849 1.849 0 0 0-.796-.72c-.345-.176-.766-.264-1.261-.264h-2.43v6.398h1.103V36.1Zm0-.874v-2.26h1.327c.29 0 .524.055.703.163a.97.97 0 0 1 .391.431c.085.176.128.365.128.567 0 .214-.043.404-.128.571a.876.876 0 0 1-.39.387c-.18.094-.414.14-.704.14h-1.327Zm14.545.087v2.444c-.09.12-.233.252-.426.395-.19.141-.444.263-.76.365-.317.103-.71.154-1.182.154-.402 0-.77-.068-1.103-.202a2.415 2.415 0 0 1-.866-.602 2.755 2.755 0 0 1-.558-.963 3.964 3.964 0 0 1-.198-1.3v-.444c0-.484.06-.914.18-1.292.123-.381.299-.703.527-.967.229-.264.504-.463.827-.598a2.805 2.805 0 0 1 1.103-.206c.524 0 .958.088 1.3.263.346.173.613.413.8.721.188.308.307.66.356 1.055h-1.08a1.7 1.7 0 0 0-.207-.598 1.046 1.046 0 0 0-.431-.413c-.185-.102-.425-.154-.72-.154-.256 0-.48.049-.673.145a1.271 1.271 0 0 0-.483.426 2.093 2.093 0 0 0-.286.686c-.065.27-.097.577-.097.923v.452c0 .352.037.664.11.937.076.272.185.502.325.69.144.187.318.33.523.426.205.093.437.14.695.14.252 0 .458-.02.62-.061.16-.044.288-.095.381-.154.097-.062.172-.12.225-.176v-1.27h-1.332v-.822h2.43ZM16.7 32.085h3.791v.884h-2.78v1.754h2.618v.875H17.71v2.033h2.781v.884h-3.79v-6.43Z",
|
|
2260
|
-
fill:
|
|
2317
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2261
2318
|
}));
|
|
2262
2319
|
|
|
2263
2320
|
const SvgListItemDelete = ({
|
|
2264
2321
|
title,
|
|
2265
2322
|
titleId,
|
|
2323
|
+
fillColor,
|
|
2266
2324
|
...props
|
|
2267
2325
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2268
2326
|
width: "22",
|
|
@@ -2275,7 +2333,7 @@ const SvgListItemDelete = ({
|
|
|
2275
2333
|
id: titleId
|
|
2276
2334
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
2277
2335
|
d: "M7.071 3.144V.786A.786.786 0 0 1 7.857 0h6.286a.786.786 0 0 1 .786.786v2.358h6.285a.786.786 0 0 1 0 1.572H.786a.786.786 0 1 1 0-1.572H7.07Zm1.572 0h4.714V1.573H8.643v1.571ZM3.143 22a.786.786 0 0 1-.786-.786V4.716h17.286v16.498a.786.786 0 0 1-.786.786H3.143Zm5.5-4.714a.786.786 0 0 0 .786-.786V8.644a.786.786 0 0 0-1.572 0V16.5a.785.785 0 0 0 .786.786Zm4.714 0a.785.785 0 0 0 .786-.786V8.644a.785.785 0 0 0-1.572 0V16.5a.785.785 0 0 0 .786.786Z",
|
|
2278
|
-
fill:
|
|
2336
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2279
2337
|
}));
|
|
2280
2338
|
|
|
2281
2339
|
const FileItem = /*#__PURE__*/React__default.memo(({
|
|
@@ -2435,6 +2493,7 @@ const FileItem = /*#__PURE__*/React__default.memo(({
|
|
|
2435
2493
|
const SvgUpload = ({
|
|
2436
2494
|
title,
|
|
2437
2495
|
titleId,
|
|
2496
|
+
fillColor,
|
|
2438
2497
|
...props
|
|
2439
2498
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2440
2499
|
width: "51",
|
|
@@ -2452,12 +2511,13 @@ const SvgUpload = ({
|
|
|
2452
2511
|
fillRule: "evenodd",
|
|
2453
2512
|
clipRule: "evenodd",
|
|
2454
2513
|
d: "M41.822 17.245c-4.864 0-8.822 3.982-8.822 8.878C33 31.018 36.958 35 41.822 35c4.864 0 8.822-3.982 8.822-8.877 0-4.896-3.959-8.878-8.822-8.878Zm-.536 13.005v-6.689l-3.067 3.22a.69.69 0 0 1-1.01 0 .777.777 0 0 1 0-1.06l4.286-4.5A.71.71 0 0 1 42 21a.684.684 0 0 1 .505.22l4.286 4.5a.777.777 0 0 1 0 1.06.69.69 0 0 1-1.01 0l-3.067-3.22v6.69c0 .414-.32.75-.714.75-.395 0-.714-.336-.714-.75Z",
|
|
2455
|
-
fill:
|
|
2514
|
+
fill: fillColor ? fillColor : '#0DA574'
|
|
2456
2515
|
}));
|
|
2457
2516
|
|
|
2458
2517
|
const SvgRemoveFile = ({
|
|
2459
2518
|
title,
|
|
2460
2519
|
titleId,
|
|
2520
|
+
fillColor,
|
|
2461
2521
|
...props
|
|
2462
2522
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2463
2523
|
width: "26",
|
|
@@ -2475,12 +2535,13 @@ const SvgRemoveFile = ({
|
|
|
2475
2535
|
fill: "#FBFBFB"
|
|
2476
2536
|
}), /*#__PURE__*/React.createElement("path", {
|
|
2477
2537
|
d: "M13 4c.822 0 1.611.296 2.206.826s.95 1.255.99 2.024l.005.15h4c.204 0 .4.073.548.205.148.13.238.31.25.501a.72.72 0 0 1-.185.525.817.817 0 0 1-.52.264l-.093.005h-.68l-.943 10.915a2.75 2.75 0 0 1-.957 1.84 3.114 3.114 0 0 1-2.034.745h-5.173c-.754 0-1.48-.266-2.034-.745a2.75 2.75 0 0 1-.957-1.84L6.478 8.5H5.8a.831.831 0 0 1-.531-.19.736.736 0 0 1-.263-.472L5 7.75c0-.184.072-.361.202-.498a.818.818 0 0 1 .504-.247L5.8 7h4c0-.796.337-1.559.938-2.121A3.312 3.312 0 0 1 13 4Zm-1.8 6.938a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.006.076v6l.006.076c.02.135.09.258.2.348.11.09.25.138.394.138.145 0 .285-.049.395-.138.109-.09.18-.213.2-.348l.005-.076v-6l-.005-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139Zm3.6 0a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.005.076v6l.005.076c.02.135.091.258.2.348.11.09.25.138.394.138.145 0 .286-.049.395-.138.11-.09.18-.213.2-.348l.006-.076v-6l-.006-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139ZM13 5.5a1.66 1.66 0 0 0-1.088.4c-.296.257-.477.61-.508.987L11.4 7h3.2l-.003-.112a1.465 1.465 0 0 0-.508-.988A1.66 1.66 0 0 0 13 5.5Z",
|
|
2478
|
-
fill:
|
|
2538
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
2479
2539
|
}));
|
|
2480
2540
|
|
|
2481
2541
|
const SvgDeleteComponent = ({
|
|
2482
2542
|
title,
|
|
2483
2543
|
titleId,
|
|
2544
|
+
fillColor,
|
|
2484
2545
|
...props
|
|
2485
2546
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2486
2547
|
width: "26",
|
|
@@ -2500,7 +2561,7 @@ const SvgDeleteComponent = ({
|
|
|
2500
2561
|
stroke: "#D1D1D1"
|
|
2501
2562
|
}), /*#__PURE__*/React.createElement("path", {
|
|
2502
2563
|
d: "M13 4c.822 0 1.611.296 2.206.826s.95 1.255.99 2.024l.005.15h4c.204 0 .4.073.548.205.148.13.238.31.25.501a.72.72 0 0 1-.185.525.817.817 0 0 1-.52.264l-.093.005h-.68l-.943 10.915a2.75 2.75 0 0 1-.957 1.84 3.114 3.114 0 0 1-2.034.745h-5.173c-.754 0-1.48-.266-2.034-.745a2.75 2.75 0 0 1-.957-1.84L6.478 8.5H5.8a.831.831 0 0 1-.531-.19.736.736 0 0 1-.263-.472L5 7.75c0-.184.072-.361.202-.498a.818.818 0 0 1 .504-.247L5.8 7h4c0-.796.337-1.559.938-2.121A3.312 3.312 0 0 1 13 4Zm-1.8 6.938a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.006.076v6l.006.076c.02.135.09.258.2.348.11.09.25.138.394.138.145 0 .285-.049.395-.138.109-.09.18-.213.2-.348l.005-.076v-6l-.005-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139Zm3.6 0a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.005.076v6l.005.076c.02.135.091.258.2.348.11.09.25.138.394.138.145 0 .286-.049.395-.138.11-.09.18-.213.2-.348l.006-.076v-6l-.006-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139ZM13 5.5a1.66 1.66 0 0 0-1.088.4c-.296.257-.477.61-.508.987L11.4 7h3.2l-.003-.112a1.465 1.465 0 0 0-.508-.988A1.66 1.66 0 0 0 13 5.5Z",
|
|
2503
|
-
fill:
|
|
2564
|
+
fill: fillColor ? fillColor : '#E00'
|
|
2504
2565
|
}));
|
|
2505
2566
|
|
|
2506
2567
|
const NewFile = ({
|
|
@@ -2509,7 +2570,6 @@ const NewFile = ({
|
|
|
2509
2570
|
name,
|
|
2510
2571
|
color,
|
|
2511
2572
|
label,
|
|
2512
|
-
width,
|
|
2513
2573
|
weight,
|
|
2514
2574
|
height,
|
|
2515
2575
|
radius,
|
|
@@ -2517,6 +2577,7 @@ const NewFile = ({
|
|
|
2517
2577
|
border,
|
|
2518
2578
|
upload,
|
|
2519
2579
|
maxSize,
|
|
2580
|
+
maxWidth,
|
|
2520
2581
|
disabled,
|
|
2521
2582
|
multiple,
|
|
2522
2583
|
required,
|
|
@@ -2701,7 +2762,8 @@ const NewFile = ({
|
|
|
2701
2762
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
2702
2763
|
ref: ref,
|
|
2703
2764
|
style: {
|
|
2704
|
-
width:
|
|
2765
|
+
width: '100%',
|
|
2766
|
+
maxWidth: maxWidth ? maxWidth : configStyles.File.maxWidth
|
|
2705
2767
|
}
|
|
2706
2768
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
2707
2769
|
style: {
|
|
@@ -2852,7 +2914,6 @@ NewFile.propTypes = {
|
|
|
2852
2914
|
or: PropTypes.string,
|
|
2853
2915
|
size: PropTypes.string,
|
|
2854
2916
|
label: PropTypes.string,
|
|
2855
|
-
width: PropTypes.string,
|
|
2856
2917
|
color: PropTypes.string,
|
|
2857
2918
|
height: PropTypes.string,
|
|
2858
2919
|
disabled: PropTypes.bool,
|
|
@@ -2862,6 +2923,7 @@ NewFile.propTypes = {
|
|
|
2862
2923
|
upload: PropTypes.string,
|
|
2863
2924
|
weight: PropTypes.number,
|
|
2864
2925
|
maxSize: PropTypes.number,
|
|
2926
|
+
maxWidth: PropTypes.string,
|
|
2865
2927
|
removeFile: PropTypes.func,
|
|
2866
2928
|
errorSize: PropTypes.string,
|
|
2867
2929
|
labelSize: PropTypes.string,
|
|
@@ -3003,29 +3065,30 @@ const Textarea = ({
|
|
|
3003
3065
|
value,
|
|
3004
3066
|
height,
|
|
3005
3067
|
resize,
|
|
3006
|
-
border,
|
|
3007
3068
|
radius,
|
|
3008
3069
|
padding,
|
|
3009
3070
|
required,
|
|
3010
3071
|
onChange,
|
|
3011
3072
|
minWidth,
|
|
3012
3073
|
maxWidth,
|
|
3074
|
+
boxShadow,
|
|
3013
3075
|
minHeight,
|
|
3014
3076
|
maxHeight,
|
|
3015
3077
|
boxSizing,
|
|
3016
3078
|
maxLength,
|
|
3017
3079
|
labelSize,
|
|
3018
3080
|
errorSize,
|
|
3081
|
+
marginTop,
|
|
3019
3082
|
labelColor,
|
|
3020
3083
|
errorColor,
|
|
3021
|
-
borderColor,
|
|
3022
3084
|
labelWeight,
|
|
3023
3085
|
placeholder,
|
|
3024
3086
|
labelDisplay,
|
|
3025
|
-
|
|
3087
|
+
errorMessage,
|
|
3026
3088
|
backgroundColor,
|
|
3027
3089
|
borderFocusColor,
|
|
3028
3090
|
borderHoverColor,
|
|
3091
|
+
labelMarginBottom,
|
|
3029
3092
|
showCharacterCount,
|
|
3030
3093
|
labelRequiredColor
|
|
3031
3094
|
}) => {
|
|
@@ -3075,12 +3138,12 @@ const Textarea = ({
|
|
|
3075
3138
|
setInnerValue(value);
|
|
3076
3139
|
}, [value, onChange]);
|
|
3077
3140
|
useEffect(() => {
|
|
3078
|
-
if (
|
|
3079
|
-
setError(
|
|
3141
|
+
if (errorMessage) {
|
|
3142
|
+
setError(errorMessage);
|
|
3080
3143
|
} else {
|
|
3081
3144
|
setError('');
|
|
3082
3145
|
}
|
|
3083
|
-
}, [
|
|
3146
|
+
}, [errorMessage]);
|
|
3084
3147
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
3085
3148
|
style: {
|
|
3086
3149
|
width: width ? width : configStyles.TEXTAREA.width
|
|
@@ -3089,7 +3152,8 @@ const Textarea = ({
|
|
|
3089
3152
|
style: {
|
|
3090
3153
|
display: 'flex',
|
|
3091
3154
|
alignItems: 'center',
|
|
3092
|
-
justifyContent: label ? 'space-between' : 'flex-end'
|
|
3155
|
+
justifyContent: label ? 'space-between' : 'flex-end',
|
|
3156
|
+
marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.TEXTAREA.labelMarginBottom
|
|
3093
3157
|
}
|
|
3094
3158
|
}, label ? /*#__PURE__*/React__default.createElement("label", {
|
|
3095
3159
|
style: {
|
|
@@ -3110,11 +3174,11 @@ const Textarea = ({
|
|
|
3110
3174
|
}, maxLength - value.length, " \u0576\u056B\u0577")), /*#__PURE__*/React__default.createElement("textarea", {
|
|
3111
3175
|
style: {
|
|
3112
3176
|
width: '100%',
|
|
3177
|
+
border: 'none',
|
|
3113
3178
|
outline: 'none',
|
|
3114
3179
|
overflow: 'auto',
|
|
3115
3180
|
fontSize: size ? size : configStyles.TEXTAREA.size,
|
|
3116
3181
|
height: height ? height : configStyles.TEXTAREA.height,
|
|
3117
|
-
border: border ? border : configStyles.TEXTAREA.border,
|
|
3118
3182
|
padding: padding ? padding : configStyles.TEXTAREA.padding,
|
|
3119
3183
|
borderRadius: radius ? radius : configStyles.TEXTAREA.radius,
|
|
3120
3184
|
minWidth: minWidth ? minWidth : configStyles.TEXTAREA.minWidth,
|
|
@@ -3123,7 +3187,7 @@ const Textarea = ({
|
|
|
3123
3187
|
maxHeight: maxHeight ? maxHeight : configStyles.TEXTAREA.maxHeight,
|
|
3124
3188
|
boxSizing: boxSizing ? boxSizing : configStyles.TEXTAREA.boxSizing,
|
|
3125
3189
|
backgroundColor: backgroundColor ? backgroundColor : configStyles.TEXTAREA.backgroundColor,
|
|
3126
|
-
|
|
3190
|
+
boxShadow: error ? errorColor ? `0 0 0 2px ${errorColor}` : `0 0 0 2px ${configStyles.TEXTAREA.errorColor}` : isFocus ? borderFocusColor ? `0 0 0 2px ${borderFocusColor}` : `0 0 0 2px ${configStyles.TEXTAREA.borderFocusColor}` : isHover ? borderHoverColor ? `0 0 0 2px ${borderHoverColor}` : `0 0 0 2px ${configStyles.TEXTAREA.borderHoverColor}` : boxShadow ? boxShadow : configStyles.INPUT.boxShadow,
|
|
3127
3191
|
resize: resize ? resize : configStyles.TEXTAREA.resize
|
|
3128
3192
|
},
|
|
3129
3193
|
value: innerValue,
|
|
@@ -3135,10 +3199,10 @@ const Textarea = ({
|
|
|
3135
3199
|
onMouseLeave: handleMouseLeave
|
|
3136
3200
|
}), error ? /*#__PURE__*/React__default.createElement("span", {
|
|
3137
3201
|
style: {
|
|
3138
|
-
marginTop: '6px',
|
|
3139
3202
|
display: 'inline-block',
|
|
3140
3203
|
fontSize: errorSize ? errorSize : configStyles.TEXTAREA.errorSize,
|
|
3141
|
-
color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor
|
|
3204
|
+
color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor,
|
|
3205
|
+
marginTop: marginTop ? marginTop : configStyles.TEXTAREA.marginTop
|
|
3142
3206
|
}
|
|
3143
3207
|
}, error) : '');
|
|
3144
3208
|
};
|
|
@@ -3148,27 +3212,31 @@ Textarea.propTypes = {
|
|
|
3148
3212
|
width: PropTypes.string,
|
|
3149
3213
|
height: PropTypes.string,
|
|
3150
3214
|
resize: PropTypes.string,
|
|
3151
|
-
border: PropTypes.string,
|
|
3152
3215
|
radius: PropTypes.string,
|
|
3153
3216
|
required: PropTypes.bool,
|
|
3154
3217
|
padding: PropTypes.string,
|
|
3155
3218
|
minWidth: PropTypes.string,
|
|
3156
3219
|
maxWidth: PropTypes.string,
|
|
3220
|
+
boxShadow: PropTypes.string,
|
|
3221
|
+
marginTop: PropTypes.string,
|
|
3157
3222
|
boxSizing: PropTypes.string,
|
|
3158
3223
|
minHeight: PropTypes.string,
|
|
3159
3224
|
maxHeight: PropTypes.string,
|
|
3160
3225
|
maxLength: PropTypes.number,
|
|
3161
3226
|
labelSize: PropTypes.string,
|
|
3227
|
+
errorSize: PropTypes.string,
|
|
3162
3228
|
labelColor: PropTypes.string,
|
|
3229
|
+
errorColor: PropTypes.string,
|
|
3163
3230
|
labelWeight: PropTypes.string,
|
|
3164
|
-
borderColor: PropTypes.string,
|
|
3165
3231
|
placeholder: PropTypes.string,
|
|
3232
|
+
errorMessage: PropTypes.string,
|
|
3166
3233
|
labelDisplay: PropTypes.string,
|
|
3167
3234
|
backgroundColor: PropTypes.string,
|
|
3168
3235
|
showCharacterCount: PropTypes.bool,
|
|
3169
3236
|
value: PropTypes.string.isRequired,
|
|
3170
3237
|
borderFocusColor: PropTypes.string,
|
|
3171
3238
|
borderHoverColor: PropTypes.string,
|
|
3239
|
+
labelMarginBottom: PropTypes.string,
|
|
3172
3240
|
onChange: PropTypes.func.isRequired,
|
|
3173
3241
|
labelRequiredColor: PropTypes.string
|
|
3174
3242
|
};
|
|
@@ -3327,6 +3395,7 @@ const PaginationRange = ({
|
|
|
3327
3395
|
const SvgDots = ({
|
|
3328
3396
|
title,
|
|
3329
3397
|
titleId,
|
|
3398
|
+
fillColor,
|
|
3330
3399
|
...props
|
|
3331
3400
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
3332
3401
|
width: "11",
|
|
@@ -3339,12 +3408,13 @@ const SvgDots = ({
|
|
|
3339
3408
|
id: titleId
|
|
3340
3409
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
3341
3410
|
d: "M.23 1.136C.23.742.326.464.518.304c.192-.16.421-.24.688-.24.277 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256C.326 1.798.23 1.52.23 1.136Zm4.281 0c0-.394.096-.672.288-.832.192-.16.422-.24.688-.24.278 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.426.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Zm4.282 0c0-.394.096-.672.288-.832.192-.16.421-.24.688-.24.277 0 .512.08.704.24.202.16.304.438.304.832 0 .384-.102.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Z",
|
|
3342
|
-
fill:
|
|
3411
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
3343
3412
|
}));
|
|
3344
3413
|
|
|
3345
3414
|
const SvgNextarrow = ({
|
|
3346
3415
|
title,
|
|
3347
3416
|
titleId,
|
|
3417
|
+
fillColor,
|
|
3348
3418
|
...props
|
|
3349
3419
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
3350
3420
|
width: "6",
|
|
@@ -3357,7 +3427,7 @@ const SvgNextarrow = ({
|
|
|
3357
3427
|
id: titleId
|
|
3358
3428
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
3359
3429
|
d: "M.851 11.998a.847.847 0 0 1-.847-.776.86.86 0 0 1 .193-.626l3.808-4.584L.333 1.419A.857.857 0 0 1 .46.213a.849.849 0 0 1 1.241.128l4.106 5.132a.859.859 0 0 1 0 1.086l-4.25 5.132a.85.85 0 0 1-.706.307Z",
|
|
3360
|
-
fill:
|
|
3430
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
3361
3431
|
}));
|
|
3362
3432
|
|
|
3363
3433
|
const Pagination = ({
|
|
@@ -3671,6 +3741,7 @@ const NewAutocomplete = ({
|
|
|
3671
3741
|
selected,
|
|
3672
3742
|
errorSize,
|
|
3673
3743
|
labelSize,
|
|
3744
|
+
marginTop,
|
|
3674
3745
|
errorColor,
|
|
3675
3746
|
labelColor,
|
|
3676
3747
|
labelWeight,
|
|
@@ -3828,11 +3899,12 @@ const NewAutocomplete = ({
|
|
|
3828
3899
|
backgroundColor: contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor
|
|
3829
3900
|
}
|
|
3830
3901
|
}, item.name);
|
|
3831
|
-
}))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default.createElement("
|
|
3902
|
+
}))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default.createElement("span", {
|
|
3832
3903
|
style: {
|
|
3833
|
-
|
|
3904
|
+
position: 'absolute',
|
|
3834
3905
|
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
3835
3906
|
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
3907
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
3836
3908
|
height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
3837
3909
|
padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
|
|
3838
3910
|
lineHeight: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
@@ -3918,10 +3990,11 @@ const NewAutocomplete = ({
|
|
|
3918
3990
|
}
|
|
3919
3991
|
}, props)), errorMessage ? /*#__PURE__*/React__default.createElement("span", {
|
|
3920
3992
|
style: {
|
|
3921
|
-
|
|
3922
|
-
|
|
3993
|
+
left: '0px',
|
|
3994
|
+
position: 'absolute',
|
|
3923
3995
|
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
3924
3996
|
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
3997
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
3925
3998
|
maxWidth: contentTopMaxWidth ? contentTopMaxWidth : configStyles.NEWAUTOCOMPLETE.contentTopMaxWidth
|
|
3926
3999
|
}
|
|
3927
4000
|
}, errorMessage) : '', optionList));
|
|
@@ -3932,6 +4005,7 @@ NewAutocomplete.propTypes = {
|
|
|
3932
4005
|
disabled: PropTypes.bool,
|
|
3933
4006
|
selected: PropTypes.string,
|
|
3934
4007
|
errorSize: PropTypes.string,
|
|
4008
|
+
marginTop: PropTypes.string,
|
|
3935
4009
|
labelSize: PropTypes.string,
|
|
3936
4010
|
errorColor: PropTypes.string,
|
|
3937
4011
|
labelColor: PropTypes.string,
|