@dmsi/wedgekit-react 0.0.850 → 0.0.852
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-SZ47M32R.js +13 -0
- package/dist/components/CalendarRange.cjs +29 -25
- package/dist/components/CalendarRange.css +17 -0
- package/dist/components/CalendarRange.js +5 -4
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +6 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +17 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +5 -4
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +13 -9
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +17 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +5 -4
- package/dist/components/DataGrid/PinnedColumns.cjs +24 -20
- package/dist/components/DataGrid/PinnedColumns.css +17 -0
- package/dist/components/DataGrid/PinnedColumns.js +5 -4
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +9 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.css +17 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +5 -4
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +11 -7
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +17 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +5 -4
- package/dist/components/DataGrid/TableBody/index.cjs +24 -20
- package/dist/components/DataGrid/TableBody/index.css +17 -0
- package/dist/components/DataGrid/TableBody/index.js +5 -4
- package/dist/components/DataGrid/index.cjs +84 -80
- package/dist/components/DataGrid/index.css +17 -0
- package/dist/components/DataGrid/index.js +5 -4
- package/dist/components/DataGrid/utils.cjs +7 -3
- package/dist/components/DataGrid/utils.css +17 -0
- package/dist/components/DataGrid/utils.js +5 -4
- package/dist/components/DateInput.cjs +35 -31
- package/dist/components/DateInput.css +17 -0
- package/dist/components/DateInput.js +5 -4
- package/dist/components/DateRangeInput.cjs +35 -31
- package/dist/components/DateRangeInput.css +17 -0
- package/dist/components/DateRangeInput.js +5 -4
- package/dist/components/EmblaCarousel/index.cjs +47 -0
- package/dist/components/EmblaCarousel/index.js +9 -0
- package/dist/components/MobileDataGrid/ColumnList.css +17 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +12 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +17 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +5 -4
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +20 -16
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +17 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +5 -4
- package/dist/components/MobileDataGrid/index.cjs +93 -89
- package/dist/components/MobileDataGrid/index.css +17 -0
- package/dist/components/MobileDataGrid/index.js +5 -4
- package/dist/components/ProductImagePreview/index.js +2 -2
- package/dist/components/index.cjs +10 -0
- package/dist/components/index.css +17 -0
- package/dist/components/index.js +8 -4
- package/dist/index.css +17 -0
- package/package.json +3 -1
- package/dist/{chunk-GQDUOL5Y.js → chunk-C5DKGJ4E.js} +3 -3
- /package/dist/{chunk-UIF3AIAT.js → chunk-ILHEM6BK.js} +0 -0
|
@@ -5803,6 +5803,10 @@ var import_clsx41 = __toESM(require("clsx"), 1);
|
|
|
5803
5803
|
var import_react37 = require("react");
|
|
5804
5804
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5805
5805
|
|
|
5806
|
+
// src/components/EmblaCarousel/index.tsx
|
|
5807
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5808
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5809
|
+
|
|
5806
5810
|
// src/components/DataGrid/PinnedColumns.tsx
|
|
5807
5811
|
var import_clsx42 = __toESM(require("clsx"), 1);
|
|
5808
5812
|
var import_react40 = __toESM(require("react"), 1);
|
|
@@ -5812,7 +5816,7 @@ var import_react39 = require("react");
|
|
|
5812
5816
|
|
|
5813
5817
|
// src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
|
|
5814
5818
|
var import_react38 = require("react");
|
|
5815
|
-
var
|
|
5819
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5816
5820
|
function ColumnSelectorMenuOption({
|
|
5817
5821
|
id,
|
|
5818
5822
|
testid,
|
|
@@ -5821,7 +5825,7 @@ function ColumnSelectorMenuOption({
|
|
|
5821
5825
|
}) {
|
|
5822
5826
|
const [isVisible, setIsVisible] = (0, import_react38.useState)(column.getIsVisible());
|
|
5823
5827
|
const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
|
|
5824
|
-
return /* @__PURE__ */ (0,
|
|
5828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
5825
5829
|
Checkbox,
|
|
5826
5830
|
{
|
|
5827
5831
|
id: id ? `${id}-checkbox` : void 0,
|
|
@@ -5837,7 +5841,7 @@ function ColumnSelectorMenuOption({
|
|
|
5837
5841
|
}
|
|
5838
5842
|
|
|
5839
5843
|
// src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
|
|
5840
|
-
var
|
|
5844
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5841
5845
|
function ColumnSelectorHeaderCell({
|
|
5842
5846
|
id,
|
|
5843
5847
|
testid,
|
|
@@ -5847,7 +5851,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5847
5851
|
}) {
|
|
5848
5852
|
const ref = (0, import_react39.useRef)(null);
|
|
5849
5853
|
const [show, setShow] = (0, import_react39.useState)(false);
|
|
5850
|
-
return /* @__PURE__ */ (0,
|
|
5854
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
5851
5855
|
DataGridCell,
|
|
5852
5856
|
{
|
|
5853
5857
|
id,
|
|
@@ -5857,7 +5861,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5857
5861
|
color: "text-secondary-normal",
|
|
5858
5862
|
ref,
|
|
5859
5863
|
children: [
|
|
5860
|
-
/* @__PURE__ */ (0,
|
|
5864
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5861
5865
|
Button,
|
|
5862
5866
|
{
|
|
5863
5867
|
id: id ? `${id}-button` : void 0,
|
|
@@ -5865,10 +5869,10 @@ function ColumnSelectorHeaderCell({
|
|
|
5865
5869
|
onClick: () => setShow((prev) => !prev),
|
|
5866
5870
|
variant: "navigation",
|
|
5867
5871
|
iconOnly: true,
|
|
5868
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5872
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { name: "tune" })
|
|
5869
5873
|
}
|
|
5870
5874
|
),
|
|
5871
|
-
/* @__PURE__ */ (0,
|
|
5875
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
5872
5876
|
Menu,
|
|
5873
5877
|
{
|
|
5874
5878
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -5879,7 +5883,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5879
5883
|
setShow,
|
|
5880
5884
|
calculateMinMaxHeight: true,
|
|
5881
5885
|
children: [
|
|
5882
|
-
/* @__PURE__ */ (0,
|
|
5886
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5883
5887
|
Button,
|
|
5884
5888
|
{
|
|
5885
5889
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -5895,7 +5899,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5895
5899
|
table.getAllColumns().filter((x) => {
|
|
5896
5900
|
var _a;
|
|
5897
5901
|
return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
5898
|
-
}).map((column) => /* @__PURE__ */ (0,
|
|
5902
|
+
}).map((column) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5899
5903
|
ColumnSelectorMenuOption,
|
|
5900
5904
|
{
|
|
5901
5905
|
id: id ? `${id}-option-${column.id}` : void 0,
|
|
@@ -5914,7 +5918,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5914
5918
|
}
|
|
5915
5919
|
|
|
5916
5920
|
// src/components/DataGrid/PinnedColumns.tsx
|
|
5917
|
-
var
|
|
5921
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5918
5922
|
function PinnedColumns(_a) {
|
|
5919
5923
|
var _b = _a, {
|
|
5920
5924
|
id,
|
|
@@ -5946,7 +5950,7 @@ function PinnedColumns(_a) {
|
|
|
5946
5950
|
const pinnedTestId = testid ? `${pinDirection}-pinned-${testid}` : void 0;
|
|
5947
5951
|
const hasAnyHeaders = ((_a2 = headerGroups[0]) == null ? void 0 : _a2.headers.length) > 0;
|
|
5948
5952
|
if (!hasAnyHeaders && !enableColumnSelector) return;
|
|
5949
|
-
return /* @__PURE__ */ (0,
|
|
5953
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5950
5954
|
"table",
|
|
5951
5955
|
{
|
|
5952
5956
|
className: (0, import_clsx42.default)(
|
|
@@ -5955,8 +5959,8 @@ function PinnedColumns(_a) {
|
|
|
5955
5959
|
),
|
|
5956
5960
|
"data-testid": pinnedTestId,
|
|
5957
5961
|
children: [
|
|
5958
|
-
/* @__PURE__ */ (0,
|
|
5959
|
-
return /* @__PURE__ */ (0,
|
|
5962
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("thead", { className: "sticky top-0 z-20 grid", children: headerGroups.map((headerGroup) => {
|
|
5963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5960
5964
|
"tr",
|
|
5961
5965
|
{
|
|
5962
5966
|
"data-testid": pinnedTestId ? `${pinnedTestId}-header-row-${headerGroup.id}` : void 0,
|
|
@@ -5971,7 +5975,7 @@ function PinnedColumns(_a) {
|
|
|
5971
5975
|
const cellAlignment = (_c = (_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
|
|
5972
5976
|
if (typeof header.column.columnDef.header === "string") {
|
|
5973
5977
|
const customHeaderWidth = (_d = header.column.columnDef.meta) == null ? void 0 : _d.headerWidth;
|
|
5974
|
-
return /* @__PURE__ */ (0,
|
|
5978
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5975
5979
|
DataCellHeader,
|
|
5976
5980
|
{
|
|
5977
5981
|
locked: true,
|
|
@@ -5988,11 +5992,11 @@ function PinnedColumns(_a) {
|
|
|
5988
5992
|
}
|
|
5989
5993
|
),
|
|
5990
5994
|
children: [
|
|
5991
|
-
/* @__PURE__ */ (0,
|
|
5995
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
|
|
5992
5996
|
getSortIcon(header.column.getIsSorted()),
|
|
5993
5997
|
!header.column.getIsSorted() && header.column.getCanSort() && getSortIcon(header.column.getNextSortingOrder(), true),
|
|
5994
|
-
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0,
|
|
5995
|
-
!((_e = header.column.columnDef.meta) == null ? void 0 : _e.locked) && /* @__PURE__ */ (0,
|
|
5998
|
+
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
|
|
5999
|
+
!((_e = header.column.columnDef.meta) == null ? void 0 : _e.locked) && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5996
6000
|
"div",
|
|
5997
6001
|
{
|
|
5998
6002
|
onDoubleClick: (e) => {
|
|
@@ -6015,7 +6019,7 @@ function PinnedColumns(_a) {
|
|
|
6015
6019
|
header.id
|
|
6016
6020
|
);
|
|
6017
6021
|
}
|
|
6018
|
-
return /* @__PURE__ */ (0,
|
|
6022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react40.default.Fragment, { children: ((_f = header.column.columnDef.meta) == null ? void 0 : _f.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DataGridCell, { type: "header", component: "checkbox", locked: true, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6019
6023
|
Checkbox,
|
|
6020
6024
|
{
|
|
6021
6025
|
checked: allSelectedAcrossPages,
|
|
@@ -6027,7 +6031,7 @@ function PinnedColumns(_a) {
|
|
|
6027
6031
|
header.getContext()
|
|
6028
6032
|
) }, header.id);
|
|
6029
6033
|
}),
|
|
6030
|
-
enableColumnSelector && /* @__PURE__ */ (0,
|
|
6034
|
+
enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6031
6035
|
ColumnSelectorHeaderCell,
|
|
6032
6036
|
{
|
|
6033
6037
|
id: id ? `${id}-column-selector` : void 0,
|
|
@@ -6044,7 +6048,7 @@ function PinnedColumns(_a) {
|
|
|
6044
6048
|
headerGroup.id
|
|
6045
6049
|
);
|
|
6046
6050
|
}) }),
|
|
6047
|
-
/* @__PURE__ */ (0,
|
|
6051
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6048
6052
|
TableBody,
|
|
6049
6053
|
__spreadProps(__spreadValues({
|
|
6050
6054
|
testid: pinnedTestId
|
|
@@ -632,6 +632,9 @@
|
|
|
632
632
|
.m-4 {
|
|
633
633
|
margin: calc(var(--spacing) * 4);
|
|
634
634
|
}
|
|
635
|
+
.m-auto {
|
|
636
|
+
margin: auto;
|
|
637
|
+
}
|
|
635
638
|
.m-mobile-container-padding {
|
|
636
639
|
margin: var(--spacing-mobile-container-padding);
|
|
637
640
|
}
|
|
@@ -1031,6 +1034,14 @@
|
|
|
1031
1034
|
.cursor-pointer {
|
|
1032
1035
|
cursor: pointer;
|
|
1033
1036
|
}
|
|
1037
|
+
.touch-pan-y {
|
|
1038
|
+
--tw-pan-y: pan-y;
|
|
1039
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1040
|
+
}
|
|
1041
|
+
.touch-pinch-zoom {
|
|
1042
|
+
--tw-pinch-zoom: pinch-zoom;
|
|
1043
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1044
|
+
}
|
|
1034
1045
|
.resize {
|
|
1035
1046
|
resize: both;
|
|
1036
1047
|
}
|
|
@@ -5254,6 +5265,9 @@ body {
|
|
|
5254
5265
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
5255
5266
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
5256
5267
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
5268
|
+
@property --tw-pan-x { syntax: "*"; inherits: false; }
|
|
5269
|
+
@property --tw-pan-y { syntax: "*"; inherits: false; }
|
|
5270
|
+
@property --tw-pinch-zoom { syntax: "*"; inherits: false; }
|
|
5257
5271
|
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5258
5272
|
@property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5259
5273
|
@property --tw-divide-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -5328,6 +5342,9 @@ body {
|
|
|
5328
5342
|
--tw-rotate-z: initial;
|
|
5329
5343
|
--tw-skew-x: initial;
|
|
5330
5344
|
--tw-skew-y: initial;
|
|
5345
|
+
--tw-pan-x: initial;
|
|
5346
|
+
--tw-pan-y: initial;
|
|
5347
|
+
--tw-pinch-zoom: initial;
|
|
5331
5348
|
--tw-space-y-reverse: 0;
|
|
5332
5349
|
--tw-space-x-reverse: 0;
|
|
5333
5350
|
--tw-divide-x-reverse: 0;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PinnedColumns
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-ILHEM6BK.js";
|
|
4
4
|
import "../../chunk-WJJB7IJZ.js";
|
|
5
|
-
import "../../chunk-M7INAUAJ.js";
|
|
6
5
|
import "../../chunk-Q4YDNW7N.js";
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-M7INAUAJ.js";
|
|
7
|
+
import "../../chunk-C5DKGJ4E.js";
|
|
8
|
+
import "../../chunk-2IKT6IHB.js";
|
|
8
9
|
import "../../chunk-YCDDBSVU.js";
|
|
9
10
|
import "../../chunk-3X3Y4TMS.js";
|
|
10
11
|
import "../../chunk-BQNPOGD5.js";
|
|
11
12
|
import "../../chunk-Y5GD2FJA.js";
|
|
12
13
|
import "../../chunk-MBZ55T2D.js";
|
|
13
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-SZ47M32R.js";
|
|
14
15
|
import "../../chunk-B4AE3DCA.js";
|
|
15
16
|
import "../../chunk-FP3Y5JJN.js";
|
|
16
17
|
import "../../chunk-5IFPG6TS.js";
|
|
@@ -6028,8 +6028,12 @@ var import_clsx42 = __toESM(require("clsx"), 1);
|
|
|
6028
6028
|
var import_react40 = require("react");
|
|
6029
6029
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6030
6030
|
|
|
6031
|
-
// src/components/
|
|
6031
|
+
// src/components/EmblaCarousel/index.tsx
|
|
6032
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
6032
6033
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6034
|
+
|
|
6035
|
+
// src/components/DataGrid/TableBody/LoadingCell.tsx
|
|
6036
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6033
6037
|
function LoadingCell({
|
|
6034
6038
|
id,
|
|
6035
6039
|
testid,
|
|
@@ -6037,16 +6041,16 @@ function LoadingCell({
|
|
|
6037
6041
|
}) {
|
|
6038
6042
|
const key = `loading-${column.id}`;
|
|
6039
6043
|
if (column.cell === "checkbox") {
|
|
6040
|
-
return /* @__PURE__ */ (0,
|
|
6044
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Checkbox, { id: id ? `${id}-${key}-checkbox` : void 0, testid: testid ? `${testid}-${key}-checkbox` : void 0, disabled: true }) }, key);
|
|
6041
6045
|
}
|
|
6042
6046
|
if (column.cell === "input") {
|
|
6043
|
-
return /* @__PURE__ */ (0,
|
|
6047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6044
6048
|
DataGridCell,
|
|
6045
6049
|
{
|
|
6046
6050
|
id: id ? `${id}-${key}` : void 0,
|
|
6047
6051
|
testid: testid ? `${testid}-${key}` : void 0,
|
|
6048
6052
|
component: "input",
|
|
6049
|
-
children: /* @__PURE__ */ (0,
|
|
6053
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6050
6054
|
Input,
|
|
6051
6055
|
{
|
|
6052
6056
|
id: id ? `${id}-${key}-input` : void 0,
|
|
@@ -6060,7 +6064,7 @@ function LoadingCell({
|
|
|
6060
6064
|
key
|
|
6061
6065
|
);
|
|
6062
6066
|
}
|
|
6063
|
-
return /* @__PURE__ */ (0,
|
|
6067
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "bg-linear-270 to-neutral-300/[24%] from-neutral-300/[12%] rounded-xs w-full max-w-25 h-6" }) }, key);
|
|
6064
6068
|
}
|
|
6065
6069
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6066
6070
|
0 && (module.exports = {
|
|
@@ -632,6 +632,9 @@
|
|
|
632
632
|
.m-4 {
|
|
633
633
|
margin: calc(var(--spacing) * 4);
|
|
634
634
|
}
|
|
635
|
+
.m-auto {
|
|
636
|
+
margin: auto;
|
|
637
|
+
}
|
|
635
638
|
.m-mobile-container-padding {
|
|
636
639
|
margin: var(--spacing-mobile-container-padding);
|
|
637
640
|
}
|
|
@@ -1031,6 +1034,14 @@
|
|
|
1031
1034
|
.cursor-pointer {
|
|
1032
1035
|
cursor: pointer;
|
|
1033
1036
|
}
|
|
1037
|
+
.touch-pan-y {
|
|
1038
|
+
--tw-pan-y: pan-y;
|
|
1039
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1040
|
+
}
|
|
1041
|
+
.touch-pinch-zoom {
|
|
1042
|
+
--tw-pinch-zoom: pinch-zoom;
|
|
1043
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1044
|
+
}
|
|
1034
1045
|
.resize {
|
|
1035
1046
|
resize: both;
|
|
1036
1047
|
}
|
|
@@ -5254,6 +5265,9 @@ body {
|
|
|
5254
5265
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
5255
5266
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
5256
5267
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
5268
|
+
@property --tw-pan-x { syntax: "*"; inherits: false; }
|
|
5269
|
+
@property --tw-pan-y { syntax: "*"; inherits: false; }
|
|
5270
|
+
@property --tw-pinch-zoom { syntax: "*"; inherits: false; }
|
|
5257
5271
|
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5258
5272
|
@property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5259
5273
|
@property --tw-divide-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -5328,6 +5342,9 @@ body {
|
|
|
5328
5342
|
--tw-rotate-z: initial;
|
|
5329
5343
|
--tw-skew-x: initial;
|
|
5330
5344
|
--tw-skew-y: initial;
|
|
5345
|
+
--tw-pan-x: initial;
|
|
5346
|
+
--tw-pan-y: initial;
|
|
5347
|
+
--tw-pinch-zoom: initial;
|
|
5331
5348
|
--tw-space-y-reverse: 0;
|
|
5332
5349
|
--tw-space-x-reverse: 0;
|
|
5333
5350
|
--tw-divide-x-reverse: 0;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadingCell
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-ILHEM6BK.js";
|
|
4
4
|
import "../../../chunk-WJJB7IJZ.js";
|
|
5
|
-
import "../../../chunk-M7INAUAJ.js";
|
|
6
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-M7INAUAJ.js";
|
|
7
|
+
import "../../../chunk-C5DKGJ4E.js";
|
|
8
|
+
import "../../../chunk-2IKT6IHB.js";
|
|
8
9
|
import "../../../chunk-YCDDBSVU.js";
|
|
9
10
|
import "../../../chunk-3X3Y4TMS.js";
|
|
10
11
|
import "../../../chunk-BQNPOGD5.js";
|
|
11
12
|
import "../../../chunk-Y5GD2FJA.js";
|
|
12
13
|
import "../../../chunk-MBZ55T2D.js";
|
|
13
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-SZ47M32R.js";
|
|
14
15
|
import "../../../chunk-B4AE3DCA.js";
|
|
15
16
|
import "../../../chunk-FP3Y5JJN.js";
|
|
16
17
|
import "../../../chunk-5IFPG6TS.js";
|
|
@@ -5955,8 +5955,12 @@ var import_clsx41 = __toESM(require("clsx"), 1);
|
|
|
5955
5955
|
var import_react39 = require("react");
|
|
5956
5956
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5957
5957
|
|
|
5958
|
-
// src/components/
|
|
5958
|
+
// src/components/EmblaCarousel/index.tsx
|
|
5959
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5959
5960
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5961
|
+
|
|
5962
|
+
// src/components/DataGrid/TableBody/TableBodyRow.tsx
|
|
5963
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5960
5964
|
var valueFormatters = {
|
|
5961
5965
|
date: (value) => typeof value === "string" ? formatDate(value) : "",
|
|
5962
5966
|
currency: (value) => formatCurrencyDisplay(value)
|
|
@@ -5993,7 +5997,7 @@ function TableBodyRow({
|
|
|
5993
5997
|
const isError = typeof row.original === "object" && row.original !== null && "rowState" in row.original && row.original.rowState === "error";
|
|
5994
5998
|
const CellElement = locked ? DataGridCell : DragAlongCell;
|
|
5995
5999
|
const isHovered = hoveredRowId === row.id;
|
|
5996
|
-
return /* @__PURE__ */ (0,
|
|
6000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5997
6001
|
"tr",
|
|
5998
6002
|
{
|
|
5999
6003
|
className: (0, import_clsx42.default)(
|
|
@@ -6017,7 +6021,7 @@ function TableBodyRow({
|
|
|
6017
6021
|
children: [
|
|
6018
6022
|
!locked && virtualPaddingLeft ? (
|
|
6019
6023
|
// fake empty column to the left for virtualization scroll padding
|
|
6020
|
-
/* @__PURE__ */ (0,
|
|
6024
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
|
|
6021
6025
|
) : null,
|
|
6022
6026
|
columns.map((column) => {
|
|
6023
6027
|
var _a2, _b, _c, _d;
|
|
@@ -6028,7 +6032,7 @@ function TableBodyRow({
|
|
|
6028
6032
|
const cellFormat = (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.format;
|
|
6029
6033
|
const cellValue = cellFormat && isValueFormatterKey(cellFormat) ? valueFormatters[cellFormat](cell.getValue()) : cell.getValue();
|
|
6030
6034
|
const cellAlignment = (_c = (_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
|
|
6031
|
-
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0,
|
|
6035
|
+
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react40.default.Fragment, { children: (0, import_react_table3.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6032
6036
|
CellElement,
|
|
6033
6037
|
{
|
|
6034
6038
|
id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
@@ -6038,7 +6042,7 @@ function TableBodyRow({
|
|
|
6038
6042
|
"justify-start": cellAlignment === "left",
|
|
6039
6043
|
"justify-end": cellAlignment === "right"
|
|
6040
6044
|
}),
|
|
6041
|
-
children: /* @__PURE__ */ (0,
|
|
6045
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6042
6046
|
Tooltip,
|
|
6043
6047
|
{
|
|
6044
6048
|
id: id ? `${id}-tooltip-${cell.id}` : void 0,
|
|
@@ -6046,7 +6050,7 @@ function TableBodyRow({
|
|
|
6046
6050
|
showOnTruncation: true,
|
|
6047
6051
|
message: cellValue,
|
|
6048
6052
|
position: "bottom",
|
|
6049
|
-
children: /* @__PURE__ */ (0,
|
|
6053
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
|
|
6050
6054
|
}
|
|
6051
6055
|
)
|
|
6052
6056
|
},
|
|
@@ -6055,7 +6059,7 @@ function TableBodyRow({
|
|
|
6055
6059
|
}),
|
|
6056
6060
|
!locked && virtualPaddingRight ? (
|
|
6057
6061
|
// fake empty column to the right for virtualization scroll padding
|
|
6058
|
-
/* @__PURE__ */ (0,
|
|
6062
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
|
|
6059
6063
|
) : null
|
|
6060
6064
|
]
|
|
6061
6065
|
},
|
|
@@ -632,6 +632,9 @@
|
|
|
632
632
|
.m-4 {
|
|
633
633
|
margin: calc(var(--spacing) * 4);
|
|
634
634
|
}
|
|
635
|
+
.m-auto {
|
|
636
|
+
margin: auto;
|
|
637
|
+
}
|
|
635
638
|
.m-mobile-container-padding {
|
|
636
639
|
margin: var(--spacing-mobile-container-padding);
|
|
637
640
|
}
|
|
@@ -1031,6 +1034,14 @@
|
|
|
1031
1034
|
.cursor-pointer {
|
|
1032
1035
|
cursor: pointer;
|
|
1033
1036
|
}
|
|
1037
|
+
.touch-pan-y {
|
|
1038
|
+
--tw-pan-y: pan-y;
|
|
1039
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1040
|
+
}
|
|
1041
|
+
.touch-pinch-zoom {
|
|
1042
|
+
--tw-pinch-zoom: pinch-zoom;
|
|
1043
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1044
|
+
}
|
|
1034
1045
|
.resize {
|
|
1035
1046
|
resize: both;
|
|
1036
1047
|
}
|
|
@@ -5254,6 +5265,9 @@ body {
|
|
|
5254
5265
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
5255
5266
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
5256
5267
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
5268
|
+
@property --tw-pan-x { syntax: "*"; inherits: false; }
|
|
5269
|
+
@property --tw-pan-y { syntax: "*"; inherits: false; }
|
|
5270
|
+
@property --tw-pinch-zoom { syntax: "*"; inherits: false; }
|
|
5257
5271
|
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5258
5272
|
@property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5259
5273
|
@property --tw-divide-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -5328,6 +5342,9 @@ body {
|
|
|
5328
5342
|
--tw-rotate-z: initial;
|
|
5329
5343
|
--tw-skew-x: initial;
|
|
5330
5344
|
--tw-skew-y: initial;
|
|
5345
|
+
--tw-pan-x: initial;
|
|
5346
|
+
--tw-pan-y: initial;
|
|
5347
|
+
--tw-pinch-zoom: initial;
|
|
5331
5348
|
--tw-space-y-reverse: 0;
|
|
5332
5349
|
--tw-space-x-reverse: 0;
|
|
5333
5350
|
--tw-divide-x-reverse: 0;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBodyRow
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-ILHEM6BK.js";
|
|
4
4
|
import "../../../chunk-WJJB7IJZ.js";
|
|
5
|
-
import "../../../chunk-M7INAUAJ.js";
|
|
6
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-M7INAUAJ.js";
|
|
7
|
+
import "../../../chunk-C5DKGJ4E.js";
|
|
8
|
+
import "../../../chunk-2IKT6IHB.js";
|
|
8
9
|
import "../../../chunk-YCDDBSVU.js";
|
|
9
10
|
import "../../../chunk-3X3Y4TMS.js";
|
|
10
11
|
import "../../../chunk-BQNPOGD5.js";
|
|
11
12
|
import "../../../chunk-Y5GD2FJA.js";
|
|
12
13
|
import "../../../chunk-MBZ55T2D.js";
|
|
13
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-SZ47M32R.js";
|
|
14
15
|
import "../../../chunk-B4AE3DCA.js";
|
|
15
16
|
import "../../../chunk-FP3Y5JJN.js";
|
|
16
17
|
import "../../../chunk-5IFPG6TS.js";
|
|
@@ -5767,6 +5767,10 @@ var import_clsx40 = __toESM(require("clsx"), 1);
|
|
|
5767
5767
|
var import_react39 = require("react");
|
|
5768
5768
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5769
5769
|
|
|
5770
|
+
// src/components/EmblaCarousel/index.tsx
|
|
5771
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5772
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5773
|
+
|
|
5770
5774
|
// src/components/DataGrid/TableBody/index.tsx
|
|
5771
5775
|
var import_clsx42 = __toESM(require("clsx"), 1);
|
|
5772
5776
|
|
|
@@ -5774,7 +5778,7 @@ var import_clsx42 = __toESM(require("clsx"), 1);
|
|
|
5774
5778
|
var import_clsx41 = __toESM(require("clsx"), 1);
|
|
5775
5779
|
var import_react_table3 = require("@tanstack/react-table");
|
|
5776
5780
|
var import_react40 = __toESM(require("react"), 1);
|
|
5777
|
-
var
|
|
5781
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5778
5782
|
var valueFormatters = {
|
|
5779
5783
|
date: (value) => typeof value === "string" ? formatDate(value) : "",
|
|
5780
5784
|
currency: (value) => formatCurrencyDisplay(value)
|
|
@@ -5811,7 +5815,7 @@ function TableBodyRow({
|
|
|
5811
5815
|
const isError = typeof row.original === "object" && row.original !== null && "rowState" in row.original && row.original.rowState === "error";
|
|
5812
5816
|
const CellElement = locked ? DataGridCell : DragAlongCell;
|
|
5813
5817
|
const isHovered = hoveredRowId === row.id;
|
|
5814
|
-
return /* @__PURE__ */ (0,
|
|
5818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
5815
5819
|
"tr",
|
|
5816
5820
|
{
|
|
5817
5821
|
className: (0, import_clsx41.default)(
|
|
@@ -5835,7 +5839,7 @@ function TableBodyRow({
|
|
|
5835
5839
|
children: [
|
|
5836
5840
|
!locked && virtualPaddingLeft ? (
|
|
5837
5841
|
// fake empty column to the left for virtualization scroll padding
|
|
5838
|
-
/* @__PURE__ */ (0,
|
|
5842
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
|
|
5839
5843
|
) : null,
|
|
5840
5844
|
columns.map((column) => {
|
|
5841
5845
|
var _a2, _b, _c, _d;
|
|
@@ -5846,7 +5850,7 @@ function TableBodyRow({
|
|
|
5846
5850
|
const cellFormat = (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.format;
|
|
5847
5851
|
const cellValue = cellFormat && isValueFormatterKey(cellFormat) ? valueFormatters[cellFormat](cell.getValue()) : cell.getValue();
|
|
5848
5852
|
const cellAlignment = (_c = (_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
|
|
5849
|
-
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0,
|
|
5853
|
+
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react40.default.Fragment, { children: (0, import_react_table3.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
5850
5854
|
CellElement,
|
|
5851
5855
|
{
|
|
5852
5856
|
id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
@@ -5856,7 +5860,7 @@ function TableBodyRow({
|
|
|
5856
5860
|
"justify-start": cellAlignment === "left",
|
|
5857
5861
|
"justify-end": cellAlignment === "right"
|
|
5858
5862
|
}),
|
|
5859
|
-
children: /* @__PURE__ */ (0,
|
|
5863
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
5860
5864
|
Tooltip,
|
|
5861
5865
|
{
|
|
5862
5866
|
id: id ? `${id}-tooltip-${cell.id}` : void 0,
|
|
@@ -5864,7 +5868,7 @@ function TableBodyRow({
|
|
|
5864
5868
|
showOnTruncation: true,
|
|
5865
5869
|
message: cellValue,
|
|
5866
5870
|
position: "bottom",
|
|
5867
|
-
children: /* @__PURE__ */ (0,
|
|
5871
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
|
|
5868
5872
|
}
|
|
5869
5873
|
)
|
|
5870
5874
|
},
|
|
@@ -5873,7 +5877,7 @@ function TableBodyRow({
|
|
|
5873
5877
|
}),
|
|
5874
5878
|
!locked && virtualPaddingRight ? (
|
|
5875
5879
|
// fake empty column to the right for virtualization scroll padding
|
|
5876
|
-
/* @__PURE__ */ (0,
|
|
5880
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
|
|
5877
5881
|
) : null
|
|
5878
5882
|
]
|
|
5879
5883
|
},
|
|
@@ -5882,7 +5886,7 @@ function TableBodyRow({
|
|
|
5882
5886
|
}
|
|
5883
5887
|
|
|
5884
5888
|
// src/components/DataGrid/TableBody/LoadingCell.tsx
|
|
5885
|
-
var
|
|
5889
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5886
5890
|
function LoadingCell({
|
|
5887
5891
|
id,
|
|
5888
5892
|
testid,
|
|
@@ -5890,16 +5894,16 @@ function LoadingCell({
|
|
|
5890
5894
|
}) {
|
|
5891
5895
|
const key = `loading-${column.id}`;
|
|
5892
5896
|
if (column.cell === "checkbox") {
|
|
5893
|
-
return /* @__PURE__ */ (0,
|
|
5897
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Checkbox, { id: id ? `${id}-${key}-checkbox` : void 0, testid: testid ? `${testid}-${key}-checkbox` : void 0, disabled: true }) }, key);
|
|
5894
5898
|
}
|
|
5895
5899
|
if (column.cell === "input") {
|
|
5896
|
-
return /* @__PURE__ */ (0,
|
|
5900
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5897
5901
|
DataGridCell,
|
|
5898
5902
|
{
|
|
5899
5903
|
id: id ? `${id}-${key}` : void 0,
|
|
5900
5904
|
testid: testid ? `${testid}-${key}` : void 0,
|
|
5901
5905
|
component: "input",
|
|
5902
|
-
children: /* @__PURE__ */ (0,
|
|
5906
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5903
5907
|
Input,
|
|
5904
5908
|
{
|
|
5905
5909
|
id: id ? `${id}-${key}-input` : void 0,
|
|
@@ -5913,11 +5917,11 @@ function LoadingCell({
|
|
|
5913
5917
|
key
|
|
5914
5918
|
);
|
|
5915
5919
|
}
|
|
5916
|
-
return /* @__PURE__ */ (0,
|
|
5920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "bg-linear-270 to-neutral-300/[24%] from-neutral-300/[12%] rounded-xs w-full max-w-25 h-6" }) }, key);
|
|
5917
5921
|
}
|
|
5918
5922
|
|
|
5919
5923
|
// src/components/DataGrid/TableBody/index.tsx
|
|
5920
|
-
var
|
|
5924
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5921
5925
|
function TableBody({
|
|
5922
5926
|
id,
|
|
5923
5927
|
testid,
|
|
@@ -5955,7 +5959,7 @@ function TableBody({
|
|
|
5955
5959
|
} else {
|
|
5956
5960
|
headerGroups = table.getCenterHeaderGroups();
|
|
5957
5961
|
}
|
|
5958
|
-
return /* @__PURE__ */ (0,
|
|
5962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5959
5963
|
"tbody",
|
|
5960
5964
|
{
|
|
5961
5965
|
className: (0, import_clsx42.default)(locked ? "shadow-16" : ""),
|
|
@@ -5967,7 +5971,7 @@ function TableBody({
|
|
|
5967
5971
|
// needed for absolute positioning of rows
|
|
5968
5972
|
},
|
|
5969
5973
|
children: [
|
|
5970
|
-
showFilterRow && /* @__PURE__ */ (0,
|
|
5974
|
+
showFilterRow && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5971
5975
|
"tr",
|
|
5972
5976
|
{
|
|
5973
5977
|
style: {
|
|
@@ -5983,7 +5987,7 @@ function TableBody({
|
|
|
5983
5987
|
children: headerGroups.flatMap(
|
|
5984
5988
|
(x) => x.headers.map((header) => {
|
|
5985
5989
|
var _a, _b, _c, _d, _e;
|
|
5986
|
-
return /* @__PURE__ */ (0,
|
|
5990
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5987
5991
|
CellElement,
|
|
5988
5992
|
{
|
|
5989
5993
|
id: id ? `${id}-filter-cell-${header.id}` : void 0,
|
|
@@ -5994,7 +5998,7 @@ function TableBody({
|
|
|
5994
5998
|
children: header.column.getCanFilter() && ((_e = (_c = (_b = header.column.columnDef.meta) == null ? void 0 : _b.filterRowCell) == null ? void 0 : _c.call(_b, {
|
|
5995
5999
|
header,
|
|
5996
6000
|
table
|
|
5997
|
-
})) != null ? _e : /* @__PURE__ */ (0,
|
|
6001
|
+
})) != null ? _e : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5998
6002
|
Search,
|
|
5999
6003
|
{
|
|
6000
6004
|
id: id ? `${id}-filter-search-${header.id}` : void 0,
|
|
@@ -6015,7 +6019,7 @@ function TableBody({
|
|
|
6015
6019
|
),
|
|
6016
6020
|
virtualRows.map((virtualRow) => {
|
|
6017
6021
|
const row = rows[virtualRow.index];
|
|
6018
|
-
return /* @__PURE__ */ (0,
|
|
6022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6019
6023
|
TableBodyRow,
|
|
6020
6024
|
{
|
|
6021
6025
|
id,
|
|
@@ -6037,7 +6041,7 @@ function TableBody({
|
|
|
6037
6041
|
row.id
|
|
6038
6042
|
);
|
|
6039
6043
|
}),
|
|
6040
|
-
!pagination && isLoadingMore && hasMore && /* @__PURE__ */ (0,
|
|
6044
|
+
!pagination && isLoadingMore && hasMore && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6041
6045
|
"tr",
|
|
6042
6046
|
{
|
|
6043
6047
|
style: {
|
|
@@ -6047,7 +6051,7 @@ function TableBody({
|
|
|
6047
6051
|
transform: `translateY(${virtualRows[virtualRows.length - 1].start + 40}px)`
|
|
6048
6052
|
},
|
|
6049
6053
|
className: "odd:bg-background-grouped-primary-normal even:bg-background-grouped-secondary-normal",
|
|
6050
|
-
children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ (0,
|
|
6054
|
+
children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6051
6055
|
LoadingCell,
|
|
6052
6056
|
{
|
|
6053
6057
|
id,
|