@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
|
@@ -37,26 +37,46 @@ import {
|
|
|
37
37
|
} from "react";
|
|
38
38
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
39
39
|
var DataGridCell = memo(
|
|
40
|
-
({
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
40
|
+
(_a) => {
|
|
41
|
+
var _b = _a, {
|
|
42
|
+
id,
|
|
43
|
+
type = "default",
|
|
44
|
+
component = "static",
|
|
45
|
+
children,
|
|
46
|
+
className,
|
|
47
|
+
locked = false,
|
|
48
|
+
noPadding = false,
|
|
49
|
+
paddedLeft = false,
|
|
50
|
+
style,
|
|
51
|
+
onClick,
|
|
52
|
+
onRightClick,
|
|
53
|
+
error,
|
|
54
|
+
warning,
|
|
55
|
+
center,
|
|
56
|
+
width,
|
|
57
|
+
minWidth,
|
|
58
|
+
disabled,
|
|
59
|
+
testid
|
|
60
|
+
} = _b, props = __objRest(_b, [
|
|
61
|
+
"id",
|
|
62
|
+
"type",
|
|
63
|
+
"component",
|
|
64
|
+
"children",
|
|
65
|
+
"className",
|
|
66
|
+
"locked",
|
|
67
|
+
"noPadding",
|
|
68
|
+
"paddedLeft",
|
|
69
|
+
"style",
|
|
70
|
+
"onClick",
|
|
71
|
+
"onRightClick",
|
|
72
|
+
"error",
|
|
73
|
+
"warning",
|
|
74
|
+
"center",
|
|
75
|
+
"width",
|
|
76
|
+
"minWidth",
|
|
77
|
+
"disabled",
|
|
78
|
+
"testid"
|
|
79
|
+
]);
|
|
60
80
|
const Element = type === "header" ? "th" : "td";
|
|
61
81
|
const timerRef = useRef(null);
|
|
62
82
|
const [isGrabbing, setIsGrabbing] = useState(false);
|
|
@@ -125,11 +145,12 @@ var DataGridCell = memo(
|
|
|
125
145
|
);
|
|
126
146
|
return /* @__PURE__ */ jsx(
|
|
127
147
|
Element,
|
|
128
|
-
{
|
|
148
|
+
__spreadProps(__spreadValues({
|
|
129
149
|
id,
|
|
130
150
|
"data-testid": testid,
|
|
131
151
|
className: clsx("flex h-10", !width && "flex-1"),
|
|
132
|
-
style: { width, minWidth }
|
|
152
|
+
style: { width, minWidth }
|
|
153
|
+
}, props), {
|
|
133
154
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
134
155
|
children: /* @__PURE__ */ jsx(
|
|
135
156
|
"div",
|
|
@@ -146,7 +167,7 @@ var DataGridCell = memo(
|
|
|
146
167
|
children
|
|
147
168
|
}
|
|
148
169
|
)
|
|
149
|
-
}
|
|
170
|
+
})
|
|
150
171
|
);
|
|
151
172
|
}
|
|
152
173
|
);
|
|
@@ -2220,26 +2220,46 @@ Search.displayName = "Search";
|
|
|
2220
2220
|
// src/components/DataGridCell.tsx
|
|
2221
2221
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2222
2222
|
var DataGridCell = (0, import_react12.memo)(
|
|
2223
|
-
({
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2223
|
+
(_a) => {
|
|
2224
|
+
var _b = _a, {
|
|
2225
|
+
id,
|
|
2226
|
+
type = "default",
|
|
2227
|
+
component = "static",
|
|
2228
|
+
children,
|
|
2229
|
+
className,
|
|
2230
|
+
locked = false,
|
|
2231
|
+
noPadding = false,
|
|
2232
|
+
paddedLeft = false,
|
|
2233
|
+
style,
|
|
2234
|
+
onClick,
|
|
2235
|
+
onRightClick,
|
|
2236
|
+
error,
|
|
2237
|
+
warning,
|
|
2238
|
+
center,
|
|
2239
|
+
width,
|
|
2240
|
+
minWidth,
|
|
2241
|
+
disabled,
|
|
2242
|
+
testid
|
|
2243
|
+
} = _b, props = __objRest(_b, [
|
|
2244
|
+
"id",
|
|
2245
|
+
"type",
|
|
2246
|
+
"component",
|
|
2247
|
+
"children",
|
|
2248
|
+
"className",
|
|
2249
|
+
"locked",
|
|
2250
|
+
"noPadding",
|
|
2251
|
+
"paddedLeft",
|
|
2252
|
+
"style",
|
|
2253
|
+
"onClick",
|
|
2254
|
+
"onRightClick",
|
|
2255
|
+
"error",
|
|
2256
|
+
"warning",
|
|
2257
|
+
"center",
|
|
2258
|
+
"width",
|
|
2259
|
+
"minWidth",
|
|
2260
|
+
"disabled",
|
|
2261
|
+
"testid"
|
|
2262
|
+
]);
|
|
2243
2263
|
const Element = type === "header" ? "th" : "td";
|
|
2244
2264
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2245
2265
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2308,11 +2328,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2308
2328
|
);
|
|
2309
2329
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2310
2330
|
Element,
|
|
2311
|
-
{
|
|
2331
|
+
__spreadProps(__spreadValues({
|
|
2312
2332
|
id,
|
|
2313
2333
|
"data-testid": testid,
|
|
2314
2334
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2315
|
-
style: { width, minWidth }
|
|
2335
|
+
style: { width, minWidth }
|
|
2336
|
+
}, props), {
|
|
2316
2337
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2317
2338
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2318
2339
|
"div",
|
|
@@ -2329,7 +2350,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2329
2350
|
children
|
|
2330
2351
|
}
|
|
2331
2352
|
)
|
|
2332
|
-
}
|
|
2353
|
+
})
|
|
2333
2354
|
);
|
|
2334
2355
|
}
|
|
2335
2356
|
);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CalendarRange,
|
|
3
3
|
CalendarRange_default,
|
|
4
4
|
isWeekend
|
|
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
|
ColumnSelectorMenuOption
|
|
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
|
ColumnSelectorHeaderCell
|
|
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
|
PinnedColumns
|
|
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";
|
|
@@ -2213,26 +2213,46 @@ Search.displayName = "Search";
|
|
|
2213
2213
|
// src/components/DataGridCell.tsx
|
|
2214
2214
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2215
2215
|
var DataGridCell = (0, import_react12.memo)(
|
|
2216
|
-
({
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2216
|
+
(_a) => {
|
|
2217
|
+
var _b = _a, {
|
|
2218
|
+
id,
|
|
2219
|
+
type = "default",
|
|
2220
|
+
component = "static",
|
|
2221
|
+
children,
|
|
2222
|
+
className,
|
|
2223
|
+
locked = false,
|
|
2224
|
+
noPadding = false,
|
|
2225
|
+
paddedLeft = false,
|
|
2226
|
+
style,
|
|
2227
|
+
onClick,
|
|
2228
|
+
onRightClick,
|
|
2229
|
+
error,
|
|
2230
|
+
warning,
|
|
2231
|
+
center,
|
|
2232
|
+
width,
|
|
2233
|
+
minWidth,
|
|
2234
|
+
disabled,
|
|
2235
|
+
testid
|
|
2236
|
+
} = _b, props = __objRest(_b, [
|
|
2237
|
+
"id",
|
|
2238
|
+
"type",
|
|
2239
|
+
"component",
|
|
2240
|
+
"children",
|
|
2241
|
+
"className",
|
|
2242
|
+
"locked",
|
|
2243
|
+
"noPadding",
|
|
2244
|
+
"paddedLeft",
|
|
2245
|
+
"style",
|
|
2246
|
+
"onClick",
|
|
2247
|
+
"onRightClick",
|
|
2248
|
+
"error",
|
|
2249
|
+
"warning",
|
|
2250
|
+
"center",
|
|
2251
|
+
"width",
|
|
2252
|
+
"minWidth",
|
|
2253
|
+
"disabled",
|
|
2254
|
+
"testid"
|
|
2255
|
+
]);
|
|
2236
2256
|
const Element = type === "header" ? "th" : "td";
|
|
2237
2257
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2238
2258
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2301,11 +2321,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2301
2321
|
);
|
|
2302
2322
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2303
2323
|
Element,
|
|
2304
|
-
{
|
|
2324
|
+
__spreadProps(__spreadValues({
|
|
2305
2325
|
id,
|
|
2306
2326
|
"data-testid": testid,
|
|
2307
2327
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2308
|
-
style: { width, minWidth }
|
|
2328
|
+
style: { width, minWidth }
|
|
2329
|
+
}, props), {
|
|
2309
2330
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2310
2331
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2311
2332
|
"div",
|
|
@@ -2322,7 +2343,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2322
2343
|
children
|
|
2323
2344
|
}
|
|
2324
2345
|
)
|
|
2325
|
-
}
|
|
2346
|
+
})
|
|
2326
2347
|
);
|
|
2327
2348
|
}
|
|
2328
2349
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadingCell
|
|
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";
|