@dmsi/wedgekit-react 0.0.887 → 0.0.888
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-5NRKL5CJ.js → chunk-JKCNHKVV.js} +23 -44
- package/dist/{chunk-4MF6JSE7.js → chunk-KVPAYT4Z.js} +1 -1
- package/dist/components/CalendarRange.cjs +23 -44
- package/dist/components/CalendarRange.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +23 -44
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +23 -44
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +2 -2
- package/dist/components/DataGrid/PinnedColumns.cjs +23 -44
- package/dist/components/DataGrid/PinnedColumns.js +2 -2
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +23 -44
- package/dist/components/DataGrid/TableBody/LoadingCell.js +2 -2
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +23 -44
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +2 -2
- package/dist/components/DataGrid/TableBody/index.cjs +23 -44
- package/dist/components/DataGrid/TableBody/index.js +2 -2
- package/dist/components/DataGrid/index.cjs +23 -44
- package/dist/components/DataGrid/index.js +2 -2
- package/dist/components/DataGrid/utils.cjs +23 -44
- package/dist/components/DataGrid/utils.js +2 -2
- package/dist/components/DataGridCell.cjs +23 -44
- package/dist/components/DataGridCell.js +1 -1
- package/dist/components/DateInput.cjs +23 -44
- package/dist/components/DateInput.js +2 -2
- package/dist/components/DateRangeInput.cjs +23 -44
- package/dist/components/DateRangeInput.js +2 -2
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +23 -44
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +23 -44
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +2 -2
- package/dist/components/MobileDataGrid/index.cjs +23 -44
- package/dist/components/MobileDataGrid/index.js +2 -2
- package/dist/components/index.cjs +23 -44
- package/dist/components/index.js +2 -2
- package/package.json +1 -1
|
@@ -2216,46 +2216,26 @@ 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
|
-
|
|
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
|
-
]);
|
|
2219
|
+
({
|
|
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
|
+
}) => {
|
|
2259
2239
|
const Element = type === "header" ? "th" : "td";
|
|
2260
2240
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2261
2241
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2324,12 +2304,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2324
2304
|
);
|
|
2325
2305
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2326
2306
|
Element,
|
|
2327
|
-
|
|
2307
|
+
{
|
|
2328
2308
|
id,
|
|
2329
2309
|
"data-testid": testid,
|
|
2330
2310
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2331
|
-
style: { width, minWidth }
|
|
2332
|
-
}, props), {
|
|
2311
|
+
style: { width, minWidth },
|
|
2333
2312
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2334
2313
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2335
2314
|
"div",
|
|
@@ -2346,7 +2325,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2346
2325
|
children
|
|
2347
2326
|
}
|
|
2348
2327
|
)
|
|
2349
|
-
}
|
|
2328
|
+
}
|
|
2350
2329
|
);
|
|
2351
2330
|
}
|
|
2352
2331
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBodyRow
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../../chunk-UAMI54FE.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-JKCNHKVV.js";
|
|
42
42
|
import "../../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../../chunk-X3NDEFVA.js";
|
|
@@ -2214,46 +2214,26 @@ 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
|
-
|
|
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
|
-
]);
|
|
2217
|
+
({
|
|
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
|
+
}) => {
|
|
2257
2237
|
const Element = type === "header" ? "th" : "td";
|
|
2258
2238
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2259
2239
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2322,12 +2302,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2322
2302
|
);
|
|
2323
2303
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2324
2304
|
Element,
|
|
2325
|
-
|
|
2305
|
+
{
|
|
2326
2306
|
id,
|
|
2327
2307
|
"data-testid": testid,
|
|
2328
2308
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2329
|
-
style: { width, minWidth }
|
|
2330
|
-
}, props), {
|
|
2309
|
+
style: { width, minWidth },
|
|
2331
2310
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2332
2311
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2333
2312
|
"div",
|
|
@@ -2344,7 +2323,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2344
2323
|
children
|
|
2345
2324
|
}
|
|
2346
2325
|
)
|
|
2347
|
-
}
|
|
2326
|
+
}
|
|
2348
2327
|
);
|
|
2349
2328
|
}
|
|
2350
2329
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBody
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../../chunk-UAMI54FE.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-JKCNHKVV.js";
|
|
42
42
|
import "../../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../../chunk-X3NDEFVA.js";
|
|
@@ -2215,46 +2215,26 @@ 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
|
-
|
|
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
|
-
]);
|
|
2218
|
+
({
|
|
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
|
+
}) => {
|
|
2258
2238
|
const Element = type === "header" ? "th" : "td";
|
|
2259
2239
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2260
2240
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2323,12 +2303,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2323
2303
|
);
|
|
2324
2304
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2325
2305
|
Element,
|
|
2326
|
-
|
|
2306
|
+
{
|
|
2327
2307
|
id,
|
|
2328
2308
|
"data-testid": testid,
|
|
2329
2309
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2330
|
-
style: { width, minWidth }
|
|
2331
|
-
}, props), {
|
|
2310
|
+
style: { width, minWidth },
|
|
2332
2311
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2333
2312
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2334
2313
|
"div",
|
|
@@ -2345,7 +2324,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2345
2324
|
children
|
|
2346
2325
|
}
|
|
2347
2326
|
)
|
|
2348
|
-
}
|
|
2327
|
+
}
|
|
2349
2328
|
);
|
|
2350
2329
|
}
|
|
2351
2330
|
);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DataGrid,
|
|
4
4
|
DataGrid_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-KVPAYT4Z.js";
|
|
6
6
|
import "../../chunk-4DPSNQCM.js";
|
|
7
7
|
import "../../chunk-Q4YDNW7N.js";
|
|
8
8
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -40,7 +40,7 @@ import "../../chunk-UAMI54FE.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-JKCNHKVV.js";
|
|
44
44
|
import "../../chunk-OM7QLLI2.js";
|
|
45
45
|
import "../../chunk-PE3EZP56.js";
|
|
46
46
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2214,46 +2214,26 @@ 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
|
-
|
|
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
|
-
]);
|
|
2217
|
+
({
|
|
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
|
+
}) => {
|
|
2257
2237
|
const Element = type === "header" ? "th" : "td";
|
|
2258
2238
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2259
2239
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2322,12 +2302,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2322
2302
|
);
|
|
2323
2303
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2324
2304
|
Element,
|
|
2325
|
-
|
|
2305
|
+
{
|
|
2326
2306
|
id,
|
|
2327
2307
|
"data-testid": testid,
|
|
2328
2308
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2329
|
-
style: { width, minWidth }
|
|
2330
|
-
}, props), {
|
|
2309
|
+
style: { width, minWidth },
|
|
2331
2310
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2332
2311
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2333
2312
|
"div",
|
|
@@ -2344,7 +2323,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2344
2323
|
children
|
|
2345
2324
|
}
|
|
2346
2325
|
)
|
|
2347
|
-
}
|
|
2326
|
+
}
|
|
2348
2327
|
);
|
|
2349
2328
|
}
|
|
2350
2329
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSortIcon
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../chunk-UAMI54FE.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-JKCNHKVV.js";
|
|
42
42
|
import "../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2003,46 +2003,26 @@ 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
|
-
|
|
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
|
-
]);
|
|
2006
|
+
({
|
|
2007
|
+
id,
|
|
2008
|
+
type = "default",
|
|
2009
|
+
component = "static",
|
|
2010
|
+
children,
|
|
2011
|
+
className,
|
|
2012
|
+
locked = false,
|
|
2013
|
+
noPadding = false,
|
|
2014
|
+
paddedLeft = false,
|
|
2015
|
+
style,
|
|
2016
|
+
onClick,
|
|
2017
|
+
onRightClick,
|
|
2018
|
+
error,
|
|
2019
|
+
warning,
|
|
2020
|
+
center,
|
|
2021
|
+
width,
|
|
2022
|
+
minWidth,
|
|
2023
|
+
disabled,
|
|
2024
|
+
testid
|
|
2025
|
+
}) => {
|
|
2046
2026
|
const Element = type === "header" ? "th" : "td";
|
|
2047
2027
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2048
2028
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2111,12 +2091,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2111
2091
|
);
|
|
2112
2092
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2113
2093
|
Element,
|
|
2114
|
-
|
|
2094
|
+
{
|
|
2115
2095
|
id,
|
|
2116
2096
|
"data-testid": testid,
|
|
2117
2097
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2118
|
-
style: { width, minWidth }
|
|
2119
|
-
}, props), {
|
|
2098
|
+
style: { width, minWidth },
|
|
2120
2099
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2121
2100
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2122
2101
|
"div",
|
|
@@ -2133,7 +2112,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2133
2112
|
children
|
|
2134
2113
|
}
|
|
2135
2114
|
)
|
|
2136
|
-
}
|
|
2115
|
+
}
|
|
2137
2116
|
);
|
|
2138
2117
|
}
|
|
2139
2118
|
);
|
|
@@ -2221,46 +2221,26 @@ 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
|
-
|
|
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
|
-
]);
|
|
2224
|
+
({
|
|
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
|
+
}) => {
|
|
2264
2244
|
const Element = type === "header" ? "th" : "td";
|
|
2265
2245
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2266
2246
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2329,12 +2309,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2329
2309
|
);
|
|
2330
2310
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2331
2311
|
Element,
|
|
2332
|
-
|
|
2312
|
+
{
|
|
2333
2313
|
id,
|
|
2334
2314
|
"data-testid": testid,
|
|
2335
2315
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2336
|
-
style: { width, minWidth }
|
|
2337
|
-
}, props), {
|
|
2316
|
+
style: { width, minWidth },
|
|
2338
2317
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2339
2318
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2340
2319
|
"div",
|
|
@@ -2351,7 +2330,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2351
2330
|
children
|
|
2352
2331
|
}
|
|
2353
2332
|
)
|
|
2354
|
-
}
|
|
2333
|
+
}
|
|
2355
2334
|
);
|
|
2356
2335
|
}
|
|
2357
2336
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DateInput
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../chunk-UAMI54FE.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-JKCNHKVV.js";
|
|
42
42
|
import "../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../chunk-PE3EZP56.js";
|
|
44
44
|
import "../chunk-X3NDEFVA.js";
|