@xaypay/tui 0.0.81 → 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 +210 -135
- package/dist/index.js +210 -135
- package/package.json +1 -1
- 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 +26 -15
- package/src/components/modal/modal.stories.js +1 -1
- package/src/components/newAutocomplete/index.js +9 -5
- package/src/components/select/index.js +9 -2
- package/src/components/singleCheckbox/index.js +27 -5
- package/src/components/table/index.js +28 -11
- package/src/components/table/table.stories.js +382 -256
- package/src/components/table/td.js +26 -8
- package/src/components/table/th.js +28 -5
- 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 +17 -6
package/dist/index.js
CHANGED
|
@@ -53,6 +53,7 @@ function _extends() {
|
|
|
53
53
|
const SvgPdf = ({
|
|
54
54
|
title,
|
|
55
55
|
titleId,
|
|
56
|
+
fillColor,
|
|
56
57
|
...props
|
|
57
58
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
58
59
|
width: "40",
|
|
@@ -65,7 +66,7 @@ const SvgPdf = ({
|
|
|
65
66
|
id: titleId
|
|
66
67
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
67
68
|
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:
|
|
69
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
69
70
|
}));
|
|
70
71
|
|
|
71
72
|
function styleInject(css, ref) {
|
|
@@ -219,6 +220,84 @@ File.defaultProps = {
|
|
|
219
220
|
fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
|
|
220
221
|
};
|
|
221
222
|
|
|
223
|
+
const SvgCheckboxUnchecked = ({
|
|
224
|
+
title,
|
|
225
|
+
titleId,
|
|
226
|
+
fillColor,
|
|
227
|
+
...props
|
|
228
|
+
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
229
|
+
width: "16",
|
|
230
|
+
height: "16",
|
|
231
|
+
viewBox: "0 0 16 16",
|
|
232
|
+
fill: "none",
|
|
233
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
234
|
+
"aria-labelledby": titleId
|
|
235
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
236
|
+
id: titleId
|
|
237
|
+
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
238
|
+
fillRule: "evenodd",
|
|
239
|
+
clipRule: "evenodd",
|
|
240
|
+
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",
|
|
241
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
242
|
+
}));
|
|
243
|
+
|
|
244
|
+
const SvgCheckboxChecked = ({
|
|
245
|
+
title,
|
|
246
|
+
titleId,
|
|
247
|
+
fillColor,
|
|
248
|
+
...props
|
|
249
|
+
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
250
|
+
width: "16",
|
|
251
|
+
height: "16",
|
|
252
|
+
viewBox: "0 0 16 16",
|
|
253
|
+
fill: "none",
|
|
254
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
255
|
+
"aria-labelledby": titleId
|
|
256
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
257
|
+
id: titleId
|
|
258
|
+
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
259
|
+
fillRule: "evenodd",
|
|
260
|
+
clipRule: "evenodd",
|
|
261
|
+
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",
|
|
262
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
263
|
+
}));
|
|
264
|
+
|
|
265
|
+
const SingleCheckbox = ({
|
|
266
|
+
id,
|
|
267
|
+
float,
|
|
268
|
+
checked,
|
|
269
|
+
onClick,
|
|
270
|
+
content,
|
|
271
|
+
disabled,
|
|
272
|
+
checkedColor,
|
|
273
|
+
unCheckedColor
|
|
274
|
+
}) => {
|
|
275
|
+
const [innerCheckd, setInnerChecked] = React.useState(false);
|
|
276
|
+
React.useEffect(() => {
|
|
277
|
+
setInnerChecked(checked);
|
|
278
|
+
}, [checked]);
|
|
279
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
280
|
+
style: {
|
|
281
|
+
width: '16px',
|
|
282
|
+
height: '16px',
|
|
283
|
+
marginRight: '9px',
|
|
284
|
+
display: 'inline-block',
|
|
285
|
+
float: float ? float : '',
|
|
286
|
+
cursor: !disabled && onClick ? 'pointer' : 'normal'
|
|
287
|
+
}
|
|
288
|
+
}, innerCheckd ? /*#__PURE__*/React__default["default"].createElement(SvgCheckboxChecked, {
|
|
289
|
+
onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
|
|
290
|
+
fillColor: checkedColor ? checkedColor : ''
|
|
291
|
+
}) : /*#__PURE__*/React__default["default"].createElement(SvgCheckboxUnchecked, {
|
|
292
|
+
onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
|
|
293
|
+
fillColor: unCheckedColor ? unCheckedColor : ''
|
|
294
|
+
}));
|
|
295
|
+
};
|
|
296
|
+
SingleCheckbox.propTypes = {
|
|
297
|
+
disabled: PropTypes__default["default"].bool,
|
|
298
|
+
checked: PropTypes__default["default"].bool.isRequired
|
|
299
|
+
};
|
|
300
|
+
|
|
222
301
|
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}";
|
|
223
302
|
styleInject(css_248z$d);
|
|
224
303
|
|
|
@@ -246,7 +325,8 @@ const compereConfigs = () => {
|
|
|
246
325
|
};
|
|
247
326
|
|
|
248
327
|
({
|
|
249
|
-
|
|
328
|
+
dataBody: PropTypes__default["default"].array,
|
|
329
|
+
dataHeader: PropTypes__default["default"].array,
|
|
250
330
|
tHeadColor: PropTypes__default["default"].string,
|
|
251
331
|
tHeadFamily: PropTypes__default["default"].string,
|
|
252
332
|
tHeadPadding: PropTypes__default["default"].string,
|
|
@@ -259,7 +339,11 @@ const compereConfigs = () => {
|
|
|
259
339
|
tBodyTextAlign: PropTypes__default["default"].string,
|
|
260
340
|
tBodyFontWeight: PropTypes__default["default"].string,
|
|
261
341
|
tBodyFontFamily: PropTypes__default["default"].string,
|
|
262
|
-
tBodyRowBorder: PropTypes__default["default"].string
|
|
342
|
+
tBodyRowBorder: PropTypes__default["default"].string,
|
|
343
|
+
handleCheckedBody: PropTypes__default["default"].func,
|
|
344
|
+
handleCheckedHeader: PropTypes__default["default"].func,
|
|
345
|
+
handleHeaderItemClick: PropTypes__default["default"].func,
|
|
346
|
+
handleBodyActionClick: PropTypes__default["default"].func
|
|
263
347
|
});
|
|
264
348
|
|
|
265
349
|
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)}}";
|
|
@@ -269,6 +353,7 @@ styleInject(css_248z$c);
|
|
|
269
353
|
const SvgNext = ({
|
|
270
354
|
title,
|
|
271
355
|
titleId,
|
|
356
|
+
fillColor,
|
|
272
357
|
...props
|
|
273
358
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
274
359
|
width: "24",
|
|
@@ -283,12 +368,13 @@ const SvgNext = ({
|
|
|
283
368
|
fillRule: "evenodd",
|
|
284
369
|
clipRule: "evenodd",
|
|
285
370
|
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",
|
|
286
|
-
fill:
|
|
371
|
+
fill: fillColor ? fillColor : '#fff'
|
|
287
372
|
}));
|
|
288
373
|
|
|
289
374
|
const SvgPrev = ({
|
|
290
375
|
title,
|
|
291
376
|
titleId,
|
|
377
|
+
fillColor,
|
|
292
378
|
...props
|
|
293
379
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
294
380
|
width: "24",
|
|
@@ -303,12 +389,13 @@ const SvgPrev = ({
|
|
|
303
389
|
fillRule: "evenodd",
|
|
304
390
|
clipRule: "evenodd",
|
|
305
391
|
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",
|
|
306
|
-
fill:
|
|
392
|
+
fill: fillColor ? fillColor : '#fff'
|
|
307
393
|
}));
|
|
308
394
|
|
|
309
395
|
const SvgCloseIcon = ({
|
|
310
396
|
title,
|
|
311
397
|
titleId,
|
|
398
|
+
fillColor,
|
|
312
399
|
...props
|
|
313
400
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
314
401
|
width: "14",
|
|
@@ -321,12 +408,13 @@ const SvgCloseIcon = ({
|
|
|
321
408
|
id: titleId
|
|
322
409
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
323
410
|
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",
|
|
324
|
-
fill:
|
|
411
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
325
412
|
}));
|
|
326
413
|
|
|
327
414
|
const SvgCloseSlide = ({
|
|
328
415
|
title,
|
|
329
416
|
titleId,
|
|
417
|
+
fillColor,
|
|
330
418
|
...props
|
|
331
419
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
332
420
|
width: "18",
|
|
@@ -339,13 +427,15 @@ const SvgCloseSlide = ({
|
|
|
339
427
|
id: titleId
|
|
340
428
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
341
429
|
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",
|
|
342
|
-
fill:
|
|
430
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
343
431
|
}));
|
|
344
432
|
|
|
345
433
|
const Modal = ({
|
|
346
434
|
type,
|
|
347
435
|
data,
|
|
436
|
+
width,
|
|
348
437
|
radius,
|
|
438
|
+
height,
|
|
349
439
|
padding,
|
|
350
440
|
setShow,
|
|
351
441
|
selected,
|
|
@@ -353,13 +443,18 @@ const Modal = ({
|
|
|
353
443
|
minWidth,
|
|
354
444
|
minHeight,
|
|
355
445
|
className,
|
|
446
|
+
mMaxWidth,
|
|
447
|
+
alignItems,
|
|
448
|
+
mMaxHeight,
|
|
356
449
|
headerText,
|
|
357
450
|
imageWidth,
|
|
358
451
|
headerSize,
|
|
359
452
|
imageHeight,
|
|
360
453
|
headerColor,
|
|
454
|
+
outsideClose,
|
|
361
455
|
headerWeight,
|
|
362
456
|
headerHeight,
|
|
457
|
+
justifyContent,
|
|
363
458
|
backgroundColor,
|
|
364
459
|
layerBackgroundColor
|
|
365
460
|
}) => {
|
|
@@ -373,8 +468,7 @@ const Modal = ({
|
|
|
373
468
|
const handleStopClosing = e => {
|
|
374
469
|
e.stopPropagation();
|
|
375
470
|
};
|
|
376
|
-
const handleGoTo =
|
|
377
|
-
const goTo = e.target.getAttribute('data-go');
|
|
471
|
+
const handleGoTo = goTo => {
|
|
378
472
|
if (goTo === 'next') {
|
|
379
473
|
if (select >= data.length - 1) {
|
|
380
474
|
setSelect(0);
|
|
@@ -420,7 +514,7 @@ const Modal = ({
|
|
|
420
514
|
};
|
|
421
515
|
}, []);
|
|
422
516
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
423
|
-
onClick: handleCloseModal,
|
|
517
|
+
onClick: outsideClose || configStyles.MODAL.outsideClose ? handleCloseModal : _ => _,
|
|
424
518
|
style: {
|
|
425
519
|
top: '0px',
|
|
426
520
|
left: '0px',
|
|
@@ -436,24 +530,24 @@ const Modal = ({
|
|
|
436
530
|
display: 'flex',
|
|
437
531
|
width: '100%',
|
|
438
532
|
height: '100vh',
|
|
439
|
-
alignItems:
|
|
440
|
-
justifyContent:
|
|
533
|
+
alignItems: alignItems ? alignItems : configStyles.MODAL.alignItems,
|
|
534
|
+
justifyContent: justifyContent ? justifyContent : configStyles.MODAL.justifyContent
|
|
441
535
|
}
|
|
442
536
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
443
537
|
className: `${classProps} ${styles$a['animation__modal']}`,
|
|
444
538
|
onClick: handleStopClosing,
|
|
445
539
|
style: {
|
|
446
|
-
maxWidth: '95%',
|
|
447
540
|
overflow: 'auto',
|
|
448
|
-
maxHeight: '95vh',
|
|
449
|
-
width: 'fit-content',
|
|
450
|
-
height: 'fit-content',
|
|
451
541
|
boxSizing: 'border-box',
|
|
542
|
+
width: width ? width : configStyles.MODAL.width,
|
|
543
|
+
height: height ? height : configStyles.MODAL.height,
|
|
452
544
|
borderRadius: radius ? radius : configStyles.MODAL.radius,
|
|
453
|
-
|
|
454
|
-
|
|
545
|
+
maxWidth: mMaxWidth ? mMaxWidth : configStyles.MODAL.mMaxWidth,
|
|
546
|
+
maxHeight: mMaxHeight ? mMaxHeight : configStyles.MODAL.mMaxHeight,
|
|
547
|
+
minWidth: type === 'content' ? minWidth ? minWidth : configStyles.MODAL.minWidth : '',
|
|
455
548
|
padding: type === 'content' ? padding ? padding : configStyles.MODAL.padding : '10px',
|
|
456
|
-
backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor
|
|
549
|
+
backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor,
|
|
550
|
+
minHeight: type === 'content' ? minHeight ? minHeight : configStyles.MODAL.minHeight : ''
|
|
457
551
|
}
|
|
458
552
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
459
553
|
style: {
|
|
@@ -533,8 +627,7 @@ const Modal = ({
|
|
|
533
627
|
}
|
|
534
628
|
}
|
|
535
629
|
}), innerData && innerData.length > 1 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
536
|
-
onClick: handleGoTo,
|
|
537
|
-
"data-go": "prev",
|
|
630
|
+
onClick: _ => handleGoTo('prev'),
|
|
538
631
|
style: {
|
|
539
632
|
position: 'absolute',
|
|
540
633
|
left: '14px',
|
|
@@ -548,8 +641,7 @@ const Modal = ({
|
|
|
548
641
|
backgroundColor: 'transparent'
|
|
549
642
|
}
|
|
550
643
|
}, /*#__PURE__*/React__default["default"].createElement(SvgPrev, null)), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
551
|
-
onClick: handleGoTo,
|
|
552
|
-
"data-go": "next",
|
|
644
|
+
onClick: _ => handleGoTo('next'),
|
|
553
645
|
style: {
|
|
554
646
|
position: 'absolute',
|
|
555
647
|
width: '24px',
|
|
@@ -568,19 +660,26 @@ Modal.propTypes = {
|
|
|
568
660
|
data: PropTypes__default["default"].array,
|
|
569
661
|
type: PropTypes__default["default"].string,
|
|
570
662
|
setShow: PropTypes__default["default"].func,
|
|
663
|
+
width: PropTypes__default["default"].string,
|
|
571
664
|
radius: PropTypes__default["default"].string,
|
|
665
|
+
height: PropTypes__default["default"].string,
|
|
572
666
|
padding: PropTypes__default["default"].string,
|
|
573
667
|
selected: PropTypes__default["default"].number,
|
|
574
668
|
minWidth: PropTypes__default["default"].string,
|
|
669
|
+
mMaxWidth: PropTypes__default["default"].string,
|
|
575
670
|
minHeight: PropTypes__default["default"].string,
|
|
576
671
|
className: PropTypes__default["default"].string,
|
|
672
|
+
alignItems: PropTypes__default["default"].string,
|
|
673
|
+
mMaxHeight: PropTypes__default["default"].string,
|
|
577
674
|
headerText: PropTypes__default["default"].string,
|
|
578
675
|
imageWidth: PropTypes__default["default"].string,
|
|
579
676
|
headerSize: PropTypes__default["default"].string,
|
|
677
|
+
outsideClose: PropTypes__default["default"].bool,
|
|
580
678
|
headerColor: PropTypes__default["default"].string,
|
|
581
679
|
imageHeight: PropTypes__default["default"].string,
|
|
582
680
|
headerWeight: PropTypes__default["default"].string,
|
|
583
681
|
headerHeight: PropTypes__default["default"].string,
|
|
682
|
+
justifyContent: PropTypes__default["default"].string,
|
|
584
683
|
backgroundColor: PropTypes__default["default"].string,
|
|
585
684
|
layerBackgroundColor: PropTypes__default["default"].string
|
|
586
685
|
};
|
|
@@ -597,7 +696,7 @@ const InputTypes = {
|
|
|
597
696
|
TEXT: "text",
|
|
598
697
|
PASSWORD: "password"
|
|
599
698
|
};
|
|
600
|
-
const P = styled__default["default"].
|
|
699
|
+
const P = styled__default["default"].span`
|
|
601
700
|
animation: ${props => props.errorAnimation ? props.animation : 'none'};
|
|
602
701
|
`;
|
|
603
702
|
const Input = ({
|
|
@@ -617,6 +716,7 @@ const Input = ({
|
|
|
617
716
|
leftIcon,
|
|
618
717
|
required,
|
|
619
718
|
disabled,
|
|
719
|
+
marginTop,
|
|
620
720
|
transform,
|
|
621
721
|
iconWidth,
|
|
622
722
|
rightIcon,
|
|
@@ -632,7 +732,6 @@ const Input = ({
|
|
|
632
732
|
borderRight,
|
|
633
733
|
placeholder,
|
|
634
734
|
errorZindex,
|
|
635
|
-
errorBottom,
|
|
636
735
|
labelWeight,
|
|
637
736
|
phoneDisplay,
|
|
638
737
|
errorMessage,
|
|
@@ -687,10 +786,6 @@ const Input = ({
|
|
|
687
786
|
if (!phoneNumberRegex.test(currentValue)) {
|
|
688
787
|
if (currentValue === '') {
|
|
689
788
|
setInnerErrorMessage('');
|
|
690
|
-
setInnerValue('');
|
|
691
|
-
if (change) {
|
|
692
|
-
change('');
|
|
693
|
-
}
|
|
694
789
|
} else {
|
|
695
790
|
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
696
791
|
setInnerValue(prevValue);
|
|
@@ -705,11 +800,6 @@ const Input = ({
|
|
|
705
800
|
if (change) {
|
|
706
801
|
change(currentValue.substr(0, 8));
|
|
707
802
|
}
|
|
708
|
-
} else {
|
|
709
|
-
setInnerValue(currentValue);
|
|
710
|
-
if (change) {
|
|
711
|
-
change(currentValue);
|
|
712
|
-
}
|
|
713
803
|
}
|
|
714
804
|
}
|
|
715
805
|
}
|
|
@@ -750,13 +840,11 @@ const Input = ({
|
|
|
750
840
|
} else {
|
|
751
841
|
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
752
842
|
}
|
|
753
|
-
setInnerValue('');
|
|
754
843
|
} else {
|
|
755
|
-
|
|
756
|
-
|
|
844
|
+
if (value.length < 8) {
|
|
845
|
+
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
846
|
+
} else if (value.length > 8) {
|
|
757
847
|
setInnerValue(value.substr(0, 8));
|
|
758
|
-
} else {
|
|
759
|
-
setInnerValue(value);
|
|
760
848
|
}
|
|
761
849
|
}
|
|
762
850
|
}
|
|
@@ -844,8 +932,8 @@ const Input = ({
|
|
|
844
932
|
padding: padding ? padding : configStyles.INPUT.padding,
|
|
845
933
|
borderRadius: radius ? radius : configStyles.INPUT.radius,
|
|
846
934
|
boxSizing: boxSizing ? boxSizing : configStyles.INPUT.boxSizing,
|
|
847
|
-
|
|
848
|
-
|
|
935
|
+
color: innerErrorMessage && errorColor ? errorColor : color ? color : configStyles.INPUT.color,
|
|
936
|
+
backgroundColor: disabled ? '#FBFBFB' : backgroundColor ? backgroundColor : configStyles.INPUT.backgroundColor
|
|
849
937
|
}
|
|
850
938
|
})), rightIcon && rightIcon.length > 0 ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
851
939
|
onMouseUp: type === 'password' ? _ => setShow(false) : _ => _,
|
|
@@ -866,13 +954,14 @@ const Input = ({
|
|
|
866
954
|
animation: animation,
|
|
867
955
|
style: {
|
|
868
956
|
margin: '0px',
|
|
957
|
+
position: 'absolute',
|
|
958
|
+
width: width ? width : configStyles.INPUT.width,
|
|
869
959
|
left: errorLeft ? errorLeft : configStyles.INPUT.errorLeft,
|
|
870
960
|
color: errorColor ? errorColor : configStyles.INPUT.errorColor,
|
|
871
961
|
fontSize: errorSize ? errorSize : configStyles.INPUT.errorSize,
|
|
872
|
-
bottom: errorBottom ? errorBottom : configStyles.INPUT.errorBottom,
|
|
873
962
|
zIndex: errorZindex ? errorZindex : configStyles.INPUT.errorZindex,
|
|
874
|
-
position: errorPosition ? errorPosition : configStyles.INPUT.errorPosition,
|
|
875
963
|
lineHeight: errorLineHeight ? errorLineHeight : configStyles.INPUT.errorLineHeight,
|
|
964
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
876
965
|
transform: !errorAnimation ? 'scale3d(1,1,1)' : transform ? transform : configStyles.INPUT.transform
|
|
877
966
|
},
|
|
878
967
|
className: errorClassName ? errorClassName : configStyles.INPUT.errorClassName
|
|
@@ -891,6 +980,7 @@ Input.propTypes = {
|
|
|
891
980
|
padding: PropTypes__default["default"].string,
|
|
892
981
|
fontSize: PropTypes__default["default"].string,
|
|
893
982
|
tooltip: PropTypes__default["default"].element,
|
|
983
|
+
marginTop: PropTypes__default["default"].string,
|
|
894
984
|
transform: PropTypes__default["default"].string,
|
|
895
985
|
className: PropTypes__default["default"].string,
|
|
896
986
|
iconWidth: PropTypes__default["default"].string,
|
|
@@ -905,7 +995,6 @@ Input.propTypes = {
|
|
|
905
995
|
borderRight: PropTypes__default["default"].string,
|
|
906
996
|
placeholder: PropTypes__default["default"].string,
|
|
907
997
|
errorZindex: PropTypes__default["default"].string,
|
|
908
|
-
errorBottom: PropTypes__default["default"].string,
|
|
909
998
|
labelWeight: PropTypes__default["default"].string,
|
|
910
999
|
errorMessage: PropTypes__default["default"].string,
|
|
911
1000
|
phoneDisplay: PropTypes__default["default"].string,
|
|
@@ -1089,62 +1178,10 @@ Button.propTypes = {
|
|
|
1089
1178
|
disabledBackgroundColor: PropTypes__default["default"].string
|
|
1090
1179
|
};
|
|
1091
1180
|
|
|
1092
|
-
const SvgCheckboxUnchecked = ({
|
|
1093
|
-
title,
|
|
1094
|
-
titleId,
|
|
1095
|
-
...props
|
|
1096
|
-
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1097
|
-
width: "16",
|
|
1098
|
-
height: "16",
|
|
1099
|
-
viewBox: "0 0 16 16",
|
|
1100
|
-
fill: "none",
|
|
1101
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1102
|
-
"aria-labelledby": titleId
|
|
1103
|
-
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
1104
|
-
id: titleId
|
|
1105
|
-
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1106
|
-
fillRule: "evenodd",
|
|
1107
|
-
clipRule: "evenodd",
|
|
1108
|
-
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",
|
|
1109
|
-
fill: "#D1D1D1"
|
|
1110
|
-
}));
|
|
1111
|
-
|
|
1112
|
-
const SvgCheckboxChecked = ({
|
|
1113
|
-
title,
|
|
1114
|
-
titleId,
|
|
1115
|
-
...props
|
|
1116
|
-
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1117
|
-
width: "16",
|
|
1118
|
-
height: "16",
|
|
1119
|
-
viewBox: "0 0 16 16",
|
|
1120
|
-
fill: "none",
|
|
1121
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1122
|
-
"aria-labelledby": titleId
|
|
1123
|
-
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
1124
|
-
id: titleId
|
|
1125
|
-
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1126
|
-
fillRule: "evenodd",
|
|
1127
|
-
clipRule: "evenodd",
|
|
1128
|
-
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",
|
|
1129
|
-
fill: "#00236A"
|
|
1130
|
-
}));
|
|
1131
|
-
|
|
1132
|
-
const SingleCheckbox = ({
|
|
1133
|
-
checked
|
|
1134
|
-
}) => {
|
|
1135
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1136
|
-
style: {
|
|
1137
|
-
marginRight: '9px'
|
|
1138
|
-
}
|
|
1139
|
-
}, checked ? /*#__PURE__*/React__default["default"].createElement(SvgCheckboxChecked, null) : /*#__PURE__*/React__default["default"].createElement(SvgCheckboxUnchecked, null));
|
|
1140
|
-
};
|
|
1141
|
-
SingleCheckbox.propTypes = {
|
|
1142
|
-
checked: PropTypes__default["default"].bool
|
|
1143
|
-
};
|
|
1144
|
-
|
|
1145
1181
|
const SvgArrow = ({
|
|
1146
1182
|
title,
|
|
1147
1183
|
titleId,
|
|
1184
|
+
fillColor,
|
|
1148
1185
|
...props
|
|
1149
1186
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1150
1187
|
width: "15",
|
|
@@ -1157,7 +1194,7 @@ const SvgArrow = ({
|
|
|
1157
1194
|
id: titleId
|
|
1158
1195
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1159
1196
|
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",
|
|
1160
|
-
fill:
|
|
1197
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
1161
1198
|
}));
|
|
1162
1199
|
|
|
1163
1200
|
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}}";
|
|
@@ -1173,8 +1210,10 @@ const Select = ({
|
|
|
1173
1210
|
keyNames,
|
|
1174
1211
|
selected,
|
|
1175
1212
|
className,
|
|
1213
|
+
marginTop,
|
|
1176
1214
|
arrowIcon,
|
|
1177
1215
|
closeIcon,
|
|
1216
|
+
errorZindex,
|
|
1178
1217
|
errorMessage,
|
|
1179
1218
|
defaultOption,
|
|
1180
1219
|
multipleCheckbox,
|
|
@@ -1324,7 +1363,10 @@ const Select = ({
|
|
|
1324
1363
|
}
|
|
1325
1364
|
}, [options, multiple, selected, selected?.length]);
|
|
1326
1365
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1327
|
-
className: classProps
|
|
1366
|
+
className: classProps,
|
|
1367
|
+
style: {
|
|
1368
|
+
position: 'relative'
|
|
1369
|
+
}
|
|
1328
1370
|
}, label ? /*#__PURE__*/React__default["default"].createElement("label", {
|
|
1329
1371
|
style: {
|
|
1330
1372
|
color: labelColor ? labelColor : configStyles.SELECT.labelColor,
|
|
@@ -1422,8 +1464,11 @@ const Select = ({
|
|
|
1422
1464
|
}) : '', option[keyNames.name]);
|
|
1423
1465
|
}))) : null)), errorMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1424
1466
|
style: {
|
|
1467
|
+
position: 'absolute',
|
|
1425
1468
|
color: errorColor ? errorColor : configStyles.SELECT.errorColor,
|
|
1426
|
-
fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize
|
|
1469
|
+
fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize,
|
|
1470
|
+
zIndex: errorZindex ? errorZindex : configStyles.SELECT.errorZindex,
|
|
1471
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`
|
|
1427
1472
|
}
|
|
1428
1473
|
}, errorMessage) : '');
|
|
1429
1474
|
};
|
|
@@ -1435,9 +1480,11 @@ Select.propTypes = {
|
|
|
1435
1480
|
disabled: PropTypes__default["default"].bool,
|
|
1436
1481
|
selected: PropTypes__default["default"].array,
|
|
1437
1482
|
keyNames: PropTypes__default["default"].object,
|
|
1483
|
+
marginTop: PropTypes__default["default"].string,
|
|
1438
1484
|
className: PropTypes__default["default"].string,
|
|
1439
1485
|
arrowIcon: PropTypes__default["default"].element,
|
|
1440
1486
|
closeIcon: PropTypes__default["default"].element,
|
|
1487
|
+
errorZindex: PropTypes__default["default"].number,
|
|
1441
1488
|
errorMessage: PropTypes__default["default"].string,
|
|
1442
1489
|
defaultOption: PropTypes__default["default"].string,
|
|
1443
1490
|
multipleCheckbox: PropTypes__default["default"].bool,
|
|
@@ -1484,6 +1531,7 @@ Select.propTypes = {
|
|
|
1484
1531
|
const SvgToasterInfo = ({
|
|
1485
1532
|
title,
|
|
1486
1533
|
titleId,
|
|
1534
|
+
fillColor,
|
|
1487
1535
|
...props
|
|
1488
1536
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1489
1537
|
width: "24",
|
|
@@ -1496,12 +1544,13 @@ const SvgToasterInfo = ({
|
|
|
1496
1544
|
id: titleId
|
|
1497
1545
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1498
1546
|
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",
|
|
1499
|
-
fill:
|
|
1547
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1500
1548
|
}));
|
|
1501
1549
|
|
|
1502
1550
|
const SvgToasterError = ({
|
|
1503
1551
|
title,
|
|
1504
1552
|
titleId,
|
|
1553
|
+
fillColor,
|
|
1505
1554
|
...props
|
|
1506
1555
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1507
1556
|
width: "24",
|
|
@@ -1514,12 +1563,13 @@ const SvgToasterError = ({
|
|
|
1514
1563
|
id: titleId
|
|
1515
1564
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1516
1565
|
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",
|
|
1517
|
-
fill:
|
|
1566
|
+
fill: fillColor ? fillColor : '#E00'
|
|
1518
1567
|
}));
|
|
1519
1568
|
|
|
1520
1569
|
const SvgToasterClose = ({
|
|
1521
1570
|
title,
|
|
1522
1571
|
titleId,
|
|
1572
|
+
fillColor,
|
|
1523
1573
|
...props
|
|
1524
1574
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1525
1575
|
width: "18",
|
|
@@ -1532,12 +1582,13 @@ const SvgToasterClose = ({
|
|
|
1532
1582
|
id: titleId
|
|
1533
1583
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1534
1584
|
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",
|
|
1535
|
-
fill:
|
|
1585
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
1536
1586
|
}));
|
|
1537
1587
|
|
|
1538
1588
|
const SvgToasterWarning = ({
|
|
1539
1589
|
title,
|
|
1540
1590
|
titleId,
|
|
1591
|
+
fillColor,
|
|
1541
1592
|
...props
|
|
1542
1593
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1543
1594
|
width: "24",
|
|
@@ -1550,12 +1601,13 @@ const SvgToasterWarning = ({
|
|
|
1550
1601
|
id: titleId
|
|
1551
1602
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1552
1603
|
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",
|
|
1553
|
-
fill:
|
|
1604
|
+
fill: fillColor ? fillColor : '#FF8A00'
|
|
1554
1605
|
}));
|
|
1555
1606
|
|
|
1556
1607
|
const SvgToasterSuccess = ({
|
|
1557
1608
|
title,
|
|
1558
1609
|
titleId,
|
|
1610
|
+
fillColor,
|
|
1559
1611
|
...props
|
|
1560
1612
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1561
1613
|
width: "24",
|
|
@@ -1568,7 +1620,7 @@ const SvgToasterSuccess = ({
|
|
|
1568
1620
|
id: titleId
|
|
1569
1621
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1570
1622
|
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",
|
|
1571
|
-
fill:
|
|
1623
|
+
fill: fillColor ? fillColor : '#0DA574'
|
|
1572
1624
|
}));
|
|
1573
1625
|
|
|
1574
1626
|
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}}";
|
|
@@ -1830,6 +1882,7 @@ const Toaster = () => {
|
|
|
1830
1882
|
const SvgTooltip = ({
|
|
1831
1883
|
title,
|
|
1832
1884
|
titleId,
|
|
1885
|
+
fillColor,
|
|
1833
1886
|
...props
|
|
1834
1887
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1835
1888
|
width: "16",
|
|
@@ -1842,7 +1895,7 @@ const SvgTooltip = ({
|
|
|
1842
1895
|
id: titleId
|
|
1843
1896
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1844
1897
|
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",
|
|
1845
|
-
fill:
|
|
1898
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
1846
1899
|
}));
|
|
1847
1900
|
|
|
1848
1901
|
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}";
|
|
@@ -1944,6 +1997,7 @@ Tooltip.defaultProps = {
|
|
|
1944
1997
|
const SvgCaptchaArrowUp = ({
|
|
1945
1998
|
title,
|
|
1946
1999
|
titleId,
|
|
2000
|
+
fillColor,
|
|
1947
2001
|
...props
|
|
1948
2002
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1949
2003
|
width: "12",
|
|
@@ -1956,12 +2010,13 @@ const SvgCaptchaArrowUp = ({
|
|
|
1956
2010
|
id: titleId
|
|
1957
2011
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1958
2012
|
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",
|
|
1959
|
-
fill:
|
|
2013
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1960
2014
|
}));
|
|
1961
2015
|
|
|
1962
2016
|
const SvgCaptchaArrowDown = ({
|
|
1963
2017
|
title,
|
|
1964
2018
|
titleId,
|
|
2019
|
+
fillColor,
|
|
1965
2020
|
...props
|
|
1966
2021
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1967
2022
|
width: "12",
|
|
@@ -1974,7 +2029,7 @@ const SvgCaptchaArrowDown = ({
|
|
|
1974
2029
|
id: titleId
|
|
1975
2030
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1976
2031
|
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",
|
|
1977
|
-
fill:
|
|
2032
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1978
2033
|
}));
|
|
1979
2034
|
|
|
1980
2035
|
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}";
|
|
@@ -2211,6 +2266,7 @@ function v4(options, buf, offset) {
|
|
|
2211
2266
|
const SvgListItemPdf = ({
|
|
2212
2267
|
title,
|
|
2213
2268
|
titleId,
|
|
2269
|
+
fillColor,
|
|
2214
2270
|
...props
|
|
2215
2271
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2216
2272
|
width: "32",
|
|
@@ -2225,12 +2281,13 @@ const SvgListItemPdf = ({
|
|
|
2225
2281
|
fillRule: "evenodd",
|
|
2226
2282
|
clipRule: "evenodd",
|
|
2227
2283
|
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",
|
|
2228
|
-
fill:
|
|
2284
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2229
2285
|
}));
|
|
2230
2286
|
|
|
2231
2287
|
const SvgListItemJpg = ({
|
|
2232
2288
|
title,
|
|
2233
2289
|
titleId,
|
|
2290
|
+
fillColor,
|
|
2234
2291
|
...props
|
|
2235
2292
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2236
2293
|
width: "32",
|
|
@@ -2245,12 +2302,13 @@ const SvgListItemJpg = ({
|
|
|
2245
2302
|
fillRule: "evenodd",
|
|
2246
2303
|
clipRule: "evenodd",
|
|
2247
2304
|
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",
|
|
2248
|
-
fill:
|
|
2305
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2249
2306
|
}));
|
|
2250
2307
|
|
|
2251
2308
|
const SvgListItemPng = ({
|
|
2252
2309
|
title,
|
|
2253
2310
|
titleId,
|
|
2311
|
+
fillColor,
|
|
2254
2312
|
...props
|
|
2255
2313
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2256
2314
|
width: "32",
|
|
@@ -2265,12 +2323,13 @@ const SvgListItemPng = ({
|
|
|
2265
2323
|
fillRule: "evenodd",
|
|
2266
2324
|
clipRule: "evenodd",
|
|
2267
2325
|
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",
|
|
2268
|
-
fill:
|
|
2326
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2269
2327
|
}));
|
|
2270
2328
|
|
|
2271
2329
|
const SvgListItemJpeg = ({
|
|
2272
2330
|
title,
|
|
2273
2331
|
titleId,
|
|
2332
|
+
fillColor,
|
|
2274
2333
|
...props
|
|
2275
2334
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2276
2335
|
width: "33",
|
|
@@ -2285,12 +2344,13 @@ const SvgListItemJpeg = ({
|
|
|
2285
2344
|
fillRule: "evenodd",
|
|
2286
2345
|
clipRule: "evenodd",
|
|
2287
2346
|
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",
|
|
2288
|
-
fill:
|
|
2347
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2289
2348
|
}));
|
|
2290
2349
|
|
|
2291
2350
|
const SvgListItemDelete = ({
|
|
2292
2351
|
title,
|
|
2293
2352
|
titleId,
|
|
2353
|
+
fillColor,
|
|
2294
2354
|
...props
|
|
2295
2355
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2296
2356
|
width: "22",
|
|
@@ -2303,7 +2363,7 @@ const SvgListItemDelete = ({
|
|
|
2303
2363
|
id: titleId
|
|
2304
2364
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2305
2365
|
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",
|
|
2306
|
-
fill:
|
|
2366
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2307
2367
|
}));
|
|
2308
2368
|
|
|
2309
2369
|
const FileItem = /*#__PURE__*/React__default["default"].memo(({
|
|
@@ -2463,6 +2523,7 @@ const FileItem = /*#__PURE__*/React__default["default"].memo(({
|
|
|
2463
2523
|
const SvgUpload = ({
|
|
2464
2524
|
title,
|
|
2465
2525
|
titleId,
|
|
2526
|
+
fillColor,
|
|
2466
2527
|
...props
|
|
2467
2528
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2468
2529
|
width: "51",
|
|
@@ -2480,12 +2541,13 @@ const SvgUpload = ({
|
|
|
2480
2541
|
fillRule: "evenodd",
|
|
2481
2542
|
clipRule: "evenodd",
|
|
2482
2543
|
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",
|
|
2483
|
-
fill:
|
|
2544
|
+
fill: fillColor ? fillColor : '#0DA574'
|
|
2484
2545
|
}));
|
|
2485
2546
|
|
|
2486
2547
|
const SvgRemoveFile = ({
|
|
2487
2548
|
title,
|
|
2488
2549
|
titleId,
|
|
2550
|
+
fillColor,
|
|
2489
2551
|
...props
|
|
2490
2552
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2491
2553
|
width: "26",
|
|
@@ -2503,12 +2565,13 @@ const SvgRemoveFile = ({
|
|
|
2503
2565
|
fill: "#FBFBFB"
|
|
2504
2566
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2505
2567
|
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",
|
|
2506
|
-
fill:
|
|
2568
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
2507
2569
|
}));
|
|
2508
2570
|
|
|
2509
2571
|
const SvgDeleteComponent = ({
|
|
2510
2572
|
title,
|
|
2511
2573
|
titleId,
|
|
2574
|
+
fillColor,
|
|
2512
2575
|
...props
|
|
2513
2576
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2514
2577
|
width: "26",
|
|
@@ -2528,7 +2591,7 @@ const SvgDeleteComponent = ({
|
|
|
2528
2591
|
stroke: "#D1D1D1"
|
|
2529
2592
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2530
2593
|
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",
|
|
2531
|
-
fill:
|
|
2594
|
+
fill: fillColor ? fillColor : '#E00'
|
|
2532
2595
|
}));
|
|
2533
2596
|
|
|
2534
2597
|
const NewFile = ({
|
|
@@ -3032,29 +3095,30 @@ const Textarea = ({
|
|
|
3032
3095
|
value,
|
|
3033
3096
|
height,
|
|
3034
3097
|
resize,
|
|
3035
|
-
border,
|
|
3036
3098
|
radius,
|
|
3037
3099
|
padding,
|
|
3038
3100
|
required,
|
|
3039
3101
|
onChange,
|
|
3040
3102
|
minWidth,
|
|
3041
3103
|
maxWidth,
|
|
3104
|
+
boxShadow,
|
|
3042
3105
|
minHeight,
|
|
3043
3106
|
maxHeight,
|
|
3044
3107
|
boxSizing,
|
|
3045
3108
|
maxLength,
|
|
3046
3109
|
labelSize,
|
|
3047
3110
|
errorSize,
|
|
3111
|
+
marginTop,
|
|
3048
3112
|
labelColor,
|
|
3049
3113
|
errorColor,
|
|
3050
|
-
borderColor,
|
|
3051
3114
|
labelWeight,
|
|
3052
3115
|
placeholder,
|
|
3053
3116
|
labelDisplay,
|
|
3054
|
-
|
|
3117
|
+
errorMessage,
|
|
3055
3118
|
backgroundColor,
|
|
3056
3119
|
borderFocusColor,
|
|
3057
3120
|
borderHoverColor,
|
|
3121
|
+
labelMarginBottom,
|
|
3058
3122
|
showCharacterCount,
|
|
3059
3123
|
labelRequiredColor
|
|
3060
3124
|
}) => {
|
|
@@ -3104,12 +3168,12 @@ const Textarea = ({
|
|
|
3104
3168
|
setInnerValue(value);
|
|
3105
3169
|
}, [value, onChange]);
|
|
3106
3170
|
React.useEffect(() => {
|
|
3107
|
-
if (
|
|
3108
|
-
setError(
|
|
3171
|
+
if (errorMessage) {
|
|
3172
|
+
setError(errorMessage);
|
|
3109
3173
|
} else {
|
|
3110
3174
|
setError('');
|
|
3111
3175
|
}
|
|
3112
|
-
}, [
|
|
3176
|
+
}, [errorMessage]);
|
|
3113
3177
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3114
3178
|
style: {
|
|
3115
3179
|
width: width ? width : configStyles.TEXTAREA.width
|
|
@@ -3118,7 +3182,8 @@ const Textarea = ({
|
|
|
3118
3182
|
style: {
|
|
3119
3183
|
display: 'flex',
|
|
3120
3184
|
alignItems: 'center',
|
|
3121
|
-
justifyContent: label ? 'space-between' : 'flex-end'
|
|
3185
|
+
justifyContent: label ? 'space-between' : 'flex-end',
|
|
3186
|
+
marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.TEXTAREA.labelMarginBottom
|
|
3122
3187
|
}
|
|
3123
3188
|
}, label ? /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3124
3189
|
style: {
|
|
@@ -3139,11 +3204,11 @@ const Textarea = ({
|
|
|
3139
3204
|
}, maxLength - value.length, " \u0576\u056B\u0577")), /*#__PURE__*/React__default["default"].createElement("textarea", {
|
|
3140
3205
|
style: {
|
|
3141
3206
|
width: '100%',
|
|
3207
|
+
border: 'none',
|
|
3142
3208
|
outline: 'none',
|
|
3143
3209
|
overflow: 'auto',
|
|
3144
3210
|
fontSize: size ? size : configStyles.TEXTAREA.size,
|
|
3145
3211
|
height: height ? height : configStyles.TEXTAREA.height,
|
|
3146
|
-
border: border ? border : configStyles.TEXTAREA.border,
|
|
3147
3212
|
padding: padding ? padding : configStyles.TEXTAREA.padding,
|
|
3148
3213
|
borderRadius: radius ? radius : configStyles.TEXTAREA.radius,
|
|
3149
3214
|
minWidth: minWidth ? minWidth : configStyles.TEXTAREA.minWidth,
|
|
@@ -3152,7 +3217,7 @@ const Textarea = ({
|
|
|
3152
3217
|
maxHeight: maxHeight ? maxHeight : configStyles.TEXTAREA.maxHeight,
|
|
3153
3218
|
boxSizing: boxSizing ? boxSizing : configStyles.TEXTAREA.boxSizing,
|
|
3154
3219
|
backgroundColor: backgroundColor ? backgroundColor : configStyles.TEXTAREA.backgroundColor,
|
|
3155
|
-
|
|
3220
|
+
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,
|
|
3156
3221
|
resize: resize ? resize : configStyles.TEXTAREA.resize
|
|
3157
3222
|
},
|
|
3158
3223
|
value: innerValue,
|
|
@@ -3164,10 +3229,10 @@ const Textarea = ({
|
|
|
3164
3229
|
onMouseLeave: handleMouseLeave
|
|
3165
3230
|
}), error ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3166
3231
|
style: {
|
|
3167
|
-
marginTop: '6px',
|
|
3168
3232
|
display: 'inline-block',
|
|
3169
3233
|
fontSize: errorSize ? errorSize : configStyles.TEXTAREA.errorSize,
|
|
3170
|
-
color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor
|
|
3234
|
+
color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor,
|
|
3235
|
+
marginTop: marginTop ? marginTop : configStyles.TEXTAREA.marginTop
|
|
3171
3236
|
}
|
|
3172
3237
|
}, error) : '');
|
|
3173
3238
|
};
|
|
@@ -3177,27 +3242,31 @@ Textarea.propTypes = {
|
|
|
3177
3242
|
width: PropTypes__default["default"].string,
|
|
3178
3243
|
height: PropTypes__default["default"].string,
|
|
3179
3244
|
resize: PropTypes__default["default"].string,
|
|
3180
|
-
border: PropTypes__default["default"].string,
|
|
3181
3245
|
radius: PropTypes__default["default"].string,
|
|
3182
3246
|
required: PropTypes__default["default"].bool,
|
|
3183
3247
|
padding: PropTypes__default["default"].string,
|
|
3184
3248
|
minWidth: PropTypes__default["default"].string,
|
|
3185
3249
|
maxWidth: PropTypes__default["default"].string,
|
|
3250
|
+
boxShadow: PropTypes__default["default"].string,
|
|
3251
|
+
marginTop: PropTypes__default["default"].string,
|
|
3186
3252
|
boxSizing: PropTypes__default["default"].string,
|
|
3187
3253
|
minHeight: PropTypes__default["default"].string,
|
|
3188
3254
|
maxHeight: PropTypes__default["default"].string,
|
|
3189
3255
|
maxLength: PropTypes__default["default"].number,
|
|
3190
3256
|
labelSize: PropTypes__default["default"].string,
|
|
3257
|
+
errorSize: PropTypes__default["default"].string,
|
|
3191
3258
|
labelColor: PropTypes__default["default"].string,
|
|
3259
|
+
errorColor: PropTypes__default["default"].string,
|
|
3192
3260
|
labelWeight: PropTypes__default["default"].string,
|
|
3193
|
-
borderColor: PropTypes__default["default"].string,
|
|
3194
3261
|
placeholder: PropTypes__default["default"].string,
|
|
3262
|
+
errorMessage: PropTypes__default["default"].string,
|
|
3195
3263
|
labelDisplay: PropTypes__default["default"].string,
|
|
3196
3264
|
backgroundColor: PropTypes__default["default"].string,
|
|
3197
3265
|
showCharacterCount: PropTypes__default["default"].bool,
|
|
3198
3266
|
value: PropTypes__default["default"].string.isRequired,
|
|
3199
3267
|
borderFocusColor: PropTypes__default["default"].string,
|
|
3200
3268
|
borderHoverColor: PropTypes__default["default"].string,
|
|
3269
|
+
labelMarginBottom: PropTypes__default["default"].string,
|
|
3201
3270
|
onChange: PropTypes__default["default"].func.isRequired,
|
|
3202
3271
|
labelRequiredColor: PropTypes__default["default"].string
|
|
3203
3272
|
};
|
|
@@ -3356,6 +3425,7 @@ const PaginationRange = ({
|
|
|
3356
3425
|
const SvgDots = ({
|
|
3357
3426
|
title,
|
|
3358
3427
|
titleId,
|
|
3428
|
+
fillColor,
|
|
3359
3429
|
...props
|
|
3360
3430
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
3361
3431
|
width: "11",
|
|
@@ -3368,12 +3438,13 @@ const SvgDots = ({
|
|
|
3368
3438
|
id: titleId
|
|
3369
3439
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
3370
3440
|
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",
|
|
3371
|
-
fill:
|
|
3441
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
3372
3442
|
}));
|
|
3373
3443
|
|
|
3374
3444
|
const SvgNextarrow = ({
|
|
3375
3445
|
title,
|
|
3376
3446
|
titleId,
|
|
3447
|
+
fillColor,
|
|
3377
3448
|
...props
|
|
3378
3449
|
}) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
3379
3450
|
width: "6",
|
|
@@ -3386,7 +3457,7 @@ const SvgNextarrow = ({
|
|
|
3386
3457
|
id: titleId
|
|
3387
3458
|
}, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
3388
3459
|
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",
|
|
3389
|
-
fill:
|
|
3460
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
3390
3461
|
}));
|
|
3391
3462
|
|
|
3392
3463
|
const Pagination = ({
|
|
@@ -3700,6 +3771,7 @@ const NewAutocomplete = ({
|
|
|
3700
3771
|
selected,
|
|
3701
3772
|
errorSize,
|
|
3702
3773
|
labelSize,
|
|
3774
|
+
marginTop,
|
|
3703
3775
|
errorColor,
|
|
3704
3776
|
labelColor,
|
|
3705
3777
|
labelWeight,
|
|
@@ -3857,11 +3929,12 @@ const NewAutocomplete = ({
|
|
|
3857
3929
|
backgroundColor: contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor
|
|
3858
3930
|
}
|
|
3859
3931
|
}, item.name);
|
|
3860
|
-
}))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default["default"].createElement("
|
|
3932
|
+
}))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3861
3933
|
style: {
|
|
3862
|
-
|
|
3934
|
+
position: 'absolute',
|
|
3863
3935
|
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
3864
3936
|
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
3937
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
3865
3938
|
height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
3866
3939
|
padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
|
|
3867
3940
|
lineHeight: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
@@ -3947,10 +4020,11 @@ const NewAutocomplete = ({
|
|
|
3947
4020
|
}
|
|
3948
4021
|
}, props)), errorMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3949
4022
|
style: {
|
|
3950
|
-
|
|
3951
|
-
|
|
4023
|
+
left: '0px',
|
|
4024
|
+
position: 'absolute',
|
|
3952
4025
|
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
3953
4026
|
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
4027
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
3954
4028
|
maxWidth: contentTopMaxWidth ? contentTopMaxWidth : configStyles.NEWAUTOCOMPLETE.contentTopMaxWidth
|
|
3955
4029
|
}
|
|
3956
4030
|
}, errorMessage) : '', optionList));
|
|
@@ -3961,6 +4035,7 @@ NewAutocomplete.propTypes = {
|
|
|
3961
4035
|
disabled: PropTypes__default["default"].bool,
|
|
3962
4036
|
selected: PropTypes__default["default"].string,
|
|
3963
4037
|
errorSize: PropTypes__default["default"].string,
|
|
4038
|
+
marginTop: PropTypes__default["default"].string,
|
|
3964
4039
|
labelSize: PropTypes__default["default"].string,
|
|
3965
4040
|
errorColor: PropTypes__default["default"].string,
|
|
3966
4041
|
labelColor: PropTypes__default["default"].string,
|