@xaypay/tui 0.2.32 → 0.2.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -595,7 +595,11 @@ var packageResult = {
595
595
  ...fontObject
596
596
  },
597
597
  label: {
598
+ showMore: false,
598
599
  useTooltip: false,
600
+ showLessText: 'Փակել',
601
+ showMoreText: 'Ավելին',
602
+ showMoreTextColor: '#2C46C1',
599
603
  color: presetColors.dark,
600
604
  display: 'block',
601
605
  lineHeight: '22px',
@@ -788,7 +792,11 @@ var packageResult = {
788
792
  shadowHover: `0 0 0 2px ${presetColors.dark}` // like border
789
793
  },
790
794
  label: {
795
+ showMore: false,
791
796
  useTooltip: false,
797
+ showLessText: 'Փակել',
798
+ showMoreText: 'Ավելին',
799
+ showMoreTextColor: '#2C46C1',
792
800
  color: presetColors.dark,
793
801
  display: 'block',
794
802
  lineHeight: '22px',
@@ -900,7 +908,11 @@ var packageResult = {
900
908
  background: 'white'
901
909
  },
902
910
  label: {
911
+ showMore: false,
903
912
  useTooltip: false,
913
+ showLessText: 'Փակել',
914
+ showMoreText: 'Ավելին',
915
+ showMoreTextColor: '#2C46C1',
904
916
  color: presetColors.dark,
905
917
  display: 'block',
906
918
  marginBottom: '10px',
@@ -969,7 +981,11 @@ var packageResult = {
969
981
  backgroundDisable: presetColors.secondary
970
982
  },
971
983
  label: {
984
+ showMore: false,
972
985
  useTooltip: false,
986
+ showLessText: 'Փակել',
987
+ showMoreText: 'Ավելին',
988
+ showMoreTextColor: '#2C46C1',
973
989
  color: presetColors.dark,
974
990
  display: 'block',
975
991
  lineHeight: '22px',
@@ -1093,6 +1109,8 @@ var packageResult = {
1093
1109
  label: {
1094
1110
  showMore: false,
1095
1111
  useTooltip: false,
1112
+ showLessText: 'Փակել',
1113
+ showMoreText: 'Ավելին',
1096
1114
  showMoreTextColor: '#2C46C1',
1097
1115
  color: '#4A4A4D',
1098
1116
  font: {
@@ -1822,9 +1840,9 @@ function styleInject(css, ref) {
1822
1840
  }
1823
1841
  }
1824
1842
 
1825
- var css_248z$c = ".file-module_small-file-component__nlpcW>svg{max-height:77%!important}.file-module_show-more-text__WIGLx{align-self:self-end;cursor:pointer}";
1826
- var styles$b = {"small-file-component":"file-module_small-file-component__nlpcW","show-more-text":"file-module_show-more-text__WIGLx"};
1827
- styleInject(css_248z$c);
1843
+ var css_248z$d = ".file-module_small-file-component__nlpcW>svg{max-height:77%!important}.file-module_show-more-text__WIGLx{align-self:self-end;cursor:pointer}";
1844
+ var styles$c = {"small-file-component":"file-module_small-file-component__nlpcW","show-more-text":"file-module_show-more-text__WIGLx"};
1845
+ styleInject(css_248z$d);
1828
1846
 
1829
1847
  // eslint-disable-next-line react/display-name
1830
1848
  const File = /*#__PURE__*/forwardRef(({
@@ -2453,12 +2471,23 @@ const File = /*#__PURE__*/forwardRef(({
2453
2471
  fontFamily: labelFamily ?? configStyles.FILE.label.font.family,
2454
2472
  whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'nowrap' : 'normal',
2455
2473
  overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'hidden' : 'visible',
2456
- textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'ellipsis' : ''
2474
+ textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'ellipsis' : '',
2475
+ wordBreak: 'break-all'
2457
2476
  },
2458
2477
  onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) && !lableShowMore && !configStyles.FILE.label.showMore ? handleLabelMouseEnter : _ => _,
2459
2478
  onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) && !lableShowMore && !configStyles.FILE.label.showMore ? handleLabelMouseLeave : _ => _
2460
- }, label), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.FILE.icon.required ? configStyles.FILE.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null)), lableShowMore || configStyles.FILE.label.showMore ? /*#__PURE__*/React__default.createElement("span", {
2461
- className: styles$b['show-more-text'],
2479
+ }, label, handleCheckTextWidth('label') === 'more' && showMore && (lableShowMore || configStyles.FILE.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
2480
+ className: styles$c['show-more-text'],
2481
+ style: {
2482
+ fontSize: labelSize ?? configStyles.FILE.label.font.size,
2483
+ fontStyle: labelStyle ?? configStyles.FILE.label.font.style,
2484
+ fontWeight: labelWeight ?? configStyles.FILE.label.font.weight,
2485
+ fontFamily: labelFamily ?? configStyles.FILE.label.font.family,
2486
+ color: showMoreTextColor ?? configStyles.FILE.label.showMoreTextColor
2487
+ },
2488
+ onClick: handleChangeShowMore
2489
+ }, ' ', " ", labelShowLessText ?? configStyles.FILE.label.showLessText) : ''), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.FILE.icon.required ? configStyles.FILE.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null)), handleCheckTextWidth('label') === 'more' && !showMore && (lableShowMore || configStyles.FILE.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
2490
+ className: styles$c['show-more-text'],
2462
2491
  style: {
2463
2492
  fontSize: labelSize ?? configStyles.FILE.label.font.size,
2464
2493
  fontStyle: labelStyle ?? configStyles.FILE.label.font.style,
@@ -2467,7 +2496,7 @@ const File = /*#__PURE__*/forwardRef(({
2467
2496
  color: showMoreTextColor ?? configStyles.FILE.label.showMoreTextColor
2468
2497
  },
2469
2498
  onClick: handleChangeShowMore
2470
- }, showMore ? labelShowLessText ? labelShowLessText : '' : labelShowMoreText ? labelShowMoreText : '') : ''), deleteComponent && /*#__PURE__*/React__default.createElement("span", {
2499
+ }, labelShowMoreText ?? configStyles.FILE.label.showMoreText) : ''), deleteComponent && /*#__PURE__*/React__default.createElement("span", {
2471
2500
  style: {
2472
2501
  cursor: 'pointer'
2473
2502
  },
@@ -2554,7 +2583,7 @@ const File = /*#__PURE__*/forwardRef(({
2554
2583
  color: extentionsTextColor ?? configStyles.FILE.extentionsTextColor
2555
2584
  }
2556
2585
  }, "(", fileExtensions.toString().split(',').join(', '), ")"))))) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
