@xaypay/tui 0.2.32 → 0.2.34
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/CHANGELOG.md +37 -0
- package/dist/index.es.js +345 -91
- package/dist/index.js +345 -91
- package/package.json +1 -1
- package/tui.config.js +18 -0
package/dist/index.js
CHANGED
|
@@ -626,7 +626,11 @@ var packageResult = {
|
|
|
626
626
|
...fontObject
|
|
627
627
|
},
|
|
628
628
|
label: {
|
|
629
|
+
showMore: false,
|
|
629
630
|
useTooltip: false,
|
|
631
|
+
showLessText: 'Փակել',
|
|
632
|
+
showMoreText: 'Ավելին',
|
|
633
|
+
showMoreTextColor: '#2C46C1',
|
|
630
634
|
color: presetColors.dark,
|
|
631
635
|
display: 'block',
|
|
632
636
|
lineHeight: '22px',
|
|
@@ -819,7 +823,11 @@ var packageResult = {
|
|
|
819
823
|
shadowHover: `0 0 0 2px ${presetColors.dark}` // like border
|
|
820
824
|
},
|
|
821
825
|
label: {
|
|
826
|
+
showMore: false,
|
|
822
827
|
useTooltip: false,
|
|
828
|
+
showLessText: 'Փակել',
|
|
829
|
+
showMoreText: 'Ավելին',
|
|
830
|
+
showMoreTextColor: '#2C46C1',
|
|
823
831
|
color: presetColors.dark,
|
|
824
832
|
display: 'block',
|
|
825
833
|
lineHeight: '22px',
|
|
@@ -931,7 +939,11 @@ var packageResult = {
|
|
|
931
939
|
background: 'white'
|
|
932
940
|
},
|
|
933
941
|
label: {
|
|
942
|
+
showMore: false,
|
|
934
943
|
useTooltip: false,
|
|
944
|
+
showLessText: 'Փակել',
|
|
945
|
+
showMoreText: 'Ավելին',
|
|
946
|
+
showMoreTextColor: '#2C46C1',
|
|
935
947
|
color: presetColors.dark,
|
|
936
948
|
display: 'block',
|
|
937
949
|
marginBottom: '10px',
|
|
@@ -1000,7 +1012,11 @@ var packageResult = {
|
|
|
1000
1012
|
backgroundDisable: presetColors.secondary
|
|
1001
1013
|
},
|
|
1002
1014
|
label: {
|
|
1015
|
+
showMore: false,
|
|
1003
1016
|
useTooltip: false,
|
|
1017
|
+
showLessText: 'Փակել',
|
|
1018
|
+
showMoreText: 'Ավելին',
|
|
1019
|
+
showMoreTextColor: '#2C46C1',
|
|
1004
1020
|
color: presetColors.dark,
|
|
1005
1021
|
display: 'block',
|
|
1006
1022
|
lineHeight: '22px',
|
|
@@ -1124,6 +1140,8 @@ var packageResult = {
|
|
|
1124
1140
|
label: {
|
|
1125
1141
|
showMore: false,
|
|
1126
1142
|
useTooltip: false,
|
|
1143
|
+
showLessText: 'Փակել',
|
|
1144
|
+
showMoreText: 'Ավելին',
|
|
1127
1145
|
showMoreTextColor: '#2C46C1',
|
|
1128
1146
|
color: '#4A4A4D',
|
|
1129
1147
|
font: {
|
|
@@ -1853,9 +1871,9 @@ function styleInject(css, ref) {
|
|
|
1853
1871
|
}
|
|
1854
1872
|
}
|
|
1855
1873
|
|
|
1856
|
-
var css_248z$
|
|
1857
|
-
var styles$
|
|
1858
|
-
styleInject(css_248z$
|
|
1874
|
+
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}";
|
|
1875
|
+
var styles$c = {"small-file-component":"file-module_small-file-component__nlpcW","show-more-text":"file-module_show-more-text__WIGLx"};
|
|
1876
|
+
styleInject(css_248z$d);
|
|
1859
1877
|
|
|
1860
1878
|
// eslint-disable-next-line react/display-name
|
|
1861
1879
|
const File = /*#__PURE__*/React.forwardRef(({
|
|
@@ -2484,12 +2502,23 @@ const File = /*#__PURE__*/React.forwardRef(({
|
|
|
2484
2502
|
fontFamily: labelFamily ?? configStyles.FILE.label.font.family,
|
|
2485
2503
|
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'nowrap' : 'normal',
|
|
2486
2504
|
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'hidden' : 'visible',
|
|
2487
|
-
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'ellipsis' : ''
|
|
2505
|
+
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.FILE.label.showMore) && !showMore ? 'ellipsis' : '',
|
|
2506
|
+
wordBreak: 'break-all'
|
|
2488
2507
|
},
|
|
2489
2508
|
onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) && !lableShowMore && !configStyles.FILE.label.showMore ? handleLabelMouseEnter : _ => _,
|
|
2490
2509
|
onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.FILE.label.useTooltip) && !lableShowMore && !configStyles.FILE.label.showMore ? handleLabelMouseLeave : _ => _
|
|
2491
|
-
}, label
|
|
2492
|
-
className: styles$
|
|
2510
|
+
}, label, handleCheckTextWidth('label') === 'more' && showMore && (lableShowMore || configStyles.FILE.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2511
|
+
className: styles$c['show-more-text'],
|
|
2512
|
+
style: {
|
|
2513
|
+
fontSize: labelSize ?? configStyles.FILE.label.font.size,
|
|
2514
|
+
fontStyle: labelStyle ?? configStyles.FILE.label.font.style,
|
|
2515
|
+
fontWeight: labelWeight ?? configStyles.FILE.label.font.weight,
|
|
2516
|
+
fontFamily: labelFamily ?? configStyles.FILE.label.font.family,
|
|
2517
|
+
color: showMoreTextColor ?? configStyles.FILE.label.showMoreTextColor
|
|
2518
|
+
},
|
|
2519
|
+
onClick: handleChangeShowMore
|
|
2520
|
+
}, ' ', " ", labelShowLessText ?? configStyles.FILE.label.showLessText) : ''), required && /*#__PURE__*/React__default["default"].createElement("sup", null, iconRequired ? iconRequired : configStyles.FILE.icon.required ? configStyles.FILE.icon.required : /*#__PURE__*/React__default["default"].createElement(SvgRequired, null)), handleCheckTextWidth('label') === 'more' && !showMore && (lableShowMore || configStyles.FILE.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2521
|
+
className: styles$c['show-more-text'],
|
|
2493
2522
|
style: {
|
|
2494
2523
|
fontSize: labelSize ?? configStyles.FILE.label.font.size,
|
|
2495
2524
|
fontStyle: labelStyle ?? configStyles.FILE.label.font.style,
|
|
@@ -2498,7 +2527,7 @@ const File = /*#__PURE__*/React.forwardRef(({
|
|
|
2498
2527
|
color: showMoreTextColor ?? configStyles.FILE.label.showMoreTextColor
|
|
2499
2528
|
},
|
|
2500
2529
|
onClick: handleChangeShowMore
|
|
2501
|
-
},
|
|
2530
|
+
}, labelShowMoreText ?? configStyles.FILE.label.showMoreText) : ''), deleteComponent && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2502
2531
|
style: {
|
|
2503
2532
|
cursor: 'pointer'
|
|
2504
2533
|
},
|
|
@@ -2585,7 +2614,7 @@ const File = /*#__PURE__*/React.forwardRef(({
|
|
|
2585
2614
|
color: extentionsTextColor ?? configStyles.FILE.extentionsTextColor
|
|
2586
2615
|
}
|
|
2587
2616
|
}, "(", fileExtensions.toString().split(',').join(', '), ")"))))) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2588
|
-
className: styles$
|
|
2617
|
+
className: styles$c['small-file-component'],
|
|
2589
2618
|
style: {
|
|
2590
2619
|
width: '100%',
|
|
2591
2620
|
padding: '5px',
|
|
@@ -3102,9 +3131,9 @@ SingleCheckbox.propTypes = {
|
|
|
3102
3131
|
ignoreDisabledForChecked: PropTypes__default["default"].bool
|
|
3103
3132
|
};
|
|
3104
3133
|
|
|
3105
|
-
var css_248z$
|
|
3106
|
-
var styles$
|
|
3107
|
-
styleInject(css_248z$
|
|
3134
|
+
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%}";
|
|
3135
|
+
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"};
|
|
3136
|
+
styleInject(css_248z$c);
|
|
3108
3137
|
|
|
3109
3138
|
/* eslint-disable no-prototype-builtins */
|
|
3110
3139
|
const TH = ({
|
|
@@ -3146,7 +3175,7 @@ const TH = ({
|
|
|
3146
3175
|
borderColor: hideBorder ? 'transparent' : '#eeeeee'
|
|
3147
3176
|
},
|
|
3148
3177
|
onClick: handleHeaderItemClick,
|
|
3149
|
-
className: `${hasOwnerProperty(item, 'sortingArrows') ? item.sortingArrows === true ? styles$
|
|
3178
|
+
className: `${hasOwnerProperty(item, 'sortingArrows') ? item.sortingArrows === true ? styles$b['sorting-arrows'] : '' : ''}`
|
|
3150
3179
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3151
3180
|
style: {
|
|
3152
3181
|
display: 'flex',
|
|
@@ -3307,7 +3336,7 @@ const TD = ({
|
|
|
3307
3336
|
},
|
|
3308
3337
|
id: newItem.id,
|
|
3309
3338
|
type: newItem.type,
|
|
3310
|
-
className: styles$
|
|
3339
|
+
className: styles$b['td-span'],
|
|
3311
3340
|
key: `${newItem.id}_${newIndex}`,
|
|
3312
3341
|
onClick: e => handleCheckActions(e, newItem, 'type', newIndex),
|
|
3313
3342
|
onMouseEnter: () => handleMouseEnter(newItem, newIndex),
|
|
@@ -3331,7 +3360,7 @@ const TD = ({
|
|
|
3331
3360
|
},
|
|
3332
3361
|
id: iT.id ? iT.id : '',
|
|
3333
3362
|
type: iT.type ? iT.type : '',
|
|
3334
|
-
className: styles$
|
|
3363
|
+
className: styles$b['td-span'],
|
|
3335
3364
|
key: `${iT.id || iT.content}_${iN}`,
|
|
3336
3365
|
onMouseEnter: () => handleMouseEnter(iT, iN),
|
|
3337
3366
|
onMouseLeave: () => handleMouseLeave(),
|
|
@@ -3357,7 +3386,7 @@ const TD = ({
|
|
|
3357
3386
|
cursor: 'pointer'
|
|
3358
3387
|
},
|
|
3359
3388
|
onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
|
|
3360
|
-
className: styles$
|
|
3389
|
+
className: styles$b['td-span']
|
|
3361
3390
|
}, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '', hasOwnerProperty(item, 'draggableIcon') && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3362
3391
|
draggable: true,
|
|
3363
3392
|
style: {
|
|
@@ -3426,7 +3455,7 @@ const TD = ({
|
|
|
3426
3455
|
}, hasOwnerProperty(item, 'options') && item.options.map((optionItem, optionIndex) => {
|
|
3427
3456
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3428
3457
|
key: `${optionItem.content}_${optionIndex}`,
|
|
3429
|
-
className: styles$
|
|
3458
|
+
className: styles$b['dots-option-item'],
|
|
3430
3459
|
style: {
|
|
3431
3460
|
color: '#3C393E',
|
|
3432
3461
|
fontSize: '14px',
|
|
@@ -3468,7 +3497,7 @@ const TD = ({
|
|
|
3468
3497
|
}, innerItem.content.map((contInnerItem, contInnerIndex) => {
|
|
3469
3498
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3470
3499
|
key: `${contInnerItem}_${contInnerIndex}`,
|
|
3471
|
-
className: styles$
|
|
3500
|
+
className: styles$b['list-text'],
|
|
3472
3501
|
style: {
|
|
3473
3502
|
maxWidth: '100%',
|
|
3474
3503
|
color: openListColor,
|
|
@@ -3485,7 +3514,7 @@ const TD = ({
|
|
|
3485
3514
|
} else {
|
|
3486
3515
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3487
3516
|
key: `${innerItem}_${innerItemIndex}`,
|
|
3488
|
-
className: styles$
|
|
3517
|
+
className: styles$b['list-text'],
|
|
3489
3518
|
style: {
|
|
3490
3519
|
maxWidth: '100%',
|
|
3491
3520
|
color: openListColor,
|
|
@@ -3506,7 +3535,7 @@ const TD = ({
|
|
|
3506
3535
|
cursor: 'pointer'
|
|
3507
3536
|
},
|
|
3508
3537
|
onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
|
|
3509
|
-
className: styles$
|
|
3538
|
+
className: styles$b['td-span']
|
|
3510
3539
|
}, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '') : '');
|
|
3511
3540
|
};
|
|
3512
3541
|
|
|
@@ -4491,7 +4520,7 @@ const Table = ({
|
|
|
4491
4520
|
borderRightColor: innerIndex === Object.values(draggedItem).length - 1 ? 'transparent' : configStyles.TABLE.body.row.borderColor
|
|
4492
4521
|
});
|
|
4493
4522
|
})))), !body.length && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4494
|
-
className: styles$
|
|
4523
|
+
className: styles$b['no-tabel-data']
|
|
4495
4524
|
}, /*#__PURE__*/React__default["default"].createElement("p", null, "\u054F\u057E\u0575\u0561\u056C\u0576\u0565\u0580 \u0579\u056F\u0561\u0576")));
|
|
4496
4525
|
};
|
|
4497
4526
|
Table.propTypes = {
|
|
@@ -4542,9 +4571,9 @@ Table.propTypes = {
|
|
|
4542
4571
|
clickableRowColumnTd: PropTypes__default["default"].bool
|
|
4543
4572
|
};
|
|
4544
4573
|
|
|
4545
|
-
var css_248z$
|
|
4546
|
-
var styles$
|
|
4547
|
-
styleInject(css_248z$
|
|
4574
|
+
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)}}";
|
|
4575
|
+
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"};
|
|
4576
|
+
styleInject(css_248z$b);
|
|
4548
4577
|
|
|
4549
4578
|
const SvgNext = ({
|
|
4550
4579
|
title,
|
|
@@ -4865,7 +4894,7 @@ const Modal = ({
|
|
|
4865
4894
|
justifyContent: justifyContent ?? configStyles.MODAL.justifyContent
|
|
4866
4895
|
}
|
|
4867
4896
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4868
|
-
className: `${styles$
|
|
4897
|
+
className: `${styles$a['animation__modal']}`,
|
|
4869
4898
|
onClick: handleStopClosing,
|
|
4870
4899
|
style: {
|
|
4871
4900
|
position: 'relative',
|
|
@@ -5448,9 +5477,9 @@ const NumberInput = ({
|
|
|
5448
5477
|
});
|
|
5449
5478
|
};
|
|
5450
5479
|
|
|
5451
|
-
var css_248z$
|
|
5452
|
-
var styles$
|
|
5453
|
-
styleInject(css_248z$
|
|
5480
|
+
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)}}";
|
|
5481
|
+
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"};
|
|
5482
|
+
styleInject(css_248z$a);
|
|
5454
5483
|
|
|
5455
5484
|
const InputTypes = {
|
|
5456
5485
|
TEL: 'tel',
|
|
@@ -5544,6 +5573,10 @@ const Input = ({
|
|
|
5544
5573
|
labelFontFamily,
|
|
5545
5574
|
labelLineHeight,
|
|
5546
5575
|
labelMarginBottom,
|
|
5576
|
+
lableShowMore,
|
|
5577
|
+
labelShowLessText,
|
|
5578
|
+
labelShowMoreText,
|
|
5579
|
+
showMoreTextColor,
|
|
5547
5580
|
iconRequired,
|
|
5548
5581
|
useLabelTooltip,
|
|
5549
5582
|
labelTooltipColor,
|
|
@@ -5562,6 +5595,7 @@ const Input = ({
|
|
|
5562
5595
|
const [show, setShow] = React.useState(false);
|
|
5563
5596
|
const [removeID, setRemoveID] = React.useState('');
|
|
5564
5597
|
const [isHover, setIsHover] = React.useState(false);
|
|
5598
|
+
const [showMore, setShowMore] = React.useState(false);
|
|
5565
5599
|
const [classProps, setClassProps] = React.useState({});
|
|
5566
5600
|
const [innerValue, setInnerValue] = React.useState('');
|
|
5567
5601
|
const [tooltipElem, setTooltipElem] = React.useState(null);
|
|
@@ -5688,6 +5722,21 @@ const Input = ({
|
|
|
5688
5722
|
}
|
|
5689
5723
|
setRemoveID(() => '');
|
|
5690
5724
|
};
|
|
5725
|
+
const handleCheckTextWidth = () => {
|
|
5726
|
+
if (labelRef.current) {
|
|
5727
|
+
const rect = labelRef.current.getBoundingClientRect();
|
|
5728
|
+
const elementWidth = rect.width;
|
|
5729
|
+
const textWidth = getRenderedTextWidth(labelRef.current);
|
|
5730
|
+
if (textWidth > Math.ceil(elementWidth)) {
|
|
5731
|
+
return 'more';
|
|
5732
|
+
} else {
|
|
5733
|
+
return 'less';
|
|
5734
|
+
}
|
|
5735
|
+
}
|
|
5736
|
+
};
|
|
5737
|
+
const handleChangeShowMore = () => {
|
|
5738
|
+
setShowMore(() => !showMore);
|
|
5739
|
+
};
|
|
5691
5740
|
React.useEffect(() => {
|
|
5692
5741
|
if (errorMessage) {
|
|
5693
5742
|
setInnerErrorMessage(errorMessage);
|
|
@@ -5703,7 +5752,7 @@ const Input = ({
|
|
|
5703
5752
|
setInnerValue(() => val);
|
|
5704
5753
|
}, [value]);
|
|
5705
5754
|
React.useEffect(() => {
|
|
5706
|
-
className && setClassProps(() => classnames__default["default"](className ?? configStyles.INPUT.className, type === 'number' ? styles$
|
|
5755
|
+
className && setClassProps(() => classnames__default["default"](className ?? configStyles.INPUT.className, type === 'number' ? styles$9['inp-num'] : '', styles$9['input-wrap']));
|
|
5707
5756
|
}, [className]);
|
|
5708
5757
|
React.useEffect(() => {
|
|
5709
5758
|
setInnerErrorIcon(() => errorIcon);
|
|
@@ -5721,9 +5770,18 @@ const Input = ({
|
|
|
5721
5770
|
setInnerLabelIconSide(() => labelIconSide);
|
|
5722
5771
|
}
|
|
5723
5772
|
}, [labelIconSide]);
|
|
5773
|
+
React.useEffect(() => {
|
|
5774
|
+
if ((useLabelTooltip || configStyles.INPUT?.label?.useTooltip) && (lableShowMore || configStyles.INPUT?.label?.showMore)) {
|
|
5775
|
+
alert(`
|
|
5776
|
+
Please use one of this props or config,
|
|
5777
|
+
use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
|
|
5778
|
+
or ( lableShowMore / configStyles.FILE.label.showMore )
|
|
5779
|
+
`);
|
|
5780
|
+
}
|
|
5781
|
+
}, [lableShowMore, useLabelTooltip, configStyles.INPUT?.label?.useTooltip, configStyles.INPUT?.label?.showMore]);
|
|
5724
5782
|
React.useEffect(() => {
|
|
5725
5783
|
configStylesPromise.then(data => {
|
|
5726
|
-
setClassProps(() => classnames__default["default"](className ?? data.INPUT.className, type === 'number' ? styles$
|
|
5784
|
+
setClassProps(() => classnames__default["default"](className ?? data.INPUT.className, type === 'number' ? styles$9['inp-num'] : '', styles$9['input-wrap']));
|
|
5727
5785
|
setConfigStyles(() => {
|
|
5728
5786
|
return {
|
|
5729
5787
|
...data
|
|
@@ -5767,13 +5825,24 @@ const Input = ({
|
|
|
5767
5825
|
lineHeight: labelLineHeight ?? configStyles.INPUT.label.lineHeight,
|
|
5768
5826
|
marginBottom: labelMarginBottom ?? configStyles.INPUT.label.marginBottom,
|
|
5769
5827
|
fontFamily: labelFontFamily ?? configStyles.INPUT.label.font.family,
|
|
5770
|
-
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? 'nowrap' : 'normal',
|
|
5771
|
-
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? 'hidden' : 'visible',
|
|
5772
|
-
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? 'ellipsis' : ''
|
|
5828
|
+
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.INPUT.label.showMore) && !showMore ? 'nowrap' : 'normal',
|
|
5829
|
+
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.INPUT.label.showMore) && !showMore ? 'hidden' : 'visible',
|
|
5830
|
+
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.INPUT.label.showMore) && !showMore ? 'ellipsis' : '',
|
|
5831
|
+
wordBreak: 'break-all'
|
|
5773
5832
|
},
|
|
5774
5833
|
onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? handleLabelMouseEnter : _ => _,
|
|
5775
5834
|
onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.INPUT.label.useTooltip) ? handleLabelMouseLeave : _ => _
|
|
5776
|
-
}, label
|
|
5835
|
+
}, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.INPUT.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5836
|
+
className: styles$9['show-more-text'],
|
|
5837
|
+
style: {
|
|
5838
|
+
fontSize: labelSize ?? configStyles.INPUT.label.font.size,
|
|
5839
|
+
fontStyle: labelStyle ?? configStyles.INPUT.label.font.style,
|
|
5840
|
+
fontWeight: labelWeight ?? configStyles.INPUT.label.font.weight,
|
|
5841
|
+
fontFamily: labelFontFamily ?? configStyles.INPUT.label.font.family,
|
|
5842
|
+
color: showMoreTextColor ?? configStyles.INPUT.label.showMoreTextColor
|
|
5843
|
+
},
|
|
5844
|
+
onClick: handleChangeShowMore
|
|
5845
|
+
}, ' ', " ", labelShowLessText ?? configStyles.INPUT.label.showLessText) : ''), required && /*#__PURE__*/React__default["default"].createElement("sup", null, iconRequired ? iconRequired : configStyles.INPUT.icon.required ? configStyles.INPUT.icon.required : /*#__PURE__*/React__default["default"].createElement(SvgRequired, null)), showLabelIcon && innerLabelIcon && innerLabelIconSide === 'right' ? /*#__PURE__*/React__default["default"].createElement("img", {
|
|
5777
5846
|
alt: "label icon",
|
|
5778
5847
|
src: innerLabelIcon,
|
|
5779
5848
|
style: {
|
|
@@ -5783,8 +5852,19 @@ const Input = ({
|
|
|
5783
5852
|
marginLeft: labelIconMargin ?? configStyles.INPUT.label.iconMargin
|
|
5784
5853
|
},
|
|
5785
5854
|
onClick: labelAction ? () => labelAction() : _ => _
|
|
5786
|
-
}) : ''
|
|
5787
|
-
className:
|
|
5855
|
+
}) : '', handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.INPUT.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5856
|
+
className: styles$9['show-more-text'],
|
|
5857
|
+
style: {
|
|
5858
|
+
fontSize: labelSize ?? configStyles.INPUT.label.font.size,
|
|
5859
|
+
fontStyle: labelStyle ?? configStyles.INPUT.label.font.style,
|
|
5860
|
+
fontWeight: labelWeight ?? configStyles.INPUT.label.font.weight,
|
|
5861
|
+
fontFamily: labelFontFamily ?? configStyles.INPUT.label.font.family,
|
|
5862
|
+
color: showMoreTextColor ?? configStyles.INPUT.label.showMoreTextColor,
|
|
5863
|
+
marginBottom: labelMarginBottom ?? configStyles.INPUT.label.marginBottom
|
|
5864
|
+
},
|
|
5865
|
+
onClick: handleChangeShowMore
|
|
5866
|
+
}, labelShowMoreText ?? configStyles.INPUT.label.showMoreText) : ''), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5867
|
+
className: `${styles$9['input-content']}`,
|
|
5788
5868
|
style: {
|
|
5789
5869
|
width: width ?? configStyles.INPUT.width,
|
|
5790
5870
|
borderRadius: radius ?? configStyles.INPUT.radius,
|
|
@@ -6016,6 +6096,10 @@ Input.propTypes = {
|
|
|
6016
6096
|
labelFontFamily: PropTypes__default["default"].string,
|
|
6017
6097
|
labelIconMargin: PropTypes__default["default"].string,
|
|
6018
6098
|
labelMarginBottom: PropTypes__default["default"].string,
|
|
6099
|
+
lableShowMore: PropTypes__default["default"].bool,
|
|
6100
|
+
labelShowLessText: PropTypes__default["default"].string,
|
|
6101
|
+
labelShowMoreText: PropTypes__default["default"].string,
|
|
6102
|
+
showMoreTextColor: PropTypes__default["default"].string,
|
|
6019
6103
|
useLabelTooltip: PropTypes__default["default"].bool,
|
|
6020
6104
|
labelTooltipColor: PropTypes__default["default"].string,
|
|
6021
6105
|
labelTooltipPadding: PropTypes__default["default"].string,
|
|
@@ -6236,9 +6320,9 @@ const SvgArrow = ({
|
|
|
6236
6320
|
fill: fillColor ? fillColor : '#3C393E'
|
|
6237
6321
|
}));
|
|
6238
6322
|
|
|
6239
|
-
var css_248z$
|
|
6240
|
-
var styles$
|
|
6241
|
-
styleInject(css_248z$
|
|
6323
|
+
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}}";
|
|
6324
|
+
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"};
|
|
6325
|
+
styleInject(css_248z$9);
|
|
6242
6326
|
|
|
6243
6327
|
const Select = ({
|
|
6244
6328
|
dots,
|
|
@@ -6270,6 +6354,10 @@ const Select = ({
|
|
|
6270
6354
|
labelFontFamily,
|
|
6271
6355
|
labelMarginBottom,
|
|
6272
6356
|
labelTextTransform,
|
|
6357
|
+
lableShowMore,
|
|
6358
|
+
labelShowLessText,
|
|
6359
|
+
labelShowMoreText,
|
|
6360
|
+
showMoreTextColor,
|
|
6273
6361
|
iconRequired,
|
|
6274
6362
|
useLabelTooltip,
|
|
6275
6363
|
labelTooltipColor,
|
|
@@ -6330,6 +6418,7 @@ const Select = ({
|
|
|
6330
6418
|
const [opened, setOpened] = React.useState(false);
|
|
6331
6419
|
const [removeID, setRemoveID] = React.useState('');
|
|
6332
6420
|
const [isHover, setIsHover] = React.useState(false);
|
|
6421
|
+
const [showMore, setShowMore] = React.useState(false);
|
|
6333
6422
|
const [classProps, setClassProps] = React.useState({});
|
|
6334
6423
|
const [newSelected, setNewSelected] = React.useState([]);
|
|
6335
6424
|
const [tooltipElem, setTooltipElem] = React.useState(null);
|
|
@@ -6471,6 +6560,21 @@ const Select = ({
|
|
|
6471
6560
|
}
|
|
6472
6561
|
setRemoveID(() => '');
|
|
6473
6562
|
};
|
|
6563
|
+
const handleCheckTextWidth = () => {
|
|
6564
|
+
if (labelRef.current) {
|
|
6565
|
+
const rect = labelRef.current.getBoundingClientRect();
|
|
6566
|
+
const elementWidth = rect.width;
|
|
6567
|
+
const textWidth = getRenderedTextWidth(labelRef.current);
|
|
6568
|
+
if (textWidth > Math.ceil(elementWidth)) {
|
|
6569
|
+
return 'more';
|
|
6570
|
+
} else {
|
|
6571
|
+
return 'less';
|
|
6572
|
+
}
|
|
6573
|
+
}
|
|
6574
|
+
};
|
|
6575
|
+
const handleChangeShowMore = () => {
|
|
6576
|
+
setShowMore(() => !showMore);
|
|
6577
|
+
};
|
|
6474
6578
|
React.useEffect(() => {
|
|
6475
6579
|
if (opened) {
|
|
6476
6580
|
const checkIfClickedOutside = e => {
|
|
@@ -6512,6 +6616,15 @@ const Select = ({
|
|
|
6512
6616
|
React.useEffect(() => {
|
|
6513
6617
|
className && setClassProps(() => classnames__default["default"](className ?? configStyles.SELECT.className));
|
|
6514
6618
|
}, [className]);
|
|
6619
|
+
React.useEffect(() => {
|
|
6620
|
+
if ((useLabelTooltip || configStyles.SELECT?.label?.useTooltip) && (lableShowMore || configStyles.SELECT?.label?.showMore)) {
|
|
6621
|
+
alert(`
|
|
6622
|
+
Please use one of this props or config,
|
|
6623
|
+
use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
|
|
6624
|
+
or ( lableShowMore / configStyles.FILE.label.showMore )
|
|
6625
|
+
`);
|
|
6626
|
+
}
|
|
6627
|
+
}, [lableShowMore, useLabelTooltip, configStyles.SELECT?.label?.useTooltip, configStyles.SELECT?.label?.showMore]);
|
|
6515
6628
|
React.useEffect(() => {
|
|
6516
6629
|
configStylesPromise.then(data => {
|
|
6517
6630
|
setClassProps(() => classnames__default["default"](className ?? data.SELECT.className));
|
|
@@ -6551,18 +6664,40 @@ const Select = ({
|
|
|
6551
6664
|
lineHeight: labelLineHeight ?? configStyles.SELECT.label.lineHeight,
|
|
6552
6665
|
marginBottom: labelMarginBottom ?? configStyles.SELECT.label.marginBottom,
|
|
6553
6666
|
textTransform: labelTextTransform ?? configStyles.SELECT.label.textTransform,
|
|
6554
|
-
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? 'nowrap' : 'normal',
|
|
6555
|
-
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? 'hidden' : 'visible',
|
|
6556
|
-
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? 'ellipsis' : ''
|
|
6667
|
+
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.SELECT.label.showMore) && !showMore ? 'nowrap' : 'normal',
|
|
6668
|
+
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.SELECT.label.showMore) && !showMore ? 'hidden' : 'visible',
|
|
6669
|
+
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.SELECT.label.showMore) && !showMore ? 'ellipsis' : '',
|
|
6670
|
+
wordBreak: 'break-all'
|
|
6557
6671
|
},
|
|
6558
6672
|
onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? handleLabelMouseEnter : _ => _,
|
|
6559
6673
|
onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.SELECT.label.useTooltip) ? handleLabelMouseLeave : _ => _
|
|
6560
|
-
}, label
|
|
6674
|
+
}, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.SELECT.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6675
|
+
className: styles$8['show-more-text'],
|
|
6676
|
+
style: {
|
|
6677
|
+
fontSize: labelFontSize ?? configStyles.SELECT.label.font.size,
|
|
6678
|
+
fontStyle: labelFontStyle ?? configStyles.SELECT.label.font.style,
|
|
6679
|
+
fontWeight: labelWeight ?? configStyles.SELECT.label.font.weight,
|
|
6680
|
+
fontFamily: labelFontFamily ?? configStyles.SELECT.label.font.family,
|
|
6681
|
+
color: showMoreTextColor ?? configStyles.SELECT.label.showMoreTextColor
|
|
6682
|
+
},
|
|
6683
|
+
onClick: handleChangeShowMore
|
|
6684
|
+
}, ' ', " ", labelShowLessText ?? configStyles.SELECT.label.showLessText) : ''), required && /*#__PURE__*/React__default["default"].createElement("sup", null, iconRequired ? iconRequired : configStyles.SELECT.icon.required ? configStyles.SELECT.icon.required : /*#__PURE__*/React__default["default"].createElement(SvgRequired, null)), handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.SELECT.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6685
|
+
className: styles$8['show-more-text'],
|
|
6686
|
+
style: {
|
|
6687
|
+
fontSize: labelFontSize ?? configStyles.SELECT.label.font.size,
|
|
6688
|
+
fontStyle: labelFontStyle ?? configStyles.SELECT.label.font.style,
|
|
6689
|
+
fontWeight: labelWeight ?? configStyles.SELECT.label.font.weight,
|
|
6690
|
+
fontFamily: labelFontFamily ?? configStyles.SELECT.label.font.family,
|
|
6691
|
+
color: showMoreTextColor ?? configStyles.SELECT.label.showMoreTextColor,
|
|
6692
|
+
marginBottom: labelMarginBottom ?? configStyles.INPUT.label.marginBottom
|
|
6693
|
+
},
|
|
6694
|
+
onClick: handleChangeShowMore
|
|
6695
|
+
}, labelShowMoreText ?? configStyles.SELECT.label.showMoreText) : ''), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6561
6696
|
ref: ref
|
|
6562
6697
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6563
|
-
className: styles$
|
|
6698
|
+
className: styles$8['select-content']
|
|
6564
6699
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6565
|
-
className: `${styles$
|
|
6700
|
+
className: `${styles$8['select-content-top']}`,
|
|
6566
6701
|
style: {
|
|
6567
6702
|
cursor: disabled ? 'not-allowed' : cursor ? cursor : configStyles.SELECT.selected.cursor,
|
|
6568
6703
|
minHeight: selectedMinHeight ?? configStyles.SELECT.selected.minHeight,
|
|
@@ -6599,18 +6734,18 @@ const Select = ({
|
|
|
6599
6734
|
}
|
|
6600
6735
|
}
|
|
6601
6736
|
}) : defaultOption ? defaultOption : ''), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6602
|
-
className: `${styles$
|
|
6737
|
+
className: `${styles$8['select-content-top-icon']}`,
|
|
6603
6738
|
style: {
|
|
6604
6739
|
padding: lang ? '0px' : insidePagination ? '0px 5px' : '0 5px 0 20px'
|
|
6605
6740
|
}
|
|
6606
6741
|
}, !disabled && multiple && newSelected.length > 1 && /*#__PURE__*/React__default["default"].createElement("span", null, newSelected.length), (showCloseIcon === true || showCloseIcon === false ? showCloseIcon : configStyles.SELECT.showCloseIcon) && !disabled && newSelected && newSelected.length > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6607
|
-
className: `${styles$
|
|
6742
|
+
className: `${styles$8['close-icon']}`,
|
|
6608
6743
|
onClick: disabled ? _ => _ : handleClearSelect,
|
|
6609
6744
|
style: {
|
|
6610
6745
|
marginLeft: multiple && newSelected.length > 1 ? '17px' : '0px'
|
|
6611
6746
|
}
|
|
6612
6747
|
}, closeIcon ? closeIcon : configStyles.SELECT.closeIcon ? configStyles.SELECT.closeIcon : /*#__PURE__*/React__default["default"].createElement(SvgCloseIcon, null)), !disabled ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6613
|
-
className: `${styles$
|
|
6748
|
+
className: `${styles$8['arrow-icon']}`,
|
|
6614
6749
|
style: {
|
|
6615
6750
|
marginLeft: lang ? '0px' : '9px',
|
|
6616
6751
|
transform: arrowNoRotate || configStyles.SELECT.arrowNoRotate ? 'rotate(0deg)' : opened ? 'rotate(180deg)' : 'rotate(0deg)'
|
|
@@ -6622,9 +6757,9 @@ const Select = ({
|
|
|
6622
6757
|
backgroundColor: optionsBackgroundColor ?? configStyles.SELECT.options.colors.background,
|
|
6623
6758
|
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'
|
|
6624
6759
|
},
|
|
6625
|
-
className: `${styles$
|
|
6760
|
+
className: `${styles$8['select-content-bottom']}`
|
|
6626
6761
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6627
|
-
className: `${styles$
|
|
6762
|
+
className: `${styles$8['select-content-bottom-inner']}`
|
|
6628
6763
|
}, existOptions && existOptions.length > 0 && existOptions.map((option, i) => {
|
|
6629
6764
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6630
6765
|
key: i,
|
|
@@ -6633,7 +6768,7 @@ const Select = ({
|
|
|
6633
6768
|
onClick: disabled ? _ => _ : () => handleSelectItem(option),
|
|
6634
6769
|
onMouseEnter: disabled ? _ => _ : e => handleMouseEnterOption(e),
|
|
6635
6770
|
onMouseLeave: disabled ? _ => _ : e => handleMouseLeaveOption(e),
|
|
6636
|
-
className: `${styles$
|
|
6771
|
+
className: `${styles$8['select-content-bottom-row']} ${dots || configStyles.SELECT.dots ? styles$8['ellipsis'] : ''}`,
|
|
6637
6772
|
style: {
|
|
6638
6773
|
overflowWrap: !dots && !configStyles.SELECT.dots ? 'anywhere' : 'break-word',
|
|
6639
6774
|
color: optionItemColor ?? configStyles.SELECT.options.item.color,
|
|
@@ -6698,6 +6833,10 @@ Select.propTypes = {
|
|
|
6698
6833
|
labelFontFamily: PropTypes__default["default"].string,
|
|
6699
6834
|
labelMarginBottom: PropTypes__default["default"].string,
|
|
6700
6835
|
labelTextTransform: PropTypes__default["default"].string,
|
|
6836
|
+
lableShowMore: PropTypes__default["default"].bool,
|
|
6837
|
+
labelShowLessText: PropTypes__default["default"].string,
|
|
6838
|
+
labelShowMoreText: PropTypes__default["default"].string,
|
|
6839
|
+
showMoreTextColor: PropTypes__default["default"].string,
|
|
6701
6840
|
cursor: PropTypes__default["default"].string,
|
|
6702
6841
|
errorSize: PropTypes__default["default"].string,
|
|
6703
6842
|
errorColor: PropTypes__default["default"].string,
|
|
@@ -6869,9 +7008,9 @@ const SvgToasterSuccess = ({
|
|
|
6869
7008
|
fill: fillColor ? fillColor : '#0DA574'
|
|
6870
7009
|
}));
|
|
6871
7010
|
|
|
6872
|
-
var css_248z$
|
|
6873
|
-
var styles$
|
|
6874
|
-
styleInject(css_248z$
|
|
7011
|
+
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}}";
|
|
7012
|
+
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"};
|
|
7013
|
+
styleInject(css_248z$8);
|
|
6875
7014
|
|
|
6876
7015
|
const ToasterType = {
|
|
6877
7016
|
info: 'info',
|
|
@@ -6938,8 +7077,8 @@ const Toast = ({
|
|
|
6938
7077
|
...propStyles
|
|
6939
7078
|
},
|
|
6940
7079
|
className: `
|
|
6941
|
-
${styles$
|
|
6942
|
-
${position === 'top-left' ? showToaster ? styles$
|
|
7080
|
+
${styles$7['notify-block']}
|
|
7081
|
+
${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'] : ''}
|
|
6943
7082
|
`
|
|
6944
7083
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6945
7084
|
style: {
|
|
@@ -7006,7 +7145,7 @@ const Toast = ({
|
|
|
7006
7145
|
fontFamily: titleStyles.font.family,
|
|
7007
7146
|
...titleStyles.props
|
|
7008
7147
|
},
|
|
7009
|
-
className: styles$
|
|
7148
|
+
className: styles$7['notify-title']
|
|
7010
7149
|
}, title), description && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7011
7150
|
style: {
|
|
7012
7151
|
color: descriptionStyles.color,
|
|
@@ -7017,7 +7156,7 @@ const Toast = ({
|
|
|
7017
7156
|
fontFamily: descriptionStyles.font.family,
|
|
7018
7157
|
...descriptionStyles.props
|
|
7019
7158
|
},
|
|
7020
|
-
className: styles$
|
|
7159
|
+
className: styles$7['notify-desc']
|
|
7021
7160
|
}, description)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7022
7161
|
onClick: () => handleCloseToaster(ref),
|
|
7023
7162
|
style: {
|
|
@@ -7139,17 +7278,17 @@ const createToast = ({
|
|
|
7139
7278
|
}, error => {
|
|
7140
7279
|
console.error(error);
|
|
7141
7280
|
});
|
|
7142
|
-
if (!document.getElementById(styles$
|
|
7281
|
+
if (!document.getElementById(styles$7[position]) || document.getElementById(styles$7[position]) == null) {
|
|
7143
7282
|
toastParentBlock = document.createElement('div');
|
|
7144
7283
|
toastParentBlock.style.position = 'fixed';
|
|
7145
7284
|
toastParentBlock.style.display = 'flex';
|
|
7146
7285
|
toastParentBlock.style.zIndex = 999999999999;
|
|
7147
7286
|
toastParentBlock.style.flexDirection = position === 'top-left' || position === 'top-right' || position === 'top-center' ? 'column-reverse' : 'column';
|
|
7148
|
-
toastParentBlock.setAttribute('id', styles$
|
|
7287
|
+
toastParentBlock.setAttribute('id', styles$7[position]);
|
|
7149
7288
|
toastParentBlock.appendChild(toastBlock);
|
|
7150
7289
|
toastify.appendChild(toastParentBlock);
|
|
7151
7290
|
} else {
|
|
7152
|
-
document.getElementById(styles$
|
|
7291
|
+
document.getElementById(styles$7[position]).appendChild(toastBlock);
|
|
7153
7292
|
}
|
|
7154
7293
|
};
|
|
7155
7294
|
const toast = {
|
|
@@ -7271,9 +7410,9 @@ const SvgTooltip = ({
|
|
|
7271
7410
|
fill: fillColor ? fillColor : '#D1D1D1'
|
|
7272
7411
|
}));
|
|
7273
7412
|
|
|
7274
|
-
var css_248z$
|
|
7275
|
-
var styles$
|
|
7276
|
-
styleInject(css_248z$
|
|
7413
|
+
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}";
|
|
7414
|
+
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"};
|
|
7415
|
+
styleInject(css_248z$7);
|
|
7277
7416
|
|
|
7278
7417
|
const TooltipDirections = {
|
|
7279
7418
|
TOP: 'top',
|
|
@@ -7361,7 +7500,7 @@ const Tooltip = ({
|
|
|
7361
7500
|
}, [showTooltip]);
|
|
7362
7501
|
React.useEffect(() => {
|
|
7363
7502
|
configStylesPromise.then(data => {
|
|
7364
|
-
setClassProps(() => classnames__default["default"](styles$
|
|
7503
|
+
setClassProps(() => classnames__default["default"](styles$6['tooltip-block'], className ?? data.TOOLTIP.className));
|
|
7365
7504
|
setConfigStyles(() => {
|
|
7366
7505
|
return {
|
|
7367
7506
|
...data
|
|
@@ -7383,7 +7522,7 @@ const Tooltip = ({
|
|
|
7383
7522
|
onClick: e => e.stopPropagation()
|
|
7384
7523
|
}, showTooltip ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7385
7524
|
ref: tooltipRef,
|
|
7386
|
-
className: `${styles$
|
|
7525
|
+
className: `${styles$6['tooltip']}`,
|
|
7387
7526
|
style: {
|
|
7388
7527
|
width: tooltipWidth ?? configStyles.TOOLTIP.width,
|
|
7389
7528
|
borderRadius: tooltipRadius ?? configStyles.TOOLTIP.radius,
|
|
@@ -7392,9 +7531,9 @@ const Tooltip = ({
|
|
|
7392
7531
|
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'
|
|
7393
7532
|
}
|
|
7394
7533
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7395
|
-
className: `${styles$
|
|
7534
|
+
className: `${styles$6['tooltip-rel']}`
|
|
7396
7535
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7397
|
-
className: `${styles$
|
|
7536
|
+
className: `${styles$6['tooltip-decor']}`,
|
|
7398
7537
|
style: {
|
|
7399
7538
|
backgroundColor: tooltipBackgroundColor ?? configStyles.TOOLTIP.colors.background,
|
|
7400
7539
|
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',
|
|
@@ -7477,9 +7616,9 @@ const SvgCaptchaArrowDown = ({
|
|
|
7477
7616
|
fill: fillColor ? fillColor : '#00236A'
|
|
7478
7617
|
}));
|
|
7479
7618
|
|
|
7480
|
-
var css_248z$
|
|
7481
|
-
var styles$
|
|
7482
|
-
styleInject(css_248z$
|
|
7619
|
+
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}";
|
|
7620
|
+
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"};
|
|
7621
|
+
styleInject(css_248z$6);
|
|
7483
7622
|
|
|
7484
7623
|
const Captcha = ({
|
|
7485
7624
|
color,
|
|
@@ -7567,7 +7706,7 @@ const Captcha = ({
|
|
|
7567
7706
|
alignItems: 'center',
|
|
7568
7707
|
zIndex: 1
|
|
7569
7708
|
},
|
|
7570
|
-
className: styles$
|
|
7709
|
+
className: styles$5['start-point']
|
|
7571
7710
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7572
7711
|
style: {
|
|
7573
7712
|
position: 'absolute',
|
|
@@ -7593,8 +7732,8 @@ const Captcha = ({
|
|
|
7593
7732
|
backgroundColor: 'transparent'
|
|
7594
7733
|
},
|
|
7595
7734
|
className: `
|
|
7596
|
-
${styles$
|
|
7597
|
-
${+rangeProgress === rangeNumber ? styles$
|
|
7735
|
+
${styles$5['range']}
|
|
7736
|
+
${+rangeProgress === rangeNumber ? styles$5['range-success'] : +rangeProgress !== rangeNumber && +rangeProgress > 0 ? styles$5['range-error'] : styles$5['range-default']}
|
|
7598
7737
|
`,
|
|
7599
7738
|
onInput: handleRange
|
|
7600
7739
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7624,9 +7763,9 @@ Captcha.propTypes = {
|
|
|
7624
7763
|
getRange: PropTypes__default["default"].func.isRequired
|
|
7625
7764
|
};
|
|
7626
7765
|
|
|
7627
|
-
var css_248z$
|
|
7628
|
-
var styles$
|
|
7629
|
-
styleInject(css_248z$
|
|
7766
|
+
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}";
|
|
7767
|
+
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"};
|
|
7768
|
+
styleInject(css_248z$5);
|
|
7630
7769
|
|
|
7631
7770
|
const Stepper = ({
|
|
7632
7771
|
stepLength,
|
|
@@ -7636,11 +7775,11 @@ const Stepper = ({
|
|
|
7636
7775
|
const [classProps, setClassProps] = React.useState({});
|
|
7637
7776
|
const [configStyles, setConfigStyles] = React.useState({});
|
|
7638
7777
|
React.useEffect(() => {
|
|
7639
|
-
className && setClassProps(() => classnames__default["default"](className ?? configStyles.STEPPER.className, `${styles$
|
|
7778
|
+
className && setClassProps(() => classnames__default["default"](className ?? configStyles.STEPPER.className, `${styles$4['stepper-container']} stepper-container-rem`));
|
|
7640
7779
|
}, [className]);
|
|
7641
7780
|
React.useEffect(() => {
|
|
7642
7781
|
configStylesPromise.then(data => {
|
|
7643
|
-
setClassProps(() => classnames__default["default"](className ?? data.STEPPER.className, `${styles$
|
|
7782
|
+
setClassProps(() => classnames__default["default"](className ?? data.STEPPER.className, `${styles$4['stepper-container']} stepper-container-rem`));
|
|
7644
7783
|
setConfigStyles(() => {
|
|
7645
7784
|
return {
|
|
7646
7785
|
...data
|
|
@@ -7656,10 +7795,10 @@ const Stepper = ({
|
|
|
7656
7795
|
let steppers = [];
|
|
7657
7796
|
for (let step = 1; step <= stepLength; step++) {
|
|
7658
7797
|
steppers.push(/*#__PURE__*/React__default["default"].createElement("div", {
|
|
7659
|
-
className: classnames__default["default"](`${step <= activeSteps ? styles$
|
|
7798
|
+
className: classnames__default["default"](`${step <= activeSteps ? styles$4.activeRing : styles$4.bigRing}`),
|
|
7660
7799
|
key: step
|
|
7661
7800
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7662
|
-
className: classnames__default["default"](`${step <= activeSteps ? styles$
|
|
7801
|
+
className: classnames__default["default"](`${step <= activeSteps ? styles$4.smallActiveRing : styles$4.smallRing}`)
|
|
7663
7802
|
}, step <= activeSteps ? step : '')));
|
|
7664
7803
|
}
|
|
7665
7804
|
return steppers;
|
|
@@ -7789,6 +7928,10 @@ Checkbox.propTypes = {
|
|
|
7789
7928
|
data: PropTypes__default["default"].oneOfType([PropTypes__default["default"].arrayOf(PropTypes__default["default"].object), PropTypes__default["default"].object])
|
|
7790
7929
|
};
|
|
7791
7930
|
|
|
7931
|
+
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}";
|
|
7932
|
+
var styles$3 = {"show-more-text":"textarea-module_show-more-text__xQa-I"};
|
|
7933
|
+
styleInject(css_248z$4);
|
|
7934
|
+
|
|
7792
7935
|
const PositionSide = {
|
|
7793
7936
|
TOP: 'top',
|
|
7794
7937
|
BOTTOM: 'bottom'
|
|
@@ -7831,10 +7974,15 @@ const Textarea = ({
|
|
|
7831
7974
|
label,
|
|
7832
7975
|
labelSize,
|
|
7833
7976
|
labelColor,
|
|
7977
|
+
labelStyle,
|
|
7834
7978
|
labelWeight,
|
|
7835
7979
|
labelDisplay,
|
|
7836
7980
|
labelFontFamily,
|
|
7837
7981
|
labelMarginBottom,
|
|
7982
|
+
lableShowMore,
|
|
7983
|
+
labelShowLessText,
|
|
7984
|
+
labelShowMoreText,
|
|
7985
|
+
showMoreTextColor,
|
|
7838
7986
|
iconRequired,
|
|
7839
7987
|
useLabelTooltip,
|
|
7840
7988
|
labelTooltipColor,
|
|
@@ -7853,6 +8001,7 @@ const Textarea = ({
|
|
|
7853
8001
|
const [removeID, setRemoveID] = React.useState('');
|
|
7854
8002
|
const [isHover, setIsHover] = React.useState(false);
|
|
7855
8003
|
const [isFocus, setIsFocus] = React.useState(false);
|
|
8004
|
+
const [showMore, setShowMore] = React.useState(false);
|
|
7856
8005
|
const [innerValue, setInnerValue] = React.useState('');
|
|
7857
8006
|
const [classProps, setClassProps] = React.useState({});
|
|
7858
8007
|
const [tooltipElem, setTooltipElem] = React.useState(null);
|
|
@@ -7964,6 +8113,21 @@ const Textarea = ({
|
|
|
7964
8113
|
}
|
|
7965
8114
|
setRemoveID(() => '');
|
|
7966
8115
|
};
|
|
8116
|
+
const handleCheckTextWidth = () => {
|
|
8117
|
+
if (labelRef.current) {
|
|
8118
|
+
const rect = labelRef.current.getBoundingClientRect();
|
|
8119
|
+
const elementWidth = rect.width;
|
|
8120
|
+
const textWidth = getRenderedTextWidth(labelRef.current);
|
|
8121
|
+
if (textWidth > Math.ceil(elementWidth)) {
|
|
8122
|
+
return 'more';
|
|
8123
|
+
} else {
|
|
8124
|
+
return 'less';
|
|
8125
|
+
}
|
|
8126
|
+
}
|
|
8127
|
+
};
|
|
8128
|
+
const handleChangeShowMore = () => {
|
|
8129
|
+
setShowMore(() => !showMore);
|
|
8130
|
+
};
|
|
7967
8131
|
React.useEffect(() => {
|
|
7968
8132
|
if (value === undefined) {
|
|
7969
8133
|
alert('Please add value prop on Textarea component');
|
|
@@ -7978,6 +8142,15 @@ const Textarea = ({
|
|
|
7978
8142
|
React.useEffect(() => {
|
|
7979
8143
|
className && setClassProps(() => classnames__default["default"](className ?? configStyles.TEXTAREA.className));
|
|
7980
8144
|
}, [className]);
|
|
8145
|
+
React.useEffect(() => {
|
|
8146
|
+
if ((useLabelTooltip || configStyles.TEXTAREA?.label?.useTooltip) && (lableShowMore || configStyles.TEXTAREA?.label?.showMore)) {
|
|
8147
|
+
alert(`
|
|
8148
|
+
Please use one of this props or config,
|
|
8149
|
+
use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
|
|
8150
|
+
or ( lableShowMore / configStyles.FILE.label.showMore )
|
|
8151
|
+
`);
|
|
8152
|
+
}
|
|
8153
|
+
}, [lableShowMore, useLabelTooltip, configStyles.TEXTAREA?.label?.useTooltip, configStyles.TEXTAREA?.label?.showMore]);
|
|
7981
8154
|
React.useEffect(() => {
|
|
7982
8155
|
configStylesPromise.then(data => {
|
|
7983
8156
|
setClassProps(() => classnames__default["default"](className ?? data.TEXTAREA.className));
|
|
@@ -8019,13 +8192,34 @@ const Textarea = ({
|
|
|
8019
8192
|
ref: labelRef,
|
|
8020
8193
|
style: {
|
|
8021
8194
|
display: labelDisplay ?? configStyles.TEXTAREA.label.display,
|
|
8022
|
-
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? 'nowrap' : 'normal',
|
|
8023
|
-
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? 'hidden' : 'visible',
|
|
8024
|
-
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? 'ellipsis' : ''
|
|
8195
|
+
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.TEXTAREA.label.showMore) && !showMore ? 'nowrap' : 'normal',
|
|
8196
|
+
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.TEXTAREA.label.showMore) && !showMore ? 'hidden' : 'visible',
|
|
8197
|
+
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.TEXTAREA.label.showMore) && !showMore ? 'ellipsis' : '',
|
|
8198
|
+
wordBreak: 'break-all'
|
|
8025
8199
|
},
|
|
8026
8200
|
onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? handleLabelMouseEnter : _ => _,
|
|
8027
8201
|
onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.TEXTAREA.label.useTooltip) ? handleLabelMouseLeave : _ => _
|
|
8028
|
-
}, label
|
|
8202
|
+
}, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.TEXTAREA.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8203
|
+
className: styles$3['show-more-text'],
|
|
8204
|
+
style: {
|
|
8205
|
+
fontSize: labelSize ?? configStyles.TEXTAREA.label.font.size,
|
|
8206
|
+
fontStyle: labelStyle ?? configStyles.TEXTAREA.label.font.style,
|
|
8207
|
+
fontWeight: labelWeight ?? configStyles.TEXTAREA.label.font.weight,
|
|
8208
|
+
fontFamily: labelFontFamily ?? configStyles.TEXTAREA.label.font.family,
|
|
8209
|
+
color: showMoreTextColor ?? configStyles.TEXTAREA.label.showMoreTextColor
|
|
8210
|
+
},
|
|
8211
|
+
onClick: handleChangeShowMore
|
|
8212
|
+
}, ' ', " ", labelShowLessText ?? configStyles.TEXTAREA.label.showLessText) : ''), required && /*#__PURE__*/React__default["default"].createElement("sup", null, iconRequired ? iconRequired : configStyles.TEXTAREA.icon.required ? configStyles.TEXTAREA.icon.required : /*#__PURE__*/React__default["default"].createElement(SvgRequired, null)), handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.TEXTAREA.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8213
|
+
className: styles$3['show-more-text'],
|
|
8214
|
+
style: {
|
|
8215
|
+
fontSize: labelSize ?? configStyles.TEXTAREA.label.font.size,
|
|
8216
|
+
fontStyle: labelStyle ?? configStyles.TEXTAREA.label.font.style,
|
|
8217
|
+
fontWeight: labelWeight ?? configStyles.TEXTAREA.label.font.weight,
|
|
8218
|
+
fontFamily: labelFontFamily ?? configStyles.TEXTAREA.label.font.family,
|
|
8219
|
+
color: showMoreTextColor ?? configStyles.TEXTAREA.label.showMoreTextColor
|
|
8220
|
+
},
|
|
8221
|
+
onClick: handleChangeShowMore
|
|
8222
|
+
}, labelShowMoreText ?? configStyles.TEXTAREA.label.showMoreText) : ''), showCharacterCount && maxLength && characterCountPosition === 'top' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8029
8223
|
style: {
|
|
8030
8224
|
width: 'fit-content',
|
|
8031
8225
|
flexShrink: 0
|
|
@@ -8128,11 +8322,16 @@ Textarea.propTypes = {
|
|
|
8128
8322
|
borderHoverColor: PropTypes__default["default"].string,
|
|
8129
8323
|
label: PropTypes__default["default"].string,
|
|
8130
8324
|
labelSize: PropTypes__default["default"].string,
|
|
8325
|
+
labelStyle: PropTypes__default["default"].string,
|
|
8131
8326
|
labelColor: PropTypes__default["default"].string,
|
|
8132
8327
|
labelWeight: PropTypes__default["default"].string,
|
|
8133
8328
|
labelDisplay: PropTypes__default["default"].string,
|
|
8134
8329
|
labelFontFamily: PropTypes__default["default"].string,
|
|
8135
8330
|
labelMarginBottom: PropTypes__default["default"].string,
|
|
8331
|
+
lableShowMore: PropTypes__default["default"].bool,
|
|
8332
|
+
labelShowLessText: PropTypes__default["default"].string,
|
|
8333
|
+
labelShowMoreText: PropTypes__default["default"].string,
|
|
8334
|
+
showMoreTextColor: PropTypes__default["default"].string,
|
|
8136
8335
|
iconRequired: PropTypes__default["default"].element,
|
|
8137
8336
|
useLabelTooltip: PropTypes__default["default"].bool,
|
|
8138
8337
|
labelTooltipColor: PropTypes__default["default"].string,
|
|
@@ -9300,8 +9499,8 @@ Pagination.propTypes = {
|
|
|
9300
9499
|
borderRadius: PropTypes__default["default"].string
|
|
9301
9500
|
};
|
|
9302
9501
|
|
|
9303
|
-
var css_248z = ".autocomplete-module_auto-complete__oUOv9{appearance:none!important;-webkit-appearance:none!important}";
|
|
9304
|
-
var styles = {"auto-complete":"autocomplete-module_auto-complete__oUOv9"};
|
|
9502
|
+
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}";
|
|
9503
|
+
var styles = {"auto-complete":"autocomplete-module_auto-complete__oUOv9","show-more-text":"autocomplete-module_show-more-text__1FXFu"};
|
|
9305
9504
|
styleInject(css_248z);
|
|
9306
9505
|
|
|
9307
9506
|
const Autocomplete = ({
|
|
@@ -9383,6 +9582,10 @@ const Autocomplete = ({
|
|
|
9383
9582
|
labelFontFamily,
|
|
9384
9583
|
labelMarginBottom,
|
|
9385
9584
|
labelTextTransform,
|
|
9585
|
+
lableShowMore,
|
|
9586
|
+
labelShowLessText,
|
|
9587
|
+
labelShowMoreText,
|
|
9588
|
+
showMoreTextColor,
|
|
9386
9589
|
iconRequired,
|
|
9387
9590
|
useLabelTooltip,
|
|
9388
9591
|
labelTooltipColor,
|
|
@@ -9408,6 +9611,7 @@ const Autocomplete = ({
|
|
|
9408
9611
|
const [removeID, setRemoveID] = React.useState('');
|
|
9409
9612
|
const [isHover, setIsHover] = React.useState(false);
|
|
9410
9613
|
const [isFocus, setIsFocus] = React.useState(false);
|
|
9614
|
+
const [showMore, setShowMore] = React.useState(false);
|
|
9411
9615
|
const [innerError, setInnerError] = React.useState('');
|
|
9412
9616
|
const [innerValue, setInnerValue] = React.useState('');
|
|
9413
9617
|
const [classProps, setClassProps] = React.useState({});
|
|
@@ -9600,6 +9804,21 @@ const Autocomplete = ({
|
|
|
9600
9804
|
}
|
|
9601
9805
|
setRemoveID(() => '');
|
|
9602
9806
|
};
|
|
9807
|
+
const handleCheckTextWidth = () => {
|
|
9808
|
+
if (labelRef.current) {
|
|
9809
|
+
const rect = labelRef.current.getBoundingClientRect();
|
|
9810
|
+
const elementWidth = rect.width;
|
|
9811
|
+
const textWidth = getRenderedTextWidth(labelRef.current);
|
|
9812
|
+
if (textWidth > Math.ceil(elementWidth)) {
|
|
9813
|
+
return 'more';
|
|
9814
|
+
} else {
|
|
9815
|
+
return 'less';
|
|
9816
|
+
}
|
|
9817
|
+
}
|
|
9818
|
+
};
|
|
9819
|
+
const handleChangeShowMore = () => {
|
|
9820
|
+
setShowMore(() => !showMore);
|
|
9821
|
+
};
|
|
9603
9822
|
React.useEffect(() => {
|
|
9604
9823
|
if (options === undefined) {
|
|
9605
9824
|
alert('Please add options prop');
|
|
@@ -9634,6 +9853,15 @@ const Autocomplete = ({
|
|
|
9634
9853
|
React.useEffect(() => {
|
|
9635
9854
|
className && setClassProps(() => classnames__default["default"](className ?? configStyles.AUTOCOMPLETE.className, styles['auto-complete']));
|
|
9636
9855
|
}, [className]);
|
|
9856
|
+
React.useEffect(() => {
|
|
9857
|
+
if ((useLabelTooltip || configStyles.AUTOCOMPLETE?.label?.useTooltip) && (lableShowMore || configStyles.AUTOCOMPLETE?.label?.showMore)) {
|
|
9858
|
+
alert(`
|
|
9859
|
+
Please use one of this props or config,
|
|
9860
|
+
use ( useLabelTooltip / configStyles.FILE.label.useTooltip )
|
|
9861
|
+
or ( lableShowMore / configStyles.FILE.label.showMore )
|
|
9862
|
+
`);
|
|
9863
|
+
}
|
|
9864
|
+
}, [lableShowMore, useLabelTooltip, configStyles.AUTOCOMPLETE?.label?.useTooltip, configStyles.AUTOCOMPLETE?.label?.showMore]);
|
|
9637
9865
|
React.useEffect(() => {
|
|
9638
9866
|
configStylesPromise.then(data => {
|
|
9639
9867
|
setClassProps(() => classnames__default["default"](className ?? data.AUTOCOMPLETE.className, styles['auto-complete']));
|
|
@@ -9672,13 +9900,35 @@ const Autocomplete = ({
|
|
|
9672
9900
|
lineHeight: labelLineHeight ?? configStyles.AUTOCOMPLETE.label.lineHeight,
|
|
9673
9901
|
marginBottom: labelMarginBottom ?? configStyles.AUTOCOMPLETE.label.marginBottom,
|
|
9674
9902
|
textTransform: labelTextTransform ?? configStyles.AUTOCOMPLETE.label.textTransform,
|
|
9675
|
-
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? 'nowrap' : 'normal',
|
|
9676
|
-
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? 'hidden' : 'visible',
|
|
9677
|
-
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? 'ellipsis' : ''
|
|
9903
|
+
whiteSpace: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.AUTOCOMPLETE.label.showMore) && !showMore ? 'nowrap' : 'normal',
|
|
9904
|
+
overflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.AUTOCOMPLETE.label.showMore) && !showMore ? 'hidden' : 'visible',
|
|
9905
|
+
textOverflow: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) || (lableShowMore ? lableShowMore : (lableShowMore === null || lableShowMore === undefined) && configStyles.AUTOCOMPLETE.label.showMore) && !showMore ? 'ellipsis' : '',
|
|
9906
|
+
wordBreak: 'break-all'
|
|
9678
9907
|
},
|
|
9679
9908
|
onMouseEnter: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? handleLabelMouseEnter : _ => _,
|
|
9680
9909
|
onMouseLeave: (useLabelTooltip ? useLabelTooltip : (useLabelTooltip === null || useLabelTooltip === undefined) && configStyles.AUTOCOMPLETE.label.useTooltip) ? handleLabelMouseLeave : _ => _
|
|
9681
|
-
}, label
|
|
9910
|
+
}, label, handleCheckTextWidth() === 'more' && showMore && (lableShowMore || configStyles.AUTOCOMPLETE.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9911
|
+
className: styles['show-more-text'],
|
|
9912
|
+
style: {
|
|
9913
|
+
fontSize: labelSize ?? configStyles.AUTOCOMPLETE.label.font.size,
|
|
9914
|
+
fontStyle: labelStyle ?? configStyles.AUTOCOMPLETE.label.font.style,
|
|
9915
|
+
fontWeight: labelWeight ?? configStyles.AUTOCOMPLETE.label.font.weight,
|
|
9916
|
+
fontFamily: labelFontFamily ?? configStyles.AUTOCOMPLETE.label.font.family,
|
|
9917
|
+
color: showMoreTextColor ?? configStyles.AUTOCOMPLETE.label.showMoreTextColor
|
|
9918
|
+
},
|
|
9919
|
+
onClick: handleChangeShowMore
|
|
9920
|
+
}, ' ', " ", labelShowLessText ?? configStyles.AUTOCOMPLETE.label.showLessText) : ''), required && /*#__PURE__*/React__default["default"].createElement("sup", null, iconRequired ? iconRequired : configStyles.FILE.icon.required ? configStyles.FILE.icon.required : /*#__PURE__*/React__default["default"].createElement(SvgRequired, null)), handleCheckTextWidth() === 'more' && !showMore && (lableShowMore || configStyles.AUTOCOMPLETE.label.showMore) ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9921
|
+
className: styles['show-more-text'],
|
|
9922
|
+
style: {
|
|
9923
|
+
fontSize: labelSize ?? configStyles.AUTOCOMPLETE.label.font.size,
|
|
9924
|
+
fontStyle: labelStyle ?? configStyles.AUTOCOMPLETE.label.font.style,
|
|
9925
|
+
fontWeight: labelWeight ?? configStyles.AUTOCOMPLETE.label.font.weight,
|
|
9926
|
+
fontFamily: labelFontFamily ?? configStyles.AUTOCOMPLETE.label.font.family,
|
|
9927
|
+
color: showMoreTextColor ?? configStyles.AUTOCOMPLETE.label.showMoreTextColor,
|
|
9928
|
+
marginBottom: labelMarginBottom ?? configStyles.AUTOCOMPLETE.label.marginBottom
|
|
9929
|
+
},
|
|
9930
|
+
onClick: handleChangeShowMore
|
|
9931
|
+
}, labelShowMoreText ?? configStyles.AUTOCOMPLETE.label.showMoreText) : ''), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9682
9932
|
style: {
|
|
9683
9933
|
display: contentDisplay ?? configStyles.AUTOCOMPLETE.parent.display,
|
|
9684
9934
|
position: contentPosition ?? configStyles.AUTOCOMPLETE.parent.position,
|
|
@@ -9823,7 +10073,11 @@ Autocomplete.propTypes = {
|
|
|
9823
10073
|
labelTooltipFontWeight: PropTypes__default["default"].string,
|
|
9824
10074
|
labelTooltipBorderRadius: PropTypes__default["default"].string,
|
|
9825
10075
|
labelTooltipBackgroundColor: PropTypes__default["default"].string,
|
|
9826
|
-
backgroundDisableColor: PropTypes__default["default"].string
|
|
10076
|
+
backgroundDisableColor: PropTypes__default["default"].string,
|
|
10077
|
+
lableShowMore: PropTypes__default["default"].bool,
|
|
10078
|
+
labelShowLessText: PropTypes__default["default"].string,
|
|
10079
|
+
labelShowMoreText: PropTypes__default["default"].string,
|
|
10080
|
+
showMoreTextColor: PropTypes__default["default"].string
|
|
9827
10081
|
};
|
|
9828
10082
|
|
|
9829
10083
|
exports.Accordion = Accordion;
|