@xaypay/tui 0.0.81 → 0.0.83

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.
Files changed (52) hide show
  1. package/dist/index.es.js +232 -144
  2. package/dist/index.js +232 -144
  3. package/package.json +1 -1
  4. package/src/components/autocomplate/autocomplate.stories.js +1 -1
  5. package/src/components/icon/Arrow.js +2 -2
  6. package/src/components/icon/CaptchaArrowDown.js +2 -2
  7. package/src/components/icon/CaptchaArrowUp.js +2 -2
  8. package/src/components/icon/CheckboxChecked.js +2 -2
  9. package/src/components/icon/CheckboxUnchecked.js +2 -2
  10. package/src/components/icon/Close.js +2 -2
  11. package/src/components/icon/CloseIcon.js +2 -2
  12. package/src/components/icon/CloseSlide.js +2 -2
  13. package/src/components/icon/DeleteComponent.js +2 -2
  14. package/src/components/icon/Dots.js +2 -2
  15. package/src/components/icon/HeartFilled.js +2 -2
  16. package/src/components/icon/HeartOutline.js +2 -2
  17. package/src/components/icon/ListItemDelete.js +2 -2
  18. package/src/components/icon/ListItemJpeg.js +2 -2
  19. package/src/components/icon/ListItemJpg.js +2 -2
  20. package/src/components/icon/ListItemPdf.js +2 -2
  21. package/src/components/icon/ListItemPng.js +2 -2
  22. package/src/components/icon/Next.js +2 -2
  23. package/src/components/icon/Nextarrow.js +2 -2
  24. package/src/components/icon/PDF.js +2 -2
  25. package/src/components/icon/Prev.js +2 -2
  26. package/src/components/icon/RangeArrowDefault.js +2 -2
  27. package/src/components/icon/RangeArrowError.js +2 -2
  28. package/src/components/icon/RangeArrowSuccess.js +2 -2
  29. package/src/components/icon/RemoveFile.js +2 -2
  30. package/src/components/icon/ToasterClose.js +2 -2
  31. package/src/components/icon/ToasterError.js +2 -2
  32. package/src/components/icon/ToasterInfo.js +2 -2
  33. package/src/components/icon/ToasterSuccess.js +2 -2
  34. package/src/components/icon/ToasterWarning.js +2 -2
  35. package/src/components/icon/Tooltip.js +2 -2
  36. package/src/components/icon/Upload.js +2 -2
  37. package/src/components/input/index.js +11 -21
  38. package/src/components/modal/index.js +26 -15
  39. package/src/components/modal/modal.stories.js +1 -1
  40. package/src/components/newAutocomplete/NewAutocomplete.stories.js +4 -3
  41. package/src/components/newAutocomplete/index.js +25 -13
  42. package/src/components/select/index.js +15 -6
  43. package/src/components/select/select.stories.js +1 -0
  44. package/src/components/singleCheckbox/index.js +27 -5
  45. package/src/components/table/index.js +28 -11
  46. package/src/components/table/table.stories.js +398 -258
  47. package/src/components/table/td.js +48 -8
  48. package/src/components/table/th.js +28 -5
  49. package/src/components/textarea/index.js +21 -15
  50. package/src/components/textarea/textarea.stories.js +4 -0
  51. package/src/stories/configuration.stories.mdx +17 -5
  52. 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: "#00236A"
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
- data: PropTypes__default["default"].object,
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: "#fff"
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: "#fff"
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: "#3C393E"
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: "#fff"
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 = e => {
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: 'center',
440
- justifyContent: 'center'
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
- minWidth: type === 'content' ? minWidth ? minWidth : '' : '',
454
- minHeight: type === 'content' ? minHeight ? minHeight : '' : '',
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"].p`
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
- setInnerErrorMessage('');
756
- if (value.length > 8) {
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
- backgroundColor: disabled ? '#FBFBFB' : backgroundColor ? backgroundColor : configStyles.INPUT.backgroundColor,
848
- color: innerErrorMessage && errorColor ? errorColor : color ? color : configStyles.INPUT.color
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: "#3C393E"
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,9 +1210,12 @@ const Select = ({
1173
1210
  keyNames,
1174
1211
  selected,
1175
1212
  className,
1213
+ marginTop,
1176
1214
  arrowIcon,
1177
1215
  closeIcon,
1216
+ errorZindex,
1178
1217
  errorMessage,
1218
+ showCloseIcon,
1179
1219
  defaultOption,
1180
1220
  multipleCheckbox,
1181
1221
  label,
@@ -1324,7 +1364,10 @@ const Select = ({
1324
1364
  }
1325
1365
  }, [options, multiple, selected, selected?.length]);
1326
1366
  return /*#__PURE__*/React__default["default"].createElement("div", {
1327
- className: classProps
1367
+ className: classProps,
1368
+ style: {
1369
+ position: 'relative'
1370
+ }
1328
1371
  }, label ? /*#__PURE__*/React__default["default"].createElement("label", {
1329
1372
  style: {
1330
1373
  color: labelColor ? labelColor : configStyles.SELECT.labelColor,
@@ -1375,7 +1418,7 @@ const Select = ({
1375
1418
  }
1376
1419
  }) : defaultOption ? defaultOption : ''), /*#__PURE__*/React__default["default"].createElement("div", {
1377
1420
  className: `${styles$7['select-content-top-icon']}`
1378
- }, !disabled && multiple && newSelected.length > 1 && /*#__PURE__*/React__default["default"].createElement("span", null, newSelected.length), !disabled && newSelected && newSelected.length > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
1421
+ }, !disabled && multiple && newSelected.length > 1 && /*#__PURE__*/React__default["default"].createElement("span", null, newSelected.length), showCloseIcon && !disabled && newSelected && newSelected.length > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
1379
1422
  className: `${styles$7['close-icon']}`,
1380
1423
  onClick: disabled ? _ => _ : handleClearSelect,
1381
1424
  style: {
@@ -1422,8 +1465,11 @@ const Select = ({
1422
1465
  }) : '', option[keyNames.name]);
1423
1466
  }))) : null)), errorMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