2557
- className: styles$b['small-file-component'],
2586
+ className: styles$c['small-file-component'],
2558
2587
  style: {
2559
2588
  width: '100%',
2560
2589
  padding: '5px',
@@ -3071,9 +3100,9 @@ SingleCheckbox.propTypes = {
3071
3100
  ignoreDisabledForChecked: PropTypes.bool
3072
3101
  };
3073
3102
 
3074
- var css_248z$b = ".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{display:inline-block;position:relative}.table-module_td-span__XHo6k>svg{left:0;position:absolute;top:0;z-index:-1}.table-module_list-text__kmKIq{align-items:center;cursor:pointer;display:flex;margin:0 0 8px;min-height:38px;white-space:wrap}.table-module_dots-option-item__jNOxO{box-sizing:border-box;cursor:pointer;display:flex;height:39px;margin-bottom:2px;padding:10px;position:relative;width:100%}.table-module_dots-option-item__jNOxO:after{background-color:#eee;border-radius:1px;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;content:\"\";height:2px;left:10px;position:absolute;top:calc(100% - 2px);width:calc(100% - 20px)}.table-module_dots-option-item__jNOxO:last-child:after{display:none}.table-module_no-tabel-data__6xp3N{align-items:center;display:flex;height:200px;justify-content:center;width:100%}";
3075
- var styles$a = {"sorting-arrows":"table-module_sorting-arrows__BaN-G","td-span":"table-module_td-span__XHo6k","list-text":"table-module_list-text__kmKIq","dots-option-item":"table-module_dots-option-item__jNOxO","no-tabel-data":"table-module_no-tabel-data__6xp3N"};
3076
- styleInject(css_248z$b);
3103
+ var css_248z$c = ".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{display:inline-block;position:relative}.table-module_td-span__XHo6k>svg{left:0;position:absolute;top:0;z-index:-1}.table-module_list-text__kmKIq{align-items:center;cursor:pointer;display:flex;margin:0 0 8px;min-height:38px;white-space:wrap}.table-module_dots-option-item__jNOxO{box-sizing:border-box;cursor:pointer;display:flex;height:39px;margin-bottom:2px;padding:10px;position:relative;width:100%}.table-module_dots-option-item__jNOxO:after{background-color:#eee;border-radius:1px;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;content:\"\";height:2px;left:10px;position:absolute;top:calc(100% - 2px);width:calc(100% - 20px)}.table-module_dots-option-item__jNOxO:last-child:after{display:none}.table-module_no-tabel-data__6xp3N{align-items:center;display:flex;height:200px;justify-content:center;width:100%}";
3104
+ var styles$b = {"sorting-arrows":"table-module_sorting-arrows__BaN-G","td-span":"table-module_td-span__XHo6k","list-text":"table-module_list-text__kmKIq","dots-option-item":"table-module_dots-option-item__jNOxO","no-tabel-data":"table-module_no-tabel-data__6xp3N"};
3105
+ styleInject(css_248z$c);
3077
3106
 
3078
3107
  /* eslint-disable no-prototype-builtins */
3079
3108
  const TH = ({
@@ -3115,7 +3144,7 @@ const TH = ({
3115
3144
  borderColor: hideBorder ? 'transparent' : '#eeeeee'
3116
3145
  },
3117
3146
  onClick: handleHeaderItemClick,
3118
- className: `${hasOwnerProperty(item, 'sortingArrows') ? item.sortingArrows === true ? styles$a['sorting-arrows'] : '' : ''}`
3147
+ className: `${hasOwnerProperty(item, 'sortingArrows') ? item.sortingArrows === true ? styles$b['sorting-arrows'] : '' : ''}`
3119
3148
  }, /*#__PURE__*/React__default.createElement("div", {
3120
3149
  style: {
3121
3150
  display: 'flex',
@@ -3276,7 +3305,7 @@ const TD = ({
3276
3305
  },
3277
3306
  id: newItem.id,
3278
3307
  type: newItem.type,
3279
- className: styles$a['td-span'],
3308
+ className: styles$b['td-span'],
3280
3309
  key: `${newItem.id}_${newIndex}`,
3281
3310
  onClick: e => handleCheckActions(e, newItem, 'type', newIndex),
3282
3311
  onMouseEnter: () => handleMouseEnter(newItem, newIndex),
@@ -3300,7 +3329,7 @@ const TD = ({
3300
3329
  },
3301
3330
  id: iT.id ? iT.id : '',
3302
3331
  type: iT.type ? iT.type : '',
3303
- className: styles$a['td-span'],
3332
+ className: styles$b['td-span'],
3304
3333
  key: `${iT.id || iT.content}_${iN}`,
3305
3334
  onMouseEnter: () => handleMouseEnter(iT, iN),
3306
3335
  onMouseLeave: () => handleMouseLeave(),
@@ -3326,7 +3355,7 @@ const TD = ({
3326
3355
  cursor: 'pointer'
3327
3356
  },
3328
3357
  onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
3329
- className: styles$a['td-span']
3358
+ className: styles$b['td-span']
3330
3359
  }, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '', hasOwnerProperty(item, 'draggableIcon') && /*#__PURE__*/React__default.createElement("div", {
3331
3360
  draggable: true,
3332
3361
  style: {
@@ -3395,7 +3424,7 @@ const TD = ({
3395
3424
  }, hasOwnerProperty(item, 'options') && item.options.map((optionItem, optionIndex) => {
3396
3425
  return /*#__PURE__*/React__default.createElement("span", {
3397
3426
  key: `${optionItem.content}_${optionIndex}`,
3398
- className: styles$a['dots-option-item'],
3427
+ className: styles$b['dots-option-item'],
3399
3428
  style: {
3400
3429
  color: '#3C393E',
3401
3430
  fontSize: '14px',
@@ -3437,7 +3466,7 @@ const TD = ({
3437
3466
  }, innerItem.content.map((contInnerItem, contInnerIndex) => {
3438
3467
  return /*#__PURE__*/React__default.createElement("p", {
3439
3468
  key: `${contInnerItem}_${contInnerIndex}`,
3440
- className: styles$a['list-text'],
3469
+ className: styles$b['list-text'],
3441
3470
  style: {
3442
3471
  maxWidth: '100%',
3443
3472
  color: openListColor,
@@ -3454,7 +3483,7 @@ const TD = ({
3454
3483
  } else {
3455
3484
  return /*#__PURE__*/React__default.createElement("p", {
3456
3485
  key: `${innerItem}_${innerItemIndex}`,
3457
- className: styles$a['list-text'],
3486
+ className: styles$b['list-text'],
3458
3487
  style: {
3459
3488
  maxWidth: '100%',
3460
3489
  color: openListColor,
@@ -3475,7 +3504,7 @@ const TD = ({
3475
3504
  cursor: 'pointer'
3476
3505
  },
3477
3506
  onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
3478
- className: styles$a['td-span']
3507
+ className: styles$b['td-span']
3479
3508
  }, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '') : '');
3480
3509
  };
3481
3510
 
@@ -4460,7 +4489,7 @@ const Table = ({
4460
4489
  borderRightColor: innerIndex === Object.values(draggedItem).length - 1 ? 'transparent' : configStyles.TABLE.body.row.borderColor
4461
4490
  });
4462
4491
  })))), !body.length && /*#__PURE__*/React__default.createElement("div", {
4463
- className: styles$a['no-tabel-data']
4492
+ className: styles$b['no-tabel-data']
4464
4493
  }, /*#__PURE__*/React__default.createElement("p", null, "\u054F\u057E\u0575\u0561\u056C\u0576\u0565\u0580 \u0579\u056F\u0561\u0576")));
4465
4494
  };
4466
4495
  Table.propTypes = {
@@ -4511,9 +4540,9 @@ Table.propTypes = {
4511
4540
  clickableRowColumnTd: PropTypes.bool
4512
4541
  };
4513
4542
 
4514
- var css_248z$a = "body.modal-module_tui-no-srcoll-class__gZjNK,html.modal-module_tui-no-srcoll-class__gZjNK{height:100%;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}#modal-module_tui-modal-id-for-no-scroll-area__s79-a{touch-action:auto}.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)}}";
4515
- var styles$9 = {"tui-no-srcoll-class":"modal-module_tui-no-srcoll-class__gZjNK","tui-modal-id-for-no-scroll-area":"modal-module_tui-modal-id-for-no-scroll-area__s79-a","animation__modal":"modal-module_animation__modal__3mt48","show-popup":"modal-module_show-popup__WrH7a"};
4516
- styleInject(css_248z$a);
4543
+ var css_248z$b = "body.modal-module_tui-no-srcoll-class__gZjNK,html.modal-module_tui-no-srcoll-class__gZjNK{height:100%;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}#modal-module_tui-modal-id-for-no-scroll-area__s79-a{touch-action:auto}.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)}}";
4544
+ var styles$a = {"tui-no-srcoll-class":"modal-module_tui-no-srcoll-class__gZjNK","tui-modal-id-for-no-scroll-area":"modal-module_tui-modal-id-for-no-scroll-area__s79-a","animation__modal":"modal-module_animation__modal__3mt48","show-popup":"modal-module_show-popup__WrH7a"};
4545
+ styleInject(css_248z$b);
4517
4546
 
4518
4547
  const SvgNext = ({
4519
4548
  title,
@@ -4834,7 +4863,7 @@ const Modal = ({
4834
4863
  justifyContent: justifyContent ?? configStyles.MODAL.justifyContent
4835
4864
  }
4836
4865
  }, /*#__PURE__*/React__default.createElement("div", {
4837
- className: `${styles$9['animation__modal']}`,
4866
+ className: `${styles$a['animation__modal']}`,
4838
4867
  onClick: handleStopClosing,
4839
4868
  style: {
4840
4869
  position: 'relative',
@@ -5417,9 +5446,9 @@ const NumberInput = ({
5417
5446
  });
5418
5447
  };
5419
5448
 
5420
- var css_248z$9 = ".input-module_input-wrap__NunrE{position:relative;width:100%}.input-module_input-content__kP7lZ{appearance:none!important;-webkit-appearance:none!important;display:flex;width:100%}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{background-color:inherit!important}input::-ms-clear,input::-ms-reveal{display:none}.input-module_error-message-show__OrVSo{animation-fill-mode:forwards;animation-name:input-module_error-show__9MP6k}.input-module_inp-num__vH7HL::-webkit-inner-spin-button,.input-module_inp-num__vH7HL::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.input-module_inp-num__vH7HL[type=number]{-moz-appearance:textfield}@keyframes input-module_error-show__9MP6k{to{bottom:-20px;transform:scaleX(1);-webkit-transform:scaleX(1);-moz-transform:scaleX(1);-ms-transform:scaleX(1);-o-transform:scaleX(1)}}";
5421
- var styles$8 = {"input-wrap":"input-module_input-wrap__NunrE","input-content":"input-module_input-content__kP7lZ","error-message-show":"input-module_error-message-show__OrVSo","error-show":"input-module_error-show__9MP6k","inp-num":"input-module_inp-num__vH7HL"};
5422
- styleInject(css_248z$9);
5449
+ var css_248z$a = ".input-module_input-wrap__NunrE{position:relative;width:100%}.input-module_input-content__kP7lZ{appearance:none!important;-webkit-appearance:none!important;display:flex;width:100%}.input-module_show-more-text__PQC9x{align-self:self-end;cursor:pointer}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{background-color:inherit!important}input::-ms-clear,input::-ms-reveal{display:none}.input-module_error-message-show__OrVSo{animation-fill-mode:forwards;animation-name:input-module_error-show__9MP6k}.input-module_inp-num__vH7HL::-webkit-inner-spin-button,.input-module_inp-num__vH7HL::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.input-module_inp-num__vH7HL[type=number]{-moz-appearance:textfield}@keyframes input-module_error-show__9MP6k{to{bottom:-20px;transform:scaleX(1);-webkit-transform:scaleX(1);-moz-transform:scaleX(1);-ms-transform:scaleX(1);-o-transform:scaleX(1)}}";
5450
+ var styles$9 = {"input-wrap":"input-module_input-wrap__NunrE","input-content":"input-module_input-content__kP7lZ","show-more-text":"input-module_show-more-text__PQC9x","error-message-show":"input-module_error-message-show__OrVSo","error-show":"input-module_error-show__9MP6k","inp-num":"input-module_inp-num__vH7HL"};
5451
+ styleInject(css_248z$a);
5423
5452
 
5424
5453
  const InputTypes = {
5425
5454
  TEL: 'tel',
@@ -5513,6 +5542,10 @@ const Input = ({
5513
5542
  labelFontFamily,
5514
5543
  labelLineHeight,
5515
5544
  labelMarginBottom,
5545
+ lableShowMore,
5546
+ labelShowLessText,
5547
+ labelShowMoreText,
5548
+ showMoreTextColor,
5516
5549
  iconRequired,
5517
5550
  useLabelTooltip,
5518
5551
  labelTooltipColor,
@@ -5531,6 +5564,7 @@ const Input = ({
5531
5564
  const [show, setShow] = useState(false);
5532
5565
  const [removeID, setRemoveID] = useState('');
5533
5566
  const [isHover, setIsHover] = useState(false);
5567
+ const [showMore, setShowMore] = useState(false);
5534
5568
  const [classProps, setClassProps] = useState({});
5535
5569
  const [innerValue, setInnerValue] = useState('');
5536
5570
  const [tooltipElem, setTooltipElem] = useState(null);
@@ -5657,6 +5691,21 @@ const Input = ({
5657
5691
  }
5658
5692
  setRemoveID(() => '');
5659
5693
  };
5694
+ const handleCheckTextWidth = () => {
5695
+ if (labelRef.current) {
5696
+ const rect = labelRef.current.getBoundingClientRect();
5697
+ const elementWidth = rect.width;
5698
+ const textWidth = getRenderedTextWidth(labelRef.current);
5699
+ if (textWidth > Math.ceil(elementWidth)) {
5700
+ return 'more';
5701
+ } else {
5702
+ return 'less';
5703
+ }
5704
+ }
5705
+ };
5706
+ const handleChangeShowMore = () => {
5707
+ setShowMore(() => !showMore);
5708
+ };
5660
5709
  useEffect(() => {
5661
5710
  if (errorMessage) {
5662
5711
  setInnerErrorMessage(errorMessage);
@@ -5672,7 +5721,7 @@ const Input = ({
5672
5721
  setInnerValue(() => val);
5673
5722
  }, [value]);
5674
5723
  useEffect(() => {
5675
- className && setClassProps(() => classnames(className ?? configStyles.INPUT.className, type === 'number' ? styles$8['inp-num'] : '', styles$8['input-wrap']));
5724
+ className && setClassProps(() => classnames(className ?? configStyles.INPUT.className, type === 'number' ? styles$9['inp-num'] : '', styles$9['input-wrap']));
5676
5725
  }, [className]);
5677
5726
  useEffect(() => {
5678
5727
  setInnerErrorIcon(() => errorIcon);
@@ -5690,9 +5739,18 @@ const Input = ({
5690
5739
  setInnerLabelIconSide(() => labelIconSide);
5691
5740
  }
5692
5741
  }, [labelIconSide]);
5742
+ useEffect(() => {
5743
+ if ((useLabelTooltip || configStyles.INPUT?.label?.useTooltip) && (lableShowMore || configStyles.INPUT?.label?.showMore)) {
5744
+ alert(`
5745
+ Please use one of this props or config,
5746
+ use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
5747
+ or ( lableShowMore / configStyles.FILE.label.showMore )
5748
+ `);
5749
+ }
5750
+ }, [lableShowMore, useLabelTooltip, configStyles.INPUT?.label?.useTooltip, configStyles.INPUT?.label?.showMore]);
5693
5751
  useEffect(() => {
5694
5752
  configStylesPromise.then(data => {
5695
- setClassProps(() => classnames(className ?? data.INPUT.className, type === 'number' ? styles$8['inp-num'] : '', styles$8['input-wrap']));
5753
+ setClassProps(() => classnames(className ?? data.INPUT.className, type === 'number' ? styles$9['inp-num'] : '', styles$9['input-wrap']));
5696
5754
  setConfigStyles(() => {
5697
5755
  return {
5698
5756
  ...data
@@ -5736,13 +5794,24 @@ const Input = ({
5736
5794
  lineHeight: labelLineHeight ?? configStyles.INPUT.label.lineHeight,
5737
5795
  marginBottom: labelMarginBottom ?? configStyles.INPUT.label.marginBottom,
5738
5796
  fontFamily: labelFontFamily ?? configStyles.INPUT.label.font.family,
5739
- whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? 'nowrap' : 'normal',
5740
- overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? 'hidden' : 'visible',
5741
- textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? 'ellipsis' : ''
5797
+ whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.INPUT.label.showMore) && !showMore ? 'nowrap' : 'normal',
5798
+ overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.INPUT.label.showMore) && !showMore ? 'hidden' : 'visible',
5799
+ textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.INPUT.label.showMore) && !showMore ? 'ellipsis' : '',
5800
+ wordBreak: 'break-all'
5742
5801
  },
5743
5802
  onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? handleLabelMouseEnter : _ => _,
5744
5803
  onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? handleLabelMouseLeave : _ => _
5745
- }, label), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.INPUT.icon.required ? configStyles.INPUT.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null)), showLabelIcon && innerLabelIcon && innerLabelIconSide === 'right' ? /*#__PURE__*/React__default.createElement("img", {
5804
+ }, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.INPUT.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
5805
+ className: styles$9['show-more-text'],
5806
+ style: {
5807
+ fontSize: labelSize ?? configStyles.INPUT.label.font.size,
5808
+ fontStyle: labelStyle ?? configStyles.INPUT.label.font.style,
5809
+ fontWeight: labelWeight ?? configStyles.INPUT.label.font.weight,
5810
+ fontFamily: labelFontFamily ?? configStyles.INPUT.label.font.family,
5811
+ color: showMoreTextColor ?? configStyles.INPUT.label.showMoreTextColor
5812
+ },
5813
+ onClick: handleChangeShowMore
5814
+ }, ' ', " ", labelShowLessText ?? configStyles.INPUT.label.showLessText) : ''), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.INPUT.icon.required ? configStyles.INPUT.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null)), showLabelIcon && innerLabelIcon && innerLabelIconSide === 'right' ? /*#__PURE__*/React__default.createElement("img", {
5746
5815
  alt: "label icon",
5747
5816
  src: innerLabelIcon,
5748
5817
  style: {
@@ -5752,8 +5821,18 @@ const Input = ({
5752
5821
  marginLeft: labelIconMargin ?? configStyles.INPUT.label.iconMargin
5753
5822
  },
5754
5823
  onClick: labelAction ? () => labelAction() : _ => _
5755
- }) : ''), /*#__PURE__*/React__default.createElement("div", {
5756
- className: `${styles$8['input-content']}`,
5824
+ }) : '', handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.INPUT.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
5825
+ className: styles$9['show-more-text'],
5826
+ style: {
5827
+ fontSize: labelSize ?? configStyles.INPUT.label.font.size,
5828
+ fontStyle: labelStyle ?? configStyles.INPUT.label.font.style,
5829
+ fontWeight: labelWeight ?? configStyles.INPUT.label.font.weight,
5830
+ fontFamily: labelFontFamily ?? configStyles.INPUT.label.font.family,
5831
+ color: showMoreTextColor ?? configStyles.INPUT.label.showMoreTextColor
5832
+ },
5833
+ onClick: handleChangeShowMore
5834
+ }, labelShowMoreText ?? configStyles.INPUT.label.showMoreText) : ''), /*#__PURE__*/React__default.createElement("div", {
5835
+ className: `${styles$9['input-content']}`,
5757
5836
  style: {
5758
5837
  width: width ?? configStyles.INPUT.width,
5759
5838
  borderRadius: radius ?? configStyles.INPUT.radius,
@@ -5985,6 +6064,10 @@ Input.propTypes = {
5985
6064
  labelFontFamily: PropTypes.string,
5986
6065
  labelIconMargin: PropTypes.string,
5987
6066
  labelMarginBottom: PropTypes.string,
6067
+ lableShowMore: PropTypes.bool,
6068
+ labelShowLessText: PropTypes.string,
6069
+ labelShowMoreText: PropTypes.string,
6070
+ showMoreTextColor: PropTypes.string,
5988
6071
  useLabelTooltip: PropTypes.bool,
5989
6072
  labelTooltipColor: PropTypes.string,
5990
6073
  labelTooltipPadding: PropTypes.string,
@@ -6205,9 +6288,9 @@ const SvgArrow = ({
6205
6288
  fill: fillColor ? fillColor : '#3C393E'
6206
6289
  }));
6207
6290
 
6208
- var css_248z$8 = ".select-module_select-content__GCMDX{-webkit-appearance:none;display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{align-items:center;-webkit-appearance:none;display:flex;flex-direction:row;flex-wrap:nowrap}.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:99999999999}.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}.select-module_select-content-top-icon__MBrGK>div{align-items:center;display:flex;height:fit-content;justify-content:center;max-height:30px;max-width:30px;min-height:14px;min-width:14px;width:fit-content}.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}.select-module_ellipsis__uNgol{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes select-module_select-show__391hQ{to{max-height:234px}}";
6209
- var styles$7 = {"select-content":"select-module_select-content__GCMDX","select-content-top":"select-module_select-content-top__Aw-fB","select-content-bottom":"select-module_select-content-bottom__ueZCR","select-show":"select-module_select-show__391hQ","select-content-bottom-inner":"select-module_select-content-bottom-inner__NWy2X","select-content-top-icon":"select-module_select-content-top-icon__MBrGK","close-icon":"select-module_close-icon__SFNaJ","arrow-icon":"select-module_arrow-icon__rjHt-","select-content-bottom-row":"select-module_select-content-bottom-row__eKq5L","ellipsis":"select-module_ellipsis__uNgol"};
6210
- styleInject(css_248z$8);
6291
+ var css_248z$9 = ".select-module_select-content__GCMDX{-webkit-appearance:none;display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{align-items:center;-webkit-appearance:none;display:flex;flex-direction:row;flex-wrap:nowrap}.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:99999999999}.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}.select-module_select-content-top-icon__MBrGK>div{align-items:center;display:flex;height:fit-content;justify-content:center;max-height:30px;max-width:30px;min-height:14px;min-width:14px;width:fit-content}.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}.select-module_ellipsis__uNgol{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-module_show-more-text__kY3zS{align-self:self-end;cursor:pointer}@keyframes select-module_select-show__391hQ{to{max-height:234px}}";
6292
+ var styles$8 = {"select-content":"select-module_select-content__GCMDX","select-content-top":"select-module_select-content-top__Aw-fB","select-content-bottom":"select-module_select-content-bottom__ueZCR","select-show":"select-module_select-show__391hQ","select-content-bottom-inner":"select-module_select-content-bottom-inner__NWy2X","select-content-top-icon":"select-module_select-content-top-icon__MBrGK","close-icon":"select-module_close-icon__SFNaJ","arrow-icon":"select-module_arrow-icon__rjHt-","select-content-bottom-row":"select-module_select-content-bottom-row__eKq5L","ellipsis":"select-module_ellipsis__uNgol","show-more-text":"select-module_show-more-text__kY3zS"};
6293
+ styleInject(css_248z$9);
6211
6294
 
6212
6295
  const Select = ({
6213
6296
  dots,
@@ -6239,6 +6322,10 @@ const Select = ({
6239
6322
  labelFontFamily,
6240
6323
  labelMarginBottom,
6241
6324
  labelTextTransform,
6325
+ lableShowMore,
6326
+ labelShowLessText,
6327
+ labelShowMoreText,
6328
+ showMoreTextColor,
6242
6329
  iconRequired,
6243
6330
  useLabelTooltip,
6244
6331
  labelTooltipColor,
@@ -6299,6 +6386,7 @@ const Select = ({
6299
6386
  const [opened, setOpened] = useState(false);
6300
6387
  const [removeID, setRemoveID] = useState('');
6301
6388
  const [isHover, setIsHover] = useState(false);
6389
+ const [showMore, setShowMore] = useState(false);
6302
6390
  const [classProps, setClassProps] = useState({});
6303
6391
  const [newSelected, setNewSelected] = useState([]);
6304
6392
  const [tooltipElem, setTooltipElem] = useState(null);
@@ -6440,6 +6528,21 @@ const Select = ({
6440
6528
  }
6441
6529
  setRemoveID(() => '');
6442
6530
  };
6531
+ const handleCheckTextWidth = () => {
6532
+ if (labelRef.current) {
6533
+ const rect = labelRef.current.getBoundingClientRect();
6534
+ const elementWidth = rect.width;
6535
+ const textWidth = getRenderedTextWidth(labelRef.current);
6536
+ if (textWidth > Math.ceil(elementWidth)) {
6537
+ return 'more';
6538
+ } else {
6539
+ return 'less';
6540
+ }
6541
+ }
6542
+ };
6543
+ const handleChangeShowMore = () => {
6544
+ setShowMore(() => !showMore);
6545
+ };
6443
6546
  useEffect(() => {
6444
6547
  if (opened) {
6445
6548
  const checkIfClickedOutside = e => {
@@ -6481,6 +6584,15 @@ const Select = ({
6481
6584
  useEffect(() => {
6482
6585
  className && setClassProps(() => classnames(className ?? configStyles.SELECT.className));
6483
6586
  }, [className]);
6587
+ useEffect(() => {
6588
+ if ((useLabelTooltip || configStyles.SELECT?.label?.useTooltip) && (lableShowMore || configStyles.SELECT?.label?.showMore)) {
6589
+ alert(`
6590
+ Please use one of this props or config,
6591
+ use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
6592
+ or ( lableShowMore / configStyles.FILE.label.showMore )
6593
+ `);
6594
+ }
6595
+ }, [lableShowMore, useLabelTooltip, configStyles.SELECT?.label?.useTooltip, configStyles.SELECT?.label?.showMore]);
6484
6596
  useEffect(() => {
6485
6597
  configStylesPromise.then(data => {
6486
6598
  setClassProps(() => classnames(className ?? data.SELECT.className));
@@ -6520,18 +6632,39 @@ const Select = ({
6520
6632
  lineHeight: labelLineHeight ?? configStyles.SELECT.label.lineHeight,
6521
6633
  marginBottom: labelMarginBottom ?? configStyles.SELECT.label.marginBottom,
6522
6634
  textTransform: labelTextTransform ?? configStyles.SELECT.label.textTransform,
6523
- whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? 'nowrap' : 'normal',
6524
- overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? 'hidden' : 'visible',
6525
- textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? 'ellipsis' : ''
6635
+ whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.SELECT.label.showMore) && !showMore ? 'nowrap' : 'normal',
6636
+ overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.SELECT.label.showMore) && !showMore ? 'hidden' : 'visible',
6637
+ textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.SELECT.label.showMore) && !showMore ? 'ellipsis' : '',
6638
+ wordBreak: 'break-all'
6526
6639
  },
6527
6640
  onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? handleLabelMouseEnter : _ => _,
6528
6641
  onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? handleLabelMouseLeave : _ => _
6529
- }, label), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.SELECT.icon.required ? configStyles.SELECT.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null))), /*#__PURE__*/React__default.createElement("div", {
6642
+ }, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.SELECT.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
6643
+ className: styles$8['show-more-text'],
6644
+ style: {
6645
+ fontSize: labelFontSize ?? configStyles.SELECT.label.font.size,
6646
+ fontStyle: labelFontStyle ?? configStyles.SELECT.label.font.style,
6647
+ fontWeight: labelWeight ?? configStyles.SELECT.label.font.weight,
6648
+ fontFamily: labelFontFamily ?? configStyles.SELECT.label.font.family,
6649
+ color: showMoreTextColor ?? configStyles.SELECT.label.showMoreTextColor
6650
+ },
6651
+ onClick: handleChangeShowMore
6652
+ }, ' ', " ", labelShowLessText ?? configStyles.SELECT.label.showLessText) : ''), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.SELECT.icon.required ? configStyles.SELECT.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null)), handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.SELECT.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
6653
+ className: styles$8['show-more-text'],
6654
+ style: {
6655
+ fontSize: labelFontSize ?? configStyles.SELECT.label.font.size,
6656
+ fontStyle: labelFontStyle ?? configStyles.SELECT.label.font.style,
6657
+ fontWeight: labelWeight ?? configStyles.SELECT.label.font.weight,
6658
+ fontFamily: labelFontFamily ?? configStyles.SELECT.label.font.family,
6659
+ color: showMoreTextColor ?? configStyles.SELECT.label.showMoreTextColor
6660
+ },
6661
+ onClick: handleChangeShowMore
6662
+ }, labelShowMoreText ?? configStyles.SELECT.label.showMoreText) : ''), /*#__PURE__*/React__default.createElement("div", {
6530
6663
  ref: ref
6531
6664
  }, /*#__PURE__*/React__default.createElement("div", {
6532
- className: styles$7['select-content']
6665
+ className: styles$8['select-content']
6533
6666
  }, /*#__PURE__*/React__default.createElement("div", {
6534
- className: `${styles$7['select-content-top']}`,
6667
+ className: `${styles$8['select-content-top']}`,
6535
6668
  style: {
6536
6669
  cursor: disabled ? 'not-allowed' : cursor ? cursor : configStyles.SELECT.selected.cursor,
6537
6670
  minHeight: selectedMinHeight ?? configStyles.SELECT.selected.minHeight,
@@ -6568,18 +6701,18 @@ const Select = ({
6568
6701
  }
6569
6702
  }
6570
6703
  }) : defaultOption ? defaultOption : ''), /*#__PURE__*/React__default.createElement("div", {
6571
- className: `${styles$7['select-content-top-icon']}`,
6704
+ className: `${styles$8['select-content-top-icon']}`,
6572
6705
  style: {
6573
6706
  padding: lang ? '0px' : insidePagination ? '0px 5px' : '0 5px 0 20px'
6574
6707
  }
6575
6708
  }, !disabled && multiple && newSelected.length > 1 && /*#__PURE__*/React__default.createElement("span", null, newSelected.length), (showCloseIcon === true || showCloseIcon === false ? showCloseIcon : configStyles.SELECT.showCloseIcon) && !disabled && newSelected && newSelected.length > 0 && /*#__PURE__*/React__default.createElement("div", {
6576
- className: `${styles$7['close-icon']}`,
6709
+ className: `${styles$8['close-icon']}`,
6577
6710
  onClick: disabled ? _ => _ : handleClearSelect,
6578
6711
  style: {
6579
6712
  marginLeft: multiple && newSelected.length > 1 ? '17px' : '0px'
6580
6713
  }
6581
6714
  }, closeIcon ? closeIcon : configStyles.SELECT.closeIcon ? configStyles.SELECT.closeIcon : /*#__PURE__*/React__default.createElement(SvgCloseIcon, null)), !disabled ? /*#__PURE__*/React__default.createElement("div", {
6582
- className: `${styles$7['arrow-icon']}`,
6715
+ className: `${styles$8['arrow-icon']}`,
6583
6716
  style: {
6584
6717
  marginLeft: lang ? '0px' : '9px',
6585
6718
  transform: arrowNoRotate || configStyles.SELECT.arrowNoRotate ? 'rotate(0deg)' : opened ? 'rotate(180deg)' : 'rotate(0deg)'
@@ -6591,9 +6724,9 @@ const Select = ({
6591
6724
  backgroundColor: optionsBackgroundColor ?? configStyles.SELECT.options.colors.background,
6592
6725
  top: selectedMinHeight ? selectedMinHeight.includes('rem') ? parseFloat(selectedMinHeight.substr(0, selectedMinHeight.length - 3)) + 0.6 + 'rem' : parseFloat(selectedMinHeight.substr(0, selectedMinHeight.length - 2)) + 6 + 'px' : configStyles.SELECT.selected.minHeight.includes('rem') ? parseFloat(configStyles.SELECT.selected.minHeight.substr(0, configStyles.SELECT.selected.minHeight.length - 3)) + 0.6 + 'rem' : parseFloat(configStyles.SELECT.selected.minHeight.substr(0, configStyles.SELECT.selected.minHeight.length - 2)) + 6 + 'px'
6593
6726
  },
6594
- className: `${styles$7['select-content-bottom']}`
6727
+ className: `${styles$8['select-content-bottom']}`
6595
6728
  }, /*#__PURE__*/React__default.createElement("div", {
6596
- className: `${styles$7['select-content-bottom-inner']}`
6729
+ className: `${styles$8['select-content-bottom-inner']}`
6597
6730
  }, existOptions && existOptions.length > 0 && existOptions.map((option, i) => {
6598
6731
  return /*#__PURE__*/React__default.createElement("div", {
6599
6732
  key: i,
@@ -6602,7 +6735,7 @@ const Select = ({
6602
6735
  onClick: disabled ? _ => _ : () => handleSelectItem(option),
6603
6736
  onMouseEnter: disabled ? _ => _ : e => handleMouseEnterOption(e),
6604
6737
  onMouseLeave: disabled ? _ => _ : e => handleMouseLeaveOption(e),
6605
- className: `${styles$7['select-content-bottom-row']} ${dots || configStyles.SELECT.dots ? styles$7['ellipsis'] : ''}`,
6738
+ className: `${styles$8['select-content-bottom-row']} ${dots || configStyles.SELECT.dots ? styles$8['ellipsis'] : ''}`,
6606
6739
  style: {
6607
6740
  overflowWrap: !dots && !configStyles.SELECT.dots ? 'anywhere' : 'break-word',
6608
6741
  color: optionItemColor ?? configStyles.SELECT.options.item.color,
@@ -6667,6 +6800,10 @@ Select.propTypes = {
6667
6800
  labelFontFamily: PropTypes.string,
6668
6801
  labelMarginBottom: PropTypes.string,
6669
6802
  labelTextTransform: PropTypes.string,
6803
+ lableShowMore: PropTypes.bool,
6804
+ labelShowLessText: PropTypes.string,
6805
+ labelShowMoreText: PropTypes.string,
6806
+ showMoreTextColor: PropTypes.string,
6670
6807
  cursor: PropTypes.string,
6671
6808
  errorSize: PropTypes.string,
6672
6809
  errorColor: PropTypes.string,
@@ -6838,9 +6975,9 @@ const SvgToasterSuccess = ({
6838
6975
  fill: fillColor ? fillColor : '#0DA574'
6839
6976
  }));
6840
6977
 
6841
- var css_248z$7 = "#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}.toaster-module_notify-desc__bcWe2,.toaster-module_notify-title__8lFLy{overflow:hidden;text-overflow:ellipsis}.toaster-module_notify-desc__bcWe2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box}@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_bounceInLeftMobile__CA2dc{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:0}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}@media(max-width:480px){.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeftMobile__CA2dc;animation-name:toaster-module_bounceInLeftMobile__CA2dc}}";
6842
- var styles$6 = {"top-left":"toaster-module_top-left__q0LcN","top-right":"toaster-module_top-right__f-AFL","top-center":"toaster-module_top-center__eVRbc","bottom-left":"toaster-module_bottom-left__b-YHI","bottom-right":"toaster-module_bottom-right__g9ACP","bottom-center":"toaster-module_bottom-center__4KcFe","notify-block":"toaster-module_notify-block__pRnEB","bounce-in-right":"toaster-module_bounce-in-right__shR2D","bounceInRight":"toaster-module_bounceInRight__rSk5p","bounce-out-right":"toaster-module_bounce-out-right__48pyA","bounceOutRight":"toaster-module_bounceOutRight__bmFGS","notify-title":"toaster-module_notify-title__8lFLy","notify-desc":"toaster-module_notify-desc__bcWe2","bounce-in-left":"toaster-module_bounce-in-left__xoF-M","bounceInLeft":"toaster-module_bounceInLeft__to59v","bounce-out-left":"toaster-module_bounce-out-left__fDOZw","bounceOutLeft":"toaster-module_bounceOutLeft__k5QgO","bounceInLeftMobile":"toaster-module_bounceInLeftMobile__CA2dc"};
6843
- styleInject(css_248z$7);
6978
+ 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}.toaster-module_notify-desc__bcWe2,.toaster-module_notify-title__8lFLy{overflow:hidden;text-overflow:ellipsis}.toaster-module_notify-desc__bcWe2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box}@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_bounceInLeftMobile__CA2dc{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:0}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}@media(max-width:480px){.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeftMobile__CA2dc;animation-name:toaster-module_bounceInLeftMobile__CA2dc}}";
6979
+ var styles$7 = {"top-left":"toaster-module_top-left__q0LcN","top-right":"toaster-module_top-right__f-AFL","top-center":"toaster-module_top-center__eVRbc","bottom-left":"toaster-module_bottom-left__b-YHI","bottom-right":"toaster-module_bottom-right__g9ACP","bottom-center":"toaster-module_bottom-center__4KcFe","notify-block":"toaster-module_notify-block__pRnEB","bounce-in-right":"toaster-module_bounce-in-right__shR2D","bounceInRight":"toaster-module_bounceInRight__rSk5p","bounce-out-right":"toaster-module_bounce-out-right__48pyA","bounceOutRight":"toaster-module_bounceOutRight__bmFGS","notify-title":"toaster-module_notify-title__8lFLy","notify-desc":"toaster-module_notify-desc__bcWe2","bounce-in-left":"toaster-module_bounce-in-left__xoF-M","bounceInLeft":"toaster-module_bounceInLeft__to59v","bounce-out-left":"toaster-module_bounce-out-left__fDOZw","bounceOutLeft":"toaster-module_bounceOutLeft__k5QgO","bounceInLeftMobile":"toaster-module_bounceInLeftMobile__CA2dc"};
6980
+ styleInject(css_248z$8);
6844
6981
 
6845
6982
  const ToasterType = {
6846
6983
  info: 'info',
@@ -6907,8 +7044,8 @@ const Toast = ({
6907
7044
  ...propStyles
6908
7045
  },
6909
7046
  className: `
6910
- ${styles$6['notify-block']}
6911
- ${position === 'top-left' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : position === 'top-right' ? showToaster ? styles$6['bounce-in-right'] : styles$6['bounce-out-right'] : position === 'top-center' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : position === 'bottom-left' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : position === 'bottom-right' ? showToaster ? styles$6['bounce-in-right'] : styles$6['bounce-out-right'] : position === 'bottom-center' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : ''}
7047
+ ${styles$7['notify-block']}
7048
+ ${position === 'top-left' ? showToaster ? styles$7['bounce-in-left'] : styles$7['bounce-out-left'] : position === 'top-right' ? showToaster ? styles$7['bounce-in-right'] : styles$7['bounce-out-right'] : position === 'top-center' ? showToaster ? styles$7['bounce-in-left'] : styles$7['bounce-out-left'] : position === 'bottom-left' ? showToaster ? styles$7['bounce-in-left'] : styles$7['bounce-out-left'] : position === 'bottom-right' ? showToaster ? styles$7['bounce-in-right'] : styles$7['bounce-out-right'] : position === 'bottom-center' ? showToaster ? styles$7['bounce-in-left'] : styles$7['bounce-out-left'] : ''}
6912
7049
  `
6913
7050
  }, /*#__PURE__*/React__default.createElement("div", {
6914
7051
  style: {
@@ -6975,7 +7112,7 @@ const Toast = ({
6975
7112
  fontFamily: titleStyles.font.family,
6976
7113
  ...titleStyles.props
6977
7114
  },
6978
- className: styles$6['notify-title']
7115
+ className: styles$7['notify-title']
6979
7116
  }, title), description && /*#__PURE__*/React__default.createElement("span", {
6980
7117
  style: {
6981
7118
  color: descriptionStyles.color,
@@ -6986,7 +7123,7 @@ const Toast = ({
6986
7123
  fontFamily: descriptionStyles.font.family,
6987
7124
  ...descriptionStyles.props
6988
7125
  },
6989
- className: styles$6['notify-desc']
7126
+ className: styles$7['notify-desc']
6990
7127
  }, description)), /*#__PURE__*/React__default.createElement("div", {
6991
7128
  onClick: () => handleCloseToaster(ref),
6992
7129
  style: {
@@ -7108,17 +7245,17 @@ const createToast = ({
7108
7245
  }, error => {
7109
7246
  console.error(error);
7110
7247
  });
7111
- if (!document.getElementById(styles$6[position]) || document.getElementById(styles$6[position]) == null) {
7248
+ if (!document.getElementById(styles$7[position]) || document.getElementById(styles$7[position]) == null) {
7112
7249
  toastParentBlock = document.createElement('div');
7113
7250
  toastParentBlock.style.position = 'fixed';
7114
7251
  toastParentBlock.style.display = 'flex';
7115
7252
  toastParentBlock.style.zIndex = 999999999999;
7116
7253
  toastParentBlock.style.flexDirection = position === 'top-left' || position === 'top-right' || position === 'top-center' ? 'column-reverse' : 'column';
7117
- toastParentBlock.setAttribute('id', styles$6[position]);
7254
+ toastParentBlock.setAttribute('id', styles$7[position]);
7118
7255
  toastParentBlock.appendChild(toastBlock);
7119
7256
  toastify.appendChild(toastParentBlock);
7120
7257
  } else {
7121
- document.getElementById(styles$6[position]).appendChild(toastBlock);
7258
+ document.getElementById(styles$7[position]).appendChild(toastBlock);
7122
7259
  }
7123
7260
  };
7124
7261
  const toast = {
@@ -7240,9 +7377,9 @@ const SvgTooltip = ({
7240
7377
  fill: fillColor ? fillColor : '#D1D1D1'
7241
7378
  }));
7242
7379
 
7243
- var css_248z$6 = ".tooltip-module_tooltip-block__v8U9u{align-items:center;display:flex;justify-content:center;position:relative}.tooltip-module_tooltip__emM6A{box-sizing:border-box;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}";
7244
- var styles$5 = {"tooltip-block":"tooltip-module_tooltip-block__v8U9u","tooltip":"tooltip-module_tooltip__emM6A","tooltip-rel":"tooltip-module_tooltip-rel__to9gq","tooltip-decor":"tooltip-module_tooltip-decor__qvt7t"};
7245
- styleInject(css_248z$6);
7380
+ var css_248z$7 = ".tooltip-module_tooltip-block__v8U9u{align-items:center;display:flex;justify-content:center;position:relative}.tooltip-module_tooltip__emM6A{box-sizing:border-box;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}";
7381
+ var styles$6 = {"tooltip-block":"tooltip-module_tooltip-block__v8U9u","tooltip":"tooltip-module_tooltip__emM6A","tooltip-rel":"tooltip-module_tooltip-rel__to9gq","tooltip-decor":"tooltip-module_tooltip-decor__qvt7t"};
7382
+ styleInject(css_248z$7);
7246
7383
 
7247
7384
  const TooltipDirections = {
7248
7385
  TOP: 'top',
@@ -7330,7 +7467,7 @@ const Tooltip = ({
7330
7467
  }, [showTooltip]);
7331
7468
  useEffect(() => {
7332
7469
  configStylesPromise.then(data => {
7333
- setClassProps(() => classnames(styles$5['tooltip-block'], className ?? data.TOOLTIP.className));
7470
+ setClassProps(() => classnames(styles$6['tooltip-block'], className ?? data.TOOLTIP.className));
7334
7471
  setConfigStyles(() => {
7335
7472
  return {
7336
7473
  ...data
@@ -7352,7 +7489,7 @@ const Tooltip = ({
7352
7489
  onClick: e => e.stopPropagation()
7353
7490
  }, showTooltip ? /*#__PURE__*/React__default.createElement("div", {
7354
7491
  ref: tooltipRef,
7355
- className: `${styles$5['tooltip']}`,
7492
+ className: `${styles$6['tooltip']}`,
7356
7493
  style: {
7357
7494
  width: tooltipWidth ?? configStyles.TOOLTIP.width,
7358
7495
  borderRadius: tooltipRadius ?? configStyles.TOOLTIP.radius,
@@ -7361,9 +7498,9 @@ const Tooltip = ({
7361
7498
  left: direction === 'top' || direction === 'bottom' ? `calc(50% - ${checkTooltipWidth / 2}px)` : direction === 'left' || direction === 'left-top' || direction === 'left-bottom' ? `-${checkTooltipWidth + 7}px` : direction === 'top-left' || direction === 'bottom-left' ? `0px` : direction === 'top-right' || direction === 'bottom-right' ? `-${checkTooltipWidth - tooltipIconParentWidth}px` : direction === 'right' || direction === 'right-top' || direction === 'right-bottom' ? 'calc(100% + 7px)' : '0px'
7362
7499
  }
7363
7500
  }, /*#__PURE__*/React__default.createElement("div", {
7364
- className: `${styles$5['tooltip-rel']}`
7501
+ className: `${styles$6['tooltip-rel']}`
7365
7502
  }, /*#__PURE__*/React__default.createElement("div", {
7366
- className: `${styles$5['tooltip-decor']}`,
7503
+ className: `${styles$6['tooltip-decor']}`,
7367
7504
  style: {
7368
7505
  backgroundColor: tooltipBackgroundColor ?? configStyles.TOOLTIP.colors.background,
7369
7506
  left: direction === 'top' || direction === 'bottom' ? 'calc(50% - 5px)' : direction === 'right' || direction === 'right-top' || direction === 'right-bottom' ? '-15px' : direction === 'left' || direction === 'left-top' || direction === 'left-bottom' ? 'calc(100% + 5px)' : direction === 'top-left' || direction === 'bottom-left' ? `${tooltipIconParentWidth / 2 - tooltipIconBlockWidth}px` : direction === 'top-right' || direction === 'bottom-right' ? `calc(100% - ${tooltipIconParentWidth / 2 - tooltipIconBlockWidth / 2}px` : '0px',
@@ -7446,9 +7583,9 @@ const SvgCaptchaArrowDown = ({
7446
7583
  fill: fillColor ? fillColor : '#00236A'
7447
7584
  }));
7448
7585
 
7449
- var css_248z$5 = ".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}";
7450
- var styles$4 = {"start-point":"captcha-module_start-point__LkOqy","range":"captcha-module_range__k24I2","range-default":"captcha-module_range-default__-O0QD","range-error":"captcha-module_range-error__FKMfG","range-success":"captcha-module_range-success__VzLPq"};
7451
- styleInject(css_248z$5);
7586
+ 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}";
7587
+ var styles$5 = {"start-point":"captcha-module_start-point__LkOqy","range":"captcha-module_range__k24I2","range-default":"captcha-module_range-default__-O0QD","range-error":"captcha-module_range-error__FKMfG","range-success":"captcha-module_range-success__VzLPq"};
7588
+ styleInject(css_248z$6);
7452
7589
 
7453
7590
  const Captcha = ({
7454
7591
  color,
@@ -7536,7 +7673,7 @@ const Captcha = ({
7536
7673
  alignItems: 'center',
7537
7674
  zIndex: 1
7538
7675
  },
7539
- className: styles$4['start-point']
7676
+ className: styles$5['start-point']
7540
7677
  }, /*#__PURE__*/React__default.createElement("div", {
7541
7678
  style: {
7542
7679
  position: 'absolute',
@@ -7562,8 +7699,8 @@ const Captcha = ({
7562
7699
  backgroundColor: 'transparent'
7563
7700
  },
7564
7701
  className: `
7565
- ${styles$4['range']}
7566
- ${+rangeProgress === rangeNumber ? styles$4['range-success'] : +rangeProgress !== rangeNumber && +rangeProgress > 0 ? styles$4['range-error'] : styles$4['range-default']}
7702
+ ${styles$5['range']}
7703
+ ${+rangeProgress === rangeNumber ? styles$5['range-success'] : +rangeProgress !== rangeNumber && +rangeProgress > 0 ? styles$5['range-error'] : styles$5['range-default']}
7567
7704
  `,
7568
7705
  onInput: handleRange
7569
7706
  }), /*#__PURE__*/React__default.createElement("div", {
@@ -7593,9 +7730,9 @@ Captcha.propTypes = {
7593
7730
  getRange: PropTypes.func.isRequired
7594
7731
  };
7595
7732
 
7596
- var css_248z$4 = ".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}";
7597
- var styles$3 = {"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"};
7598
- styleInject(css_248z$4);
7733
+ var css_248z$5 = ".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}";
7734
+ 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"};
7735
+ styleInject(css_248z$5);
7599
7736
 
7600
7737
  const Stepper = ({
7601
7738
  stepLength,
@@ -7605,11 +7742,11 @@ const Stepper = ({
7605
7742
  const [classProps, setClassProps] = useState({});
7606
7743
  const [configStyles, setConfigStyles] = useState({});
7607
7744
  useEffect(() => {
7608
- className && setClassProps(() => classnames(className ?? configStyles.STEPPER.className, `${styles$3['stepper-container']} stepper-container-rem`));
7745
+ className && setClassProps(() => classnames(className ?? configStyles.STEPPER.className, `${styles$4['stepper-container']} stepper-container-rem`));
7609
7746
  }, [className]);
7610
7747
  useEffect(() => {
7611
7748
  configStylesPromise.then(data => {
7612
- setClassProps(() => classnames(className ?? data.STEPPER.className, `${styles$3['stepper-container']} stepper-container-rem`));
7749
+ setClassProps(() => classnames(className ?? data.STEPPER.className, `${styles$4['stepper-container']} stepper-container-rem`));
7613
7750
  setConfigStyles(() => {
7614
7751
  return {
7615
7752
  ...data
@@ -7625,10 +7762,10 @@ const Stepper = ({
7625
7762
  let steppers = [];
7626
7763
  for (let step = 1; step <= stepLength; step++) {
7627
7764
  steppers.push(/*#__PURE__*/React__default.createElement("div", {
7628
- className: classnames(`${step <= activeSteps ? styles$3.activeRing : styles$3.bigRing}`),
7765
+ className: classnames(`${step <= activeSteps ? styles$4.activeRing : styles$4.bigRing}`),
7629
7766
  key: step
7630
7767
  }, /*#__PURE__*/React__default.createElement("div", {
7631
- className: classnames(`${step <= activeSteps ? styles$3.smallActiveRing : styles$3.smallRing}`)
7768
+ className: classnames(`${step <= activeSteps ? styles$4.smallActiveRing : styles$4.smallRing}`)
7632
7769
  }, step <= activeSteps ? step : '')));
7633
7770
  }
7634
7771
  return steppers;
@@ -7758,6 +7895,10 @@ Checkbox.propTypes = {
7758
7895
  data: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object])
7759
7896
  };
7760
7897
 
7898
+ var css_248z$4 = "textarea{-webkit-appearance:none}textarea::-webkit-scrollbar{width:6px}textarea::-webkit-scrollbar-track{background:#eee}textarea::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-track{border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px}textarea::-webkit-scrollbar-thumb{background:#d1d1d1}.textarea-module_show-more-text__xQa-I{align-self:self-end;cursor:pointer}";
7899
+ var styles$3 = {"show-more-text":"textarea-module_show-more-text__xQa-I"};
7900
+ styleInject(css_248z$4);
7901
+
7761
7902
  const PositionSide = {
7762
7903
  TOP: 'top',
7763
7904
  BOTTOM: 'bottom'
@@ -7800,10 +7941,15 @@ const Textarea = ({
7800
7941
  label,
7801
7942
  labelSize,
7802
7943
  labelColor,
7944
+ labelStyle,
7803
7945
  labelWeight,
7804
7946
  labelDisplay,
7805
7947
  labelFontFamily,
7806
7948
  labelMarginBottom,
7949
+ lableShowMore,
7950
+ labelShowLessText,
7951
+ labelShowMoreText,
7952
+ showMoreTextColor,
7807
7953
  iconRequired,
7808
7954
  useLabelTooltip,
7809
7955
  labelTooltipColor,
@@ -7822,6 +7968,7 @@ const Textarea = ({
7822
7968
  const [removeID, setRemoveID] = useState('');
7823
7969
  const [isHover, setIsHover] = useState(false);
7824
7970
  const [isFocus, setIsFocus] = useState(false);
7971
+ const [showMore, setShowMore] = useState(false);
7825
7972
  const [innerValue, setInnerValue] = useState('');
7826
7973
  const [classProps, setClassProps] = useState({});
7827
7974
  const [tooltipElem, setTooltipElem] = useState(null);
@@ -7933,6 +8080,21 @@ const Textarea = ({
7933
8080
  }
7934
8081
  setRemoveID(() => '');
7935
8082
  };
8083
+ const handleCheckTextWidth = () => {
8084
+ if (labelRef.current) {
8085
+ const rect = labelRef.current.getBoundingClientRect();
8086
+ const elementWidth = rect.width;
8087
+ const textWidth = getRenderedTextWidth(labelRef.current);
8088
+ if (textWidth > Math.ceil(elementWidth)) {
8089
+ return 'more';
8090
+ } else {
8091
+ return 'less';
8092
+ }
8093
+ }
8094
+ };
8095
+ const handleChangeShowMore = () => {
8096
+ setShowMore(() => !showMore);
8097
+ };
7936
8098
  useEffect(() => {
7937
8099
  if (value === undefined) {
7938
8100
  alert('Please add value prop on Textarea component');
@@ -7947,6 +8109,15 @@ const Textarea = ({
7947
8109
  useEffect(() => {
7948
8110
  className && setClassProps(() => classnames(className ?? configStyles.TEXTAREA.className));
7949
8111
  }, [className]);
8112
+ useEffect(() => {
8113
+ if ((useLabelTooltip || configStyles.TEXTAREA?.label?.useTooltip) && (lableShowMore || configStyles.TEXTAREA?.label?.showMore)) {
8114
+ alert(`
8115
+ Please use one of this props or config,
8116
+ use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
8117
+ or ( lableShowMore / configStyles.FILE.label.showMore )
8118
+ `);
8119
+ }
8120
+ }, [lableShowMore, useLabelTooltip, configStyles.TEXTAREA?.label?.useTooltip, configStyles.TEXTAREA?.label?.showMore]);
7950
8121
  useEffect(() => {
7951
8122
  configStylesPromise.then(data => {
7952
8123
  setClassProps(() => classnames(className ?? data.TEXTAREA.className));
@@ -7988,13 +8159,34 @@ const Textarea = ({
7988
8159
  ref: labelRef,
7989
8160
  style: {
7990
8161
  display: labelDisplay ?? configStyles.TEXTAREA.label.display,
7991
- whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? 'nowrap' : 'normal',
7992
- overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? 'hidden' : 'visible',
7993
- textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? 'ellipsis' : ''
8162
+ whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.TEXTAREA.label.showMore) && !showMore ? 'nowrap' : 'normal',
8163
+ overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.TEXTAREA.label.showMore) && !showMore ? 'hidden' : 'visible',
8164
+ textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.TEXTAREA.label.showMore) && !showMore ? 'ellipsis' : '',
8165
+ wordBreak: 'break-all'
7994
8166
  },
7995
8167
  onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? handleLabelMouseEnter : _ => _,
7996
8168
  onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? handleLabelMouseLeave : _ => _
7997
- }, label), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.TEXTAREA.icon.required ? configStyles.TEXTAREA.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null))), showCharacterCount && maxLength && characterCountPosition === 'top' && /*#__PURE__*/React__default.createElement("span", {
8169
+ }, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.TEXTAREA.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
8170
+ className: styles$3['show-more-text'],
8171
+ style: {
8172
+ fontSize: labelSize ?? configStyles.TEXTAREA.label.font.size,
8173
+ fontStyle: labelStyle ?? configStyles.TEXTAREA.label.font.style,
8174
+ fontWeight: labelWeight ?? configStyles.TEXTAREA.label.font.weight,
8175
+ fontFamily: labelFontFamily ?? configStyles.TEXTAREA.label.font.family,
8176
+ color: showMoreTextColor ?? configStyles.TEXTAREA.label.showMoreTextColor
8177
+ },
8178
+ onClick: handleChangeShowMore
8179
+ }, ' ', " ", labelShowLessText ?? configStyles.TEXTAREA.label.showLessText) : ''), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.TEXTAREA.icon.required ? configStyles.TEXTAREA.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null)), handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.TEXTAREA.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
8180
+ className: styles$3['show-more-text'],
8181
+ style: {
8182
+ fontSize: labelSize ?? configStyles.TEXTAREA.label.font.size,
8183
+ fontStyle: labelStyle ?? configStyles.TEXTAREA.label.font.style,
8184
+ fontWeight: labelWeight ?? configStyles.TEXTAREA.label.font.weight,
8185
+ fontFamily: labelFontFamily ?? configStyles.TEXTAREA.label.font.family,
8186
+ color: showMoreTextColor ?? configStyles.TEXTAREA.label.showMoreTextColor
8187
+ },
8188
+ onClick: handleChangeShowMore
8189
+ }, labelShowMoreText ?? configStyles.TEXTAREA.label.showMoreText) : ''), showCharacterCount && maxLength && characterCountPosition === 'top' && /*#__PURE__*/React__default.createElement("span", {
7998
8190
  style: {
7999
8191
  width: 'fit-content',
8000
8192
  flexShrink: 0
@@ -8097,11 +8289,16 @@ Textarea.propTypes = {
8097
8289
  borderHoverColor: PropTypes.string,
8098
8290
  label: PropTypes.string,
8099
8291
  labelSize: PropTypes.string,
8292
+ labelStyle: PropTypes.string,
8100
8293
  labelColor: PropTypes.string,
8101
8294
  labelWeight: PropTypes.string,
8102
8295
  labelDisplay: PropTypes.string,
8103
8296
  labelFontFamily: PropTypes.string,
8104
8297
  labelMarginBottom: PropTypes.string,
8298
+ lableShowMore: PropTypes.bool,
8299
+ labelShowLessText: PropTypes.string,
8300
+ labelShowMoreText: PropTypes.string,
8301
+ showMoreTextColor: PropTypes.string,
8105
8302
  iconRequired: PropTypes.element,
8106
8303
  useLabelTooltip: PropTypes.bool,
8107
8304
  labelTooltipColor: PropTypes.string,
@@ -9269,8 +9466,8 @@ Pagination.propTypes = {
9269
9466
  borderRadius: PropTypes.string
9270
9467
  };
9271
9468
 
9272
- var css_248z = ".autocomplete-module_auto-complete__oUOv9{appearance:none!important;-webkit-appearance:none!important}";
9273
- var styles = {"auto-complete":"autocomplete-module_auto-complete__oUOv9"};
9469
+ var css_248z = ".autocomplete-module_auto-complete__oUOv9{appearance:none!important;-webkit-appearance:none!important}.autocomplete-module_show-more-text__1FXFu{align-self:self-end;cursor:pointer}";
9470
+ var styles = {"auto-complete":"autocomplete-module_auto-complete__oUOv9","show-more-text":"autocomplete-module_show-more-text__1FXFu"};
9274
9471
  styleInject(css_248z);
9275
9472
 
9276
9473
  const Autocomplete = ({
@@ -9352,6 +9549,10 @@ const Autocomplete = ({
9352
9549
  labelFontFamily,
9353
9550
  labelMarginBottom,
9354
9551
  labelTextTransform,
9552
+ lableShowMore,
9553
+ labelShowLessText,
9554
+ labelShowMoreText,
9555
+ showMoreTextColor,
9355
9556
  iconRequired,
9356
9557
  useLabelTooltip,
9357
9558
  labelTooltipColor,
@@ -9377,6 +9578,7 @@ const Autocomplete = ({
9377
9578
  const [removeID, setRemoveID] = useState('');
9378
9579
  const [isHover, setIsHover] = useState(false);
9379
9580
  const [isFocus, setIsFocus] = useState(false);
9581
+ const [showMore, setShowMore] = useState(false);
9380
9582
  const [innerError, setInnerError] = useState('');
9381
9583
  const [innerValue, setInnerValue] = useState('');
9382
9584
  const [classProps, setClassProps] = useState({});
@@ -9569,6 +9771,21 @@ const Autocomplete = ({
9569
9771
  }
9570
9772
  setRemoveID(() => '');
9571
9773
  };
9774
+ const handleCheckTextWidth = () => {
9775
+ if (labelRef.current) {
9776
+ const rect = labelRef.current.getBoundingClientRect();
9777
+ const elementWidth = rect.width;
9778
+ const textWidth = getRenderedTextWidth(labelRef.current);
9779
+ if (textWidth > Math.ceil(elementWidth)) {
9780
+ return 'more';
9781
+ } else {
9782
+ return 'less';
9783
+ }
9784
+ }
9785
+ };
9786
+ const handleChangeShowMore = () => {
9787
+ setShowMore(() => !showMore);
9788
+ };
9572
9789
  useEffect(() => {
9573
9790
  if (options === undefined) {
9574
9791
  alert('Please add options prop');
@@ -9603,6 +9820,15 @@ const Autocomplete = ({
9603
9820
  useEffect(() => {
9604
9821
  className && setClassProps(() => classnames(className ?? configStyles.AUTOCOMPLETE.className, styles['auto-complete']));
9605
9822
  }, [className]);
9823
+ useEffect(() => {
9824
+ if ((useLabelTooltip || configStyles.AUTOCOMPLETE?.label?.useTooltip) && (lableShowMore || configStyles.AUTOCOMPLETE?.label?.showMore)) {
9825
+ alert(`
9826
+ Please use one of this props or config,
9827
+ use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
9828
+ or ( lableShowMore / configStyles.FILE.label.showMore )
9829
+ `);
9830
+ }
9831
+ }, [lableShowMore, useLabelTooltip, configStyles.AUTOCOMPLETE?.label?.useTooltip, configStyles.AUTOCOMPLETE?.label?.showMore]);
9606
9832
  useEffect(() => {
9607
9833
  configStylesPromise.then(data => {
9608
9834
  setClassProps(() => classnames(className ?? data.AUTOCOMPLETE.className, styles['auto-complete']));
@@ -9641,13 +9867,34 @@ const Autocomplete = ({
9641
9867
  lineHeight: labelLineHeight ?? configStyles.AUTOCOMPLETE.label.lineHeight,
9642
9868
  marginBottom: labelMarginBottom ?? configStyles.AUTOCOMPLETE.label.marginBottom,
9643
9869
  textTransform: labelTextTransform ?? configStyles.AUTOCOMPLETE.label.textTransform,
9644
- whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? 'nowrap' : 'normal',
9645
- overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? 'hidden' : 'visible',
9646
- textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? 'ellipsis' : ''
9870
+ whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.AUTOCOMPLETE.label.showMore) && !showMore ? 'nowrap' : 'normal',
9871
+ overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.AUTOCOMPLETE.label.showMore) && !showMore ? 'hidden' : 'visible',
9872
+ textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.AUTOCOMPLETE.label.showMore) && !showMore ? 'ellipsis' : '',
9873
+ wordBreak: 'break-all'
9647
9874
  },
9648
9875
  onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? handleLabelMouseEnter : _ => _,
9649
9876
  onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? handleLabelMouseLeave : _ => _
9650
- }, label), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.FILE.icon.required ? configStyles.FILE.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null))), /*#__PURE__*/React__default.createElement("div", {
9877
+ }, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.AUTOCOMPLETE.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
9878
+ className: styles['show-more-text'],
9879
+ style: {
9880
+ fontSize: labelSize ?? configStyles.AUTOCOMPLETE.label.font.size,
9881
+ fontStyle: labelStyle ?? configStyles.AUTOCOMPLETE.label.font.style,
9882
+ fontWeight: labelWeight ?? configStyles.AUTOCOMPLETE.label.font.weight,
9883
+ fontFamily: labelFontFamily ?? configStyles.AUTOCOMPLETE.label.font.family,
9884
+ color: showMoreTextColor ?? configStyles.AUTOCOMPLETE.label.showMoreTextColor
9885
+ },
9886
+ onClick: handleChangeShowMore
9887
+ }, ' ', " ", labelShowLessText ?? configStyles.AUTOCOMPLETE.label.showLessText) : ''), required && /*#__PURE__*/React__default.createElement("sup", null, iconRequired ? iconRequired : configStyles.FILE.icon.required ? configStyles.FILE.icon.required : /*#__PURE__*/React__default.createElement(SvgRequired, null)), handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.AUTOCOMPLETE.label.showMore) ? /*#__PURE__*/React__default.createElement("span", {
9888
+ className: styles['show-more-text'],
9889
+ style: {
9890
+ fontSize: labelSize ?? configStyles.AUTOCOMPLETE.label.font.size,
9891
+ fontStyle: labelStyle ?? configStyles.AUTOCOMPLETE.label.font.style,
9892
+ fontWeight: labelWeight ?? configStyles.AUTOCOMPLETE.label.font.weight,
9893
+ fontFamily: labelFontFamily ?? configStyles.AUTOCOMPLETE.label.font.family,
9894
+ color: showMoreTextColor ?? configStyles.AUTOCOMPLETE.label.showMoreTextColor
9895
+ },
9896
+ onClick: handleChangeShowMore
9897
+ }, labelShowMoreText ?? configStyles.AUTOCOMPLETE.label.showMoreText) : ''), /*#__PURE__*/React__default.createElement("div", {
9651
9898
  style: {
9652
9899
  display: contentDisplay ?? configStyles.AUTOCOMPLETE.parent.display,
9653
9900
  position: contentPosition ?? configStyles.AUTOCOMPLETE.parent.position,
@@ -9792,7 +10039,11 @@ Autocomplete.propTypes = {
9792
10039
  labelTooltipFontWeight: PropTypes.string,
9793
10040
  labelTooltipBorderRadius: PropTypes.string,
9794
10041
  labelTooltipBackgroundColor: PropTypes.string,
9795
- backgroundDisableColor: PropTypes.string
10042
+ backgroundDisableColor: PropTypes.string,
10043
+ lableShowMore: PropTypes.bool,
10044
+ labelShowLessText: PropTypes.string,
10045
+ labelShowMoreText: PropTypes.string,
10046
+ showMoreTextColor: PropTypes.string
9796
10047
  };
9797
10048
 
9798
10049
  export { Accordion, Autocomplete, Button, Captcha, Checkbox, DirectionMode, File, IconSides, Input, InputTypes, Modal, Pagination, PositionSide, Radio, RadioDirectionMode, Select, Stepper, SwipeModal, Table, Textarea, Toaster, Tooltip, TooltipDirections, Typography, TypographyType, swipe, toast };