@dmsi/wedgekit-react 0.0.900 → 0.0.902
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/{chunk-JKCNHKVV.js → chunk-5NRKL5CJ.js} +44 -23
- package/dist/{chunk-2UD7Y3NB.js → chunk-YYRFXTO7.js} +1 -1
- package/dist/components/CalendarRange.cjs +44 -23
- package/dist/components/CalendarRange.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +44 -23
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +44 -23
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +2 -2
- package/dist/components/DataGrid/PinnedColumns.cjs +44 -23
- package/dist/components/DataGrid/PinnedColumns.js +2 -2
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +44 -23
- package/dist/components/DataGrid/TableBody/LoadingCell.js +2 -2
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +44 -23
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +2 -2
- package/dist/components/DataGrid/TableBody/index.cjs +44 -23
- package/dist/components/DataGrid/TableBody/index.js +2 -2
- package/dist/components/DataGrid/index.cjs +44 -23
- package/dist/components/DataGrid/index.js +2 -2
- package/dist/components/DataGrid/utils.cjs +44 -23
- package/dist/components/DataGrid/utils.js +2 -2
- package/dist/components/DataGridCell.cjs +44 -23
- package/dist/components/DataGridCell.js +1 -1
- package/dist/components/DateInput.cjs +44 -23
- package/dist/components/DateInput.js +2 -2
- package/dist/components/DateRangeInput.cjs +44 -23
- package/dist/components/DateRangeInput.js +2 -2
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +44 -23
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +44 -23
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +2 -2
- package/dist/components/MobileDataGrid/index.cjs +44 -23
- package/dist/components/MobileDataGrid/index.js +2 -2
- package/dist/components/index.cjs +44 -23
- package/dist/components/index.js +2 -2
- package/package.json +1 -1
|
@@ -2216,26 +2216,46 @@ Search.displayName = "Search";
|
|
|
2216
2216
|
// src/components/DataGridCell.tsx
|
|
2217
2217
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2218
2218
|
var DataGridCell = (0, import_react12.memo)(
|
|
2219
|
-
({
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2219
|
+
(_a) => {
|
|
2220
|
+
var _b = _a, {
|
|
2221
|
+
id,
|
|
2222
|
+
type = "default",
|
|
2223
|
+
component = "static",
|
|
2224
|
+
children,
|
|
2225
|
+
className,
|
|
2226
|
+
locked = false,
|
|
2227
|
+
noPadding = false,
|
|
2228
|
+
paddedLeft = false,
|
|
2229
|
+
style,
|
|
2230
|
+
onClick,
|
|
2231
|
+
onRightClick,
|
|
2232
|
+
error,
|
|
2233
|
+
warning,
|
|
2234
|
+
center,
|
|
2235
|
+
width,
|
|
2236
|
+
minWidth,
|
|
2237
|
+
disabled,
|
|
2238
|
+
testid
|
|
2239
|
+
} = _b, props = __objRest(_b, [
|
|
2240
|
+
"id",
|
|
2241
|
+
"type",
|
|
2242
|
+
"component",
|
|
2243
|
+
"children",
|
|
2244
|
+
"className",
|
|
2245
|
+
"locked",
|
|
2246
|
+
"noPadding",
|
|
2247
|
+
"paddedLeft",
|
|
2248
|
+
"style",
|
|
2249
|
+
"onClick",
|
|
2250
|
+
"onRightClick",
|
|
2251
|
+
"error",
|
|
2252
|
+
"warning",
|
|
2253
|
+
"center",
|
|
2254
|
+
"width",
|
|
2255
|
+
"minWidth",
|
|
2256
|
+
"disabled",
|
|
2257
|
+
"testid"
|
|
2258
|
+
]);
|
|
2239
2259
|
const Element = type === "header" ? "th" : "td";
|
|
2240
2260
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2241
2261
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2304,11 +2324,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2304
2324
|
);
|
|
2305
2325
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2306
2326
|
Element,
|
|
2307
|
-
{
|
|
2327
|
+
__spreadProps(__spreadValues({
|
|
2308
2328
|
id,
|
|
2309
2329
|
"data-testid": testid,
|
|
2310
2330
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2311
|
-
style: { width, minWidth }
|
|
2331
|
+
style: { width, minWidth }
|
|
2332
|
+
}, props), {
|
|
2312
2333
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2313
2334
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2314
2335
|
"div",
|
|
@@ -2325,7 +2346,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2325
2346
|
children
|
|
2326
2347
|
}
|
|
2327
2348
|
)
|
|
2328
|
-
}
|
|
2349
|
+
})
|
|
2329
2350
|
);
|
|
2330
2351
|
}
|
|
2331
2352
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBodyRow
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../../../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../../../chunk-VABOQRYA.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../../chunk-3IAXYRUR.js";
|
|
|
38
38
|
import "../../../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../../../chunk-75USUR3I.js";
|
|
40
40
|
import "../../../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../../../chunk-
|
|
41
|
+
import "../../../chunk-5NRKL5CJ.js";
|
|
42
42
|
import "../../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../../chunk-X3NDEFVA.js";
|
|
@@ -2214,26 +2214,46 @@ Search.displayName = "Search";
|
|
|
2214
2214
|
// src/components/DataGridCell.tsx
|
|
2215
2215
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2216
2216
|
var DataGridCell = (0, import_react12.memo)(
|
|
2217
|
-
({
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2217
|
+
(_a) => {
|
|
2218
|
+
var _b = _a, {
|
|
2219
|
+
id,
|
|
2220
|
+
type = "default",
|
|
2221
|
+
component = "static",
|
|
2222
|
+
children,
|
|
2223
|
+
className,
|
|
2224
|
+
locked = false,
|
|
2225
|
+
noPadding = false,
|
|
2226
|
+
paddedLeft = false,
|
|
2227
|
+
style,
|
|
2228
|
+
onClick,
|
|
2229
|
+
onRightClick,
|
|
2230
|
+
error,
|
|
2231
|
+
warning,
|
|
2232
|
+
center,
|
|
2233
|
+
width,
|
|
2234
|
+
minWidth,
|
|
2235
|
+
disabled,
|
|
2236
|
+
testid
|
|
2237
|
+
} = _b, props = __objRest(_b, [
|
|
2238
|
+
"id",
|
|
2239
|
+
"type",
|
|
2240
|
+
"component",
|
|
2241
|
+
"children",
|
|
2242
|
+
"className",
|
|
2243
|
+
"locked",
|
|
2244
|
+
"noPadding",
|
|
2245
|
+
"paddedLeft",
|
|
2246
|
+
"style",
|
|
2247
|
+
"onClick",
|
|
2248
|
+
"onRightClick",
|
|
2249
|
+
"error",
|
|
2250
|
+
"warning",
|
|
2251
|
+
"center",
|
|
2252
|
+
"width",
|
|
2253
|
+
"minWidth",
|
|
2254
|
+
"disabled",
|
|
2255
|
+
"testid"
|
|
2256
|
+
]);
|
|
2237
2257
|
const Element = type === "header" ? "th" : "td";
|
|
2238
2258
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2239
2259
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2302,11 +2322,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2302
2322
|
);
|
|
2303
2323
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2304
2324
|
Element,
|
|
2305
|
-
{
|
|
2325
|
+
__spreadProps(__spreadValues({
|
|
2306
2326
|
id,
|
|
2307
2327
|
"data-testid": testid,
|
|
2308
2328
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2309
|
-
style: { width, minWidth }
|
|
2329
|
+
style: { width, minWidth }
|
|
2330
|
+
}, props), {
|
|
2310
2331
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2311
2332
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2312
2333
|
"div",
|
|
@@ -2323,7 +2344,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2323
2344
|
children
|
|
2324
2345
|
}
|
|
2325
2346
|
)
|
|
2326
|
-
}
|
|
2347
|
+
})
|
|
2327
2348
|
);
|
|
2328
2349
|
}
|
|
2329
2350
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBody
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../../../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../../../chunk-VABOQRYA.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../../chunk-3IAXYRUR.js";
|
|
|
38
38
|
import "../../../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../../../chunk-75USUR3I.js";
|
|
40
40
|
import "../../../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../../../chunk-
|
|
41
|
+
import "../../../chunk-5NRKL5CJ.js";
|
|
42
42
|
import "../../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../../chunk-X3NDEFVA.js";
|
|
@@ -2215,26 +2215,46 @@ Search.displayName = "Search";
|
|
|
2215
2215
|
// src/components/DataGridCell.tsx
|
|
2216
2216
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2217
2217
|
var DataGridCell = (0, import_react12.memo)(
|
|
2218
|
-
({
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2218
|
+
(_a) => {
|
|
2219
|
+
var _b = _a, {
|
|
2220
|
+
id,
|
|
2221
|
+
type = "default",
|
|
2222
|
+
component = "static",
|
|
2223
|
+
children,
|
|
2224
|
+
className,
|
|
2225
|
+
locked = false,
|
|
2226
|
+
noPadding = false,
|
|
2227
|
+
paddedLeft = false,
|
|
2228
|
+
style,
|
|
2229
|
+
onClick,
|
|
2230
|
+
onRightClick,
|
|
2231
|
+
error,
|
|
2232
|
+
warning,
|
|
2233
|
+
center,
|
|
2234
|
+
width,
|
|
2235
|
+
minWidth,
|
|
2236
|
+
disabled,
|
|
2237
|
+
testid
|
|
2238
|
+
} = _b, props = __objRest(_b, [
|
|
2239
|
+
"id",
|
|
2240
|
+
"type",
|
|
2241
|
+
"component",
|
|
2242
|
+
"children",
|
|
2243
|
+
"className",
|
|
2244
|
+
"locked",
|
|
2245
|
+
"noPadding",
|
|
2246
|
+
"paddedLeft",
|
|
2247
|
+
"style",
|
|
2248
|
+
"onClick",
|
|
2249
|
+
"onRightClick",
|
|
2250
|
+
"error",
|
|
2251
|
+
"warning",
|
|
2252
|
+
"center",
|
|
2253
|
+
"width",
|
|
2254
|
+
"minWidth",
|
|
2255
|
+
"disabled",
|
|
2256
|
+
"testid"
|
|
2257
|
+
]);
|
|
2238
2258
|
const Element = type === "header" ? "th" : "td";
|
|
2239
2259
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2240
2260
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2303,11 +2323,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2303
2323
|
);
|
|
2304
2324
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2305
2325
|
Element,
|
|
2306
|
-
{
|
|
2326
|
+
__spreadProps(__spreadValues({
|
|
2307
2327
|
id,
|
|
2308
2328
|
"data-testid": testid,
|
|
2309
2329
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2310
|
-
style: { width, minWidth }
|
|
2330
|
+
style: { width, minWidth }
|
|
2331
|
+
}, props), {
|
|
2311
2332
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2312
2333
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2313
2334
|
"div",
|
|
@@ -2324,7 +2345,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2324
2345
|
children
|
|
2325
2346
|
}
|
|
2326
2347
|
)
|
|
2327
|
-
}
|
|
2348
|
+
})
|
|
2328
2349
|
);
|
|
2329
2350
|
}
|
|
2330
2351
|
);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DataGrid,
|
|
4
4
|
DataGrid_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-YYRFXTO7.js";
|
|
6
6
|
import "../../chunk-LFBTRFTS.js";
|
|
7
7
|
import "../../chunk-VABOQRYA.js";
|
|
8
8
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -40,7 +40,7 @@ import "../../chunk-3IAXYRUR.js";
|
|
|
40
40
|
import "../../chunk-SJZNVG4N.js";
|
|
41
41
|
import "../../chunk-75USUR3I.js";
|
|
42
42
|
import "../../chunk-BWPNXY7T.js";
|
|
43
|
-
import "../../chunk-
|
|
43
|
+
import "../../chunk-5NRKL5CJ.js";
|
|
44
44
|
import "../../chunk-OM7QLLI2.js";
|
|
45
45
|
import "../../chunk-PE3EZP56.js";
|
|
46
46
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2214,26 +2214,46 @@ Search.displayName = "Search";
|
|
|
2214
2214
|
// src/components/DataGridCell.tsx
|
|
2215
2215
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2216
2216
|
var DataGridCell = (0, import_react12.memo)(
|
|
2217
|
-
({
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2217
|
+
(_a) => {
|
|
2218
|
+
var _b = _a, {
|
|
2219
|
+
id,
|
|
2220
|
+
type = "default",
|
|
2221
|
+
component = "static",
|
|
2222
|
+
children,
|
|
2223
|
+
className,
|
|
2224
|
+
locked = false,
|
|
2225
|
+
noPadding = false,
|
|
2226
|
+
paddedLeft = false,
|
|
2227
|
+
style,
|
|
2228
|
+
onClick,
|
|
2229
|
+
onRightClick,
|
|
2230
|
+
error,
|
|
2231
|
+
warning,
|
|
2232
|
+
center,
|
|
2233
|
+
width,
|
|
2234
|
+
minWidth,
|
|
2235
|
+
disabled,
|
|
2236
|
+
testid
|
|
2237
|
+
} = _b, props = __objRest(_b, [
|
|
2238
|
+
"id",
|
|
2239
|
+
"type",
|
|
2240
|
+
"component",
|
|
2241
|
+
"children",
|
|
2242
|
+
"className",
|
|
2243
|
+
"locked",
|
|
2244
|
+
"noPadding",
|
|
2245
|
+
"paddedLeft",
|
|
2246
|
+
"style",
|
|
2247
|
+
"onClick",
|
|
2248
|
+
"onRightClick",
|
|
2249
|
+
"error",
|
|
2250
|
+
"warning",
|
|
2251
|
+
"center",
|
|
2252
|
+
"width",
|
|
2253
|
+
"minWidth",
|
|
2254
|
+
"disabled",
|
|
2255
|
+
"testid"
|
|
2256
|
+
]);
|
|
2237
2257
|
const Element = type === "header" ? "th" : "td";
|
|
2238
2258
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2239
2259
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2302,11 +2322,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2302
2322
|
);
|
|
2303
2323
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2304
2324
|
Element,
|
|
2305
|
-
{
|
|
2325
|
+
__spreadProps(__spreadValues({
|
|
2306
2326
|
id,
|
|
2307
2327
|
"data-testid": testid,
|
|
2308
2328
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2309
|
-
style: { width, minWidth }
|
|
2329
|
+
style: { width, minWidth }
|
|
2330
|
+
}, props), {
|
|
2310
2331
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2311
2332
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2312
2333
|
"div",
|
|
@@ -2323,7 +2344,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2323
2344
|
children
|
|
2324
2345
|
}
|
|
2325
2346
|
)
|
|
2326
|
-
}
|
|
2347
|
+
})
|
|
2327
2348
|
);
|
|
2328
2349
|
}
|
|
2329
2350
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSortIcon
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../../chunk-VABOQRYA.js";
|
|
6
6
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../chunk-3IAXYRUR.js";
|
|
|
38
38
|
import "../../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../../chunk-75USUR3I.js";
|
|
40
40
|
import "../../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../../chunk-
|
|
41
|
+
import "../../chunk-5NRKL5CJ.js";
|
|
42
42
|
import "../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2003,26 +2003,46 @@ Search.displayName = "Search";
|
|
|
2003
2003
|
// src/components/DataGridCell.tsx
|
|
2004
2004
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2005
2005
|
var DataGridCell = (0, import_react12.memo)(
|
|
2006
|
-
({
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2006
|
+
(_a) => {
|
|
2007
|
+
var _b = _a, {
|
|
2008
|
+
id,
|
|
2009
|
+
type = "default",
|
|
2010
|
+
component = "static",
|
|
2011
|
+
children,
|
|
2012
|
+
className,
|
|
2013
|
+
locked = false,
|
|
2014
|
+
noPadding = false,
|
|
2015
|
+
paddedLeft = false,
|
|
2016
|
+
style,
|
|
2017
|
+
onClick,
|
|
2018
|
+
onRightClick,
|
|
2019
|
+
error,
|
|
2020
|
+
warning,
|
|
2021
|
+
center,
|
|
2022
|
+
width,
|
|
2023
|
+
minWidth,
|
|
2024
|
+
disabled,
|
|
2025
|
+
testid
|
|
2026
|
+
} = _b, props = __objRest(_b, [
|
|
2027
|
+
"id",
|
|
2028
|
+
"type",
|
|
2029
|
+
"component",
|
|
2030
|
+
"children",
|
|
2031
|
+
"className",
|
|
2032
|
+
"locked",
|
|
2033
|
+
"noPadding",
|
|
2034
|
+
"paddedLeft",
|
|
2035
|
+
"style",
|
|
2036
|
+
"onClick",
|
|
2037
|
+
"onRightClick",
|
|
2038
|
+
"error",
|
|
2039
|
+
"warning",
|
|
2040
|
+
"center",
|
|
2041
|
+
"width",
|
|
2042
|
+
"minWidth",
|
|
2043
|
+
"disabled",
|
|
2044
|
+
"testid"
|
|
2045
|
+
]);
|
|
2026
2046
|
const Element = type === "header" ? "th" : "td";
|
|
2027
2047
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2028
2048
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2091,11 +2111,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2091
2111
|
);
|
|
2092
2112
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2093
2113
|
Element,
|
|
2094
|
-
{
|
|
2114
|
+
__spreadProps(__spreadValues({
|
|
2095
2115
|
id,
|
|
2096
2116
|
"data-testid": testid,
|
|
2097
2117
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2098
|
-
style: { width, minWidth }
|
|
2118
|
+
style: { width, minWidth }
|
|
2119
|
+
}, props), {
|
|
2099
2120
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2100
2121
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2101
2122
|
"div",
|
|
@@ -2112,7 +2133,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2112
2133
|
children
|
|
2113
2134
|
}
|
|
2114
2135
|
)
|
|
2115
|
-
}
|
|
2136
|
+
})
|
|
2116
2137
|
);
|
|
2117
2138
|
}
|
|
2118
2139
|
);
|
|
@@ -2221,26 +2221,46 @@ Search.displayName = "Search";
|
|
|
2221
2221
|
// src/components/DataGridCell.tsx
|
|
2222
2222
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2223
2223
|
var DataGridCell = (0, import_react12.memo)(
|
|
2224
|
-
({
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2224
|
+
(_a) => {
|
|
2225
|
+
var _b = _a, {
|
|
2226
|
+
id,
|
|
2227
|
+
type = "default",
|
|
2228
|
+
component = "static",
|
|
2229
|
+
children,
|
|
2230
|
+
className,
|
|
2231
|
+
locked = false,
|
|
2232
|
+
noPadding = false,
|
|
2233
|
+
paddedLeft = false,
|
|
2234
|
+
style,
|
|
2235
|
+
onClick,
|
|
2236
|
+
onRightClick,
|
|
2237
|
+
error,
|
|
2238
|
+
warning,
|
|
2239
|
+
center,
|
|
2240
|
+
width,
|
|
2241
|
+
minWidth,
|
|
2242
|
+
disabled,
|
|
2243
|
+
testid
|
|
2244
|
+
} = _b, props = __objRest(_b, [
|
|
2245
|
+
"id",
|
|
2246
|
+
"type",
|
|
2247
|
+
"component",
|
|
2248
|
+
"children",
|
|
2249
|
+
"className",
|
|
2250
|
+
"locked",
|
|
2251
|
+
"noPadding",
|
|
2252
|
+
"paddedLeft",
|
|
2253
|
+
"style",
|
|
2254
|
+
"onClick",
|
|
2255
|
+
"onRightClick",
|
|
2256
|
+
"error",
|
|
2257
|
+
"warning",
|
|
2258
|
+
"center",
|
|
2259
|
+
"width",
|
|
2260
|
+
"minWidth",
|
|
2261
|
+
"disabled",
|
|
2262
|
+
"testid"
|
|
2263
|
+
]);
|
|
2244
2264
|
const Element = type === "header" ? "th" : "td";
|
|
2245
2265
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2246
2266
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2309,11 +2329,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2309
2329
|
);
|
|
2310
2330
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2311
2331
|
Element,
|
|
2312
|
-
{
|
|
2332
|
+
__spreadProps(__spreadValues({
|
|
2313
2333
|
id,
|
|
2314
2334
|
"data-testid": testid,
|
|
2315
2335
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2316
|
-
style: { width, minWidth }
|
|
2336
|
+
style: { width, minWidth }
|
|
2337
|
+
}, props), {
|
|
2317
2338
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2318
2339
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2319
2340
|
"div",
|
|
@@ -2330,7 +2351,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2330
2351
|
children
|
|
2331
2352
|
}
|
|
2332
2353
|
)
|
|
2333
|
-
}
|
|
2354
|
+
})
|
|
2334
2355
|
);
|
|
2335
2356
|
}
|
|
2336
2357
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DateInput
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../chunk-VABOQRYA.js";
|
|
6
6
|
import "../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../chunk-3IAXYRUR.js";
|
|
|
38
38
|
import "../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../chunk-75USUR3I.js";
|
|
40
40
|
import "../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-5NRKL5CJ.js";
|
|
42
42
|
import "../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../chunk-PE3EZP56.js";
|
|
44
44
|
import "../chunk-X3NDEFVA.js";
|