@oliasoft-open-source/react-ui-library 3.1.11 → 3.1.13
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/global.css +60 -59
- package/dist/index.js +61 -46
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -18798,187 +18798,188 @@ html[data-theme='dark'] {
|
|
|
18798
18798
|
/*
|
|
18799
18799
|
Z-INDEX
|
|
18800
18800
|
*/
|
|
18801
|
-
.
|
|
18801
|
+
._inputInTable_16twm_326 {
|
|
18802
18802
|
background-color: transparent;
|
|
18803
18803
|
border-radius: inherit !important;
|
|
18804
18804
|
height: 38px;
|
|
18805
18805
|
min-height: 100%;
|
|
18806
18806
|
}
|
|
18807
|
-
.
|
|
18808
|
-
.
|
|
18807
|
+
._inputInTable_16twm_326:hover,
|
|
18808
|
+
._inputInTable_16twm_326:focus {
|
|
18809
18809
|
position: relative;
|
|
18810
18810
|
}
|
|
18811
|
-
.
|
|
18811
|
+
._inputInTable_16twm_326:hover {
|
|
18812
18812
|
z-index: 2;
|
|
18813
18813
|
}
|
|
18814
|
-
.
|
|
18814
|
+
._inputInTable_16twm_326:focus {
|
|
18815
18815
|
z-index: 3;
|
|
18816
18816
|
}
|
|
18817
|
-
.
|
|
18817
|
+
._inputFocus_16twm_342 {
|
|
18818
18818
|
outline: none !important;
|
|
18819
18819
|
border: 1px solid var(--color-border-focus) !important;
|
|
18820
18820
|
box-shadow: var(--shadow-focus);
|
|
18821
18821
|
}
|
|
18822
|
-
.
|
|
18823
|
-
.
|
|
18822
|
+
._inputError_16twm_347,
|
|
18823
|
+
._inputWarning_16twm_348 {
|
|
18824
18824
|
position: relative;
|
|
18825
18825
|
}
|
|
18826
|
-
.
|
|
18826
|
+
._inputError_16twm_347 {
|
|
18827
18827
|
z-index: 2;
|
|
18828
18828
|
border-color: var(--color-border-error) !important;
|
|
18829
18829
|
color: var(--color-text-error) !important;
|
|
18830
18830
|
background-color: var(--color-background-error);
|
|
18831
18831
|
}
|
|
18832
|
-
.
|
|
18832
|
+
._inputError_16twm_347:hover {
|
|
18833
18833
|
border-color: var(--color-border-error-hover) !important;
|
|
18834
18834
|
}
|
|
18835
|
-
.
|
|
18835
|
+
._inputError_16twm_347:focus {
|
|
18836
18836
|
outline: none !important;
|
|
18837
18837
|
border: 1px solid var(--color-border-focus) !important;
|
|
18838
18838
|
box-shadow: var(--shadow-focus);
|
|
18839
18839
|
}
|
|
18840
|
-
.
|
|
18840
|
+
._inputWarning_16twm_348 {
|
|
18841
18841
|
z-index: 1;
|
|
18842
18842
|
border-color: var(--color-border-warning) !important;
|
|
18843
18843
|
color: var(--color-text-warning) !important;
|
|
18844
18844
|
background-color: var(--color-background-warning);
|
|
18845
18845
|
}
|
|
18846
|
-
.
|
|
18846
|
+
._inputWarning_16twm_348:hover {
|
|
18847
18847
|
border-color: var(--color-border-warning-hover) !important;
|
|
18848
18848
|
}
|
|
18849
|
-
.
|
|
18849
|
+
._inputWarning_16twm_348:focus {
|
|
18850
18850
|
outline: none !important;
|
|
18851
18851
|
border: 1px solid var(--color-border-focus) !important;
|
|
18852
18852
|
box-shadow: var(--shadow-focus);
|
|
18853
18853
|
}
|
|
18854
|
-
.
|
|
18854
|
+
._inputDisabled_16twm_379 {
|
|
18855
18855
|
pointer-events: none;
|
|
18856
18856
|
background-color: var(--color-background-disabled);
|
|
18857
18857
|
color: var(--color-text-muted);
|
|
18858
18858
|
}
|
|
18859
|
-
.
|
|
18859
|
+
._hideScrollbars_16twm_384 {
|
|
18860
18860
|
/* Firefox */
|
|
18861
18861
|
scrollbar-width: none;
|
|
18862
18862
|
/* IE 10+ */
|
|
18863
18863
|
-ms-overflow-style: none;
|
|
18864
18864
|
/* Chrome, Safari and Opera */
|
|
18865
18865
|
}
|
|
18866
|
-
.
|
|
18866
|
+
._hideScrollbars_16twm_384::-webkit-scrollbar {
|
|
18867
18867
|
display: none;
|
|
18868
18868
|
}
|
|
18869
|
-
.
|
|
18869
|
+
._cellWrapperPadding_16twm_394 {
|
|
18870
18870
|
padding: 9.5px 14px !important;
|
|
18871
18871
|
}
|
|
18872
|
-
.
|
|
18872
|
+
._flexBlock_16twm_397 {
|
|
18873
18873
|
display: flex;
|
|
18874
18874
|
align-items: center;
|
|
18875
18875
|
justify-content: space-between;
|
|
18876
18876
|
}
|
|
18877
|
-
.
|
|
18877
|
+
._cellWrapper_16twm_394 {
|
|
18878
18878
|
padding: 9.5px 14px !important;
|
|
18879
18879
|
}
|
|
18880
|
-
.
|
|
18880
|
+
._cellWrapper_16twm_394 a {
|
|
18881
|
+
cursor: pointer;
|
|
18881
18882
|
color: var(--color-text-primary) !important;
|
|
18882
18883
|
}
|
|
18883
|
-
.
|
|
18884
|
+
._cellWrapper_16twm_394 a:hover {
|
|
18884
18885
|
color: var(--color-text-primary-hover) !important;
|
|
18885
18886
|
}
|
|
18886
|
-
.
|
|
18887
|
+
._cellWrapper_16twm_394 a:active {
|
|
18887
18888
|
color: var(--color-text-primary-active) !important;
|
|
18888
18889
|
}
|
|
18889
|
-
.
|
|
18890
|
+
._cellWrapper_16twm_394 a._disabledLink_16twm_415 {
|
|
18890
18891
|
color: var(--color-text-faint) !important;
|
|
18891
18892
|
cursor: default !important;
|
|
18892
18893
|
}
|
|
18893
|
-
.
|
|
18894
|
+
._inputWrapper_16twm_419 {
|
|
18894
18895
|
margin: -1px;
|
|
18895
18896
|
height: calc(100% + 2px);
|
|
18896
18897
|
border-radius: inherit;
|
|
18897
18898
|
}
|
|
18898
|
-
.
|
|
18899
|
-
.
|
|
18900
|
-
.
|
|
18899
|
+
._inputWrapper_16twm_419 > span,
|
|
18900
|
+
._inputWrapper_16twm_419 > span > span,
|
|
18901
|
+
._inputWrapper_16twm_419 > span > span > div {
|
|
18901
18902
|
height: 100%;
|
|
18902
18903
|
border-radius: inherit;
|
|
18903
18904
|
}
|
|
18904
|
-
.
|
|
18905
|
-
.
|
|
18905
|
+
._inputWrapper_16twm_419 > div,
|
|
18906
|
+
._inputWrapper_16twm_419 > div > span {
|
|
18906
18907
|
height: 100%;
|
|
18907
18908
|
border-radius: inherit;
|
|
18908
18909
|
}
|
|
18909
|
-
.
|
|
18910
|
+
._breakWord_16twm_435 {
|
|
18910
18911
|
word-break: break-word;
|
|
18911
18912
|
}
|
|
18912
|
-
.
|
|
18913
|
+
._inputCell_16twm_438 {
|
|
18913
18914
|
padding: 0 !important;
|
|
18914
18915
|
}
|
|
18915
|
-
.
|
|
18916
|
+
._sliderCell_16twm_441 {
|
|
18916
18917
|
padding-top: 0 !important;
|
|
18917
18918
|
padding-bottom: 0 !important;
|
|
18918
18919
|
}
|
|
18919
|
-
.
|
|
18920
|
+
._staticCell_16twm_445 {
|
|
18920
18921
|
padding: 0 !important;
|
|
18921
18922
|
}
|
|
18922
|
-
.
|
|
18923
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448 {
|
|
18923
18924
|
min-height: 100%;
|
|
18924
18925
|
padding: 9.5px 14px !important;
|
|
18925
18926
|
line-height: 17px;
|
|
18926
18927
|
position: relative;
|
|
18927
18928
|
border-radius: inherit;
|
|
18928
18929
|
}
|
|
18929
|
-
.
|
|
18930
|
-
.
|
|
18930
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._error_16twm_455,
|
|
18931
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._warning_16twm_456 {
|
|
18931
18932
|
border: 1px solid transparent;
|
|
18932
18933
|
}
|
|
18933
|
-
.
|
|
18934
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._error_16twm_455 {
|
|
18934
18935
|
position: relative;
|
|
18935
18936
|
z-index: 2;
|
|
18936
18937
|
border-color: var(--color-border-error) !important;
|
|
18937
18938
|
color: var(--color-text-error) !important;
|
|
18938
18939
|
background-color: var(--color-background-error);
|
|
18939
18940
|
}
|
|
18940
|
-
.
|
|
18941
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._error_16twm_455:hover {
|
|
18941
18942
|
border-color: var(--color-border-error-hover) !important;
|
|
18942
18943
|
}
|
|
18943
|
-
.
|
|
18944
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._error_16twm_455:focus {
|
|
18944
18945
|
outline: none !important;
|
|
18945
18946
|
border: 1px solid var(--color-border-focus) !important;
|
|
18946
18947
|
box-shadow: var(--shadow-focus);
|
|
18947
18948
|
}
|
|
18948
|
-
.
|
|
18949
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._warning_16twm_456 {
|
|
18949
18950
|
position: relative;
|
|
18950
18951
|
z-index: 1;
|
|
18951
18952
|
border-color: var(--color-border-warning) !important;
|
|
18952
18953
|
color: var(--color-text-warning) !important;
|
|
18953
18954
|
background-color: var(--color-background-warning);
|
|
18954
18955
|
}
|
|
18955
|
-
.
|
|
18956
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._warning_16twm_456:hover {
|
|
18956
18957
|
border-color: var(--color-border-warning-hover) !important;
|
|
18957
18958
|
}
|
|
18958
|
-
.
|
|
18959
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._warning_16twm_456:focus {
|
|
18959
18960
|
outline: none !important;
|
|
18960
18961
|
border: 1px solid var(--color-border-focus) !important;
|
|
18961
18962
|
box-shadow: var(--shadow-focus);
|
|
18962
18963
|
}
|
|
18963
|
-
.
|
|
18964
|
+
._staticCell_16twm_445 ._staticCellContent_16twm_448._unit_16twm_489 {
|
|
18964
18965
|
font-weight: normal;
|
|
18965
18966
|
}
|
|
18966
|
-
.
|
|
18967
|
+
._sortingCell_16twm_492 ._staticCellContent_16twm_448 {
|
|
18967
18968
|
position: relative;
|
|
18968
18969
|
padding-right: 45px !important;
|
|
18969
18970
|
cursor: pointer !important;
|
|
18970
18971
|
}
|
|
18971
|
-
.
|
|
18972
|
+
._sortingCell_16twm_492 ._staticCellContent_16twm_448:hover {
|
|
18972
18973
|
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
18973
18974
|
}
|
|
18974
|
-
.
|
|
18975
|
+
._sortingCell_16twm_492 ._sortingCellIcon_16twm_500 {
|
|
18975
18976
|
font-size: 20px;
|
|
18976
18977
|
position: absolute;
|
|
18977
18978
|
right: 10px;
|
|
18978
18979
|
top: 50%;
|
|
18979
18980
|
transform: translateY(-50%);
|
|
18980
18981
|
}
|
|
18981
|
-
.
|
|
18982
|
+
._icon_16twm_507 {
|
|
18982
18983
|
display: inline-block;
|
|
18983
18984
|
margin-left: 8px;
|
|
18984
18985
|
position: relative;
|
|
@@ -18986,43 +18987,43 @@ html[data-theme='dark'] {
|
|
|
18986
18987
|
font-size: 13px;
|
|
18987
18988
|
color: var(--color-text-faint);
|
|
18988
18989
|
}
|
|
18989
|
-
.
|
|
18990
|
+
._icon_16twm_507:hover {
|
|
18990
18991
|
color: var(--color-text-muted);
|
|
18991
18992
|
}
|
|
18992
|
-
.
|
|
18993
|
+
._icon_16twm_507._clickable_16twm_518:hover {
|
|
18993
18994
|
cursor: pointer;
|
|
18994
18995
|
color: var(--color-text-primary-hover);
|
|
18995
18996
|
}
|
|
18996
|
-
.
|
|
18997
|
+
._checkBoxCell_16twm_522 {
|
|
18997
18998
|
padding-top: 0 !important;
|
|
18998
18999
|
padding-bottom: 0 !important;
|
|
18999
19000
|
}
|
|
19000
|
-
.
|
|
19001
|
+
._iconCell_16twm_526 {
|
|
19001
19002
|
width: 37px;
|
|
19002
19003
|
text-align: center;
|
|
19003
19004
|
padding: 0 !important;
|
|
19004
19005
|
}
|
|
19005
|
-
.
|
|
19006
|
+
._iconCell_16twm_526 ._iconWrapper_16twm_531 {
|
|
19006
19007
|
display: flex;
|
|
19007
19008
|
justify-content: center;
|
|
19008
19009
|
}
|
|
19009
|
-
.
|
|
19010
|
+
._actionsCell_16twm_535 {
|
|
19010
19011
|
width: 24px;
|
|
19011
19012
|
padding: 0 6px !important;
|
|
19012
19013
|
}
|
|
19013
|
-
.
|
|
19014
|
+
._rightAligned_16twm_539 {
|
|
19014
19015
|
text-align: right !important;
|
|
19015
19016
|
}
|
|
19016
|
-
.
|
|
19017
|
+
._centerAligned_16twm_542 {
|
|
19017
19018
|
text-align: center !important;
|
|
19018
19019
|
}
|
|
19019
|
-
.
|
|
19020
|
+
._leftAligned_16twm_545 {
|
|
19020
19021
|
text-align: left !important;
|
|
19021
19022
|
}
|
|
19022
|
-
.
|
|
19023
|
+
._popover_16twm_548 {
|
|
19023
19024
|
padding: 9.5px 14px;
|
|
19024
19025
|
}
|
|
19025
|
-
.
|
|
19026
|
+
._disabledPointerEvents_16twm_551 {
|
|
19026
19027
|
pointer-events: none;
|
|
19027
19028
|
}
|
|
19028
19029
|
/*
|
package/dist/index.js
CHANGED
|
@@ -9892,7 +9892,8 @@ const Layer$2 = ({
|
|
|
9892
9892
|
tree: tree2,
|
|
9893
9893
|
path,
|
|
9894
9894
|
maxHeight: maxHeight2,
|
|
9895
|
-
showAllButton
|
|
9895
|
+
showAllButton,
|
|
9896
|
+
testId
|
|
9896
9897
|
}) => {
|
|
9897
9898
|
var _a, _b;
|
|
9898
9899
|
if (isValidElement(sections)) {
|
|
@@ -9932,6 +9933,7 @@ const Layer$2 = ({
|
|
|
9932
9933
|
maxHeight: maxHeight2 || "auto",
|
|
9933
9934
|
overflowY: maxHeight2 ? "auto" : "default"
|
|
9934
9935
|
},
|
|
9936
|
+
"data-testid": testId,
|
|
9935
9937
|
children: /* @__PURE__ */ jsx("ul", {
|
|
9936
9938
|
children: localSections.map((section, i) => /* @__PURE__ */ jsx("li", {
|
|
9937
9939
|
children: /* @__PURE__ */ jsx(Section$1, {
|
|
@@ -10405,7 +10407,8 @@ const useContextMenu = (sections, width, placement, possiblePlacements, closeOnO
|
|
|
10405
10407
|
tree: tree2,
|
|
10406
10408
|
path,
|
|
10407
10409
|
groupOrder,
|
|
10408
|
-
maxHeight: maxHeight2
|
|
10410
|
+
maxHeight: maxHeight2,
|
|
10411
|
+
testId: testId && `${testId}-layer`
|
|
10409
10412
|
})
|
|
10410
10413
|
}));
|
|
10411
10414
|
return [layer2, handleMouseEvent];
|
|
@@ -10553,7 +10556,8 @@ const DropDownMenu = ({
|
|
|
10553
10556
|
path,
|
|
10554
10557
|
groupOrder,
|
|
10555
10558
|
maxHeight: maxHeight2,
|
|
10556
|
-
showAllButton
|
|
10559
|
+
showAllButton,
|
|
10560
|
+
testId: testId && `${testId}-layer`
|
|
10557
10561
|
})
|
|
10558
10562
|
}))]
|
|
10559
10563
|
});
|
|
@@ -26804,7 +26808,8 @@ const Layer = ({
|
|
|
26804
26808
|
focusedOptionIndex,
|
|
26805
26809
|
width,
|
|
26806
26810
|
firstSelectedOptionIndex,
|
|
26807
|
-
closeLayer
|
|
26811
|
+
closeLayer,
|
|
26812
|
+
testId
|
|
26808
26813
|
}) => {
|
|
26809
26814
|
useEffect(() => {
|
|
26810
26815
|
if (firstSelectedOptionIndex !== null && listRef.current !== null) {
|
|
@@ -26813,6 +26818,7 @@ const Layer = ({
|
|
|
26813
26818
|
}, []);
|
|
26814
26819
|
const optionHeight = 38;
|
|
26815
26820
|
return /* @__PURE__ */ jsx("div", {
|
|
26821
|
+
"data-testid": testId,
|
|
26816
26822
|
className: cx(styles$k.layer),
|
|
26817
26823
|
children: !sections.length ? /* @__PURE__ */ jsx("ul", {
|
|
26818
26824
|
children: /* @__PURE__ */ jsx("li", {
|
|
@@ -26842,7 +26848,8 @@ const Layer = ({
|
|
|
26842
26848
|
focused: focusedOptionIndex === index2,
|
|
26843
26849
|
onSelectOption: (evt) => {
|
|
26844
26850
|
onSelectOption(evt, sections[index2]);
|
|
26845
|
-
}
|
|
26851
|
+
},
|
|
26852
|
+
testId: testId && (sections[index2].description ? `${testId}-${sections[index2].description}` : `${testId}-${sections[index2].label}`)
|
|
26846
26853
|
})
|
|
26847
26854
|
})
|
|
26848
26855
|
})
|
|
@@ -27511,7 +27518,8 @@ const CustomSelect = ({
|
|
|
27511
27518
|
triggerRect: triggerBounds,
|
|
27512
27519
|
width: `max(${layerWidth}, ${triggerBounds.width}px)`,
|
|
27513
27520
|
focusedOptionIndex: state.layerFocus.current,
|
|
27514
|
-
firstSelectedOptionIndex
|
|
27521
|
+
firstSelectedOptionIndex,
|
|
27522
|
+
testId: testId && `${testId}-layer`
|
|
27515
27523
|
})
|
|
27516
27524
|
}))]
|
|
27517
27525
|
});
|
|
@@ -34947,38 +34955,38 @@ function CgSortAz(props) {
|
|
|
34947
34955
|
function CgSortZa(props) {
|
|
34948
34956
|
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none" }, "child": [{ "tag": "path", "attr": { "d": "M6 16C6 16.5523 6.44772 17 7 17H17C17.5523 17 18 16.5523 18 16C18 15.4477 17.5523 15 17 15H7C6.44772 15 6 15.4477 6 16Z", "fill": "currentColor" } }, { "tag": "path", "attr": { "d": "M8 12C8 12.5523 8.44772 13 9 13H15C15.5523 13 16 12.5523 16 12C16 11.4477 15.5523 11 15 11H9C8.44772 11 8 11.4477 8 12Z", "fill": "currentColor" } }, { "tag": "path", "attr": { "d": "M11 9C10.4477 9 10 8.55229 10 8C10 7.44771 10.4477 7 11 7H13C13.5523 7 14 7.44771 14 8C14 8.55229 13.5523 9 13 9H11Z", "fill": "currentColor" } }] })(props);
|
|
34949
34957
|
}
|
|
34950
|
-
const inputInTable$1 = "
|
|
34951
|
-
const inputFocus$1 = "
|
|
34952
|
-
const inputError$1 = "
|
|
34953
|
-
const inputWarning$1 = "
|
|
34954
|
-
const inputDisabled$1 = "
|
|
34955
|
-
const hideScrollbars$1 = "
|
|
34956
|
-
const cellWrapperPadding = "
|
|
34957
|
-
const flexBlock = "
|
|
34958
|
-
const cellWrapper = "
|
|
34959
|
-
const disabledLink = "
|
|
34960
|
-
const inputWrapper = "
|
|
34961
|
-
const breakWord = "
|
|
34962
|
-
const inputCell = "
|
|
34963
|
-
const sliderCell = "
|
|
34964
|
-
const staticCell = "
|
|
34965
|
-
const staticCellContent = "
|
|
34966
|
-
const error$1 = "
|
|
34967
|
-
const warning$1 = "
|
|
34968
|
-
const unit = "
|
|
34969
|
-
const sortingCell = "
|
|
34970
|
-
const sortingCellIcon = "
|
|
34971
|
-
const icon = "
|
|
34972
|
-
const clickable = "
|
|
34973
|
-
const checkBoxCell = "
|
|
34974
|
-
const iconCell = "
|
|
34975
|
-
const iconWrapper = "
|
|
34976
|
-
const actionsCell = "
|
|
34977
|
-
const rightAligned = "
|
|
34978
|
-
const centerAligned = "
|
|
34979
|
-
const leftAligned = "
|
|
34980
|
-
const popover = "
|
|
34981
|
-
const disabledPointerEvents = "
|
|
34958
|
+
const inputInTable$1 = "_inputInTable_16twm_326";
|
|
34959
|
+
const inputFocus$1 = "_inputFocus_16twm_342";
|
|
34960
|
+
const inputError$1 = "_inputError_16twm_347";
|
|
34961
|
+
const inputWarning$1 = "_inputWarning_16twm_348";
|
|
34962
|
+
const inputDisabled$1 = "_inputDisabled_16twm_379";
|
|
34963
|
+
const hideScrollbars$1 = "_hideScrollbars_16twm_384";
|
|
34964
|
+
const cellWrapperPadding = "_cellWrapperPadding_16twm_394";
|
|
34965
|
+
const flexBlock = "_flexBlock_16twm_397";
|
|
34966
|
+
const cellWrapper = "_cellWrapper_16twm_394";
|
|
34967
|
+
const disabledLink = "_disabledLink_16twm_415";
|
|
34968
|
+
const inputWrapper = "_inputWrapper_16twm_419";
|
|
34969
|
+
const breakWord = "_breakWord_16twm_435";
|
|
34970
|
+
const inputCell = "_inputCell_16twm_438";
|
|
34971
|
+
const sliderCell = "_sliderCell_16twm_441";
|
|
34972
|
+
const staticCell = "_staticCell_16twm_445";
|
|
34973
|
+
const staticCellContent = "_staticCellContent_16twm_448";
|
|
34974
|
+
const error$1 = "_error_16twm_455";
|
|
34975
|
+
const warning$1 = "_warning_16twm_456";
|
|
34976
|
+
const unit = "_unit_16twm_489";
|
|
34977
|
+
const sortingCell = "_sortingCell_16twm_492";
|
|
34978
|
+
const sortingCellIcon = "_sortingCellIcon_16twm_500";
|
|
34979
|
+
const icon = "_icon_16twm_507";
|
|
34980
|
+
const clickable = "_clickable_16twm_518";
|
|
34981
|
+
const checkBoxCell = "_checkBoxCell_16twm_522";
|
|
34982
|
+
const iconCell = "_iconCell_16twm_526";
|
|
34983
|
+
const iconWrapper = "_iconWrapper_16twm_531";
|
|
34984
|
+
const actionsCell = "_actionsCell_16twm_535";
|
|
34985
|
+
const rightAligned = "_rightAligned_16twm_539";
|
|
34986
|
+
const centerAligned = "_centerAligned_16twm_542";
|
|
34987
|
+
const leftAligned = "_leftAligned_16twm_545";
|
|
34988
|
+
const popover = "_popover_16twm_548";
|
|
34989
|
+
const disabledPointerEvents = "_disabledPointerEvents_16twm_551";
|
|
34982
34990
|
const styles$7 = {
|
|
34983
34991
|
inputInTable: inputInTable$1,
|
|
34984
34992
|
inputFocus: inputFocus$1,
|
|
@@ -35616,7 +35624,8 @@ const Row = (props) => {
|
|
|
35616
35624
|
provided,
|
|
35617
35625
|
snapshot,
|
|
35618
35626
|
draggableTable,
|
|
35619
|
-
width
|
|
35627
|
+
width,
|
|
35628
|
+
testId
|
|
35620
35629
|
} = props;
|
|
35621
35630
|
const targetRef = useRef();
|
|
35622
35631
|
const columnHeaderAlignment = getHeaderAlignment(columnHeaderAlignments, isHeader, rowIndex);
|
|
@@ -35652,7 +35661,7 @@ const Row = (props) => {
|
|
|
35652
35661
|
columnHeaderAlignment: columnHeaderAlignment[i],
|
|
35653
35662
|
width: columnWidths ? columnWidths[i] : void 0,
|
|
35654
35663
|
snapshot,
|
|
35655
|
-
testId: c.testId
|
|
35664
|
+
testId: testId ? `${testId}-${i}` : c.testId
|
|
35656
35665
|
}, key);
|
|
35657
35666
|
});
|
|
35658
35667
|
const rowActions = hasRowActions2 && /* @__PURE__ */ jsx(Cell, {
|
|
@@ -35755,7 +35764,8 @@ Row.defaultProps = {
|
|
|
35755
35764
|
columnHeaderAlignments: [],
|
|
35756
35765
|
draggableTable: false,
|
|
35757
35766
|
snapshot: null,
|
|
35758
|
-
provided: null
|
|
35767
|
+
provided: null,
|
|
35768
|
+
testId: void 0
|
|
35759
35769
|
};
|
|
35760
35770
|
Row.propTypes = {
|
|
35761
35771
|
row: rowShape.isRequired,
|
|
@@ -35768,7 +35778,8 @@ Row.propTypes = {
|
|
|
35768
35778
|
hasRowActions: propTypes$1.exports.bool.isRequired,
|
|
35769
35779
|
draggableTable: propTypes$1.exports.bool,
|
|
35770
35780
|
snapshot: propTypes$1.exports.object,
|
|
35771
|
-
provided: propTypes$1.exports.object
|
|
35781
|
+
provided: propTypes$1.exports.object,
|
|
35782
|
+
testId: propTypes$1.exports.string
|
|
35772
35783
|
};
|
|
35773
35784
|
const getMaxCellCount = (rows) => {
|
|
35774
35785
|
const count2 = Math.max(
|
|
@@ -35916,7 +35927,8 @@ const Table = (props) => {
|
|
|
35916
35927
|
columnHeaderAlignments,
|
|
35917
35928
|
rowsMetaData: stickyHeaders ? rowsMetaData : void 0,
|
|
35918
35929
|
setRowsMetaData: stickyHeaders ? setRowsMetaData : void 0,
|
|
35919
|
-
draggableTable: draggable2
|
|
35930
|
+
draggableTable: draggable2,
|
|
35931
|
+
testId: testId && `${testId}-${rowIndex}`
|
|
35920
35932
|
}, `0_${rowIndex}`);
|
|
35921
35933
|
})]
|
|
35922
35934
|
}), /* @__PURE__ */ jsxs("tbody", {
|
|
@@ -35935,7 +35947,8 @@ const Table = (props) => {
|
|
|
35935
35947
|
provided: provided2,
|
|
35936
35948
|
snapshot,
|
|
35937
35949
|
draggableTable: draggable2,
|
|
35938
|
-
width: dimensions.width
|
|
35950
|
+
width: dimensions.width,
|
|
35951
|
+
testId: testId && `${testId}-${rowIndex + 1}`
|
|
35939
35952
|
}, `1_${rowIndex}`)
|
|
35940
35953
|
}, `index_${rowIndex}`)), provided.placeholder]
|
|
35941
35954
|
}), footer2 && /* @__PURE__ */ jsx(Footer, {
|
|
@@ -35978,7 +35991,8 @@ const Table = (props) => {
|
|
|
35978
35991
|
columnAlignment,
|
|
35979
35992
|
columnHeaderAlignments,
|
|
35980
35993
|
rowsMetaData: stickyHeaders ? rowsMetaData : void 0,
|
|
35981
|
-
setRowsMetaData: stickyHeaders ? setRowsMetaData : void 0
|
|
35994
|
+
setRowsMetaData: stickyHeaders ? setRowsMetaData : void 0,
|
|
35995
|
+
testId: testId && `${testId}-${rowIndex}`
|
|
35982
35996
|
}, `0_${rowIndex}`);
|
|
35983
35997
|
})]
|
|
35984
35998
|
}), /* @__PURE__ */ jsx("tbody", {
|
|
@@ -35989,7 +36003,8 @@ const Table = (props) => {
|
|
|
35989
36003
|
columnWidths,
|
|
35990
36004
|
colSpan,
|
|
35991
36005
|
hasRowActions: rowActions,
|
|
35992
|
-
columnAlignment
|
|
36006
|
+
columnAlignment,
|
|
36007
|
+
testId: testId && `${testId}-${rowIndex + 1}`
|
|
35993
36008
|
}, `1_${rowIndex}`))
|
|
35994
36009
|
}), footer2 && /* @__PURE__ */ jsx(Footer, {
|
|
35995
36010
|
colSpan,
|