1424
1467
  style: {
1468
+ position: 'absolute',
1425
1469
  color: errorColor ? errorColor : configStyles.SELECT.errorColor,
1426
- fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize
1470
+ fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize,
1471
+ zIndex: errorZindex ? errorZindex : configStyles.SELECT.errorZindex,
1472
+ top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`
1427
1473
  }
1428
1474
  }, errorMessage) : '');
1429
1475
  };
@@ -1435,9 +1481,12 @@ Select.propTypes = {
1435
1481
  disabled: PropTypes__default["default"].bool,
1436
1482
  selected: PropTypes__default["default"].array,
1437
1483
  keyNames: PropTypes__default["default"].object,
1484
+ marginTop: PropTypes__default["default"].string,
1438
1485
  className: PropTypes__default["default"].string,
1439
1486
  arrowIcon: PropTypes__default["default"].element,
1440
1487
  closeIcon: PropTypes__default["default"].element,
1488
+ showCloseIcon: PropTypes__default["default"].bool,
1489
+ errorZindex: PropTypes__default["default"].number,
1441
1490
  errorMessage: PropTypes__default["default"].string,
1442
1491
  defaultOption: PropTypes__default["default"].string,
1443
1492
  multipleCheckbox: PropTypes__default["default"].bool,
@@ -1484,6 +1533,7 @@ Select.propTypes = {
1484
1533
  const SvgToasterInfo = ({
1485
1534
  title,
1486
1535
  titleId,
1536
+ fillColor,
1487
1537
  ...props
1488
1538
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1489
1539
  width: "24",
@@ -1496,12 +1546,13 @@ const SvgToasterInfo = ({
1496
1546
  id: titleId
1497
1547
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1498
1548
  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: "#00236A"
1549
+ fill: fillColor ? fillColor : '#00236A'
1500
1550
  }));
1501
1551
 
1502
1552
  const SvgToasterError = ({
1503
1553
  title,
1504
1554
  titleId,
1555
+ fillColor,
1505
1556
  ...props
1506
1557
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1507
1558
  width: "24",
@@ -1514,12 +1565,13 @@ const SvgToasterError = ({
1514
1565
  id: titleId
1515
1566
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1516
1567
  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: "#E00"
1568
+ fill: fillColor ? fillColor : '#E00'
1518
1569
  }));
1519
1570
 
1520
1571
  const SvgToasterClose = ({
1521
1572
  title,
1522
1573
  titleId,
1574
+ fillColor,
1523
1575
  ...props
1524
1576
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1525
1577
  width: "18",
@@ -1532,12 +1584,13 @@ const SvgToasterClose = ({
1532
1584
  id: titleId
1533
1585
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1534
1586
  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: "#D1D1D1"
1587
+ fill: fillColor ? fillColor : '#D1D1D1'
1536
1588
  }));
1537
1589
 
1538
1590
  const SvgToasterWarning = ({
1539
1591
  title,
1540
1592
  titleId,
1593
+ fillColor,
1541
1594
  ...props
1542
1595
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1543
1596
  width: "24",
@@ -1550,12 +1603,13 @@ const SvgToasterWarning = ({
1550
1603
  id: titleId
1551
1604
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1552
1605
  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: "#FF8A00"
1606
+ fill: fillColor ? fillColor : '#FF8A00'
1554
1607
  }));
1555
1608
 
1556
1609
  const SvgToasterSuccess = ({
1557
1610
  title,
1558
1611
  titleId,
1612
+ fillColor,
1559
1613
  ...props
1560
1614
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1561
1615
  width: "24",
@@ -1568,7 +1622,7 @@ const SvgToasterSuccess = ({
1568
1622
  id: titleId
1569
1623
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1570
1624
  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: "#0DA574"
1625
+ fill: fillColor ? fillColor : '#0DA574'
1572
1626
  }));
1573
1627
 
1574
1628
  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 +1884,7 @@ const Toaster = () => {
1830
1884
  const SvgTooltip = ({
1831
1885
  title,
1832
1886
  titleId,
1887
+ fillColor,
1833
1888
  ...props
1834
1889
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1835
1890
  width: "16",
@@ -1842,7 +1897,7 @@ const SvgTooltip = ({
1842
1897
  id: titleId
1843
1898
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1844
1899
  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: "#D1D1D1"
1900
+ fill: fillColor ? fillColor : '#D1D1D1'
1846
1901
  }));
1847
1902
 
1848
1903
  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 +1999,7 @@ Tooltip.defaultProps = {
1944
1999
  const SvgCaptchaArrowUp = ({
1945
2000
  title,
1946
2001
  titleId,
2002
+ fillColor,
1947
2003
  ...props
1948
2004
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1949
2005
  width: "12",
@@ -1956,12 +2012,13 @@ const SvgCaptchaArrowUp = ({
1956
2012
  id: titleId
1957
2013
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1958
2014
  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: "#00236A"
2015
+ fill: fillColor ? fillColor : '#00236A'
1960
2016
  }));
1961
2017
 
1962
2018
  const SvgCaptchaArrowDown = ({
1963
2019
  title,
1964
2020
  titleId,
2021
+ fillColor,
1965
2022
  ...props
1966
2023
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1967
2024
  width: "12",
@@ -1974,7 +2031,7 @@ const SvgCaptchaArrowDown = ({
1974
2031
  id: titleId
1975
2032
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1976
2033
  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: "#00236A"
2034
+ fill: fillColor ? fillColor : '#00236A'
1978
2035
  }));
1979
2036
 
1980
2037
  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 +2268,7 @@ function v4(options, buf, offset) {
2211
2268
  const SvgListItemPdf = ({
2212
2269
  title,
2213
2270
  titleId,
2271
+ fillColor,
2214
2272
  ...props
2215
2273
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2216
2274
  width: "32",
@@ -2225,12 +2283,13 @@ const SvgListItemPdf = ({
2225
2283
  fillRule: "evenodd",
2226
2284
  clipRule: "evenodd",
2227
2285
  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: "#051942"
2286
+ fill: fillColor ? fillColor : '#051942'
2229
2287
  }));
2230
2288
 
2231
2289
  const SvgListItemJpg = ({
2232
2290
  title,
2233
2291
  titleId,
2292
+ fillColor,
2234
2293
  ...props
2235
2294
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2236
2295
  width: "32",
@@ -2245,12 +2304,13 @@ const SvgListItemJpg = ({
2245
2304
  fillRule: "evenodd",
2246
2305
  clipRule: "evenodd",
2247
2306
  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: "#051942"
2307
+ fill: fillColor ? fillColor : '#051942'
2249
2308
  }));
2250
2309
 
2251
2310
  const SvgListItemPng = ({
2252
2311
  title,
2253
2312
  titleId,
2313
+ fillColor,
2254
2314
  ...props
2255
2315
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2256
2316
  width: "32",
@@ -2265,12 +2325,13 @@ const SvgListItemPng = ({
2265
2325
  fillRule: "evenodd",
2266
2326
  clipRule: "evenodd",
2267
2327
  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: "#051942"
2328
+ fill: fillColor ? fillColor : '#051942'
2269
2329
  }));
2270
2330
 
2271
2331
  const SvgListItemJpeg = ({
2272
2332
  title,
2273
2333
  titleId,
2334
+ fillColor,
2274
2335
  ...props
2275
2336
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2276
2337
  width: "33",
@@ -2285,12 +2346,13 @@ const SvgListItemJpeg = ({
2285
2346
  fillRule: "evenodd",
2286
2347
  clipRule: "evenodd",
2287
2348
  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: "#051942"
2349
+ fill: fillColor ? fillColor : '#051942'
2289
2350
  }));
2290
2351
 
2291
2352
  const SvgListItemDelete = ({
2292
2353
  title,
2293
2354
  titleId,
2355
+ fillColor,
2294
2356
  ...props
2295
2357
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2296
2358
  width: "22",
@@ -2303,7 +2365,7 @@ const SvgListItemDelete = ({
2303
2365
  id: titleId
2304
2366
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
2305
2367
  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: "#051942"
2368
+ fill: fillColor ? fillColor : '#051942'
2307
2369
  }));
2308
2370
 
2309
2371
  const FileItem = /*#__PURE__*/React__default["default"].memo(({
@@ -2463,6 +2525,7 @@ const FileItem = /*#__PURE__*/React__default["default"].memo(({
2463
2525
  const SvgUpload = ({
2464
2526
  title,
2465
2527
  titleId,
2528
+ fillColor,
2466
2529
  ...props
2467
2530
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2468
2531
  width: "51",
@@ -2480,12 +2543,13 @@ const SvgUpload = ({
2480
2543
  fillRule: "evenodd",
2481
2544
  clipRule: "evenodd",
2482
2545
  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: "#0DA574"
2546
+ fill: fillColor ? fillColor : '#0DA574'
2484
2547
  }));
2485
2548
 
2486
2549
  const SvgRemoveFile = ({
2487
2550
  title,
2488
2551
  titleId,
2552
+ fillColor,
2489
2553
  ...props
2490
2554
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2491
2555
  width: "26",
@@ -2503,12 +2567,13 @@ const SvgRemoveFile = ({
2503
2567
  fill: "#FBFBFB"
2504
2568
  }), /*#__PURE__*/React__namespace.createElement("path", {
2505
2569
  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: "#00236A"
2570
+ fill: fillColor ? fillColor : '#00236A'
2507
2571
  }));
2508
2572
 
2509
2573
  const SvgDeleteComponent = ({
2510
2574
  title,
2511
2575
  titleId,
2576
+ fillColor,
2512
2577
  ...props
2513
2578
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2514
2579
  width: "26",
@@ -2528,7 +2593,7 @@ const SvgDeleteComponent = ({
2528
2593
  stroke: "#D1D1D1"
2529
2594
  }), /*#__PURE__*/React__namespace.createElement("path", {
2530
2595
  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: "#E00"
2596
+ fill: fillColor ? fillColor : '#E00'
2532
2597
  }));
2533
2598
 
2534
2599
  const NewFile = ({
@@ -3032,29 +3097,30 @@ const Textarea = ({
3032
3097
  value,
3033
3098
  height,
3034
3099
  resize,
3035
- border,
3036
3100
  radius,
3037
3101
  padding,
3038
3102
  required,
3039
3103
  onChange,
3040
3104
  minWidth,
3041
3105
  maxWidth,
3106
+ boxShadow,
3042
3107
  minHeight,
3043
3108
  maxHeight,
3044
3109
  boxSizing,
3045
3110
  maxLength,
3046
3111
  labelSize,
3047
3112
  errorSize,
3113
+ marginTop,
3048
3114
  labelColor,
3049
3115
  errorColor,
3050
- borderColor,
3051
3116
  labelWeight,
3052
3117
  placeholder,
3053
3118
  labelDisplay,
3054
- errorMesaage,
3119
+ errorMessage,
3055
3120
  backgroundColor,
3056
3121
  borderFocusColor,
3057
3122
  borderHoverColor,
3123
+ labelMarginBottom,
3058
3124
  showCharacterCount,
3059
3125
  labelRequiredColor
3060
3126
  }) => {
@@ -3104,12 +3170,12 @@ const Textarea = ({
3104
3170
  setInnerValue(value);
3105
3171
  }, [value, onChange]);
3106
3172
  React.useEffect(() => {
3107
- if (errorMesaage) {
3108
- setError(errorMesaage);
3173
+ if (errorMessage) {
3174
+ setError(errorMessage);
3109
3175
  } else {
3110
3176
  setError('');
3111
3177
  }
3112
- }, [errorMesaage]);
3178
+ }, [errorMessage]);
3113
3179
  return /*#__PURE__*/React__default["default"].createElement("div", {
3114
3180
  style: {
3115
3181
  width: width ? width : configStyles.TEXTAREA.width
@@ -3118,7 +3184,8 @@ const Textarea = ({
3118
3184
  style: {
3119
3185
  display: 'flex',
3120
3186
  alignItems: 'center',
3121
- justifyContent: label ? 'space-between' : 'flex-end'
3187
+ justifyContent: label ? 'space-between' : 'flex-end',
3188
+ marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.TEXTAREA.labelMarginBottom
3122
3189
  }
3123
3190
  }, label ? /*#__PURE__*/React__default["default"].createElement("label", {
3124
3191
  style: {
@@ -3139,11 +3206,11 @@ const Textarea = ({
3139
3206
  }, maxLength - value.length, " \u0576\u056B\u0577")), /*#__PURE__*/React__default["default"].createElement("textarea", {
3140
3207
  style: {
3141
3208
  width: '100%',
3209
+ border: 'none',
3142
3210
  outline: 'none',
3143
3211
  overflow: 'auto',
3144
3212
  fontSize: size ? size : configStyles.TEXTAREA.size,
3145
3213
  height: height ? height : configStyles.TEXTAREA.height,
3146
- border: border ? border : configStyles.TEXTAREA.border,
3147
3214
  padding: padding ? padding : configStyles.TEXTAREA.padding,
3148
3215
  borderRadius: radius ? radius : configStyles.TEXTAREA.radius,
3149
3216
  minWidth: minWidth ? minWidth : configStyles.TEXTAREA.minWidth,
@@ -3152,7 +3219,7 @@ const Textarea = ({
3152
3219
  maxHeight: maxHeight ? maxHeight : configStyles.TEXTAREA.maxHeight,
3153
3220
  boxSizing: boxSizing ? boxSizing : configStyles.TEXTAREA.boxSizing,
3154
3221
  backgroundColor: backgroundColor ? backgroundColor : configStyles.TEXTAREA.backgroundColor,
3155
- borderColor: error ? errorColor ? errorColor : configStyles.TEXTAREA.errorColor : isFocus ? borderFocusColor ? borderFocusColor : configStyles.TEXTAREA.borderFocusColor : isHover ? borderHoverColor ? borderHoverColor : configStyles.TEXTAREA.borderHoverColor : borderColor ? borderColor : configStyles.TEXTAREA.borderColor,
3222
+ 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
3223
  resize: resize ? resize : configStyles.TEXTAREA.resize
3157
3224
  },
3158
3225
  value: innerValue,
@@ -3164,10 +3231,10 @@ const Textarea = ({
3164
3231
  onMouseLeave: handleMouseLeave
3165
3232
  }), error ? /*#__PURE__*/React__default["default"].createElement("span", {
3166
3233
  style: {
3167
- marginTop: '6px',
3168
3234
  display: 'inline-block',
3169
3235
  fontSize: errorSize ? errorSize : configStyles.TEXTAREA.errorSize,
3170
- color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor
3236
+ color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor,
3237
+ marginTop: marginTop ? marginTop : configStyles.TEXTAREA.marginTop
3171
3238
  }
3172
3239
  }, error) : '');
3173
3240
  };
@@ -3177,27 +3244,31 @@ Textarea.propTypes = {
3177
3244
  width: PropTypes__default["default"].string,
3178
3245
  height: PropTypes__default["default"].string,
3179
3246
  resize: PropTypes__default["default"].string,
3180
- border: PropTypes__default["default"].string,
3181
3247
  radius: PropTypes__default["default"].string,
3182
3248
  required: PropTypes__default["default"].bool,
3183
3249
  padding: PropTypes__default["default"].string,
3184
3250
  minWidth: PropTypes__default["default"].string,
3185
3251
  maxWidth: PropTypes__default["default"].string,
3252
+ boxShadow: PropTypes__default["default"].string,
3253
+ marginTop: PropTypes__default["default"].string,
3186
3254
  boxSizing: PropTypes__default["default"].string,
3187
3255
  minHeight: PropTypes__default["default"].string,
3188
3256
  maxHeight: PropTypes__default["default"].string,
3189
3257
  maxLength: PropTypes__default["default"].number,
3190
3258
  labelSize: PropTypes__default["default"].string,
3259
+ errorSize: PropTypes__default["default"].string,
3191
3260
  labelColor: PropTypes__default["default"].string,
3261
+ errorColor: PropTypes__default["default"].string,
3192
3262
  labelWeight: PropTypes__default["default"].string,
3193
- borderColor: PropTypes__default["default"].string,
3194
3263
  placeholder: PropTypes__default["default"].string,
3264
+ errorMessage: PropTypes__default["default"].string,
3195
3265
  labelDisplay: PropTypes__default["default"].string,
3196
3266
  backgroundColor: PropTypes__default["default"].string,
3197
3267
  showCharacterCount: PropTypes__default["default"].bool,
3198
3268
  value: PropTypes__default["default"].string.isRequired,
3199
3269
  borderFocusColor: PropTypes__default["default"].string,
3200
3270
  borderHoverColor: PropTypes__default["default"].string,
3271
+ labelMarginBottom: PropTypes__default["default"].string,
3201
3272
  onChange: PropTypes__default["default"].func.isRequired,
3202
3273
  labelRequiredColor: PropTypes__default["default"].string
3203
3274
  };
@@ -3356,6 +3427,7 @@ const PaginationRange = ({
3356
3427
  const SvgDots = ({
3357
3428
  title,
3358
3429
  titleId,
3430
+ fillColor,
3359
3431
  ...props
3360
3432
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
3361
3433
  width: "11",
@@ -3368,12 +3440,13 @@ const SvgDots = ({
3368
3440
  id: titleId
3369
3441
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
3370
3442
  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: "#3C393E"
3443
+ fill: fillColor ? fillColor : '#3C393E'
3372
3444
  }));
3373
3445
 
3374
3446
  const SvgNextarrow = ({
3375
3447
  title,
3376
3448
  titleId,
3449
+ fillColor,
3377
3450
  ...props
3378
3451
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
3379
3452
  width: "6",
@@ -3386,7 +3459,7 @@ const SvgNextarrow = ({
3386
3459
  id: titleId
3387
3460
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
3388
3461
  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: "#3C393E"
3462
+ fill: fillColor ? fillColor : '#3C393E'
3390
3463
  }));
3391
3464
 
3392
3465
  const Pagination = ({
@@ -3695,11 +3768,13 @@ const NewAutocomplete = ({
3695
3768
  change,
3696
3769
  options,
3697
3770
  getItem,
3771
+ keyNames,
3698
3772
  required,
3699
3773
  disabled,
3700
3774
  selected,
3701
3775
  errorSize,
3702
3776
  labelSize,
3777
+ marginTop,
3703
3778
  errorColor,
3704
3779
  labelColor,
3705
3780
  labelWeight,
@@ -3733,6 +3808,7 @@ const NewAutocomplete = ({
3733
3808
  contentTopBoxSizing,
3734
3809
  contentTopLineHeight,
3735
3810
  contentBottomMaxWidth,
3811
+ contentTopBorderHover,
3736
3812
  contentBottomOverflow,
3737
3813
  contentBottomPosition,
3738
3814
  contentBottomRowColor,
@@ -3740,6 +3816,7 @@ const NewAutocomplete = ({
3740
3816
  contentBottomBoxShadow,
3741
3817
  contentBottomRowHeight,
3742
3818
  contentBottomRowCursor,
3819
+ contentTopBorderActive,
3743
3820
  contentBottomRowDisplay,
3744
3821
  contentBottomRowPadding,
3745
3822
  contentBottomRowFontSize,
@@ -3750,8 +3827,6 @@ const NewAutocomplete = ({
3750
3827
  contentBottomRowAlignItems,
3751
3828
  contentBottomRowTransition,
3752
3829
  contentBottomRowHoverColor,
3753
- contentTopBorderHover,
3754
- contentTopBorderActive,
3755
3830
  contentBottomInnerOverflowY,
3756
3831
  contentBottomInnerOverflowX,
3757
3832
  contentBottomInnerMaxHeight,
@@ -3762,6 +3837,7 @@ const NewAutocomplete = ({
3762
3837
  contentBottomRowHoverBackgroundColor,
3763
3838
  ...props
3764
3839
  }) => {
3840
+ const [id, setId] = React.useState('');
3765
3841
  const [show, setShow] = React.useState(false);
3766
3842
  const [isHover, setIsHover] = React.useState(false);
3767
3843
  const [isFocus, setIsFocus] = React.useState(false);
@@ -3798,18 +3874,23 @@ const NewAutocomplete = ({
3798
3874
  };
3799
3875
  const handleChange = e => {
3800
3876
  const value = e.target.value;
3877
+ const currentId = e.target.id;
3801
3878
  value.length > 0 ? setShow(true) : setShow(false);
3802
3879
  setInnerValue(value);
3803
3880
  if (value.length >= searchCount) {
3804
- change(value);
3881
+ change({
3882
+ name: value,
3883
+ id: currentId
3884
+ });
3805
3885
  } else {
3806
3886
  change('');
3807
3887
  }
3808
3888
  };
3809
3889
  const handleClick = selectedValue => {
3810
3890
  setShow(false);
3811
- getItem(selectedValue);
3891
+ setId(selectedValue.id);
3812
3892
  setInnerValue(selectedValue.name);
3893
+ getItem(selectedValue);
3813
3894
  };
3814
3895
  const optionList = /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, show && innerOptions && !disabled ? innerOptions.length > 0 ? /*#__PURE__*/React__default["default"].createElement("div", {
3815
3896
  style: {
@@ -3856,12 +3937,13 @@ const NewAutocomplete = ({
3856
3937
  marginBottom: contentBottomRowMarginBottom ? contentBottomRowMarginBottom : configStyles.NEWAUTOCOMPLETE.contentBottomRowMarginBottom,
3857
3938
  backgroundColor: contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor
3858
3939
  }
3859
- }, item.name);
3860
- }))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default["default"].createElement("p", {
3940
+ }, item[keyNames.name]);
3941
+ }))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default["default"].createElement("span", {
3861
3942
  style: {
3862
- margin: '0px',
3943
+ position: 'absolute',
3863
3944
  color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
3864
3945
  fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
3946
+ top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
3865
3947
  height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
3866
3948
  padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
3867
3949
  lineHeight: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
@@ -3889,11 +3971,13 @@ const NewAutocomplete = ({
3889
3971
  }, [change]);
3890
3972
  React.useEffect(() => {
3891
3973
  if (selected) {
3892
- setInnerValue(selected);
3974
+ setId(selected[keyNames.id]);
3975
+ setInnerValue(selected[keyNames.name]);
3893
3976
  } else {
3977
+ setId('');
3894
3978
  setInnerValue('');
3895
3979
  }
3896
- }, [selected, selected?.length]);
3980
+ }, [selected]);
3897
3981
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, label ? /*#__PURE__*/React__default["default"].createElement("label", {
3898
3982
  style: {
3899
3983
  color: labelColor ? labelColor : configStyles.NEWAUTOCOMPLETE.labelColor,
@@ -3917,6 +4001,7 @@ const NewAutocomplete = ({
3917
4001
  maxWidth: contentTopMaxWidth ? contentTopMaxWidth : configStyles.NEWAUTOCOMPLETE.contentTopMaxWidth
3918
4002
  }
3919
4003
  }, /*#__PURE__*/React__default["default"].createElement("input", _extends({
4004
+ id: id,
3920
4005
  type: "text",
3921
4006
  value: innerValue,
3922
4007
  disabled: disabled,
@@ -3947,10 +4032,11 @@ const NewAutocomplete = ({
3947
4032
  }
3948
4033
  }, props)), errorMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
3949
4034
  style: {
3950
- margin: '0px',
3951
- display: 'inline-block',
4035
+ left: '0px',
4036
+ position: 'absolute',
3952
4037
  color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
3953
4038
  fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
4039
+ top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
3954
4040
  maxWidth: contentTopMaxWidth ? contentTopMaxWidth : configStyles.NEWAUTOCOMPLETE.contentTopMaxWidth
3955
4041
  }
3956
4042
  }, errorMessage) : '', optionList));
@@ -3959,8 +4045,10 @@ NewAutocomplete.propTypes = {
3959
4045
  label: PropTypes__default["default"].string,
3960
4046
  required: PropTypes__default["default"].bool,
3961
4047
  disabled: PropTypes__default["default"].bool,
3962
- selected: PropTypes__default["default"].string,
4048
+ keyNames: PropTypes__default["default"].object,
4049
+ selected: PropTypes__default["default"].object,
3963
4050
  errorSize: PropTypes__default["default"].string,
4051
+ marginTop: PropTypes__default["default"].string,
3964
4052
  labelSize: PropTypes__default["default"].string,
3965
4053
  errorColor: PropTypes__default["default"].string,
3966
4054
  labelColor: PropTypes__default["default"].string,