@oliasoft-open-source/react-ui-library 4.18.6-beta-1 → 4.18.6
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 +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -51708,7 +51708,6 @@ const TableDragWrapper = (props) => {
|
|
|
51708
51708
|
tbodyRef
|
|
51709
51709
|
} = props;
|
|
51710
51710
|
const [dragIndex, setDragIndex] = useState(null);
|
|
51711
|
-
if (!draggable) return children;
|
|
51712
51711
|
const itemIds = useMemo(
|
|
51713
51712
|
() => rows.map((_2, index2) => index2.toString()),
|
|
51714
51713
|
[rows]
|
|
@@ -51737,6 +51736,7 @@ const TableDragWrapper = (props) => {
|
|
|
51737
51736
|
widths.shift();
|
|
51738
51737
|
return widths;
|
|
51739
51738
|
};
|
|
51739
|
+
if (!draggable) return children;
|
|
51740
51740
|
return /* @__PURE__ */ jsxs(
|
|
51741
51741
|
DndContext$1,
|
|
51742
51742
|
{
|
|
@@ -66248,11 +66248,10 @@ const convertVisibleRows = ({
|
|
|
66248
66248
|
cells: headerRow.cells.map((headerCell) => {
|
|
66249
66249
|
var _a2;
|
|
66250
66250
|
if (headerCell.type === CellType.AUTO_UNIT) {
|
|
66251
|
-
const { testId, unitKey
|
|
66251
|
+
const { testId, unitKey } = headerCell;
|
|
66252
66252
|
return {
|
|
66253
66253
|
value: selectedUnits[unitKey],
|
|
66254
66254
|
type: CellType.SELECT,
|
|
66255
|
-
disabled: disabled2,
|
|
66256
66255
|
searchable: false,
|
|
66257
66256
|
options: (_a2 = getUnitsForQuantity(unitKey)) == null ? void 0 : _a2.map((unit2) => ({
|
|
66258
66257
|
label: label$b(unit2),
|