@xaypay/tui 0.0.107 → 0.0.109

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.js CHANGED
@@ -69,6 +69,24 @@ const SvgPdf = ({
69
69
  fill: fillColor ? fillColor : '#00236A'
70
70
  }));
71
71
 
72
+ const SvgRequired = ({
73
+ title,
74
+ titleId,
75
+ ...props
76
+ }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
77
+ width: "12",
78
+ height: "12",
79
+ viewBox: "0 0 12 12",
80
+ fill: "none",
81
+ xmlns: "http://www.w3.org/2000/svg",
82
+ "aria-labelledby": titleId
83
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
84
+ id: titleId
85
+ }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
86
+ d: "M9.281 7.317 7 6l2.281-1.317a.5.5 0 0 0-.5-.866L6.5 5.134V2.5a.5.5 0 1 0-1 0v2.634L3.219 3.817a.5.5 0 0 0-.5.866L5 6 2.719 7.317a.5.5 0 0 0 .5.866L5.5 6.866V9.5a.5.5 0 1 0 1 0V6.866l2.281 1.317a.5.5 0 0 0 .5-.866Z",
87
+ fill: "#E00"
88
+ }));
89
+
72
90
  function styleInject(css, ref) {
73
91
  if ( ref === void 0 ) ref = {};
74
92
  var insertAt = ref.insertAt;
@@ -159,11 +177,7 @@ const File = ({
159
177
  };
160
178
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("p", {
161
179
  className: `${styles$c['file-form-title']} ile-form-title-rem`
162
- }, label, " ", required && /*#__PURE__*/React__default["default"].createElement("sup", {
163
- style: {
164
- color: '#ee0000'
165
- }
166
- }, "*")), /*#__PURE__*/React__default["default"].createElement("div", {
180
+ }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", null, /*#__PURE__*/React__default["default"].createElement(SvgRequired, null))), /*#__PURE__*/React__default["default"].createElement("div", {
167
181
  className: classnames__default["default"](`${styles$c['file-form-wrap']} file-form-wrap-rem`, image ? styles$c['active'] : '')
168
182
  }, /*#__PURE__*/React__default["default"].createElement("div", {
169
183
  className: `${styles$c['file-form']} file-form-rem ${error || errorMessage ? styles$c['error'] : ''}`,
@@ -290,7 +304,8 @@ const Checkbox$1 = ({
290
304
  disabled,
291
305
  checkedColor,
292
306
  handleChecked,
293
- unCheckedColor
307
+ unCheckedColor,
308
+ ignoreDisabledForChecked
294
309
  }) => {
295
310
  const configStyles = compereConfigs();
296
311
  const [innerChecked, setInnerChecked] = React.useState(false);
@@ -314,7 +329,7 @@ const Checkbox$1 = ({
314
329
  ...styles
315
330
  },
316
331
  onClick: !innerDisabled && handleChecked ? handleClick : _ => _
317
- }, innerChecked && !innerDisabled ? /*#__PURE__*/React__default["default"].createElement(SvgCheckboxChecked, {
332
+ }, innerChecked && (ignoreDisabledForChecked ? ignoreDisabledForChecked : !innerDisabled) ? /*#__PURE__*/React__default["default"].createElement(SvgCheckboxChecked, {
318
333
  fillColor: checkedColor ? checkedColor : configStyles.SINGLECHECKBOX.checkedColor
319
334
  }) : /*#__PURE__*/React__default["default"].createElement(SvgCheckboxUnchecked, {
320
335
  fillColor: unCheckedColor ? unCheckedColor : configStyles.SINGLECHECKBOX.unCheckedColor
@@ -328,7 +343,8 @@ const SingleCheckbox = ({
328
343
  disabled,
329
344
  checkedColor,
330
345
  handleChecked,
331
- unCheckedColor
346
+ unCheckedColor,
347
+ ignoreDisabledForChecked
332
348
  }) => {
333
349
  const [innerData, setInnerData] = React.useState(null);
334
350
  React.useEffect(() => {
@@ -350,7 +366,8 @@ const SingleCheckbox = ({
350
366
  disabled: disabled,
351
367
  checkedColor: checkedColor,
352
368
  handleChecked: handleChecked,
353
- unCheckedColor: unCheckedColor
369
+ unCheckedColor: unCheckedColor,
370
+ ignoreDisabledForChecked: ignoreDisabledForChecked
354
371
  });
355
372
  };
356
373
  SingleCheckbox.propTypes = {
@@ -359,7 +376,8 @@ SingleCheckbox.propTypes = {
359
376
  styles: PropTypes__default["default"].object,
360
377
  disabled: PropTypes__default["default"].bool,
361
378
  checkedColor: PropTypes__default["default"].string,
362
- unCheckedColor: PropTypes__default["default"].string
379
+ unCheckedColor: PropTypes__default["default"].string,
380
+ ignoreDisabledForChecked: PropTypes__default["default"].bool
363
381
  };
364
382
 
365
383
  var css_248z$e = ".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}";
@@ -381,12 +399,6 @@ styleInject(css_248z$e);
381
399
  tBodyFontWeight: PropTypes__default["default"].string,
382
400
  tBodyFontFamily: PropTypes__default["default"].string,
383
401
  tBodyRowBorder: PropTypes__default["default"].string,
384
- // handleCheckedBody: PropTypes.func,
385
- // handleCheckedHeader: PropTypes.func,
386
- // handleHeaderItemClick: PropTypes.func,
387
- // handleBodyActionClick: PropTypes.func
388
-
389
- setTableDataBody: PropTypes__default["default"].func,
390
402
  setTableDataHeader: PropTypes__default["default"].func
391
403
  });
392
404
 
@@ -509,6 +521,9 @@ const Modal = ({
509
521
  backgroundColor,
510
522
  grayDecorHeight,
511
523
  layerBackgroundColor,
524
+ imageMargin,
525
+ imageMaxWidth,
526
+ imageWrapWidth,
512
527
  imageWrapHeight
513
528
  }) => {
514
529
  const [select, setSelect] = React.useState(0);
@@ -614,6 +629,7 @@ const Modal = ({
614
629
  }, type === 'content' && /*#__PURE__*/React__default["default"].createElement("div", {
615
630
  style: {
616
631
  width: '100%',
632
+ minWidth: '0',
617
633
  display: 'flex',
618
634
  alignItems: 'center',
619
635
  boxSizing: 'border-box',
@@ -645,11 +661,11 @@ const Modal = ({
645
661
  display: 'flex',
646
662
  width: '100%',
647
663
  height: '100%',
648
- overflow: 'hidden',
649
664
  position: 'relative',
650
665
  alignItems: 'center',
651
666
  boxSizing: 'border-box',
652
667
  justifyContent: 'center',
668
+ overflow: type === 'content' ? 'auto' : 'hidden',
653
669
  borderWidth: borderWidth ? borderWidth : configStyles.MODAL.borderWidth,
654
670
  borderStyle: borderStyle ? borderStyle : configStyles.MODAL.borderStyle,
655
671
  borderColor: borderColor ? borderColor : configStyles.MODAL.borderColor
@@ -682,7 +698,7 @@ const Modal = ({
682
698
  }
683
699
  }, /*#__PURE__*/React__default["default"].createElement(SvgCloseSlide, null))), /*#__PURE__*/React__default["default"].createElement("div", {
684
700
  style: {
685
- width: '100%',
701
+ width: imageWrapWidth ? imageWrapWidth : configStyles.MODAL.imageWrapWidth,
686
702
  height: imageWrapHeight ? imageWrapHeight : configStyles.MODAL.imageWrapHeight
687
703
  }
688
704
  }, innerData && innerData.length > 0 && innerData.map((item, index) => {
@@ -696,9 +712,11 @@ const Modal = ({
696
712
  display: 'block',
697
713
  objectFit: 'cover',
698
714
  objectPosition: 'center',
715
+ margin: imageMargin ? imageMargin : configStyles.MODAL.imageMargin,
699
716
  borderRadius: radius ? radius : configStyles.MODAL.radius,
700
717
  width: imageWidth ? imageWidth : configStyles.MODAL.imageWidth,
701
- height: imageHeight ? imageHeight : configStyles.MODAL.imageHeight
718
+ height: imageHeight ? imageHeight : configStyles.MODAL.imageHeight,
719
+ maxWidth: imageMaxWidth ? imageMaxWidth : configStyles.MODAL.imageMaxWidth
702
720
  },
703
721
  src: item.url,
704
722
  key: item.id ? item.id : index
@@ -763,7 +781,11 @@ Modal.propTypes = {
763
781
  justifyContent: PropTypes__default["default"].string,
764
782
  backgroundColor: PropTypes__default["default"].string,
765
783
  grayDecorHeight: PropTypes__default["default"].string,
766
- layerBackgroundColor: PropTypes__default["default"].string
784
+ layerBackgroundColor: PropTypes__default["default"].string,
785
+ imageMargin: PropTypes__default["default"].string,
786
+ imageMaxWidth: PropTypes__default["default"].string,
787
+ imageWrapWidth: PropTypes__default["default"].string,
788
+ imageWrapHeight: PropTypes__default["default"].string
767
789
  };
768
790
  Modal.defaultProps = {
769
791
  type: 'content'
@@ -1120,16 +1142,12 @@ const Input = ({
1120
1142
  lineHeight: labelLineHeight ? labelLineHeight : configStyles.INPUT.labelLineHeight,
1121
1143
  marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.INPUT.labelMarginBottom
1122
1144
  }
1123
- }, label, " ", required && /*#__PURE__*/React__default["default"].createElement("sup", {
1124
- style: {
1125
- color: errorColor ? errorColor : '#ee0000'
1126
- }
1127
- }, "*")) : '', /*#__PURE__*/React__default["default"].createElement("div", {
1145
+ }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", null, /*#__PURE__*/React__default["default"].createElement(SvgRequired, null))) : '', /*#__PURE__*/React__default["default"].createElement("div", {
1128
1146
  className: `${styles$a['input-content']}`,
1129
1147
  style: {
1130
1148
  width: width ? width : configStyles.INPUT.width,
1131
1149
  borderRadius: radius ? radius : configStyles.INPUT.radius,
1132
- boxShadow: innerErrorMessage ? errorColor ? `0 0 0 2px ${errorColor}` : `0 0 0 2px ${configStyles.INPUT.errorColor}` : isHover ? boxShadowHover ? boxShadowHover : configStyles.INPUT.boxShadowHover : boxShadow ? boxShadow : configStyles.INPUT.boxShadow
1150
+ boxShadow: innerErrorMessage ? errorColor ? `0 0 0 2px ${errorColor}` : `0 0 0 2px ${configStyles.INPUT.errorColor}` : isHover && !disabled ? boxShadowHover ? boxShadowHover : configStyles.INPUT.boxShadowHover : boxShadow ? boxShadow : configStyles.INPUT.boxShadow
1133
1151
  },
1134
1152
  onMouseEnter: handleMouseEnter,
1135
1153
  onMouseLeave: handleMouseLeave
@@ -1653,11 +1671,7 @@ const Select = ({
1653
1671
  marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.SELECT.labelMarginBottom,
1654
1672
  textTransform: labelTextTransform ? labelTextTransform : configStyles.SELECT.labelTextTransform
1655
1673
  }
1656
- }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", {
1657
- style: {
1658
- color: '#ee0000'
1659
- }
1660
- }, "*")) : '', /*#__PURE__*/React__default["default"].createElement("div", {
1674
+ }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", null, /*#__PURE__*/React__default["default"].createElement(SvgRequired, null))) : '', /*#__PURE__*/React__default["default"].createElement("div", {
1661
1675
  ref: ref
1662
1676
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1663
1677
  className: styles$8['select-content']
@@ -2444,7 +2458,7 @@ Captcha.propTypes = {
2444
2458
  getRange: PropTypes__default["default"].func.isRequired
2445
2459
  };
2446
2460
 
2447
- var css_248z$6 = ".stepper-module_stepper-container__-OVGy>div:last-child:before{display:none}.stepper-module_activeRing__Lzvh1,.stepper-module_bigRing__5GBm0{border-radius:50%;cursor:pointer;height:36px;margin-bottom:36px;position:relative;width:36px}.stepper-module_bigRing__5GBm0{box-shadow:0 0 0 2px #d1d1d1}.stepper-module_bigRing__5GBm0:before{background:#d1d1d1}.stepper-module_activeRing__Lzvh1{box-shadow:0 0 0 2px #00236a}.stepper-module_activeRing__Lzvh1:before{background:#00236a}.stepper-module_activeRing__Lzvh1:before,.stepper-module_bigRing__5GBm0:before{border-radius:20px;bottom:-32px;content:\"\";height:28px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;width:2px}.stepper-module_smallActiveRing__im-XG,.stepper-module_smallRing__u-5a8{border-radius:50%;bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.stepper-module_smallRing__u-5a8{background-color:#d1d1d1;height:14px;width:14px}.stepper-module_smallActiveRing__im-XG{align-items:center;background-color:#00236a;color:#fff;display:flex;height:28px;justify-content:center;width:28px}";
2461
+ var css_248z$6 = ".stepper-module_stepper-container__-OVGy>div:last-child:before{display:none}.stepper-module_activeRing__Lzvh1,.stepper-module_bigRing__5GBm0{border-radius:50%;height:36px;margin-bottom:36px;position:relative;width:36px}.stepper-module_bigRing__5GBm0{box-shadow:0 0 0 2px #d1d1d1}.stepper-module_bigRing__5GBm0:before{background:#d1d1d1}.stepper-module_activeRing__Lzvh1{box-shadow:0 0 0 2px #00236a}.stepper-module_activeRing__Lzvh1:before{background:#00236a}.stepper-module_activeRing__Lzvh1:before,.stepper-module_bigRing__5GBm0:before{border-radius:20px;bottom:-32px;content:\"\";height:28px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;width:2px}.stepper-module_smallActiveRing__im-XG,.stepper-module_smallRing__u-5a8{border-radius:50%;bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.stepper-module_smallRing__u-5a8{background-color:#d1d1d1;height:14px;width:14px}.stepper-module_smallActiveRing__im-XG{align-items:center;background-color:#00236a;color:#fff;display:flex;height:28px;justify-content:center;width:28px}";
2448
2462
  var styles$4 = {"stepper-container":"stepper-module_stepper-container__-OVGy","bigRing":"stepper-module_bigRing__5GBm0","activeRing":"stepper-module_activeRing__Lzvh1","smallRing":"stepper-module_smallRing__u-5a8","smallActiveRing":"stepper-module_smallActiveRing__im-XG"};
2449
2463
  styleInject(css_248z$6);
2450
2464
 
@@ -2539,6 +2553,46 @@ function v4(options, buf, offset) {
2539
2553
  return unsafeStringify(rnds);
2540
2554
  }
2541
2555
 
2556
+ const SvgHeic = ({
2557
+ title,
2558
+ titleId,
2559
+ ...props
2560
+ }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2561
+ width: "32",
2562
+ height: "42",
2563
+ viewBox: "0 0 32 42",
2564
+ fill: "none",
2565
+ xmlns: "http://www.w3.org/2000/svg",
2566
+ "aria-labelledby": titleId
2567
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
2568
+ id: titleId
2569
+ }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
2570
+ fillRule: "evenodd",
2571
+ clipRule: "evenodd",
2572
+ d: "m31.884 10.667-.022-.026c-.007-.01-.014-.018-.021-.025a.356.356 0 0 0-.052-.058L21.396.21 21.37.188l-.025-.021a.48.48 0 0 0-.029-.026l-.029-.025L21.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-.108Zm-1.338 28.437a1.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.458Zm2.434 26.076h-1.104c-.033.28-.1.517-.203.711-.1.192-.25.337-.446.437-.195.1-.45.15-.764.15-.26 0-.482-.051-.667-.154a1.278 1.278 0 0 1-.46-.437 2.158 2.158 0 0 1-.264-.676 4.288 4.288 0 0 1-.084-.883v-.543c0-.341.03-.645.093-.91.064-.267.16-.493.287-.675.126-.183.284-.321.472-.415.188-.094.41-.142.662-.142.31 0 .56.053.751.16a1 1 0 0 1 .433.45c.1.197.165.434.194.71H25.5a2.768 2.768 0 0 0-.362-1.143 2.041 2.041 0 0 0-.821-.781c-.354-.189-.786-.283-1.299-.283a2.7 2.7 0 0 0-1.09.212 2.29 2.29 0 0 0-.826.614c-.23.265-.406.584-.53.958-.12.374-.18.792-.18 1.254v.534c0 .462.058.88.176 1.254.12.374.294.693.52.958.228.262.5.465.818.61.318.141.675.212 1.073.212.518 0 .958-.095 1.32-.283.362-.188.643-.446.843-.773.2-.33.318-.705.354-1.126Zm-15-.772H7.608v2.865H6.5v-6.429h1.108v2.685h2.888v-2.685H11.6v6.43h-1.104v-2.866Zm6.632 2.865v-.878h-3.1v-2h2.654v-.866H14.03V32.97h3.077v-.883H12.92v6.43h4.208Zm2.089-6.429v6.43h-1.109v-6.43h1.109Z",
2573
+ fill: "#051942"
2574
+ }));
2575
+
2576
+ const SvgWrong = ({
2577
+ title,
2578
+ titleId,
2579
+ ...props
2580
+ }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2581
+ width: "32",
2582
+ height: "42",
2583
+ viewBox: "0 0 32 42",
2584
+ fill: "none",
2585
+ xmlns: "http://www.w3.org/2000/svg",
2586
+ "aria-labelledby": titleId
2587
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
2588
+ id: titleId
2589
+ }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
2590
+ fillRule: "evenodd",
2591
+ clipRule: "evenodd",
2592
+ d: "m31.884 10.667-.022-.026c-.007-.01-.014-.018-.021-.025a.356.356 0 0 0-.052-.058L21.396.21 21.37.188l-.025-.021a.48.48 0 0 0-.029-.026l-.029-.025L21.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-.108Zm-1.338 28.437a1.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.458Z",
2593
+ fill: "#051942"
2594
+ }));
2595
+
2542
2596
  const SvgListItemPdf = ({
2543
2597
  title,
2544
2598
  titleId,
@@ -2723,27 +2777,59 @@ const FileItem = /*#__PURE__*/React__default["default"].memo(({
2723
2777
  height: listItemHeight,
2724
2778
  boxSizing: 'border-box',
2725
2779
  padding: listItemPadding,
2726
- flexDirection: check !== '' ? 'column' : 'row',
2727
- justifyContent: check !== '' ? 'space-around' : 'space-between',
2780
+ flexDirection: 'row',
2781
+ justifyContent: 'space-between',
2782
+ border: check !== '' ? `1px solid ${listItemErrorColor}` : '',
2728
2783
  backgroundColor: check !== '' ? listItemBackgroundErrorColor : listItemBackgroundColor
2729
2784
  }
2730
- }, check !== '' ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("p", {
2785
+ }, check !== '' ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
2731
2786
  style: {
2787
+ width: '32px'
2788
+ }
2789
+ }, /*#__PURE__*/React__default["default"].createElement(SvgWrong, null)), /*#__PURE__*/React__default["default"].createElement("div", {
2790
+ style: {
2791
+ position: 'relative',
2792
+ display: 'flex',
2793
+ height: '40px',
2732
2794
  margin: '0px',
2733
- color: listItemErrorColor,
2795
+ alignItems: 'flex-end',
2796
+ width: 'calc(100% - 40px)'
2797
+ }
2798
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2799
+ style: {
2800
+ width: '100%',
2801
+ height: '100%',
2802
+ display: 'flex',
2803
+ paddingTop: '5px',
2804
+ color: progressColor,
2805
+ boxSizing: 'border-box',
2806
+ flexDirection: 'column',
2734
2807
  fontSize: listItemErrorSize
2735
2808
  }
2809
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2810
+ style: {
2811
+ margin: '0px',
2812
+ overflow: 'hidden',
2813
+ whiteSpace: 'nowrap',
2814
+ textOverflow: 'ellipsis',
2815
+ width: '100%',
2816
+ maxWidth: '100%'
2817
+ }
2736
2818
  }, name), /*#__PURE__*/React__default["default"].createElement("p", {
2737
2819
  style: {
2738
2820
  margin: '0px',
2739
- color: listItemErrorColor,
2740
- fontSize: listItemErrorSize
2821
+ overflow: 'hidden',
2822
+ whiteSpace: 'nowrap',
2823
+ textOverflow: 'ellipsis',
2824
+ width: '100%',
2825
+ maxWidth: '100%',
2826
+ color: listItemErrorColor
2741
2827
  }
2742
- }, check)) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
2828
+ }, check ? check : '')))) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
2743
2829
  style: {
2744
2830
  width: '32px'
2745
2831
  }
2746
- }, fileFormat === 'pdf' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemPdf, null) : fileFormat === 'jpg' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemJpg, null) : fileFormat === 'png' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemPng, null) : fileFormat === 'jpeg' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemJpeg, null) : ''), /*#__PURE__*/React__default["default"].createElement("div", {
2832
+ }, fileFormat === 'pdf' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemPdf, null) : fileFormat === 'jpg' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemJpg, null) : fileFormat === 'png' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemPng, null) : fileFormat === 'jpeg' ? /*#__PURE__*/React__default["default"].createElement(SvgListItemJpeg, null) : fileFormat === 'heic' || fileFormat === 'heif' ? /*#__PURE__*/React__default["default"].createElement(SvgHeic, null) : ''), /*#__PURE__*/React__default["default"].createElement("div", {
2747
2833
  style: {
2748
2834
  position: 'relative',
2749
2835
  display: 'flex',
@@ -2916,7 +3002,6 @@ const NewFile = ({
2916
3002
  progressTrackColor,
2917
3003
  fileAreaImageWidth,
2918
3004
  listItemErrorColor,
2919
- labelRequiredColor,
2920
3005
  timeForRemoveError,
2921
3006
  progressFailedColor,
2922
3007
  fileAreaImageHeight,
@@ -2958,7 +3043,7 @@ const NewFile = ({
2958
3043
  for (let ix = 0; ix < file.length; ix++) {
2959
3044
  if (file[ix]) {
2960
3045
  if (file[ix].size <= maxSize * Math.pow(2, 20)) {
2961
- if (fileExtensions.includes(file[ix].type.split('/')[1])) {
3046
+ if (fileExtensions.includes(file[ix].type.split('/')[1]) || fileExtensions.includes('heic') && file[ix].type.split('/')[1] === 'heif') {
2962
3047
  change({
2963
3048
  id: '',
2964
3049
  check: '',
@@ -2988,12 +3073,14 @@ const NewFile = ({
2988
3073
  } else {
2989
3074
  if (file[0]) {
2990
3075
  if (file[0].size <= maxSize * Math.pow(2, 20)) {
2991
- if (fileExtensions.includes(file[0].type.split('/')[1])) {
3076
+ if (fileExtensions.includes(file[0].type.split('/')[1]) || fileExtensions.includes('heic') && (file[0].type === 'image/heif' || file[0].type === 'image/heic')) {
2992
3077
  setError('');
2993
3078
  change(file);
2994
3079
  setSingleFile(file);
2995
3080
  if (file[0].type === 'application/pdf') {
2996
3081
  setImage('pdf');
3082
+ } else if (file[0].type === 'image/heif' || file[0].type === 'image/heic') {
3083
+ setImage('heic');
2997
3084
  } else {
2998
3085
  setImage(URL.createObjectURL(file[0]));
2999
3086
  }
@@ -3092,11 +3179,7 @@ const NewFile = ({
3092
3179
  color: labelColor ? labelColor : configStyles.File.labelColor,
3093
3180
  fontSize: labelSize ? labelSize : configStyles.File.labelSize
3094
3181
  }
3095
- }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", {
3096
- style: {
3097
- color: labelRequiredColor ? labelRequiredColor : configStyles.File.labelRequiredColor
3098
- }
3099
- }, "*")), deleteComponent && /*#__PURE__*/React__default["default"].createElement("span", {
3182
+ }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", null, /*#__PURE__*/React__default["default"].createElement(SvgRequired, null))), deleteComponent && /*#__PURE__*/React__default["default"].createElement("span", {
3100
3183
  style: {
3101
3184
  cursor: 'pointer'
3102
3185
  },
@@ -3142,7 +3225,7 @@ const NewFile = ({
3142
3225
  fontSize: size ? size : configStyles.File.size,
3143
3226
  fontWeight: weight ? weight : configStyles.File.weight
3144
3227
  }
3145
- }, !multiple && image ? image === 'pdf' ? /*#__PURE__*/React__default["default"].createElement(SvgPdf, null) : /*#__PURE__*/React__default["default"].createElement("img", {
3228
+ }, !multiple && image ? image === 'pdf' ? /*#__PURE__*/React__default["default"].createElement(SvgPdf, null) : image === 'heif' || image === 'heic' ? /*#__PURE__*/React__default["default"].createElement(SvgHeic, null) : /*#__PURE__*/React__default["default"].createElement("img", {
3146
3229
  src: image,
3147
3230
  style: {
3148
3231
  display: 'block',
@@ -3264,7 +3347,6 @@ NewFile.propTypes = {
3264
3347
  borderHoverColor: PropTypes__default["default"].string,
3265
3348
  listItemErrorSize: PropTypes__default["default"].string,
3266
3349
  timeForRemoveError: PropTypes__default["default"].number,
3267
- labelRequiredColor: PropTypes__default["default"].string,
3268
3350
  progressTrackColor: PropTypes__default["default"].string,
3269
3351
  fileAreaImageWidth: PropTypes__default["default"].string,
3270
3352
  listItemErrorColor: PropTypes__default["default"].string,
@@ -3281,8 +3363,8 @@ NewFile.propTypes = {
3281
3363
  };
3282
3364
  NewFile.defaultProps = {
3283
3365
  maxSize: 10,
3284
- timeForRemoveError: 4000,
3285
- fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
3366
+ timeForRemoveError: 5000,
3367
+ fileExtensions: ['jpg', 'jpeg', 'png', 'pdf', 'heic']
3286
3368
  };
3287
3369
 
3288
3370
  var css_248z$5 = ".checkbox-module_checkbox-wrap__Xrg-m{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.checkbox-module_checkbox-wrap__Xrg-m>input{height:0;opacity:0;position:absolute;width:0}.checkbox-module_checkbox-wrap__Xrg-m .checkbox-module_checkmark__M8DY6{border:1px solid #d9d9d9;border-radius:3px;bottom:0;display:inline-block;height:14px;left:0;margin:auto 4px auto auto;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.checkbox-module_checkbox-wrap__Xrg-m>.checkbox-module_checkmark__M8DY6:after{border:solid #1890ff;border-width:0 2px 2px 0;content:\"\";display:block;height:8px;left:4px;opacity:0;position:absolute;top:1px;transform:rotate(45deg);transition:opacity .24s;width:4px}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6:after{opacity:1}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6,.checkbox-module_checkbox-wrap__Xrg-m:hover input~.checkbox-module_checkmark__M8DY6{border-color:#1890ff}";
@@ -3382,6 +3464,7 @@ const Textarea = ({
3382
3464
  resize,
3383
3465
  radius,
3384
3466
  padding,
3467
+ disabled,
3385
3468
  required,
3386
3469
  onChange,
3387
3470
  minWidth,
@@ -3404,8 +3487,7 @@ const Textarea = ({
3404
3487
  borderFocusColor,
3405
3488
  borderHoverColor,
3406
3489
  labelMarginBottom,
3407
- showCharacterCount,
3408
- labelRequiredColor
3490
+ showCharacterCount
3409
3491
  }) => {
3410
3492
  const [error, setError] = React.useState('');
3411
3493
  const [isHover, setIsHover] = React.useState(false);
@@ -3477,11 +3559,7 @@ const Textarea = ({
3477
3559
  display: labelDisplay ? labelDisplay : configStyles.TEXTAREA.labelDisplay,
3478
3560
  fontWeight: labelWeight ? labelWeight : configStyles.TEXTAREA.labelWeight
3479
3561
  }
3480
- }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", {
3481
- style: {
3482
- color: labelRequiredColor ? labelRequiredColor : configStyles.TEXTAREA.labelRequiredColor
3483
- }
3484
- }, "*")) : '', showCharacterCount && maxLength && /*#__PURE__*/React__default["default"].createElement("span", {
3562
+ }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", null, /*#__PURE__*/React__default["default"].createElement(SvgRequired, null))) : '', showCharacterCount && maxLength && /*#__PURE__*/React__default["default"].createElement("span", {
3485
3563
  style: {
3486
3564
  color: labelColor ? labelColor : configStyles.TEXTAREA.labelColor,
3487
3565
  fontSize: labelSize ? labelSize : configStyles.TEXTAREA.labelSize
@@ -3492,6 +3570,7 @@ const Textarea = ({
3492
3570
  border: 'none',
3493
3571
  outline: 'none',
3494
3572
  overflow: 'auto',
3573
+ cursor: disabled ? 'not-allowed' : 'auto',
3495
3574
  fontSize: size ? size : configStyles.TEXTAREA.size,
3496
3575
  height: height ? height : configStyles.TEXTAREA.height,
3497
3576
  padding: padding ? padding : configStyles.TEXTAREA.padding,
@@ -3506,6 +3585,7 @@ const Textarea = ({
3506
3585
  resize: resize ? resize : configStyles.TEXTAREA.resize
3507
3586
  },
3508
3587
  value: innerValue,
3588
+ disabled: disabled,
3509
3589
  onBlur: handleBlur,
3510
3590
  onFocus: handleFocus,
3511
3591
  onChange: handleChange,
@@ -3529,6 +3609,7 @@ Textarea.propTypes = {
3529
3609
  resize: PropTypes__default["default"].string,
3530
3610
  radius: PropTypes__default["default"].string,
3531
3611
  required: PropTypes__default["default"].bool,
3612
+ disabled: PropTypes__default["default"].bool,
3532
3613
  padding: PropTypes__default["default"].string,
3533
3614
  minWidth: PropTypes__default["default"].string,
3534
3615
  maxWidth: PropTypes__default["default"].string,
@@ -3552,8 +3633,7 @@ Textarea.propTypes = {
3552
3633
  borderFocusColor: PropTypes__default["default"].string,
3553
3634
  borderHoverColor: PropTypes__default["default"].string,
3554
3635
  labelMarginBottom: PropTypes__default["default"].string,
3555
- onChange: PropTypes__default["default"].func.isRequired,
3556
- labelRequiredColor: PropTypes__default["default"].string
3636
+ onChange: PropTypes__default["default"].func.isRequired
3557
3637
  };
3558
3638
 
3559
3639
  var css_248z$3 = "";
@@ -3632,7 +3712,6 @@ const Typography = ({
3632
3712
  return validVariant ? 'Please set Typography valid variant' : tagT;
3633
3713
  };
3634
3714
  Typography.propTypes = {
3635
- size: PropTypes__default["default"].oneOf(PropTypes__default["default"].string, PropTypes__default["default"].number),
3636
3715
  color: PropTypes__default["default"].string,
3637
3716
  onClick: PropTypes__default["default"].func,
3638
3717
  weight: PropTypes__default["default"].string,
@@ -3649,7 +3728,8 @@ Typography.propTypes = {
3649
3728
  textTransform: PropTypes__default["default"].string,
3650
3729
  textDecoration: PropTypes__default["default"].string,
3651
3730
  backgroundColor: PropTypes__default["default"].string,
3652
- variant: PropTypes__default["default"].oneOf(Object.values(TypographyType))
3731
+ variant: PropTypes__default["default"].oneOf(Object.values(TypographyType)),
3732
+ size: PropTypes__default["default"].oneOf(PropTypes__default["default"].string, PropTypes__default["default"].number)
3653
3733
  };
3654
3734
  Typography.defaultProps = {
3655
3735
  variant: 'p'
@@ -3991,11 +4071,7 @@ const Autocomplate = ({
3991
4071
  }, [JSON.parse(jsonSelectedOptionsData)[keyNames.id]]);
3992
4072
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, label ? /*#__PURE__*/React__default["default"].createElement("label", {
3993
4073
  className: `${styles$1['autocomplate-title']} autocomplate-title-rem`
3994
- }, label, " ", required && /*#__PURE__*/React__default["default"].createElement("sup", {
3995
- style: {
3996
- color: '#ee0000'
3997
- }
3998
- }, "*")) : '', /*#__PURE__*/React__default["default"].createElement("div", {
4074
+ }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", null, /*#__PURE__*/React__default["default"].createElement(SvgRequired, null))) : '', /*#__PURE__*/React__default["default"].createElement("div", {
3999
4075
  className: `${styles$1['autocomplate-content']} autocomplate-content-rem`
4000
4076
  }, /*#__PURE__*/React__default["default"].createElement("input", _extends({
4001
4077
  id: inputId,
@@ -4076,7 +4152,6 @@ const NewAutocomplete = ({
4076
4152
  contentBottomLeft,
4077
4153
  innerErrorPadding,
4078
4154
  showOptionDuration,
4079
- labelRequiredColor,
4080
4155
  contentTopMaxWidth,
4081
4156
  labelTextTransform,
4082
4157
  contentBottomWidth,
@@ -4224,7 +4299,7 @@ const NewAutocomplete = ({
4224
4299
  backgroundColor: contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor
4225
4300
  }
4226
4301
  }, item[keyNames.name]);
4227
- }))) : innerOptions.length <= 0 ? innerError ? '' : /*#__PURE__*/React__default["default"].createElement("span", {
4302
+ }))) : innerOptions.length <= 0 ? innerError ? '' : innerValue.length <= 0 ? '' : /*#__PURE__*/React__default["default"].createElement("span", {
4228
4303
  style: {
4229
4304
  position: 'absolute',
4230
4305
  zIndex: '1',
@@ -4280,11 +4355,7 @@ const NewAutocomplete = ({
4280
4355
  marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.NEWAUTOCOMPLETE.labelMarginBottom,
4281
4356
  textTransform: labelTextTransform ? labelTextTransform : configStyles.NEWAUTOCOMPLETE.labelTextTransform
4282
4357
  }
4283
- }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", {
4284
- style: {
4285
- color: labelRequiredColor ? labelRequiredColor : configStyles.NEWAUTOCOMPLETE.labelRequiredColor
4286
- }
4287
- }, "*")) : '', /*#__PURE__*/React__default["default"].createElement("div", {
4358
+ }, label, required && /*#__PURE__*/React__default["default"].createElement("sup", null, /*#__PURE__*/React__default["default"].createElement(SvgRequired, null))) : '', /*#__PURE__*/React__default["default"].createElement("div", {
4288
4359
  style: {
4289
4360
  display: contentDisplay ? contentDisplay : configStyles.NEWAUTOCOMPLETE.contentDisplay,
4290
4361
  position: contentPosition ? contentPosition : configStyles.NEWAUTOCOMPLETE.contentPosition,
@@ -4370,7 +4441,6 @@ NewAutocomplete.propTypes = {
4370
4441
  options: PropTypes__default["default"].array.isRequired,
4371
4442
  labelMarginBottom: PropTypes__default["default"].string,
4372
4443
  innerErrorPadding: PropTypes__default["default"].string,
4373
- labelRequiredColor: PropTypes__default["default"].string,
4374
4444
  labelTextTransform: PropTypes__default["default"].string,
4375
4445
  showOptionDuration: PropTypes__default["default"].string,
4376
4446
  contentTopMaxWidth: PropTypes__default["default"].string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaypay/tui",
3
- "version": "0.0.107",
3
+ "version": "0.0.109",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -1,6 +1,7 @@
1
1
  import React, { useEffect, useState } from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import { compereConfigs } from './../../utils'
4
+ import SvgRequired from './../icon/Required'
4
5
  import styles from './autocomplate.module.css'
5
6
 
6
7
  export const Autocomplate = ({
@@ -105,7 +106,12 @@ export const Autocomplate = ({
105
106
  <>
106
107
  {label ? (
107
108
  <label className={`${styles['autocomplate-title']} autocomplate-title-rem`}>
108
- {label} {required && <sup style={{ color: '#ee0000' }}>*</sup>}
109
+ {label}
110
+ {required && (
111
+ <sup>
112
+ <SvgRequired />
113
+ </sup>
114
+ )}
109
115
  </label>
110
116
  ) : (
111
117
  ''
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'
3
3
  import classnames from 'classnames'
4
4
 
5
5
  import PDF from './../icon/PDF'
6
+ import SvgRequired from './../icon/Required'
6
7
 
7
8
  import styles from './file.module.css'
8
9
 
@@ -66,7 +67,12 @@ export const File = ({
66
67
  return (
67
68
  <>
68
69
  <p className={`${styles['file-form-title']} ile-form-title-rem`}>
69
- {label} {required && <sup style={{ color: '#ee0000' }}>*</sup>}
70
+ {label}
71
+ {required && (
72
+ <sup>
73
+ <SvgRequired />
74
+ </sup>
75
+ )}
70
76
  </p>
71
77
  <div
72
78
  className={classnames(`${styles['file-form-wrap']} file-form-wrap-rem`, image ? styles['active'] : '')}
@@ -0,0 +1,21 @@
1
+ import * as React from 'react'
2
+ const SvgHeic = ({ title, titleId, ...props }) => (
3
+ <svg
4
+ width="32"
5
+ height="42"
6
+ viewBox="0 0 32 42"
7
+ fill="none"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ aria-labelledby={titleId}
10
+ {...props}
11
+ >
12
+ {title ? <title id={titleId}>{title}</title> : null}
13
+ <path
14
+ fillRule="evenodd"
15
+ clipRule="evenodd"
16
+ d="m31.884 10.667-.022-.026c-.007-.01-.014-.018-.021-.025a.356.356 0 0 0-.052-.058L21.396.21 21.37.188l-.025-.021a.48.48 0 0 0-.029-.026l-.029-.025L21.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-.108Zm-1.338 28.437a1.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.458Zm2.434 26.076h-1.104c-.033.28-.1.517-.203.711-.1.192-.25.337-.446.437-.195.1-.45.15-.764.15-.26 0-.482-.051-.667-.154a1.278 1.278 0 0 1-.46-.437 2.158 2.158 0 0 1-.264-.676 4.288 4.288 0 0 1-.084-.883v-.543c0-.341.03-.645.093-.91.064-.267.16-.493.287-.675.126-.183.284-.321.472-.415.188-.094.41-.142.662-.142.31 0 .56.053.751.16a1 1 0 0 1 .433.45c.1.197.165.434.194.71H25.5a2.768 2.768 0 0 0-.362-1.143 2.041 2.041 0 0 0-.821-.781c-.354-.189-.786-.283-1.299-.283a2.7 2.7 0 0 0-1.09.212 2.29 2.29 0 0 0-.826.614c-.23.265-.406.584-.53.958-.12.374-.18.792-.18 1.254v.534c0 .462.058.88.176 1.254.12.374.294.693.52.958.228.262.5.465.818.61.318.141.675.212 1.073.212.518 0 .958-.095 1.32-.283.362-.188.643-.446.843-.773.2-.33.318-.705.354-1.126Zm-15-.772H7.608v2.865H6.5v-6.429h1.108v2.685h2.888v-2.685H11.6v6.43h-1.104v-2.866Zm6.632 2.865v-.878h-3.1v-2h2.654v-.866H14.03V32.97h3.077v-.883H12.92v6.43h4.208Zm2.089-6.429v6.43h-1.109v-6.43h1.109Z"
17
+ fill="#051942"
18
+ />
19
+ </svg>
20
+ )
21
+ export default SvgHeic
@@ -0,0 +1,19 @@
1
+ import * as React from 'react'
2
+ const SvgRequired = ({ title, titleId, ...props }) => (
3
+ <svg
4
+ width="12"
5
+ height="12"
6
+ viewBox="0 0 12 12"
7
+ fill="none"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ aria-labelledby={titleId}
10
+ {...props}
11
+ >
12
+ {title ? <title id={titleId}>{title}</title> : null}
13
+ <path
14
+ d="M9.281 7.317 7 6l2.281-1.317a.5.5 0 0 0-.5-.866L6.5 5.134V2.5a.5.5 0 1 0-1 0v2.634L3.219 3.817a.5.5 0 0 0-.5.866L5 6 2.719 7.317a.5.5 0 0 0 .5.866L5.5 6.866V9.5a.5.5 0 1 0 1 0V6.866l2.281 1.317a.5.5 0 0 0 .5-.866Z"
15
+ fill="#E00"
16
+ />
17
+ </svg>
18
+ )
19
+ export default SvgRequired
@@ -0,0 +1,21 @@
1
+ import * as React from 'react'
2
+ const SvgWrong = ({ title, titleId, ...props }) => (
3
+ <svg
4
+ width="32"
5
+ height="42"
6
+ viewBox="0 0 32 42"
7
+ fill="none"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ aria-labelledby={titleId}
10
+ {...props}
11
+ >
12
+ {title ? <title id={titleId}>{title}</title> : null}
13
+ <path
14
+ fillRule="evenodd"
15
+ clipRule="evenodd"
16
+ d="m31.884 10.667-.022-.026c-.007-.01-.014-.018-.021-.025a.356.356 0 0 0-.052-.058L21.396.21 21.37.188l-.025-.021a.48.48 0 0 0-.029-.026l-.029-.025L21.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-.108Zm-1.338 28.437a1.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.458Z"
17
+ fill="#051942"
18
+ />
19
+ </svg>
20
+ )
21
+ export default SvgWrong