@oliasoft-open-source/react-ui-library 3.11.0-beta-14 → 3.11.0-beta-15
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 +74 -81
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60393,62 +60393,57 @@ const Table = (props) => {
|
|
|
60393
60393
|
children: (provided) => {
|
|
60394
60394
|
return /* @__PURE__ */ jsxRuntime.exports.jsx(TableScrollWrapper, {
|
|
60395
60395
|
table: table2,
|
|
60396
|
-
children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.
|
|
60397
|
-
|
|
60398
|
-
|
|
60399
|
-
|
|
60400
|
-
|
|
60401
|
-
|
|
60402
|
-
|
|
60403
|
-
|
|
60404
|
-
|
|
60405
|
-
|
|
60406
|
-
|
|
60407
|
-
|
|
60396
|
+
children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
|
|
60397
|
+
className: cx$2(styles$a.table, striped2 ? styles$a.striped : ""),
|
|
60398
|
+
"data-testid": testId,
|
|
60399
|
+
ref: provided.innerRef,
|
|
60400
|
+
children: [
|
|
60401
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx("thead", {
|
|
60402
|
+
children: headers.map((row2, rowIndex) => {
|
|
60403
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60404
|
+
rowIndex,
|
|
60405
|
+
isHeader: true,
|
|
60406
|
+
row: row2,
|
|
60407
|
+
columnCount,
|
|
60408
|
+
columnWidths,
|
|
60409
|
+
colSpan,
|
|
60410
|
+
hasRowActions: rowActions,
|
|
60411
|
+
columnAlignment,
|
|
60412
|
+
columnHeaderAlignments,
|
|
60413
|
+
draggableTable: draggable2
|
|
60414
|
+
}, `0_${rowIndex}`);
|
|
60415
|
+
})
|
|
60416
|
+
}),
|
|
60417
|
+
/* @__PURE__ */ jsxRuntime.exports.jsxs("tbody", {
|
|
60418
|
+
children: [
|
|
60419
|
+
rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(PublicDraggable, {
|
|
60420
|
+
draggableId: rowIndex + "",
|
|
60421
|
+
index: rowIndex,
|
|
60422
|
+
isDragDisabled: row2.noDrag,
|
|
60423
|
+
children: (provided2, snapshot) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60408
60424
|
rowIndex,
|
|
60409
|
-
isHeader: true,
|
|
60410
60425
|
row: row2,
|
|
60411
60426
|
columnCount,
|
|
60412
60427
|
columnWidths,
|
|
60413
60428
|
colSpan,
|
|
60414
60429
|
hasRowActions: rowActions,
|
|
60415
60430
|
columnAlignment,
|
|
60416
|
-
|
|
60417
|
-
|
|
60418
|
-
|
|
60419
|
-
|
|
60420
|
-
|
|
60421
|
-
|
|
60422
|
-
|
|
60423
|
-
|
|
60424
|
-
|
|
60425
|
-
|
|
60426
|
-
|
|
60427
|
-
|
|
60428
|
-
|
|
60429
|
-
|
|
60430
|
-
|
|
60431
|
-
|
|
60432
|
-
colSpan,
|
|
60433
|
-
hasRowActions: rowActions,
|
|
60434
|
-
columnAlignment,
|
|
60435
|
-
provided: provided2,
|
|
60436
|
-
snapshot,
|
|
60437
|
-
draggableTable: draggable2,
|
|
60438
|
-
width: dimensions.width
|
|
60439
|
-
}, `1_${rowIndex}`)
|
|
60440
|
-
}, `index_${rowIndex}`)),
|
|
60441
|
-
provided.placeholder
|
|
60442
|
-
]
|
|
60443
|
-
}),
|
|
60444
|
-
footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
|
|
60445
|
-
colSpan: colSpan + 1,
|
|
60446
|
-
pagination: footer2.pagination,
|
|
60447
|
-
actions: footer2.actions,
|
|
60448
|
-
content: footer2.content
|
|
60449
|
-
})
|
|
60450
|
-
]
|
|
60451
|
-
})
|
|
60431
|
+
provided: provided2,
|
|
60432
|
+
snapshot,
|
|
60433
|
+
draggableTable: draggable2,
|
|
60434
|
+
width: dimensions.width
|
|
60435
|
+
}, `1_${rowIndex}`)
|
|
60436
|
+
}, `index_${rowIndex}`)),
|
|
60437
|
+
provided.placeholder
|
|
60438
|
+
]
|
|
60439
|
+
}),
|
|
60440
|
+
footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
|
|
60441
|
+
colSpan: colSpan + 1,
|
|
60442
|
+
pagination: footer2.pagination,
|
|
60443
|
+
actions: footer2.actions,
|
|
60444
|
+
content: footer2.content
|
|
60445
|
+
})
|
|
60446
|
+
]
|
|
60452
60447
|
})
|
|
60453
60448
|
});
|
|
60454
60449
|
}
|
|
@@ -60467,45 +60462,43 @@ const Table = (props) => {
|
|
|
60467
60462
|
}),
|
|
60468
60463
|
/* @__PURE__ */ jsxRuntime.exports.jsx(TableScrollWrapper, {
|
|
60469
60464
|
table: table2,
|
|
60470
|
-
children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.
|
|
60471
|
-
|
|
60472
|
-
|
|
60473
|
-
|
|
60474
|
-
|
|
60475
|
-
|
|
60476
|
-
|
|
60477
|
-
return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60478
|
-
rowIndex,
|
|
60479
|
-
isHeader: true,
|
|
60480
|
-
row: row2,
|
|
60481
|
-
columnCount,
|
|
60482
|
-
columnWidths,
|
|
60483
|
-
colSpan,
|
|
60484
|
-
hasRowActions: rowActions,
|
|
60485
|
-
columnAlignment,
|
|
60486
|
-
columnHeaderAlignments
|
|
60487
|
-
}, `0_${rowIndex}`);
|
|
60488
|
-
})
|
|
60489
|
-
}),
|
|
60490
|
-
/* @__PURE__ */ jsxRuntime.exports.jsx("tbody", {
|
|
60491
|
-
children: rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60465
|
+
children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
|
|
60466
|
+
className: cx$2(styles$a.table, striped2 ? styles$a.striped : ""),
|
|
60467
|
+
"data-testid": testId,
|
|
60468
|
+
children: [
|
|
60469
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx("thead", {
|
|
60470
|
+
children: headers.map((row2, rowIndex) => {
|
|
60471
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60492
60472
|
rowIndex,
|
|
60473
|
+
isHeader: true,
|
|
60493
60474
|
row: row2,
|
|
60494
60475
|
columnCount,
|
|
60495
60476
|
columnWidths,
|
|
60496
60477
|
colSpan,
|
|
60497
60478
|
hasRowActions: rowActions,
|
|
60498
|
-
columnAlignment
|
|
60499
|
-
|
|
60500
|
-
|
|
60501
|
-
footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
|
|
60502
|
-
colSpan,
|
|
60503
|
-
pagination: footer2.pagination,
|
|
60504
|
-
actions: footer2.actions,
|
|
60505
|
-
content: footer2.content
|
|
60479
|
+
columnAlignment,
|
|
60480
|
+
columnHeaderAlignments
|
|
60481
|
+
}, `0_${rowIndex}`);
|
|
60506
60482
|
})
|
|
60507
|
-
|
|
60508
|
-
|
|
60483
|
+
}),
|
|
60484
|
+
/* @__PURE__ */ jsxRuntime.exports.jsx("tbody", {
|
|
60485
|
+
children: rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
|
|
60486
|
+
rowIndex,
|
|
60487
|
+
row: row2,
|
|
60488
|
+
columnCount,
|
|
60489
|
+
columnWidths,
|
|
60490
|
+
colSpan,
|
|
60491
|
+
hasRowActions: rowActions,
|
|
60492
|
+
columnAlignment
|
|
60493
|
+
}, `1_${rowIndex}`))
|
|
60494
|
+
}),
|
|
60495
|
+
footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
|
|
60496
|
+
colSpan,
|
|
60497
|
+
pagination: footer2.pagination,
|
|
60498
|
+
actions: footer2.actions,
|
|
60499
|
+
content: footer2.content
|
|
60500
|
+
})
|
|
60501
|
+
]
|
|
60509
60502
|
})
|
|
60510
60503
|
})
|
|
60511
60504
|
]
|