@xaypay/tui 0.0.110 → 0.0.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -299,9 +299,11 @@ const SvgCheckboxChecked = ({
299
299
 
300
300
  const Checkbox$1 = ({
301
301
  data,
302
+ index,
302
303
  styles,
303
304
  checked,
304
305
  disabled,
306
+ innerIndex,
305
307
  checkedColor,
306
308
  handleChecked,
307
309
  unCheckedColor,
@@ -311,7 +313,11 @@ const Checkbox$1 = ({
311
313
  const [innerChecked, setInnerChecked] = React.useState(false);
312
314
  const [innerDisabled, setInnerDisabled] = React.useState(false);
313
315
  const handleClick = e => {
314
- handleChecked(data, e);
316
+ if (index !== undefined && innerIndex !== undefined && typeof index === 'number' && typeof innerIndex === 'number') {
317
+ handleChecked(data, e, index, innerIndex);
318
+ } else {
319
+ handleChecked(data, e);
320
+ }
315
321
  };
316
322
  React.useEffect(() => {
317
323
  setInnerDisabled(disabled);
@@ -338,9 +344,11 @@ const Checkbox$1 = ({
338
344
 
339
345
  const SingleCheckbox = ({
340
346
  data,
347
+ index,
341
348
  styles,
342
349
  checked,
343
350
  disabled,
351
+ innerIndex,
344
352
  checkedColor,
345
353
  handleChecked,
346
354
  unCheckedColor,
@@ -360,10 +368,12 @@ const SingleCheckbox = ({
360
368
  setInnerData(data);
361
369
  }, [data]);
362
370
  return /*#__PURE__*/React__default["default"].createElement(Checkbox$1, {
371
+ index: index,
363
372
  styles: styles,
364
373
  data: innerData,
365
374
  checked: checked,
366
375
  disabled: disabled,
376
+ innerIndex: innerIndex,
367
377
  checkedColor: checkedColor,
368
378
  handleChecked: handleChecked,
369
379
  unCheckedColor: unCheckedColor,
@@ -373,8 +383,10 @@ const SingleCheckbox = ({
373
383
  SingleCheckbox.propTypes = {
374
384
  data: PropTypes__default["default"].object,
375
385
  onClick: PropTypes__default["default"].func,
386
+ index: PropTypes__default["default"].number,
376
387
  styles: PropTypes__default["default"].object,
377
388
  disabled: PropTypes__default["default"].bool,
389
+ innerIndex: PropTypes__default["default"].number,
378
390
  checkedColor: PropTypes__default["default"].string,
379
391
  unCheckedColor: PropTypes__default["default"].string,
380
392
  ignoreDisabledForChecked: PropTypes__default["default"].bool
@@ -449,9 +461,21 @@ const TD = ({
449
461
  handleCheckDots,
450
462
  handleCheckedBody,
451
463
  handleBodyActionClick,
464
+ handleMoreOptionsClick,
465
+ handleContentListClick,
452
466
  handleCheckArrowAction,
453
467
  handleOpenCloseRowSingleArrow
454
468
  }) => {
469
+ const handleBodyAction = (e, data) => {
470
+ const actionData = {
471
+ index,
472
+ innerIndex,
473
+ items: item,
474
+ item: data.item,
475
+ itemIndex: data.itemIndex
476
+ };
477
+ handleBodyActionClick(e, actionData);
478
+ };
455
479
  return /*#__PURE__*/React__default["default"].createElement("td", {
456
480
  style: {
457
481
  width: 'auto',
@@ -464,7 +488,7 @@ const TD = ({
464
488
  textAlign: tBodyTextAlign,
465
489
  fontFamily: tBodyFontFamily,
466
490
  fontWeight: tBodyFontWeight,
467
- boxShadow: item.colorStatus ? `inset 3px 0px 0px 0px ${item.colorStatus}` : ''
491
+ boxShadow: Object.prototype.hasOwnProperty.call(item, 'colorStatus') ? `inset 3px 0px 0px 0px ${item.colorStatus}` : ''
468
492
  }
469
493
  }, Array.isArray(item) ? item.length > 0 ? item.map((newItem, newIndex) => {
470
494
  if (newItem && !Array.isArray(newItem) && typeof newItem === 'object') {
@@ -479,10 +503,9 @@ const TD = ({
479
503
  type: newItem.type,
480
504
  className: styles$c['td-span'],
481
505
  key: `${newItem.id}_${newIndex}`,
482
- onClick: Object.prototype.hasOwnProperty.call(newItem, 'type') ? e => handleBodyActionClick(e, {
483
- item,
484
- index,
485
- innerIndex
506
+ onClick: Object.prototype.hasOwnProperty.call(newItem, 'type') ? e => handleBodyAction(e, {
507
+ item: newItem,
508
+ itemIndex: newIndex
486
509
  }) : _ => _
487
510
  }, newItem.content);
488
511
  } else if (newItem && Array.isArray(newItem)) {
@@ -504,10 +527,7 @@ const TD = ({
504
527
  id: iT.id ? iT.id : '',
505
528
  type: iT.type ? iT.type : '',
506
529
  className: styles$c['td-span'],
507
- onClick: Object.prototype.hasOwnProperty.call(iT, 'type') ? e => handleBodyActionClick(e, {
508
- index,
509
- innerIndex,
510
- items: item,
530
+ onClick: Object.prototype.hasOwnProperty.call(iT, 'type') ? e => handleBodyAction(e, {
511
531
  item: iT,
512
532
  itemIndex: iN
513
533
  }) : _ => _,
@@ -523,20 +543,23 @@ const TD = ({
523
543
  style: {
524
544
  display: 'flex',
525
545
  alignItems: 'flex-start',
526
- justifyContent: item.contentList || item.checkBox ? 'space-between' : 'center'
546
+ justifyContent: Object.prototype.hasOwnProperty.call(item, 'contentList') || Object.prototype.hasOwnProperty.call(item, 'checkBox') ? 'space-between' : 'center'
527
547
  }
528
- }, item.contentList && /*#__PURE__*/React__default["default"].createElement("div", {
548
+ }, Object.prototype.hasOwnProperty.call(item, 'contentList') && /*#__PURE__*/React__default["default"].createElement("div", {
529
549
  id: item.id,
530
550
  style: {
531
551
  width: '21px',
532
- height: '21px'
552
+ height: '21px',
553
+ cursor: 'pointer'
533
554
  },
534
555
  onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex),
535
556
  className: styles$c['td-span']
536
- }, item.status === 'close' ? item.closeArrow : item.openArrow), item.checkBox && /*#__PURE__*/React__default["default"].createElement(SingleCheckbox, {
557
+ }, item.status === 'close' ? item.closeArrow : item.openArrow), Object.prototype.hasOwnProperty.call(item, 'checkBox') && /*#__PURE__*/React__default["default"].createElement(SingleCheckbox, {
537
558
  data: item,
538
- handleChecked: handleCheckedBody,
559
+ index: index,
560
+ innerIndex: innerIndex,
539
561
  checked: item.checkBox.checked,
562
+ handleChecked: handleCheckedBody,
540
563
  disabled: item.checkBox.disabled,
541
564
  checkedColor: item.checkBox.checkedColor,
542
565
  unCheckedColor: item.checkBox.unCheckedColor
@@ -560,6 +583,7 @@ const TD = ({
560
583
  position: 'absolute',
561
584
  display: item.dotsStatus === 'deActive' ? 'none' : 'block',
562
585
  top: '0px',
586
+ zIndex: 100,
563
587
  right: 'calc(100% + 6px)',
564
588
  width: '223px',
565
589
  height: 'auto',
@@ -570,21 +594,28 @@ const TD = ({
570
594
  backgroundColor: '#FFFFFF',
571
595
  boxShadow: '0px 0px 20px 0px #3C393E4D'
572
596
  }
573
- }, item.options && item.options.map((item, index) => {
597
+ }, Object.prototype.hasOwnProperty.call(item, 'options') && item.options.map((optionItem, optionIndex) => {
574
598
  return /*#__PURE__*/React__default["default"].createElement("span", {
575
- key: `${item.content}_${index}`,
599
+ key: `${optionItem.content}_${optionIndex}`,
576
600
  className: styles$c['dots-option-item'],
577
601
  style: {
578
602
  color: '#3C393E',
579
603
  fontSize: '14px',
580
604
  fontFamily: 'Noto Sans Armenian'
581
- }
582
- // TODO: onClick
605
+ },
606
+ onClick: () => handleMoreOptionsClick({
607
+ item,
608
+ index,
609
+ optionItem,
610
+ innerIndex,
611
+ optionIndex,
612
+ options: item.options
613
+ })
583
614
  }, /*#__PURE__*/React__default["default"].createElement("span", {
584
615
  style: {
585
616
  marginRight: '10px'
586
617
  }
587
- }, item.icon), /*#__PURE__*/React__default["default"].createElement("span", {
618
+ }, optionItem.icon), /*#__PURE__*/React__default["default"].createElement("span", {
588
619
  style: {
589
620
  width: 'calc(100% - 36px)',
590
621
  textAlign: 'left',
@@ -592,23 +623,32 @@ const TD = ({
592
623
  whiteSpace: 'nowrap',
593
624
  textOverflow: 'ellipsis'
594
625
  },
595
- title: item.content
596
- }, item.content));
597
- }))) : ''), item.contentList && /*#__PURE__*/React__default["default"].createElement("div", {
626
+ title: optionItem.content
627
+ }, optionItem.content));
628
+ }))) : ''), Object.prototype.hasOwnProperty.call(item, 'contentList') && /*#__PURE__*/React__default["default"].createElement("div", {
598
629
  style: {
599
- overflow: 'hidden',
630
+ overflow: 'auto',
600
631
  marginTop: '10px',
632
+ maxHeight: '300px',
633
+ maxWidth: '100%',
601
634
  height: item.status === 'close' ? '0px' : 'auto'
602
635
  }
603
- }, item.contentList.map((innerItem, innerIndex) => {
636
+ }, item.contentList.map((innerItem, innerItemIndex) => {
604
637
  return /*#__PURE__*/React__default["default"].createElement("p", {
605
- key: `${innerItem}_${innerIndex}`,
638
+ key: `${innerItem}_${innerItemIndex}`,
606
639
  className: styles$c['list-text'],
607
640
  style: {
608
641
  color: openListColor
609
- }
610
- // TODO: add onClick
611
- }, innerItem);
642
+ },
643
+ onClick: e => handleContentListClick(e, {
644
+ item,
645
+ index,
646
+ innerIndex,
647
+ listContentId: innerItem.id,
648
+ listContent: innerItem.content,
649
+ listContentIndex: innerItemIndex
650
+ })
651
+ }, innerItem.content.length >= item.content.length ? innerItem.content.substr(0, item.content.length - 4) + '...' : innerItem.content);
612
652
  })))) : '');
613
653
  };
614
654
 
@@ -691,6 +731,30 @@ const Table = ({
691
731
  const [disableArr, setDisableArr] = React.useState([]);
692
732
  const [checkedArray, setCheckedArray] = React.useState([]);
693
733
  const configStyles = compereConfigs();
734
+ const handleCheckIfArrow = (bodyData, data) => {
735
+ let removeItemIndex;
736
+ let headerWithoutArrow = [];
737
+ bodyData.map((item, index) => {
738
+ if (index === data.index) {
739
+ item.map((innerItem, innerIndex) => {
740
+ if (Object.prototype.hasOwnProperty.call(innerItem, 'arrowComponent')) {
741
+ removeItemIndex = innerIndex;
742
+ }
743
+ });
744
+ if (removeItemIndex !== undefined) {
745
+ const firstPart = item.slice(0, removeItemIndex);
746
+ const secondPart = item.slice(removeItemIndex + 1, item.length);
747
+ headerWithoutArrow = [...firstPart, ...secondPart];
748
+ } else {
749
+ headerWithoutArrow.push(item);
750
+ }
751
+ }
752
+ });
753
+ return {
754
+ removeItemIndex,
755
+ headerWithoutArrow
756
+ };
757
+ };
694
758
  const handleHeaderItemClick = e => {
695
759
  e.stopPropagation();
696
760
  if (!e.target.tagName.startsWith('svg') && e.target.innerText !== undefined && e.target.innerText !== '') {
@@ -716,19 +780,22 @@ const Table = ({
716
780
  };
717
781
  const handleBodyActionClick = (e, data) => {
718
782
  e.stopPropagation();
719
- // const dataRow =
720
-
783
+ const {
784
+ removeItemIndex,
785
+ headerWithoutArrow
786
+ } = handleCheckIfArrow(body, data);
721
787
  const actionData = {
722
- row: '',
788
+ from: 'body',
723
789
  item: data.item,
724
790
  id: data.item.id,
725
791
  items: data.items,
726
792
  type: data.item.type,
727
793
  rowIndex: data.index,
728
- itemIndex: data.innerIndex,
729
- itemInnerIndex: data.itemIndex
794
+ row: headerWithoutArrow,
795
+ itemInnerIndex: data.itemIndex,
796
+ itemIndex: removeItemIndex !== undefined && removeItemIndex < data.innerIndex ? data.innerIndex - 1 : data.innerIndex
730
797
  };
731
- console.log(actionData);
798
+ getData(actionData);
732
799
  };
733
800
  const handleSetCheckboxArray = data => {
734
801
  let checkedItems = [];
@@ -809,7 +876,7 @@ const Table = ({
809
876
  const updatedHeader = header.slice();
810
877
  const updatedBody = body.slice().map(item => Object.values(item));
811
878
  const newData = updatedHeader.map((item, index) => {
812
- if (item.content === data.content) {
879
+ if (item.content == data.content) {
813
880
  checkableItemIndex = index;
814
881
  checkableItemBool = !item.checkBox.checked;
815
882
  item.checkBox.checked = !item.checkBox.checked;
@@ -854,12 +921,17 @@ const Table = ({
854
921
  setHeader(newData);
855
922
  setBody(newUpdatedBody);
856
923
  };
857
- const handleCheckedBody = (data, e) => {
924
+ const handleCheckedBody = (data, e, dataRowIndex, dataItemIndex) => {
858
925
  e.stopPropagation();
926
+ const transformedData = {
927
+ ...data
928
+ };
929
+ transformedData.index = dataRowIndex;
930
+ transformedData.innerIndex = dataItemIndex;
859
931
  const updatedBody = body.slice().map(item => Object.values(item));
860
932
  const newData = updatedBody.map((item, index) => {
861
933
  return item.map((innerItem, innerIndex) => {
862
- if (innerItem.id === data.id && innerItem.content === data.content && innerItem.checkBox) {
934
+ if (innerItem.id === data.id && innerItem.content == data.content && Object.prototype.hasOwnProperty.call(innerItem, 'checkBox')) {
863
935
  innerItem.checkBox.checked = !innerItem.checkBox.checked;
864
936
  handleHeaderCheckedUpdate({
865
937
  row: index,
@@ -870,6 +942,18 @@ const Table = ({
870
942
  return innerItem;
871
943
  });
872
944
  });
945
+ const {
946
+ removeItemIndex,
947
+ headerWithoutArrow
948
+ } = handleCheckIfArrow(body, transformedData);
949
+ const checkedData = {
950
+ item: data,
951
+ from: 'body',
952
+ row: removeItemIndex !== undefined ? headerWithoutArrow : headerWithoutArrow[0],
953
+ rowIndex: transformedData.index,
954
+ itemIndex: removeItemIndex !== undefined && removeItemIndex < transformedData.innerIndex ? transformedData.innerIndex - 1 : transformedData.innerIndex
955
+ };
956
+ getData(checkedData);
873
957
  setBody(newData);
874
958
  };
875
959
  const handleHeaderCheckedUpdate = checkedData => {
@@ -1015,6 +1099,41 @@ const Table = ({
1015
1099
  }
1016
1100
  return headerWithDisabled;
1017
1101
  };
1102
+ const handleContentListClick = (e, data) => {
1103
+ e.stopPropagation();
1104
+ const {
1105
+ removeItemIndex,
1106
+ headerWithoutArrow
1107
+ } = handleCheckIfArrow(body, data);
1108
+ const listData = {
1109
+ from: 'body',
1110
+ item: data.item,
1111
+ rowIndex: data.index,
1112
+ row: headerWithoutArrow,
1113
+ listItemId: data.listContentId,
1114
+ listItemContent: data.listContent,
1115
+ itemIndex: removeItemIndex !== undefined && removeItemIndex < data.innerIndex ? data.innerIndex - 1 : data.innerIndex,
1116
+ listItemInnerIndex: data.listContentIndex
1117
+ };
1118
+ getData(listData);
1119
+ };
1120
+ const handleMoreOptionsClick = data => {
1121
+ const {
1122
+ removeItemIndex,
1123
+ headerWithoutArrow
1124
+ } = handleCheckIfArrow(body, data);
1125
+ const moreData = {
1126
+ from: 'body',
1127
+ item: data.item,
1128
+ rowIndex: data.index,
1129
+ options: data.options,
1130
+ row: headerWithoutArrow,
1131
+ itemIndex: removeItemIndex !== undefined && removeItemIndex < data.innerIndex ? data.innerIndex - 1 : data.innerIndex,
1132
+ optionItem: data.optionItem,
1133
+ optionIndex: data.optionIndex
1134
+ };
1135
+ getData(moreData);
1136
+ };
1018
1137
  React.useEffect(() => {
1019
1138
  let checkedItems = [];
1020
1139
  const disabledArray = [];
@@ -1022,7 +1141,7 @@ const Table = ({
1022
1141
  if (arrowShow) {
1023
1142
  const arrowColumnCount = handleSetInsertIndex(checkBodyForChackedItems[0], arrowColumn);
1024
1143
  const checkForInsertArrow = handleTransformDataForInsertArrow(checkBodyForChackedItems, arrowColumnCount, 'body');
1025
- checkForInsertArrow.map((item, index) => {
1144
+ const insert = checkForInsertArrow.map((item, index) => {
1026
1145
  item.map((innerItem, innerIndex) => {
1027
1146
  if (Object.prototype.hasOwnProperty.call(innerItem, 'checkBox')) {
1028
1147
  if (Object.prototype.hasOwnProperty.call(innerItem.checkBox, 'disabled')) {
@@ -1037,12 +1156,12 @@ const Table = ({
1037
1156
  }
1038
1157
  }
1039
1158
  });
1159
+ return item;
1040
1160
  });
1041
- checkedItems = handleSetCheckboxArray(checkForInsertArrow);
1042
- setBody(() => checkForInsertArrow);
1161
+ checkedItems = handleSetCheckboxArray(insert);
1162
+ setBody(() => insert);
1043
1163
  } else {
1044
- checkedItems = handleSetCheckboxArray(checkBodyForChackedItems);
1045
- checkBodyForChackedItems.map((item, index) => {
1164
+ const insert = checkBodyForChackedItems.map((item, index) => {
1046
1165
  item.map((innerItem, innerIndex) => {
1047
1166
  if (Object.prototype.hasOwnProperty.call(innerItem, 'checkBox')) {
1048
1167
  if (Object.prototype.hasOwnProperty.call(innerItem.checkBox, 'disabled')) {
@@ -1057,8 +1176,10 @@ const Table = ({
1057
1176
  }
1058
1177
  }
1059
1178
  });
1179
+ return item;
1060
1180
  });
1061
- setBody(() => dataBody);
1181
+ checkedItems = handleSetCheckboxArray(insert);
1182
+ setBody(() => insert);
1062
1183
  }
1063
1184
  setDisableArr(disabledArray);
1064
1185
  setCheckedArray(() => checkedItems);
@@ -1120,6 +1241,8 @@ const Table = ({
1120
1241
  openListColor: openListColor ? openListColor : configStyles.TABLE.openListColor,
1121
1242
  handleCheckedBody: handleCheckedBody,
1122
1243
  handleBodyActionClick: handleBodyActionClick,
1244
+ handleMoreOptionsClick: handleMoreOptionsClick,
1245
+ handleContentListClick: handleContentListClick,
1123
1246
  tBodyColor: tBodyColor ? tBodyColor : configStyles.TABLE.tBodyColor,
1124
1247
  tBodyPadding: tBodyPadding ? tBodyPadding : configStyles.TABLE.tBodyPadding,
1125
1248
  tBodyFontSize: tBodyFontSize ? tBodyFontSize : configStyles.TABLE.tBodyFontSize,
@@ -3275,7 +3398,7 @@ for (let i = 0; i < 256; ++i) {
3275
3398
  function unsafeStringify(arr, offset = 0) {
3276
3399
  // Note: Be careful editing this code! It's been tuned for performance
3277
3400
  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
3278
- return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
3401
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
3279
3402
  }
3280
3403
 
3281
3404
  const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaypay/tui",
3
- "version": "0.0.110",
3
+ "version": "0.0.111",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -7,9 +7,11 @@ import ReactCheckboxChecked from '../icon/CheckboxChecked'
7
7
 
8
8
  const Checkbox = ({
9
9
  data,
10
+ index,
10
11
  styles,
11
12
  checked,
12
13
  disabled,
14
+ innerIndex,
13
15
  checkedColor,
14
16
  handleChecked,
15
17
  unCheckedColor,
@@ -21,7 +23,16 @@ const Checkbox = ({
21
23
  const [innerDisabled, setInnerDisabled] = useState(false)
22
24
 
23
25
  const handleClick = (e) => {
24
- handleChecked(data, e)
26
+ if (
27
+ index !== undefined &&
28
+ innerIndex !== undefined &&
29
+ typeof index === 'number' &&
30
+ typeof innerIndex === 'number'
31
+ ) {
32
+ handleChecked(data, e, index, innerIndex)
33
+ } else {
34
+ handleChecked(data, e)
35
+ }
25
36
  }
26
37
 
27
38
  useEffect(() => {
@@ -5,9 +5,11 @@ import Checkbox from './Checkbox'
5
5
 
6
6
  export const SingleCheckbox = ({
7
7
  data,
8
+ index,
8
9
  styles,
9
10
  checked,
10
11
  disabled,
12
+ innerIndex,
11
13
  checkedColor,
12
14
  handleChecked,
13
15
  unCheckedColor,
@@ -30,10 +32,12 @@ export const SingleCheckbox = ({
30
32
 
31
33
  return (
32
34
  <Checkbox
35
+ index={index}
33
36
  styles={styles}
34
37
  data={innerData}
35
38
  checked={checked}
36
39
  disabled={disabled}
40
+ innerIndex={innerIndex}
37
41
  checkedColor={checkedColor}
38
42
  handleChecked={handleChecked}
39
43
  unCheckedColor={unCheckedColor}
@@ -45,8 +49,10 @@ export const SingleCheckbox = ({
45
49
  SingleCheckbox.propTypes = {
46
50
  data: PropTypes.object,
47
51
  onClick: PropTypes.func,
52
+ index: PropTypes.number,
48
53
  styles: PropTypes.object,
49
54
  disabled: PropTypes.bool,
55
+ innerIndex: PropTypes.number,
50
56
  checkedColor: PropTypes.string,
51
57
  unCheckedColor: PropTypes.string,
52
58
  ignoreDisabledForChecked: PropTypes.bool,