@oliasoft-open-source/react-ui-library 3.11.0-beta-5 → 3.11.0-beta-7
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 +125 -147
- package/dist/index.js +140 -148
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10836,12 +10836,12 @@ const DeprecatedIcon = ({ icon: icon2 }) => {
|
|
|
10836
10836
|
return /* @__PURE__ */ jsxRuntime.exports.jsx(FaRegCircle, {});
|
|
10837
10837
|
}
|
|
10838
10838
|
};
|
|
10839
|
-
const wrapper$
|
|
10839
|
+
const wrapper$5 = "_wrapper_92fr1_337";
|
|
10840
10840
|
const customSvg = "_customSvg_92fr1_344";
|
|
10841
10841
|
const customPng = "_customPng_92fr1_347";
|
|
10842
10842
|
const clickable = "_clickable_92fr1_352";
|
|
10843
10843
|
const styles$N = {
|
|
10844
|
-
wrapper: wrapper$
|
|
10844
|
+
wrapper: wrapper$5,
|
|
10845
10845
|
customSvg,
|
|
10846
10846
|
customPng,
|
|
10847
10847
|
clickable
|
|
@@ -10894,7 +10894,7 @@ Icon.propTypes = {
|
|
|
10894
10894
|
clickable: propTypes$1.exports.bool,
|
|
10895
10895
|
testId: propTypes$1.exports.string
|
|
10896
10896
|
};
|
|
10897
|
-
const wrapper$
|
|
10897
|
+
const wrapper$4 = "_wrapper_1vofz_337";
|
|
10898
10898
|
const layer$1 = "_layer_1vofz_341";
|
|
10899
10899
|
const layerContainer$1 = "_layerContainer_1vofz_344";
|
|
10900
10900
|
const nested = "_nested_1vofz_359";
|
|
@@ -10923,7 +10923,7 @@ const component = "_component_1vofz_523";
|
|
|
10923
10923
|
const right$7 = "_right_1vofz_529";
|
|
10924
10924
|
const actions$2 = "_actions_1vofz_534";
|
|
10925
10925
|
const styles$M = {
|
|
10926
|
-
wrapper: wrapper$
|
|
10926
|
+
wrapper: wrapper$4,
|
|
10927
10927
|
layer: layer$1,
|
|
10928
10928
|
layerContainer: layerContainer$1,
|
|
10929
10929
|
nested,
|
|
@@ -11172,7 +11172,7 @@ const placementOptions$1 = (placement, isNested = false) => ({
|
|
|
11172
11172
|
preferY: "bottom",
|
|
11173
11173
|
placement: placement || (isNested ? "right-start" : "bottom-start")
|
|
11174
11174
|
});
|
|
11175
|
-
const wrapper$
|
|
11175
|
+
const wrapper$3 = "_wrapper_b1kj7_337";
|
|
11176
11176
|
const badge = "_badge_b1kj7_341";
|
|
11177
11177
|
const label$9 = "_label_b1kj7_346";
|
|
11178
11178
|
const dark$1 = "_dark_b1kj7_358";
|
|
@@ -11181,7 +11181,7 @@ const small$d = "_small_b1kj7_364";
|
|
|
11181
11181
|
const dot = "_dot_b1kj7_370";
|
|
11182
11182
|
const hasChildren = "_hasChildren_b1kj7_375";
|
|
11183
11183
|
const styles$L = {
|
|
11184
|
-
wrapper: wrapper$
|
|
11184
|
+
wrapper: wrapper$3,
|
|
11185
11185
|
badge,
|
|
11186
11186
|
label: label$9,
|
|
11187
11187
|
dark: dark$1,
|
|
@@ -13802,7 +13802,7 @@ Heading$2.propTypes = {
|
|
|
13802
13802
|
};
|
|
13803
13803
|
const dialog = "_dialog_11kaj_1";
|
|
13804
13804
|
const inline$3 = "_inline_11kaj_19";
|
|
13805
|
-
const scroll$
|
|
13805
|
+
const scroll$3 = "_scroll_11kaj_22";
|
|
13806
13806
|
const header$2 = "_header_11kaj_25";
|
|
13807
13807
|
const dismiss$2 = "_dismiss_11kaj_33";
|
|
13808
13808
|
const content$3 = "_content_11kaj_44";
|
|
@@ -13810,7 +13810,7 @@ const footer$2 = "_footer_11kaj_53";
|
|
|
13810
13810
|
const styles$C = {
|
|
13811
13811
|
dialog,
|
|
13812
13812
|
inline: inline$3,
|
|
13813
|
-
scroll: scroll$
|
|
13813
|
+
scroll: scroll$3,
|
|
13814
13814
|
header: header$2,
|
|
13815
13815
|
dismiss: dismiss$2,
|
|
13816
13816
|
content: content$3,
|
|
@@ -18868,7 +18868,7 @@ var noSpacing = {
|
|
|
18868
18868
|
bottom: 0,
|
|
18869
18869
|
left: 0
|
|
18870
18870
|
};
|
|
18871
|
-
var scroll$
|
|
18871
|
+
var scroll$2 = function scroll(target, frame2) {
|
|
18872
18872
|
if (!frame2) {
|
|
18873
18873
|
return target;
|
|
18874
18874
|
}
|
|
@@ -18889,7 +18889,7 @@ var clip = function clip2(target, frame2) {
|
|
|
18889
18889
|
};
|
|
18890
18890
|
var getSubject = function(_ref) {
|
|
18891
18891
|
var page2 = _ref.page, withPlaceholder = _ref.withPlaceholder, axis = _ref.axis, frame2 = _ref.frame;
|
|
18892
|
-
var scrolled = scroll$
|
|
18892
|
+
var scrolled = scroll$2(page2.marginBox, frame2);
|
|
18893
18893
|
var increased = increase(scrolled, axis, withPlaceholder);
|
|
18894
18894
|
var clipped = clip(increased, frame2);
|
|
18895
18895
|
return {
|
|
@@ -26844,12 +26844,12 @@ const Portal = ({ id: id2, children }) => {
|
|
|
26844
26844
|
Portal.propTypes = {
|
|
26845
26845
|
id: propTypes$1.exports.string.isRequired
|
|
26846
26846
|
};
|
|
26847
|
-
const wrapper$
|
|
26847
|
+
const wrapper$2 = "_wrapper_mama7_337";
|
|
26848
26848
|
const contentContainer = "_contentContainer_mama7_351";
|
|
26849
26849
|
const centered = "_centered_mama7_363";
|
|
26850
26850
|
const newLine = "_newLine_mama7_367";
|
|
26851
26851
|
const styles$q = {
|
|
26852
|
-
wrapper: wrapper$
|
|
26852
|
+
wrapper: wrapper$2,
|
|
26853
26853
|
contentContainer,
|
|
26854
26854
|
centered,
|
|
26855
26855
|
newLine
|
|
@@ -27041,10 +27041,10 @@ OptionDropdown.propTypes = {
|
|
|
27041
27041
|
maxHeight: propTypes$1.exports.string
|
|
27042
27042
|
};
|
|
27043
27043
|
const page = "_page_uingh_337";
|
|
27044
|
-
const
|
|
27044
|
+
const scroll$1 = "_scroll_uingh_359";
|
|
27045
27045
|
const styles$o = {
|
|
27046
27046
|
page,
|
|
27047
|
-
scroll:
|
|
27047
|
+
scroll: scroll$1
|
|
27048
27048
|
};
|
|
27049
27049
|
const Page = ({ children, left: left2, padding: paddingProp, scroll: scroll3, top: top2 }) => {
|
|
27050
27050
|
const padding2 = typeof paddingProp === "string" ? paddingProp : paddingProp === true ? "20px" : "0";
|
|
@@ -29703,7 +29703,7 @@ ProgressBar$1.propTypes = {
|
|
|
29703
29703
|
showProgressColors: propTypes$1.exports.bool,
|
|
29704
29704
|
noLabel: propTypes$1.exports.bool
|
|
29705
29705
|
};
|
|
29706
|
-
const wrapper = "_wrapper_dg95i_337";
|
|
29706
|
+
const wrapper$1 = "_wrapper_dg95i_337";
|
|
29707
29707
|
const inline$1 = "_inline_dg95i_337";
|
|
29708
29708
|
const radio = "_radio_dg95i_341";
|
|
29709
29709
|
const labelMargin = "_labelMargin_dg95i_344";
|
|
@@ -29712,7 +29712,7 @@ const noMargin$1 = "_noMargin_dg95i_366";
|
|
|
29712
29712
|
const disabled$2 = "_disabled_dg95i_425";
|
|
29713
29713
|
const isInTable = "_isInTable_dg95i_441";
|
|
29714
29714
|
const styles$g = {
|
|
29715
|
-
wrapper,
|
|
29715
|
+
wrapper: wrapper$1,
|
|
29716
29716
|
inline: inline$1,
|
|
29717
29717
|
radio,
|
|
29718
29718
|
labelMargin,
|
|
@@ -59110,18 +59110,19 @@ Spacer.propTypes = {
|
|
|
59110
59110
|
width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
59111
59111
|
flex: propTypes$1.exports.bool
|
|
59112
59112
|
};
|
|
59113
|
-
const inputInTable$2 = "
|
|
59114
|
-
const inputHover$2 = "
|
|
59115
|
-
const inputFocus$2 = "
|
|
59116
|
-
const inputError$2 = "
|
|
59117
|
-
const inputWarning$2 = "
|
|
59118
|
-
const inputDisabled$2 = "
|
|
59119
|
-
const hideScrollbars$2 = "
|
|
59120
|
-
const scrollbars$2 = "
|
|
59121
|
-
const
|
|
59122
|
-
const bordered = "
|
|
59123
|
-
const
|
|
59124
|
-
const
|
|
59113
|
+
const inputInTable$2 = "_inputInTable_1auke_337";
|
|
59114
|
+
const inputHover$2 = "_inputHover_1auke_346";
|
|
59115
|
+
const inputFocus$2 = "_inputFocus_1auke_351";
|
|
59116
|
+
const inputError$2 = "_inputError_1auke_358";
|
|
59117
|
+
const inputWarning$2 = "_inputWarning_1auke_359";
|
|
59118
|
+
const inputDisabled$2 = "_inputDisabled_1auke_394";
|
|
59119
|
+
const hideScrollbars$2 = "_hideScrollbars_1auke_399";
|
|
59120
|
+
const scrollbars$2 = "_scrollbars_1auke_409";
|
|
59121
|
+
const wrapper = "_wrapper_1auke_446";
|
|
59122
|
+
const bordered = "_bordered_1auke_453";
|
|
59123
|
+
const scroll2 = "_scroll_1auke_409";
|
|
59124
|
+
const table = "_table_1auke_467";
|
|
59125
|
+
const striped = "_striped_1auke_547";
|
|
59125
59126
|
const styles$a = {
|
|
59126
59127
|
inputInTable: inputInTable$2,
|
|
59127
59128
|
inputHover: inputHover$2,
|
|
@@ -59131,12 +59132,13 @@ const styles$a = {
|
|
|
59131
59132
|
inputDisabled: inputDisabled$2,
|
|
59132
59133
|
hideScrollbars: hideScrollbars$2,
|
|
59133
59134
|
scrollbars: scrollbars$2,
|
|
59134
|
-
|
|
59135
|
+
wrapper,
|
|
59135
59136
|
bordered,
|
|
59137
|
+
scroll: scroll2,
|
|
59136
59138
|
table,
|
|
59137
59139
|
striped
|
|
59138
59140
|
};
|
|
59139
|
-
const title$1 = "
|
|
59141
|
+
const title$1 = "_title_jdmij_337";
|
|
59140
59142
|
const styles$9 = {
|
|
59141
59143
|
title: title$1
|
|
59142
59144
|
};
|
|
@@ -59258,37 +59260,37 @@ function CgSortAz(props) {
|
|
|
59258
59260
|
function CgSortZa(props) {
|
|
59259
59261
|
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);
|
|
59260
59262
|
}
|
|
59261
|
-
const inputInTable$1 = "
|
|
59262
|
-
const inputHover$1 = "
|
|
59263
|
-
const inputFocus$1 = "
|
|
59264
|
-
const inputError$1 = "
|
|
59265
|
-
const inputWarning$1 = "
|
|
59266
|
-
const inputDisabled$1 = "
|
|
59267
|
-
const hideScrollbars$1 = "
|
|
59268
|
-
const scrollbars$1 = "
|
|
59269
|
-
const cell = "
|
|
59270
|
-
const disabledLink = "
|
|
59271
|
-
const inputWrapper = "
|
|
59272
|
-
const breakWord = "
|
|
59273
|
-
const inputCell = "
|
|
59274
|
-
const sliderCell = "
|
|
59275
|
-
const staticCell = "
|
|
59276
|
-
const staticCellContent = "
|
|
59277
|
-
const error$1 = "
|
|
59278
|
-
const warning$2 = "
|
|
59279
|
-
const unit = "
|
|
59280
|
-
const sortingCell = "
|
|
59281
|
-
const sortingCellIcon = "
|
|
59282
|
-
const icon = "
|
|
59283
|
-
const checkBoxCell = "
|
|
59284
|
-
const iconCell = "
|
|
59285
|
-
const iconWrapper = "
|
|
59286
|
-
const actionsCell = "
|
|
59287
|
-
const rightAligned = "
|
|
59288
|
-
const centerAligned = "
|
|
59289
|
-
const leftAligned = "
|
|
59290
|
-
const popover = "
|
|
59291
|
-
const disabledPointerEvents = "
|
|
59263
|
+
const inputInTable$1 = "_inputInTable_14le1_337";
|
|
59264
|
+
const inputHover$1 = "_inputHover_14le1_346";
|
|
59265
|
+
const inputFocus$1 = "_inputFocus_14le1_351";
|
|
59266
|
+
const inputError$1 = "_inputError_14le1_358";
|
|
59267
|
+
const inputWarning$1 = "_inputWarning_14le1_359";
|
|
59268
|
+
const inputDisabled$1 = "_inputDisabled_14le1_394";
|
|
59269
|
+
const hideScrollbars$1 = "_hideScrollbars_14le1_399";
|
|
59270
|
+
const scrollbars$1 = "_scrollbars_14le1_409";
|
|
59271
|
+
const cell = "_cell_14le1_436";
|
|
59272
|
+
const disabledLink = "_disabledLink_14le1_446";
|
|
59273
|
+
const inputWrapper = "_inputWrapper_14le1_450";
|
|
59274
|
+
const breakWord = "_breakWord_14le1_465";
|
|
59275
|
+
const inputCell = "_inputCell_14le1_468";
|
|
59276
|
+
const sliderCell = "_sliderCell_14le1_471";
|
|
59277
|
+
const staticCell = "_staticCell_14le1_475";
|
|
59278
|
+
const staticCellContent = "_staticCellContent_14le1_478";
|
|
59279
|
+
const error$1 = "_error_14le1_491";
|
|
59280
|
+
const warning$2 = "_warning_14le1_492";
|
|
59281
|
+
const unit = "_unit_14le1_529";
|
|
59282
|
+
const sortingCell = "_sortingCell_14le1_532";
|
|
59283
|
+
const sortingCellIcon = "_sortingCellIcon_14le1_540";
|
|
59284
|
+
const icon = "_icon_14le1_547";
|
|
59285
|
+
const checkBoxCell = "_checkBoxCell_14le1_551";
|
|
59286
|
+
const iconCell = "_iconCell_14le1_555";
|
|
59287
|
+
const iconWrapper = "_iconWrapper_14le1_560";
|
|
59288
|
+
const actionsCell = "_actionsCell_14le1_564";
|
|
59289
|
+
const rightAligned = "_rightAligned_14le1_572";
|
|
59290
|
+
const centerAligned = "_centerAligned_14le1_578";
|
|
59291
|
+
const leftAligned = "_leftAligned_14le1_581";
|
|
59292
|
+
const popover = "_popover_14le1_584";
|
|
59293
|
+
const disabledPointerEvents = "_disabledPointerEvents_14le1_587";
|
|
59292
59294
|
const styles$7 = {
|
|
59293
59295
|
inputInTable: inputInTable$1,
|
|
59294
59296
|
inputHover: inputHover$1,
|
|
@@ -60298,13 +60300,7 @@ const hasRowActions = (rows, headers) => {
|
|
|
60298
60300
|
return hasActions(headers) > 0 || hasActions(rows) > 0;
|
|
60299
60301
|
};
|
|
60300
60302
|
const TableScrollWrapper = ({ table: table2, children }) => {
|
|
60301
|
-
const {
|
|
60302
|
-
fixedWidth: width,
|
|
60303
|
-
maxHeight,
|
|
60304
|
-
rows,
|
|
60305
|
-
infiniteScroll,
|
|
60306
|
-
bordered: bordered2 = true
|
|
60307
|
-
} = table2;
|
|
60303
|
+
const { rows, infiniteScroll } = table2;
|
|
60308
60304
|
const pageSize = Math.ceil(window.innerHeight / 32);
|
|
60309
60305
|
const [visibleRows, setVisibleRows] = infiniteScroll ? useState(pageSize) : [rows.length, null];
|
|
60310
60306
|
const [hasMore, setHasMore] = infiniteScroll ? useState(visibleRows < rows.length) : [false, null];
|
|
@@ -60317,16 +60313,7 @@ const TableScrollWrapper = ({ table: table2, children }) => {
|
|
|
60317
60313
|
};
|
|
60318
60314
|
return /* @__PURE__ */ jsxRuntime.exports.jsx("div", {
|
|
60319
60315
|
id: "scrollWrapper",
|
|
60320
|
-
className:
|
|
60321
|
-
styles$a.scrollWrapper,
|
|
60322
|
-
bordered2 ? styles$a.bordered : "",
|
|
60323
|
-
maxHeight ? styles$a.maxHeight : ""
|
|
60324
|
-
),
|
|
60325
|
-
style: {
|
|
60326
|
-
maxHeight,
|
|
60327
|
-
width,
|
|
60328
|
-
display: width === "auto" ? "inline-block" : null
|
|
60329
|
-
},
|
|
60316
|
+
className: styles$a.scroll,
|
|
60330
60317
|
children: infiniteScroll ? /* @__PURE__ */ jsxRuntime.exports.jsx(InfiniteScroll, {
|
|
60331
60318
|
dataLength: Math.min(rows.length, visibleRows + pageSize),
|
|
60332
60319
|
next: loadMoreItems,
|
|
@@ -60353,7 +60340,8 @@ const Table = (props) => {
|
|
|
60353
60340
|
testId,
|
|
60354
60341
|
draggable: draggable2,
|
|
60355
60342
|
defaultEmptyRow = null,
|
|
60356
|
-
onAddRow = null
|
|
60343
|
+
onAddRow = null,
|
|
60344
|
+
bordered: bordered2 = true
|
|
60357
60345
|
} = propTable;
|
|
60358
60346
|
const targetRef = useRef();
|
|
60359
60347
|
const [dimensions, setDimensions] = useState({ width: 0, height: 0 });
|
|
@@ -60404,29 +60392,30 @@ const Table = (props) => {
|
|
|
60404
60392
|
...propTable,
|
|
60405
60393
|
rows
|
|
60406
60394
|
};
|
|
60407
|
-
return draggable2 ? /* @__PURE__ */ jsxRuntime.exports.
|
|
60395
|
+
return draggable2 ? /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
60408
60396
|
ref: targetRef,
|
|
60409
|
-
|
|
60410
|
-
|
|
60411
|
-
|
|
60412
|
-
|
|
60413
|
-
|
|
60414
|
-
|
|
60415
|
-
|
|
60416
|
-
|
|
60417
|
-
|
|
60418
|
-
|
|
60419
|
-
|
|
60420
|
-
|
|
60421
|
-
|
|
60422
|
-
|
|
60423
|
-
|
|
60424
|
-
|
|
60425
|
-
|
|
60426
|
-
|
|
60427
|
-
|
|
60428
|
-
|
|
60429
|
-
|
|
60397
|
+
className: cx$2(styles$a.wrapper, bordered2 ? styles$a.bordered : ""),
|
|
60398
|
+
children: [
|
|
60399
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx(Title$1, {
|
|
60400
|
+
actions: actions2,
|
|
60401
|
+
actionsRight,
|
|
60402
|
+
name: name2,
|
|
60403
|
+
testId: testId && `${testId}-title`
|
|
60404
|
+
}),
|
|
60405
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx(DragDropContext, {
|
|
60406
|
+
onDragEnd: (result) => {
|
|
60407
|
+
var _a2, _b2;
|
|
60408
|
+
const from2 = (_a2 = result == null ? void 0 : result.source) == null ? void 0 : _a2.index;
|
|
60409
|
+
const to2 = (_b2 = result == null ? void 0 : result.destination) == null ? void 0 : _b2.index;
|
|
60410
|
+
onListReorder({ from: from2, to: to2 });
|
|
60411
|
+
},
|
|
60412
|
+
children: /* @__PURE__ */ jsxRuntime.exports.jsx(ConnectedDroppable, {
|
|
60413
|
+
droppableId: "droppable",
|
|
60414
|
+
children: (provided) => {
|
|
60415
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(TableScrollWrapper, {
|
|
60416
|
+
table: table2,
|
|
60417
|
+
children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment, {
|
|
60418
|
+
children: /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
|
|
60430
60419
|
className: cx$2(
|
|
60431
60420
|
styles$a.table,
|
|
60432
60421
|
striped2 ? styles$a.striped : ""
|
|
@@ -60481,62 +60470,65 @@ const Table = (props) => {
|
|
|
60481
60470
|
})
|
|
60482
60471
|
]
|
|
60483
60472
|
})
|
|
60484
|
-
|
|
60485
|
-
})
|
|
60486
|
-
}
|
|
60487
|
-
}
|
|
60473
|
+
})
|
|
60474
|
+
});
|
|
60475
|
+
}
|
|
60476
|
+
})
|
|
60488
60477
|
})
|
|
60489
|
-
|
|
60490
|
-
}) : /* @__PURE__ */ jsxRuntime.exports.
|
|
60491
|
-
|
|
60492
|
-
children:
|
|
60493
|
-
|
|
60494
|
-
|
|
60495
|
-
|
|
60496
|
-
|
|
60497
|
-
|
|
60498
|
-
|
|
60499
|
-
|
|
60500
|
-
|
|
60501
|
-
|
|
60502
|
-
"
|
|
60503
|
-
|
|
60504
|
-
|
|
60505
|
-
|
|
60506
|
-
|
|
60478
|
+
]
|
|
60479
|
+
}) : /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
60480
|
+
className: cx$2(styles$a.wrapper, bordered2 ? styles$a.bordered : ""),
|
|
60481
|
+
children: [
|
|
60482
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx(Title$1, {
|
|
60483
|
+
actions: actions2,
|
|
60484
|
+
actionsRight,
|
|
60485
|
+
name: name2,
|
|
60486
|
+
testId: testId && `${testId}-title`
|
|
60487
|
+
}),
|
|
60488
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx(TableScrollWrapper, {
|
|
60489
|
+
table: table2,
|
|
60490
|
+
children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment, {
|
|
60491
|
+
children: /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
|
|
60492
|
+
className: cx$2(styles$a.table, striped2 ? styles$a.striped : ""),
|
|
60493
|
+
"data-testid": testId,
|
|
60494
|
+
children: [
|
|
60495
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx("thead", {
|
|
60496
|
+
children: headers.map((row2, rowIndex) => {
|
|
60497
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60498
|
+
rowIndex,
|
|
60499
|
+
isHeader: true,
|
|
60500
|
+
row: row2,
|
|
60501
|
+
columnCount,
|
|
60502
|
+
columnWidths,
|
|
60503
|
+
colSpan,
|
|
60504
|
+
hasRowActions: rowActions,
|
|
60505
|
+
columnAlignment,
|
|
60506
|
+
columnHeaderAlignments
|
|
60507
|
+
}, `0_${rowIndex}`);
|
|
60508
|
+
})
|
|
60509
|
+
}),
|
|
60510
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx("tbody", {
|
|
60511
|
+
children: rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60507
60512
|
rowIndex,
|
|
60508
|
-
isHeader: true,
|
|
60509
60513
|
row: row2,
|
|
60510
60514
|
columnCount,
|
|
60511
60515
|
columnWidths,
|
|
60512
60516
|
colSpan,
|
|
60513
60517
|
hasRowActions: rowActions,
|
|
60514
|
-
columnAlignment
|
|
60515
|
-
|
|
60516
|
-
|
|
60517
|
-
|
|
60518
|
-
}),
|
|
60519
|
-
/* @__PURE__ */ jsxRuntime.exports.jsx("tbody", {
|
|
60520
|
-
children: rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60521
|
-
rowIndex,
|
|
60522
|
-
row: row2,
|
|
60523
|
-
columnCount,
|
|
60524
|
-
columnWidths,
|
|
60518
|
+
columnAlignment
|
|
60519
|
+
}, `1_${rowIndex}`))
|
|
60520
|
+
}),
|
|
60521
|
+
footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
|
|
60525
60522
|
colSpan,
|
|
60526
|
-
|
|
60527
|
-
|
|
60528
|
-
|
|
60529
|
-
|
|
60530
|
-
|
|
60531
|
-
|
|
60532
|
-
pagination: footer2.pagination,
|
|
60533
|
-
actions: footer2.actions,
|
|
60534
|
-
content: footer2.content
|
|
60535
|
-
})
|
|
60536
|
-
]
|
|
60523
|
+
pagination: footer2.pagination,
|
|
60524
|
+
actions: footer2.actions,
|
|
60525
|
+
content: footer2.content
|
|
60526
|
+
})
|
|
60527
|
+
]
|
|
60528
|
+
})
|
|
60537
60529
|
})
|
|
60538
|
-
|
|
60539
|
-
|
|
60530
|
+
})
|
|
60531
|
+
]
|
|
60540
60532
|
});
|
|
60541
60533
|
};
|
|
60542
60534
|
Table.defaultProps = {
|